| 1 |
#! /bin/sh |
| 2 |
# From configure.ac Id: configure.ac 8723 2021-03-28 18:28:09Z mskala . |
| 3 |
# Guess values for system-dependent variables and create Makefiles. |
| 4 |
# Generated by GNU Autoconf 2.69 for OCR 0.3.1. |
| 5 |
# |
| 6 |
# Report bugs to <[email protected]>. |
| 7 |
# |
| 8 |
# |
| 9 |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
| 10 |
# |
| 11 |
# |
| 12 |
# This configure script is free software; the Free Software Foundation |
| 13 |
# gives unlimited permission to copy, distribute and modify it. |
| 14 |
# |
| 15 |
# public domain |
| 16 |
## -------------------- ## |
| 17 |
## M4sh Initialization. ## |
| 18 |
## -------------------- ## |
| 19 |
|
| 20 |
# Be more Bourne compatible |
| 21 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 22 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 23 |
emulate sh |
| 24 |
NULLCMD=: |
| 25 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 26 |
# is contrary to our usage. Disable this feature. |
| 27 |
alias -g '${1+"$@"}'='"$@"' |
| 28 |
setopt NO_GLOB_SUBST |
| 29 |
else |
| 30 |
case `(set -o) 2>/dev/null` in #( |
| 31 |
*posix*) : |
| 32 |
set -o posix ;; #( |
| 33 |
*) : |
| 34 |
;; |
| 35 |
esac |
| 36 |
fi |
| 37 |
|
| 38 |
|
| 39 |
as_nl=' |
| 40 |
' |
| 41 |
export as_nl |
| 42 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 43 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 44 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 45 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 46 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
| 47 |
# but without wasting forks for bash or zsh. |
| 48 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
| 49 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 50 |
as_echo='print -r --' |
| 51 |
as_echo_n='print -rn --' |
| 52 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 53 |
as_echo='printf %s\n' |
| 54 |
as_echo_n='printf %s' |
| 55 |
else |
| 56 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| 57 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| 58 |
as_echo_n='/usr/ucb/echo -n' |
| 59 |
else |
| 60 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 61 |
as_echo_n_body='eval |
| 62 |
arg=$1; |
| 63 |
case $arg in #( |
| 64 |
*"$as_nl"*) |
| 65 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 66 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 67 |
esac; |
| 68 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| 69 |
' |
| 70 |
export as_echo_n_body |
| 71 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
| 72 |
fi |
| 73 |
export as_echo_body |
| 74 |
as_echo='sh -c $as_echo_body as_echo' |
| 75 |
fi |
| 76 |
|
| 77 |
# The user is always right. |
| 78 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 79 |
PATH_SEPARATOR=: |
| 80 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 81 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 82 |
PATH_SEPARATOR=';' |
| 83 |
} |
| 84 |
fi |
| 85 |
|
| 86 |
|
| 87 |
# IFS |
| 88 |
# We need space, tab and new line, in precisely that order. Quoting is |
| 89 |
# there to prevent editors from complaining about space-tab. |
| 90 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 91 |
# splitting by setting IFS to empty value.) |
| 92 |
IFS=" "" $as_nl" |
| 93 |
|
| 94 |
# Find who we are. Look in the path if we contain no directory separator. |
| 95 |
as_myself= |
| 96 |
case $0 in #(( |
| 97 |
*[\\/]* ) as_myself=$0 ;; |
| 98 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 99 |
for as_dir in $PATH |
| 100 |
do |
| 101 |
IFS=$as_save_IFS |
| 102 |
test -z "$as_dir" && as_dir=. |
| 103 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 104 |
done |
| 105 |
IFS=$as_save_IFS |
| 106 |
|
| 107 |
;; |
| 108 |
esac |
| 109 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 110 |
# in which case we are not to be found in the path. |
| 111 |
if test "x$as_myself" = x; then |
| 112 |
as_myself=$0 |
| 113 |
fi |
| 114 |
if test ! -f "$as_myself"; then |
| 115 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 116 |
exit 1 |
| 117 |
fi |
| 118 |
|
| 119 |
# Unset variables that we do not need and which cause bugs (e.g. in |
| 120 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 121 |
# suppresses any "Segmentation fault" message there. '((' could |
| 122 |
# trigger a bug in pdksh 5.2.14. |
| 123 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
| 124 |
do eval test x\${$as_var+set} = xset \ |
| 125 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 126 |
done |
| 127 |
PS1='$ ' |
| 128 |
PS2='> ' |
| 129 |
PS4='+ ' |
| 130 |
|
| 131 |
# NLS nuisances. |
| 132 |
LC_ALL=C |
| 133 |
export LC_ALL |
| 134 |
LANGUAGE=C |
| 135 |
export LANGUAGE |
| 136 |
|
| 137 |
# CDPATH. |
| 138 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 139 |
|
| 140 |
# Use a proper internal environment variable to ensure we don't fall |
| 141 |
# into an infinite loop, continuously re-executing ourselves. |
| 142 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
| 143 |
_as_can_reexec=no; export _as_can_reexec; |
| 144 |
# We cannot yet assume a decent shell, so we have to provide a |
| 145 |
# neutralization value for shells without unset; and this also |
| 146 |
# works around shells that cannot unset nonexistent variables. |
| 147 |
# Preserve -v and -x to the replacement shell. |
| 148 |
BASH_ENV=/dev/null |
| 149 |
ENV=/dev/null |
| 150 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 151 |
case $- in # (((( |
| 152 |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 153 |
*v* ) as_opts=-v ;; |
| 154 |
*x* ) as_opts=-x ;; |
| 155 |
* ) as_opts= ;; |
| 156 |
esac |
| 157 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 158 |
# Admittedly, this is quite paranoid, since all the known shells bail |
| 159 |
# out after a failed `exec'. |
| 160 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 161 |
as_fn_exit 255 |
| 162 |
fi |
| 163 |
# We don't want this to propagate to other subprocesses. |
| 164 |
{ _as_can_reexec=; unset _as_can_reexec;} |
| 165 |
if test "x$CONFIG_SHELL" = x; then |
| 166 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
| 167 |
emulate sh |
| 168 |
NULLCMD=: |
| 169 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
| 170 |
# is contrary to our usage. Disable this feature. |
| 171 |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
| 172 |
setopt NO_GLOB_SUBST |
| 173 |
else |
| 174 |
case \`(set -o) 2>/dev/null\` in #( |
| 175 |
*posix*) : |
| 176 |
set -o posix ;; #( |
| 177 |
*) : |
| 178 |
;; |
| 179 |
esac |
| 180 |
fi |
| 181 |
" |
| 182 |
as_required="as_fn_return () { (exit \$1); } |
| 183 |
as_fn_success () { as_fn_return 0; } |
| 184 |
as_fn_failure () { as_fn_return 1; } |
| 185 |
as_fn_ret_success () { return 0; } |
| 186 |
as_fn_ret_failure () { return 1; } |
| 187 |
|
| 188 |
exitcode=0 |
| 189 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
| 190 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
| 191 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
| 192 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
| 193 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
| 194 |
|
| 195 |
else |
| 196 |
exitcode=1; echo positional parameters were not saved. |
| 197 |
fi |
| 198 |
test x\$exitcode = x0 || exit 1 |
| 199 |
test -x / || exit 1" |
| 200 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
| 201 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
| 202 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
| 203 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
| 204 |
test \$(( 1 + 1 )) = 2 || exit 1" |
| 205 |
if (eval "$as_required") 2>/dev/null; then : |
| 206 |
as_have_required=yes |
| 207 |
else |
| 208 |
as_have_required=no |
| 209 |
fi |
| 210 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
| 211 |
|
| 212 |
else |
| 213 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 214 |
as_found=false |
| 215 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
| 216 |
do |
| 217 |
IFS=$as_save_IFS |
| 218 |
test -z "$as_dir" && as_dir=. |
| 219 |
as_found=: |
| 220 |
case $as_dir in #( |
| 221 |
/*) |
| 222 |
for as_base in sh bash ksh sh5; do |
| 223 |
# Try only shells that exist, to save several forks. |
| 224 |
as_shell=$as_dir/$as_base |
| 225 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
| 226 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
| 227 |
CONFIG_SHELL=$as_shell as_have_required=yes |
| 228 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
| 229 |
break 2 |
| 230 |
fi |
| 231 |
fi |
| 232 |
done;; |
| 233 |
esac |
| 234 |
as_found=false |
| 235 |
done |
| 236 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
| 237 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
| 238 |
CONFIG_SHELL=$SHELL as_have_required=yes |
| 239 |
fi; } |
| 240 |
IFS=$as_save_IFS |
| 241 |
|
| 242 |
|
| 243 |
if test "x$CONFIG_SHELL" != x; then : |
| 244 |
export CONFIG_SHELL |
| 245 |
# We cannot yet assume a decent shell, so we have to provide a |
| 246 |
# neutralization value for shells without unset; and this also |
| 247 |
# works around shells that cannot unset nonexistent variables. |
| 248 |
# Preserve -v and -x to the replacement shell. |
| 249 |
BASH_ENV=/dev/null |
| 250 |
ENV=/dev/null |
| 251 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
| 252 |
case $- in # (((( |
| 253 |
*v*x* | *x*v* ) as_opts=-vx ;; |
| 254 |
*v* ) as_opts=-v ;; |
| 255 |
*x* ) as_opts=-x ;; |
| 256 |
* ) as_opts= ;; |
| 257 |
esac |
| 258 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| 259 |
# Admittedly, this is quite paranoid, since all the known shells bail |
| 260 |
# out after a failed `exec'. |
| 261 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| 262 |
exit 255 |
| 263 |
fi |
| 264 |
|
| 265 |
if test x$as_have_required = xno; then : |
| 266 |
$as_echo "$0: This script requires a shell more modern than all" |
| 267 |
$as_echo "$0: the shells that I found on your system." |
| 268 |
if test x${ZSH_VERSION+set} = xset ; then |
| 269 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
| 270 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
| 271 |
else |
| 272 |
$as_echo "$0: Please tell [email protected] and |
| 273 |
$0: [email protected] about your system, including |
| 274 |
$0: any error possibly output before this message. Then |
| 275 |
$0: install a modern shell, or manually run the script |
| 276 |
$0: under such a shell if you do have one." |
| 277 |
fi |
| 278 |
exit 1 |
| 279 |
fi |
| 280 |
fi |
| 281 |
fi |
| 282 |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 283 |
export SHELL |
| 284 |
# Unset more variables known to interfere with behavior of common tools. |
| 285 |
CLICOLOR_FORCE= GREP_OPTIONS= |
| 286 |
unset CLICOLOR_FORCE GREP_OPTIONS |
| 287 |
|
| 288 |
## --------------------- ## |
| 289 |
## M4sh Shell Functions. ## |
| 290 |
## --------------------- ## |
| 291 |
# as_fn_unset VAR |
| 292 |
# --------------- |
| 293 |
# Portably unset VAR. |
| 294 |
as_fn_unset () |
| 295 |
{ |
| 296 |
{ eval $1=; unset $1;} |
| 297 |
} |
| 298 |
as_unset=as_fn_unset |
| 299 |
|
| 300 |
# as_fn_set_status STATUS |
| 301 |
# ----------------------- |
| 302 |
# Set $? to STATUS, without forking. |
| 303 |
as_fn_set_status () |
| 304 |
{ |
| 305 |
return $1 |
| 306 |
} # as_fn_set_status |
| 307 |
|
| 308 |
# as_fn_exit STATUS |
| 309 |
# ----------------- |
| 310 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 311 |
as_fn_exit () |
| 312 |
{ |
| 313 |
set +e |
| 314 |
as_fn_set_status $1 |
| 315 |
exit $1 |
| 316 |
} # as_fn_exit |
| 317 |
|
| 318 |
# as_fn_mkdir_p |
| 319 |
# ------------- |
| 320 |
# Create "$as_dir" as a directory, including parents if necessary. |
| 321 |
as_fn_mkdir_p () |
| 322 |
{ |
| 323 |
|
| 324 |
case $as_dir in #( |
| 325 |
-*) as_dir=./$as_dir;; |
| 326 |
esac |
| 327 |
test -d "$as_dir" || eval $as_mkdir_p || { |
| 328 |
as_dirs= |
| 329 |
while :; do |
| 330 |
case $as_dir in #( |
| 331 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 332 |
*) as_qdir=$as_dir;; |
| 333 |
esac |
| 334 |
as_dirs="'$as_qdir' $as_dirs" |
| 335 |
as_dir=`$as_dirname -- "$as_dir" || |
| 336 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 337 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 338 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 339 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 340 |
$as_echo X"$as_dir" | |
| 341 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 342 |
s//\1/ |
| 343 |
q |
| 344 |
} |
| 345 |
/^X\(\/\/\)[^/].*/{ |
| 346 |
s//\1/ |
| 347 |
q |
| 348 |
} |
| 349 |
/^X\(\/\/\)$/{ |
| 350 |
s//\1/ |
| 351 |
q |
| 352 |
} |
| 353 |
/^X\(\/\).*/{ |
| 354 |
s//\1/ |
| 355 |
q |
| 356 |
} |
| 357 |
s/.*/./; q'` |
| 358 |
test -d "$as_dir" && break |
| 359 |
done |
| 360 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 361 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 362 |
|
| 363 |
|
| 364 |
} # as_fn_mkdir_p |
| 365 |
|
| 366 |
# as_fn_executable_p FILE |
| 367 |
# ----------------------- |
| 368 |
# Test if FILE is an executable regular file. |
| 369 |
as_fn_executable_p () |
| 370 |
{ |
| 371 |
test -f "$1" && test -x "$1" |
| 372 |
} # as_fn_executable_p |
| 373 |
# as_fn_append VAR VALUE |
| 374 |
# ---------------------- |
| 375 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
| 376 |
# advantage of any shell optimizations that allow amortized linear growth over |
| 377 |
# repeated appends, instead of the typical quadratic growth present in naive |
| 378 |
# implementations. |
| 379 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
| 380 |
eval 'as_fn_append () |
| 381 |
{ |
| 382 |
eval $1+=\$2 |
| 383 |
}' |
| 384 |
else |
| 385 |
as_fn_append () |
| 386 |
{ |
| 387 |
eval $1=\$$1\$2 |
| 388 |
} |
| 389 |
fi # as_fn_append |
| 390 |
|
| 391 |
# as_fn_arith ARG... |
| 392 |
# ------------------ |
| 393 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
| 394 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 395 |
# must be portable across $(()) and expr. |
| 396 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 397 |
eval 'as_fn_arith () |
| 398 |
{ |
| 399 |
as_val=$(( $* )) |
| 400 |
}' |
| 401 |
else |
| 402 |
as_fn_arith () |
| 403 |
{ |
| 404 |
as_val=`expr "$@" || test $? -eq 1` |
| 405 |
} |
| 406 |
fi # as_fn_arith |
| 407 |
|
| 408 |
|
| 409 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 410 |
# ---------------------------------------- |
| 411 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 412 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 413 |
# script with STATUS, using 1 if that was 0. |
| 414 |
as_fn_error () |
| 415 |
{ |
| 416 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 417 |
if test "$4"; then |
| 418 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 419 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 420 |
fi |
| 421 |
$as_echo "$as_me: error: $2" >&2 |
| 422 |
as_fn_exit $as_status |
| 423 |
} # as_fn_error |
| 424 |
|
| 425 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 426 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 427 |
as_expr=expr |
| 428 |
else |
| 429 |
as_expr=false |
| 430 |
fi |
| 431 |
|
| 432 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 433 |
as_basename=basename |
| 434 |
else |
| 435 |
as_basename=false |
| 436 |
fi |
| 437 |
|
| 438 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 439 |
as_dirname=dirname |
| 440 |
else |
| 441 |
as_dirname=false |
| 442 |
fi |
| 443 |
|
| 444 |
as_me=`$as_basename -- "$0" || |
| 445 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 446 |
X"$0" : 'X\(//\)$' \| \ |
| 447 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 448 |
$as_echo X/"$0" | |
| 449 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 450 |
s//\1/ |
| 451 |
q |
| 452 |
} |
| 453 |
/^X\/\(\/\/\)$/{ |
| 454 |
s//\1/ |
| 455 |
q |
| 456 |
} |
| 457 |
/^X\/\(\/\).*/{ |
| 458 |
s//\1/ |
| 459 |
q |
| 460 |
} |
| 461 |
s/.*/./; q'` |
| 462 |
|
| 463 |
# Avoid depending upon Character Ranges. |
| 464 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 465 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 466 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 467 |
as_cr_digits='0123456789' |
| 468 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 469 |
|
| 470 |
|
| 471 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
| 472 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
| 473 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
| 474 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
| 475 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
| 476 |
sed -n ' |
| 477 |
p |
| 478 |
/[$]LINENO/= |
| 479 |
' <$as_myself | |
| 480 |
sed ' |
| 481 |
s/[$]LINENO.*/&-/ |
| 482 |
t lineno |
| 483 |
b |
| 484 |
:lineno |
| 485 |
N |
| 486 |
:loop |
| 487 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
| 488 |
t loop |
| 489 |
s/-\n.*// |
| 490 |
' >$as_me.lineno && |
| 491 |
chmod +x "$as_me.lineno" || |
| 492 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
| 493 |
|
| 494 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
| 495 |
# already done that, so ensure we don't try to do so again and fall |
| 496 |
# in an infinite loop. This has already happened in practice. |
| 497 |
_as_can_reexec=no; export _as_can_reexec |
| 498 |
# Don't try to exec as it changes $[0], causing all sort of problems |
| 499 |
# (the dirname of $[0] is not the place where we might find the |
| 500 |
# original and so on. Autoconf is especially sensitive to this). |
| 501 |
. "./$as_me.lineno" |
| 502 |
# Exit status is that of the last command. |
| 503 |
exit |
| 504 |
} |
| 505 |
|
| 506 |
ECHO_C= ECHO_N= ECHO_T= |
| 507 |
case `echo -n x` in #((((( |
| 508 |
-n*) |
| 509 |
case `echo 'xy\c'` in |
| 510 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 511 |
xy) ECHO_C='\c';; |
| 512 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 513 |
ECHO_T=' ';; |
| 514 |
esac;; |
| 515 |
*) |
| 516 |
ECHO_N='-n';; |
| 517 |
esac |
| 518 |
|
| 519 |
rm -f conf$$ conf$$.exe conf$$.file |
| 520 |
if test -d conf$$.dir; then |
| 521 |
rm -f conf$$.dir/conf$$.file |
| 522 |
else |
| 523 |
rm -f conf$$.dir |
| 524 |
mkdir conf$$.dir 2>/dev/null |
| 525 |
fi |
| 526 |
if (echo >conf$$.file) 2>/dev/null; then |
| 527 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 528 |
as_ln_s='ln -s' |
| 529 |
# ... but there are two gotchas: |
| 530 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 531 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 532 |
# In both cases, we have to default to `cp -pR'. |
| 533 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 534 |
as_ln_s='cp -pR' |
| 535 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 536 |
as_ln_s=ln |
| 537 |
else |
| 538 |
as_ln_s='cp -pR' |
| 539 |
fi |
| 540 |
else |
| 541 |
as_ln_s='cp -pR' |
| 542 |
fi |
| 543 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 544 |
rmdir conf$$.dir 2>/dev/null |
| 545 |
|
| 546 |
if mkdir -p . 2>/dev/null; then |
| 547 |
as_mkdir_p='mkdir -p "$as_dir"' |
| 548 |
else |
| 549 |
test -d ./-p && rmdir ./-p |
| 550 |
as_mkdir_p=false |
| 551 |
fi |
| 552 |
|
| 553 |
as_test_x='test -x' |
| 554 |
as_executable_p=as_fn_executable_p |
| 555 |
|
| 556 |
# Sed expression to map a string onto a valid CPP name. |
| 557 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 558 |
|
| 559 |
# Sed expression to map a string onto a valid variable name. |
| 560 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 561 |
|
| 562 |
|
| 563 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
| 564 |
exec 6>&1 |
| 565 |
|
| 566 |
# Name of the host. |
| 567 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
| 568 |
# so uname gets run too. |
| 569 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
| 570 |
|
| 571 |
# |
| 572 |
# Initializations. |
| 573 |
# |
| 574 |
ac_default_prefix=/usr/local |
| 575 |
ac_clean_files= |
| 576 |
ac_config_libobj_dir=. |
| 577 |
LIBOBJS= |
| 578 |
cross_compiling=no |
| 579 |
subdirs= |
| 580 |
MFLAGS= |
| 581 |
MAKEFLAGS= |
| 582 |
|
| 583 |
# Identity of this package. |
| 584 |
PACKAGE_NAME='OCR' |
| 585 |
PACKAGE_TARNAME='ocr' |
| 586 |
PACKAGE_VERSION='0.3.1' |
| 587 |
PACKAGE_STRING='OCR 0.3.1' |
| 588 |
PACKAGE_BUGREPORT='[email protected]' |
| 589 |
PACKAGE_URL='https://tsukurimashou.osdn.jp/' |
| 590 |
|
| 591 |
ac_unique_file="msk-ocra.mp" |
| 592 |
ac_subst_vars='LTLIBOBJS |
| 593 |
LIBOBJS |
| 594 |
andt |
| 595 |
parasite |
| 596 |
COND_PARASITE_FALSE |
| 597 |
COND_PARASITE_TRUE |
| 598 |
ae_arg_okay |
| 599 |
enable_docs |
| 600 |
COND_DOCS_FALSE |
| 601 |
COND_DOCS_TRUE |
| 602 |
COND_COLOUR_FALSE |
| 603 |
COND_COLOUR_TRUE |
| 604 |
INC_AMINCLUDE |
| 605 |
AMINCLUDE |
| 606 |
EGREP |
| 607 |
host_os |
| 608 |
host_vendor |
| 609 |
host_cpu |
| 610 |
host |
| 611 |
build_os |
| 612 |
build_vendor |
| 613 |
build_cpu |
| 614 |
build |
| 615 |
grouped |
| 616 |
XELATEX |
| 617 |
XDVIPDFMX |
| 618 |
T1ASM |
| 619 |
PERL |
| 620 |
MPOST |
| 621 |
KLEKNEV |
| 622 |
ifnGNUmake |
| 623 |
ifGNUmake |
| 624 |
FONTANVIL |
| 625 |
COND_EXPECT_FALSE |
| 626 |
COND_EXPECT_TRUE |
| 627 |
EXPECT |
| 628 |
LN_S |
| 629 |
GREP |
| 630 |
release_date |
| 631 |
AM_BACKSLASH |
| 632 |
AM_DEFAULT_VERBOSITY |
| 633 |
AM_DEFAULT_V |
| 634 |
AM_V |
| 635 |
am__untar |
| 636 |
am__tar |
| 637 |
AMTAR |
| 638 |
am__leading_dot |
| 639 |
SET_MAKE |
| 640 |
AWK |
| 641 |
mkdir_p |
| 642 |
MKDIR_P |
| 643 |
INSTALL_STRIP_PROGRAM |
| 644 |
STRIP |
| 645 |
install_sh |
| 646 |
MAKEINFO |
| 647 |
AUTOHEADER |
| 648 |
AUTOMAKE |
| 649 |
AUTOCONF |
| 650 |
ACLOCAL |
| 651 |
VERSION |
| 652 |
PACKAGE |
| 653 |
CYGPATH_W |
| 654 |
am__isrc |
| 655 |
INSTALL_DATA |
| 656 |
INSTALL_SCRIPT |
| 657 |
INSTALL_PROGRAM |
| 658 |
target_alias |
| 659 |
host_alias |
| 660 |
build_alias |
| 661 |
LIBS |
| 662 |
ECHO_T |
| 663 |
ECHO_N |
| 664 |
ECHO_C |
| 665 |
DEFS |
| 666 |
mandir |
| 667 |
localedir |
| 668 |
libdir |
| 669 |
psdir |
| 670 |
pdfdir |
| 671 |
dvidir |
| 672 |
htmldir |
| 673 |
infodir |
| 674 |
docdir |
| 675 |
oldincludedir |
| 676 |
includedir |
| 677 |
localstatedir |
| 678 |
sharedstatedir |
| 679 |
sysconfdir |
| 680 |
datadir |
| 681 |
afmdir |
| 682 |
type1dir |
| 683 |
ttfdir |
| 684 |
otfdir |
| 685 |
fontdir |
| 686 |
datarootdir |
| 687 |
libexecdir |
| 688 |
sbindir |
| 689 |
bindir |
| 690 |
program_transform_name |
| 691 |
prefix |
| 692 |
exec_prefix |
| 693 |
PACKAGE_URL |
| 694 |
PACKAGE_BUGREPORT |
| 695 |
PACKAGE_STRING |
| 696 |
PACKAGE_VERSION |
| 697 |
PACKAGE_TARNAME |
| 698 |
PACKAGE_NAME |
| 699 |
PATH_SEPARATOR |
| 700 |
SHELL' |
| 701 |
ac_subst_files='' |
| 702 |
ac_user_opts=' |
| 703 |
enable_option_checking |
| 704 |
enable_silent_rules |
| 705 |
enable_jobserver |
| 706 |
enable_colour_build |
| 707 |
enable_color_build |
| 708 |
enable_docs |
| 709 |
enable_parasite |
| 710 |
' |
| 711 |
ac_precious_vars='build_alias |
| 712 |
host_alias |
| 713 |
target_alias |
| 714 |
EXPECT |
| 715 |
FONTANVIL |
| 716 |
KLEKNEV |
| 717 |
MPOST |
| 718 |
PERL |
| 719 |
T1ASM |
| 720 |
XDVIPDFMX |
| 721 |
XELATEX' |
| 722 |
|
| 723 |
|
| 724 |
# Initialize some variables set by options. |
| 725 |
ac_init_help= |
| 726 |
ac_init_version=false |
| 727 |
ac_unrecognized_opts= |
| 728 |
ac_unrecognized_sep= |
| 729 |
# The variables have the same names as the options, with |
| 730 |
# dashes changed to underlines. |
| 731 |
cache_file=/dev/null |
| 732 |
exec_prefix=NONE |
| 733 |
no_create= |
| 734 |
no_recursion= |
| 735 |
prefix=NONE |
| 736 |
program_prefix=NONE |
| 737 |
program_suffix=NONE |
| 738 |
program_transform_name=s,x,x, |
| 739 |
silent= |
| 740 |
site= |
| 741 |
srcdir= |
| 742 |
verbose= |
| 743 |
x_includes=NONE |
| 744 |
x_libraries=NONE |
| 745 |
|
| 746 |
# Installation directory options. |
| 747 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
| 748 |
# and all the variables that are supposed to be based on exec_prefix |
| 749 |
# by default will actually change. |
| 750 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
| 751 |
# (The list follows the same order as the GNU Coding Standards.) |
| 752 |
bindir='${exec_prefix}/bin' |
| 753 |
sbindir='${exec_prefix}/sbin' |
| 754 |
libexecdir='${exec_prefix}/libexec' |
| 755 |
datarootdir='${prefix}/share' |
| 756 |
fontdir='${datarootdir}/fonts' |
| 757 |
otfdir='${fontdir}/OTF' |
| 758 |
ttfdir='${fontdir}/TTF' |
| 759 |
type1dir='${fontdir}/type1' |
| 760 |
afmdir='${fontdir}/afm' |
| 761 |
datadir='${datarootdir}' |
| 762 |
sysconfdir='${prefix}/etc' |
| 763 |
sharedstatedir='${prefix}/com' |
| 764 |
localstatedir='${prefix}/var' |
| 765 |
includedir='${prefix}/include' |
| 766 |
oldincludedir='/usr/include' |
| 767 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
| 768 |
infodir='${datarootdir}/info' |
| 769 |
htmldir='${docdir}' |
| 770 |
dvidir='${docdir}' |
| 771 |
pdfdir='${docdir}' |
| 772 |
psdir='${docdir}' |
| 773 |
libdir='${exec_prefix}/lib' |
| 774 |
localedir='${datarootdir}/locale' |
| 775 |
mandir='${datarootdir}/man' |
| 776 |
|
| 777 |
ac_prev= |
| 778 |
ac_dashdash= |
| 779 |
for ac_option |
| 780 |
do |
| 781 |
# If the previous option needs an argument, assign it. |
| 782 |
if test -n "$ac_prev"; then |
| 783 |
eval $ac_prev=\$ac_option |
| 784 |
ac_prev= |
| 785 |
continue |
| 786 |
fi |
| 787 |
|
| 788 |
case $ac_option in |
| 789 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
| 790 |
*=) ac_optarg= ;; |
| 791 |
*) ac_optarg=yes ;; |
| 792 |
esac |
| 793 |
|
| 794 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
| 795 |
|
| 796 |
case $ac_dashdash$ac_option in |
| 797 |
--) |
| 798 |
ac_dashdash=yes ;; |
| 799 |
|
| 800 |
# Deleted bindir option |
| 801 |
|
| 802 |
-build | --build | --buil | --bui | --bu) |
| 803 |
ac_prev=build_alias ;; |
| 804 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
| 805 |
build_alias=$ac_optarg ;; |
| 806 |
|
| 807 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
| 808 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
| 809 |
ac_prev=cache_file ;; |
| 810 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
| 811 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
| 812 |
cache_file=$ac_optarg ;; |
| 813 |
|
| 814 |
--config-cache | -C) |
| 815 |
cache_file=config.cache ;; |
| 816 |
|
| 817 |
# Deleted datadir option |
| 818 |
|
| 819 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
| 820 |
| --dataroo | --dataro | --datar) |
| 821 |
ac_prev=datarootdir ;; |
| 822 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
| 823 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
| 824 |
datarootdir=$ac_optarg ;; |
| 825 |
|
| 826 |
-disable-* | --disable-*) |
| 827 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
| 828 |
# Reject names that are not valid shell variable names. |
| 829 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 830 |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 831 |
ac_useropt_orig=$ac_useropt |
| 832 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 833 |
case $ac_user_opts in |
| 834 |
*" |
| 835 |
"enable_$ac_useropt" |
| 836 |
"*) ;; |
| 837 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
| 838 |
ac_unrecognized_sep=', ';; |
| 839 |
esac |
| 840 |
eval enable_$ac_useropt=no ;; |
| 841 |
|
| 842 |
-docdir | --docdir | --docdi | --doc | --do) |
| 843 |
ac_prev=docdir ;; |
| 844 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
| 845 |
docdir=$ac_optarg ;; |
| 846 |
|
| 847 |
# Deleted dvidir option |
| 848 |
|
| 849 |
-enable-* | --enable-*) |
| 850 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
| 851 |
# Reject names that are not valid shell variable names. |
| 852 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 853 |
as_fn_error $? "invalid feature name: $ac_useropt" |
| 854 |
ac_useropt_orig=$ac_useropt |
| 855 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 856 |
case $ac_user_opts in |
| 857 |
*" |
| 858 |
"enable_$ac_useropt" |
| 859 |
"*) ;; |
| 860 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
| 861 |
ac_unrecognized_sep=', ';; |
| 862 |
esac |
| 863 |
eval enable_$ac_useropt=\$ac_optarg ;; |
| 864 |
|
| 865 |
# Deleted exec-prefix option |
| 866 |
|
| 867 |
-fontdir | --fontdir | --fontdi | --fontd | --font | --fon | --fo | --f) |
| 868 |
ac_prev=fontdir ;; |
| 869 |
-fontdir=* | --fontdir=* | --fontdi=* | --fontd=* | --font=* | --fon=* | --fo=* | --f=*) |
| 870 |
fontdir=$ac_optarg ;; |
| 871 |
|
| 872 |
# Deleted obsolete gas option |
| 873 |
|
| 874 |
-help | --help | --hel | --he | -h) |
| 875 |
ac_init_help=long ;; |
| 876 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
| 877 |
ac_init_help=recursive ;; |
| 878 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
| 879 |
ac_init_help=short ;; |
| 880 |
|
| 881 |
-host | --host | --hos | --ho) |
| 882 |
ac_prev=host_alias ;; |
| 883 |
-host=* | --host=* | --hos=* | --ho=*) |
| 884 |
host_alias=$ac_optarg ;; |
| 885 |
|
| 886 |
# Deleted htmldir option |
| 887 |
|
| 888 |
# Deleted includedir option |
| 889 |
|
| 890 |
# Deleted infodir option |
| 891 |
|
| 892 |
# Deleted libdir option |
| 893 |
|
| 894 |
# Deleted libexecdir option |
| 895 |
|
| 896 |
# Deleted localedir option |
| 897 |
|
| 898 |
# Deleted localstatedir option |
| 899 |
|
| 900 |
# Deleted mandir option |
| 901 |
|
| 902 |
# Deleted obsolete nfp option |
| 903 |
|
| 904 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
| 905 |
| --no-cr | --no-c | -n) |
| 906 |
no_create=yes ;; |
| 907 |
|
| 908 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
| 909 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
| 910 |
no_recursion=yes ;; |
| 911 |
|
| 912 |
# Deleted oldincludedir option |
| 913 |
|
| 914 |
-afmdir | --afmdir | --afmdi | --afmd | --afm) |
| 915 |
ac_prev=afmdir ;; |
| 916 |
-afmdir=* | --afmdir=* | --afmdi=* | --afmd=* | --afm=*) |
| 917 |
afmdir=$ac_optarg ;; |
| 918 |
|
| 919 |
-type1dir | --type1dir | --type1di | --type1d | --type1 | --type | --typ | --ty) |
| 920 |
ac_prev=type1dir ;; |
| 921 |
-type1dir=* | --type1dir=* | --type1di=* | --type1d=* | --type1=* | --type=* | --typ=* | --ty=*) |
| 922 |
type1dir=$ac_optarg ;; |
| 923 |
|
| 924 |
-ttfdir | --ttfdir | --ttfdi | --ttfd | --ttf | --tt) |
| 925 |
ac_prev=ttfdir ;; |
| 926 |
-ttfdir=* | --ttfdir=* | --ttfdi=* | --ttfd=* | --ttf=* | --tt=*) |
| 927 |
ttfdir=$ac_optarg ;; |
| 928 |
|
| 929 |
-otfdir | --otfdir | --otfdi | --otfd | --otf | --ot) |
| 930 |
ac_prev=otfdir ;; |
| 931 |
-otfdir=* | --otfdir=* | --otfdi=* | --otfd=* | --otf=* | --ot=*) |
| 932 |
otfdir=$ac_optarg ;; |
| 933 |
|
| 934 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
| 935 |
ac_prev=prefix ;; |
| 936 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
| 937 |
prefix=$ac_optarg ;; |
| 938 |
|
| 939 |
# Deleted program-prefix option |
| 940 |
|
| 941 |
# Deleted program-suffix option |
| 942 |
|
| 943 |
# Deleted program-transform-name option |
| 944 |
|
| 945 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
| 946 |
ac_prev=pdfdir ;; |
| 947 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
| 948 |
pdfdir=$ac_optarg ;; |
| 949 |
|
| 950 |
# Deleted psdir option |
| 951 |
|
| 952 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 953 |
| -silent | --silent | --silen | --sile | --sil) |
| 954 |
silent=yes ;; |
| 955 |
|
| 956 |
# Deleted sbindir option |
| 957 |
|
| 958 |
# Deleted sharedstatedir option |
| 959 |
|
| 960 |
-site | --site | --sit) |
| 961 |
ac_prev=site ;; |
| 962 |
-site=* | --site=* | --sit=*) |
| 963 |
site=$ac_optarg ;; |
| 964 |
|
| 965 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
| 966 |
ac_prev=srcdir ;; |
| 967 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
| 968 |
srcdir=$ac_optarg ;; |
| 969 |
|
| 970 |
# Deleted sysconfdir option |
| 971 |
|
| 972 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
| 973 |
ac_prev=target_alias ;; |
| 974 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
| 975 |
target_alias=$ac_optarg ;; |
| 976 |
|
| 977 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
| 978 |
verbose=yes ;; |
| 979 |
|
| 980 |
-version | --version | --versio | --versi | --vers | -V) |
| 981 |
ac_init_version=: ;; |
| 982 |
|
| 983 |
-with-* | --with-*) |
| 984 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
| 985 |
# Reject names that are not valid shell variable names. |
| 986 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 987 |
as_fn_error $? "invalid package name: $ac_useropt" |
| 988 |
ac_useropt_orig=$ac_useropt |
| 989 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 990 |
case $ac_user_opts in |
| 991 |
*" |
| 992 |
"with_$ac_useropt" |
| 993 |
"*) ;; |
| 994 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
| 995 |
ac_unrecognized_sep=', ';; |
| 996 |
esac |
| 997 |
eval with_$ac_useropt=\$ac_optarg ;; |
| 998 |
|
| 999 |
-without-* | --without-*) |
| 1000 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
| 1001 |
# Reject names that are not valid shell variable names. |
| 1002 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
| 1003 |
as_fn_error $? "invalid package name: $ac_useropt" |
| 1004 |
ac_useropt_orig=$ac_useropt |
| 1005 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
| 1006 |
case $ac_user_opts in |
| 1007 |
*" |
| 1008 |
"with_$ac_useropt" |
| 1009 |
"*) ;; |
| 1010 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
| 1011 |
ac_unrecognized_sep=', ';; |
| 1012 |
esac |
| 1013 |
eval with_$ac_useropt=no ;; |
| 1014 |
|
| 1015 |
# Deleted obsolete -x option |
| 1016 |
|
| 1017 |
# Deleted x-includes option |
| 1018 |
|
| 1019 |
# Deleted x-libraries option |
| 1020 |
|
| 1021 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
| 1022 |
Try \`$0 --help' for more information" |
| 1023 |
;; |
| 1024 |
|
| 1025 |
*=*) |
| 1026 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
| 1027 |
# Reject names that are not valid shell variable names. |
| 1028 |
case $ac_envvar in #( |
| 1029 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
| 1030 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
| 1031 |
esac |
| 1032 |
eval $ac_envvar=\$ac_optarg |
| 1033 |
export $ac_envvar ;; |
| 1034 |
|
| 1035 |
*) |
| 1036 |
# FIXME: should be removed in autoconf 3.0. |
| 1037 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
| 1038 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
| 1039 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
| 1040 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
| 1041 |
;; |
| 1042 |
|
| 1043 |
esac |
| 1044 |
done |
| 1045 |
|
| 1046 |
if test -n "$ac_prev"; then |
| 1047 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
| 1048 |
as_fn_error $? "missing argument to $ac_option" |
| 1049 |
fi |
| 1050 |
|
| 1051 |
if test -n "$ac_unrecognized_opts"; then |
| 1052 |
case $enable_option_checking in |
| 1053 |
no) ;; |
| 1054 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
| 1055 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
| 1056 |
esac |
| 1057 |
fi |
| 1058 |
|
| 1059 |
# Check all directory arguments for consistency. |
| 1060 |
for ac_var in prefix datarootdir fontdir otfdir ttfdir type1dir afmdir \ |
| 1061 |
\ |
| 1062 |
docdir pdfdir \ |
| 1063 |
|
| 1064 |
do |
| 1065 |
eval ac_val=\$$ac_var |
| 1066 |
# Remove trailing slashes. |
| 1067 |
case $ac_val in |
| 1068 |
*/ ) |
| 1069 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
| 1070 |
eval $ac_var=\$ac_val;; |
| 1071 |
esac |
| 1072 |
# Be sure to have absolute directory names. |
| 1073 |
case $ac_val in |
| 1074 |
[\\/$]* | ?:[\\/]* ) continue;; |
| 1075 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
| 1076 |
esac |
| 1077 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
| 1078 |
done |
| 1079 |
|
| 1080 |
# There might be people who depend on the old broken behavior: `$host' |
| 1081 |
# used to hold the argument of --host etc. |
| 1082 |
# FIXME: To remove some day. |
| 1083 |
build=$build_alias |
| 1084 |
host=$host_alias |
| 1085 |
target=$target_alias |
| 1086 |
|
| 1087 |
# FIXME: To remove some day. |
| 1088 |
if test "x$host_alias" != x; then |
| 1089 |
if test "x$build_alias" = x; then |
| 1090 |
cross_compiling=maybe |
| 1091 |
elif test "x$build_alias" != "x$host_alias"; then |
| 1092 |
cross_compiling=yes |
| 1093 |
fi |
| 1094 |
fi |
| 1095 |
|
| 1096 |
ac_tool_prefix= |
| 1097 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
| 1098 |
|
| 1099 |
test "$silent" = yes && exec 6>/dev/null |
| 1100 |
|
| 1101 |
|
| 1102 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
| 1103 |
ac_ls_di=`ls -di .` && |
| 1104 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
| 1105 |
as_fn_error $? "working directory cannot be determined" |
| 1106 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
| 1107 |
as_fn_error $? "pwd does not report name of working directory" |
| 1108 |
|
| 1109 |
|
| 1110 |
# Find the source files, if location was not specified. |
| 1111 |
if test -z "$srcdir"; then |
| 1112 |
ac_srcdir_defaulted=yes |
| 1113 |
# Try the directory containing this script, then the parent directory. |
| 1114 |
ac_confdir=`$as_dirname -- "$as_myself" || |
| 1115 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 1116 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
| 1117 |
X"$as_myself" : 'X\(//\)$' \| \ |
| 1118 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
| 1119 |
$as_echo X"$as_myself" | |
| 1120 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 1121 |
s//\1/ |
| 1122 |
q |
| 1123 |
} |
| 1124 |
/^X\(\/\/\)[^/].*/{ |
| 1125 |
s//\1/ |
| 1126 |
q |
| 1127 |
} |
| 1128 |
/^X\(\/\/\)$/{ |
| 1129 |
s//\1/ |
| 1130 |
q |
| 1131 |
} |
| 1132 |
/^X\(\/\).*/{ |
| 1133 |
s//\1/ |
| 1134 |
q |
| 1135 |
} |
| 1136 |
s/.*/./; q'` |
| 1137 |
srcdir=$ac_confdir |
| 1138 |
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1139 |
srcdir=.. |
| 1140 |
fi |
| 1141 |
else |
| 1142 |
ac_srcdir_defaulted=no |
| 1143 |
fi |
| 1144 |
if test ! -r "$srcdir/$ac_unique_file"; then |
| 1145 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
| 1146 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
| 1147 |
fi |
| 1148 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
| 1149 |
ac_abs_confdir=`( |
| 1150 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
| 1151 |
pwd)` |
| 1152 |
# When building in place, set srcdir=. |
| 1153 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
| 1154 |
srcdir=. |
| 1155 |
fi |
| 1156 |
# Remove unnecessary trailing slashes from srcdir. |
| 1157 |
# Double slashes in file names in object file debugging info |
| 1158 |
# mess up M-x gdb in Emacs. |
| 1159 |
case $srcdir in |
| 1160 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
| 1161 |
esac |
| 1162 |
for ac_var in $ac_precious_vars; do |
| 1163 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
| 1164 |
eval ac_env_${ac_var}_value=\$${ac_var} |
| 1165 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
| 1166 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
| 1167 |
done |
| 1168 |
|
| 1169 |
# |
| 1170 |
# Report the --help message. |
| 1171 |
# |
| 1172 |
if test "$ac_init_help" = "long"; then |
| 1173 |
# Omit some internal or obsolete options to make the list less imposing. |
| 1174 |
# This message is too long to be a string in the A/UX 3.1 sh. |
| 1175 |
cat <<_ACEOF |
| 1176 |
\`configure' configures OCR 0.3.1. |
| 1177 |
|
| 1178 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
| 1179 |
|
| 1180 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
| 1181 |
VAR=VALUE. See below for descriptions of some useful variables. |
| 1182 |
|
| 1183 |
Defaults are specified in brackets. |
| 1184 |
|
| 1185 |
Configuration: |
| 1186 |
-h, --help display this help and exit |
| 1187 |
--help=short display options specific to this package |
| 1188 |
--help=recursive display the short help of all the included packages |
| 1189 |
-V, --version display version information and exit |
| 1190 |
-q, --quiet, --silent do not print \`checking ...' messages |
| 1191 |
--cache-file=FILE cache test results in FILE [disabled] |
| 1192 |
-C, --config-cache alias for \`--cache-file=config.cache' |
| 1193 |
-n, --no-create do not create output files |
| 1194 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
| 1195 |
|
| 1196 |
Installation directories: |
| 1197 |
--prefix=PREFIX install files in PREFIX [$ac_default_prefix] |
| 1198 |
--datarootdir=DIR read-only data root [PREFIX/share] |
| 1199 |
--fontdir=DIR fonts [DATAROOTDIR/fonts] |
| 1200 |
--otfdir=DIR OpenType fonts [FONTDIR/OTF] |
| 1201 |
--ttfdir=DIR TrueType fonts [FONTDIR/TTF] |
| 1202 |
--type1dir=DIR Postscript Type 1 fonts [FONTDIR/type1] |
| 1203 |
--afmdir=DIR Adobe Font Metrics [FONTDIR/afm] |
| 1204 |
--docdir=DIR documentation root [DATAROOTDIR/doc/ocr] |
| 1205 |
--pdfdir=DIR pdf documentation [DOCDIR] |
| 1206 |
_ACEOF |
| 1207 |
|
| 1208 |
cat <<\_ACEOF |
| 1209 |
|
| 1210 |
System types: |
| 1211 |
--build=BUILD configure for building on BUILD [guessed] |
| 1212 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
| 1213 |
_ACEOF |
| 1214 |
fi |
| 1215 |
|
| 1216 |
if test -n "$ac_init_help"; then |
| 1217 |
case $ac_init_help in |
| 1218 |
short | recursive ) echo "Configuration of OCR 0.3.1:";; |
| 1219 |
esac |
| 1220 |
cat <<\_ACEOF |
| 1221 |
|
| 1222 |
Optional Features and Packages: |
| 1223 |
--disable-option-checking ignore unrecognized --enable/--with options |
| 1224 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
| 1225 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
| 1226 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
| 1227 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
| 1228 |
--enable-silent-rules less verbose build output (undo: "make V=1") |
| 1229 |
--disable-silent-rules verbose build output (undo: "make V=0") |
| 1230 |
--enable-jobserver[=no/yes/#] use up to # make jobs, yes=CPUs+1 [yes] |
| 1231 |
--disable-colour-build turn off ANSI colour in build scripts |
| 1232 |
--disable-docs turn off PDF documentation |
| 1233 |
--enable-parasite=yes|no|auto |
| 1234 |
build as a parasite [auto] |
| 1235 |
|
| 1236 |
Some influential environment variables: |
| 1237 |
EXPECT Expect |
| 1238 |
FONTANVIL FontAnvil |
| 1239 |
KLEKNEV Kleknev |
| 1240 |
MPOST MetaPost |
| 1241 |
PERL Perl |
| 1242 |
T1ASM t1asm |
| 1243 |
XDVIPDFMX xdvipdfmx |
| 1244 |
XELATEX XeLaTeX |
| 1245 |
|
| 1246 |
Use these variables to override the choices made by `configure' or to help |
| 1247 |
it to find libraries and programs with nonstandard names/locations. |
| 1248 |
|
| 1249 |
Report bugs to <[email protected]>. |
| 1250 |
OCR home page: <https://tsukurimashou.osdn.jp/>. |
| 1251 |
_ACEOF |
| 1252 |
ac_status=$? |
| 1253 |
fi |
| 1254 |
|
| 1255 |
if test "$ac_init_help" = "recursive"; then |
| 1256 |
# If there are subdirs, report their specific --help. |
| 1257 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
| 1258 |
test -d "$ac_dir" || |
| 1259 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
| 1260 |
continue |
| 1261 |
ac_builddir=. |
| 1262 |
|
| 1263 |
case "$ac_dir" in |
| 1264 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1265 |
*) |
| 1266 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 1267 |
# A ".." for each directory in $ac_dir_suffix. |
| 1268 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 1269 |
case $ac_top_builddir_sub in |
| 1270 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 1271 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 1272 |
esac ;; |
| 1273 |
esac |
| 1274 |
ac_abs_top_builddir=$ac_pwd |
| 1275 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 1276 |
# for backward compatibility: |
| 1277 |
ac_top_builddir=$ac_top_build_prefix |
| 1278 |
|
| 1279 |
case $srcdir in |
| 1280 |
.) # We are building in place. |
| 1281 |
ac_srcdir=. |
| 1282 |
ac_top_srcdir=$ac_top_builddir_sub |
| 1283 |
ac_abs_top_srcdir=$ac_pwd ;; |
| 1284 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 1285 |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 1286 |
ac_top_srcdir=$srcdir |
| 1287 |
ac_abs_top_srcdir=$srcdir ;; |
| 1288 |
*) # Relative name. |
| 1289 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 1290 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 1291 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 1292 |
esac |
| 1293 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 1294 |
|
| 1295 |
cd "$ac_dir" || { ac_status=$?; continue; } |
| 1296 |
# Check for guested configure. |
| 1297 |
if test -f "$ac_srcdir/configure.gnu"; then |
| 1298 |
echo && |
| 1299 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
| 1300 |
elif test -f "$ac_srcdir/configure"; then |
| 1301 |
echo && |
| 1302 |
$SHELL "$ac_srcdir/configure" --help=recursive |
| 1303 |
else |
| 1304 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
| 1305 |
fi || ac_status=$? |
| 1306 |
cd "$ac_pwd" || { ac_status=$?; break; } |
| 1307 |
done |
| 1308 |
fi |
| 1309 |
|
| 1310 |
test -n "$ac_init_help" && exit $ac_status |
| 1311 |
if $ac_init_version; then |
| 1312 |
cat <<\_ACEOF |
| 1313 |
OCR configure 0.3.1 |
| 1314 |
generated by GNU Autoconf 2.69 |
| 1315 |
|
| 1316 |
Copyright (C) 2012 Free Software Foundation, Inc. |
| 1317 |
This configure script is free software; the Free Software Foundation |
| 1318 |
gives unlimited permission to copy, distribute and modify it. |
| 1319 |
|
| 1320 |
public domain |
| 1321 |
_ACEOF |
| 1322 |
exit |
| 1323 |
fi |
| 1324 |
|
| 1325 |
## ------------------------ ## |
| 1326 |
## Autoconf initialization. ## |
| 1327 |
## ------------------------ ## |
| 1328 |
cat >config.log <<_ACEOF |
| 1329 |
This file contains any messages produced by compilers while |
| 1330 |
running configure, to aid debugging if configure makes a mistake. |
| 1331 |
|
| 1332 |
It was created by OCR $as_me 0.3.1, which was |
| 1333 |
generated by GNU Autoconf 2.69. Invocation command line was |
| 1334 |
|
| 1335 |
$ $0 $@ |
| 1336 |
|
| 1337 |
_ACEOF |
| 1338 |
exec 5>>config.log |
| 1339 |
{ |
| 1340 |
cat <<_ASUNAME |
| 1341 |
## --------- ## |
| 1342 |
## Platform. ## |
| 1343 |
## --------- ## |
| 1344 |
|
| 1345 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 1346 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
| 1347 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
| 1348 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
| 1349 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
| 1350 |
|
| 1351 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
| 1352 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
| 1353 |
|
| 1354 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
| 1355 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
| 1356 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
| 1357 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
| 1358 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
| 1359 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
| 1360 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
| 1361 |
|
| 1362 |
_ASUNAME |
| 1363 |
|
| 1364 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1365 |
for as_dir in $PATH |
| 1366 |
do |
| 1367 |
IFS=$as_save_IFS |
| 1368 |
test -z "$as_dir" && as_dir=. |
| 1369 |
$as_echo "PATH: $as_dir" |
| 1370 |
done |
| 1371 |
IFS=$as_save_IFS |
| 1372 |
|
| 1373 |
} >&5 |
| 1374 |
|
| 1375 |
cat >&5 <<_ACEOF |
| 1376 |
|
| 1377 |
|
| 1378 |
## ----------- ## |
| 1379 |
## Core tests. ## |
| 1380 |
## ----------- ## |
| 1381 |
|
| 1382 |
_ACEOF |
| 1383 |
|
| 1384 |
|
| 1385 |
# Keep a trace of the command line. |
| 1386 |
# Strip out --no-create and --no-recursion so they do not pile up. |
| 1387 |
# Strip out --silent because we don't want to record it for future runs. |
| 1388 |
# Also quote any args containing shell meta-characters. |
| 1389 |
# Make two passes to allow for proper duplicate-argument suppression. |
| 1390 |
ac_configure_args= |
| 1391 |
ac_configure_args0= |
| 1392 |
ac_configure_args1= |
| 1393 |
ac_must_keep_next=false |
| 1394 |
for ac_pass in 1 2 |
| 1395 |
do |
| 1396 |
for ac_arg |
| 1397 |
do |
| 1398 |
case $ac_arg in |
| 1399 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
| 1400 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 1401 |
| -silent | --silent | --silen | --sile | --sil) |
| 1402 |
continue ;; |
| 1403 |
*\'*) |
| 1404 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1405 |
esac |
| 1406 |
case $ac_pass in |
| 1407 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
| 1408 |
2) |
| 1409 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
| 1410 |
if test $ac_must_keep_next = true; then |
| 1411 |
ac_must_keep_next=false # Got value, back to normal. |
| 1412 |
else |
| 1413 |
case $ac_arg in |
| 1414 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
| 1415 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
| 1416 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
| 1417 |
| -with-* | --with-* | -without-* | --without-* | --x) |
| 1418 |
case "$ac_configure_args0 " in |
| 1419 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
| 1420 |
esac |
| 1421 |
;; |
| 1422 |
-* ) ac_must_keep_next=true ;; |
| 1423 |
esac |
| 1424 |
fi |
| 1425 |
as_fn_append ac_configure_args " '$ac_arg'" |
| 1426 |
;; |
| 1427 |
esac |
| 1428 |
done |
| 1429 |
done |
| 1430 |
{ ac_configure_args0=; unset ac_configure_args0;} |
| 1431 |
{ ac_configure_args1=; unset ac_configure_args1;} |
| 1432 |
|
| 1433 |
# When interrupted or exit'd, cleanup temporary files, and complete |
| 1434 |
# config.log. We remove comments because anyway the quotes in there |
| 1435 |
# would cause problems or look ugly. |
| 1436 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
| 1437 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
| 1438 |
trap 'exit_status=$? |
| 1439 |
# Save into config.log some information that might help in debugging. |
| 1440 |
{ |
| 1441 |
echo |
| 1442 |
|
| 1443 |
$as_echo "## ---------------- ## |
| 1444 |
## Cache variables. ## |
| 1445 |
## ---------------- ##" |
| 1446 |
echo |
| 1447 |
# The following way of writing the cache mishandles newlines in values, |
| 1448 |
( |
| 1449 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
| 1450 |
eval ac_val=\$$ac_var |
| 1451 |
case $ac_val in #( |
| 1452 |
*${as_nl}*) |
| 1453 |
case $ac_var in #( |
| 1454 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 1455 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 1456 |
esac |
| 1457 |
case $ac_var in #( |
| 1458 |
_ | IFS | as_nl) ;; #( |
| 1459 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 1460 |
*) { eval $ac_var=; unset $ac_var;} ;; |
| 1461 |
esac ;; |
| 1462 |
esac |
| 1463 |
done |
| 1464 |
(set) 2>&1 | |
| 1465 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
| 1466 |
*${as_nl}ac_space=\ *) |
| 1467 |
sed -n \ |
| 1468 |
"s/'\''/'\''\\\\'\'''\''/g; |
| 1469 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
| 1470 |
;; #( |
| 1471 |
*) |
| 1472 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 1473 |
;; |
| 1474 |
esac | |
| 1475 |
sort |
| 1476 |
) |
| 1477 |
echo |
| 1478 |
|
| 1479 |
$as_echo "## ----------------- ## |
| 1480 |
## Output variables. ## |
| 1481 |
## ----------------- ##" |
| 1482 |
echo |
| 1483 |
for ac_var in $ac_subst_vars |
| 1484 |
do |
| 1485 |
eval ac_val=\$$ac_var |
| 1486 |
case $ac_val in |
| 1487 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1488 |
esac |
| 1489 |
$as_echo "$ac_var='\''$ac_val'\''" |
| 1490 |
done | sort |
| 1491 |
echo |
| 1492 |
|
| 1493 |
if test -n "$ac_subst_files"; then |
| 1494 |
$as_echo "## ------------------- ## |
| 1495 |
## File substitutions. ## |
| 1496 |
## ------------------- ##" |
| 1497 |
echo |
| 1498 |
for ac_var in $ac_subst_files |
| 1499 |
do |
| 1500 |
eval ac_val=\$$ac_var |
| 1501 |
case $ac_val in |
| 1502 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
| 1503 |
esac |
| 1504 |
$as_echo "$ac_var='\''$ac_val'\''" |
| 1505 |
done | sort |
| 1506 |
echo |
| 1507 |
fi |
| 1508 |
|
| 1509 |
if test -s confdefs.h; then |
| 1510 |
$as_echo "## ----------- ## |
| 1511 |
## confdefs.h. ## |
| 1512 |
## ----------- ##" |
| 1513 |
echo |
| 1514 |
cat confdefs.h |
| 1515 |
echo |
| 1516 |
fi |
| 1517 |
test "$ac_signal" != 0 && |
| 1518 |
$as_echo "$as_me: caught signal $ac_signal" |
| 1519 |
$as_echo "$as_me: exit $exit_status" |
| 1520 |
} >&5 |
| 1521 |
rm -f core *.core core.conftest.* && |
| 1522 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
| 1523 |
exit $exit_status |
| 1524 |
' 0 |
| 1525 |
for ac_signal in 1 2 13 15; do |
| 1526 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
| 1527 |
done |
| 1528 |
ac_signal=0 |
| 1529 |
|
| 1530 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
| 1531 |
rm -f -r conftest* confdefs.h |
| 1532 |
|
| 1533 |
$as_echo "/* confdefs.h */" > confdefs.h |
| 1534 |
|
| 1535 |
# Predefined preprocessor variables. |
| 1536 |
|
| 1537 |
cat >>confdefs.h <<_ACEOF |
| 1538 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
| 1539 |
_ACEOF |
| 1540 |
|
| 1541 |
cat >>confdefs.h <<_ACEOF |
| 1542 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
| 1543 |
_ACEOF |
| 1544 |
|
| 1545 |
cat >>confdefs.h <<_ACEOF |
| 1546 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
| 1547 |
_ACEOF |
| 1548 |
|
| 1549 |
cat >>confdefs.h <<_ACEOF |
| 1550 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
| 1551 |
_ACEOF |
| 1552 |
|
| 1553 |
cat >>confdefs.h <<_ACEOF |
| 1554 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
| 1555 |
_ACEOF |
| 1556 |
|
| 1557 |
cat >>confdefs.h <<_ACEOF |
| 1558 |
#define PACKAGE_URL "$PACKAGE_URL" |
| 1559 |
_ACEOF |
| 1560 |
|
| 1561 |
|
| 1562 |
# Let the site file select an alternate cache file if it wants to. |
| 1563 |
# Prefer an explicitly selected file to automatically selected ones. |
| 1564 |
ac_site_file1=NONE |
| 1565 |
ac_site_file2=NONE |
| 1566 |
if test -n "$CONFIG_SITE"; then |
| 1567 |
# We do not want a PATH search for config.site. |
| 1568 |
case $CONFIG_SITE in #(( |
| 1569 |
-*) ac_site_file1=./$CONFIG_SITE;; |
| 1570 |
*/*) ac_site_file1=$CONFIG_SITE;; |
| 1571 |
*) ac_site_file1=./$CONFIG_SITE;; |
| 1572 |
esac |
| 1573 |
elif test "x$prefix" != xNONE; then |
| 1574 |
ac_site_file1=$prefix/share/config.site |
| 1575 |
ac_site_file2=$prefix/etc/config.site |
| 1576 |
else |
| 1577 |
ac_site_file1=$ac_default_prefix/share/config.site |
| 1578 |
ac_site_file2=$ac_default_prefix/etc/config.site |
| 1579 |
fi |
| 1580 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
| 1581 |
do |
| 1582 |
test "x$ac_site_file" = xNONE && continue |
| 1583 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
| 1584 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
| 1585 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
| 1586 |
sed 's/^/| /' "$ac_site_file" >&5 |
| 1587 |
. "$ac_site_file" \ |
| 1588 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 1589 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 1590 |
as_fn_error $? "failed to load site script $ac_site_file |
| 1591 |
See \`config.log' for more details" "$LINENO" 5; } |
| 1592 |
fi |
| 1593 |
done |
| 1594 |
|
| 1595 |
if test -r "$cache_file"; then |
| 1596 |
# Some versions of bash will fail to source /dev/null (special files |
| 1597 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
| 1598 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
| 1599 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
| 1600 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
| 1601 |
case $cache_file in |
| 1602 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
| 1603 |
*) . "./$cache_file";; |
| 1604 |
esac |
| 1605 |
fi |
| 1606 |
else |
| 1607 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
| 1608 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
| 1609 |
>$cache_file |
| 1610 |
fi |
| 1611 |
|
| 1612 |
# Check that the precious variables saved in the cache have kept the same |
| 1613 |
# value. |
| 1614 |
ac_cache_corrupted=false |
| 1615 |
for ac_var in $ac_precious_vars; do |
| 1616 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
| 1617 |
eval ac_new_set=\$ac_env_${ac_var}_set |
| 1618 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
| 1619 |
eval ac_new_val=\$ac_env_${ac_var}_value |
| 1620 |
case $ac_old_set,$ac_new_set in |
| 1621 |
set,) |
| 1622 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
| 1623 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
| 1624 |
ac_cache_corrupted=: ;; |
| 1625 |
,set) |
| 1626 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
| 1627 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
| 1628 |
ac_cache_corrupted=: ;; |
| 1629 |
,);; |
| 1630 |
*) |
| 1631 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
| 1632 |
# differences in whitespace do not lead to failure. |
| 1633 |
ac_old_val_w=`echo x $ac_old_val` |
| 1634 |
ac_new_val_w=`echo x $ac_new_val` |
| 1635 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
| 1636 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
| 1637 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
| 1638 |
ac_cache_corrupted=: |
| 1639 |
else |
| 1640 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
| 1641 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
| 1642 |
eval $ac_var=\$ac_old_val |
| 1643 |
fi |
| 1644 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
| 1645 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
| 1646 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
| 1647 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
| 1648 |
fi;; |
| 1649 |
esac |
| 1650 |
# Pass precious variables to config.status. |
| 1651 |
if test "$ac_new_set" = set; then |
| 1652 |
case $ac_new_val in |
| 1653 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 1654 |
*) ac_arg=$ac_var=$ac_new_val ;; |
| 1655 |
esac |
| 1656 |
case " $ac_configure_args " in |
| 1657 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
| 1658 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
| 1659 |
esac |
| 1660 |
fi |
| 1661 |
done |
| 1662 |
if $ac_cache_corrupted; then |
| 1663 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
| 1664 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
| 1665 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
| 1666 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
| 1667 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
| 1668 |
fi |
| 1669 |
## -------------------- ## |
| 1670 |
## Main body of script. ## |
| 1671 |
## -------------------- ## |
| 1672 |
|
| 1673 |
ac_ext=c |
| 1674 |
ac_cpp='$CPP $CPPFLAGS' |
| 1675 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| 1676 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| 1677 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| 1678 |
|
| 1679 |
|
| 1680 |
|
| 1681 |
|
| 1682 |
|
| 1683 |
ac_aux_dir= |
| 1684 |
for ac_dir in . "$srcdir"/.; do |
| 1685 |
if test -f "$ac_dir/install-sh"; then |
| 1686 |
ac_aux_dir=$ac_dir |
| 1687 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
| 1688 |
break |
| 1689 |
elif test -f "$ac_dir/install.sh"; then |
| 1690 |
ac_aux_dir=$ac_dir |
| 1691 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
| 1692 |
break |
| 1693 |
elif test -f "$ac_dir/shtool"; then |
| 1694 |
ac_aux_dir=$ac_dir |
| 1695 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
| 1696 |
break |
| 1697 |
fi |
| 1698 |
done |
| 1699 |
if test -z "$ac_aux_dir"; then |
| 1700 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 |
| 1701 |
fi |
| 1702 |
|
| 1703 |
# These three variables are undocumented and unsupported, |
| 1704 |
# and are intended to be withdrawn in a future Autoconf release. |
| 1705 |
# They can cause serious problems if a builder's source tree is in a directory |
| 1706 |
# whose full name contains unusual characters. |
| 1707 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
| 1708 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
| 1709 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
| 1710 |
|
| 1711 |
|
| 1712 |
am__api_version='1.16' |
| 1713 |
|
| 1714 |
# Find a good install program. We prefer a C program (faster), |
| 1715 |
# so one script is as good as another. But avoid the broken or |
| 1716 |
# incompatible versions: |
| 1717 |
# SysV /etc/install, /usr/sbin/install |
| 1718 |
# SunOS /usr/etc/install |
| 1719 |
# IRIX /sbin/install |
| 1720 |
# AIX /bin/install |
| 1721 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
| 1722 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 1723 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 1724 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 1725 |
# OS/2's system install, which has a completely different semantic |
| 1726 |
# ./install, which can be erroneously created by make from ./install.sh. |
| 1727 |
# Reject install programs that cannot install multiple files. |
| 1728 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
| 1729 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
| 1730 |
if test -z "$INSTALL"; then |
| 1731 |
if ${ac_cv_path_install+:} false; then : |
| 1732 |
$as_echo_n "(cached) " >&6 |
| 1733 |
else |
| 1734 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1735 |
for as_dir in $PATH |
| 1736 |
do |
| 1737 |
IFS=$as_save_IFS |
| 1738 |
test -z "$as_dir" && as_dir=. |
| 1739 |
# Account for people who put trailing slashes in PATH elements. |
| 1740 |
case $as_dir/ in #(( |
| 1741 |
./ | .// | /[cC]/* | \ |
| 1742 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
| 1743 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
| 1744 |
/usr/ucb/* ) ;; |
| 1745 |
*) |
| 1746 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
| 1747 |
# Don't use installbsd from OSF since it installs stuff as root |
| 1748 |
# by default. |
| 1749 |
for ac_prog in ginstall scoinst install; do |
| 1750 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1751 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
| 1752 |
if test $ac_prog = install && |
| 1753 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 1754 |
# AIX install. It has an incompatible calling convention. |
| 1755 |
: |
| 1756 |
elif test $ac_prog = install && |
| 1757 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
| 1758 |
# program-specific install script used by HP pwplus--don't use. |
| 1759 |
: |
| 1760 |
else |
| 1761 |
rm -rf conftest.one conftest.two conftest.dir |
| 1762 |
echo one > conftest.one |
| 1763 |
echo two > conftest.two |
| 1764 |
mkdir conftest.dir |
| 1765 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
| 1766 |
test -s conftest.one && test -s conftest.two && |
| 1767 |
test -s conftest.dir/conftest.one && |
| 1768 |
test -s conftest.dir/conftest.two |
| 1769 |
then |
| 1770 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
| 1771 |
break 3 |
| 1772 |
fi |
| 1773 |
fi |
| 1774 |
fi |
| 1775 |
done |
| 1776 |
done |
| 1777 |
;; |
| 1778 |
esac |
| 1779 |
|
| 1780 |
done |
| 1781 |
IFS=$as_save_IFS |
| 1782 |
|
| 1783 |
rm -rf conftest.one conftest.two conftest.dir |
| 1784 |
|
| 1785 |
fi |
| 1786 |
if test "${ac_cv_path_install+set}" = set; then |
| 1787 |
INSTALL=$ac_cv_path_install |
| 1788 |
else |
| 1789 |
# As a last resort, use the slow shell script. Don't cache a |
| 1790 |
# value for INSTALL within a source directory, because that will |
| 1791 |
# break other packages using the cache if that directory is |
| 1792 |
# removed, or if the value is a relative name. |
| 1793 |
INSTALL=$ac_install_sh |
| 1794 |
fi |
| 1795 |
fi |
| 1796 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
| 1797 |
$as_echo "$INSTALL" >&6; } |
| 1798 |
|
| 1799 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
| 1800 |
# It thinks the first close brace ends the variable substitution. |
| 1801 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
| 1802 |
|
| 1803 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
| 1804 |
|
| 1805 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 1806 |
|
| 1807 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
| 1808 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
| 1809 |
# Reject unsafe characters in $srcdir or the absolute working directory |
| 1810 |
# name. Accept space and tab only in the latter. |
| 1811 |
am_lf=' |
| 1812 |
' |
| 1813 |
case `pwd` in |
| 1814 |
*[\\\"\#\$\&\'\`$am_lf]*) |
| 1815 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
| 1816 |
esac |
| 1817 |
case $srcdir in |
| 1818 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
| 1819 |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
| 1820 |
esac |
| 1821 |
|
| 1822 |
# Do 'set' in a subshell so we don't clobber the current shell's |
| 1823 |
# arguments. Must try -L first in case configure is actually a |
| 1824 |
# symlink; some systems play weird games with the mod time of symlinks |
| 1825 |
# (eg FreeBSD returns the mod time of the symlink's containing |
| 1826 |
# directory). |
| 1827 |
if ( |
| 1828 |
am_has_slept=no |
| 1829 |
for am_try in 1 2; do |
| 1830 |
echo "timestamp, slept: $am_has_slept" > conftest.file |
| 1831 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
| 1832 |
if test "$*" = "X"; then |
| 1833 |
# -L didn't work. |
| 1834 |
set X `ls -t "$srcdir/configure" conftest.file` |
| 1835 |
fi |
| 1836 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
| 1837 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
| 1838 |
|
| 1839 |
# If neither matched, then we have a broken ls. This can happen |
| 1840 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
| 1841 |
# broken ls alias from the environment. This has actually |
| 1842 |
# happened. Such a system could not be considered "sane". |
| 1843 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
| 1844 |
alias in your environment" "$LINENO" 5 |
| 1845 |
fi |
| 1846 |
if test "$2" = conftest.file || test $am_try -eq 2; then |
| 1847 |
break |
| 1848 |
fi |
| 1849 |
# Just in case. |
| 1850 |
sleep 1 |
| 1851 |
am_has_slept=yes |
| 1852 |
done |
| 1853 |
test "$2" = conftest.file |
| 1854 |
) |
| 1855 |
then |
| 1856 |
# Ok. |
| 1857 |
: |
| 1858 |
else |
| 1859 |
as_fn_error $? "newly created file is older than distributed files! |
| 1860 |
Check your system clock" "$LINENO" 5 |
| 1861 |
fi |
| 1862 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 1863 |
$as_echo "yes" >&6; } |
| 1864 |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
| 1865 |
# generated files are strictly newer. |
| 1866 |
am_sleep_pid= |
| 1867 |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
| 1868 |
( sleep 1 ) & |
| 1869 |
am_sleep_pid=$! |
| 1870 |
fi |
| 1871 |
|
| 1872 |
rm -f conftest.file |
| 1873 |
|
| 1874 |
|
| 1875 |
# Expand $ac_aux_dir to an absolute path. |
| 1876 |
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
| 1877 |
|
| 1878 |
if test x"${MISSING+set}" != xset; then |
| 1879 |
case $am_aux_dir in |
| 1880 |
*\ * | *\ *) |
| 1881 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
| 1882 |
*) |
| 1883 |
MISSING="\${SHELL} $am_aux_dir/missing" ;; |
| 1884 |
esac |
| 1885 |
fi |
| 1886 |
# Use eval to expand $SHELL |
| 1887 |
if eval "$MISSING --is-lightweight"; then |
| 1888 |
am_missing_run="$MISSING " |
| 1889 |
else |
| 1890 |
am_missing_run= |
| 1891 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
| 1892 |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
| 1893 |
fi |
| 1894 |
|
| 1895 |
if test x"${install_sh+set}" != xset; then |
| 1896 |
case $am_aux_dir in |
| 1897 |
*\ * | *\ *) |
| 1898 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
| 1899 |
*) |
| 1900 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
| 1901 |
esac |
| 1902 |
fi |
| 1903 |
|
| 1904 |
# Installed binaries are usually stripped using 'strip' when the user |
| 1905 |
# run "make install-strip". However 'strip' might not be the right |
| 1906 |
# tool to use in cross-compilation environments, therefore Automake |
| 1907 |
# will honor the 'STRIP' environment variable to overrule this program. |
| 1908 |
if test "$cross_compiling" != no; then |
| 1909 |
if test -n "$ac_tool_prefix"; then |
| 1910 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
| 1911 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
| 1912 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 1913 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 1914 |
if ${ac_cv_prog_STRIP+:} false; then : |
| 1915 |
$as_echo_n "(cached) " >&6 |
| 1916 |
else |
| 1917 |
if test -n "$STRIP"; then |
| 1918 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
| 1919 |
else |
| 1920 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1921 |
for as_dir in $PATH |
| 1922 |
do |
| 1923 |
IFS=$as_save_IFS |
| 1924 |
test -z "$as_dir" && as_dir=. |
| 1925 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1926 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1927 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
| 1928 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1929 |
break 2 |
| 1930 |
fi |
| 1931 |
done |
| 1932 |
done |
| 1933 |
IFS=$as_save_IFS |
| 1934 |
|
| 1935 |
fi |
| 1936 |
fi |
| 1937 |
STRIP=$ac_cv_prog_STRIP |
| 1938 |
if test -n "$STRIP"; then |
| 1939 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
| 1940 |
$as_echo "$STRIP" >&6; } |
| 1941 |
else |
| 1942 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 1943 |
$as_echo "no" >&6; } |
| 1944 |
fi |
| 1945 |
|
| 1946 |
|
| 1947 |
fi |
| 1948 |
if test -z "$ac_cv_prog_STRIP"; then |
| 1949 |
ac_ct_STRIP=$STRIP |
| 1950 |
# Extract the first word of "strip", so it can be a program name with args. |
| 1951 |
set dummy strip; ac_word=$2 |
| 1952 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 1953 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 1954 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
| 1955 |
$as_echo_n "(cached) " >&6 |
| 1956 |
else |
| 1957 |
if test -n "$ac_ct_STRIP"; then |
| 1958 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
| 1959 |
else |
| 1960 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 1961 |
for as_dir in $PATH |
| 1962 |
do |
| 1963 |
IFS=$as_save_IFS |
| 1964 |
test -z "$as_dir" && as_dir=. |
| 1965 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 1966 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 1967 |
ac_cv_prog_ac_ct_STRIP="strip" |
| 1968 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 1969 |
break 2 |
| 1970 |
fi |
| 1971 |
done |
| 1972 |
done |
| 1973 |
IFS=$as_save_IFS |
| 1974 |
|
| 1975 |
fi |
| 1976 |
fi |
| 1977 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
| 1978 |
if test -n "$ac_ct_STRIP"; then |
| 1979 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
| 1980 |
$as_echo "$ac_ct_STRIP" >&6; } |
| 1981 |
else |
| 1982 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 1983 |
$as_echo "no" >&6; } |
| 1984 |
fi |
| 1985 |
|
| 1986 |
if test "x$ac_ct_STRIP" = x; then |
| 1987 |
STRIP=":" |
| 1988 |
else |
| 1989 |
case $cross_compiling:$ac_tool_warned in |
| 1990 |
yes:) |
| 1991 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| 1992 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| 1993 |
ac_tool_warned=yes ;; |
| 1994 |
esac |
| 1995 |
STRIP=$ac_ct_STRIP |
| 1996 |
fi |
| 1997 |
else |
| 1998 |
STRIP="$ac_cv_prog_STRIP" |
| 1999 |
fi |
| 2000 |
|
| 2001 |
fi |
| 2002 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
| 2003 |
|
| 2004 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
| 2005 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
| 2006 |
if test -z "$MKDIR_P"; then |
| 2007 |
if ${ac_cv_path_mkdir+:} false; then : |
| 2008 |
$as_echo_n "(cached) " >&6 |
| 2009 |
else |
| 2010 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2011 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
| 2012 |
do |
| 2013 |
IFS=$as_save_IFS |
| 2014 |
test -z "$as_dir" && as_dir=. |
| 2015 |
for ac_prog in mkdir gmkdir; do |
| 2016 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2017 |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
| 2018 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
| 2019 |
'mkdir (GNU coreutils) '* | \ |
| 2020 |
'mkdir (coreutils) '* | \ |
| 2021 |
'mkdir (fileutils) '4.1*) |
| 2022 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
| 2023 |
break 3;; |
| 2024 |
esac |
| 2025 |
done |
| 2026 |
done |
| 2027 |
done |
| 2028 |
IFS=$as_save_IFS |
| 2029 |
|
| 2030 |
fi |
| 2031 |
|
| 2032 |
test -d ./--version && rmdir ./--version |
| 2033 |
if test "${ac_cv_path_mkdir+set}" = set; then |
| 2034 |
MKDIR_P="$ac_cv_path_mkdir -p" |
| 2035 |
else |
| 2036 |
# As a last resort, use the slow shell script. Don't cache a |
| 2037 |
# value for MKDIR_P within a source directory, because that will |
| 2038 |
# break other packages using the cache if that directory is |
| 2039 |
# removed, or if the value is a relative name. |
| 2040 |
MKDIR_P="$ac_install_sh -d" |
| 2041 |
fi |
| 2042 |
fi |
| 2043 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
| 2044 |
$as_echo "$MKDIR_P" >&6; } |
| 2045 |
|
| 2046 |
for ac_prog in gawk mawk nawk awk |
| 2047 |
do |
| 2048 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2049 |
set dummy $ac_prog; ac_word=$2 |
| 2050 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2051 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2052 |
if ${ac_cv_prog_AWK+:} false; then : |
| 2053 |
$as_echo_n "(cached) " >&6 |
| 2054 |
else |
| 2055 |
if test -n "$AWK"; then |
| 2056 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 2057 |
else |
| 2058 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2059 |
for as_dir in $PATH |
| 2060 |
do |
| 2061 |
IFS=$as_save_IFS |
| 2062 |
test -z "$as_dir" && as_dir=. |
| 2063 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2064 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2065 |
ac_cv_prog_AWK="$ac_prog" |
| 2066 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2067 |
break 2 |
| 2068 |
fi |
| 2069 |
done |
| 2070 |
done |
| 2071 |
IFS=$as_save_IFS |
| 2072 |
|
| 2073 |
fi |
| 2074 |
fi |
| 2075 |
AWK=$ac_cv_prog_AWK |
| 2076 |
if test -n "$AWK"; then |
| 2077 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 2078 |
$as_echo "$AWK" >&6; } |
| 2079 |
else |
| 2080 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2081 |
$as_echo "no" >&6; } |
| 2082 |
fi |
| 2083 |
|
| 2084 |
|
| 2085 |
test -n "$AWK" && break |
| 2086 |
done |
| 2087 |
|
| 2088 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 2089 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 2090 |
set x ${MAKE-make} |
| 2091 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 2092 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 2093 |
$as_echo_n "(cached) " >&6 |
| 2094 |
else |
| 2095 |
cat >conftest.make <<\_ACEOF |
| 2096 |
SHELL = /bin/sh |
| 2097 |
all: |
| 2098 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 2099 |
_ACEOF |
| 2100 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 2101 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 2102 |
*@@@%%%=?*=@@@%%%*) |
| 2103 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 2104 |
*) |
| 2105 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
| 2106 |
esac |
| 2107 |
rm -f conftest.make |
| 2108 |
fi |
| 2109 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 2110 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2111 |
$as_echo "yes" >&6; } |
| 2112 |
SET_MAKE= |
| 2113 |
else |
| 2114 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2115 |
$as_echo "no" >&6; } |
| 2116 |
SET_MAKE="MAKE=${MAKE-make}" |
| 2117 |
fi |
| 2118 |
|
| 2119 |
rm -rf .tst 2>/dev/null |
| 2120 |
mkdir .tst 2>/dev/null |
| 2121 |
if test -d .tst; then |
| 2122 |
am__leading_dot=. |
| 2123 |
else |
| 2124 |
am__leading_dot=_ |
| 2125 |
fi |
| 2126 |
rmdir .tst 2>/dev/null |
| 2127 |
|
| 2128 |
# Check whether --enable-silent-rules was given. |
| 2129 |
if test "${enable_silent_rules+set}" = set; then : |
| 2130 |
enableval=$enable_silent_rules; |
| 2131 |
fi |
| 2132 |
|
| 2133 |
case $enable_silent_rules in # ((( |
| 2134 |
yes) AM_DEFAULT_VERBOSITY=0;; |
| 2135 |
no) AM_DEFAULT_VERBOSITY=1;; |
| 2136 |
*) AM_DEFAULT_VERBOSITY=1;; |
| 2137 |
esac |
| 2138 |
am_make=${MAKE-make} |
| 2139 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 2140 |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 2141 |
if ${am_cv_make_support_nested_variables+:} false; then : |
| 2142 |
$as_echo_n "(cached) " >&6 |
| 2143 |
else |
| 2144 |
if $as_echo 'TRUE=$(BAR$(V)) |
| 2145 |
BAR0=false |
| 2146 |
BAR1=true |
| 2147 |
V=1 |
| 2148 |
am__doit: |
| 2149 |
@$(TRUE) |
| 2150 |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 2151 |
am_cv_make_support_nested_variables=yes |
| 2152 |
else |
| 2153 |
am_cv_make_support_nested_variables=no |
| 2154 |
fi |
| 2155 |
fi |
| 2156 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 2157 |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 2158 |
if test $am_cv_make_support_nested_variables = yes; then |
| 2159 |
AM_V='$(V)' |
| 2160 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 2161 |
else |
| 2162 |
AM_V=$AM_DEFAULT_VERBOSITY |
| 2163 |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 2164 |
fi |
| 2165 |
AM_BACKSLASH='\' |
| 2166 |
|
| 2167 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
| 2168 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
| 2169 |
# is not polluted with repeated "-I." |
| 2170 |
am__isrc=' -I$(srcdir)' |
| 2171 |
# test to see if srcdir already configured |
| 2172 |
if test -f $srcdir/config.status; then |
| 2173 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
| 2174 |
fi |
| 2175 |
fi |
| 2176 |
|
| 2177 |
# test whether we have cygpath |
| 2178 |
if test -z "$CYGPATH_W"; then |
| 2179 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
| 2180 |
CYGPATH_W='cygpath -w' |
| 2181 |
else |
| 2182 |
CYGPATH_W=echo |
| 2183 |
fi |
| 2184 |
fi |
| 2185 |
|
| 2186 |
|
| 2187 |
# Define the identity of the package. |
| 2188 |
PACKAGE='ocr' |
| 2189 |
VERSION='0.3.1' |
| 2190 |
|
| 2191 |
|
| 2192 |
cat >>confdefs.h <<_ACEOF |
| 2193 |
#define PACKAGE "$PACKAGE" |
| 2194 |
_ACEOF |
| 2195 |
|
| 2196 |
|
| 2197 |
cat >>confdefs.h <<_ACEOF |
| 2198 |
#define VERSION "$VERSION" |
| 2199 |
_ACEOF |
| 2200 |
|
| 2201 |
# Some tools Automake needs. |
| 2202 |
|
| 2203 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
| 2204 |
|
| 2205 |
|
| 2206 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
| 2207 |
|
| 2208 |
|
| 2209 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
| 2210 |
|
| 2211 |
|
| 2212 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
| 2213 |
|
| 2214 |
|
| 2215 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
| 2216 |
|
| 2217 |
# For better backward compatibility. To be removed once Automake 1.9.x |
| 2218 |
# dies out for good. For more background, see: |
| 2219 |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
| 2220 |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
| 2221 |
mkdir_p='$(MKDIR_P)' |
| 2222 |
|
| 2223 |
# We need awk for the "check" target (and possibly the TAP driver). The |
| 2224 |
# system "awk" is bad on some platforms. |
| 2225 |
# Always define AMTAR for backward compatibility. Yes, it's still used |
| 2226 |
# in the wild :-( We should find a proper way to deprecate it ... |
| 2227 |
AMTAR='$${TAR-tar}' |
| 2228 |
|
| 2229 |
|
| 2230 |
# We'll loop over all known methods to create a tar archive until one works. |
| 2231 |
_am_tools='gnutar pax cpio none' |
| 2232 |
|
| 2233 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
| 2234 |
|
| 2235 |
|
| 2236 |
|
| 2237 |
|
| 2238 |
|
| 2239 |
|
| 2240 |
# POSIX will say in a future version that running "rm -f" with no argument |
| 2241 |
# is OK; and we want to be able to make that assumption in our Makefile |
| 2242 |
# recipes. So use an aggressive probe to check that the usage we want is |
| 2243 |
# actually supported "in the wild" to an acceptable degree. |
| 2244 |
# See automake bug#10828. |
| 2245 |
# To make any issue more visible, cause the running configure to be aborted |
| 2246 |
# by default if the 'rm' program in use doesn't match our expectations; the |
| 2247 |
# user can still override this though. |
| 2248 |
if rm -f && rm -fr && rm -rf; then : OK; else |
| 2249 |
cat >&2 <<'END' |
| 2250 |
Oops! |
| 2251 |
|
| 2252 |
Your 'rm' program seems unable to run without file operands specified |
| 2253 |
on the command line, even when the '-f' option is present. This is contrary |
| 2254 |
to the behaviour of most rm programs out there, and not conforming with |
| 2255 |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
| 2256 |
|
| 2257 |
Please tell [email protected] about your system, including the value |
| 2258 |
of your $PATH and any error possibly output before this message. This |
| 2259 |
can help us improve future automake versions. |
| 2260 |
|
| 2261 |
END |
| 2262 |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
| 2263 |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
| 2264 |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
| 2265 |
echo >&2 |
| 2266 |
else |
| 2267 |
cat >&2 <<'END' |
| 2268 |
Aborting the configuration process, to ensure you take notice of the issue. |
| 2269 |
|
| 2270 |
You can download and install GNU coreutils to get an 'rm' implementation |
| 2271 |
that behaves properly: <https://www.gnu.org/software/coreutils/>. |
| 2272 |
|
| 2273 |
If you want to complete the configuration process using your problematic |
| 2274 |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
| 2275 |
to "yes", and re-run configure. |
| 2276 |
|
| 2277 |
END |
| 2278 |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
| 2279 |
fi |
| 2280 |
fi |
| 2281 |
|
| 2282 |
|
| 2283 |
|
| 2284 |
|
| 2285 |
|
| 2286 |
release_date="March 28, 2021" |
| 2287 |
|
| 2288 |
# this must be early so it will happen before depfiles |
| 2289 |
|
| 2290 |
ac_config_commands="$ac_config_commands fix-makefile" |
| 2291 |
|
| 2292 |
|
| 2293 |
# Check whether --enable-silent-rules was given. |
| 2294 |
if test "${enable_silent_rules+set}" = set; then : |
| 2295 |
enableval=$enable_silent_rules; |
| 2296 |
fi |
| 2297 |
|
| 2298 |
case $enable_silent_rules in # ((( |
| 2299 |
yes) AM_DEFAULT_VERBOSITY=0;; |
| 2300 |
no) AM_DEFAULT_VERBOSITY=1;; |
| 2301 |
*) AM_DEFAULT_VERBOSITY=1;; |
| 2302 |
esac |
| 2303 |
am_make=${MAKE-make} |
| 2304 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| 2305 |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| 2306 |
if ${am_cv_make_support_nested_variables+:} false; then : |
| 2307 |
$as_echo_n "(cached) " >&6 |
| 2308 |
else |
| 2309 |
if $as_echo 'TRUE=$(BAR$(V)) |
| 2310 |
BAR0=false |
| 2311 |
BAR1=true |
| 2312 |
V=1 |
| 2313 |
am__doit: |
| 2314 |
@$(TRUE) |
| 2315 |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| 2316 |
am_cv_make_support_nested_variables=yes |
| 2317 |
else |
| 2318 |
am_cv_make_support_nested_variables=no |
| 2319 |
fi |
| 2320 |
fi |
| 2321 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
| 2322 |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
| 2323 |
if test $am_cv_make_support_nested_variables = yes; then |
| 2324 |
AM_V='$(V)' |
| 2325 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
| 2326 |
else |
| 2327 |
AM_V=$AM_DEFAULT_VERBOSITY |
| 2328 |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
| 2329 |
fi |
| 2330 |
AM_BACKSLASH='\' |
| 2331 |
|
| 2332 |
# |
| 2333 |
############################################################################ |
| 2334 |
# |
| 2335 |
# Checks for programs. |
| 2336 |
# |
| 2337 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
| 2338 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
| 2339 |
if ${ac_cv_path_GREP+:} false; then : |
| 2340 |
$as_echo_n "(cached) " >&6 |
| 2341 |
else |
| 2342 |
if test -z "$GREP"; then |
| 2343 |
ac_path_GREP_found=false |
| 2344 |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 2345 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2346 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 2347 |
do |
| 2348 |
IFS=$as_save_IFS |
| 2349 |
test -z "$as_dir" && as_dir=. |
| 2350 |
for ac_prog in grep ggrep; do |
| 2351 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2352 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
| 2353 |
as_fn_executable_p "$ac_path_GREP" || continue |
| 2354 |
# Check for GNU ac_path_GREP and select it if it is found. |
| 2355 |
# Check for GNU $ac_path_GREP |
| 2356 |
case `"$ac_path_GREP" --version 2>&1` in |
| 2357 |
*GNU*) |
| 2358 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
| 2359 |
*) |
| 2360 |
ac_count=0 |
| 2361 |
$as_echo_n 0123456789 >"conftest.in" |
| 2362 |
while : |
| 2363 |
do |
| 2364 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 2365 |
mv "conftest.tmp" "conftest.in" |
| 2366 |
cp "conftest.in" "conftest.nl" |
| 2367 |
$as_echo 'GREP' >> "conftest.nl" |
| 2368 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 2369 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 2370 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 2371 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
| 2372 |
# Best one so far, save it but keep looking for a better one |
| 2373 |
ac_cv_path_GREP="$ac_path_GREP" |
| 2374 |
ac_path_GREP_max=$ac_count |
| 2375 |
fi |
| 2376 |
# 10*(2^10) chars as input seems more than enough |
| 2377 |
test $ac_count -gt 10 && break |
| 2378 |
done |
| 2379 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 2380 |
esac |
| 2381 |
|
| 2382 |
$ac_path_GREP_found && break 3 |
| 2383 |
done |
| 2384 |
done |
| 2385 |
done |
| 2386 |
IFS=$as_save_IFS |
| 2387 |
if test -z "$ac_cv_path_GREP"; then |
| 2388 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 2389 |
fi |
| 2390 |
else |
| 2391 |
ac_cv_path_GREP=$GREP |
| 2392 |
fi |
| 2393 |
|
| 2394 |
fi |
| 2395 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
| 2396 |
$as_echo "$ac_cv_path_GREP" >&6; } |
| 2397 |
GREP="$ac_cv_path_GREP" |
| 2398 |
|
| 2399 |
|
| 2400 |
|
| 2401 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
| 2402 |
$as_echo_n "checking whether ln -s works... " >&6; } |
| 2403 |
LN_S=$as_ln_s |
| 2404 |
if test "$LN_S" = "ln -s"; then |
| 2405 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2406 |
$as_echo "yes" >&6; } |
| 2407 |
else |
| 2408 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
| 2409 |
$as_echo "no, using $LN_S" >&6; } |
| 2410 |
fi |
| 2411 |
|
| 2412 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
| 2413 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
| 2414 |
set x ${MAKE-make} |
| 2415 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
| 2416 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
| 2417 |
$as_echo_n "(cached) " >&6 |
| 2418 |
else |
| 2419 |
cat >conftest.make <<\_ACEOF |
| 2420 |
SHELL = /bin/sh |
| 2421 |
all: |
| 2422 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
| 2423 |
_ACEOF |
| 2424 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
| 2425 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
| 2426 |
*@@@%%%=?*=@@@%%%*) |
| 2427 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
| 2428 |
*) |
| 2429 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
| 2430 |
esac |
| 2431 |
rm -f conftest.make |
| 2432 |
fi |
| 2433 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
| 2434 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 2435 |
$as_echo "yes" >&6; } |
| 2436 |
SET_MAKE= |
| 2437 |
else |
| 2438 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2439 |
$as_echo "no" >&6; } |
| 2440 |
SET_MAKE="MAKE=${MAKE-make}" |
| 2441 |
fi |
| 2442 |
|
| 2443 |
|
| 2444 |
# Extract the first word of "autoconf", so it can be a program name with args. |
| 2445 |
set dummy autoconf; ac_word=$2 |
| 2446 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2447 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2448 |
if ${ac_cv_path_AUTOCONF+:} false; then : |
| 2449 |
$as_echo_n "(cached) " >&6 |
| 2450 |
else |
| 2451 |
case $AUTOCONF in |
| 2452 |
[\\/]* | ?:[\\/]*) |
| 2453 |
ac_cv_path_AUTOCONF="$AUTOCONF" # Let the user override the test with a path. |
| 2454 |
;; |
| 2455 |
*) |
| 2456 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2457 |
for as_dir in $PATH |
| 2458 |
do |
| 2459 |
IFS=$as_save_IFS |
| 2460 |
test -z "$as_dir" && as_dir=. |
| 2461 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2462 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2463 |
ac_cv_path_AUTOCONF="$as_dir/$ac_word$ac_exec_ext" |
| 2464 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2465 |
break 2 |
| 2466 |
fi |
| 2467 |
done |
| 2468 |
done |
| 2469 |
IFS=$as_save_IFS |
| 2470 |
|
| 2471 |
;; |
| 2472 |
esac |
| 2473 |
fi |
| 2474 |
AUTOCONF=$ac_cv_path_AUTOCONF |
| 2475 |
if test -n "$AUTOCONF"; then |
| 2476 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5 |
| 2477 |
$as_echo "$AUTOCONF" >&6; } |
| 2478 |
else |
| 2479 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2480 |
$as_echo "no" >&6; } |
| 2481 |
fi |
| 2482 |
|
| 2483 |
|
| 2484 |
# Extract the first word of "automake", so it can be a program name with args. |
| 2485 |
set dummy automake; ac_word=$2 |
| 2486 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2487 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2488 |
if ${ac_cv_path_AUTOMAKE+:} false; then : |
| 2489 |
$as_echo_n "(cached) " >&6 |
| 2490 |
else |
| 2491 |
case $AUTOMAKE in |
| 2492 |
[\\/]* | ?:[\\/]*) |
| 2493 |
ac_cv_path_AUTOMAKE="$AUTOMAKE" # Let the user override the test with a path. |
| 2494 |
;; |
| 2495 |
*) |
| 2496 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2497 |
for as_dir in $PATH |
| 2498 |
do |
| 2499 |
IFS=$as_save_IFS |
| 2500 |
test -z "$as_dir" && as_dir=. |
| 2501 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2502 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2503 |
ac_cv_path_AUTOMAKE="$as_dir/$ac_word$ac_exec_ext" |
| 2504 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2505 |
break 2 |
| 2506 |
fi |
| 2507 |
done |
| 2508 |
done |
| 2509 |
IFS=$as_save_IFS |
| 2510 |
|
| 2511 |
;; |
| 2512 |
esac |
| 2513 |
fi |
| 2514 |
AUTOMAKE=$ac_cv_path_AUTOMAKE |
| 2515 |
if test -n "$AUTOMAKE"; then |
| 2516 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOMAKE" >&5 |
| 2517 |
$as_echo "$AUTOMAKE" >&6; } |
| 2518 |
else |
| 2519 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2520 |
$as_echo "no" >&6; } |
| 2521 |
fi |
| 2522 |
|
| 2523 |
|
| 2524 |
|
| 2525 |
if test "x$EXPECT" = "x"; then : |
| 2526 |
# Extract the first word of "expect", so it can be a program name with args. |
| 2527 |
set dummy expect; ac_word=$2 |
| 2528 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2529 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2530 |
if ${ac_cv_path_EXPECT+:} false; then : |
| 2531 |
$as_echo_n "(cached) " >&6 |
| 2532 |
else |
| 2533 |
case $EXPECT in |
| 2534 |
[\\/]* | ?:[\\/]*) |
| 2535 |
ac_cv_path_EXPECT="$EXPECT" # Let the user override the test with a path. |
| 2536 |
;; |
| 2537 |
*) |
| 2538 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2539 |
for as_dir in $PATH |
| 2540 |
do |
| 2541 |
IFS=$as_save_IFS |
| 2542 |
test -z "$as_dir" && as_dir=. |
| 2543 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2544 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2545 |
ac_cv_path_EXPECT="$as_dir/$ac_word$ac_exec_ext" |
| 2546 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2547 |
break 2 |
| 2548 |
fi |
| 2549 |
done |
| 2550 |
done |
| 2551 |
IFS=$as_save_IFS |
| 2552 |
|
| 2553 |
;; |
| 2554 |
esac |
| 2555 |
fi |
| 2556 |
EXPECT=$ac_cv_path_EXPECT |
| 2557 |
if test -n "$EXPECT"; then |
| 2558 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5 |
| 2559 |
$as_echo "$EXPECT" >&6; } |
| 2560 |
else |
| 2561 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2562 |
$as_echo "no" >&6; } |
| 2563 |
fi |
| 2564 |
|
| 2565 |
|
| 2566 |
fi |
| 2567 |
if test '!' "x$EXPECT" = "x"; then |
| 2568 |
COND_EXPECT_TRUE= |
| 2569 |
COND_EXPECT_FALSE='#' |
| 2570 |
else |
| 2571 |
COND_EXPECT_TRUE='#' |
| 2572 |
COND_EXPECT_FALSE= |
| 2573 |
fi |
| 2574 |
|
| 2575 |
|
| 2576 |
if test "x$FONTANVIL" = "x"; then : |
| 2577 |
for ac_prog in fontanvil fontforge |
| 2578 |
do |
| 2579 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2580 |
set dummy $ac_prog; ac_word=$2 |
| 2581 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2582 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2583 |
if ${ac_cv_path_FONTANVIL+:} false; then : |
| 2584 |
$as_echo_n "(cached) " >&6 |
| 2585 |
else |
| 2586 |
case $FONTANVIL in |
| 2587 |
[\\/]* | ?:[\\/]*) |
| 2588 |
ac_cv_path_FONTANVIL="$FONTANVIL" # Let the user override the test with a path. |
| 2589 |
;; |
| 2590 |
*) |
| 2591 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2592 |
as_dummy="$PATH:$PWD/../fontanvil/fontanvil" |
| 2593 |
for as_dir in $as_dummy |
| 2594 |
do |
| 2595 |
IFS=$as_save_IFS |
| 2596 |
test -z "$as_dir" && as_dir=. |
| 2597 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2598 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2599 |
ac_cv_path_FONTANVIL="$as_dir/$ac_word$ac_exec_ext" |
| 2600 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2601 |
break 2 |
| 2602 |
fi |
| 2603 |
done |
| 2604 |
done |
| 2605 |
IFS=$as_save_IFS |
| 2606 |
|
| 2607 |
;; |
| 2608 |
esac |
| 2609 |
fi |
| 2610 |
FONTANVIL=$ac_cv_path_FONTANVIL |
| 2611 |
if test -n "$FONTANVIL"; then |
| 2612 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTANVIL" >&5 |
| 2613 |
$as_echo "$FONTANVIL" >&6; } |
| 2614 |
else |
| 2615 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2616 |
$as_echo "no" >&6; } |
| 2617 |
fi |
| 2618 |
|
| 2619 |
|
| 2620 |
test -n "$FONTANVIL" && break |
| 2621 |
done |
| 2622 |
|
| 2623 |
fi |
| 2624 |
for ac_prog in gawk mawk nawk awk |
| 2625 |
do |
| 2626 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
| 2627 |
set dummy $ac_prog; ac_word=$2 |
| 2628 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2629 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2630 |
if ${ac_cv_prog_AWK+:} false; then : |
| 2631 |
$as_echo_n "(cached) " >&6 |
| 2632 |
else |
| 2633 |
if test -n "$AWK"; then |
| 2634 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
| 2635 |
else |
| 2636 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2637 |
for as_dir in $PATH |
| 2638 |
do |
| 2639 |
IFS=$as_save_IFS |
| 2640 |
test -z "$as_dir" && as_dir=. |
| 2641 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2642 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2643 |
ac_cv_prog_AWK="$ac_prog" |
| 2644 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2645 |
break 2 |
| 2646 |
fi |
| 2647 |
done |
| 2648 |
done |
| 2649 |
IFS=$as_save_IFS |
| 2650 |
|
| 2651 |
fi |
| 2652 |
fi |
| 2653 |
AWK=$ac_cv_prog_AWK |
| 2654 |
if test -n "$AWK"; then |
| 2655 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
| 2656 |
$as_echo "$AWK" >&6; } |
| 2657 |
else |
| 2658 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2659 |
$as_echo "no" >&6; } |
| 2660 |
fi |
| 2661 |
|
| 2662 |
|
| 2663 |
test -n "$AWK" && break |
| 2664 |
done |
| 2665 |
|
| 2666 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5 |
| 2667 |
$as_echo_n "checking for GNU make... " >&6; } |
| 2668 |
if ${_cv_gnu_make_command+:} false; then : |
| 2669 |
$as_echo_n "(cached) " >&6 |
| 2670 |
else |
| 2671 |
_cv_gnu_make_command="" ; |
| 2672 |
for a in "$MAKE" make gmake gnumake ; do |
| 2673 |
if test -z "$a" ; then continue ; fi ; |
| 2674 |
if "$a" --version 2> /dev/null | grep GNU 2>&1 > /dev/null ; then |
| 2675 |
_cv_gnu_make_command=$a ; |
| 2676 |
AX_CHECK_GNU_MAKE_HEADLINE=$("$a" --version 2> /dev/null | grep "GNU Make") |
| 2677 |
ax_check_gnu_make_version=$(echo ${AX_CHECK_GNU_MAKE_HEADLINE} | ${AWK} -F " " '{ print $(NF); }') |
| 2678 |
break ; |
| 2679 |
fi |
| 2680 |
done ; |
| 2681 |
fi |
| 2682 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gnu_make_command" >&5 |
| 2683 |
$as_echo "$_cv_gnu_make_command" >&6; } |
| 2684 |
if test "x$_cv_gnu_make_command" = x""; then : |
| 2685 |
ifGNUmake="#" |
| 2686 |
else |
| 2687 |
ifGNUmake="" |
| 2688 |
fi |
| 2689 |
if test "x$_cv_gnu_make_command" = x""; then : |
| 2690 |
ifnGNUmake="" |
| 2691 |
else |
| 2692 |
ifGNUmake="#" |
| 2693 |
fi |
| 2694 |
if test "x$_cv_gnu_make_command" = x""; then : |
| 2695 |
{ ax_cv_gnu_make_command=; unset ax_cv_gnu_make_command;} |
| 2696 |
else |
| 2697 |
ax_cv_gnu_make_command=${_cv_gnu_make_command} |
| 2698 |
fi |
| 2699 |
if test "x$_cv_gnu_make_command" = x""; then : |
| 2700 |
|
| 2701 |
fi |
| 2702 |
|
| 2703 |
|
| 2704 |
|
| 2705 |
|
| 2706 |
if test "x$KLEKNEV" = "x"; then : |
| 2707 |
# Extract the first word of "kleknev", so it can be a program name with args. |
| 2708 |
set dummy kleknev; ac_word=$2 |
| 2709 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2710 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2711 |
if ${ac_cv_path_KLEKNEV+:} false; then : |
| 2712 |
$as_echo_n "(cached) " >&6 |
| 2713 |
else |
| 2714 |
case $KLEKNEV in |
| 2715 |
[\\/]* | ?:[\\/]*) |
| 2716 |
ac_cv_path_KLEKNEV="$KLEKNEV" # Let the user override the test with a path. |
| 2717 |
;; |
| 2718 |
*) |
| 2719 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2720 |
as_dummy="$PATH:$PWD/../kleknev" |
| 2721 |
for as_dir in $as_dummy |
| 2722 |
do |
| 2723 |
IFS=$as_save_IFS |
| 2724 |
test -z "$as_dir" && as_dir=. |
| 2725 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2726 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2727 |
ac_cv_path_KLEKNEV="$as_dir/$ac_word$ac_exec_ext" |
| 2728 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2729 |
break 2 |
| 2730 |
fi |
| 2731 |
done |
| 2732 |
done |
| 2733 |
IFS=$as_save_IFS |
| 2734 |
|
| 2735 |
test -z "$ac_cv_path_KLEKNEV" && ac_cv_path_KLEKNEV="/bin/sh" |
| 2736 |
;; |
| 2737 |
esac |
| 2738 |
fi |
| 2739 |
KLEKNEV=$ac_cv_path_KLEKNEV |
| 2740 |
if test -n "$KLEKNEV"; then |
| 2741 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $KLEKNEV" >&5 |
| 2742 |
$as_echo "$KLEKNEV" >&6; } |
| 2743 |
else |
| 2744 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2745 |
$as_echo "no" >&6; } |
| 2746 |
fi |
| 2747 |
|
| 2748 |
|
| 2749 |
fi |
| 2750 |
|
| 2751 |
if test "x$MPOST" = "x"; then : |
| 2752 |
# Extract the first word of "mpost", so it can be a program name with args. |
| 2753 |
set dummy mpost; ac_word=$2 |
| 2754 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2755 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2756 |
if ${ac_cv_path_MPOST+:} false; then : |
| 2757 |
$as_echo_n "(cached) " >&6 |
| 2758 |
else |
| 2759 |
case $MPOST in |
| 2760 |
[\\/]* | ?:[\\/]*) |
| 2761 |
ac_cv_path_MPOST="$MPOST" # Let the user override the test with a path. |
| 2762 |
;; |
| 2763 |
*) |
| 2764 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2765 |
for as_dir in $PATH |
| 2766 |
do |
| 2767 |
IFS=$as_save_IFS |
| 2768 |
test -z "$as_dir" && as_dir=. |
| 2769 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2770 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2771 |
ac_cv_path_MPOST="$as_dir/$ac_word$ac_exec_ext" |
| 2772 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2773 |
break 2 |
| 2774 |
fi |
| 2775 |
done |
| 2776 |
done |
| 2777 |
IFS=$as_save_IFS |
| 2778 |
|
| 2779 |
;; |
| 2780 |
esac |
| 2781 |
fi |
| 2782 |
MPOST=$ac_cv_path_MPOST |
| 2783 |
if test -n "$MPOST"; then |
| 2784 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPOST" >&5 |
| 2785 |
$as_echo "$MPOST" >&6; } |
| 2786 |
else |
| 2787 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2788 |
$as_echo "no" >&6; } |
| 2789 |
fi |
| 2790 |
|
| 2791 |
|
| 2792 |
fi |
| 2793 |
|
| 2794 |
if test "x$PERL" = "x"; then : |
| 2795 |
# Extract the first word of "perl", so it can be a program name with args. |
| 2796 |
set dummy perl; ac_word=$2 |
| 2797 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2798 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2799 |
if ${ac_cv_path_PERL+:} false; then : |
| 2800 |
$as_echo_n "(cached) " >&6 |
| 2801 |
else |
| 2802 |
case $PERL in |
| 2803 |
[\\/]* | ?:[\\/]*) |
| 2804 |
ac_cv_path_PERL="$PERL" # Let the user override the test with a path. |
| 2805 |
;; |
| 2806 |
*) |
| 2807 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2808 |
for as_dir in $PATH |
| 2809 |
do |
| 2810 |
IFS=$as_save_IFS |
| 2811 |
test -z "$as_dir" && as_dir=. |
| 2812 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2813 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2814 |
ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" |
| 2815 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2816 |
break 2 |
| 2817 |
fi |
| 2818 |
done |
| 2819 |
done |
| 2820 |
IFS=$as_save_IFS |
| 2821 |
|
| 2822 |
;; |
| 2823 |
esac |
| 2824 |
fi |
| 2825 |
PERL=$ac_cv_path_PERL |
| 2826 |
if test -n "$PERL"; then |
| 2827 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 |
| 2828 |
$as_echo "$PERL" >&6; } |
| 2829 |
else |
| 2830 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2831 |
$as_echo "no" >&6; } |
| 2832 |
fi |
| 2833 |
|
| 2834 |
|
| 2835 |
fi |
| 2836 |
|
| 2837 |
|
| 2838 |
if test "x$XDVIPDFMX" = "x"; then : |
| 2839 |
# Extract the first word of "xdvipdfmx", so it can be a program name with args. |
| 2840 |
set dummy xdvipdfmx; ac_word=$2 |
| 2841 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2842 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2843 |
if ${ac_cv_path_XDVIPDFMX+:} false; then : |
| 2844 |
$as_echo_n "(cached) " >&6 |
| 2845 |
else |
| 2846 |
case $XDVIPDFMX in |
| 2847 |
[\\/]* | ?:[\\/]*) |
| 2848 |
ac_cv_path_XDVIPDFMX="$XDVIPDFMX" # Let the user override the test with a path. |
| 2849 |
;; |
| 2850 |
*) |
| 2851 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2852 |
for as_dir in $PATH |
| 2853 |
do |
| 2854 |
IFS=$as_save_IFS |
| 2855 |
test -z "$as_dir" && as_dir=. |
| 2856 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2857 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2858 |
ac_cv_path_XDVIPDFMX="$as_dir/$ac_word$ac_exec_ext" |
| 2859 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2860 |
break 2 |
| 2861 |
fi |
| 2862 |
done |
| 2863 |
done |
| 2864 |
IFS=$as_save_IFS |
| 2865 |
|
| 2866 |
;; |
| 2867 |
esac |
| 2868 |
fi |
| 2869 |
XDVIPDFMX=$ac_cv_path_XDVIPDFMX |
| 2870 |
if test -n "$XDVIPDFMX"; then |
| 2871 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XDVIPDFMX" >&5 |
| 2872 |
$as_echo "$XDVIPDFMX" >&6; } |
| 2873 |
else |
| 2874 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2875 |
$as_echo "no" >&6; } |
| 2876 |
fi |
| 2877 |
|
| 2878 |
|
| 2879 |
fi |
| 2880 |
|
| 2881 |
if test "x$XELATEX" = "x"; then : |
| 2882 |
# Extract the first word of "xelatex", so it can be a program name with args. |
| 2883 |
set dummy xelatex; ac_word=$2 |
| 2884 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 2885 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 2886 |
if ${ac_cv_path_XELATEX+:} false; then : |
| 2887 |
$as_echo_n "(cached) " >&6 |
| 2888 |
else |
| 2889 |
case $XELATEX in |
| 2890 |
[\\/]* | ?:[\\/]*) |
| 2891 |
ac_cv_path_XELATEX="$XELATEX" # Let the user override the test with a path. |
| 2892 |
;; |
| 2893 |
*) |
| 2894 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 2895 |
for as_dir in $PATH |
| 2896 |
do |
| 2897 |
IFS=$as_save_IFS |
| 2898 |
test -z "$as_dir" && as_dir=. |
| 2899 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 2900 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 2901 |
ac_cv_path_XELATEX="$as_dir/$ac_word$ac_exec_ext" |
| 2902 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 2903 |
break 2 |
| 2904 |
fi |
| 2905 |
done |
| 2906 |
done |
| 2907 |
IFS=$as_save_IFS |
| 2908 |
|
| 2909 |
;; |
| 2910 |
esac |
| 2911 |
fi |
| 2912 |
XELATEX=$ac_cv_path_XELATEX |
| 2913 |
if test -n "$XELATEX"; then |
| 2914 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XELATEX" >&5 |
| 2915 |
$as_echo "$XELATEX" >&6; } |
| 2916 |
else |
| 2917 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 2918 |
$as_echo "no" >&6; } |
| 2919 |
fi |
| 2920 |
|
| 2921 |
|
| 2922 |
fi |
| 2923 |
# |
| 2924 |
############################################################################ |
| 2925 |
# |
| 2926 |
# Checks for system services |
| 2927 |
# |
| 2928 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 |
| 2929 |
$as_echo_n "checking for long file names... " >&6; } |
| 2930 |
if ${ac_cv_sys_long_file_names+:} false; then : |
| 2931 |
$as_echo_n "(cached) " >&6 |
| 2932 |
else |
| 2933 |
ac_cv_sys_long_file_names=yes |
| 2934 |
# Test for long file names in all the places we know might matter: |
| 2935 |
# . the current directory, where building will happen |
| 2936 |
# $prefix/lib where we will be installing things |
| 2937 |
# $exec_prefix/lib likewise |
| 2938 |
# $TMPDIR if set, where it might want to write temporary files |
| 2939 |
# /tmp where it might want to write temporary files |
| 2940 |
# /var/tmp likewise |
| 2941 |
# /usr/tmp likewise |
| 2942 |
for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib"; do |
| 2943 |
# Skip $TMPDIR if it is empty or bogus, and skip $exec_prefix/lib |
| 2944 |
# in the usual case where exec_prefix is '${prefix}'. |
| 2945 |
case $ac_dir in #( |
| 2946 |
. | /* | ?:[\\/]*) ;; #( |
| 2947 |
*) continue;; |
| 2948 |
esac |
| 2949 |
test -w "$ac_dir/." || continue # It is less confusing to not echo anything here. |
| 2950 |
ac_xdir=$ac_dir/cf$$ |
| 2951 |
(umask 077 && mkdir "$ac_xdir" 2>/dev/null) || continue |
| 2952 |
ac_tf1=$ac_xdir/conftest9012345 |
| 2953 |
ac_tf2=$ac_xdir/conftest9012346 |
| 2954 |
touch "$ac_tf1" 2>/dev/null && test -f "$ac_tf1" && test ! -f "$ac_tf2" || |
| 2955 |
ac_cv_sys_long_file_names=no |
| 2956 |
rm -f -r "$ac_xdir" 2>/dev/null |
| 2957 |
test $ac_cv_sys_long_file_names = no && break |
| 2958 |
done |
| 2959 |
fi |
| 2960 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5 |
| 2961 |
$as_echo "$ac_cv_sys_long_file_names" >&6; } |
| 2962 |
if test $ac_cv_sys_long_file_names = yes; then |
| 2963 |
|
| 2964 |
$as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h |
| 2965 |
|
| 2966 |
fi |
| 2967 |
|
| 2968 |
# Make sure we can run config.sub. |
| 2969 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
| 2970 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
| 2971 |
|
| 2972 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
| 2973 |
$as_echo_n "checking build system type... " >&6; } |
| 2974 |
if ${ac_cv_build+:} false; then : |
| 2975 |
$as_echo_n "(cached) " >&6 |
| 2976 |
else |
| 2977 |
ac_build_alias=$build_alias |
| 2978 |
test "x$ac_build_alias" = x && |
| 2979 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
| 2980 |
test "x$ac_build_alias" = x && |
| 2981 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
| 2982 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
| 2983 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
| 2984 |
|
| 2985 |
fi |
| 2986 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
| 2987 |
$as_echo "$ac_cv_build" >&6; } |
| 2988 |
case $ac_cv_build in |
| 2989 |
*-*-*) ;; |
| 2990 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
| 2991 |
esac |
| 2992 |
build=$ac_cv_build |
| 2993 |
ac_save_IFS=$IFS; IFS='-' |
| 2994 |
set x $ac_cv_build |
| 2995 |
shift |
| 2996 |
build_cpu=$1 |
| 2997 |
build_vendor=$2 |
| 2998 |
shift; shift |
| 2999 |
# Remember, the first character of IFS is used to create $*, |
| 3000 |
# except with old shells: |
| 3001 |
build_os=$* |
| 3002 |
IFS=$ac_save_IFS |
| 3003 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
| 3004 |
|
| 3005 |
|
| 3006 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
| 3007 |
$as_echo_n "checking host system type... " >&6; } |
| 3008 |
if ${ac_cv_host+:} false; then : |
| 3009 |
$as_echo_n "(cached) " >&6 |
| 3010 |
else |
| 3011 |
if test "x$host_alias" = x; then |
| 3012 |
ac_cv_host=$ac_cv_build |
| 3013 |
else |
| 3014 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
| 3015 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
| 3016 |
fi |
| 3017 |
|
| 3018 |
fi |
| 3019 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
| 3020 |
$as_echo "$ac_cv_host" >&6; } |
| 3021 |
case $ac_cv_host in |
| 3022 |
*-*-*) ;; |
| 3023 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
| 3024 |
esac |
| 3025 |
host=$ac_cv_host |
| 3026 |
ac_save_IFS=$IFS; IFS='-' |
| 3027 |
set x $ac_cv_host |
| 3028 |
shift |
| 3029 |
host_cpu=$1 |
| 3030 |
host_vendor=$2 |
| 3031 |
shift; shift |
| 3032 |
# Remember, the first character of IFS is used to create $*, |
| 3033 |
# except with old shells: |
| 3034 |
host_os=$* |
| 3035 |
IFS=$ac_save_IFS |
| 3036 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
| 3037 |
|
| 3038 |
|
| 3039 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
| 3040 |
$as_echo_n "checking for egrep... " >&6; } |
| 3041 |
if ${ac_cv_path_EGREP+:} false; then : |
| 3042 |
$as_echo_n "(cached) " >&6 |
| 3043 |
else |
| 3044 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
| 3045 |
then ac_cv_path_EGREP="$GREP -E" |
| 3046 |
else |
| 3047 |
if test -z "$EGREP"; then |
| 3048 |
ac_path_EGREP_found=false |
| 3049 |
# Loop through the user's path and test for each of PROGNAME-LIST |
| 3050 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3051 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
| 3052 |
do |
| 3053 |
IFS=$as_save_IFS |
| 3054 |
test -z "$as_dir" && as_dir=. |
| 3055 |
for ac_prog in egrep; do |
| 3056 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3057 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
| 3058 |
as_fn_executable_p "$ac_path_EGREP" || continue |
| 3059 |
# Check for GNU ac_path_EGREP and select it if it is found. |
| 3060 |
# Check for GNU $ac_path_EGREP |
| 3061 |
case `"$ac_path_EGREP" --version 2>&1` in |
| 3062 |
*GNU*) |
| 3063 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
| 3064 |
*) |
| 3065 |
ac_count=0 |
| 3066 |
$as_echo_n 0123456789 >"conftest.in" |
| 3067 |
while : |
| 3068 |
do |
| 3069 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
| 3070 |
mv "conftest.tmp" "conftest.in" |
| 3071 |
cp "conftest.in" "conftest.nl" |
| 3072 |
$as_echo 'EGREP' >> "conftest.nl" |
| 3073 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
| 3074 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
| 3075 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
| 3076 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
| 3077 |
# Best one so far, save it but keep looking for a better one |
| 3078 |
ac_cv_path_EGREP="$ac_path_EGREP" |
| 3079 |
ac_path_EGREP_max=$ac_count |
| 3080 |
fi |
| 3081 |
# 10*(2^10) chars as input seems more than enough |
| 3082 |
test $ac_count -gt 10 && break |
| 3083 |
done |
| 3084 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
| 3085 |
esac |
| 3086 |
|
| 3087 |
$ac_path_EGREP_found && break 3 |
| 3088 |
done |
| 3089 |
done |
| 3090 |
done |
| 3091 |
IFS=$as_save_IFS |
| 3092 |
if test -z "$ac_cv_path_EGREP"; then |
| 3093 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
| 3094 |
fi |
| 3095 |
else |
| 3096 |
ac_cv_path_EGREP=$EGREP |
| 3097 |
fi |
| 3098 |
|
| 3099 |
fi |
| 3100 |
fi |
| 3101 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
| 3102 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
| 3103 |
EGREP="$ac_cv_path_EGREP" |
| 3104 |
|
| 3105 |
|
| 3106 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the number of available CPUs" >&5 |
| 3107 |
$as_echo_n "checking the number of available CPUs... " >&6; } |
| 3108 |
CPU_COUNT="0" |
| 3109 |
|
| 3110 |
# Try generic methods |
| 3111 |
|
| 3112 |
# 'getconf' is POSIX utility, but '_NPROCESSORS_ONLN' and |
| 3113 |
# 'NPROCESSORS_ONLN' are platform-specific |
| 3114 |
command -v getconf >/dev/null 2>&1 && \ |
| 3115 |
CPU_COUNT=`getconf _NPROCESSORS_ONLN 2>/dev/null || getconf NPROCESSORS_ONLN 2>/dev/null` || CPU_COUNT="0" |
| 3116 |
if test "$CPU_COUNT" -gt "0" 2>/dev/null || ! command -v nproc >/dev/null 2>&1; then : |
| 3117 |
: # empty |
| 3118 |
else |
| 3119 |
# 'nproc' is part of GNU Coreutils and is widely available |
| 3120 |
CPU_COUNT=`OMP_NUM_THREADS='' nproc 2>/dev/null` || CPU_COUNT=`nproc 2>/dev/null` || CPU_COUNT="0" |
| 3121 |
|
| 3122 |
fi |
| 3123 |
if test "$CPU_COUNT" -gt "0" 2>/dev/null; then : |
| 3124 |
: # empty |
| 3125 |
else |
| 3126 |
# Try platform-specific preferred methods |
| 3127 |
case $host_os in #( |
| 3128 |
*linux*) : |
| 3129 |
CPU_COUNT=`lscpu -p 2>/dev/null | $EGREP -e '^[0-9]+,' -c` || CPU_COUNT="0" ;; #( |
| 3130 |
*darwin*) : |
| 3131 |
CPU_COUNT=`sysctl -n hw.logicalcpu 2>/dev/null` || CPU_COUNT="0" ;; #( |
| 3132 |
freebsd*) : |
| 3133 |
command -v sysctl >/dev/null 2>&1 && CPU_COUNT=`sysctl -n kern.smp.cpus 2>/dev/null` || CPU_COUNT="0" ;; #( |
| 3134 |
netbsd*) : |
| 3135 |
command -v sysctl >/dev/null 2>&1 && CPU_COUNT=`sysctl -n hw.ncpuonline 2>/dev/null` || CPU_COUNT="0" ;; #( |
| 3136 |
solaris*) : |
| 3137 |
command -v psrinfo >/dev/null 2>&1 && CPU_COUNT=`psrinfo 2>/dev/null | $EGREP -e '^[0-9].*on-line' -c 2>/dev/null` || CPU_COUNT="0" ;; #( |
| 3138 |
mingw*) : |
| 3139 |
CPU_COUNT=`ls -qpU1 /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor/ 2>/dev/null | $EGREP -e '^[0-9]+/' -c` || CPU_COUNT="0" ;; #( |
| 3140 |
msys*) : |
| 3141 |
CPU_COUNT=`ls -qpU1 /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor/ 2>/dev/null | $EGREP -e '^[0-9]+/' -c` || CPU_COUNT="0" ;; #( |
| 3142 |
cygwin*) : |
| 3143 |
CPU_COUNT=`ls -qpU1 /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor/ 2>/dev/null | $EGREP -e '^[0-9]+/' -c` || CPU_COUNT="0" ;; #( |
| 3144 |
*) : |
| 3145 |
;; |
| 3146 |
esac |
| 3147 |
fi |
| 3148 |
if test "$CPU_COUNT" -gt "0" 2>/dev/null || ! command -v sysctl >/dev/null 2>&1; then : |
| 3149 |
: # empty |
| 3150 |
else |
| 3151 |
# Try less preferred generic method |
| 3152 |
# 'hw.ncpu' exist on many platforms, but not on GNU/Linux |
| 3153 |
CPU_COUNT=`sysctl -n hw.ncpu 2>/dev/null` || CPU_COUNT="0" |
| 3154 |
|
| 3155 |
fi |
| 3156 |
if test "$CPU_COUNT" -gt "0" 2>/dev/null; then : |
| 3157 |
: # empty |
| 3158 |
else |
| 3159 |
# Try platform-specific fallback methods |
| 3160 |
# They can be less accurate and slower then preferred methods |
| 3161 |
case $host_os in #( |
| 3162 |
*linux*) : |
| 3163 |
CPU_COUNT=`$EGREP -e '^processor' -c /proc/cpuinfo 2>/dev/null` || CPU_COUNT="0" ;; #( |
| 3164 |
*darwin*) : |
| 3165 |
CPU_COUNT=`system_profiler SPHardwareDataType 2>/dev/null | $EGREP -i -e 'number of cores:'|cut -d : -f 2 -s|tr -d ' '` || CPU_COUNT="0" ;; #( |
| 3166 |
freebsd*) : |
| 3167 |
CPU_COUNT=`dmesg 2>/dev/null| $EGREP -e '^cpu[0-9]+: '|sort -u|$EGREP -e '^' -c` || CPU_COUNT="0" ;; #( |
| 3168 |
netbsd*) : |
| 3169 |
CPU_COUNT=`command -v cpuctl >/dev/null 2>&1 && cpuctl list 2>/dev/null| $EGREP -e '^[0-9]+ .* online ' -c` || \ |
| 3170 |
CPU_COUNT=`dmesg 2>/dev/null| $EGREP -e '^cpu[0-9]+ at'|sort -u|$EGREP -e '^' -c` || CPU_COUNT="0" ;; #( |
| 3171 |
solaris*) : |
| 3172 |
command -v kstat >/dev/null 2>&1 && CPU_COUNT=`kstat -m cpu_info -s state -p 2>/dev/null | $EGREP -c -e 'on-line'` || \ |
| 3173 |
CPU_COUNT=`kstat -m cpu_info 2>/dev/null | $EGREP -c -e 'module: cpu_info'` || CPU_COUNT="0" ;; #( |
| 3174 |
mingw*) : |
| 3175 |
if CPU_COUNT=`reg query 'HKLM\\Hardware\\Description\\System\\CentralProcessor' 2>/dev/null | $EGREP -e '\\\\[0-9]+$' -c`; then : |
| 3176 |
: # empty |
| 3177 |
else |
| 3178 |
test "$NUMBER_OF_PROCESSORS" -gt "0" 2>/dev/null && CPU_COUNT="$NUMBER_OF_PROCESSORS" |
| 3179 |
fi ;; #( |
| 3180 |
msys*) : |
| 3181 |
test "$NUMBER_OF_PROCESSORS" -gt "0" 2>/dev/null && CPU_COUNT="$NUMBER_OF_PROCESSORS" ;; #( |
| 3182 |
cygwin*) : |
| 3183 |
test "$NUMBER_OF_PROCESSORS" -gt "0" 2>/dev/null && CPU_COUNT="$NUMBER_OF_PROCESSORS" ;; #( |
| 3184 |
*) : |
| 3185 |
;; |
| 3186 |
esac |
| 3187 |
fi |
| 3188 |
if test "x$CPU_COUNT" != "x0" && test "$CPU_COUNT" -gt 0 2>/dev/null; then : |
| 3189 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPU_COUNT" >&5 |
| 3190 |
$as_echo "$CPU_COUNT" >&6; } |
| 3191 |
|
| 3192 |
else |
| 3193 |
CPU_COUNT="1" |
| 3194 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unable to detect (assuming 1)" >&5 |
| 3195 |
$as_echo "unable to detect (assuming 1)" >&6; } |
| 3196 |
|
| 3197 |
fi |
| 3198 |
|
| 3199 |
AX_DOLLAR="\$" |
| 3200 |
AX_SRB="\\135" |
| 3201 |
AX_SLB="\\133" |
| 3202 |
AX_BS="\\\\" |
| 3203 |
AX_DQ="\"" |
| 3204 |
|
| 3205 |
|
| 3206 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: adding automake macro support" >&5 |
| 3207 |
$as_echo "$as_me: adding automake macro support" >&6;} |
| 3208 |
AMINCLUDE="aminclude.am" |
| 3209 |
|
| 3210 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $AMINCLUDE" >&5 |
| 3211 |
$as_echo "$as_me: creating $AMINCLUDE" >&6;} |
| 3212 |
AMINCLUDE_TIME=`date` |
| 3213 |
|
| 3214 |
|
| 3215 |
printf " |
| 3216 |
# generated automatically by configure from AX_AUTOMAKE_MACROS |
| 3217 |
# on $AMINCLUDE_TIME |
| 3218 |
|
| 3219 |
" > "$AMINCLUDE" |
| 3220 |
|
| 3221 |
|
| 3222 |
INC_AMINCLUDE="include \$(top_builddir)/$AMINCLUDE" |
| 3223 |
|
| 3224 |
|
| 3225 |
|
| 3226 |
|
| 3227 |
|
| 3228 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Make supports grouped targets" >&5 |
| 3229 |
$as_echo_n "checking whether Make supports grouped targets... " >&6; } |
| 3230 |
: "${TMPDIR:=/tmp}" |
| 3231 |
{ |
| 3232 |
dir=`(umask 077 && mktemp -d "$TMPDIR/fooXXXXXX") 2>/dev/null` && |
| 3233 |
test -d "$dir" |
| 3234 |
} || { |
| 3235 |
dir=$TMPDIR/foo$$-$RANDOM |
| 3236 |
(umask 077 && mkdir "$dir") |
| 3237 |
} |
| 3238 |
echo 'foo bar &: Makefile' > $dir/Makefile |
| 3239 |
echo ' @echo YEAH' >> $dir/Makefile |
| 3240 |
_make_gt_result=`$am_make -C $dir foo bar | $GREP YEAH` |
| 3241 |
rm -rf $dir |
| 3242 |
|
| 3243 |
if test "x$_make_gt_result" = "xYEAH"; then : |
| 3244 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
| 3245 |
$as_echo "yes" >&6; } |
| 3246 |
grouped='&' |
| 3247 |
|
| 3248 |
|
| 3249 |
|
| 3250 |
# Check whether --enable-jobserver was given. |
| 3251 |
if test "${enable_jobserver+set}" = set; then : |
| 3252 |
enableval=$enable_jobserver; |
| 3253 |
else |
| 3254 |
enable_jobserver=yes |
| 3255 |
fi |
| 3256 |
|
| 3257 |
if test "x$enable_jobserver" = "xyes"; then : |
| 3258 |
enable_jobserver=$CPU_COUNT |
| 3259 |
((enable_jobserver++)) |
| 3260 |
fi |
| 3261 |
|
| 3262 |
if test "x$enable_jobserver" != "xno"; then : |
| 3263 |
|
| 3264 |
|
| 3265 |
|
| 3266 |
|
| 3267 |
printf "AM_MAKEFLAGS += \$(if \$(filter -j\$(percent),\$(MAKEFLAGS)),,-j$enable_jobserver ) |
| 3268 |
" >> "$AMINCLUDE" |
| 3269 |
|
| 3270 |
|
| 3271 |
fi |
| 3272 |
|
| 3273 |
else |
| 3274 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3275 |
$as_echo "no" >&6; } |
| 3276 |
grouped='' |
| 3277 |
echo "Make does not support grouped targets. Disabling parallel build." |
| 3278 |
fi |
| 3279 |
|
| 3280 |
# |
| 3281 |
############################################################################ |
| 3282 |
# |
| 3283 |
# User-settable options |
| 3284 |
# |
| 3285 |
# Define user options |
| 3286 |
# |
| 3287 |
# Check whether --enable-colour-build was given. |
| 3288 |
if test "${enable_colour_build+set}" = set; then : |
| 3289 |
enableval=$enable_colour_build; |
| 3290 |
else |
| 3291 |
enable_colour_build=yes |
| 3292 |
fi |
| 3293 |
|
| 3294 |
# Check whether --enable-color-build was given. |
| 3295 |
if test "${enable_color_build+set}" = set; then : |
| 3296 |
enableval=$enable_color_build; |
| 3297 |
else |
| 3298 |
enable_color_build=yes |
| 3299 |
fi |
| 3300 |
|
| 3301 |
# ] |
| 3302 |
# |
| 3303 |
# Check whether --enable-docs was given. |
| 3304 |
if test "${enable_docs+set}" = set; then : |
| 3305 |
enableval=$enable_docs; |
| 3306 |
else |
| 3307 |
enable_docs=yes |
| 3308 |
fi |
| 3309 |
|
| 3310 |
# |
| 3311 |
# Check whether --enable-parasite was given. |
| 3312 |
if test "${enable_parasite+set}" = set; then : |
| 3313 |
enableval=$enable_parasite; |
| 3314 |
else |
| 3315 |
enable_parasite=auto |
| 3316 |
fi |
| 3317 |
|
| 3318 |
# |
| 3319 |
# Process user options |
| 3320 |
# |
| 3321 |
tsu_colour=yes |
| 3322 |
if test "x$enable_colour_build" = "xyes"; then : |
| 3323 |
|
| 3324 |
else |
| 3325 |
tsu_colour=no |
| 3326 |
fi |
| 3327 |
if test "x$enable_color_build" = "xyes"; then : |
| 3328 |
|
| 3329 |
else |
| 3330 |
tsu_colour=no |
| 3331 |
fi |
| 3332 |
if test '!' "$tsu_colour" = no; then |
| 3333 |
COND_COLOUR_TRUE= |
| 3334 |
COND_COLOUR_FALSE='#' |
| 3335 |
else |
| 3336 |
COND_COLOUR_TRUE='#' |
| 3337 |
COND_COLOUR_FALSE= |
| 3338 |
fi |
| 3339 |
|
| 3340 |
# |
| 3341 |
if test '!' "$enable_docs" = no; then |
| 3342 |
COND_DOCS_TRUE= |
| 3343 |
COND_DOCS_FALSE='#' |
| 3344 |
else |
| 3345 |
COND_DOCS_TRUE='#' |
| 3346 |
COND_DOCS_FALSE= |
| 3347 |
fi |
| 3348 |
|
| 3349 |
|
| 3350 |
# |
| 3351 |
# |
| 3352 |
if test "x$prefix" = "xNONE"; then : |
| 3353 |
prefix="$ac_default_prefix" |
| 3354 |
fi |
| 3355 |
# |
| 3356 |
if test "x$enable_silent_rules" = "x"; then : |
| 3357 |
enable_silent_rules=yes |
| 3358 |
AM_DEFAULT_VERBOSITY=0 |
| 3359 |
fi |
| 3360 |
# |
| 3361 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FontAnvil accepts AddExtrema(1)" >&5 |
| 3362 |
$as_echo_n "checking whether FontAnvil accepts AddExtrema(1)... " >&6; } |
| 3363 |
echo '#!/usr/local/bin/fontforge' > ffaetest.pe |
| 3364 |
echo 'New();AddExtrema(1);' >> ffaetest.pe |
| 3365 |
if $FONTANVIL -script ffaetest.pe >& /dev/null; then : |
| 3366 |
ae_arg_okay=yes |
| 3367 |
else |
| 3368 |
ae_arg_okay=no |
| 3369 |
fi |
| 3370 |
rm ffaetest.pe |
| 3371 |
|
| 3372 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ae_arg_okay" >&5 |
| 3373 |
$as_echo "$ae_arg_okay" >&6; } |
| 3374 |
# |
| 3375 |
############################################################################ |
| 3376 |
# |
| 3377 |
# Check for parasite build |
| 3378 |
# |
| 3379 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are building as a parasite" >&5 |
| 3380 |
$as_echo_n "checking whether we are building as a parasite... " >&6; } |
| 3381 |
if test "x$enable_parasite" = "xauto"; then : |
| 3382 |
if grep Tsukurimashou ../Makefile > /dev/null 2> /dev/null; then : |
| 3383 |
enable_parasite=yes |
| 3384 |
else |
| 3385 |
enable_parasite=no |
| 3386 |
fi |
| 3387 |
fi |
| 3388 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parasite" >&5 |
| 3389 |
$as_echo "$enable_parasite" >&6; } |
| 3390 |
if test "x$enable_parasite" = "xyes"; then |
| 3391 |
COND_PARASITE_TRUE= |
| 3392 |
COND_PARASITE_FALSE='#' |
| 3393 |
else |
| 3394 |
COND_PARASITE_TRUE='#' |
| 3395 |
COND_PARASITE_FALSE= |
| 3396 |
fi |
| 3397 |
|
| 3398 |
if test -z "$COND_PARASITE_TRUE"; then : |
| 3399 |
T1ASM=../t1asm/t1asm |
| 3400 |
parasite=yes |
| 3401 |
else |
| 3402 |
# Extract the first word of "t1asm", so it can be a program name with args. |
| 3403 |
set dummy t1asm; ac_word=$2 |
| 3404 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| 3405 |
$as_echo_n "checking for $ac_word... " >&6; } |
| 3406 |
if ${ac_cv_path_T1ASM+:} false; then : |
| 3407 |
$as_echo_n "(cached) " >&6 |
| 3408 |
else |
| 3409 |
case $T1ASM in |
| 3410 |
[\\/]* | ?:[\\/]*) |
| 3411 |
ac_cv_path_T1ASM="$T1ASM" # Let the user override the test with a path. |
| 3412 |
;; |
| 3413 |
*) |
| 3414 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3415 |
for as_dir in $PATH |
| 3416 |
do |
| 3417 |
IFS=$as_save_IFS |
| 3418 |
test -z "$as_dir" && as_dir=. |
| 3419 |
for ac_exec_ext in '' $ac_executable_extensions; do |
| 3420 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| 3421 |
ac_cv_path_T1ASM="$as_dir/$ac_word$ac_exec_ext" |
| 3422 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| 3423 |
break 2 |
| 3424 |
fi |
| 3425 |
done |
| 3426 |
done |
| 3427 |
IFS=$as_save_IFS |
| 3428 |
|
| 3429 |
;; |
| 3430 |
esac |
| 3431 |
fi |
| 3432 |
T1ASM=$ac_cv_path_T1ASM |
| 3433 |
if test -n "$T1ASM"; then |
| 3434 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $T1ASM" >&5 |
| 3435 |
$as_echo "$T1ASM" >&6; } |
| 3436 |
else |
| 3437 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| 3438 |
$as_echo "no" >&6; } |
| 3439 |
fi |
| 3440 |
|
| 3441 |
|
| 3442 |
parasite=no |
| 3443 |
fi |
| 3444 |
|
| 3445 |
|
| 3446 |
# |
| 3447 |
############################################################################ |
| 3448 |
# |
| 3449 |
# Generate output |
| 3450 |
# |
| 3451 |
|
| 3452 |
ac_config_files="$ac_config_files Makefile" |
| 3453 |
|
| 3454 |
|
| 3455 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bad paths" >&5 |
| 3456 |
$as_echo_n "checking for bad paths... " >&6; } |
| 3457 |
has_bad_paths=no |
| 3458 |
all_bad_paths='' |
| 3459 |
for sv in $ac_subst_vars ; do |
| 3460 |
eval vv='"'\$$sv'"' |
| 3461 |
if echo "$sv" | egrep '_FALSE|_TRUE|ifGNUmake' > /dev/null ; then |
| 3462 |
# these variable names are exempt |
| 3463 |
true |
| 3464 |
elif test -e "$vv" ; then |
| 3465 |
if echo "$vv" | grep -q '[ #$&():;<=>\\`|\?\*"'"']" ; then |
| 3466 |
has_bad_paths=yes |
| 3467 |
all_bad_paths="$all_bad_paths $sv=$vv |
| 3468 |
" |
| 3469 |
fi |
| 3470 |
fi |
| 3471 |
done |
| 3472 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_bad_paths" >&5 |
| 3473 |
$as_echo "$has_bad_paths" >&6; } |
| 3474 |
|
| 3475 |
cat >confcache <<\_ACEOF |
| 3476 |
# This file is a shell script that caches the results of configure |
| 3477 |
# tests run on this system so they can be shared between configure |
| 3478 |
# scripts and configure runs, see configure's option --config-cache. |
| 3479 |
# It is not useful on other systems. If it contains results you don't |
| 3480 |
# want to keep, you may remove or edit it. |
| 3481 |
# |
| 3482 |
# config.status only pays attention to the cache file if you give it |
| 3483 |
# the --recheck option to rerun configure. |
| 3484 |
# |
| 3485 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
| 3486 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
| 3487 |
# following values. |
| 3488 |
|
| 3489 |
_ACEOF |
| 3490 |
|
| 3491 |
# The following way of writing the cache mishandles newlines in values, |
| 3492 |
# but we know of no workaround that is simple, portable, and efficient. |
| 3493 |
# So, we kill variables containing newlines. |
| 3494 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
| 3495 |
# and sets the high bit in the cache file unless we assign to the vars. |
| 3496 |
( |
| 3497 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
| 3498 |
eval ac_val=\$$ac_var |
| 3499 |
case $ac_val in #( |
| 3500 |
*${as_nl}*) |
| 3501 |
case $ac_var in #( |
| 3502 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
| 3503 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
| 3504 |
esac |
| 3505 |
case $ac_var in #( |
| 3506 |
_ | IFS | as_nl) ;; #( |
| 3507 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
| 3508 |
*) { eval $ac_var=; unset $ac_var;} ;; |
| 3509 |
esac ;; |
| 3510 |
esac |
| 3511 |
done |
| 3512 |
|
| 3513 |
(set) 2>&1 | |
| 3514 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
| 3515 |
*${as_nl}ac_space=\ *) |
| 3516 |
# `set' does not quote correctly, so add quotes: double-quote |
| 3517 |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
| 3518 |
sed -n \ |
| 3519 |
"s/'/'\\\\''/g; |
| 3520 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
| 3521 |
;; #( |
| 3522 |
*) |
| 3523 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
| 3524 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
| 3525 |
;; |
| 3526 |
esac | |
| 3527 |
sort |
| 3528 |
) | |
| 3529 |
sed ' |
| 3530 |
/^ac_cv_env_/b end |
| 3531 |
t clear |
| 3532 |
:clear |
| 3533 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
| 3534 |
t end |
| 3535 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
| 3536 |
:end' >>confcache |
| 3537 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
| 3538 |
if test -w "$cache_file"; then |
| 3539 |
if test "x$cache_file" != "x/dev/null"; then |
| 3540 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
| 3541 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
| 3542 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
| 3543 |
cat confcache >"$cache_file" |
| 3544 |
else |
| 3545 |
case $cache_file in #( |
| 3546 |
*/* | ?:*) |
| 3547 |
mv -f confcache "$cache_file"$$ && |
| 3548 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
| 3549 |
*) |
| 3550 |
mv -f confcache "$cache_file" ;; |
| 3551 |
esac |
| 3552 |
fi |
| 3553 |
fi |
| 3554 |
else |
| 3555 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
| 3556 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
| 3557 |
fi |
| 3558 |
fi |
| 3559 |
rm -f confcache |
| 3560 |
|
| 3561 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
| 3562 |
# Let make expand exec_prefix. |
| 3563 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
| 3564 |
|
| 3565 |
# Transform confdefs.h into DEFS. |
| 3566 |
# Protect against shell expansion while executing Makefile rules. |
| 3567 |
# Protect against Makefile macro expansion. |
| 3568 |
# |
| 3569 |
# If the first sed substitution is executed (which looks for macros that |
| 3570 |
# take arguments), then branch to the quote section. Otherwise, |
| 3571 |
# look for a macro that doesn't take arguments. |
| 3572 |
ac_script=' |
| 3573 |
:mline |
| 3574 |
/\\$/{ |
| 3575 |
N |
| 3576 |
s,\\\n,, |
| 3577 |
b mline |
| 3578 |
} |
| 3579 |
t clear |
| 3580 |
:clear |
| 3581 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g |
| 3582 |
t quote |
| 3583 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g |
| 3584 |
t quote |
| 3585 |
b any |
| 3586 |
:quote |
| 3587 |
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g |
| 3588 |
s/\[/\\&/g |
| 3589 |
s/\]/\\&/g |
| 3590 |
s/\$/$$/g |
| 3591 |
H |
| 3592 |
:any |
| 3593 |
${ |
| 3594 |
g |
| 3595 |
s/^\n// |
| 3596 |
s/\n/ /g |
| 3597 |
p |
| 3598 |
} |
| 3599 |
' |
| 3600 |
DEFS=`sed -n "$ac_script" confdefs.h` |
| 3601 |
|
| 3602 |
|
| 3603 |
ac_libobjs= |
| 3604 |
ac_ltlibobjs= |
| 3605 |
U= |
| 3606 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
| 3607 |
# 1. Remove the extension, and $U if already installed. |
| 3608 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
| 3609 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
| 3610 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
| 3611 |
# will be set to the directory where LIBOBJS objects are built. |
| 3612 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
| 3613 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
| 3614 |
done |
| 3615 |
LIBOBJS=$ac_libobjs |
| 3616 |
|
| 3617 |
LTLIBOBJS=$ac_ltlibobjs |
| 3618 |
|
| 3619 |
|
| 3620 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
| 3621 |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
| 3622 |
if test -n "$am_sleep_pid"; then |
| 3623 |
# Hide warnings about reused PIDs. |
| 3624 |
wait $am_sleep_pid 2>/dev/null |
| 3625 |
fi |
| 3626 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
| 3627 |
$as_echo "done" >&6; } |
| 3628 |
|
| 3629 |
if test -z "${COND_EXPECT_TRUE}" && test -z "${COND_EXPECT_FALSE}"; then |
| 3630 |
as_fn_error $? "conditional \"COND_EXPECT\" was never defined. |
| 3631 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 3632 |
fi |
| 3633 |
if test -z "${COND_COLOUR_TRUE}" && test -z "${COND_COLOUR_FALSE}"; then |
| 3634 |
as_fn_error $? "conditional \"COND_COLOUR\" was never defined. |
| 3635 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 3636 |
fi |
| 3637 |
if test -z "${COND_DOCS_TRUE}" && test -z "${COND_DOCS_FALSE}"; then |
| 3638 |
as_fn_error $? "conditional \"COND_DOCS\" was never defined. |
| 3639 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 3640 |
fi |
| 3641 |
if test -z "${COND_PARASITE_TRUE}" && test -z "${COND_PARASITE_FALSE}"; then |
| 3642 |
as_fn_error $? "conditional \"COND_PARASITE\" was never defined. |
| 3643 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
| 3644 |
fi |
| 3645 |
|
| 3646 |
: "${CONFIG_STATUS=./config.status}" |
| 3647 |
ac_write_fail=0 |
| 3648 |
ac_clean_files_save=$ac_clean_files |
| 3649 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
| 3650 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
| 3651 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
| 3652 |
as_write_fail=0 |
| 3653 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
| 3654 |
#! $SHELL |
| 3655 |
# Generated by $as_me. |
| 3656 |
# Run this file to recreate the current configuration. |
| 3657 |
# Compiler output produced by configure, useful for debugging |
| 3658 |
# configure, is in config.log if it exists. |
| 3659 |
|
| 3660 |
debug=false |
| 3661 |
ac_cs_recheck=false |
| 3662 |
ac_cs_silent=false |
| 3663 |
|
| 3664 |
SHELL=\${CONFIG_SHELL-$SHELL} |
| 3665 |
export SHELL |
| 3666 |
_ASEOF |
| 3667 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
| 3668 |
## -------------------- ## |
| 3669 |
## M4sh Initialization. ## |
| 3670 |
## -------------------- ## |
| 3671 |
|
| 3672 |
# Be more Bourne compatible |
| 3673 |
DUALCASE=1; export DUALCASE # for MKS sh |
| 3674 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
| 3675 |
emulate sh |
| 3676 |
NULLCMD=: |
| 3677 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
| 3678 |
# is contrary to our usage. Disable this feature. |
| 3679 |
alias -g '${1+"$@"}'='"$@"' |
| 3680 |
setopt NO_GLOB_SUBST |
| 3681 |
else |
| 3682 |
case `(set -o) 2>/dev/null` in #( |
| 3683 |
*posix*) : |
| 3684 |
set -o posix ;; #( |
| 3685 |
*) : |
| 3686 |
;; |
| 3687 |
esac |
| 3688 |
fi |
| 3689 |
|
| 3690 |
|
| 3691 |
as_nl=' |
| 3692 |
' |
| 3693 |
export as_nl |
| 3694 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
| 3695 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 3696 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
| 3697 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
| 3698 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
| 3699 |
# but without wasting forks for bash or zsh. |
| 3700 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
| 3701 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 3702 |
as_echo='print -r --' |
| 3703 |
as_echo_n='print -rn --' |
| 3704 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
| 3705 |
as_echo='printf %s\n' |
| 3706 |
as_echo_n='printf %s' |
| 3707 |
else |
| 3708 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
| 3709 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
| 3710 |
as_echo_n='/usr/ucb/echo -n' |
| 3711 |
else |
| 3712 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
| 3713 |
as_echo_n_body='eval |
| 3714 |
arg=$1; |
| 3715 |
case $arg in #( |
| 3716 |
*"$as_nl"*) |
| 3717 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
| 3718 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
| 3719 |
esac; |
| 3720 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
| 3721 |
' |
| 3722 |
export as_echo_n_body |
| 3723 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
| 3724 |
fi |
| 3725 |
export as_echo_body |
| 3726 |
as_echo='sh -c $as_echo_body as_echo' |
| 3727 |
fi |
| 3728 |
|
| 3729 |
# The user is always right. |
| 3730 |
if test "${PATH_SEPARATOR+set}" != set; then |
| 3731 |
PATH_SEPARATOR=: |
| 3732 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
| 3733 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
| 3734 |
PATH_SEPARATOR=';' |
| 3735 |
} |
| 3736 |
fi |
| 3737 |
|
| 3738 |
|
| 3739 |
# IFS |
| 3740 |
# We need space, tab and new line, in precisely that order. Quoting is |
| 3741 |
# there to prevent editors from complaining about space-tab. |
| 3742 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
| 3743 |
# splitting by setting IFS to empty value.) |
| 3744 |
IFS=" "" $as_nl" |
| 3745 |
|
| 3746 |
# Find who we are. Look in the path if we contain no directory separator. |
| 3747 |
as_myself= |
| 3748 |
case $0 in #(( |
| 3749 |
*[\\/]* ) as_myself=$0 ;; |
| 3750 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
| 3751 |
for as_dir in $PATH |
| 3752 |
do |
| 3753 |
IFS=$as_save_IFS |
| 3754 |
test -z "$as_dir" && as_dir=. |
| 3755 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
| 3756 |
done |
| 3757 |
IFS=$as_save_IFS |
| 3758 |
|
| 3759 |
;; |
| 3760 |
esac |
| 3761 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
| 3762 |
# in which case we are not to be found in the path. |
| 3763 |
if test "x$as_myself" = x; then |
| 3764 |
as_myself=$0 |
| 3765 |
fi |
| 3766 |
if test ! -f "$as_myself"; then |
| 3767 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
| 3768 |
exit 1 |
| 3769 |
fi |
| 3770 |
|
| 3771 |
# Unset variables that we do not need and which cause bugs (e.g. in |
| 3772 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
| 3773 |
# suppresses any "Segmentation fault" message there. '((' could |
| 3774 |
# trigger a bug in pdksh 5.2.14. |
| 3775 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
| 3776 |
do eval test x\${$as_var+set} = xset \ |
| 3777 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
| 3778 |
done |
| 3779 |
PS1='$ ' |
| 3780 |
PS2='> ' |
| 3781 |
PS4='+ ' |
| 3782 |
|
| 3783 |
# NLS nuisances. |
| 3784 |
LC_ALL=C |
| 3785 |
export LC_ALL |
| 3786 |
LANGUAGE=C |
| 3787 |
export LANGUAGE |
| 3788 |
|
| 3789 |
# CDPATH. |
| 3790 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 3791 |
|
| 3792 |
|
| 3793 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
| 3794 |
# ---------------------------------------- |
| 3795 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
| 3796 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
| 3797 |
# script with STATUS, using 1 if that was 0. |
| 3798 |
as_fn_error () |
| 3799 |
{ |
| 3800 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
| 3801 |
if test "$4"; then |
| 3802 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
| 3803 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
| 3804 |
fi |
| 3805 |
$as_echo "$as_me: error: $2" >&2 |
| 3806 |
as_fn_exit $as_status |
| 3807 |
} # as_fn_error |
| 3808 |
|
| 3809 |
|
| 3810 |
# as_fn_set_status STATUS |
| 3811 |
# ----------------------- |
| 3812 |
# Set $? to STATUS, without forking. |
| 3813 |
as_fn_set_status () |
| 3814 |
{ |
| 3815 |
return $1 |
| 3816 |
} # as_fn_set_status |
| 3817 |
|
| 3818 |
# as_fn_exit STATUS |
| 3819 |
# ----------------- |
| 3820 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
| 3821 |
as_fn_exit () |
| 3822 |
{ |
| 3823 |
set +e |
| 3824 |
as_fn_set_status $1 |
| 3825 |
exit $1 |
| 3826 |
} # as_fn_exit |
| 3827 |
|
| 3828 |
# as_fn_unset VAR |
| 3829 |
# --------------- |
| 3830 |
# Portably unset VAR. |
| 3831 |
as_fn_unset () |
| 3832 |
{ |
| 3833 |
{ eval $1=; unset $1;} |
| 3834 |
} |
| 3835 |
as_unset=as_fn_unset |
| 3836 |
# as_fn_append VAR VALUE |
| 3837 |
# ---------------------- |
| 3838 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
| 3839 |
# advantage of any shell optimizations that allow amortized linear growth over |
| 3840 |
# repeated appends, instead of the typical quadratic growth present in naive |
| 3841 |
# implementations. |
| 3842 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
| 3843 |
eval 'as_fn_append () |
| 3844 |
{ |
| 3845 |
eval $1+=\$2 |
| 3846 |
}' |
| 3847 |
else |
| 3848 |
as_fn_append () |
| 3849 |
{ |
| 3850 |
eval $1=\$$1\$2 |
| 3851 |
} |
| 3852 |
fi # as_fn_append |
| 3853 |
|
| 3854 |
# as_fn_arith ARG... |
| 3855 |
# ------------------ |
| 3856 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
| 3857 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
| 3858 |
# must be portable across $(()) and expr. |
| 3859 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
| 3860 |
eval 'as_fn_arith () |
| 3861 |
{ |
| 3862 |
as_val=$(( $* )) |
| 3863 |
}' |
| 3864 |
else |
| 3865 |
as_fn_arith () |
| 3866 |
{ |
| 3867 |
as_val=`expr "$@" || test $? -eq 1` |
| 3868 |
} |
| 3869 |
fi # as_fn_arith |
| 3870 |
|
| 3871 |
|
| 3872 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
| 3873 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
| 3874 |
as_expr=expr |
| 3875 |
else |
| 3876 |
as_expr=false |
| 3877 |
fi |
| 3878 |
|
| 3879 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
| 3880 |
as_basename=basename |
| 3881 |
else |
| 3882 |
as_basename=false |
| 3883 |
fi |
| 3884 |
|
| 3885 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
| 3886 |
as_dirname=dirname |
| 3887 |
else |
| 3888 |
as_dirname=false |
| 3889 |
fi |
| 3890 |
|
| 3891 |
as_me=`$as_basename -- "$0" || |
| 3892 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
| 3893 |
X"$0" : 'X\(//\)$' \| \ |
| 3894 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
| 3895 |
$as_echo X/"$0" | |
| 3896 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
| 3897 |
s//\1/ |
| 3898 |
q |
| 3899 |
} |
| 3900 |
/^X\/\(\/\/\)$/{ |
| 3901 |
s//\1/ |
| 3902 |
q |
| 3903 |
} |
| 3904 |
/^X\/\(\/\).*/{ |
| 3905 |
s//\1/ |
| 3906 |
q |
| 3907 |
} |
| 3908 |
s/.*/./; q'` |
| 3909 |
|
| 3910 |
# Avoid depending upon Character Ranges. |
| 3911 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
| 3912 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
| 3913 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
| 3914 |
as_cr_digits='0123456789' |
| 3915 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
| 3916 |
|
| 3917 |
ECHO_C= ECHO_N= ECHO_T= |
| 3918 |
case `echo -n x` in #((((( |
| 3919 |
-n*) |
| 3920 |
case `echo 'xy\c'` in |
| 3921 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
| 3922 |
xy) ECHO_C='\c';; |
| 3923 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
| 3924 |
ECHO_T=' ';; |
| 3925 |
esac;; |
| 3926 |
*) |
| 3927 |
ECHO_N='-n';; |
| 3928 |
esac |
| 3929 |
|
| 3930 |
rm -f conf$$ conf$$.exe conf$$.file |
| 3931 |
if test -d conf$$.dir; then |
| 3932 |
rm -f conf$$.dir/conf$$.file |
| 3933 |
else |
| 3934 |
rm -f conf$$.dir |
| 3935 |
mkdir conf$$.dir 2>/dev/null |
| 3936 |
fi |
| 3937 |
if (echo >conf$$.file) 2>/dev/null; then |
| 3938 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
| 3939 |
as_ln_s='ln -s' |
| 3940 |
# ... but there are two gotchas: |
| 3941 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
| 3942 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
| 3943 |
# In both cases, we have to default to `cp -pR'. |
| 3944 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
| 3945 |
as_ln_s='cp -pR' |
| 3946 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
| 3947 |
as_ln_s=ln |
| 3948 |
else |
| 3949 |
as_ln_s='cp -pR' |
| 3950 |
fi |
| 3951 |
else |
| 3952 |
as_ln_s='cp -pR' |
| 3953 |
fi |
| 3954 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
| 3955 |
rmdir conf$$.dir 2>/dev/null |
| 3956 |
|
| 3957 |
|
| 3958 |
# as_fn_mkdir_p |
| 3959 |
# ------------- |
| 3960 |
# Create "$as_dir" as a directory, including parents if necessary. |
| 3961 |
as_fn_mkdir_p () |
| 3962 |
{ |
| 3963 |
|
| 3964 |
case $as_dir in #( |
| 3965 |
-*) as_dir=./$as_dir;; |
| 3966 |
esac |
| 3967 |
test -d "$as_dir" || eval $as_mkdir_p || { |
| 3968 |
as_dirs= |
| 3969 |
while :; do |
| 3970 |
case $as_dir in #( |
| 3971 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
| 3972 |
*) as_qdir=$as_dir;; |
| 3973 |
esac |
| 3974 |
as_dirs="'$as_qdir' $as_dirs" |
| 3975 |
as_dir=`$as_dirname -- "$as_dir" || |
| 3976 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 3977 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
| 3978 |
X"$as_dir" : 'X\(//\)$' \| \ |
| 3979 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
| 3980 |
$as_echo X"$as_dir" | |
| 3981 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 3982 |
s//\1/ |
| 3983 |
q |
| 3984 |
} |
| 3985 |
/^X\(\/\/\)[^/].*/{ |
| 3986 |
s//\1/ |
| 3987 |
q |
| 3988 |
} |
| 3989 |
/^X\(\/\/\)$/{ |
| 3990 |
s//\1/ |
| 3991 |
q |
| 3992 |
} |
| 3993 |
/^X\(\/\).*/{ |
| 3994 |
s//\1/ |
| 3995 |
q |
| 3996 |
} |
| 3997 |
s/.*/./; q'` |
| 3998 |
test -d "$as_dir" && break |
| 3999 |
done |
| 4000 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
| 4001 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
| 4002 |
|
| 4003 |
|
| 4004 |
} # as_fn_mkdir_p |
| 4005 |
if mkdir -p . 2>/dev/null; then |
| 4006 |
as_mkdir_p='mkdir -p "$as_dir"' |
| 4007 |
else |
| 4008 |
test -d ./-p && rmdir ./-p |
| 4009 |
as_mkdir_p=false |
| 4010 |
fi |
| 4011 |
|
| 4012 |
|
| 4013 |
# as_fn_executable_p FILE |
| 4014 |
# ----------------------- |
| 4015 |
# Test if FILE is an executable regular file. |
| 4016 |
as_fn_executable_p () |
| 4017 |
{ |
| 4018 |
test -f "$1" && test -x "$1" |
| 4019 |
} # as_fn_executable_p |
| 4020 |
as_test_x='test -x' |
| 4021 |
as_executable_p=as_fn_executable_p |
| 4022 |
|
| 4023 |
# Sed expression to map a string onto a valid CPP name. |
| 4024 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
| 4025 |
|
| 4026 |
# Sed expression to map a string onto a valid variable name. |
| 4027 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
| 4028 |
|
| 4029 |
|
| 4030 |
exec 6>&1 |
| 4031 |
## ----------------------------------- ## |
| 4032 |
## Main body of $CONFIG_STATUS script. ## |
| 4033 |
## ----------------------------------- ## |
| 4034 |
_ASEOF |
| 4035 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
| 4036 |
|
| 4037 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4038 |
# Save the log message, to keep $0 and so on meaningful, and to |
| 4039 |
# report actual input values of CONFIG_FILES etc. instead of their |
| 4040 |
# values after options handling. |
| 4041 |
ac_log=" |
| 4042 |
This file was extended by OCR $as_me 0.3.1, which was |
| 4043 |
generated by GNU Autoconf 2.69. Invocation command line was |
| 4044 |
|
| 4045 |
CONFIG_FILES = $CONFIG_FILES |
| 4046 |
CONFIG_HEADERS = $CONFIG_HEADERS |
| 4047 |
CONFIG_LINKS = $CONFIG_LINKS |
| 4048 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
| 4049 |
$ $0 $@ |
| 4050 |
|
| 4051 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
| 4052 |
" |
| 4053 |
|
| 4054 |
_ACEOF |
| 4055 |
|
| 4056 |
case $ac_config_files in *" |
| 4057 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
| 4058 |
esac |
| 4059 |
|
| 4060 |
|
| 4061 |
|
| 4062 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4063 |
# Files that config.status was made for. |
| 4064 |
config_files="$ac_config_files" |
| 4065 |
config_commands="$ac_config_commands" |
| 4066 |
|
| 4067 |
_ACEOF |
| 4068 |
|
| 4069 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4070 |
ac_cs_usage="\ |
| 4071 |
\`$as_me' instantiates files and other configuration actions |
| 4072 |
from templates according to the current configuration. Unless the files |
| 4073 |
and actions are specified as TAGs, all are instantiated by default. |
| 4074 |
|
| 4075 |
Usage: $0 [OPTION]... [TAG]... |
| 4076 |
|
| 4077 |
-h, --help print this help, then exit |
| 4078 |
-V, --version print version number and configuration settings, then exit |
| 4079 |
--config print configuration, then exit |
| 4080 |
-q, --quiet, --silent |
| 4081 |
do not print progress messages |
| 4082 |
-d, --debug don't remove temporary files |
| 4083 |
--recheck update $as_me by reconfiguring in the same conditions |
| 4084 |
--file=FILE[:TEMPLATE] |
| 4085 |
instantiate the configuration file FILE |
| 4086 |
|
| 4087 |
Configuration files: |
| 4088 |
$config_files |
| 4089 |
|
| 4090 |
Configuration commands: |
| 4091 |
$config_commands |
| 4092 |
|
| 4093 |
Report bugs to <[email protected]>. |
| 4094 |
OCR home page: <https://tsukurimashou.osdn.jp/>." |
| 4095 |
|
| 4096 |
_ACEOF |
| 4097 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4098 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
| 4099 |
ac_cs_version="\\ |
| 4100 |
OCR config.status 0.3.1 |
| 4101 |
configured by $0, generated by GNU Autoconf 2.69, |
| 4102 |
with options \\"\$ac_cs_config\\" |
| 4103 |
|
| 4104 |
Copyright (C) 2012 Free Software Foundation, Inc. |
| 4105 |
This config.status script is free software; the Free Software Foundation |
| 4106 |
gives unlimited permission to copy, distribute and modify it." |
| 4107 |
|
| 4108 |
ac_pwd='$ac_pwd' |
| 4109 |
srcdir='$srcdir' |
| 4110 |
INSTALL='$INSTALL' |
| 4111 |
MKDIR_P='$MKDIR_P' |
| 4112 |
AWK='$AWK' |
| 4113 |
test -n "\$AWK" || AWK=awk |
| 4114 |
_ACEOF |
| 4115 |
|
| 4116 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4117 |
# The default lists apply if the user does not specify any file. |
| 4118 |
ac_need_defaults=: |
| 4119 |
while test $# != 0 |
| 4120 |
do |
| 4121 |
case $1 in |
| 4122 |
--*=?*) |
| 4123 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 4124 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
| 4125 |
ac_shift=: |
| 4126 |
;; |
| 4127 |
--*=) |
| 4128 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
| 4129 |
ac_optarg= |
| 4130 |
ac_shift=: |
| 4131 |
;; |
| 4132 |
*) |
| 4133 |
ac_option=$1 |
| 4134 |
ac_optarg=$2 |
| 4135 |
ac_shift=shift |
| 4136 |
;; |
| 4137 |
esac |
| 4138 |
|
| 4139 |
case $ac_option in |
| 4140 |
# Handling of the options. |
| 4141 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 4142 |
ac_cs_recheck=: ;; |
| 4143 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
| 4144 |
$as_echo "$ac_cs_version"; exit ;; |
| 4145 |
--config | --confi | --conf | --con | --co | --c ) |
| 4146 |
$as_echo "$ac_cs_config"; exit ;; |
| 4147 |
--debug | --debu | --deb | --de | --d | -d ) |
| 4148 |
debug=: ;; |
| 4149 |
--file | --fil | --fi | --f ) |
| 4150 |
$ac_shift |
| 4151 |
case $ac_optarg in |
| 4152 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
| 4153 |
'') as_fn_error $? "missing file argument" ;; |
| 4154 |
esac |
| 4155 |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
| 4156 |
ac_need_defaults=false;; |
| 4157 |
--he | --h | --help | --hel | -h ) |
| 4158 |
$as_echo "$ac_cs_usage"; exit ;; |
| 4159 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
| 4160 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
| 4161 |
ac_cs_silent=: ;; |
| 4162 |
|
| 4163 |
# This is an error. |
| 4164 |
-*) as_fn_error $? "unrecognized option: \`$1' |
| 4165 |
Try \`$0 --help' for more information." ;; |
| 4166 |
|
| 4167 |
*) as_fn_append ac_config_targets " $1" |
| 4168 |
ac_need_defaults=false ;; |
| 4169 |
|
| 4170 |
esac |
| 4171 |
shift |
| 4172 |
done |
| 4173 |
|
| 4174 |
ac_configure_extra_args= |
| 4175 |
|
| 4176 |
if $ac_cs_silent; then |
| 4177 |
exec 6>/dev/null |
| 4178 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
| 4179 |
fi |
| 4180 |
|
| 4181 |
_ACEOF |
| 4182 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4183 |
if \$ac_cs_recheck; then |
| 4184 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
| 4185 |
shift |
| 4186 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
| 4187 |
CONFIG_SHELL='$SHELL' |
| 4188 |
export CONFIG_SHELL |
| 4189 |
exec "\$@" |
| 4190 |
fi |
| 4191 |
|
| 4192 |
_ACEOF |
| 4193 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4194 |
exec 5>>config.log |
| 4195 |
{ |
| 4196 |
echo |
| 4197 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
| 4198 |
## Running $as_me. ## |
| 4199 |
_ASBOX |
| 4200 |
$as_echo "$ac_log" |
| 4201 |
} >&5 |
| 4202 |
|
| 4203 |
_ACEOF |
| 4204 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4205 |
# |
| 4206 |
# INIT-COMMANDS |
| 4207 |
# |
| 4208 |
PERL=$PERL |
| 4209 |
|
| 4210 |
|
| 4211 |
_ACEOF |
| 4212 |
|
| 4213 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4214 |
|
| 4215 |
# Handling of arguments. |
| 4216 |
for ac_config_target in $ac_config_targets |
| 4217 |
do |
| 4218 |
case $ac_config_target in |
| 4219 |
"fix-makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS fix-makefile" ;; |
| 4220 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
| 4221 |
|
| 4222 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
| 4223 |
esac |
| 4224 |
done |
| 4225 |
|
| 4226 |
|
| 4227 |
# If the user did not use the arguments to specify the items to instantiate, |
| 4228 |
# then the envvar interface is used. Set only those that are not. |
| 4229 |
# We use the long form for the default assignment because of an extremely |
| 4230 |
# bizarre bug on SunOS 4.1.3. |
| 4231 |
if $ac_need_defaults; then |
| 4232 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
| 4233 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
| 4234 |
fi |
| 4235 |
|
| 4236 |
# Have a temporary directory for convenience. Make it in the build tree |
| 4237 |
# simply because there is no reason against having it here, and in addition, |
| 4238 |
# creating and moving files from /tmp can sometimes cause problems. |
| 4239 |
# Hook for its removal unless debugging. |
| 4240 |
# Note that there is a small window in which the directory will not be cleaned: |
| 4241 |
# after its creation but before its name has been assigned to `$tmp'. |
| 4242 |
$debug || |
| 4243 |
{ |
| 4244 |
tmp= ac_tmp= |
| 4245 |
trap 'exit_status=$? |
| 4246 |
: "${ac_tmp:=$tmp}" |
| 4247 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
| 4248 |
' 0 |
| 4249 |
trap 'as_fn_exit 1' 1 2 13 15 |
| 4250 |
} |
| 4251 |
# Create a (secure) tmp directory for tmp files. |
| 4252 |
|
| 4253 |
{ |
| 4254 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
| 4255 |
test -d "$tmp" |
| 4256 |
} || |
| 4257 |
{ |
| 4258 |
tmp=./conf$$-$RANDOM |
| 4259 |
(umask 077 && mkdir "$tmp") |
| 4260 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
| 4261 |
ac_tmp=$tmp |
| 4262 |
|
| 4263 |
# Set up the scripts for CONFIG_FILES section. |
| 4264 |
# No need to generate them if there are no CONFIG_FILES. |
| 4265 |
# This happens for instance with `./config.status config.h'. |
| 4266 |
if test -n "$CONFIG_FILES"; then |
| 4267 |
|
| 4268 |
|
| 4269 |
ac_cr=`echo X | tr X '\015'` |
| 4270 |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
| 4271 |
# But we know of no other shell where ac_cr would be empty at this |
| 4272 |
# point, so we can use a bashism as a fallback. |
| 4273 |
if test "x$ac_cr" = x; then |
| 4274 |
eval ac_cr=\$\'\\r\' |
| 4275 |
fi |
| 4276 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
| 4277 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
| 4278 |
ac_cs_awk_cr='\\r' |
| 4279 |
else |
| 4280 |
ac_cs_awk_cr=$ac_cr |
| 4281 |
fi |
| 4282 |
|
| 4283 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
| 4284 |
_ACEOF |
| 4285 |
|
| 4286 |
|
| 4287 |
{ |
| 4288 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
| 4289 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
| 4290 |
echo "_ACEOF" |
| 4291 |
} >conf$$subs.sh || |
| 4292 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 4293 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
| 4294 |
ac_delim='%!_!# ' |
| 4295 |
for ac_last_try in false false false false false :; do |
| 4296 |
. ./conf$$subs.sh || |
| 4297 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 4298 |
|
| 4299 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
| 4300 |
if test $ac_delim_n = $ac_delim_num; then |
| 4301 |
break |
| 4302 |
elif $ac_last_try; then |
| 4303 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
| 4304 |
else |
| 4305 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
| 4306 |
fi |
| 4307 |
done |
| 4308 |
rm -f conf$$subs.sh |
| 4309 |
|
| 4310 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4311 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
| 4312 |
_ACEOF |
| 4313 |
sed -n ' |
| 4314 |
h |
| 4315 |
s/^/S["/; s/!.*/"]=/ |
| 4316 |
p |
| 4317 |
g |
| 4318 |
s/^[^!]*!// |
| 4319 |
:repl |
| 4320 |
t repl |
| 4321 |
s/'"$ac_delim"'$// |
| 4322 |
t delim |
| 4323 |
:nl |
| 4324 |
h |
| 4325 |
s/\(.\{148\}\)..*/\1/ |
| 4326 |
t more1 |
| 4327 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
| 4328 |
p |
| 4329 |
n |
| 4330 |
b repl |
| 4331 |
:more1 |
| 4332 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 4333 |
p |
| 4334 |
g |
| 4335 |
s/.\{148\}// |
| 4336 |
t nl |
| 4337 |
:delim |
| 4338 |
h |
| 4339 |
s/\(.\{148\}\)..*/\1/ |
| 4340 |
t more2 |
| 4341 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
| 4342 |
p |
| 4343 |
b |
| 4344 |
:more2 |
| 4345 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
| 4346 |
p |
| 4347 |
g |
| 4348 |
s/.\{148\}// |
| 4349 |
t delim |
| 4350 |
' <conf$$subs.awk | sed ' |
| 4351 |
/^[^""]/{ |
| 4352 |
N |
| 4353 |
s/\n// |
| 4354 |
} |
| 4355 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
| 4356 |
rm -f conf$$subs.awk |
| 4357 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4358 |
_ACAWK |
| 4359 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
| 4360 |
for (key in S) S_is_set[key] = 1 |
| 4361 |
FS = "" |
| 4362 |
|
| 4363 |
} |
| 4364 |
{ |
| 4365 |
line = $ 0 |
| 4366 |
nfields = split(line, field, "@") |
| 4367 |
substed = 0 |
| 4368 |
len = length(field[1]) |
| 4369 |
for (i = 2; i < nfields; i++) { |
| 4370 |
key = field[i] |
| 4371 |
keylen = length(key) |
| 4372 |
if (S_is_set[key]) { |
| 4373 |
value = S[key] |
| 4374 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
| 4375 |
len += length(value) + length(field[++i]) |
| 4376 |
substed = 1 |
| 4377 |
} else |
| 4378 |
len += 1 + keylen |
| 4379 |
} |
| 4380 |
|
| 4381 |
print line |
| 4382 |
} |
| 4383 |
|
| 4384 |
_ACAWK |
| 4385 |
_ACEOF |
| 4386 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4387 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
| 4388 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
| 4389 |
else |
| 4390 |
cat |
| 4391 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
| 4392 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
| 4393 |
_ACEOF |
| 4394 |
|
| 4395 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
| 4396 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
| 4397 |
# trailing colons and then remove the whole line if VPATH becomes empty |
| 4398 |
# (actually we leave an empty line to preserve line numbers). |
| 4399 |
if test "x$srcdir" = x.; then |
| 4400 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
| 4401 |
h |
| 4402 |
s/// |
| 4403 |
s/^/:/ |
| 4404 |
s/[ ]*$/:/ |
| 4405 |
s/:\$(srcdir):/:/g |
| 4406 |
s/:\${srcdir}:/:/g |
| 4407 |
s/:@srcdir@:/:/g |
| 4408 |
s/^:*// |
| 4409 |
s/:*$// |
| 4410 |
x |
| 4411 |
s/\(=[ ]*\).*/\1/ |
| 4412 |
G |
| 4413 |
s/\n// |
| 4414 |
s/^[^=]*=[ ]*$// |
| 4415 |
}' |
| 4416 |
fi |
| 4417 |
|
| 4418 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4419 |
fi # test -n "$CONFIG_FILES" |
| 4420 |
|
| 4421 |
|
| 4422 |
eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" |
| 4423 |
shift |
| 4424 |
for ac_tag |
| 4425 |
do |
| 4426 |
case $ac_tag in |
| 4427 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
| 4428 |
esac |
| 4429 |
case $ac_mode$ac_tag in |
| 4430 |
:[FHL]*:*);; |
| 4431 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
| 4432 |
:[FH]-) ac_tag=-:-;; |
| 4433 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
| 4434 |
esac |
| 4435 |
ac_save_IFS=$IFS |
| 4436 |
IFS=: |
| 4437 |
set x $ac_tag |
| 4438 |
IFS=$ac_save_IFS |
| 4439 |
shift |
| 4440 |
ac_file=$1 |
| 4441 |
shift |
| 4442 |
|
| 4443 |
case $ac_mode in |
| 4444 |
:L) ac_source=$1;; |
| 4445 |
:[FH]) |
| 4446 |
ac_file_inputs= |
| 4447 |
for ac_f |
| 4448 |
do |
| 4449 |
case $ac_f in |
| 4450 |
-) ac_f="$ac_tmp/stdin";; |
| 4451 |
*) # Look for the file first in the build tree, then in the source tree |
| 4452 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
| 4453 |
# because $ac_f cannot contain `:'. |
| 4454 |
test -f "$ac_f" || |
| 4455 |
case $ac_f in |
| 4456 |
[\\/$]*) false;; |
| 4457 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
| 4458 |
esac || |
| 4459 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
| 4460 |
esac |
| 4461 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
| 4462 |
as_fn_append ac_file_inputs " '$ac_f'" |
| 4463 |
done |
| 4464 |
|
| 4465 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
| 4466 |
# use $as_me), people would be surprised to read: |
| 4467 |
# /* config.h. Generated by config.status. */ |
| 4468 |
configure_input='Generated from '` |
| 4469 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
| 4470 |
`' by configure.' |
| 4471 |
if test x"$ac_file" != x-; then |
| 4472 |
configure_input="$ac_file. $configure_input" |
| 4473 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
| 4474 |
$as_echo "$as_me: creating $ac_file" >&6;} |
| 4475 |
fi |
| 4476 |
# Neutralize special characters interpreted by sed in replacement strings. |
| 4477 |
case $configure_input in #( |
| 4478 |
*\&* | *\|* | *\\* ) |
| 4479 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
| 4480 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
| 4481 |
*) ac_sed_conf_input=$configure_input;; |
| 4482 |
esac |
| 4483 |
|
| 4484 |
case $ac_tag in |
| 4485 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
| 4486 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
| 4487 |
esac |
| 4488 |
;; |
| 4489 |
esac |
| 4490 |
|
| 4491 |
ac_dir=`$as_dirname -- "$ac_file" || |
| 4492 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
| 4493 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
| 4494 |
X"$ac_file" : 'X\(//\)$' \| \ |
| 4495 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
| 4496 |
$as_echo X"$ac_file" | |
| 4497 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
| 4498 |
s//\1/ |
| 4499 |
q |
| 4500 |
} |
| 4501 |
/^X\(\/\/\)[^/].*/{ |
| 4502 |
s//\1/ |
| 4503 |
q |
| 4504 |
} |
| 4505 |
/^X\(\/\/\)$/{ |
| 4506 |
s//\1/ |
| 4507 |
q |
| 4508 |
} |
| 4509 |
/^X\(\/\).*/{ |
| 4510 |
s//\1/ |
| 4511 |
q |
| 4512 |
} |
| 4513 |
s/.*/./; q'` |
| 4514 |
as_dir="$ac_dir"; as_fn_mkdir_p |
| 4515 |
ac_builddir=. |
| 4516 |
|
| 4517 |
case "$ac_dir" in |
| 4518 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 4519 |
*) |
| 4520 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
| 4521 |
# A ".." for each directory in $ac_dir_suffix. |
| 4522 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
| 4523 |
case $ac_top_builddir_sub in |
| 4524 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
| 4525 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
| 4526 |
esac ;; |
| 4527 |
esac |
| 4528 |
ac_abs_top_builddir=$ac_pwd |
| 4529 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
| 4530 |
# for backward compatibility: |
| 4531 |
ac_top_builddir=$ac_top_build_prefix |
| 4532 |
|
| 4533 |
case $srcdir in |
| 4534 |
.) # We are building in place. |
| 4535 |
ac_srcdir=. |
| 4536 |
ac_top_srcdir=$ac_top_builddir_sub |
| 4537 |
ac_abs_top_srcdir=$ac_pwd ;; |
| 4538 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
| 4539 |
ac_srcdir=$srcdir$ac_dir_suffix; |
| 4540 |
ac_top_srcdir=$srcdir |
| 4541 |
ac_abs_top_srcdir=$srcdir ;; |
| 4542 |
*) # Relative name. |
| 4543 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
| 4544 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
| 4545 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
| 4546 |
esac |
| 4547 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
| 4548 |
|
| 4549 |
|
| 4550 |
case $ac_mode in |
| 4551 |
:F) |
| 4552 |
# |
| 4553 |
# CONFIG_FILE |
| 4554 |
# |
| 4555 |
|
| 4556 |
case $INSTALL in |
| 4557 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
| 4558 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
| 4559 |
esac |
| 4560 |
ac_MKDIR_P=$MKDIR_P |
| 4561 |
case $MKDIR_P in |
| 4562 |
[\\/$]* | ?:[\\/]* ) ;; |
| 4563 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
| 4564 |
esac |
| 4565 |
_ACEOF |
| 4566 |
|
| 4567 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4568 |
# If the template does not know about datarootdir, expand it. |
| 4569 |
# FIXME: This hack should be removed a few years after 2.60. |
| 4570 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
| 4571 |
ac_sed_dataroot=' |
| 4572 |
/datarootdir/ { |
| 4573 |
p |
| 4574 |
q |
| 4575 |
} |
| 4576 |
/@datadir@/p |
| 4577 |
/@docdir@/p |
| 4578 |
/@infodir@/p |
| 4579 |
/@localedir@/p |
| 4580 |
/@mandir@/p' |
| 4581 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
| 4582 |
*datarootdir*) ac_datarootdir_seen=yes;; |
| 4583 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
| 4584 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
| 4585 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
| 4586 |
_ACEOF |
| 4587 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4588 |
ac_datarootdir_hack=' |
| 4589 |
s&@datadir@&$datadir&g |
| 4590 |
s&@docdir@&$docdir&g |
| 4591 |
s&@infodir@&$infodir&g |
| 4592 |
s&@localedir@&$localedir&g |
| 4593 |
s&@mandir@&$mandir&g |
| 4594 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
| 4595 |
esac |
| 4596 |
_ACEOF |
| 4597 |
|
| 4598 |
# Neutralize VPATH when `$srcdir' = `.'. |
| 4599 |
# Shell code in configure.ac might set extrasub. |
| 4600 |
# FIXME: do we really want to maintain this feature? |
| 4601 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
| 4602 |
ac_sed_extra="$ac_vpsub |
| 4603 |
$extrasub |
| 4604 |
_ACEOF |
| 4605 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
| 4606 |
:t |
| 4607 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
| 4608 |
s|@configure_input@|$ac_sed_conf_input|;t t |
| 4609 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
| 4610 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
| 4611 |
s&@srcdir@&$ac_srcdir&;t t |
| 4612 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
| 4613 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
| 4614 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
| 4615 |
s&@builddir@&$ac_builddir&;t t |
| 4616 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
| 4617 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
| 4618 |
s&@INSTALL@&$ac_INSTALL&;t t |
| 4619 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
| 4620 |
$ac_datarootdir_hack |
| 4621 |
" |
| 4622 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
| 4623 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 4624 |
|
| 4625 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
| 4626 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
| 4627 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
| 4628 |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
| 4629 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 4630 |
which seems to be undefined. Please make sure it is defined" >&5 |
| 4631 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
| 4632 |
which seems to be undefined. Please make sure it is defined" >&2;} |
| 4633 |
|
| 4634 |
rm -f "$ac_tmp/stdin" |
| 4635 |
case $ac_file in |
| 4636 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
| 4637 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
| 4638 |
esac \ |
| 4639 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
| 4640 |
;; |
| 4641 |
|
| 4642 |
|
| 4643 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
| 4644 |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
| 4645 |
;; |
| 4646 |
esac |
| 4647 |
|
| 4648 |
|
| 4649 |
case $ac_file$ac_mode in |
| 4650 |
"fix-makefile":C) "$PERL" -i -pe 's/ZZZZHACKZZZZ\s*=\s*//;$_="" if /\$\(error This Makefile must be /;s#(\$\(AUTOMAKE\) --foreign( Makefile)?)(?! && (\S+\s+)?./config)#\1 && \$(SHELL) ./config.status fix-makefile#;s#config\.status \$\@ \$\(am__depfiles_maybe\)#config.status \$\@ fix-makefile \$(am__depfiles_maybe)#;s#\t-\@?(test -z.* || )?rm -(r?)f (.*)#\t\$(TSU_V_RM) '"'"'\3'"'"' \$(TSU_V_CHOPPER)\n\t-\$(A''M_V_at)\1rm -\2f \3#;s#\t-\@?(test \. =.* || test -z.* || )rm -(r?)f (.*)#\t-@\1(\$(TSU_V_RM) '"'"'\3'"'"' \$(TSU_V_CHOPPER) ; rm -\2f \3)#;' Makefile |
| 4651 |
;; |
| 4652 |
|
| 4653 |
esac |
| 4654 |
done # for ac_tag |
| 4655 |
|
| 4656 |
|
| 4657 |
as_fn_exit 0 |
| 4658 |
_ACEOF |
| 4659 |
ac_clean_files=$ac_clean_files_save |
| 4660 |
|
| 4661 |
test $ac_write_fail = 0 || |
| 4662 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
| 4663 |
|
| 4664 |
|
| 4665 |
# configure is writing to config.log, and then calls config.status. |
| 4666 |
# config.status does its own redirection, appending to config.log. |
| 4667 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
| 4668 |
# by configure, so config.status won't be able to write to it; its |
| 4669 |
# output is simply discarded. So we exec the FD to /dev/null, |
| 4670 |
# effectively closing config.log, so it can be properly (re)opened and |
| 4671 |
# appended to by config.status. When coming back to configure, we |
| 4672 |
# need to make the FD available again. |
| 4673 |
if test "$no_create" != yes; then |
| 4674 |
ac_cs_success=: |
| 4675 |
ac_config_status_args= |
| 4676 |
test "$silent" = yes && |
| 4677 |
ac_config_status_args="$ac_config_status_args --quiet" |
| 4678 |
exec 5>/dev/null |
| 4679 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
| 4680 |
exec 5>>config.log |
| 4681 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
| 4682 |
# would make configure fail if this is the last instruction. |
| 4683 |
$ac_cs_success || as_fn_exit 1 |
| 4684 |
fi |
| 4685 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
| 4686 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
| 4687 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
| 4688 |
fi |
| 4689 |
|
| 4690 |
# |
| 4691 |
############################################################################ |
| 4692 |
# |
| 4693 |
# Display a status table |
| 4694 |
# |
| 4695 |
$as_echo |
| 4696 |
|
| 4697 |
if test "x$tsu_colour" = "xyes"; then : |
| 4698 |
echo $ECHO_N "~[35;1mOCR configuration status~[m$ECHO_C" | tr '~' '\033' |
| 4699 |
else |
| 4700 |
echo $ECHO_N "OCR configuration status$ECHO_C" |
| 4701 |
fi |
| 4702 |
$as_echo |
| 4703 |
# |
| 4704 |
$as_echo |
| 4705 |
|
| 4706 |
if test "x$tsu_colour" = "xyes"; then : |
| 4707 |
echo $ECHO_N "~[37;1mRequirements for all builds~[m$ECHO_C" | tr '~' '\033' |
| 4708 |
else |
| 4709 |
echo $ECHO_N "Requirements for all builds$ECHO_C" |
| 4710 |
fi |
| 4711 |
$as_echo |
| 4712 |
$as_echo_n "FontAnvil " |
| 4713 |
if test "x$FONTANVIL" = "x"; then : |
| 4714 |
|
| 4715 |
if test "x$tsu_colour" = "xyes"; then : |
| 4716 |
echo $ECHO_N "~[31;1mno~[m$ECHO_C" | tr '~' '\033' |
| 4717 |
else |
| 4718 |
echo $ECHO_N "no$ECHO_C" |
| 4719 |
fi |
| 4720 |
|
| 4721 |
$as_echo_n " http://tsukurimashou.osdn.jp/" |
| 4722 |
else |
| 4723 |
|
| 4724 |
if test "x$tsu_colour" = "xyes"; then : |
| 4725 |
echo $ECHO_N "~[32;1myes~[m$ECHO_C" | tr '~' '\033' |
| 4726 |
else |
| 4727 |
echo $ECHO_N "yes$ECHO_C" |
| 4728 |
fi |
| 4729 |
|
| 4730 |
fi |
| 4731 |
$as_echo |
| 4732 |
$as_echo_n "MetaPost " |
| 4733 |
if test "x$MPOST" = "x"; then : |
| 4734 |
|
| 4735 |
if test "x$tsu_colour" = "xyes"; then : |
| 4736 |
echo $ECHO_N "~[31;1mno~[m$ECHO_C" | tr '~' '\033' |
| 4737 |
else |
| 4738 |
echo $ECHO_N "no$ECHO_C" |
| 4739 |
fi |
| 4740 |
|
| 4741 |
$as_echo_n " http://tug.org/" |
| 4742 |
else |
| 4743 |
|
| 4744 |
if test "x$tsu_colour" = "xyes"; then : |
| 4745 |
echo $ECHO_N "~[32;1myes~[m$ECHO_C" | tr '~' '\033' |
| 4746 |
else |
| 4747 |
echo $ECHO_N "yes$ECHO_C" |
| 4748 |
fi |
| 4749 |
|
| 4750 |
fi |
| 4751 |
$as_echo |
| 4752 |
$as_echo_n "perl " |
| 4753 |
if test "x$PERL" = "x"; then : |
| 4754 |
|
| 4755 |
if test "x$tsu_colour" = "xyes"; then : |
| 4756 |
echo $ECHO_N "~[31;1mno~[m$ECHO_C" | tr '~' '\033' |
| 4757 |
else |
| 4758 |
echo $ECHO_N "no$ECHO_C" |
| 4759 |
fi |
| 4760 |
|
| 4761 |
$as_echo_n " http://perl.org/" |
| 4762 |
else |
| 4763 |
|
| 4764 |
if test "x$tsu_colour" = "xyes"; then : |
| 4765 |
echo $ECHO_N "~[32;1myes~[m$ECHO_C" | tr '~' '\033' |
| 4766 |
else |
| 4767 |
echo $ECHO_N "yes$ECHO_C" |
| 4768 |
fi |
| 4769 |
|
| 4770 |
fi |
| 4771 |
$as_echo |
| 4772 |
# |
| 4773 |
$as_echo |
| 4774 |
|
| 4775 |
if test "x$tsu_colour" = "xyes"; then : |
| 4776 |
echo $ECHO_N "~[37;1mOptional items~[m$ECHO_C" | tr '~' '\033' |
| 4777 |
else |
| 4778 |
echo $ECHO_N "Optional items$ECHO_C" |
| 4779 |
fi |
| 4780 |
$as_echo |
| 4781 |
$as_echo_n "kleknev " |
| 4782 |
if test "x$KLEKNEV" = "x"; then : |
| 4783 |
|
| 4784 |
if test "x$tsu_colour" = "xyes"; then : |
| 4785 |
echo $ECHO_N "~[33;1mno~[m$ECHO_C" | tr '~' '\033' |
| 4786 |
else |
| 4787 |
echo $ECHO_N "no$ECHO_C" |
| 4788 |
fi |
| 4789 |
|
| 4790 |
$as_echo_n " https://tsukurimashou.osdn.jp/" |
| 4791 |
else |
| 4792 |
if test "x$KLEKNEV" = "x/bin/sh"; then : |
| 4793 |
|
| 4794 |
if test "x$tsu_colour" = "xyes"; then : |
| 4795 |
echo $ECHO_N "~[33;1mno~[m$ECHO_C" | tr '~' '\033' |
| 4796 |
else |
| 4797 |
echo $ECHO_N "no$ECHO_C" |
| 4798 |
fi |
| 4799 |
|
| 4800 |
$as_echo_n " https://tsukurimashou.osdn.jp/" |
| 4801 |
else |
| 4802 |
|
| 4803 |
if test "x$tsu_colour" = "xyes"; then : |
| 4804 |
echo $ECHO_N "~[32;1myes~[m$ECHO_C" | tr '~' '\033' |
| 4805 |
else |
| 4806 |
echo $ECHO_N "yes$ECHO_C" |
| 4807 |
fi |
| 4808 |
|
| 4809 |
fi |
| 4810 |
fi |
| 4811 |
$as_echo |
| 4812 |
$as_echo_n "XeLaTeX " |
| 4813 |
if test "x$XELATEX" = "x"; then : |
| 4814 |
|
| 4815 |
if test "x$tsu_colour" = "xyes"; then : |
| 4816 |
echo $ECHO_N "~[33;1mno~[m$ECHO_C" | tr '~' '\033' |
| 4817 |
else |
| 4818 |
echo $ECHO_N "no$ECHO_C" |
| 4819 |
fi |
| 4820 |
|
| 4821 |
$as_echo_n " http://tug.org/" |
| 4822 |
else |
| 4823 |
|
| 4824 |
if test "x$tsu_colour" = "xyes"; then : |
| 4825 |
echo $ECHO_N "~[32;1myes~[m$ECHO_C" | tr '~' '\033' |
| 4826 |
else |
| 4827 |
echo $ECHO_N "yes$ECHO_C" |
| 4828 |
fi |
| 4829 |
|
| 4830 |
fi |
| 4831 |
$as_echo |
| 4832 |
$as_echo |
| 4833 |
if test "x$has_bad_paths" = "xyes"; then : |
| 4834 |
$as_echo |
| 4835 |
$as_echo "The following pathnames contain illegal characters, such as spaces:" |
| 4836 |
$as_echo "$all_bad_paths" |
| 4837 |
$as_echo "Autotools-based build systems like this one cannot be expected to work" |
| 4838 |
$as_echo "with such pathnames. The system will attempt to continue anyway, but it" |
| 4839 |
$as_echo "is quite likely to fail. It would be better to eliminate all illegal" |
| 4840 |
$as_echo "characters from pathnames before continuing." |
| 4841 |
|
| 4842 |
fi |
| 4843 |
if test "x$parasite" = "xyes"; then : |
| 4844 |
|
| 4845 |
if test "x$tsu_colour" = "xyes"; then : |
| 4846 |
echo $ECHO_N "~[36;1mParasite build enabled.~[m$ECHO_C" | tr '~' '\033' |
| 4847 |
else |
| 4848 |
echo $ECHO_N "Parasite build enabled.$ECHO_C" |
| 4849 |
fi |
| 4850 |
|
| 4851 |
$as_echo |
| 4852 |
fi |