| 1 |
#! /bin/sh |
| 2 |
# Guess values for system-dependent variables and create Makefiles. |
| 3 |
# Generated by GNU Autoconf 2.70 for LFSbookja svn. |
| 4 |
# |
| 5 |
# Report bugs to <matsuand AT users DOT osdn DOT me>. |
| 6 |
# |
| 7 |
# |
| 8 |
# Copyright (C) 1992-1996, 1998-2017, 2020 Free Software Foundation, Inc. |
| 9 |
# |
| 10 |
# |
| 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 |
## -------------------- ## |
| 16 |
|
| 17 |
# Be more Bourne compatible |
| 18 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 19 |
as_nop=: |
| 20 |
if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 |
| 21 |
then : |
| 22 |
emulate sh |
| 23 |
NULLCMD=: |
| 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+"$@"}'='"$@"' |
| 27 |
setopt NO_GLOB_SUBST |
| 28 |
else $as_nop |
| 29 |
case `(set -o) 2>/dev/null` in #( |
| 30 |
*posix*) : |
| 31 |
set -o posix ;; #( |
| 32 |
*) : |
| 33 |
;; |
| 34 |
esac |
| 35 |
fi |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
# Reset variables that may have inherited troublesome values from |
| 40 |
# the environment. |
| 41 |
|
| 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. |
| 46 |
as_nl=' |
| 47 |
' |
| 48 |
export as_nl |
| 49 |
IFS=" "" $as_nl" |
| 50 |
|
| 51 |
PS1='$ ' |
| 52 |
PS2='> ' |
| 53 |
PS4='+ ' |
| 54 |
|
| 55 |
# Ensure predictable behavior from utilities with locale-dependent output. |
| 56 |
LC_ALL=C |
| 57 |
export LC_ALL |
| 58 |
LANGUAGE=C |
| 59 |
export LANGUAGE |
| 60 |
|
| 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 || : |
| 69 |
done |
| 70 |
|
| 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 |
| 75 |
|
| 76 |
# The user is always right. |
| 77 |
if ${PATH_SEPARATOR+false} :; then |
| 78 |
PATH_SEPARATOR=: |
| 79 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 80 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 81 |
PATH_SEPARATOR=';' |
| 82 |
} |
| 83 |
fi |
| 84 |
|
| 85 |
|
| 86 |
# Find who we are. Look in the path if we contain no directory separator. |
| 87 |
as_myself= |
| 88 |
case $0 in #(( |
| 89 |
*[\\/]* ) as_myself=$0 ;; |
| 90 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 91 |
for as_dir in $PATH |
| 92 |
do |
| 93 |
IFS=$as_save_IFS |
| 94 |
case $as_dir in #((( |
| 95 |
'') as_dir=./ ;; |
| 96 |
*/) ;; |
| 97 |
*) as_dir=$as_dir/ ;; |
| 98 |
esac |
| 99 |
test -r "$as_dir$0" && as_myself=$as_dir$0 && break |
| 100 |
done |
| 101 |
IFS=$as_save_IFS |
| 102 |
|
| 103 |
;; |
| 104 |
esac |
| 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 |
| 108 |
as_myself=$0 |
| 109 |
fi |
| 110 |
if test ! -f "$as_myself"; then |
| 111 |
printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 112 |
exit 1 |
| 113 |
fi |
| 114 |
|
| 115 |
|
| 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. |
| 124 |
BASH_ENV=/dev/null |
| 125 |
ENV=/dev/null |
| 126 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 127 |
case $- in # (((( |
| 128 |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 129 |
*v* ) as_opts=-v ;; |
| 130 |
*x* ) as_opts=-x ;; |
| 131 |
* ) as_opts= ;; |
| 132 |
esac |
| 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 |
| 137 |
exit 255 |
| 138 |
fi |
| 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 |
| 144 |
then : |
| 145 |
emulate sh |
| 146 |
NULLCMD=: |
| 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+\"\$@\"}'='\"\$@\"' |
| 150 |
setopt NO_GLOB_SUBST |
| 151 |
else \$as_nop |
| 152 |
case \`(set -o) 2>/dev/null\` in #( |
| 153 |
*posix*) : |
| 154 |
set -o posix ;; #( |
| 155 |
*) : |
| 156 |
;; |
| 157 |
esac |
| 158 |
fi |
| 159 |
" |
| 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; } |
| 165 |
|
| 166 |
exitcode=0 |
| 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\" ) |
| 172 |
then : |
| 173 |
|
| 174 |
else \$as_nop |
| 175 |
exitcode=1; echo positional parameters were not saved. |
| 176 |
fi |
| 177 |
test x\$exitcode = x0 || exit 1 |
| 178 |
blah=\$(echo \$(echo blah)) |
| 179 |
test x\"\$blah\" = xblah || exit 1 |
| 180 |
test -x / || 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 |
| 186 |
then : |
| 187 |
as_have_required=yes |
| 188 |
else $as_nop |
| 189 |
as_have_required=no |
| 190 |
fi |
| 191 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null |
| 192 |
then : |
| 193 |
|
| 194 |
else $as_nop |
| 195 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 196 |
as_found=false |
| 197 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 198 |
do |
| 199 |
IFS=$as_save_IFS |
| 200 |
case $as_dir in #((( |
| 201 |
'') as_dir=./ ;; |
| 202 |
*/) ;; |
| 203 |
*) as_dir=$as_dir/ ;; |
| 204 |
esac |
| 205 |
as_found=: |
| 206 |
case $as_dir in #( |
| 207 |
/*) |
| 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 |
| 213 |
then : |
| 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 |
| 216 |
then : |
| 217 |
break 2 |
| 218 |
fi |
| 219 |
fi |
| 220 |
done;; |
| 221 |
esac |
| 222 |
as_found=false |
| 223 |
done |
| 224 |
IFS=$as_save_IFS |
| 225 |
if $as_found |
| 226 |
then : |
| 227 |
|
| 228 |
else $as_nop |
| 229 |
if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
| 230 |
as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null |
| 231 |
then : |
| 232 |
CONFIG_SHELL=$SHELL as_have_required=yes |
| 233 |
fi |
| 234 |
fi |
| 235 |
|
| 236 |
|
| 237 |
if test "x$CONFIG_SHELL" != x |
| 238 |
then : |
| 239 |
export CONFIG_SHELL |
| 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. |
| 244 |
BASH_ENV=/dev/null |
| 245 |
ENV=/dev/null |
| 246 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 247 |
case $- in # (((( |
| 248 |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 249 |
*v* ) as_opts=-v ;; |
| 250 |
*x* ) as_opts=-x ;; |
| 251 |
* ) as_opts= ;; |
| 252 |
esac |
| 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 |
| 257 |
exit 255 |
| 258 |
fi |
| 259 |
|
| 260 |
if test x$as_have_required = xno |
| 261 |
then : |
| 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." |
| 267 |
else |
| 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." |
| 273 |
fi |
| 274 |
exit 1 |
| 275 |
fi |
| 276 |
fi |
| 277 |
fi |
| 278 |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 279 |
export SHELL |
| 280 |
# Unset more variables known to interfere with behavior of common tools. |
| 281 |
CLICOLOR_FORCE= GREP_OPTIONS= |
| 282 |
unset CLICOLOR_FORCE GREP_OPTIONS |
| 283 |
|
| 284 |
## --------------------- ## |
| 285 |
## M4sh Shell Functions. ## |
| 286 |
## --------------------- ## |
| 287 |
# as_fn_unset VAR |
| 288 |
# --------------- |
| 289 |
# Portably unset VAR. |
| 290 |
as_fn_unset () |
| 291 |
{ |
| 292 |
{ eval $1=; unset $1;} |
| 293 |
} |
| 294 |
as_unset=as_fn_unset |
| 295 |
|
| 296 |
|
| 297 |
# as_fn_set_status STATUS |
| 298 |
# ----------------------- |
| 299 |
# Set $? to STATUS, without forking. |
| 300 |
as_fn_set_status () |
| 301 |
{ |
| 302 |
return $1 |
| 303 |
} # as_fn_set_status |
| 304 |
|
| 305 |
# as_fn_exit STATUS |
| 306 |
# ----------------- |
| 307 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 308 |
as_fn_exit () |
| 309 |
{ |
| 310 |
set +e |
| 311 |
as_fn_set_status $1 |
| 312 |
exit $1 |
| 313 |
} # as_fn_exit |
| 314 |
# as_fn_nop |
| 315 |
# --------- |
| 316 |
# Do nothing but, unlike ":", preserve the value of $?. |
| 317 |
as_fn_nop () |
| 318 |
{ |
| 319 |
return $? |
| 320 |
} |
| 321 |
as_nop=as_fn_nop |
| 322 |
|
| 323 |
# as_fn_mkdir_p |
| 324 |
# ------------- |
| 325 |
# Create "$as_dir" as a directory, including parents if necessary. |
| 326 |
as_fn_mkdir_p () |
| 327 |
{ |
| 328 |
|
| 329 |
case $as_dir in #( |
| 330 |
-*) as_dir=./$as_dir;; |
| 331 |
esac |
| 332 |
test -d "$as_dir" || eval $as_mkdir_p || { |
| 333 |
as_dirs= |
| 334 |
while :; do |
| 335 |
case $as_dir in #( |
| 336 |
*\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 337 |
*) as_qdir=$as_dir;; |
| 338 |
esac |
| 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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 347 |
s//\1/ |
| 348 |
q |
| 349 |
} |
| 350 |
/^X\(\/\/\)[^/].*/{ |
| 351 |
s//\1/ |
| 352 |
q |
| 353 |
} |
| 354 |
/^X\(\/\/\)$/{ |
| 355 |
s//\1/ |
| 356 |
q |
| 357 |
} |
| 358 |
/^X\(\/\).*/{ |
| 359 |
s//\1/ |
| 360 |
q |
| 361 |
} |
| 362 |
s/.*/./; q'` |
| 363 |
test -d "$as_dir" && break |
| 364 |
done |
| 365 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 366 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 367 |
|
| 368 |
|
| 369 |
} # as_fn_mkdir_p |
| 370 |
|
| 371 |
# as_fn_executable_p FILE |
| 372 |
# ----------------------- |
| 373 |
# Test if FILE is an executable regular file. |
| 374 |
as_fn_executable_p () |
| 375 |
{ |
| 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 |
| 383 |
# implementations. |
| 384 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null |
| 385 |
then : |
| 386 |
eval 'as_fn_append () |
| 387 |
{ |
| 388 |
eval $1+=\$2 |
| 389 |
}' |
| 390 |
else $as_nop |
| 391 |
as_fn_append () |
| 392 |
{ |
| 393 |
eval $1=\$$1\$2 |
| 394 |
} |
| 395 |
fi # as_fn_append |
| 396 |
|
| 397 |
# as_fn_arith ARG... |
| 398 |
# ------------------ |
| 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 |
| 403 |
then : |
| 404 |
eval 'as_fn_arith () |
| 405 |
{ |
| 406 |
as_val=$(( $* )) |
| 407 |
}' |
| 408 |
else $as_nop |
| 409 |
as_fn_arith () |
| 410 |
{ |
| 411 |
as_val=`expr "$@" || test $? -eq 1` |
| 412 |
} |
| 413 |
fi # as_fn_arith |
| 414 |
|
| 415 |
# as_fn_nop |
| 416 |
# --------- |
| 417 |
# Do nothing but, unlike ":", preserve the value of $?. |
| 418 |
as_fn_nop () |
| 419 |
{ |
| 420 |
return $? |
| 421 |
} |
| 422 |
as_nop=as_fn_nop |
| 423 |
|
| 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. |
| 429 |
as_fn_error () |
| 430 |
{ |
| 431 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 432 |
if test "$4"; then |
| 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 |
| 435 |
fi |
| 436 |
printf "%s\n" "$as_me: error: $2" >&2 |
| 437 |
as_fn_exit $as_status |
| 438 |
} # as_fn_error |
| 439 |
|
| 440 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 441 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 442 |
as_expr=expr |
| 443 |
else |
| 444 |
as_expr=false |
| 445 |
fi |
| 446 |
|
| 447 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 448 |
as_basename=basename |
| 449 |
else |
| 450 |
as_basename=false |
| 451 |
fi |
| 452 |
|
| 453 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 454 |
as_dirname=dirname |
| 455 |
else |
| 456 |
as_dirname=false |
| 457 |
fi |
| 458 |
|
| 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 '/^.*\/\([^/][^/]*\)\/*$/{ |
| 465 |
s//\1/ |
| 466 |
q |
| 467 |
} |
| 468 |
/^X\/\(\/\/\)$/{ |
| 469 |
s//\1/ |
| 470 |
q |
| 471 |
} |
| 472 |
/^X\/\(\/\).*/{ |
| 473 |
s//\1/ |
| 474 |
q |
| 475 |
} |
| 476 |
s/.*/./; q'` |
| 477 |
|
| 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 |
| 484 |
|
| 485 |
|
| 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. :-) |
| 491 |
sed -n ' |
| 492 |
p |
| 493 |
/[$]LINENO/= |
| 494 |
' <$as_myself | |
| 495 |
sed ' |
| 496 |
s/[$]LINENO.*/&-/ |
| 497 |
t lineno |
| 498 |
b |
| 499 |
:lineno |
| 500 |
N |
| 501 |
:loop |
| 502 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 503 |
t loop |
| 504 |
s/-\n.*// |
| 505 |
' >$as_me.lineno && |
| 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; } |
| 508 |
|
| 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). |
| 516 |
. "./$as_me.lineno" |
| 517 |
# Exit status is that of the last command. |
| 518 |
exit |
| 519 |
} |
| 520 |
|
| 521 |
|
| 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 #((((( |
| 527 |
-n*) |
| 528 |
case `echo 'xy\c'` in |
| 529 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 530 |
xy) ECHO_C='\c';; |
| 531 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 532 |
ECHO_T=' ';; |
| 533 |
esac;; |
| 534 |
*) |
| 535 |
ECHO_N='-n';; |
| 536 |
esac |
| 537 |
|
| 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' |
| 543 |
|
| 544 |
|
| 545 |
rm -f conf$$ conf$$.exe conf$$.file |
| 546 |
if test -d conf$$.dir; then |
| 547 |
rm -f conf$$.dir/conf$$.file |
| 548 |
else |
| 549 |
rm -f conf$$.dir |
| 550 |
mkdir conf$$.dir 2>/dev/null |
| 551 |
fi |
| 552 |
if (echo >conf$$.file) 2>/dev/null; then |
| 553 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 554 |
as_ln_s='ln -s' |
| 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 || |
| 560 |
as_ln_s='cp -pR' |
| 561 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 562 |
as_ln_s=ln |
| 563 |
else |
| 564 |
as_ln_s='cp -pR' |
| 565 |
fi |
| 566 |
else |
| 567 |
as_ln_s='cp -pR' |
| 568 |
fi |
| 569 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 570 |
rmdir conf$$.dir 2>/dev/null |
| 571 |
|
| 572 |
if mkdir -p . 2>/dev/null; then |
| 573 |
as_mkdir_p='mkdir -p "$as_dir"' |
| 574 |
else |
| 575 |
test -d ./-p && rmdir ./-p |
| 576 |
as_mkdir_p=false |
| 577 |
fi |
| 578 |
|
| 579 |
as_test_x='test -x' |
| 580 |
as_executable_p=as_fn_executable_p |
| 581 |
|
| 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'" |
| 584 |
|
| 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'" |
| 587 |
|
| 588 |
|
| 589 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
| 590 |
exec 6>&1 |
| 591 |
|
| 592 |
# Name of the host. |
| 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` |
| 596 |
|
| 597 |
# |
| 598 |
# Initializations. |
| 599 |
# |
| 600 |
ac_default_prefix=/usr/local |
| 601 |
ac_clean_files= |
| 602 |
ac_config_libobj_dir=. |
| 603 |
LIBOBJS= |
| 604 |
cross_compiling=no |
| 605 |
subdirs= |
| 606 |
MFLAGS= |
| 607 |
MAKEFLAGS= |
| 608 |
|
| 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' |
| 615 |
PACKAGE_URL='' |
| 616 |
|
| 617 |
ac_subst_vars='am__EXEEXT_FALSE |
| 618 |
am__EXEEXT_TRUE |
| 619 |
LTLIBOBJS |
| 620 |
LIBOBJS |
| 621 |
TAKAOMFONTDIR |
| 622 |
TAKAOGFONTDIR |
| 623 |
FOP |
| 624 |
LYNX |
| 625 |
SVNVER |
| 626 |
DUMPDIR |
| 627 |
NOCHUNKS_OUTPUT |
| 628 |
NOCHUNKS_NAME |
| 629 |
PDF_OUTPUT |
| 630 |
BASEDIR |
| 631 |
revspec |
| 632 |
TIDY |
| 633 |
XMLLINT |
| 634 |
XSLTPROC |
| 635 |
am__fastdepCC_FALSE |
| 636 |
am__fastdepCC_TRUE |
| 637 |
CCDEPMODE |
| 638 |
am__nodep |
| 639 |
AMDEPBACKSLASH |
| 640 |
AMDEP_FALSE |
| 641 |
AMDEP_TRUE |
| 642 |
am__include |
| 643 |
DEPDIR |
| 644 |
OBJEXT |
| 645 |
EXEEXT |
| 646 |
ac_ct_CC |
| 647 |
CPPFLAGS |
| 648 |
LDFLAGS |
| 649 |
CFLAGS |
| 650 |
CC |
| 651 |
TAKAOGEXFILE |
| 652 |
TAKAOMFILE |
| 653 |
TAKAOGFILE |
| 654 |
TAKAO |
| 655 |
abs_bookdir |
| 656 |
bookdir |
| 657 |
CTIE |
| 658 |
TXT |
| 659 |
PDF |
| 660 |
MAINT |
| 661 |
MAINTAINER_MODE_FALSE |
| 662 |
MAINTAINER_MODE_TRUE |
| 663 |
AM_BACKSLASH |
| 664 |
AM_DEFAULT_VERBOSITY |
| 665 |
AM_DEFAULT_V |
| 666 |
AM_V |
| 667 |
am__untar |
| 668 |
am__tar |
| 669 |
AMTAR |
| 670 |
am__leading_dot |
| 671 |
SET_MAKE |
| 672 |
AWK |
| 673 |
mkdir_p |
| 674 |
MKDIR_P |
| 675 |
INSTALL_STRIP_PROGRAM |
| 676 |
STRIP |
| 677 |
install_sh |
| 678 |
MAKEINFO |
| 679 |
AUTOHEADER |
| 680 |
AUTOMAKE |
| 681 |
AUTOCONF |
| 682 |
ACLOCAL |
| 683 |
VERSION |
| 684 |
PACKAGE |
| 685 |
CYGPATH_W |
| 686 |
am__isrc |
| 687 |
INSTALL_DATA |
| 688 |
INSTALL_SCRIPT |
| 689 |
INSTALL_PROGRAM |
| 690 |
target_alias |
| 691 |
host_alias |
| 692 |
build_alias |
| 693 |
LIBS |
| 694 |
ECHO_T |
| 695 |
ECHO_N |
| 696 |
ECHO_C |
| 697 |
DEFS |
| 698 |
mandir |
| 699 |
localedir |
| 700 |
libdir |
| 701 |
psdir |
| 702 |
pdfdir |
| 703 |
dvidir |
| 704 |
htmldir |
| 705 |
infodir |
| 706 |
docdir |
| 707 |
oldincludedir |
| 708 |
includedir |
| 709 |
runstatedir |
| 710 |
localstatedir |
| 711 |
sharedstatedir |
| 712 |
sysconfdir |
| 713 |
datadir |
| 714 |
datarootdir |
| 715 |
libexecdir |
| 716 |
sbindir |
| 717 |
bindir |
| 718 |
program_transform_name |
| 719 |
prefix |
| 720 |
exec_prefix |
| 721 |
PACKAGE_URL |
| 722 |
PACKAGE_BUGREPORT |
| 723 |
PACKAGE_STRING |
| 724 |
PACKAGE_VERSION |
| 725 |
PACKAGE_TARNAME |
| 726 |
PACKAGE_NAME |
| 727 |
PATH_SEPARATOR |
| 728 |
SHELL |
| 729 |
am__quote' |
| 730 |
ac_subst_files='' |
| 731 |
ac_user_opts=' |
| 732 |
enable_option_checking |
| 733 |
enable_silent_rules |
| 734 |
enable_maintainer_mode |
| 735 |
with_bookdir |
| 736 |
enable_dependency_tracking |
| 737 |
with_rev |
| 738 |
with_takaogfontdir |
| 739 |
' |
| 740 |
ac_precious_vars='build_alias |
| 741 |
host_alias |
| 742 |
target_alias |
| 743 |
CC |
| 744 |
CFLAGS |
| 745 |
LDFLAGS |
| 746 |
LIBS |
| 747 |
CPPFLAGS' |
| 748 |
|
| 749 |
|
| 750 |
# Initialize some variables set by options. |
| 751 |
ac_init_help= |
| 752 |
ac_init_version=false |
| 753 |
ac_unrecognized_opts= |
| 754 |
ac_unrecognized_sep= |
| 755 |
# The variables have the same names as the options, with |
| 756 |
# dashes changed to underlines. |
| 757 |
cache_file=/dev/null |
| 758 |
exec_prefix=NONE |
| 759 |
no_create= |
| 760 |
no_recursion= |
| 761 |
prefix=NONE |
| 762 |
program_prefix=NONE |
| 763 |
program_suffix=NONE |
| 764 |
program_transform_name=s,x,x, |
| 765 |
silent= |
| 766 |
site= |
| 767 |
srcdir= |
| 768 |
verbose= |
| 769 |
x_includes=NONE |
| 770 |
x_libraries=NONE |
| 771 |
|
| 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' |
| 791 |
htmldir='${docdir}' |
| 792 |
dvidir='${docdir}' |
| 793 |
pdfdir='${docdir}' |
| 794 |
psdir='${docdir}' |
| 795 |
libdir='${exec_prefix}/lib' |
| 796 |
localedir='${datarootdir}/locale' |
| 797 |
mandir='${datarootdir}/man' |
| 798 |
|
| 799 |
ac_prev= |
| 800 |
ac_dashdash= |
| 801 |
for ac_option |
| 802 |
do |
| 803 |
# If the previous option needs an argument, assign it. |
| 804 |
if test -n "$ac_prev"; then |
| 805 |
eval $ac_prev=\$ac_option |
| 806 |
ac_prev= |
| 807 |
continue |
| 808 |
fi |
| 809 |
|
| 810 |
case $ac_option in |
| 811 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 812 |
*=) ac_optarg= ;; |
| 813 |
*) ac_optarg=yes ;; |
| 814 |
esac |
| 815 |
|
| 816 |
case $ac_dashdash$ac_option in |
| 817 |
--) |
| 818 |
ac_dashdash=yes ;; |
| 819 |
|
| 820 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
| 821 |
ac_prev=bindir ;; |
| 822 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
| 823 |
bindir=$ac_optarg ;; |
| 824 |
|
| 825 |
-build | --build | --buil | --bui | --bu) |
| 826 |
ac_prev=build_alias ;; |
| 827 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 828 |
build_alias=$ac_optarg ;; |
| 829 |
|
| 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 ;; |
| 836 |
|
| 837 |
--config-cache | -C) |
| 838 |
cache_file=config.cache ;; |
| 839 |
|
| 840 |
-datadir | --datadir | --datadi | --datad) |
| 841 |
ac_prev=datadir ;; |
| 842 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
| 843 |
datadir=$ac_optarg ;; |
| 844 |
|
| 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 ;; |
| 851 |
|
| 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 |
| 860 |
*" |
| 861 |
"enable_$ac_useropt" |
| 862 |
"*) ;; |
| 863 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| 864 |
ac_unrecognized_sep=', ';; |
| 865 |
esac |
| 866 |
eval enable_$ac_useropt=no ;; |
| 867 |
|
| 868 |
-docdir | --docdir | --docdi | --doc | --do) |
| 869 |
ac_prev=docdir ;; |
| 870 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 871 |
docdir=$ac_optarg ;; |
| 872 |
|
| 873 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
| 874 |
ac_prev=dvidir ;; |
| 875 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
| 876 |
dvidir=$ac_optarg ;; |
| 877 |
|
| 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 |
| 886 |
*" |
| 887 |
"enable_$ac_useropt" |
| 888 |
"*) ;; |
| 889 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| 890 |
ac_unrecognized_sep=', ';; |
| 891 |
esac |
| 892 |
eval enable_$ac_useropt=\$ac_optarg ;; |
| 893 |
|
| 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 ;; |
| 902 |
|
| 903 |
-gas | --gas | --ga | --g) |
| 904 |
# Obsolete; use --with-gas. |
| 905 |
with_gas=yes ;; |
| 906 |
|
| 907 |
-help | --help | --hel | --he | -h) |
| 908 |
ac_init_help=long ;; |
| 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 ;; |
| 913 |
|
| 914 |
-host | --host | --hos | --ho) |
| 915 |
ac_prev=host_alias ;; |
| 916 |
-host=* | --host=* | --hos=* | --ho=*) |
| 917 |
host_alias=$ac_optarg ;; |
| 918 |
|
| 919 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
| 920 |
ac_prev=htmldir ;; |
| 921 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
| 922 |
| --ht=*) |
| 923 |
htmldir=$ac_optarg ;; |
| 924 |
|
| 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 ;; |
| 931 |
|
| 932 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
| 933 |
ac_prev=infodir ;; |
| 934 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
| 935 |
infodir=$ac_optarg ;; |
| 936 |
|
| 937 |
-libdir | --libdir | --libdi | --libd) |
| 938 |
ac_prev=libdir ;; |
| 939 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
| 940 |
libdir=$ac_optarg ;; |
| 941 |
|
| 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 ;; |
| 948 |
|
| 949 |
-localedir | --localedir | --localedi | --localed | --locale) |
| 950 |
ac_prev=localedir ;; |
| 951 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
| 952 |
localedir=$ac_optarg ;; |
| 953 |
|
| 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 ;; |
| 960 |
|
| 961 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
| 962 |
ac_prev=mandir ;; |
| 963 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
| 964 |
mandir=$ac_optarg ;; |
| 965 |
|
| 966 |
-nfp | --nfp | --nf) |
| 967 |
# Obsolete; use --without-fp. |
| 968 |
with_fp=no ;; |
| 969 |
|
| 970 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 971 |
| --no-cr | --no-c | -n) |
| 972 |
no_create=yes ;; |
| 973 |
|
| 974 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 975 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 976 |
no_recursion=yes ;; |
| 977 |
|
| 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 ;; |
| 986 |
|
| 987 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 988 |
ac_prev=prefix ;; |
| 989 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 990 |
prefix=$ac_optarg ;; |
| 991 |
|
| 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 ;; |
| 998 |
|
| 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 ;; |
| 1005 |
|
| 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 ;; |
| 1022 |
|
| 1023 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 1024 |
ac_prev=pdfdir ;; |
| 1025 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 1026 |
pdfdir=$ac_optarg ;; |
| 1027 |
|
| 1028 |
-psdir | --psdir | --psdi | --psd | --ps) |
| 1029 |
ac_prev=psdir ;; |
| 1030 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
| 1031 |
psdir=$ac_optarg ;; |
| 1032 |
|
| 1033 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1034 |
| -silent | --silent | --silen | --sile | --sil) |
| 1035 |
silent=yes ;; |
| 1036 |
|
| 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 ;; |
| 1045 |
|
| 1046 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
| 1047 |
ac_prev=sbindir ;; |
| 1048 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
| 1049 |
| --sbi=* | --sb=*) |
| 1050 |
sbindir=$ac_optarg ;; |
| 1051 |
|
| 1052 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
| 1053 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
| 1054 |
| --sharedst | --shareds | --shared | --share | --shar \ |
| 1055 |
| --sha | --sh) |
| 1056 |
ac_prev=sharedstatedir ;; |
| 1057 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
| 1058 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
| 1059 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
| 1060 |
| --sha=* | --sh=*) |
| 1061 |
sharedstatedir=$ac_optarg ;; |
| 1062 |
|
| 1063 |
-site | --site | --sit) |
| 1064 |
ac_prev=site ;; |
| 1065 |
-site=* | --site=* | --sit=*) |
| 1066 |
site=$ac_optarg ;; |
| 1067 |
|
| 1068 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 1069 |
ac_prev=srcdir ;; |
| 1070 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 1071 |
srcdir=$ac_optarg ;; |
| 1072 |
|
| 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 ;; |
| 1079 |
|
| 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 ;; |
| 1084 |
|
| 1085 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 1086 |
verbose=yes ;; |
| 1087 |
|
| 1088 |
-version | --version | --versio | --versi | --vers | -V) |
| 1089 |
ac_init_version=: ;; |
| 1090 |
|
| 1091 |
-with-* | --with-*) |
| 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 |
| 1099 |
*" |
| 1100 |
"with_$ac_useropt" |
| 1101 |
"*) ;; |
| 1102 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| 1103 |
ac_unrecognized_sep=', ';; |
| 1104 |
esac |
| 1105 |
eval with_$ac_useropt=\$ac_optarg ;; |
| 1106 |
|
| 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 |
| 1115 |
*" |
| 1116 |
"with_$ac_useropt" |
| 1117 |
"*) ;; |
| 1118 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| 1119 |
ac_unrecognized_sep=', ';; |
| 1120 |
esac |
| 1121 |
eval with_$ac_useropt=no ;; |
| 1122 |
|
| 1123 |
--x) |
| 1124 |
# Obsolete; use --with-x. |
| 1125 |
with_x=yes ;; |
| 1126 |
|
| 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 ;; |
| 1133 |
|
| 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 ;; |
| 1140 |
|
| 1141 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
| 1142 |
Try \`$0 --help' for more information" |
| 1143 |
;; |
| 1144 |
|
| 1145 |
*=*) |
| 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'" ;; |
| 1151 |
esac |
| 1152 |
eval $ac_envvar=\$ac_optarg |
| 1153 |
export $ac_envvar ;; |
| 1154 |
|
| 1155 |
*) |
| 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}" |
| 1161 |
;; |
| 1162 |
|
| 1163 |
esac |
| 1164 |
done |
| 1165 |
|
| 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" |
| 1169 |
fi |
| 1170 |
|
| 1171 |
if test -n "$ac_unrecognized_opts"; then |
| 1172 |
case $enable_option_checking in |
| 1173 |
no) ;; |
| 1174 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1175 |
*) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1176 |
esac |
| 1177 |
fi |
| 1178 |
|
| 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 |
| 1184 |
do |
| 1185 |
eval ac_val=\$$ac_var |
| 1186 |
# Remove trailing slashes. |
| 1187 |
case $ac_val in |
| 1188 |
*/ ) |
| 1189 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 1190 |
eval $ac_var=\$ac_val;; |
| 1191 |
esac |
| 1192 |
# Be sure to have absolute directory names. |
| 1193 |
case $ac_val in |
| 1194 |
[\\/$]* | ?:[\\/]* ) continue;; |
| 1195 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1196 |
esac |
| 1197 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1198 |
done |
| 1199 |
|
| 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. |
| 1203 |
build=$build_alias |
| 1204 |
host=$host_alias |
| 1205 |
target=$target_alias |
| 1206 |
|
| 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 |
| 1212 |
cross_compiling=yes |
| 1213 |
fi |
| 1214 |
fi |
| 1215 |
|
| 1216 |
ac_tool_prefix= |
| 1217 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1218 |
|
| 1219 |
test "$silent" = yes && exec 6>/dev/null |
| 1220 |
|
| 1221 |
|
| 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" |
| 1228 |
|
| 1229 |
|
| 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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1241 |
s//\1/ |
| 1242 |
q |
| 1243 |
} |
| 1244 |
/^X\(\/\/\)[^/].*/{ |
| 1245 |
s//\1/ |
| 1246 |
q |
| 1247 |
} |
| 1248 |
/^X\(\/\/\)$/{ |
| 1249 |
s//\1/ |
| 1250 |
q |
| 1251 |
} |
| 1252 |
/^X\(\/\).*/{ |
| 1253 |
s//\1/ |
| 1254 |
q |
| 1255 |
} |
| 1256 |
s/.*/./; q'` |
| 1257 |
srcdir=$ac_confdir |
| 1258 |
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1259 |
srcdir=.. |
| 1260 |
fi |
| 1261 |
else |
| 1262 |
ac_srcdir_defaulted=no |
| 1263 |
fi |
| 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" |
| 1267 |
fi |
| 1268 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1269 |
ac_abs_confdir=`( |
| 1270 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| 1271 |
pwd)` |
| 1272 |
# When building in place, set srcdir=. |
| 1273 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1274 |
srcdir=. |
| 1275 |
fi |
| 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. |
| 1279 |
case $srcdir in |
| 1280 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1281 |
esac |
| 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} |
| 1287 |
done |
| 1288 |
|
| 1289 |
# |
| 1290 |
# Report the --help message. |
| 1291 |
# |
| 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. |
| 1295 |
cat <<_ACEOF |
| 1296 |
\`configure' configures LFSbookja svn to adapt to many kinds of systems. |
| 1297 |
|
| 1298 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1299 |
|
| 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. |
| 1302 |
|
| 1303 |
Defaults for the options are specified in brackets. |
| 1304 |
|
| 1305 |
Configuration: |
| 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 \`..'] |
| 1315 |
|
| 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 |
| 1320 |
[PREFIX] |
| 1321 |
|
| 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'. |
| 1326 |
|
| 1327 |
For better control, use the options below. |
| 1328 |
|
| 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] |
| 1350 |
_ACEOF |
| 1351 |
|
| 1352 |
cat <<\_ACEOF |
| 1353 |
|
| 1354 |
Program names: |
| 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 |
| 1358 |
_ACEOF |
| 1359 |
fi |
| 1360 |
|
| 1361 |
if test -n "$ac_init_help"; then |
| 1362 |
case $ac_init_help in |
| 1363 |
short | recursive ) echo "Configuration of LFSbookja svn:";; |
| 1364 |
esac |
| 1365 |
cat <<\_ACEOF |
| 1366 |
|
| 1367 |
Optional Features: |
| 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 |
| 1380 |
|
| 1381 |
Optional Packages: |
| 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 |
| 1388 |
|
| 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> |
| 1397 |
|
| 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. |
| 1400 |
|
| 1401 |
Report bugs to <matsuand AT users DOT osdn DOT me>. |
| 1402 |
_ACEOF |
| 1403 |
ac_status=$? |
| 1404 |
fi |
| 1405 |
|
| 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"; } || |
| 1411 |
continue |
| 1412 |
ac_builddir=. |
| 1413 |
|
| 1414 |
case "$ac_dir" in |
| 1415 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1416 |
*) |
| 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/ ;; |
| 1423 |
esac ;; |
| 1424 |
esac |
| 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 |
| 1429 |
|
| 1430 |
case $srcdir in |
| 1431 |
.) # We are building in place. |
| 1432 |
ac_srcdir=. |
| 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 ;; |
| 1439 |
*) # Relative name. |
| 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 ;; |
| 1443 |
esac |
| 1444 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1445 |
|
| 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 |
| 1450 |
echo && |
| 1451 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1452 |
elif test -f "$ac_srcdir/configure"; then |
| 1453 |
echo && |
| 1454 |
$SHELL "$ac_srcdir/configure" --help=recursive |
| 1455 |
else |
| 1456 |
printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1457 |
fi || ac_status=$? |
| 1458 |
cd "$ac_pwd" || { ac_status=$?; break; } |
| 1459 |
done |
| 1460 |
fi |
| 1461 |
|
| 1462 |
test -n "$ac_init_help" && exit $ac_status |
| 1463 |
if $ac_init_version; then |
| 1464 |
cat <<\_ACEOF |
| 1465 |
LFSbookja configure svn |
| 1466 |
generated by GNU Autoconf 2.70 |
| 1467 |
|
| 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. |
| 1471 |
_ACEOF |
| 1472 |
exit |
| 1473 |
fi |
| 1474 |
|
| 1475 |
## ------------------------ ## |
| 1476 |
## Autoconf initialization. ## |
| 1477 |
## ------------------------ ## |
| 1478 |
|
| 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 () |
| 1483 |
{ |
| 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" |
| 1487 |
case "(($ac_try" in |
| 1488 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 1489 |
*) ac_try_echo=$ac_try;; |
| 1490 |
esac |
| 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 |
| 1494 |
ac_status=$? |
| 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 |
| 1499 |
fi |
| 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 |
| 1505 |
then : |
| 1506 |
ac_retval=0 |
| 1507 |
else $as_nop |
| 1508 |
printf "%s\n" "$as_me: failed program was:" >&5 |
| 1509 |
sed 's/^/| /' conftest.$ac_ext >&5 |
| 1510 |
|
| 1511 |
ac_retval=1 |
| 1512 |
fi |
| 1513 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
| 1514 |
as_fn_set_status $ac_retval |
| 1515 |
|
| 1516 |
} # ac_fn_c_try_compile |
| 1517 |
ac_configure_args_raw= |
| 1518 |
for ac_arg |
| 1519 |
do |
| 1520 |
case $ac_arg in |
| 1521 |
*\'*) |
| 1522 |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1523 |
esac |
| 1524 |
as_fn_append ac_configure_args_raw " '$ac_arg'" |
| 1525 |
done |
| 1526 |
|
| 1527 |
case $ac_configure_args_raw in |
| 1528 |
*$as_nl*) |
| 1529 |
ac_safe_unquote= ;; |
| 1530 |
*) |
| 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"`;; |
| 1535 |
esac |
| 1536 |
|
| 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. |
| 1540 |
|
| 1541 |
It was created by LFSbookja $as_me svn, which was |
| 1542 |
generated by GNU Autoconf 2.70. Invocation command line was |
| 1543 |
|
| 1544 |
$ $0$ac_configure_args_raw |
| 1545 |
|
| 1546 |
_ACEOF |
| 1547 |
exec 5>>config.log |
| 1548 |
{ |
| 1549 |
cat <<_ASUNAME |
| 1550 |
## --------- ## |
| 1551 |
## Platform. ## |
| 1552 |
## --------- ## |
| 1553 |
|
| 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` |
| 1559 |
|
| 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` |
| 1562 |
|
| 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` |
| 1570 |
|
| 1571 |
_ASUNAME |
| 1572 |
|
| 1573 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1574 |
for as_dir in $PATH |
| 1575 |
do |
| 1576 |
IFS=$as_save_IFS |
| 1577 |
case $as_dir in #((( |
| 1578 |
'') as_dir=./ ;; |
| 1579 |
*/) ;; |
| 1580 |
*) as_dir=$as_dir/ ;; |
| 1581 |
esac |
| 1582 |
printf "%s\n" "PATH: $as_dir" |
| 1583 |
done |
| 1584 |
IFS=$as_save_IFS |
| 1585 |
|
| 1586 |
} >&5 |
| 1587 |
|
| 1588 |
cat >&5 <<_ACEOF |
| 1589 |
|
| 1590 |
|
| 1591 |
## ----------- ## |
| 1592 |
## Core tests. ## |
| 1593 |
## ----------- ## |
| 1594 |
|
| 1595 |
_ACEOF |
| 1596 |
|
| 1597 |
|
| 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. |
| 1603 |
ac_configure_args= |
| 1604 |
ac_configure_args0= |
| 1605 |
ac_configure_args1= |
| 1606 |
ac_must_keep_next=false |
| 1607 |
for ac_pass in 1 2 |
| 1608 |
do |
| 1609 |
for ac_arg |
| 1610 |
do |
| 1611 |
case $ac_arg in |
| 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) |
| 1615 |
continue ;; |
| 1616 |
*\'*) |
| 1617 |
ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1618 |
esac |
| 1619 |
case $ac_pass in |
| 1620 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
| 1621 |
2) |
| 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. |
| 1625 |
else |
| 1626 |
case $ac_arg in |
| 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 ;; |
| 1633 |
esac |
| 1634 |
;; |
| 1635 |
-* ) ac_must_keep_next=true ;; |
| 1636 |
esac |
| 1637 |
fi |
| 1638 |
as_fn_append ac_configure_args " '$ac_arg'" |
| 1639 |
;; |
| 1640 |
esac |
| 1641 |
done |
| 1642 |
done |
| 1643 |
{ ac_configure_args0=; unset ac_configure_args0;} |
| 1644 |
{ ac_configure_args1=; unset ac_configure_args1;} |
| 1645 |
|
| 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=$? |
| 1652 |
# Sanitize IFS. |
| 1653 |
IFS=" "" $as_nl" |
| 1654 |
# Save into config.log some information that might help in debugging. |
| 1655 |
{ |
| 1656 |
echo |
| 1657 |
|
| 1658 |
printf "%s\n" "## ---------------- ## |
| 1659 |
## Cache variables. ## |
| 1660 |
## ---------------- ##" |
| 1661 |
echo |
| 1662 |
# The following way of writing the cache mishandles newlines in values, |
| 1663 |
( |
| 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 |
| 1666 |
case $ac_val in #( |
| 1667 |
*${as_nl}*) |
| 1668 |
case $ac_var in #( |
| 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;} ;; |
| 1671 |
esac |
| 1672 |
case $ac_var in #( |
| 1673 |
_ | IFS | as_nl) ;; #( |
| 1674 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 1675 |
*) { eval $ac_var=; unset $ac_var;} ;; |
| 1676 |
esac ;; |
| 1677 |
esac |
| 1678 |
done |
| 1679 |
(set) 2>&1 | |
| 1680 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 1681 |
*${as_nl}ac_space=\ *) |
| 1682 |
sed -n \ |
| 1683 |
"s/'\''/'\''\\\\'\'''\''/g; |
| 1684 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 1685 |
;; #( |
| 1686 |
*) |
| 1687 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 1688 |
;; |
| 1689 |
esac | |
| 1690 |
sort |
| 1691 |
) |
| 1692 |
echo |
| 1693 |
|
| 1694 |
printf "%s\n" "## ----------------- ## |
| 1695 |
## Output variables. ## |
| 1696 |
## ----------------- ##" |
| 1697 |
echo |
| 1698 |
for ac_var in $ac_subst_vars |
| 1699 |
do |
| 1700 |
eval ac_val=\$$ac_var |
| 1701 |
case $ac_val in |
| 1702 |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1703 |
esac |
| 1704 |
printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 1705 |
done | sort |
| 1706 |
echo |
| 1707 |
|
| 1708 |
if test -n "$ac_subst_files"; then |
| 1709 |
printf "%s\n" "## ------------------- ## |
| 1710 |
## File substitutions. ## |
| 1711 |
## ------------------- ##" |
| 1712 |
echo |
| 1713 |
for ac_var in $ac_subst_files |
| 1714 |
do |
| 1715 |
eval ac_val=\$$ac_var |
| 1716 |
case $ac_val in |
| 1717 |
*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1718 |
esac |
| 1719 |
printf "%s\n" "$ac_var='\''$ac_val'\''" |
| 1720 |
done | sort |
| 1721 |
echo |
| 1722 |
fi |
| 1723 |
|
| 1724 |
if test -s confdefs.h; then |
| 1725 |
printf "%s\n" "## ----------- ## |
| 1726 |
## confdefs.h. ## |
| 1727 |
## ----------- ##" |
| 1728 |
echo |
| 1729 |
cat confdefs.h |
| 1730 |
echo |
| 1731 |
fi |
| 1732 |
test "$ac_signal" != 0 && |
| 1733 |
printf "%s\n" "$as_me: caught signal $ac_signal" |
| 1734 |
printf "%s\n" "$as_me: exit $exit_status" |
| 1735 |
} >&5 |
| 1736 |
rm -f core *.core core.conftest.* && |
| 1737 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 1738 |
exit $exit_status |
| 1739 |
' 0 |
| 1740 |
for ac_signal in 1 2 13 15; do |
| 1741 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 1742 |
done |
| 1743 |
ac_signal=0 |
| 1744 |
|
| 1745 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1746 |
rm -f -r conftest* confdefs.h |
| 1747 |
|
| 1748 |
printf "%s\n" "/* confdefs.h */" > confdefs.h |
| 1749 |
|
| 1750 |
# Predefined preprocessor variables. |
| 1751 |
|
| 1752 |
printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h |
| 1753 |
|
| 1754 |
printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h |
| 1755 |
|
| 1756 |
printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h |
| 1757 |
|
| 1758 |
printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h |
| 1759 |
|
| 1760 |
printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h |
| 1761 |
|
| 1762 |
printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h |
| 1763 |
|
| 1764 |
|
| 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" |
| 1771 |
else |
| 1772 |
ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
| 1773 |
fi |
| 1774 |
|
| 1775 |
for ac_site_file in $ac_site_files |
| 1776 |
do |
| 1777 |
case $ac_site_file in #( |
| 1778 |
*/*) : |
| 1779 |
;; #( |
| 1780 |
*) : |
| 1781 |
ac_site_file=./$ac_site_file ;; |
| 1782 |
esac |
| 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 |
| 1787 |
. "$ac_site_file" \ |
| 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; } |
| 1792 |
fi |
| 1793 |
done |
| 1794 |
|
| 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;} |
| 1801 |
case $cache_file in |
| 1802 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 1803 |
*) . "./$cache_file";; |
| 1804 |
esac |
| 1805 |
fi |
| 1806 |
else |
| 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;} |
| 1809 |
>$cache_file |
| 1810 |
fi |
| 1811 |
|
| 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" |
| 1819 |
#endif |
| 1820 |
|
| 1821 |
#include <stddef.h> |
| 1822 |
#include <stdarg.h> |
| 1823 |
struct stat; |
| 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) |
| 1828 |
char **p; |
| 1829 |
int i; |
| 1830 |
{ |
| 1831 |
return p[i]; |
| 1832 |
} |
| 1833 |
static char *f (char * (*g) (char **, int), char **p, ...) |
| 1834 |
{ |
| 1835 |
char *s; |
| 1836 |
va_list v; |
| 1837 |
va_start (v,p); |
| 1838 |
s = g (p, va_arg (v,int)); |
| 1839 |
va_end (v); |
| 1840 |
return s; |
| 1841 |
} |
| 1842 |
|
| 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]; |
| 1851 |
|
| 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]; |
| 1856 |
|
| 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), |
| 1861 |
int, int);' |
| 1862 |
|
| 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]); |
| 1866 |
' |
| 1867 |
|
| 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" |
| 1873 |
#endif |
| 1874 |
|
| 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); |
| 1880 |
|
| 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 |
| 1883 |
// FILE and stderr. |
| 1884 |
#define debug(...) dprintf (2, __VA_ARGS__) |
| 1885 |
#define showlist(...) puts (#__VA_ARGS__) |
| 1886 |
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
| 1887 |
static void |
| 1888 |
test_varargs_macros (void) |
| 1889 |
{ |
| 1890 |
int x = 1234; |
| 1891 |
int y = 5678; |
| 1892 |
debug ("Flag"); |
| 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); |
| 1896 |
} |
| 1897 |
|
| 1898 |
// Check long long types. |
| 1899 |
#define BIG64 18446744073709551615ull |
| 1900 |
#define BIG32 4294967295ul |
| 1901 |
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
| 1902 |
#if !BIG_OK |
| 1903 |
#error "your preprocessor is broken" |
| 1904 |
#endif |
| 1905 |
#if BIG_OK |
| 1906 |
#else |
| 1907 |
#error "your preprocessor is broken" |
| 1908 |
#endif |
| 1909 |
static long long int bignum = -9223372036854775807LL; |
| 1910 |
static unsigned long long int ubignum = BIG64; |
| 1911 |
|
| 1912 |
struct incomplete_array |
| 1913 |
{ |
| 1914 |
int datasize; |
| 1915 |
double data[]; |
| 1916 |
}; |
| 1917 |
|
| 1918 |
struct named_init { |
| 1919 |
int number; |
| 1920 |
const wchar_t *name; |
| 1921 |
double average; |
| 1922 |
}; |
| 1923 |
|
| 1924 |
typedef const char *ccp; |
| 1925 |
|
| 1926 |
static inline int |
| 1927 |
test_restrict (ccp restrict text) |
| 1928 |
{ |
| 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) |
| 1933 |
continue; |
| 1934 |
return 0; |
| 1935 |
} |
| 1936 |
|
| 1937 |
// Check varargs and va_copy. |
| 1938 |
static bool |
| 1939 |
test_varargs (const char *format, ...) |
| 1940 |
{ |
| 1941 |
va_list args; |
| 1942 |
va_start (args, format); |
| 1943 |
va_list args_copy; |
| 1944 |
va_copy (args_copy, args); |
| 1945 |
|
| 1946 |
const char *str = ""; |
| 1947 |
int number = 0; |
| 1948 |
float fnumber = 0; |
| 1949 |
|
| 1950 |
while (*format) |
| 1951 |
{ |
| 1952 |
switch (*format++) |
| 1953 |
{ |
| 1954 |
case '\''s'\'': // string |
| 1955 |
str = va_arg (args_copy, const char *); |
| 1956 |
break; |
| 1957 |
case '\''d'\'': // int |
| 1958 |
number = va_arg (args_copy, int); |
| 1959 |
break; |
| 1960 |
case '\''f'\'': // float |
| 1961 |
fnumber = va_arg (args_copy, double); |
| 1962 |
break; |
| 1963 |
default: |
| 1964 |
break; |
| 1965 |
} |
| 1966 |
} |
| 1967 |
va_end (args_copy); |
| 1968 |
va_end (args); |
| 1969 |
|
| 1970 |
return *str && number && fnumber; |
| 1971 |
} |
| 1972 |
' |
| 1973 |
|
| 1974 |
# Test code for whether the C compiler supports C99 (body of main). |
| 1975 |
ac_c_conftest_c99_main=' |
| 1976 |
// Check bool. |
| 1977 |
_Bool success = false; |
| 1978 |
success |= (argc != 0); |
| 1979 |
|
| 1980 |
// Check restrict. |
| 1981 |
if (test_restrict ("String literal") == 0) |
| 1982 |
success = true; |
| 1983 |
char *restrict newvar = "Another string"; |
| 1984 |
|
| 1985 |
// Check varargs. |
| 1986 |
success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); |
| 1987 |
test_varargs_macros (); |
| 1988 |
|
| 1989 |
// Check flexible array members. |
| 1990 |
struct incomplete_array *ia = |
| 1991 |
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
| 1992 |
ia->datasize = 10; |
| 1993 |
for (int i = 0; i < ia->datasize; ++i) |
| 1994 |
ia->data[i] = i * 1.234; |
| 1995 |
|
| 1996 |
// Check named initializers. |
| 1997 |
struct named_init ni = { |
| 1998 |
.number = 34, |
| 1999 |
.name = L"Test wide string", |
| 2000 |
.average = 543.34343, |
| 2001 |
}; |
| 2002 |
|
| 2003 |
ni.number = 58; |
| 2004 |
|
| 2005 |
int dynamic_array[ni.number]; |
| 2006 |
dynamic_array[0] = argv[0][0]; |
| 2007 |
dynamic_array[ni.number - 1] = 543; |
| 2008 |
|
| 2009 |
// work around unused variable warnings |
| 2010 |
ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' |
| 2011 |
|| dynamic_array[ni.number - 1] != 543); |
| 2012 |
' |
| 2013 |
|
| 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" |
| 2019 |
#endif |
| 2020 |
|
| 2021 |
// Check _Alignas. |
| 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; |
| 2026 |
|
| 2027 |
// Check _Alignof. |
| 2028 |
enum |
| 2029 |
{ |
| 2030 |
int_alignment = _Alignof (int), |
| 2031 |
int_array_alignment = _Alignof (int[100]), |
| 2032 |
char_alignment = _Alignof (char) |
| 2033 |
}; |
| 2034 |
_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
| 2035 |
|
| 2036 |
// Check _Noreturn. |
| 2037 |
int _Noreturn does_not_return (void) { for (;;) continue; } |
| 2038 |
|
| 2039 |
// Check _Static_assert. |
| 2040 |
struct test_static_assert |
| 2041 |
{ |
| 2042 |
int x; |
| 2043 |
_Static_assert (sizeof (int) <= sizeof (long int), |
| 2044 |
"_Static_assert does not work in struct"); |
| 2045 |
long int y; |
| 2046 |
}; |
| 2047 |
|
| 2048 |
// Check UTF-8 literals. |
| 2049 |
#define u8 syntax error! |
| 2050 |
char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
| 2051 |
|
| 2052 |
// Check duplicate typedefs. |
| 2053 |
typedef long *long_ptr; |
| 2054 |
typedef long int *long_ptr; |
| 2055 |
typedef long_ptr long_ptr; |
| 2056 |
|
| 2057 |
// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
| 2058 |
struct anonymous |
| 2059 |
{ |
| 2060 |
union { |
| 2061 |
struct { int i; int j; }; |
| 2062 |
struct { int k; long int l; } w; |
| 2063 |
}; |
| 2064 |
int m; |
| 2065 |
} v1; |
| 2066 |
' |
| 2067 |
|
| 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"); |
| 2073 |
v1.i = 2; |
| 2074 |
v1.w.k = 5; |
| 2075 |
ok |= v1.i != 5; |
| 2076 |
' |
| 2077 |
|
| 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} |
| 2082 |
|
| 2083 |
int |
| 2084 |
main (int argc, char **argv) |
| 2085 |
{ |
| 2086 |
int ok = 0; |
| 2087 |
${ac_c_conftest_c89_main} |
| 2088 |
${ac_c_conftest_c99_main} |
| 2089 |
${ac_c_conftest_c11_main} |
| 2090 |
return ok; |
| 2091 |
} |
| 2092 |
" |
| 2093 |
|
| 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} |
| 2097 |
|
| 2098 |
int |
| 2099 |
main (int argc, char **argv) |
| 2100 |
{ |
| 2101 |
int ok = 0; |
| 2102 |
${ac_c_conftest_c89_main} |
| 2103 |
${ac_c_conftest_c99_main} |
| 2104 |
return ok; |
| 2105 |
} |
| 2106 |
" |
| 2107 |
|
| 2108 |
# Test code for whether the C compiler supports C89 (complete). |
| 2109 |
ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} |
| 2110 |
|
| 2111 |
int |
| 2112 |
main (int argc, char **argv) |
| 2113 |
{ |
| 2114 |
int ok = 0; |
| 2115 |
${ac_c_conftest_c89_main} |
| 2116 |
return ok; |
| 2117 |
} |
| 2118 |
" |
| 2119 |
|
| 2120 |
|
| 2121 |
# Auxiliary files required by this configure script. |
| 2122 |
ac_aux_files="compile missing install-sh" |
| 2123 |
|
| 2124 |
# Locations in which to look for auxiliary files. |
| 2125 |
ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." |
| 2126 |
|
| 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 |
| 2136 |
as_found=false |
| 2137 |
for as_dir in $ac_aux_dir_candidates |
| 2138 |
do |
| 2139 |
IFS=$as_save_IFS |
| 2140 |
case $as_dir in #((( |
| 2141 |
'') as_dir=./ ;; |
| 2142 |
*/) ;; |
| 2143 |
*) as_dir=$as_dir/ ;; |
| 2144 |
esac |
| 2145 |
as_found=: |
| 2146 |
|
| 2147 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 |
| 2148 |
ac_aux_dir_found=yes |
| 2149 |
ac_install_sh= |
| 2150 |
for ac_aux in $ac_aux_files |
| 2151 |
do |
| 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" |
| 2156 |
then |
| 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" |
| 2166 |
else |
| 2167 |
ac_aux_dir_found=no |
| 2168 |
if $ac_first_candidate; then |
| 2169 |
ac_missing_aux_files="${ac_missing_aux_files} install-sh" |
| 2170 |
else |
| 2171 |
break |
| 2172 |
fi |
| 2173 |
fi |
| 2174 |
else |
| 2175 |
if test -f "${as_dir}${ac_aux}"; then |
| 2176 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 |
| 2177 |
else |
| 2178 |
ac_aux_dir_found=no |
| 2179 |
if $ac_first_candidate; then |
| 2180 |
ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" |
| 2181 |
else |
| 2182 |
break |
| 2183 |
fi |
| 2184 |
fi |
| 2185 |
fi |
| 2186 |
done |
| 2187 |
if test "$ac_aux_dir_found" = yes; then |
| 2188 |
ac_aux_dir="$as_dir" |
| 2189 |
break |
| 2190 |
fi |
| 2191 |
ac_first_candidate=false |
| 2192 |
|
| 2193 |
as_found=false |
| 2194 |
done |
| 2195 |
IFS=$as_save_IFS |
| 2196 |
if $as_found |
| 2197 |
then : |
| 2198 |
|
| 2199 |
else $as_nop |
| 2200 |
as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 |
| 2201 |
fi |
| 2202 |
|
| 2203 |
|
| 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" |
| 2210 |
fi |
| 2211 |
if test -f "${ac_aux_dir}config.sub"; then |
| 2212 |
ac_config_sub="$SHELL ${ac_aux_dir}config.sub" |
| 2213 |
fi |
| 2214 |
if test -f "$ac_aux_dir/configure"; then |
| 2215 |
ac_configure="$SHELL ${ac_aux_dir}configure" |
| 2216 |
fi |
| 2217 |
|
| 2218 |
# Check that the precious variables saved in the cache have kept the same |
| 2219 |
# value. |
| 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 |
| 2227 |
set,) |
| 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=: ;; |
| 2231 |
,set) |
| 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=: ;; |
| 2235 |
,);; |
| 2236 |
*) |
| 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=: |
| 2245 |
else |
| 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 |
| 2249 |
fi |
| 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;} |
| 2254 |
fi;; |
| 2255 |
esac |
| 2256 |
# Pass precious variables to config.status. |
| 2257 |
if test "$ac_new_set" = set; then |
| 2258 |
case $ac_new_val in |
| 2259 |
*\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 2260 |
*) ac_arg=$ac_var=$ac_new_val ;; |
| 2261 |
esac |
| 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'" ;; |
| 2265 |
esac |
| 2266 |
fi |
| 2267 |
done |
| 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 |
| 2275 |
fi |
| 2276 |
## -------------------- ## |
| 2277 |
## Main body of script. ## |
| 2278 |
## -------------------- ## |
| 2279 |
|
| 2280 |
ac_ext=c |
| 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 |
| 2285 |
|
| 2286 |
|
| 2287 |
am__api_version='1.16' |
| 2288 |
|
| 2289 |
|
| 2290 |
|
| 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 |
| 2297 |
# AIX /bin/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} |
| 2309 |
then : |
| 2310 |
printf %s "(cached) " >&6 |
| 2311 |
else $as_nop |
| 2312 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2313 |
for as_dir in $PATH |
| 2314 |
do |
| 2315 |
IFS=$as_save_IFS |
| 2316 |
case $as_dir in #((( |
| 2317 |
'') as_dir=./ ;; |
| 2318 |
*/) ;; |
| 2319 |
*) as_dir=$as_dir/ ;; |
| 2320 |
esac |
| 2321 |
# Account for fact that we put trailing slashes in our PATH walk. |
| 2322 |
case $as_dir in #(( |
| 2323 |
./ | /[cC]/* | \ |
| 2324 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 2325 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 2326 |
/usr/ucb/* ) ;; |
| 2327 |
*) |
| 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 |
| 2330 |
# by default. |
| 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. |
| 2337 |
: |
| 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. |
| 2341 |
: |
| 2342 |
else |
| 2343 |
rm -rf conftest.one conftest.two conftest.dir |
| 2344 |
echo one > conftest.one |
| 2345 |
echo two > conftest.two |
| 2346 |
mkdir conftest.dir |
| 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 |
| 2351 |
then |
| 2352 |
ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" |
| 2353 |
break 3 |
| 2354 |
fi |
| 2355 |
fi |
| 2356 |
fi |
| 2357 |
done |
| 2358 |
done |
| 2359 |
;; |
| 2360 |
esac |
| 2361 |
|
| 2362 |
done |
| 2363 |
IFS=$as_save_IFS |
| 2364 |
|
| 2365 |
rm -rf conftest.one conftest.two conftest.dir |
| 2366 |
|
| 2367 |
fi |
| 2368 |
if test ${ac_cv_path_install+y}; then |
| 2369 |
INSTALL=$ac_cv_path_install |
| 2370 |
else |
| 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 |
| 2376 |
fi |
| 2377 |
fi |
| 2378 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 2379 |
printf "%s\n" "$INSTALL" >&6; } |
| 2380 |
|
| 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}' |
| 2384 |
|
| 2385 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 2386 |
|
| 2387 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 2388 |
|
| 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. |
| 2393 |
am_lf=' |
| 2394 |
' |
| 2395 |
case `pwd` in |
| 2396 |
*[\\\"\#\$\&\'\`$am_lf]*) |
| 2397 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
| 2398 |
esac |
| 2399 |
case $srcdir in |
| 2400 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 2401 |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
| 2402 |
esac |
| 2403 |
|
| 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 |
| 2408 |
# directory). |
| 2409 |
if ( |
| 2410 |
am_has_slept=no |
| 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 |
| 2415 |
# -L didn't work. |
| 2416 |
set X `ls -t "$srcdir/configure" conftest.file` |
| 2417 |
fi |
| 2418 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
| 2419 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
| 2420 |
|
| 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 |
| 2427 |
fi |
| 2428 |
if test "$2" = conftest.file || test $am_try -eq 2; then |
| 2429 |
break |
| 2430 |
fi |
| 2431 |
# Just in case. |
| 2432 |
sleep 1 |
| 2433 |
am_has_slept=yes |
| 2434 |
done |
| 2435 |
test "$2" = conftest.file |
| 2436 |
) |
| 2437 |
then |
| 2438 |
# Ok. |
| 2439 |
: |
| 2440 |
else |
| 2441 |
as_fn_error $? "newly created file is older than distributed files! |
| 2442 |
Check your system clock" "$LINENO" 5 |
| 2443 |
fi |
| 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. |
| 2448 |
am_sleep_pid= |
| 2449 |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
| 2450 |
( sleep 1 ) & |
| 2451 |
am_sleep_pid=$! |
| 2452 |
fi |
| 2453 |
|
| 2454 |
rm -f conftest.file |
| 2455 |
|
| 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"` |
| 2465 |
|
| 2466 |
|
| 2467 |
# Expand $ac_aux_dir to an absolute path. |
| 2468 |
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
| 2469 |
|
| 2470 |
|
| 2471 |
if test x"${MISSING+set}" != xset; then |
| 2472 |
MISSING="\${SHELL} '$am_aux_dir/missing'" |
| 2473 |
fi |
| 2474 |
# Use eval to expand $SHELL |
| 2475 |
if eval "$MISSING --is-lightweight"; then |
| 2476 |
am_missing_run="$MISSING " |
| 2477 |
else |
| 2478 |
am_missing_run= |
| 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;} |
| 2481 |
fi |
| 2482 |
|
| 2483 |
if test x"${install_sh+set}" != xset; then |
| 2484 |
case $am_aux_dir in |
| 2485 |
*\ * | *\ *) |
| 2486 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 2487 |
*) |
| 2488 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 2489 |
esac |
| 2490 |
fi |
| 2491 |
|
| 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} |
| 2503 |
then : |
| 2504 |
printf %s "(cached) " >&6 |
| 2505 |
else $as_nop |
| 2506 |
if test -n "$STRIP"; then |
| 2507 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 2508 |
else |
| 2509 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2510 |
for as_dir in $PATH |
| 2511 |
do |
| 2512 |
IFS=$as_save_IFS |
| 2513 |
case $as_dir in #((( |
| 2514 |
'') as_dir=./ ;; |
| 2515 |
*/) ;; |
| 2516 |
*) as_dir=$as_dir/ ;; |
| 2517 |
esac |
| 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 |
| 2522 |
break 2 |
| 2523 |
fi |
| 2524 |
done |
| 2525 |
done |
| 2526 |
IFS=$as_save_IFS |
| 2527 |
|
| 2528 |
fi |
| 2529 |
fi |
| 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; } |
| 2534 |
else |
| 2535 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2536 |
printf "%s\n" "no" >&6; } |
| 2537 |
fi |
| 2538 |
|
| 2539 |
|
| 2540 |
fi |
| 2541 |
if test -z "$ac_cv_prog_STRIP"; then |
| 2542 |
ac_ct_STRIP=$STRIP |
| 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} |
| 2548 |
then : |
| 2549 |
printf %s "(cached) " >&6 |
| 2550 |
else $as_nop |
| 2551 |
if test -n "$ac_ct_STRIP"; then |
| 2552 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 2553 |
else |
| 2554 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2555 |
for as_dir in $PATH |
| 2556 |
do |
| 2557 |
IFS=$as_save_IFS |
| 2558 |
case $as_dir in #((( |
| 2559 |
'') as_dir=./ ;; |
| 2560 |
*/) ;; |
| 2561 |
*) as_dir=$as_dir/ ;; |
| 2562 |
esac |
| 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 |
| 2567 |
break 2 |
| 2568 |
fi |
| 2569 |
done |
| 2570 |
done |
| 2571 |
IFS=$as_save_IFS |
| 2572 |
|
| 2573 |
fi |
| 2574 |
fi |
| 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; } |
| 2579 |
else |
| 2580 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2581 |
printf "%s\n" "no" >&6; } |
| 2582 |
fi |
| 2583 |
|
| 2584 |
if test "x$ac_ct_STRIP" = x; then |
| 2585 |
STRIP=":" |
| 2586 |
else |
| 2587 |
case $cross_compiling:$ac_tool_warned in |
| 2588 |
yes:) |
| 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 ;; |
| 2592 |
esac |
| 2593 |
STRIP=$ac_ct_STRIP |
| 2594 |
fi |
| 2595 |
else |
| 2596 |
STRIP="$ac_cv_prog_STRIP" |
| 2597 |
fi |
| 2598 |
|
| 2599 |
fi |
| 2600 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 2601 |
|
| 2602 |
|
| 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} |
| 2607 |
then : |
| 2608 |
printf %s "(cached) " >&6 |
| 2609 |
else $as_nop |
| 2610 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2611 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 2612 |
do |
| 2613 |
IFS=$as_save_IFS |
| 2614 |
case $as_dir in #((( |
| 2615 |
'') as_dir=./ ;; |
| 2616 |
*/) ;; |
| 2617 |
*) as_dir=$as_dir/ ;; |
| 2618 |
esac |
| 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) '* | \ |
| 2624 |
'BusyBox '* | \ |
| 2625 |
'mkdir (fileutils) '4.1*) |
| 2626 |
ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext |
| 2627 |
break 3;; |
| 2628 |
esac |
| 2629 |
done |
| 2630 |
done |
| 2631 |
done |
| 2632 |
IFS=$as_save_IFS |
| 2633 |
|
| 2634 |
fi |
| 2635 |
|
| 2636 |
test -d ./--version && rmdir ./--version |
| 2637 |
if test ${ac_cv_path_mkdir+y}; then |
| 2638 |
MKDIR_P="$ac_cv_path_mkdir -p" |
| 2639 |
else |
| 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" |
| 2645 |
fi |
| 2646 |
fi |
| 2647 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 2648 |
printf "%s\n" "$MKDIR_P" >&6; } |
| 2649 |
|
| 2650 |
for ac_prog in gawk mawk nawk awk |
| 2651 |
do |
| 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} |
| 2657 |
then : |
| 2658 |
printf %s "(cached) " >&6 |
| 2659 |
else $as_nop |
| 2660 |
if test -n "$AWK"; then |
| 2661 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 2662 |
else |
| 2663 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2664 |
for as_dir in $PATH |
| 2665 |
do |
| 2666 |
IFS=$as_save_IFS |
| 2667 |
case $as_dir in #((( |
| 2668 |
'') as_dir=./ ;; |
| 2669 |
*/) ;; |
| 2670 |
*) as_dir=$as_dir/ ;; |
| 2671 |
esac |
| 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 |
| 2676 |
break 2 |
| 2677 |
fi |
| 2678 |
done |
| 2679 |
done |
| 2680 |
IFS=$as_save_IFS |
| 2681 |
|
| 2682 |
fi |
| 2683 |
fi |
| 2684 |
AWK=$ac_cv_prog_AWK |
| 2685 |
if test -n "$AWK"; then |
| 2686 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 2687 |
printf "%s\n" "$AWK" >&6; } |
| 2688 |
else |
| 2689 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2690 |
printf "%s\n" "no" >&6; } |
| 2691 |
fi |
| 2692 |
|
| 2693 |
|
| 2694 |
test -n "$AWK" && break |
| 2695 |
done |
| 2696 |
|
| 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; } |
| 2699 |
set x ${MAKE-make} |
| 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} |
| 2702 |
then : |
| 2703 |
printf %s "(cached) " >&6 |
| 2704 |
else $as_nop |
| 2705 |
cat >conftest.make <<\_ACEOF |
| 2706 |
SHELL = /bin/sh |
| 2707 |
all: |
| 2708 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 2709 |
_ACEOF |
| 2710 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 2711 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 2712 |
*@@@%%%=?*=@@@%%%*) |
| 2713 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 2714 |
*) |
| 2715 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
| 2716 |
esac |
| 2717 |
rm -f conftest.make |
| 2718 |
fi |
| 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; } |
| 2722 |
SET_MAKE= |
| 2723 |
else |
| 2724 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2725 |
printf "%s\n" "no" >&6; } |
| 2726 |
SET_MAKE="MAKE=${MAKE-make}" |
| 2727 |
fi |
| 2728 |
|
| 2729 |
rm -rf .tst 2>/dev/null |
| 2730 |
mkdir .tst 2>/dev/null |
| 2731 |
if test -d .tst; then |
| 2732 |
am__leading_dot=. |
| 2733 |
else |
| 2734 |
am__leading_dot=_ |
| 2735 |
fi |
| 2736 |
rmdir .tst 2>/dev/null |
| 2737 |
|
| 2738 |
# Check whether --enable-silent-rules was given. |
| 2739 |
if test ${enable_silent_rules+y} |
| 2740 |
then : |
| 2741 |
enableval=$enable_silent_rules; |
| 2742 |
fi |
| 2743 |
|
| 2744 |
case $enable_silent_rules in # ((( |
| 2745 |
yes) AM_DEFAULT_VERBOSITY=0;; |
| 2746 |
no) AM_DEFAULT_VERBOSITY=1;; |
| 2747 |
*) AM_DEFAULT_VERBOSITY=1;; |
| 2748 |
esac |
| 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} |
| 2753 |
then : |
| 2754 |
printf %s "(cached) " >&6 |
| 2755 |
else $as_nop |
| 2756 |
if printf "%s\n" 'TRUE=$(BAR$(V)) |
| 2757 |
BAR0=false |
| 2758 |
BAR1=true |
| 2759 |
V=1 |
| 2760 |
am__doit: |
| 2761 |
@$(TRUE) |
| 2762 |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 2763 |
am_cv_make_support_nested_variables=yes |
| 2764 |
else |
| 2765 |
am_cv_make_support_nested_variables=no |
| 2766 |
fi |
| 2767 |
fi |
| 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 |
| 2771 |
AM_V='$(V)' |
| 2772 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 2773 |
else |
| 2774 |
AM_V=$AM_DEFAULT_VERBOSITY |
| 2775 |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 2776 |
fi |
| 2777 |
AM_BACKSLASH='\' |
| 2778 |
|
| 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 |
| 2786 |
fi |
| 2787 |
fi |
| 2788 |
|
| 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' |
| 2793 |
else |
| 2794 |
CYGPATH_W=echo |
| 2795 |
fi |
| 2796 |
fi |
| 2797 |
|
| 2798 |
|
| 2799 |
# Define the identity of the package. |
| 2800 |
PACKAGE='lfsbookja' |
| 2801 |
VERSION='svn' |
| 2802 |
|
| 2803 |
|
| 2804 |
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h |
| 2805 |
|
| 2806 |
|
| 2807 |
printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h |
| 2808 |
|
| 2809 |
# Some tools Automake needs. |
| 2810 |
|
| 2811 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 2812 |
|
| 2813 |
|
| 2814 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 2815 |
|
| 2816 |
|
| 2817 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 2818 |
|
| 2819 |
|
| 2820 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 2821 |
|
| 2822 |
|
| 2823 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 2824 |
|
| 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)' |
| 2830 |
|
| 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 ... |
| 2835 |
AMTAR='$${TAR-tar}' |
| 2836 |
|
| 2837 |
|
| 2838 |
# We'll loop over all known methods to create a tar archive until one works. |
| 2839 |
_am_tools='gnutar pax cpio none' |
| 2840 |
|
| 2841 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 2842 |
|
| 2843 |
|
| 2844 |
|
| 2845 |
|
| 2846 |
|
| 2847 |
|
| 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 |
| 2857 |
cat >&2 <<'END' |
| 2858 |
Oops! |
| 2859 |
|
| 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> |
| 2864 |
|
| 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. |
| 2868 |
|
| 2869 |
END |
| 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 |
| 2873 |
echo >&2 |
| 2874 |
else |
| 2875 |
cat >&2 <<'END' |
| 2876 |
Aborting the configuration process, to ensure you take notice of the issue. |
| 2877 |
|
| 2878 |
You can download and install GNU coreutils to get an 'rm' implementation |
| 2879 |
that behaves properly: <https://www.gnu.org/software/coreutils/>. |
| 2880 |
|
| 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. |
| 2884 |
|
| 2885 |
END |
| 2886 |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
| 2887 |
fi |
| 2888 |
fi |
| 2889 |
|
| 2890 |
|
| 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} |
| 2895 |
then : |
| 2896 |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
| 2897 |
else $as_nop |
| 2898 |
USE_MAINTAINER_MODE=no |
| 2899 |
fi |
| 2900 |
|
| 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='#' |
| 2906 |
else |
| 2907 |
MAINTAINER_MODE_TRUE='#' |
| 2908 |
MAINTAINER_MODE_FALSE= |
| 2909 |
fi |
| 2910 |
|
| 2911 |
MAINT=$MAINTAINER_MODE_TRUE |
| 2912 |
|
| 2913 |
|
| 2914 |
|
| 2915 |
|
| 2916 |
|
| 2917 |
|
| 2918 |
|
| 2919 |
|
| 2920 |
|
| 2921 |
PDF= |
| 2922 |
|
| 2923 |
|
| 2924 |
|
| 2925 |
TXT= |
| 2926 |
|
| 2927 |
|
| 2928 |
|
| 2929 |
CTIE=ctie/ctie$EXEEXT |
| 2930 |
|
| 2931 |
|
| 2932 |
bookdir=../BOOK |
| 2933 |
|
| 2934 |
# Check whether --with-bookdir was given. |
| 2935 |
if test ${with_bookdir+y} |
| 2936 |
then : |
| 2937 |
withval=$with_bookdir; |
| 2938 |
if test -d "${with_bookdir}" ; then |
| 2939 |
bookdir=${with_bookdir} |
| 2940 |
fi |
| 2941 |
|
| 2942 |
|
| 2943 |
fi |
| 2944 |
|
| 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 |
| 2951 |
else |
| 2952 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
| 2953 |
printf "%s\n" "ok" >&6; } |
| 2954 |
fi |
| 2955 |
|
| 2956 |
|
| 2957 |
abs_bookdir=`(cd $bookdir && pwd)` |
| 2958 |
|
| 2959 |
|
| 2960 |
# =========================================================================== |
| 2961 |
# http://autoconf-archive.cryp.to/ax_compare_version.html |
| 2962 |
# =========================================================================== |
| 2963 |
# |
| 2964 |
# SYNOPSIS |
| 2965 |
# |
| 2966 |
# AX_COMPARE_VERSION(VERSION_A, OP, VERSION_B, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) |
| 2967 |
# |
| 2968 |
# DESCRIPTION |
| 2969 |
# |
| 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. |
| 2975 |
# |
| 2976 |
# The six basic comparisons are available, as well as checking equality |
| 2977 |
# limited to a certain number of minor-version levels. |
| 2978 |
# |
| 2979 |
# The operator OP determines what type of comparison to do, and can be one |
| 2980 |
# of: |
| 2981 |
# |
| 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) |
| 2988 |
# |
| 2989 |
# Additionally, the eq and ne operator can have a number after it to limit |
| 2990 |
# the test to that number of minor versions. |
| 2991 |
# |
| 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 |
| 2996 |
# |
| 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' |
| 3000 |
# as well. |
| 3001 |
# |
| 3002 |
# Examples: |
| 3003 |
# |
| 3004 |
# AX_COMPARE_VERSION([3.15.7],[lt],[3.15.8]) |
| 3005 |
# AX_COMPARE_VERSION([3.15],[lt],[3.15.8]) |
| 3006 |
# |
| 3007 |
# would both be true. |
| 3008 |
# |
| 3009 |
# AX_COMPARE_VERSION([3.15.7],[eq],[3.15.8]) |
| 3010 |
# AX_COMPARE_VERSION([3.15],[gt],[3.15.8]) |
| 3011 |
# |
| 3012 |
# would both be false. |
| 3013 |
# |
| 3014 |
# AX_COMPARE_VERSION([3.15.7],[eq2],[3.15.8]) |
| 3015 |
# |
| 3016 |
# would be true because it is only comparing two minor versions. |
| 3017 |
# |
| 3018 |
# AX_COMPARE_VERSION([3.15.7],[eq0],[3.15]) |
| 3019 |
# |
| 3020 |
# would be true because it is only comparing the lesser number of minor |
| 3021 |
# versions of the two values. |
| 3022 |
# |
| 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. |
| 3026 |
# |
| 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. |
| 3031 |
# |
| 3032 |
# LICENSE |
| 3033 |
# |
| 3034 |
# Copyright (c) 2008 Tim Toolan <toolan@ele.uri.edu> |
| 3035 |
# |
| 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. |
| 3039 |
|
| 3040 |
|
| 3041 |
# =========================================================================== |
| 3042 |
# http://autoconf-archive.cryp.to/ac_check_docbook_xslt.html |
| 3043 |
# =========================================================================== |
| 3044 |
# |
| 3045 |
# SYNOPSIS |
| 3046 |
# |
| 3047 |
# AC_CHECK_DOCBOOK_XSLT([xslt-version]) |
| 3048 |
# |
| 3049 |
# DESCRIPTION |
| 3050 |
# |
| 3051 |
# Check for access to docbook stylesheets of a particular revision. This |
| 3052 |
# macro can be used for multiple versions within the same script. |
| 3053 |
# |
| 3054 |
# Input: |
| 3055 |
# |
| 3056 |
# $1 is the version of docbook to search for; default 'current'. |
| 3057 |
# |
| 3058 |
# Output: |
| 3059 |
# |
| 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. |
| 3063 |
# |
| 3064 |
# Example: |
| 3065 |
# |
| 3066 |
# AC_CHECK_DOCBOOK_XSLT(1.72.0) |
| 3067 |
# if test "x$HAVE_DOCBOOK_XSLT_1_72_0" = "xyes"; then |
| 3068 |
# ... |
| 3069 |
# |
| 3070 |
# LICENSE |
| 3071 |
# |
| 3072 |
# Copyright (c) 2008 Zmanda Inc. <http://www.zmanda.com/> |
| 3073 |
# Copyright (c) 2008 Dustin J. Mitchell <dustin@zmanda.com> |
| 3074 |
# |
| 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. |
| 3079 |
# |
| 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. |
| 3084 |
# |
| 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/>. |
| 3087 |
# |
| 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. |
| 3095 |
# |
| 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. |
| 3100 |
|
| 3101 |
|
| 3102 |
|
| 3103 |
# =========================================================================== |
| 3104 |
# http://autoconf-archive.cryp.to/ac_check_docbook_dtd.html |
| 3105 |
# =========================================================================== |
| 3106 |
# |
| 3107 |
# SYNOPSIS |
| 3108 |
# |
| 3109 |
# AC_CHECK_DOCBOOK_DTD([dtd-version]) |
| 3110 |
# |
| 3111 |
# DESCRIPTION |
| 3112 |
# |
| 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. |
| 3115 |
# |
| 3116 |
# Input: |
| 3117 |
# |
| 3118 |
# $1 is the version of docbook to search for; default 'current'. |
| 3119 |
# |
| 3120 |
# Output: |
| 3121 |
# |
| 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. |
| 3125 |
# |
| 3126 |
# Example: |
| 3127 |
# |
| 3128 |
# AC_CHECK_DOCBOOK_DTD(4.3) |
| 3129 |
# if test "x$HAVE_DOCBOOK_DTD_4_3" = "xyes"; then |
| 3130 |
# ... |
| 3131 |
# |
| 3132 |
# LICENSE |
| 3133 |
# |
| 3134 |
# Copyright (c) 2008 Zmanda Inc. <http://www.zmanda.com/> |
| 3135 |
# Copyright (c) 2008 Dustin J. Mitchell <dustin@zmanda.com> |
| 3136 |
# |
| 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. |
| 3141 |
# |
| 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. |
| 3146 |
# |
| 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/>. |
| 3149 |
# |
| 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. |
| 3157 |
# |
| 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. |
| 3162 |
|
| 3163 |
|
| 3164 |
|
| 3165 |
#m4_include([m4/ac_check_ipafontdir.m4]) |
| 3166 |
TAKAO= |
| 3167 |
|
| 3168 |
|
| 3169 |
|
| 3170 |
|
| 3171 |
|
| 3172 |
TAKAOGEXFILE=/usr/share/fonts/takao-gothic/TakaoExGothic.ttf |
| 3173 |
|
| 3174 |
|
| 3175 |
|
| 3176 |
# Checks for programs. |
| 3177 |
|
| 3178 |
|
| 3179 |
|
| 3180 |
|
| 3181 |
|
| 3182 |
|
| 3183 |
|
| 3184 |
|
| 3185 |
|
| 3186 |
ac_ext=c |
| 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} |
| 3197 |
then : |
| 3198 |
printf %s "(cached) " >&6 |
| 3199 |
else $as_nop |
| 3200 |
if test -n "$CC"; then |
| 3201 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3202 |
else |
| 3203 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3204 |
for as_dir in $PATH |
| 3205 |
do |
| 3206 |
IFS=$as_save_IFS |
| 3207 |
case $as_dir in #((( |
| 3208 |
'') as_dir=./ ;; |
| 3209 |
*/) ;; |
| 3210 |
*) as_dir=$as_dir/ ;; |
| 3211 |
esac |
| 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 |
| 3216 |
break 2 |
| 3217 |
fi |
| 3218 |
done |
| 3219 |
done |
| 3220 |
IFS=$as_save_IFS |
| 3221 |
|
| 3222 |
fi |
| 3223 |
fi |
| 3224 |
CC=$ac_cv_prog_CC |
| 3225 |
if test -n "$CC"; then |
| 3226 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3227 |
printf "%s\n" "$CC" >&6; } |
| 3228 |
else |
| 3229 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3230 |
printf "%s\n" "no" >&6; } |
| 3231 |
fi |
| 3232 |
|
| 3233 |
|
| 3234 |
fi |
| 3235 |
if test -z "$ac_cv_prog_CC"; then |
| 3236 |
ac_ct_CC=$CC |
| 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} |
| 3242 |
then : |
| 3243 |
printf %s "(cached) " >&6 |
| 3244 |
else $as_nop |
| 3245 |
if test -n "$ac_ct_CC"; then |
| 3246 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3247 |
else |
| 3248 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3249 |
for as_dir in $PATH |
| 3250 |
do |
| 3251 |
IFS=$as_save_IFS |
| 3252 |
case $as_dir in #((( |
| 3253 |
'') as_dir=./ ;; |
| 3254 |
*/) ;; |
| 3255 |
*) as_dir=$as_dir/ ;; |
| 3256 |
esac |
| 3257 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3258 |
if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then |
| 3259 |
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 |
| 3261 |
break 2 |
| 3262 |
fi |
| 3263 |
done |
| 3264 |
done |
| 3265 |
IFS=$as_save_IFS |
| 3266 |
|
| 3267 |
fi |
| 3268 |
fi |
| 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; } |
| 3273 |
else |
| 3274 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3275 |
printf "%s\n" "no" >&6; } |
| 3276 |
fi |
| 3277 |
|
| 3278 |
if test "x$ac_ct_CC" = x; then |
| 3279 |
CC="" |
| 3280 |
else |
| 3281 |
case $cross_compiling:$ac_tool_warned in |
| 3282 |
yes:) |
| 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 ;; |
| 3286 |
esac |
| 3287 |
CC=$ac_ct_CC |
| 3288 |
fi |
| 3289 |
else |
| 3290 |
CC="$ac_cv_prog_CC" |
| 3291 |
fi |
| 3292 |
|
| 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} |
| 3300 |
then : |
| 3301 |
printf %s "(cached) " >&6 |
| 3302 |
else $as_nop |
| 3303 |
if test -n "$CC"; then |
| 3304 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3305 |
else |
| 3306 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3307 |
for as_dir in $PATH |
| 3308 |
do |
| 3309 |
IFS=$as_save_IFS |
| 3310 |
case $as_dir in #((( |
| 3311 |
'') as_dir=./ ;; |
| 3312 |
*/) ;; |
| 3313 |
*) as_dir=$as_dir/ ;; |
| 3314 |
esac |
| 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 |
| 3319 |
break 2 |
| 3320 |
fi |
| 3321 |
done |
| 3322 |
done |
| 3323 |
IFS=$as_save_IFS |
| 3324 |
|
| 3325 |
fi |
| 3326 |
fi |
| 3327 |
CC=$ac_cv_prog_CC |
| 3328 |
if test -n "$CC"; then |
| 3329 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3330 |
printf "%s\n" "$CC" >&6; } |
| 3331 |
else |
| 3332 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3333 |
printf "%s\n" "no" >&6; } |
| 3334 |
fi |
| 3335 |
|
| 3336 |
|
| 3337 |
fi |
| 3338 |
fi |
| 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} |
| 3345 |
then : |
| 3346 |
printf %s "(cached) " >&6 |
| 3347 |
else $as_nop |
| 3348 |
if test -n "$CC"; then |
| 3349 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3350 |
else |
| 3351 |
ac_prog_rejected=no |
| 3352 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3353 |
for as_dir in $PATH |
| 3354 |
do |
| 3355 |
IFS=$as_save_IFS |
| 3356 |
case $as_dir in #((( |
| 3357 |
'') as_dir=./ ;; |
| 3358 |
*/) ;; |
| 3359 |
*) as_dir=$as_dir/ ;; |
| 3360 |
esac |
| 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 |
| 3365 |
continue |
| 3366 |
fi |
| 3367 |
ac_cv_prog_CC="cc" |
| 3368 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 |
| 3369 |
break 2 |
| 3370 |
fi |
| 3371 |
done |
| 3372 |
done |
| 3373 |
IFS=$as_save_IFS |
| 3374 |
|
| 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 |
| 3378 |
shift |
| 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. |
| 3383 |
shift |
| 3384 |
ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" |
| 3385 |
fi |
| 3386 |
fi |
| 3387 |
fi |
| 3388 |
fi |
| 3389 |
CC=$ac_cv_prog_CC |
| 3390 |
if test -n "$CC"; then |
| 3391 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3392 |
printf "%s\n" "$CC" >&6; } |
| 3393 |
else |
| 3394 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3395 |
printf "%s\n" "no" >&6; } |
| 3396 |
fi |
| 3397 |
|
| 3398 |
|
| 3399 |
fi |
| 3400 |
if test -z "$CC"; then |
| 3401 |
if test -n "$ac_tool_prefix"; then |
| 3402 |
for ac_prog in cl.exe |
| 3403 |
do |
| 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} |
| 3409 |
then : |
| 3410 |
printf %s "(cached) " >&6 |
| 3411 |
else $as_nop |
| 3412 |
if test -n "$CC"; then |
| 3413 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3414 |
else |
| 3415 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3416 |
for as_dir in $PATH |
| 3417 |
do |
| 3418 |
IFS=$as_save_IFS |
| 3419 |
case $as_dir in #((( |
| 3420 |
'') as_dir=./ ;; |
| 3421 |
*/) ;; |
| 3422 |
*) as_dir=$as_dir/ ;; |
| 3423 |
esac |
| 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 |
| 3428 |
break 2 |
| 3429 |
fi |
| 3430 |
done |
| 3431 |
done |
| 3432 |
IFS=$as_save_IFS |
| 3433 |
|
| 3434 |
fi |
| 3435 |
fi |
| 3436 |
CC=$ac_cv_prog_CC |
| 3437 |
if test -n "$CC"; then |
| 3438 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3439 |
printf "%s\n" "$CC" >&6; } |
| 3440 |
else |
| 3441 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3442 |
printf "%s\n" "no" >&6; } |
| 3443 |
fi |
| 3444 |
|
| 3445 |
|
| 3446 |
test -n "$CC" && break |
| 3447 |
done |
| 3448 |
fi |
| 3449 |
if test -z "$CC"; then |
| 3450 |
ac_ct_CC=$CC |
| 3451 |
for ac_prog in cl.exe |
| 3452 |
do |
| 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} |
| 3458 |
then : |
| 3459 |
printf %s "(cached) " >&6 |
| 3460 |
else $as_nop |
| 3461 |
if test -n "$ac_ct_CC"; then |
| 3462 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3463 |
else |
| 3464 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3465 |
for as_dir in $PATH |
| 3466 |
do |
| 3467 |
IFS=$as_save_IFS |
| 3468 |
case $as_dir in #((( |
| 3469 |
'') as_dir=./ ;; |
| 3470 |
*/) ;; |
| 3471 |
*) as_dir=$as_dir/ ;; |
| 3472 |
esac |
| 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 |
| 3477 |
break 2 |
| 3478 |
fi |
| 3479 |
done |
| 3480 |
done |
| 3481 |
IFS=$as_save_IFS |
| 3482 |
|
| 3483 |
fi |
| 3484 |
fi |
| 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; } |
| 3489 |
else |
| 3490 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3491 |
printf "%s\n" "no" >&6; } |
| 3492 |
fi |
| 3493 |
|
| 3494 |
|
| 3495 |
test -n "$ac_ct_CC" && break |
| 3496 |
done |
| 3497 |
|
| 3498 |
if test "x$ac_ct_CC" = x; then |
| 3499 |
CC="" |
| 3500 |
else |
| 3501 |
case $cross_compiling:$ac_tool_warned in |
| 3502 |
yes:) |
| 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 ;; |
| 3506 |
esac |
| 3507 |
CC=$ac_ct_CC |
| 3508 |
fi |
| 3509 |
fi |
| 3510 |
|
| 3511 |
fi |
| 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} |
| 3519 |
then : |
| 3520 |
printf %s "(cached) " >&6 |
| 3521 |
else $as_nop |
| 3522 |
if test -n "$CC"; then |
| 3523 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
| 3524 |
else |
| 3525 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3526 |
for as_dir in $PATH |
| 3527 |
do |
| 3528 |
IFS=$as_save_IFS |
| 3529 |
case $as_dir in #((( |
| 3530 |
'') as_dir=./ ;; |
| 3531 |
*/) ;; |
| 3532 |
*) as_dir=$as_dir/ ;; |
| 3533 |
esac |
| 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 |
| 3538 |
break 2 |
| 3539 |
fi |
| 3540 |
done |
| 3541 |
done |
| 3542 |
IFS=$as_save_IFS |
| 3543 |
|
| 3544 |
fi |
| 3545 |
fi |
| 3546 |
CC=$ac_cv_prog_CC |
| 3547 |
if test -n "$CC"; then |
| 3548 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
| 3549 |
printf "%s\n" "$CC" >&6; } |
| 3550 |
else |
| 3551 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3552 |
printf "%s\n" "no" >&6; } |
| 3553 |
fi |
| 3554 |
|
| 3555 |
|
| 3556 |
fi |
| 3557 |
if test -z "$ac_cv_prog_CC"; then |
| 3558 |
ac_ct_CC=$CC |
| 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} |
| 3564 |
then : |
| 3565 |
printf %s "(cached) " >&6 |
| 3566 |
else $as_nop |
| 3567 |
if test -n "$ac_ct_CC"; then |
| 3568 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
| 3569 |
else |
| 3570 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3571 |
for as_dir in $PATH |
| 3572 |
do |
| 3573 |
IFS=$as_save_IFS |
| 3574 |
case $as_dir in #((( |
| 3575 |
'') as_dir=./ ;; |
| 3576 |
*/) ;; |
| 3577 |
*) as_dir=$as_dir/ ;; |
| 3578 |
esac |
| 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 |
| 3583 |
break 2 |
| 3584 |
fi |
| 3585 |
done |
| 3586 |
done |
| 3587 |
IFS=$as_save_IFS |
| 3588 |
|
| 3589 |
fi |
| 3590 |
fi |
| 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; } |
| 3595 |
else |
| 3596 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3597 |
printf "%s\n" "no" >&6; } |
| 3598 |
fi |
| 3599 |
|
| 3600 |
if test "x$ac_ct_CC" = x; then |
| 3601 |
CC="" |
| 3602 |
else |
| 3603 |
case $cross_compiling:$ac_tool_warned in |
| 3604 |
yes:) |
| 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 ;; |
| 3608 |
esac |
| 3609 |
CC=$ac_ct_CC |
| 3610 |
fi |
| 3611 |
else |
| 3612 |
CC="$ac_cv_prog_CC" |
| 3613 |
fi |
| 3614 |
|
| 3615 |
fi |
| 3616 |
|
| 3617 |
|
| 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; } |
| 3622 |
|
| 3623 |
# Provide some information about the compiler. |
| 3624 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
| 3625 |
set X $ac_compile |
| 3626 |
ac_compiler=$2 |
| 3627 |
for ac_option in --version -v -V -qversion -version; do |
| 3628 |
{ { ac_try="$ac_compiler $ac_option >&5" |
| 3629 |
case "(($ac_try" in |
| 3630 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3631 |
*) ac_try_echo=$ac_try;; |
| 3632 |
esac |
| 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 |
| 3636 |
ac_status=$? |
| 3637 |
if test -s conftest.err; then |
| 3638 |
sed '10a\ |
| 3639 |
... rest of stderr output deleted ... |
| 3640 |
10q' conftest.err >conftest.er1 |
| 3641 |
cat conftest.er1 >&5 |
| 3642 |
fi |
| 3643 |
rm -f conftest.er1 conftest.err |
| 3644 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3645 |
test $ac_status = 0; } |
| 3646 |
done |
| 3647 |
|
| 3648 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3649 |
/* end confdefs.h. */ |
| 3650 |
|
| 3651 |
int |
| 3652 |
main (void) |
| 3653 |
{ |
| 3654 |
|
| 3655 |
; |
| 3656 |
return 0; |
| 3657 |
} |
| 3658 |
_ACEOF |
| 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 |
| 3663 |
# of exeext. |
| 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[^ ]*//'` |
| 3667 |
|
| 3668 |
# The possible output files: |
| 3669 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
| 3670 |
|
| 3671 |
ac_rmfiles= |
| 3672 |
for ac_file in $ac_files |
| 3673 |
do |
| 3674 |
case $ac_file in |
| 3675 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 3676 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
| 3677 |
esac |
| 3678 |
done |
| 3679 |
rm -f $ac_rmfiles |
| 3680 |
|
| 3681 |
if { { ac_try="$ac_link_default" |
| 3682 |
case "(($ac_try" in |
| 3683 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3684 |
*) ac_try_echo=$ac_try;; |
| 3685 |
esac |
| 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 |
| 3689 |
ac_status=$? |
| 3690 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3691 |
test $ac_status = 0; } |
| 3692 |
then : |
| 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 |
| 3697 |
# Autoconf. |
| 3698 |
for ac_file in $ac_files '' |
| 3699 |
do |
| 3700 |
test -f "$ac_file" || continue |
| 3701 |
case $ac_file in |
| 3702 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
| 3703 |
;; |
| 3704 |
[ab].out ) |
| 3705 |
# We found the default executable, but exeext='' is most |
| 3706 |
# certainly right. |
| 3707 |
break;; |
| 3708 |
*.* ) |
| 3709 |
if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; |
| 3710 |
then :; else |
| 3711 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3712 |
fi |
| 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 |
| 3717 |
# actually working. |
| 3718 |
break;; |
| 3719 |
* ) |
| 3720 |
break;; |
| 3721 |
esac |
| 3722 |
done |
| 3723 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
| 3724 |
|
| 3725 |
else $as_nop |
| 3726 |
ac_file='' |
| 3727 |
fi |
| 3728 |
if test -z "$ac_file" |
| 3729 |
then : |
| 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 |
| 3734 |
|
| 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; } |
| 3739 |
else $as_nop |
| 3740 |
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3741 |
printf "%s\n" "yes" >&6; } |
| 3742 |
fi |
| 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 |
| 3748 |
|
| 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" |
| 3754 |
case "(($ac_try" in |
| 3755 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
| 3756 |
*) ac_try_echo=$ac_try;; |
| 3757 |
esac |
| 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 |
| 3761 |
ac_status=$? |
| 3762 |
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| 3763 |
test $ac_status = 0; } |
| 3764 |
then : |
| 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 |
| 3768 |
# `rm'. |
| 3769 |
for ac_file in conftest.exe conftest conftest.*; do |
| 3770 |
test -f "$ac_file" || continue |
| 3771 |
case $ac_file in |
| 3772 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
| 3773 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
| 3774 |
break;; |
| 3775 |
* ) break;; |
| 3776 |
esac |
| 3777 |
done |
| 3778 |
else $as_nop |
| 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; } |
| 3783 |
fi |
| 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; } |
| 3787 |
|
| 3788 |
rm -f conftest.$ac_ext |
| 3789 |
EXEEXT=$ac_cv_exeext |
| 3790 |
ac_exeext=$EXEEXT |
| 3791 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| 3792 |
/* end confdefs.h. */ |
| 3793 |
#include <stdio.h> |
| 3794 |
int |
| 3795 |
main (void) |
| 3796 |
{ |
| 3797 |
FILE *f = fopen ("conftest.out", "w"); |
| 3798 |
return ferror (f) || fclose (f) != 0; |
| 3799 |
|
| 3800 |
; |
| 3801 |
return 0; |
| 3802 |
} |
| 3803 |
_ACEOF |
| 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 |