[13703] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
[25148] | 3 | # Generated by GNU Autoconf 2.63.
|
---|
[13703] | 4 | #
|
---|
[22379] | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
[25148] | 6 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
---|
[13703] | 7 | # This configure script is free software; the Free Software Foundation
|
---|
| 8 | # gives unlimited permission to copy, distribute and modify it.
|
---|
[25148] | 9 | ## --------------------- ##
|
---|
| 10 | ## M4sh Initialization. ##
|
---|
| 11 | ## --------------------- ##
|
---|
[13703] | 12 |
|
---|
[22379] | 13 | # Be more Bourne compatible
|
---|
| 14 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[25148] | 15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
[13703] | 16 | emulate sh
|
---|
| 17 | NULLCMD=:
|
---|
[22379] | 18 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[13703] | 19 | # is contrary to our usage. Disable this feature.
|
---|
| 20 | alias -g '${1+"$@"}'='"$@"'
|
---|
[22379] | 21 | setopt NO_GLOB_SUBST
|
---|
| 22 | else
|
---|
[25148] | 23 | case `(set -o) 2>/dev/null` in
|
---|
| 24 | *posix*) set -o posix ;;
|
---|
[22379] | 25 | esac
|
---|
[25148] | 26 |
|
---|
[13703] | 27 | fi
|
---|
| 28 |
|
---|
[22379] | 29 |
|
---|
[25148] | 30 |
|
---|
| 31 |
|
---|
| 32 | # PATH needs CR
|
---|
| 33 | # Avoid depending upon Character Ranges.
|
---|
| 34 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 35 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 36 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 37 | as_cr_digits='0123456789'
|
---|
| 38 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
| 39 |
|
---|
[22379] | 40 | as_nl='
|
---|
| 41 | '
|
---|
| 42 | export as_nl
|
---|
| 43 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 44 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 45 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 46 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
[25148] | 47 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
[22379] | 48 | as_echo='printf %s\n'
|
---|
| 49 | as_echo_n='printf %s'
|
---|
[13703] | 50 | else
|
---|
[22379] | 51 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 52 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 53 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 54 | else
|
---|
| 55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 56 | as_echo_n_body='eval
|
---|
| 57 | arg=$1;
|
---|
[25148] | 58 | case $arg in
|
---|
[22379] | 59 | *"$as_nl"*)
|
---|
| 60 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 62 | esac;
|
---|
| 63 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 64 | '
|
---|
| 65 | export as_echo_n_body
|
---|
| 66 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 67 | fi
|
---|
| 68 | export as_echo_body
|
---|
| 69 | as_echo='sh -c $as_echo_body as_echo'
|
---|
[13703] | 70 | fi
|
---|
| 71 |
|
---|
[22379] | 72 | # The user is always right.
|
---|
| 73 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 74 | PATH_SEPARATOR=:
|
---|
| 75 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 76 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 77 | PATH_SEPARATOR=';'
|
---|
| 78 | }
|
---|
| 79 | fi
|
---|
[13703] | 80 |
|
---|
[25148] | 81 | # Support unset when possible.
|
---|
| 82 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
| 83 | as_unset=unset
|
---|
| 84 | else
|
---|
| 85 | as_unset=false
|
---|
| 86 | fi
|
---|
[22379] | 87 |
|
---|
[25148] | 88 |
|
---|
[22379] | 89 | # IFS
|
---|
| 90 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 91 | # there to prevent editors from complaining about space-tab.
|
---|
| 92 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 93 | # splitting by setting IFS to empty value.)
|
---|
| 94 | IFS=" "" $as_nl"
|
---|
| 95 |
|
---|
| 96 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
[25148] | 97 | case $0 in
|
---|
[22379] | 98 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 99 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 100 | for as_dir in $PATH
|
---|
| 101 | do
|
---|
| 102 | IFS=$as_save_IFS
|
---|
| 103 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 104 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 105 | done
|
---|
[22379] | 106 | IFS=$as_save_IFS
|
---|
| 107 |
|
---|
| 108 | ;;
|
---|
| 109 | esac
|
---|
| 110 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 111 | # in which case we are not to be found in the path.
|
---|
| 112 | if test "x$as_myself" = x; then
|
---|
| 113 | as_myself=$0
|
---|
| 114 | fi
|
---|
| 115 | if test ! -f "$as_myself"; then
|
---|
| 116 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
[25148] | 117 | { (exit 1); exit 1; }
|
---|
[22379] | 118 | fi
|
---|
| 119 |
|
---|
[25148] | 120 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
| 121 | for as_var in ENV MAIL MAILPATH
|
---|
| 122 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
[22379] | 123 | done
|
---|
[13703] | 124 | PS1='$ '
|
---|
| 125 | PS2='> '
|
---|
| 126 | PS4='+ '
|
---|
| 127 |
|
---|
| 128 | # NLS nuisances.
|
---|
[22379] | 129 | LC_ALL=C
|
---|
| 130 | export LC_ALL
|
---|
| 131 | LANGUAGE=C
|
---|
| 132 | export LANGUAGE
|
---|
| 133 |
|
---|
[25148] | 134 | # Required to use basename.
|
---|
| 135 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 136 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
| 137 | as_expr=expr
|
---|
| 138 | else
|
---|
| 139 | as_expr=false
|
---|
| 140 | fi
|
---|
| 141 |
|
---|
| 142 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
| 143 | as_basename=basename
|
---|
| 144 | else
|
---|
| 145 | as_basename=false
|
---|
| 146 | fi
|
---|
| 147 |
|
---|
| 148 |
|
---|
| 149 | # Name of the executable.
|
---|
| 150 | as_me=`$as_basename -- "$0" ||
|
---|
| 151 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 152 | X"$0" : 'X\(//\)$' \| \
|
---|
| 153 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 154 | $as_echo X/"$0" |
|
---|
| 155 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 156 | s//\1/
|
---|
| 157 | q
|
---|
| 158 | }
|
---|
| 159 | /^X\/\(\/\/\)$/{
|
---|
| 160 | s//\1/
|
---|
| 161 | q
|
---|
| 162 | }
|
---|
| 163 | /^X\/\(\/\).*/{
|
---|
| 164 | s//\1/
|
---|
| 165 | q
|
---|
| 166 | }
|
---|
| 167 | s/.*/./; q'`
|
---|
| 168 |
|
---|
[22379] | 169 | # CDPATH.
|
---|
[25148] | 170 | $as_unset CDPATH
|
---|
[22379] | 171 |
|
---|
[25148] | 172 |
|
---|
[22379] | 173 | if test "x$CONFIG_SHELL" = x; then
|
---|
[25148] | 174 | if (eval ":") 2>/dev/null; then
|
---|
| 175 | as_have_required=yes
|
---|
[22379] | 176 | else
|
---|
[25148] | 177 | as_have_required=no
|
---|
[22379] | 178 | fi
|
---|
| 179 |
|
---|
[25148] | 180 | if test $as_have_required = yes && (eval ":
|
---|
| 181 | (as_func_return () {
|
---|
| 182 | (exit \$1)
|
---|
| 183 | }
|
---|
| 184 | as_func_success () {
|
---|
| 185 | as_func_return 0
|
---|
| 186 | }
|
---|
| 187 | as_func_failure () {
|
---|
| 188 | as_func_return 1
|
---|
| 189 | }
|
---|
| 190 | as_func_ret_success () {
|
---|
| 191 | return 0
|
---|
| 192 | }
|
---|
| 193 | as_func_ret_failure () {
|
---|
| 194 | return 1
|
---|
| 195 | }
|
---|
| 196 |
|
---|
[22379] | 197 | exitcode=0
|
---|
[25148] | 198 | if as_func_success; then
|
---|
| 199 | :
|
---|
| 200 | else
|
---|
| 201 | exitcode=1
|
---|
| 202 | echo as_func_success failed.
|
---|
| 203 | fi
|
---|
[22379] | 204 |
|
---|
[25148] | 205 | if as_func_failure; then
|
---|
| 206 | exitcode=1
|
---|
| 207 | echo as_func_failure succeeded.
|
---|
| 208 | fi
|
---|
| 209 |
|
---|
| 210 | if as_func_ret_success; then
|
---|
| 211 | :
|
---|
[22379] | 212 | else
|
---|
[25148] | 213 | exitcode=1
|
---|
| 214 | echo as_func_ret_success failed.
|
---|
[22379] | 215 | fi
|
---|
[25148] | 216 |
|
---|
| 217 | if as_func_ret_failure; then
|
---|
| 218 | exitcode=1
|
---|
| 219 | echo as_func_ret_failure succeeded.
|
---|
| 220 | fi
|
---|
| 221 |
|
---|
| 222 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
---|
| 223 | :
|
---|
[22379] | 224 | else
|
---|
[25148] | 225 | exitcode=1
|
---|
| 226 | echo positional parameters were not saved.
|
---|
[22379] | 227 | fi
|
---|
| 228 |
|
---|
[25148] | 229 | test \$exitcode = 0) || { (exit 1); exit 1; }
|
---|
| 230 |
|
---|
| 231 | (
|
---|
| 232 | as_lineno_1=\$LINENO
|
---|
| 233 | as_lineno_2=\$LINENO
|
---|
| 234 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
---|
| 235 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
---|
| 236 | ") 2> /dev/null; then
|
---|
| 237 | :
|
---|
[22379] | 238 | else
|
---|
[25148] | 239 | as_candidate_shells=
|
---|
| 240 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
[22379] | 241 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
[13703] | 242 | do
|
---|
[22379] | 243 | IFS=$as_save_IFS
|
---|
| 244 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 245 | case $as_dir in
|
---|
[22379] | 246 | /*)
|
---|
| 247 | for as_base in sh bash ksh sh5; do
|
---|
[25148] | 248 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
---|
[22379] | 249 | done;;
|
---|
| 250 | esac
|
---|
| 251 | done
|
---|
| 252 | IFS=$as_save_IFS
|
---|
| 253 |
|
---|
| 254 |
|
---|
[25148] | 255 | for as_shell in $as_candidate_shells $SHELL; do
|
---|
| 256 | # Try only shells that exist, to save several forks.
|
---|
| 257 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
---|
| 258 | { ("$as_shell") 2> /dev/null <<\_ASEOF
|
---|
| 259 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 260 | emulate sh
|
---|
| 261 | NULLCMD=:
|
---|
| 262 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
| 263 | # is contrary to our usage. Disable this feature.
|
---|
| 264 | alias -g '${1+"$@"}'='"$@"'
|
---|
| 265 | setopt NO_GLOB_SUBST
|
---|
| 266 | else
|
---|
| 267 | case `(set -o) 2>/dev/null` in
|
---|
| 268 | *posix*) set -o posix ;;
|
---|
| 269 | esac
|
---|
| 270 |
|
---|
[22379] | 271 | fi
|
---|
| 272 |
|
---|
[25148] | 273 |
|
---|
| 274 | :
|
---|
| 275 | _ASEOF
|
---|
| 276 | }; then
|
---|
| 277 | CONFIG_SHELL=$as_shell
|
---|
| 278 | as_have_required=yes
|
---|
| 279 | if { "$as_shell" 2> /dev/null <<\_ASEOF
|
---|
| 280 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 281 | emulate sh
|
---|
| 282 | NULLCMD=:
|
---|
| 283 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
| 284 | # is contrary to our usage. Disable this feature.
|
---|
| 285 | alias -g '${1+"$@"}'='"$@"'
|
---|
| 286 | setopt NO_GLOB_SUBST
|
---|
| 287 | else
|
---|
| 288 | case `(set -o) 2>/dev/null` in
|
---|
| 289 | *posix*) set -o posix ;;
|
---|
| 290 | esac
|
---|
| 291 |
|
---|
[22379] | 292 | fi
|
---|
[25148] | 293 |
|
---|
| 294 |
|
---|
| 295 | :
|
---|
| 296 | (as_func_return () {
|
---|
| 297 | (exit $1)
|
---|
| 298 | }
|
---|
| 299 | as_func_success () {
|
---|
| 300 | as_func_return 0
|
---|
| 301 | }
|
---|
| 302 | as_func_failure () {
|
---|
| 303 | as_func_return 1
|
---|
| 304 | }
|
---|
| 305 | as_func_ret_success () {
|
---|
| 306 | return 0
|
---|
| 307 | }
|
---|
| 308 | as_func_ret_failure () {
|
---|
| 309 | return 1
|
---|
| 310 | }
|
---|
| 311 |
|
---|
| 312 | exitcode=0
|
---|
| 313 | if as_func_success; then
|
---|
| 314 | :
|
---|
| 315 | else
|
---|
| 316 | exitcode=1
|
---|
| 317 | echo as_func_success failed.
|
---|
[22379] | 318 | fi
|
---|
[25148] | 319 |
|
---|
| 320 | if as_func_failure; then
|
---|
| 321 | exitcode=1
|
---|
| 322 | echo as_func_failure succeeded.
|
---|
[22379] | 323 | fi
|
---|
[13703] | 324 |
|
---|
[25148] | 325 | if as_func_ret_success; then
|
---|
| 326 | :
|
---|
| 327 | else
|
---|
| 328 | exitcode=1
|
---|
| 329 | echo as_func_ret_success failed.
|
---|
| 330 | fi
|
---|
[22379] | 331 |
|
---|
[25148] | 332 | if as_func_ret_failure; then
|
---|
| 333 | exitcode=1
|
---|
| 334 | echo as_func_ret_failure succeeded.
|
---|
| 335 | fi
|
---|
[22379] | 336 |
|
---|
[25148] | 337 | if ( set x; as_func_ret_success y && test x = "$1" ); then
|
---|
| 338 | :
|
---|
| 339 | else
|
---|
| 340 | exitcode=1
|
---|
| 341 | echo positional parameters were not saved.
|
---|
| 342 | fi
|
---|
[22379] | 343 |
|
---|
[25148] | 344 | test $exitcode = 0) || { (exit 1); exit 1; }
|
---|
[22379] | 345 |
|
---|
[25148] | 346 | (
|
---|
| 347 | as_lineno_1=$LINENO
|
---|
| 348 | as_lineno_2=$LINENO
|
---|
| 349 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 350 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
---|
[22379] | 351 |
|
---|
[25148] | 352 | _ASEOF
|
---|
| 353 | }; then
|
---|
| 354 | break
|
---|
| 355 | fi
|
---|
[22379] | 356 |
|
---|
[25148] | 357 | fi
|
---|
[22379] | 358 |
|
---|
[25148] | 359 | done
|
---|
[22379] | 360 |
|
---|
[25148] | 361 | if test "x$CONFIG_SHELL" != x; then
|
---|
| 362 | for as_var in BASH_ENV ENV
|
---|
| 363 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
| 364 | done
|
---|
| 365 | export CONFIG_SHELL
|
---|
| 366 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
---|
| 367 | fi
|
---|
[22379] | 368 |
|
---|
| 369 |
|
---|
[25148] | 370 | if test $as_have_required = no; then
|
---|
| 371 | echo This script requires a shell more modern than all the
|
---|
| 372 | echo shells that I found on your system. Please install a
|
---|
| 373 | echo modern shell, or manually run the script under such a
|
---|
| 374 | echo shell if you do have one.
|
---|
| 375 | { (exit 1); exit 1; }
|
---|
| 376 | fi
|
---|
| 377 |
|
---|
| 378 |
|
---|
| 379 | fi
|
---|
| 380 |
|
---|
| 381 | fi
|
---|
| 382 |
|
---|
| 383 |
|
---|
| 384 |
|
---|
| 385 | (eval "as_func_return () {
|
---|
| 386 | (exit \$1)
|
---|
| 387 | }
|
---|
| 388 | as_func_success () {
|
---|
| 389 | as_func_return 0
|
---|
| 390 | }
|
---|
| 391 | as_func_failure () {
|
---|
| 392 | as_func_return 1
|
---|
| 393 | }
|
---|
| 394 | as_func_ret_success () {
|
---|
| 395 | return 0
|
---|
| 396 | }
|
---|
| 397 | as_func_ret_failure () {
|
---|
| 398 | return 1
|
---|
| 399 | }
|
---|
| 400 |
|
---|
| 401 | exitcode=0
|
---|
| 402 | if as_func_success; then
|
---|
| 403 | :
|
---|
[13703] | 404 | else
|
---|
[25148] | 405 | exitcode=1
|
---|
| 406 | echo as_func_success failed.
|
---|
[13703] | 407 | fi
|
---|
| 408 |
|
---|
[25148] | 409 | if as_func_failure; then
|
---|
| 410 | exitcode=1
|
---|
| 411 | echo as_func_failure succeeded.
|
---|
| 412 | fi
|
---|
| 413 |
|
---|
| 414 | if as_func_ret_success; then
|
---|
| 415 | :
|
---|
[13703] | 416 | else
|
---|
[25148] | 417 | exitcode=1
|
---|
| 418 | echo as_func_ret_success failed.
|
---|
[13703] | 419 | fi
|
---|
| 420 |
|
---|
[25148] | 421 | if as_func_ret_failure; then
|
---|
| 422 | exitcode=1
|
---|
| 423 | echo as_func_ret_failure succeeded.
|
---|
| 424 | fi
|
---|
| 425 |
|
---|
| 426 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
---|
| 427 | :
|
---|
[22379] | 428 | else
|
---|
[25148] | 429 | exitcode=1
|
---|
| 430 | echo positional parameters were not saved.
|
---|
[22379] | 431 | fi
|
---|
[13703] | 432 |
|
---|
[25148] | 433 | test \$exitcode = 0") || {
|
---|
| 434 | echo No shell found that supports shell functions.
|
---|
| 435 | echo Please tell [email protected] about your system,
|
---|
| 436 | echo including any error possibly output before this message.
|
---|
| 437 | echo This can help us improve future autoconf versions.
|
---|
| 438 | echo Configuration will now proceed without shell functions.
|
---|
| 439 | }
|
---|
[13703] | 440 |
|
---|
| 441 |
|
---|
| 442 |
|
---|
[25148] | 443 | as_lineno_1=$LINENO
|
---|
| 444 | as_lineno_2=$LINENO
|
---|
| 445 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 446 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
---|
| 447 |
|
---|
| 448 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
| 449 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
| 450 | # line-number line after each line using $LINENO; the second 'sed'
|
---|
| 451 | # does the real work. The second script uses 'N' to pair each
|
---|
| 452 | # line-number line with the line containing $LINENO, and appends
|
---|
| 453 | # trailing '-' during substitution so that $LINENO is not a special
|
---|
| 454 | # case at line end.
|
---|
| 455 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
| 456 | # scripts with optimization help from Paolo Bonzini. Blame Lee
|
---|
| 457 | # E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
[22379] | 458 | sed -n '
|
---|
| 459 | p
|
---|
| 460 | /[$]LINENO/=
|
---|
| 461 | ' <$as_myself |
|
---|
[13703] | 462 | sed '
|
---|
[22379] | 463 | s/[$]LINENO.*/&-/
|
---|
| 464 | t lineno
|
---|
| 465 | b
|
---|
| 466 | :lineno
|
---|
[13703] | 467 | N
|
---|
[22379] | 468 | :loop
|
---|
| 469 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
[13703] | 470 | t loop
|
---|
[22379] | 471 | s/-\n.*//
|
---|
[13703] | 472 | ' >$as_me.lineno &&
|
---|
[22379] | 473 | chmod +x "$as_me.lineno" ||
|
---|
[25148] | 474 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
---|
| 475 | { (exit 1); exit 1; }; }
|
---|
[13703] | 476 |
|
---|
| 477 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 478 | # (the dirname of $[0] is not the place where we might find the
|
---|
[22379] | 479 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 480 | . "./$as_me.lineno"
|
---|
[13703] | 481 | # Exit status is that of the last command.
|
---|
| 482 | exit
|
---|
| 483 | }
|
---|
| 484 |
|
---|
[25148] | 485 |
|
---|
| 486 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 487 | as_dirname=dirname
|
---|
| 488 | else
|
---|
| 489 | as_dirname=false
|
---|
| 490 | fi
|
---|
| 491 |
|
---|
[22379] | 492 | ECHO_C= ECHO_N= ECHO_T=
|
---|
[25148] | 493 | case `echo -n x` in
|
---|
[22379] | 494 | -n*)
|
---|
[25148] | 495 | case `echo 'x\c'` in
|
---|
[22379] | 496 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
[25148] | 497 | *) ECHO_C='\c';;
|
---|
[22379] | 498 | esac;;
|
---|
| 499 | *)
|
---|
| 500 | ECHO_N='-n';;
|
---|
[13703] | 501 | esac
|
---|
[25148] | 502 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 503 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
| 504 | as_expr=expr
|
---|
| 505 | else
|
---|
| 506 | as_expr=false
|
---|
| 507 | fi
|
---|
[13703] | 508 |
|
---|
[22379] | 509 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 510 | if test -d conf$$.dir; then
|
---|
| 511 | rm -f conf$$.dir/conf$$.file
|
---|
[13703] | 512 | else
|
---|
[22379] | 513 | rm -f conf$$.dir
|
---|
| 514 | mkdir conf$$.dir 2>/dev/null
|
---|
[13703] | 515 | fi
|
---|
[22379] | 516 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 517 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 518 | as_ln_s='ln -s'
|
---|
| 519 | # ... but there are two gotchas:
|
---|
| 520 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 521 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 522 | # In both cases, we have to default to `cp -p'.
|
---|
| 523 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 524 | as_ln_s='cp -p'
|
---|
| 525 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 526 | as_ln_s=ln
|
---|
| 527 | else
|
---|
[13703] | 528 | as_ln_s='cp -p'
|
---|
[20832] | 529 | fi
|
---|
[13703] | 530 | else
|
---|
| 531 | as_ln_s='cp -p'
|
---|
| 532 | fi
|
---|
[22379] | 533 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 534 | rmdir conf$$.dir 2>/dev/null
|
---|
[13703] | 535 |
|
---|
| 536 | if mkdir -p . 2>/dev/null; then
|
---|
[25148] | 537 | as_mkdir_p=:
|
---|
[13703] | 538 | else
|
---|
| 539 | test -d ./-p && rmdir ./-p
|
---|
| 540 | as_mkdir_p=false
|
---|
| 541 | fi
|
---|
| 542 |
|
---|
[22379] | 543 | if test -x / >/dev/null 2>&1; then
|
---|
| 544 | as_test_x='test -x'
|
---|
| 545 | else
|
---|
| 546 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 547 | as_ls_L_option=L
|
---|
| 548 | else
|
---|
| 549 | as_ls_L_option=
|
---|
| 550 | fi
|
---|
| 551 | as_test_x='
|
---|
| 552 | eval sh -c '\''
|
---|
| 553 | if test -d "$1"; then
|
---|
| 554 | test -d "$1/.";
|
---|
| 555 | else
|
---|
[25148] | 556 | case $1 in
|
---|
[22379] | 557 | -*)set "./$1";;
|
---|
| 558 | esac;
|
---|
[25148] | 559 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
---|
[22379] | 560 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 561 | '\'' sh
|
---|
| 562 | '
|
---|
| 563 | fi
|
---|
| 564 | as_executable_p=$as_test_x
|
---|
[13703] | 565 |
|
---|
| 566 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 567 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 568 |
|
---|
| 569 | # Sed expression to map a string onto a valid variable name.
|
---|
| 570 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 571 |
|
---|
| 572 |
|
---|
| 573 |
|
---|
[25148] | 574 | exec 7<&0 </dev/null 6>&1
|
---|
| 575 |
|
---|
[13703] | 576 | # Name of the host.
|
---|
[25148] | 577 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
---|
[13703] | 578 | # so uname gets run too.
|
---|
| 579 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 580 |
|
---|
| 581 | #
|
---|
| 582 | # Initializations.
|
---|
| 583 | #
|
---|
| 584 | ac_default_prefix=/usr/local
|
---|
[22379] | 585 | ac_clean_files=
|
---|
[13703] | 586 | ac_config_libobj_dir=.
|
---|
[22379] | 587 | LIBOBJS=
|
---|
[13703] | 588 | cross_compiling=no
|
---|
| 589 | subdirs=
|
---|
| 590 | MFLAGS=
|
---|
| 591 | MAKEFLAGS=
|
---|
[25148] | 592 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
[13703] | 593 |
|
---|
| 594 | # Identity of this package.
|
---|
| 595 | PACKAGE_NAME=
|
---|
| 596 | PACKAGE_TARNAME=
|
---|
| 597 | PACKAGE_VERSION=
|
---|
| 598 | PACKAGE_STRING=
|
---|
| 599 | PACKAGE_BUGREPORT=
|
---|
| 600 |
|
---|
[22379] | 601 | enable_option_checking=no
|
---|
| 602 | ac_subst_vars='LTLIBOBJS
|
---|
| 603 | LIBOBJS
|
---|
| 604 | subdirs
|
---|
| 605 | uudecode
|
---|
| 606 | JAVA
|
---|
[23356] | 607 | JAVACFLAGS
|
---|
[22379] | 608 | JAVAC
|
---|
| 609 | ENABLE_LUCENE
|
---|
| 610 | ENABLE_MGPP
|
---|
| 611 | ENABLE_MG
|
---|
| 612 | ENABLE_JNI
|
---|
| 613 | ENABLE_ACCENTFOLD
|
---|
[26156] | 614 | ARCH_DEP_FLAGS
|
---|
[23356] | 615 | ENABLE_JAVA
|
---|
[22379] | 616 | target_alias
|
---|
| 617 | host_alias
|
---|
| 618 | build_alias
|
---|
| 619 | LIBS
|
---|
| 620 | ECHO_T
|
---|
| 621 | ECHO_N
|
---|
| 622 | ECHO_C
|
---|
| 623 | DEFS
|
---|
| 624 | mandir
|
---|
| 625 | localedir
|
---|
| 626 | libdir
|
---|
| 627 | psdir
|
---|
| 628 | pdfdir
|
---|
| 629 | dvidir
|
---|
| 630 | htmldir
|
---|
| 631 | infodir
|
---|
| 632 | docdir
|
---|
| 633 | oldincludedir
|
---|
| 634 | includedir
|
---|
| 635 | localstatedir
|
---|
| 636 | sharedstatedir
|
---|
| 637 | sysconfdir
|
---|
| 638 | datadir
|
---|
| 639 | datarootdir
|
---|
| 640 | libexecdir
|
---|
| 641 | sbindir
|
---|
| 642 | bindir
|
---|
| 643 | program_transform_name
|
---|
| 644 | prefix
|
---|
| 645 | exec_prefix
|
---|
| 646 | PACKAGE_BUGREPORT
|
---|
| 647 | PACKAGE_STRING
|
---|
| 648 | PACKAGE_VERSION
|
---|
| 649 | PACKAGE_TARNAME
|
---|
| 650 | PACKAGE_NAME
|
---|
| 651 | PATH_SEPARATOR
|
---|
| 652 | SHELL'
|
---|
[13703] | 653 | ac_subst_files=''
|
---|
[22379] | 654 | ac_user_opts='
|
---|
| 655 | enable_option_checking
|
---|
[23356] | 656 | enable_java
|
---|
[22379] | 657 | enable_accentfold
|
---|
| 658 | enable_jni
|
---|
| 659 | enable_mg
|
---|
| 660 | enable_mgpp
|
---|
| 661 | enable_lucene
|
---|
| 662 | with_unac
|
---|
| 663 | with_libiconv
|
---|
| 664 | '
|
---|
| 665 | ac_precious_vars='build_alias
|
---|
| 666 | host_alias
|
---|
| 667 | target_alias'
|
---|
| 668 | ac_subdirs_all='packages/unac
|
---|
| 669 | mg
|
---|
| 670 | mgpp'
|
---|
[13703] | 671 |
|
---|
| 672 | # Initialize some variables set by options.
|
---|
| 673 | ac_init_help=
|
---|
| 674 | ac_init_version=false
|
---|
[22379] | 675 | ac_unrecognized_opts=
|
---|
| 676 | ac_unrecognized_sep=
|
---|
[13703] | 677 | # The variables have the same names as the options, with
|
---|
| 678 | # dashes changed to underlines.
|
---|
| 679 | cache_file=/dev/null
|
---|
| 680 | exec_prefix=NONE
|
---|
| 681 | no_create=
|
---|
| 682 | no_recursion=
|
---|
| 683 | prefix=NONE
|
---|
| 684 | program_prefix=NONE
|
---|
| 685 | program_suffix=NONE
|
---|
| 686 | program_transform_name=s,x,x,
|
---|
| 687 | silent=
|
---|
| 688 | site=
|
---|
| 689 | srcdir=
|
---|
| 690 | verbose=
|
---|
| 691 | x_includes=NONE
|
---|
| 692 | x_libraries=NONE
|
---|
| 693 |
|
---|
| 694 | # Installation directory options.
|
---|
| 695 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 696 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 697 | # by default will actually change.
|
---|
| 698 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
[22379] | 699 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
[13703] | 700 | bindir='${exec_prefix}/bin'
|
---|
| 701 | sbindir='${exec_prefix}/sbin'
|
---|
| 702 | libexecdir='${exec_prefix}/libexec'
|
---|
[22379] | 703 | datarootdir='${prefix}/share'
|
---|
| 704 | datadir='${datarootdir}'
|
---|
[13703] | 705 | sysconfdir='${prefix}/etc'
|
---|
| 706 | sharedstatedir='${prefix}/com'
|
---|
| 707 | localstatedir='${prefix}/var'
|
---|
| 708 | includedir='${prefix}/include'
|
---|
| 709 | oldincludedir='/usr/include'
|
---|
[22379] | 710 | docdir='${datarootdir}/doc/${PACKAGE}'
|
---|
| 711 | infodir='${datarootdir}/info'
|
---|
| 712 | htmldir='${docdir}'
|
---|
| 713 | dvidir='${docdir}'
|
---|
| 714 | pdfdir='${docdir}'
|
---|
| 715 | psdir='${docdir}'
|
---|
| 716 | libdir='${exec_prefix}/lib'
|
---|
| 717 | localedir='${datarootdir}/locale'
|
---|
| 718 | mandir='${datarootdir}/man'
|
---|
[13703] | 719 |
|
---|
| 720 | ac_prev=
|
---|
[22379] | 721 | ac_dashdash=
|
---|
[13703] | 722 | for ac_option
|
---|
| 723 | do
|
---|
| 724 | # If the previous option needs an argument, assign it.
|
---|
| 725 | if test -n "$ac_prev"; then
|
---|
[22379] | 726 | eval $ac_prev=\$ac_option
|
---|
[13703] | 727 | ac_prev=
|
---|
| 728 | continue
|
---|
| 729 | fi
|
---|
| 730 |
|
---|
[22379] | 731 | case $ac_option in
|
---|
[25148] | 732 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
| 733 | *) ac_optarg=yes ;;
|
---|
[22379] | 734 | esac
|
---|
[13703] | 735 |
|
---|
| 736 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 737 |
|
---|
[22379] | 738 | case $ac_dashdash$ac_option in
|
---|
| 739 | --)
|
---|
| 740 | ac_dashdash=yes ;;
|
---|
[13703] | 741 |
|
---|
| 742 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 743 | ac_prev=bindir ;;
|
---|
| 744 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 745 | bindir=$ac_optarg ;;
|
---|
| 746 |
|
---|
| 747 | -build | --build | --buil | --bui | --bu)
|
---|
| 748 | ac_prev=build_alias ;;
|
---|
| 749 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 750 | build_alias=$ac_optarg ;;
|
---|
| 751 |
|
---|
| 752 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 753 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 754 | ac_prev=cache_file ;;
|
---|
| 755 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 756 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 757 | cache_file=$ac_optarg ;;
|
---|
| 758 |
|
---|
| 759 | --config-cache | -C)
|
---|
| 760 | cache_file=config.cache ;;
|
---|
| 761 |
|
---|
[22379] | 762 | -datadir | --datadir | --datadi | --datad)
|
---|
[13703] | 763 | ac_prev=datadir ;;
|
---|
[22379] | 764 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
[13703] | 765 | datadir=$ac_optarg ;;
|
---|
| 766 |
|
---|
[22379] | 767 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
| 768 | | --dataroo | --dataro | --datar)
|
---|
| 769 | ac_prev=datarootdir ;;
|
---|
| 770 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
| 771 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
| 772 | datarootdir=$ac_optarg ;;
|
---|
| 773 |
|
---|
[13703] | 774 | -disable-* | --disable-*)
|
---|
[22379] | 775 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
[13703] | 776 | # Reject names that are not valid shell variable names.
|
---|
[22379] | 777 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[25148] | 778 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
---|
| 779 | { (exit 1); exit 1; }; }
|
---|
[22379] | 780 | ac_useropt_orig=$ac_useropt
|
---|
| 781 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 782 | case $ac_user_opts in
|
---|
| 783 | *"
|
---|
| 784 | "enable_$ac_useropt"
|
---|
| 785 | "*) ;;
|
---|
| 786 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
---|
| 787 | ac_unrecognized_sep=', ';;
|
---|
| 788 | esac
|
---|
| 789 | eval enable_$ac_useropt=no ;;
|
---|
[13703] | 790 |
|
---|
[22379] | 791 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
| 792 | ac_prev=docdir ;;
|
---|
| 793 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
| 794 | docdir=$ac_optarg ;;
|
---|
| 795 |
|
---|
| 796 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
| 797 | ac_prev=dvidir ;;
|
---|
| 798 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
| 799 | dvidir=$ac_optarg ;;
|
---|
| 800 |
|
---|
[13703] | 801 | -enable-* | --enable-*)
|
---|
[22379] | 802 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
[13703] | 803 | # Reject names that are not valid shell variable names.
|
---|
[22379] | 804 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[25148] | 805 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
---|
| 806 | { (exit 1); exit 1; }; }
|
---|
[22379] | 807 | ac_useropt_orig=$ac_useropt
|
---|
| 808 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 809 | case $ac_user_opts in
|
---|
| 810 | *"
|
---|
| 811 | "enable_$ac_useropt"
|
---|
| 812 | "*) ;;
|
---|
| 813 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
---|
| 814 | ac_unrecognized_sep=', ';;
|
---|
[20832] | 815 | esac
|
---|
[22379] | 816 | eval enable_$ac_useropt=\$ac_optarg ;;
|
---|
[13703] | 817 |
|
---|
| 818 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 819 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 820 | | --exec | --exe | --ex)
|
---|
| 821 | ac_prev=exec_prefix ;;
|
---|
| 822 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 823 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 824 | | --exec=* | --exe=* | --ex=*)
|
---|
| 825 | exec_prefix=$ac_optarg ;;
|
---|
| 826 |
|
---|
| 827 | -gas | --gas | --ga | --g)
|
---|
| 828 | # Obsolete; use --with-gas.
|
---|
| 829 | with_gas=yes ;;
|
---|
| 830 |
|
---|
| 831 | -help | --help | --hel | --he | -h)
|
---|
| 832 | ac_init_help=long ;;
|
---|
| 833 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 834 | ac_init_help=recursive ;;
|
---|
| 835 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 836 | ac_init_help=short ;;
|
---|
| 837 |
|
---|
| 838 | -host | --host | --hos | --ho)
|
---|
| 839 | ac_prev=host_alias ;;
|
---|
| 840 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 841 | host_alias=$ac_optarg ;;
|
---|
| 842 |
|
---|
[22379] | 843 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
| 844 | ac_prev=htmldir ;;
|
---|
| 845 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
| 846 | | --ht=*)
|
---|
| 847 | htmldir=$ac_optarg ;;
|
---|
| 848 |
|
---|
[13703] | 849 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 850 | | --includ | --inclu | --incl | --inc)
|
---|
| 851 | ac_prev=includedir ;;
|
---|
| 852 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 853 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 854 | includedir=$ac_optarg ;;
|
---|
| 855 |
|
---|
| 856 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 857 | ac_prev=infodir ;;
|
---|
| 858 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 859 | infodir=$ac_optarg ;;
|
---|
| 860 |
|
---|
| 861 | -libdir | --libdir | --libdi | --libd)
|
---|
| 862 | ac_prev=libdir ;;
|
---|
| 863 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 864 | libdir=$ac_optarg ;;
|
---|
| 865 |
|
---|
| 866 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 867 | | --libexe | --libex | --libe)
|
---|
| 868 | ac_prev=libexecdir ;;
|
---|
| 869 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 870 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 871 | libexecdir=$ac_optarg ;;
|
---|
| 872 |
|
---|
[22379] | 873 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
| 874 | ac_prev=localedir ;;
|
---|
| 875 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
| 876 | localedir=$ac_optarg ;;
|
---|
| 877 |
|
---|
[13703] | 878 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
[22379] | 879 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
[13703] | 880 | ac_prev=localstatedir ;;
|
---|
| 881 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
[22379] | 882 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
[13703] | 883 | localstatedir=$ac_optarg ;;
|
---|
| 884 |
|
---|
| 885 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 886 | ac_prev=mandir ;;
|
---|
| 887 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 888 | mandir=$ac_optarg ;;
|
---|
| 889 |
|
---|
| 890 | -nfp | --nfp | --nf)
|
---|
| 891 | # Obsolete; use --without-fp.
|
---|
| 892 | with_fp=no ;;
|
---|
| 893 |
|
---|
| 894 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 895 | | --no-cr | --no-c | -n)
|
---|
| 896 | no_create=yes ;;
|
---|
| 897 |
|
---|
| 898 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 899 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 900 | no_recursion=yes ;;
|
---|
| 901 |
|
---|
| 902 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 903 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 904 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 905 | ac_prev=oldincludedir ;;
|
---|
| 906 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 907 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 908 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 909 | oldincludedir=$ac_optarg ;;
|
---|
| 910 |
|
---|
| 911 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 912 | ac_prev=prefix ;;
|
---|
| 913 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 914 | prefix=$ac_optarg ;;
|
---|
| 915 |
|
---|
| 916 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 917 | | --program-pre | --program-pr | --program-p)
|
---|
| 918 | ac_prev=program_prefix ;;
|
---|
| 919 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 920 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 921 | program_prefix=$ac_optarg ;;
|
---|
| 922 |
|
---|
| 923 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 924 | | --program-suf | --program-su | --program-s)
|
---|
| 925 | ac_prev=program_suffix ;;
|
---|
| 926 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 927 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 928 | program_suffix=$ac_optarg ;;
|
---|
| 929 |
|
---|
| 930 | -program-transform-name | --program-transform-name \
|
---|
| 931 | | --program-transform-nam | --program-transform-na \
|
---|
| 932 | | --program-transform-n | --program-transform- \
|
---|
| 933 | | --program-transform | --program-transfor \
|
---|
| 934 | | --program-transfo | --program-transf \
|
---|
| 935 | | --program-trans | --program-tran \
|
---|
| 936 | | --progr-tra | --program-tr | --program-t)
|
---|
| 937 | ac_prev=program_transform_name ;;
|
---|
| 938 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 939 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 940 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 941 | | --program-transform=* | --program-transfor=* \
|
---|
| 942 | | --program-transfo=* | --program-transf=* \
|
---|
| 943 | | --program-trans=* | --program-tran=* \
|
---|
| 944 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 945 | program_transform_name=$ac_optarg ;;
|
---|
| 946 |
|
---|
[22379] | 947 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
| 948 | ac_prev=pdfdir ;;
|
---|
| 949 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
| 950 | pdfdir=$ac_optarg ;;
|
---|
| 951 |
|
---|
| 952 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
| 953 | ac_prev=psdir ;;
|
---|
| 954 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
| 955 | psdir=$ac_optarg ;;
|
---|
| 956 |
|
---|
[13703] | 957 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 958 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 959 | silent=yes ;;
|
---|
| 960 |
|
---|
| 961 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 962 | ac_prev=sbindir ;;
|
---|
| 963 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 964 | | --sbi=* | --sb=*)
|
---|
| 965 | sbindir=$ac_optarg ;;
|
---|
| 966 |
|
---|
| 967 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 968 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 969 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 970 | | --sha | --sh)
|
---|
| 971 | ac_prev=sharedstatedir ;;
|
---|
| 972 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 973 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 974 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 975 | | --sha=* | --sh=*)
|
---|
| 976 | sharedstatedir=$ac_optarg ;;
|
---|
| 977 |
|
---|
| 978 | -site | --site | --sit)
|
---|
| 979 | ac_prev=site ;;
|
---|
| 980 | -site=* | --site=* | --sit=*)
|
---|
| 981 | site=$ac_optarg ;;
|
---|
| 982 |
|
---|
| 983 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 984 | ac_prev=srcdir ;;
|
---|
| 985 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 986 | srcdir=$ac_optarg ;;
|
---|
| 987 |
|
---|
| 988 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 989 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 990 | ac_prev=sysconfdir ;;
|
---|
| 991 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 992 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 993 | sysconfdir=$ac_optarg ;;
|
---|
| 994 |
|
---|
| 995 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 996 | ac_prev=target_alias ;;
|
---|
| 997 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 998 | target_alias=$ac_optarg ;;
|
---|
| 999 |
|
---|
| 1000 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 1001 | verbose=yes ;;
|
---|
| 1002 |
|
---|
| 1003 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 1004 | ac_init_version=: ;;
|
---|
| 1005 |
|
---|
| 1006 | -with-* | --with-*)
|
---|
[22379] | 1007 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
[13703] | 1008 | # Reject names that are not valid shell variable names.
|
---|
[22379] | 1009 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[25148] | 1010 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
---|
| 1011 | { (exit 1); exit 1; }; }
|
---|
[22379] | 1012 | ac_useropt_orig=$ac_useropt
|
---|
| 1013 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1014 | case $ac_user_opts in
|
---|
| 1015 | *"
|
---|
| 1016 | "with_$ac_useropt"
|
---|
| 1017 | "*) ;;
|
---|
| 1018 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
---|
| 1019 | ac_unrecognized_sep=', ';;
|
---|
[20832] | 1020 | esac
|
---|
[22379] | 1021 | eval with_$ac_useropt=\$ac_optarg ;;
|
---|
[13703] | 1022 |
|
---|
| 1023 | -without-* | --without-*)
|
---|
[22379] | 1024 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
[13703] | 1025 | # Reject names that are not valid shell variable names.
|
---|
[22379] | 1026 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[25148] | 1027 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
---|
| 1028 | { (exit 1); exit 1; }; }
|
---|
[22379] | 1029 | ac_useropt_orig=$ac_useropt
|
---|
| 1030 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1031 | case $ac_user_opts in
|
---|
| 1032 | *"
|
---|
| 1033 | "with_$ac_useropt"
|
---|
| 1034 | "*) ;;
|
---|
| 1035 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
---|
| 1036 | ac_unrecognized_sep=', ';;
|
---|
| 1037 | esac
|
---|
| 1038 | eval with_$ac_useropt=no ;;
|
---|
[13703] | 1039 |
|
---|
| 1040 | --x)
|
---|
| 1041 | # Obsolete; use --with-x.
|
---|
| 1042 | with_x=yes ;;
|
---|
| 1043 |
|
---|
| 1044 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 1045 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 1046 | ac_prev=x_includes ;;
|
---|
| 1047 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 1048 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 1049 | x_includes=$ac_optarg ;;
|
---|
| 1050 |
|
---|
| 1051 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 1052 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 1053 | ac_prev=x_libraries ;;
|
---|
| 1054 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 1055 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 1056 | x_libraries=$ac_optarg ;;
|
---|
| 1057 |
|
---|
[25148] | 1058 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
|
---|
| 1059 | Try \`$0 --help' for more information." >&2
|
---|
| 1060 | { (exit 1); exit 1; }; }
|
---|
[13703] | 1061 | ;;
|
---|
| 1062 |
|
---|
| 1063 | *=*)
|
---|
| 1064 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 1065 | # Reject names that are not valid shell variable names.
|
---|
[25148] | 1066 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
---|
| 1067 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
---|
| 1068 | { (exit 1); exit 1; }; }
|
---|
[22379] | 1069 | eval $ac_envvar=\$ac_optarg
|
---|
[13703] | 1070 | export $ac_envvar ;;
|
---|
| 1071 |
|
---|
| 1072 | *)
|
---|
| 1073 | # FIXME: should be removed in autoconf 3.0.
|
---|
[22379] | 1074 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
[13703] | 1075 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[22379] | 1076 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
[13703] | 1077 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
---|
| 1078 | ;;
|
---|
| 1079 |
|
---|
| 1080 | esac
|
---|
| 1081 | done
|
---|
| 1082 |
|
---|
| 1083 | if test -n "$ac_prev"; then
|
---|
| 1084 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
[25148] | 1085 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2
|
---|
| 1086 | { (exit 1); exit 1; }; }
|
---|
[13703] | 1087 | fi
|
---|
| 1088 |
|
---|
[22379] | 1089 | if test -n "$ac_unrecognized_opts"; then
|
---|
| 1090 | case $enable_option_checking in
|
---|
| 1091 | no) ;;
|
---|
[25148] | 1092 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
|
---|
| 1093 | { (exit 1); exit 1; }; } ;;
|
---|
[22379] | 1094 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
---|
[13703] | 1095 | esac
|
---|
[22379] | 1096 | fi
|
---|
[13703] | 1097 |
|
---|
[22379] | 1098 | # Check all directory arguments for consistency.
|
---|
| 1099 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
| 1100 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
| 1101 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
| 1102 | libdir localedir mandir
|
---|
[20832] | 1103 | do
|
---|
[22379] | 1104 | eval ac_val=\$$ac_var
|
---|
| 1105 | # Remove trailing slashes.
|
---|
[20832] | 1106 | case $ac_val in
|
---|
[22379] | 1107 | */ )
|
---|
| 1108 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
---|
| 1109 | eval $ac_var=\$ac_val;;
|
---|
[20832] | 1110 | esac
|
---|
[22379] | 1111 | # Be sure to have absolute directory names.
|
---|
| 1112 | case $ac_val in
|
---|
| 1113 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
| 1114 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
| 1115 | esac
|
---|
[25148] | 1116 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
---|
| 1117 | { (exit 1); exit 1; }; }
|
---|
[20832] | 1118 | done
|
---|
| 1119 |
|
---|
[13703] | 1120 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 1121 | # used to hold the argument of --host etc.
|
---|
| 1122 | # FIXME: To remove some day.
|
---|
| 1123 | build=$build_alias
|
---|
| 1124 | host=$host_alias
|
---|
| 1125 | target=$target_alias
|
---|
| 1126 |
|
---|
| 1127 | # FIXME: To remove some day.
|
---|
| 1128 | if test "x$host_alias" != x; then
|
---|
| 1129 | if test "x$build_alias" = x; then
|
---|
| 1130 | cross_compiling=maybe
|
---|
[25148] | 1131 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
---|
| 1132 | If a cross compiler is detected then cross compile mode will be used." >&2
|
---|
[13703] | 1133 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 1134 | cross_compiling=yes
|
---|
| 1135 | fi
|
---|
| 1136 | fi
|
---|
| 1137 |
|
---|
| 1138 | ac_tool_prefix=
|
---|
| 1139 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 1140 |
|
---|
| 1141 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 1142 |
|
---|
| 1143 |
|
---|
[22379] | 1144 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
| 1145 | ac_ls_di=`ls -di .` &&
|
---|
| 1146 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
[25148] | 1147 | { $as_echo "$as_me: error: working directory cannot be determined" >&2
|
---|
| 1148 | { (exit 1); exit 1; }; }
|
---|
[22379] | 1149 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
[25148] | 1150 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
|
---|
| 1151 | { (exit 1); exit 1; }; }
|
---|
[22379] | 1152 |
|
---|
| 1153 |
|
---|
[13703] | 1154 | # Find the source files, if location was not specified.
|
---|
| 1155 | if test -z "$srcdir"; then
|
---|
| 1156 | ac_srcdir_defaulted=yes
|
---|
[22379] | 1157 | # Try the directory containing this script, then the parent directory.
|
---|
| 1158 | ac_confdir=`$as_dirname -- "$as_myself" ||
|
---|
| 1159 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 1160 | X"$as_myself" : 'X\(//\)[^/]' \| \
|
---|
| 1161 | X"$as_myself" : 'X\(//\)$' \| \
|
---|
| 1162 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 1163 | $as_echo X"$as_myself" |
|
---|
| 1164 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 1165 | s//\1/
|
---|
| 1166 | q
|
---|
| 1167 | }
|
---|
| 1168 | /^X\(\/\/\)[^/].*/{
|
---|
| 1169 | s//\1/
|
---|
| 1170 | q
|
---|
| 1171 | }
|
---|
| 1172 | /^X\(\/\/\)$/{
|
---|
| 1173 | s//\1/
|
---|
| 1174 | q
|
---|
| 1175 | }
|
---|
| 1176 | /^X\(\/\).*/{
|
---|
| 1177 | s//\1/
|
---|
| 1178 | q
|
---|
| 1179 | }
|
---|
| 1180 | s/.*/./; q'`
|
---|
[13703] | 1181 | srcdir=$ac_confdir
|
---|
[22379] | 1182 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
[13703] | 1183 | srcdir=..
|
---|
| 1184 | fi
|
---|
| 1185 | else
|
---|
| 1186 | ac_srcdir_defaulted=no
|
---|
| 1187 | fi
|
---|
[22379] | 1188 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
| 1189 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
[25148] | 1190 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
---|
| 1191 | { (exit 1); exit 1; }; }
|
---|
[19897] | 1192 | fi
|
---|
[22379] | 1193 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
| 1194 | ac_abs_confdir=`(
|
---|
[25148] | 1195 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
|
---|
| 1196 | { (exit 1); exit 1; }; }
|
---|
[22379] | 1197 | pwd)`
|
---|
| 1198 | # When building in place, set srcdir=.
|
---|
| 1199 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
| 1200 | srcdir=.
|
---|
| 1201 | fi
|
---|
| 1202 | # Remove unnecessary trailing slashes from srcdir.
|
---|
| 1203 | # Double slashes in file names in object file debugging info
|
---|
| 1204 | # mess up M-x gdb in Emacs.
|
---|
| 1205 | case $srcdir in
|
---|
| 1206 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
| 1207 | esac
|
---|
| 1208 | for ac_var in $ac_precious_vars; do
|
---|
| 1209 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1210 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
| 1211 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1212 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
| 1213 | done
|
---|
[13703] | 1214 |
|
---|
| 1215 | #
|
---|
| 1216 | # Report the --help message.
|
---|
| 1217 | #
|
---|
| 1218 | if test "$ac_init_help" = "long"; then
|
---|
| 1219 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 1220 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 1221 | cat <<_ACEOF
|
---|
| 1222 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 1223 |
|
---|
| 1224 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 1225 |
|
---|
| 1226 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 1227 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 1228 |
|
---|
| 1229 | Defaults for the options are specified in brackets.
|
---|
| 1230 |
|
---|
| 1231 | Configuration:
|
---|
| 1232 | -h, --help display this help and exit
|
---|
| 1233 | --help=short display options specific to this package
|
---|
| 1234 | --help=recursive display the short help of all the included packages
|
---|
| 1235 | -V, --version display version information and exit
|
---|
[25148] | 1236 | -q, --quiet, --silent do not print \`checking...' messages
|
---|
[13703] | 1237 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 1238 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 1239 | -n, --no-create do not create output files
|
---|
| 1240 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 1241 |
|
---|
| 1242 | Installation directories:
|
---|
| 1243 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
[22379] | 1244 | [$ac_default_prefix]
|
---|
[13703] | 1245 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
[22379] | 1246 | [PREFIX]
|
---|
[13703] | 1247 |
|
---|
| 1248 | By default, \`make install' will install all the files in
|
---|
| 1249 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 1250 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 1251 | for instance \`--prefix=\$HOME'.
|
---|
| 1252 |
|
---|
| 1253 | For better control, use the options below.
|
---|
| 1254 |
|
---|
| 1255 | Fine tuning of the installation directories:
|
---|
[22379] | 1256 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 1257 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 1258 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 1259 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 1260 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 1261 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 1262 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 1263 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 1264 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 1265 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
| 1266 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
| 1267 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
| 1268 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
| 1269 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
| 1270 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
---|
| 1271 | --htmldir=DIR html documentation [DOCDIR]
|
---|
| 1272 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
| 1273 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
| 1274 | --psdir=DIR ps documentation [DOCDIR]
|
---|
[13703] | 1275 | _ACEOF
|
---|
| 1276 |
|
---|
| 1277 | cat <<\_ACEOF
|
---|
| 1278 | _ACEOF
|
---|
| 1279 | fi
|
---|
| 1280 |
|
---|
| 1281 | if test -n "$ac_init_help"; then
|
---|
| 1282 |
|
---|
| 1283 | cat <<\_ACEOF
|
---|
| 1284 |
|
---|
| 1285 | Optional Features:
|
---|
[22379] | 1286 | --disable-option-checking ignore unrecognized --enable/--with options
|
---|
[13703] | 1287 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
| 1288 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
[23356] | 1289 | --disable-java Disable Java compilation
|
---|
[22058] | 1290 | --disable-accentfold Disable Accent Folding for MGPP
|
---|
[21364] | 1291 | --enable-jni Enable JNI compilation
|
---|
[21328] | 1292 | --disable-mg Disable MG compilation
|
---|
| 1293 | --disable-mgpp Disable MGPP compilation
|
---|
| 1294 | --disable-lucene Disable Lucene compilation
|
---|
[13703] | 1295 |
|
---|
| 1296 | Optional Packages:
|
---|
| 1297 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 1298 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 1299 | --with-unac=dir Use specified unac directory
|
---|
[20832] | 1300 | --with-libiconv-prefix=dir Use specified libiconv directory
|
---|
[13703] | 1301 |
|
---|
| 1302 | _ACEOF
|
---|
[22379] | 1303 | ac_status=$?
|
---|
[13703] | 1304 | fi
|
---|
| 1305 |
|
---|
| 1306 | if test "$ac_init_help" = "recursive"; then
|
---|
| 1307 | # If there are subdirs, report their specific --help.
|
---|
| 1308 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
[22379] | 1309 | test -d "$ac_dir" ||
|
---|
| 1310 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
---|
| 1311 | continue
|
---|
[13703] | 1312 | ac_builddir=.
|
---|
| 1313 |
|
---|
[22379] | 1314 | case "$ac_dir" in
|
---|
| 1315 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1316 | *)
|
---|
| 1317 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 1318 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 1319 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 1320 | case $ac_top_builddir_sub in
|
---|
| 1321 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1322 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 1323 | esac ;;
|
---|
| 1324 | esac
|
---|
| 1325 | ac_abs_top_builddir=$ac_pwd
|
---|
| 1326 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 1327 | # for backward compatibility:
|
---|
| 1328 | ac_top_builddir=$ac_top_build_prefix
|
---|
[13703] | 1329 |
|
---|
| 1330 | case $srcdir in
|
---|
[22379] | 1331 | .) # We are building in place.
|
---|
[13703] | 1332 | ac_srcdir=.
|
---|
[22379] | 1333 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 1334 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 1335 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[13703] | 1336 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[22379] | 1337 | ac_top_srcdir=$srcdir
|
---|
| 1338 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 1339 | *) # Relative name.
|
---|
| 1340 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 1341 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 1342 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[13703] | 1343 | esac
|
---|
[22379] | 1344 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[13703] | 1345 |
|
---|
[22379] | 1346 | cd "$ac_dir" || { ac_status=$?; continue; }
|
---|
| 1347 | # Check for guested configure.
|
---|
| 1348 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 1349 | echo &&
|
---|
| 1350 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
---|
| 1351 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 1352 | echo &&
|
---|
| 1353 | $SHELL "$ac_srcdir/configure" --help=recursive
|
---|
[13703] | 1354 | else
|
---|
[22379] | 1355 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
| 1356 | fi || ac_status=$?
|
---|
| 1357 | cd "$ac_pwd" || { ac_status=$?; break; }
|
---|
[13703] | 1358 | done
|
---|
| 1359 | fi
|
---|
| 1360 |
|
---|
[22379] | 1361 | test -n "$ac_init_help" && exit $ac_status
|
---|
[13703] | 1362 | if $ac_init_version; then
|
---|
| 1363 | cat <<\_ACEOF
|
---|
[22379] | 1364 | configure
|
---|
[25148] | 1365 | generated by GNU Autoconf 2.63
|
---|
[13703] | 1366 |
|
---|
[25148] | 1367 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
| 1368 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
---|
[13703] | 1369 | This configure script is free software; the Free Software Foundation
|
---|
| 1370 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 1371 | _ACEOF
|
---|
[22379] | 1372 | exit
|
---|
[13703] | 1373 | fi
|
---|
[22379] | 1374 | cat >config.log <<_ACEOF
|
---|
[13703] | 1375 | This file contains any messages produced by compilers while
|
---|
| 1376 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 1377 |
|
---|
| 1378 | It was created by $as_me, which was
|
---|
[25148] | 1379 | generated by GNU Autoconf 2.63. Invocation command line was
|
---|
[13703] | 1380 |
|
---|
| 1381 | $ $0 $@
|
---|
| 1382 |
|
---|
| 1383 | _ACEOF
|
---|
[22379] | 1384 | exec 5>>config.log
|
---|
[13703] | 1385 | {
|
---|
| 1386 | cat <<_ASUNAME
|
---|
| 1387 | ## --------- ##
|
---|
| 1388 | ## Platform. ##
|
---|
| 1389 | ## --------- ##
|
---|
| 1390 |
|
---|
| 1391 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 1392 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 1393 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 1394 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 1395 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 1396 |
|
---|
| 1397 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 1398 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 1399 |
|
---|
| 1400 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 1401 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 1402 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
[22379] | 1403 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
[13703] | 1404 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 1405 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 1406 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 1407 |
|
---|
| 1408 | _ASUNAME
|
---|
| 1409 |
|
---|
| 1410 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1411 | for as_dir in $PATH
|
---|
| 1412 | do
|
---|
| 1413 | IFS=$as_save_IFS
|
---|
| 1414 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 1415 | $as_echo "PATH: $as_dir"
|
---|
| 1416 | done
|
---|
[22379] | 1417 | IFS=$as_save_IFS
|
---|
[13703] | 1418 |
|
---|
| 1419 | } >&5
|
---|
| 1420 |
|
---|
| 1421 | cat >&5 <<_ACEOF
|
---|
| 1422 |
|
---|
| 1423 |
|
---|
| 1424 | ## ----------- ##
|
---|
| 1425 | ## Core tests. ##
|
---|
| 1426 | ## ----------- ##
|
---|
| 1427 |
|
---|
| 1428 | _ACEOF
|
---|
| 1429 |
|
---|
| 1430 |
|
---|
| 1431 | # Keep a trace of the command line.
|
---|
| 1432 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 1433 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 1434 | # Also quote any args containing shell meta-characters.
|
---|
| 1435 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 1436 | ac_configure_args=
|
---|
| 1437 | ac_configure_args0=
|
---|
| 1438 | ac_configure_args1=
|
---|
| 1439 | ac_must_keep_next=false
|
---|
| 1440 | for ac_pass in 1 2
|
---|
| 1441 | do
|
---|
| 1442 | for ac_arg
|
---|
| 1443 | do
|
---|
| 1444 | case $ac_arg in
|
---|
| 1445 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 1446 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1447 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1448 | continue ;;
|
---|
[22379] | 1449 | *\'*)
|
---|
| 1450 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[13703] | 1451 | esac
|
---|
| 1452 | case $ac_pass in
|
---|
[25148] | 1453 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
---|
[13703] | 1454 | 2)
|
---|
[25148] | 1455 | ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
---|
[13703] | 1456 | if test $ac_must_keep_next = true; then
|
---|
| 1457 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 1458 | else
|
---|
| 1459 | case $ac_arg in
|
---|
| 1460 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 1461 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 1462 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 1463 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 1464 | case "$ac_configure_args0 " in
|
---|
| 1465 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 1466 | esac
|
---|
| 1467 | ;;
|
---|
| 1468 | -* ) ac_must_keep_next=true ;;
|
---|
| 1469 | esac
|
---|
| 1470 | fi
|
---|
[25148] | 1471 | ac_configure_args="$ac_configure_args '$ac_arg'"
|
---|
[13703] | 1472 | ;;
|
---|
| 1473 | esac
|
---|
| 1474 | done
|
---|
| 1475 | done
|
---|
[25148] | 1476 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
---|
| 1477 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
---|
[13703] | 1478 |
|
---|
| 1479 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 1480 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 1481 | # would cause problems or look ugly.
|
---|
[22379] | 1482 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
---|
| 1483 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
---|
[13703] | 1484 | trap 'exit_status=$?
|
---|
| 1485 | # Save into config.log some information that might help in debugging.
|
---|
| 1486 | {
|
---|
| 1487 | echo
|
---|
| 1488 |
|
---|
[25148] | 1489 | cat <<\_ASBOX
|
---|
| 1490 | ## ---------------- ##
|
---|
[13703] | 1491 | ## Cache variables. ##
|
---|
[25148] | 1492 | ## ---------------- ##
|
---|
| 1493 | _ASBOX
|
---|
[13703] | 1494 | echo
|
---|
| 1495 | # The following way of writing the cache mishandles newlines in values,
|
---|
[22379] | 1496 | (
|
---|
| 1497 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
---|
| 1498 | eval ac_val=\$$ac_var
|
---|
| 1499 | case $ac_val in #(
|
---|
| 1500 | *${as_nl}*)
|
---|
| 1501 | case $ac_var in #(
|
---|
[25148] | 1502 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
[22379] | 1503 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 1504 | esac
|
---|
| 1505 | case $ac_var in #(
|
---|
| 1506 | _ | IFS | as_nl) ;; #(
|
---|
| 1507 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
[25148] | 1508 | *) $as_unset $ac_var ;;
|
---|
[22379] | 1509 | esac ;;
|
---|
| 1510 | esac
|
---|
| 1511 | done
|
---|
[13703] | 1512 | (set) 2>&1 |
|
---|
[22379] | 1513 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
| 1514 | *${as_nl}ac_space=\ *)
|
---|
[13703] | 1515 | sed -n \
|
---|
[22379] | 1516 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
| 1517 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
| 1518 | ;; #(
|
---|
[13703] | 1519 | *)
|
---|
[22379] | 1520 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[13703] | 1521 | ;;
|
---|
[22379] | 1522 | esac |
|
---|
| 1523 | sort
|
---|
| 1524 | )
|
---|
[13703] | 1525 | echo
|
---|
| 1526 |
|
---|
[25148] | 1527 | cat <<\_ASBOX
|
---|
| 1528 | ## ----------------- ##
|
---|
[13703] | 1529 | ## Output variables. ##
|
---|
[25148] | 1530 | ## ----------------- ##
|
---|
| 1531 | _ASBOX
|
---|
[13703] | 1532 | echo
|
---|
| 1533 | for ac_var in $ac_subst_vars
|
---|
| 1534 | do
|
---|
[22379] | 1535 | eval ac_val=\$$ac_var
|
---|
| 1536 | case $ac_val in
|
---|
| 1537 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 1538 | esac
|
---|
| 1539 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[13703] | 1540 | done | sort
|
---|
| 1541 | echo
|
---|
| 1542 |
|
---|
| 1543 | if test -n "$ac_subst_files"; then
|
---|
[25148] | 1544 | cat <<\_ASBOX
|
---|
| 1545 | ## ------------------- ##
|
---|
[22379] | 1546 | ## File substitutions. ##
|
---|
[25148] | 1547 | ## ------------------- ##
|
---|
| 1548 | _ASBOX
|
---|
[13703] | 1549 | echo
|
---|
| 1550 | for ac_var in $ac_subst_files
|
---|
| 1551 | do
|
---|
[22379] | 1552 | eval ac_val=\$$ac_var
|
---|
| 1553 | case $ac_val in
|
---|
| 1554 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 1555 | esac
|
---|
| 1556 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[13703] | 1557 | done | sort
|
---|
| 1558 | echo
|
---|
| 1559 | fi
|
---|
| 1560 |
|
---|
| 1561 | if test -s confdefs.h; then
|
---|
[25148] | 1562 | cat <<\_ASBOX
|
---|
| 1563 | ## ----------- ##
|
---|
[13703] | 1564 | ## confdefs.h. ##
|
---|
[25148] | 1565 | ## ----------- ##
|
---|
| 1566 | _ASBOX
|
---|
[13703] | 1567 | echo
|
---|
[22379] | 1568 | cat confdefs.h
|
---|
[13703] | 1569 | echo
|
---|
| 1570 | fi
|
---|
| 1571 | test "$ac_signal" != 0 &&
|
---|
[22379] | 1572 | $as_echo "$as_me: caught signal $ac_signal"
|
---|
| 1573 | $as_echo "$as_me: exit $exit_status"
|
---|
[13703] | 1574 | } >&5
|
---|
[22379] | 1575 | rm -f core *.core core.conftest.* &&
|
---|
| 1576 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
[13703] | 1577 | exit $exit_status
|
---|
[22379] | 1578 | ' 0
|
---|
[13703] | 1579 | for ac_signal in 1 2 13 15; do
|
---|
[25148] | 1580 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
---|
[13703] | 1581 | done
|
---|
| 1582 | ac_signal=0
|
---|
| 1583 |
|
---|
| 1584 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
[22379] | 1585 | rm -f -r conftest* confdefs.h
|
---|
[13703] | 1586 |
|
---|
| 1587 | # Predefined preprocessor variables.
|
---|
| 1588 |
|
---|
| 1589 | cat >>confdefs.h <<_ACEOF
|
---|
| 1590 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 1591 | _ACEOF
|
---|
| 1592 |
|
---|
[25148] | 1593 |
|
---|
[13703] | 1594 | cat >>confdefs.h <<_ACEOF
|
---|
| 1595 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 1596 | _ACEOF
|
---|
| 1597 |
|
---|
[25148] | 1598 |
|
---|
[13703] | 1599 | cat >>confdefs.h <<_ACEOF
|
---|
| 1600 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 1601 | _ACEOF
|
---|
| 1602 |
|
---|
[25148] | 1603 |
|
---|
[13703] | 1604 | cat >>confdefs.h <<_ACEOF
|
---|
| 1605 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 1606 | _ACEOF
|
---|
| 1607 |
|
---|
[25148] | 1608 |
|
---|
[13703] | 1609 | cat >>confdefs.h <<_ACEOF
|
---|
| 1610 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 1611 | _ACEOF
|
---|
| 1612 |
|
---|
| 1613 |
|
---|
| 1614 | # Let the site file select an alternate cache file if it wants to.
|
---|
[22379] | 1615 | # Prefer an explicitly selected file to automatically selected ones.
|
---|
| 1616 | ac_site_file1=NONE
|
---|
| 1617 | ac_site_file2=NONE
|
---|
| 1618 | if test -n "$CONFIG_SITE"; then
|
---|
[25148] | 1619 | ac_site_file1=$CONFIG_SITE
|
---|
[22379] | 1620 | elif test "x$prefix" != xNONE; then
|
---|
| 1621 | ac_site_file1=$prefix/share/config.site
|
---|
| 1622 | ac_site_file2=$prefix/etc/config.site
|
---|
| 1623 | else
|
---|
| 1624 | ac_site_file1=$ac_default_prefix/share/config.site
|
---|
| 1625 | ac_site_file2=$ac_default_prefix/etc/config.site
|
---|
[13703] | 1626 | fi
|
---|
[22379] | 1627 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
| 1628 | do
|
---|
| 1629 | test "x$ac_site_file" = xNONE && continue
|
---|
[25148] | 1630 | if test -r "$ac_site_file"; then
|
---|
| 1631 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
---|
[22379] | 1632 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
[13703] | 1633 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
[25148] | 1634 | . "$ac_site_file"
|
---|
[13703] | 1635 | fi
|
---|
| 1636 | done
|
---|
| 1637 |
|
---|
| 1638 | if test -r "$cache_file"; then
|
---|
[25148] | 1639 | # Some versions of bash will fail to source /dev/null (special
|
---|
| 1640 | # files actually), so we avoid doing that.
|
---|
| 1641 | if test -f "$cache_file"; then
|
---|
| 1642 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
---|
[22379] | 1643 | $as_echo "$as_me: loading cache $cache_file" >&6;}
|
---|
[13703] | 1644 | case $cache_file in
|
---|
[22379] | 1645 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
| 1646 | *) . "./$cache_file";;
|
---|
[13703] | 1647 | esac
|
---|
| 1648 | fi
|
---|
| 1649 | else
|
---|
[25148] | 1650 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
---|
[22379] | 1651 | $as_echo "$as_me: creating cache $cache_file" >&6;}
|
---|
[13703] | 1652 | >$cache_file
|
---|
| 1653 | fi
|
---|
| 1654 |
|
---|
| 1655 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 1656 | # value.
|
---|
| 1657 | ac_cache_corrupted=false
|
---|
[22379] | 1658 | for ac_var in $ac_precious_vars; do
|
---|
[13703] | 1659 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 1660 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
[22379] | 1661 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
| 1662 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
[13703] | 1663 | case $ac_old_set,$ac_new_set in
|
---|
| 1664 | set,)
|
---|
[25148] | 1665 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
[22379] | 1666 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
[13703] | 1667 | ac_cache_corrupted=: ;;
|
---|
| 1668 | ,set)
|
---|
[25148] | 1669 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
---|
[22379] | 1670 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
[13703] | 1671 | ac_cache_corrupted=: ;;
|
---|
| 1672 | ,);;
|
---|
| 1673 | *)
|
---|
| 1674 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
[22379] | 1675 | # differences in whitespace do not lead to failure.
|
---|
| 1676 | ac_old_val_w=`echo x $ac_old_val`
|
---|
| 1677 | ac_new_val_w=`echo x $ac_new_val`
|
---|
| 1678 | if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
---|
[25148] | 1679 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
[22379] | 1680 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 1681 | ac_cache_corrupted=:
|
---|
| 1682 | else
|
---|
[25148] | 1683 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
---|
[22379] | 1684 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
---|
| 1685 | eval $ac_var=\$ac_old_val
|
---|
| 1686 | fi
|
---|
[25148] | 1687 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
|
---|
[22379] | 1688 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
---|
[25148] | 1689 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
|
---|
[22379] | 1690 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
---|
[13703] | 1691 | fi;;
|
---|
| 1692 | esac
|
---|
| 1693 | # Pass precious variables to config.status.
|
---|
| 1694 | if test "$ac_new_set" = set; then
|
---|
| 1695 | case $ac_new_val in
|
---|
[22379] | 1696 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[13703] | 1697 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 1698 | esac
|
---|
| 1699 | case " $ac_configure_args " in
|
---|
| 1700 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
[25148] | 1701 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
---|
[13703] | 1702 | esac
|
---|
| 1703 | fi
|
---|
| 1704 | done
|
---|
| 1705 | if $ac_cache_corrupted; then
|
---|
[25148] | 1706 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
---|
[22379] | 1707 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[25148] | 1708 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
---|
[22379] | 1709 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
[25148] | 1710 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
---|
| 1711 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
---|
| 1712 | { (exit 1); exit 1; }; }
|
---|
[13703] | 1713 | fi
|
---|
| 1714 |
|
---|
[25148] | 1715 |
|
---|
| 1716 |
|
---|
| 1717 |
|
---|
| 1718 |
|
---|
| 1719 |
|
---|
| 1720 |
|
---|
| 1721 |
|
---|
| 1722 |
|
---|
| 1723 |
|
---|
| 1724 |
|
---|
| 1725 |
|
---|
| 1726 |
|
---|
| 1727 |
|
---|
| 1728 |
|
---|
| 1729 |
|
---|
| 1730 |
|
---|
[20832] | 1731 | ac_ext=c
|
---|
| 1732 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1733 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1734 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1735 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[13703] | 1736 |
|
---|
| 1737 |
|
---|
| 1738 |
|
---|
[23356] | 1739 | # Check whether --enable-java was given.
|
---|
[25148] | 1740 | if test "${enable_java+set}" = set; then
|
---|
[23356] | 1741 | enableval=$enable_java; ENABLE_JAVA=$enableval
|
---|
| 1742 | else
|
---|
| 1743 | ENABLE_JAVA=yes
|
---|
| 1744 | fi
|
---|
[13703] | 1745 |
|
---|
[23356] | 1746 | if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
|
---|
| 1747 | ENABLE_JAVA=1
|
---|
| 1748 | if test "x$JAVA_HOME" != "x" ; then
|
---|
| 1749 | echo "Detected JAVA_HOME is set, however this will not be used during compilation"
|
---|
| 1750 | echo "To control the version of 'javac' and 'java' set environment variables JAVAC"
|
---|
| 1751 | echo "and JAVA respectively"
|
---|
| 1752 | export JAVA_HOME=
|
---|
| 1753 | fi
|
---|
| 1754 | else
|
---|
| 1755 | ENABLE_JAVA=0
|
---|
| 1756 | fi
|
---|
| 1757 |
|
---|
| 1758 |
|
---|
[26156] | 1759 | if test -z "$ARCH_DEP_FLAGS" ; then
|
---|
| 1760 | ARCH_DEP_FLAGS=
|
---|
| 1761 | fi
|
---|
| 1762 |
|
---|
| 1763 |
|
---|
[22379] | 1764 | # Check whether --enable-accentfold was given.
|
---|
[25148] | 1765 | if test "${enable_accentfold+set}" = set; then
|
---|
[22379] | 1766 | enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
|
---|
[22058] | 1767 | else
|
---|
| 1768 | ENABLE_ACCENTFOLD=yes
|
---|
[22379] | 1769 | fi
|
---|
| 1770 |
|
---|
[22058] | 1771 | if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
|
---|
| 1772 | ENABLE_ACCENTFOLD=1
|
---|
[25148] | 1773 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1774 | #define ENABLE_ACCENTFOLD /**/
|
---|
| 1775 | _ACEOF
|
---|
[22058] | 1776 |
|
---|
| 1777 | else
|
---|
| 1778 | ENABLE_ACCENTFOLD=0
|
---|
| 1779 | fi
|
---|
| 1780 |
|
---|
| 1781 |
|
---|
| 1782 |
|
---|
[22379] | 1783 | # Check whether --enable-jni was given.
|
---|
[25148] | 1784 | if test "${enable_jni+set}" = set; then
|
---|
[22379] | 1785 | enableval=$enable_jni; ENABLE_JNI=$enableval
|
---|
[21364] | 1786 | else
|
---|
| 1787 | ENABLE_JNI=no
|
---|
[22379] | 1788 | fi
|
---|
| 1789 |
|
---|
[23356] | 1790 | if test $ENABLE_JAVA -a \( $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" \) ; then
|
---|
[21364] | 1791 | ENABLE_JNI=1
|
---|
[25148] | 1792 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1793 | #define ENABLE_JNI /**/
|
---|
| 1794 | _ACEOF
|
---|
[21364] | 1795 |
|
---|
| 1796 | else
|
---|
| 1797 | ENABLE_JNI=0
|
---|
| 1798 | fi
|
---|
| 1799 |
|
---|
| 1800 |
|
---|
| 1801 |
|
---|
[22379] | 1802 | # Check whether --enable-mg was given.
|
---|
[25148] | 1803 | if test "${enable_mg+set}" = set; then
|
---|
[22379] | 1804 | enableval=$enable_mg; ENABLE_MG=$enableval
|
---|
[21328] | 1805 | else
|
---|
| 1806 | ENABLE_MG=yes
|
---|
[22379] | 1807 | fi
|
---|
| 1808 |
|
---|
[21328] | 1809 | if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
|
---|
| 1810 | ENABLE_MG=1
|
---|
[25148] | 1811 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1812 | #define ENABLE_MG /**/
|
---|
| 1813 | _ACEOF
|
---|
[21328] | 1814 |
|
---|
| 1815 | else
|
---|
| 1816 | ENABLE_MG=0
|
---|
| 1817 | fi
|
---|
| 1818 |
|
---|
| 1819 |
|
---|
| 1820 |
|
---|
[22379] | 1821 | # Check whether --enable-mgpp was given.
|
---|
[25148] | 1822 | if test "${enable_mgpp+set}" = set; then
|
---|
[22379] | 1823 | enableval=$enable_mgpp; ENABLE_MGPP=$enableval
|
---|
[21328] | 1824 | else
|
---|
| 1825 | ENABLE_MGPP=yes
|
---|
[22379] | 1826 | fi
|
---|
| 1827 |
|
---|
[21328] | 1828 | if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
|
---|
| 1829 | ENABLE_MGPP=1
|
---|
[25148] | 1830 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1831 | #define ENABLE_MGPP /**/
|
---|
| 1832 | _ACEOF
|
---|
[21328] | 1833 |
|
---|
| 1834 | else
|
---|
| 1835 | ENABLE_MGPP=0
|
---|
| 1836 | fi
|
---|
| 1837 |
|
---|
| 1838 |
|
---|
[22379] | 1839 | # Check whether --enable-lucene was given.
|
---|
[25148] | 1840 | if test "${enable_lucene+set}" = set; then
|
---|
[22379] | 1841 | enableval=$enable_lucene; ENABLE_LUCENE=$enableval
|
---|
[21328] | 1842 | else
|
---|
| 1843 | ENABLE_LUCENE=yes
|
---|
[22379] | 1844 | fi
|
---|
| 1845 |
|
---|
[23356] | 1846 | if test $ENABLE_JAVA -a \( $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" \) ; then
|
---|
[21328] | 1847 | ENABLE_LUCENE=1
|
---|
[25148] | 1848 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1849 | #define ENABLE_LUCENE /**/
|
---|
| 1850 | _ACEOF
|
---|
[21328] | 1851 |
|
---|
| 1852 | else
|
---|
| 1853 | ENABLE_LUCENE=0
|
---|
| 1854 | fi
|
---|
| 1855 |
|
---|
| 1856 |
|
---|
[22379] | 1857 | if test "$ENABLE_LUCENE" = "1" ; then
|
---|
[15560] | 1858 |
|
---|
[19802] | 1859 |
|
---|
[23356] | 1860 | if test "x$JAVAC" = x ; then
|
---|
| 1861 | if test "x$JAVAPREFIX" = x; then
|
---|
| 1862 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
[19897] | 1863 | do
|
---|
| 1864 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 1865 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 1866 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[22379] | 1867 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 1868 | if test "${ac_cv_prog_JAVAC+set}" = set; then
|
---|
[22379] | 1869 | $as_echo_n "(cached) " >&6
|
---|
[19897] | 1870 | else
|
---|
| 1871 | if test -n "$JAVAC"; then
|
---|
| 1872 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 1873 | else
|
---|
| 1874 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1875 | for as_dir in $PATH
|
---|
| 1876 | do
|
---|
| 1877 | IFS=$as_save_IFS
|
---|
| 1878 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 1879 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[22379] | 1880 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[19897] | 1881 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[25148] | 1882 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[19897] | 1883 | break 2
|
---|
| 1884 | fi
|
---|
| 1885 | done
|
---|
[25148] | 1886 | done
|
---|
[22379] | 1887 | IFS=$as_save_IFS
|
---|
[19897] | 1888 |
|
---|
| 1889 | fi
|
---|
| 1890 | fi
|
---|
| 1891 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 1892 | if test -n "$JAVAC"; then
|
---|
[25148] | 1893 | { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
|
---|
[22379] | 1894 | $as_echo "$JAVAC" >&6; }
|
---|
[19897] | 1895 | else
|
---|
[25148] | 1896 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[22379] | 1897 | $as_echo "no" >&6; }
|
---|
[19897] | 1898 | fi
|
---|
| 1899 |
|
---|
[22379] | 1900 |
|
---|
[19897] | 1901 | test -n "$JAVAC" && break
|
---|
| 1902 | done
|
---|
| 1903 |
|
---|
[23356] | 1904 | else
|
---|
| 1905 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
[19897] | 1906 | do
|
---|
| 1907 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 1908 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 1909 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[22379] | 1910 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 1911 | if test "${ac_cv_prog_JAVAC+set}" = set; then
|
---|
[22379] | 1912 | $as_echo_n "(cached) " >&6
|
---|
[19897] | 1913 | else
|
---|
| 1914 | if test -n "$JAVAC"; then
|
---|
| 1915 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 1916 | else
|
---|
| 1917 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1918 | for as_dir in $PATH
|
---|
| 1919 | do
|
---|
| 1920 | IFS=$as_save_IFS
|
---|
| 1921 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 1922 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[22379] | 1923 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[19897] | 1924 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[25148] | 1925 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[19897] | 1926 | break 2
|
---|
| 1927 | fi
|
---|
| 1928 | done
|
---|
[25148] | 1929 | done
|
---|
[22379] | 1930 | IFS=$as_save_IFS
|
---|
[19897] | 1931 |
|
---|
| 1932 | fi
|
---|
| 1933 | fi
|
---|
| 1934 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 1935 | if test -n "$JAVAC"; then
|
---|
[25148] | 1936 | { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
|
---|
[22379] | 1937 | $as_echo "$JAVAC" >&6; }
|
---|
[19897] | 1938 | else
|
---|
[25148] | 1939 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[22379] | 1940 | $as_echo "no" >&6; }
|
---|
[19897] | 1941 | fi
|
---|
| 1942 |
|
---|
[22379] | 1943 |
|
---|
[19897] | 1944 | test -n "$JAVAC" && break
|
---|
| 1945 | done
|
---|
| 1946 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 1947 |
|
---|
[23356] | 1948 | fi
|
---|
[25148] | 1949 | test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
|
---|
| 1950 | $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
|
---|
| 1951 | { (exit 1); exit 1; }; }
|
---|
[23356] | 1952 | else
|
---|
| 1953 | echo "Checking for javac... $JAVAC"
|
---|
[19897] | 1954 | fi
|
---|
| 1955 |
|
---|
[23356] | 1956 |
|
---|
[25148] | 1957 | { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
|
---|
[22379] | 1958 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
[25148] | 1959 | if test "${ac_cv_prog_javac_works+set}" = set; then
|
---|
[22379] | 1960 | $as_echo_n "(cached) " >&6
|
---|
[19897] | 1961 | else
|
---|
| 1962 |
|
---|
| 1963 | JAVA_TEST=Test.java
|
---|
| 1964 | CLASS_TEST=Test.class
|
---|
| 1965 | cat << \EOF > $JAVA_TEST
|
---|
[26156] | 1966 | /* #line 1966 "configure" */
|
---|
[19897] | 1967 | public class Test {
|
---|
| 1968 | }
|
---|
| 1969 | EOF
|
---|
| 1970 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[25148] | 1971 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
[19897] | 1972 | (eval $ac_try) 2>&5
|
---|
| 1973 | ac_status=$?
|
---|
[25148] | 1974 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 1975 | (exit $ac_status); }; } >/dev/null 2>&1; then
|
---|
[19897] | 1976 | ac_cv_prog_javac_works=yes
|
---|
| 1977 | else
|
---|
[25148] | 1978 | { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
|
---|
| 1979 | $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
|
---|
| 1980 | { (exit 1); exit 1; }; }
|
---|
[19897] | 1981 | echo "configure: failed program was:" >&5
|
---|
| 1982 | cat $JAVA_TEST >&5
|
---|
| 1983 | fi
|
---|
| 1984 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
| 1985 |
|
---|
| 1986 | fi
|
---|
[25148] | 1987 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
|
---|
[22379] | 1988 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
[23356] | 1989 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 1990 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
| 1991 | fi
|
---|
[19897] | 1992 |
|
---|
| 1993 |
|
---|
| 1994 |
|
---|
[23356] | 1995 |
|
---|
| 1996 | if test "x$JAVA" = x ; then
|
---|
| 1997 | if test x$JAVAPREFIX = x; then
|
---|
[19897] | 1998 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
| 1999 | do
|
---|
| 2000 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2001 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 2002 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[22379] | 2003 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2004 | if test "${ac_cv_prog_JAVA+set}" = set; then
|
---|
[22379] | 2005 | $as_echo_n "(cached) " >&6
|
---|
[19897] | 2006 | else
|
---|
| 2007 | if test -n "$JAVA"; then
|
---|
| 2008 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 2009 | else
|
---|
| 2010 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2011 | for as_dir in $PATH
|
---|
| 2012 | do
|
---|
| 2013 | IFS=$as_save_IFS
|
---|
| 2014 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2015 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[22379] | 2016 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[19897] | 2017 | ac_cv_prog_JAVA="$ac_prog"
|
---|
[25148] | 2018 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[19897] | 2019 | break 2
|
---|
| 2020 | fi
|
---|
| 2021 | done
|
---|
[25148] | 2022 | done
|
---|
[22379] | 2023 | IFS=$as_save_IFS
|
---|
[19897] | 2024 |
|
---|
| 2025 | fi
|
---|
| 2026 | fi
|
---|
| 2027 | JAVA=$ac_cv_prog_JAVA
|
---|
| 2028 | if test -n "$JAVA"; then
|
---|
[25148] | 2029 | { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
|
---|
[22379] | 2030 | $as_echo "$JAVA" >&6; }
|
---|
[19897] | 2031 | else
|
---|
[25148] | 2032 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[22379] | 2033 | $as_echo "no" >&6; }
|
---|
[19897] | 2034 | fi
|
---|
| 2035 |
|
---|
[22379] | 2036 |
|
---|
[19897] | 2037 | test -n "$JAVA" && break
|
---|
| 2038 | done
|
---|
| 2039 |
|
---|
[23356] | 2040 | else
|
---|
[19897] | 2041 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
| 2042 | do
|
---|
| 2043 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2044 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 2045 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[22379] | 2046 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2047 | if test "${ac_cv_prog_JAVA+set}" = set; then
|
---|
[22379] | 2048 | $as_echo_n "(cached) " >&6
|
---|
[19897] | 2049 | else
|
---|
| 2050 | if test -n "$JAVA"; then
|
---|
| 2051 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 2052 | else
|
---|
| 2053 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2054 | for as_dir in $PATH
|
---|
| 2055 | do
|
---|
| 2056 | IFS=$as_save_IFS
|
---|
| 2057 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2058 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[22379] | 2059 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[19897] | 2060 | ac_cv_prog_JAVA="$ac_prog"
|
---|
[25148] | 2061 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[19897] | 2062 | break 2
|
---|
| 2063 | fi
|
---|
| 2064 | done
|
---|
[25148] | 2065 | done
|
---|
[22379] | 2066 | IFS=$as_save_IFS
|
---|
[19897] | 2067 |
|
---|
| 2068 | fi
|
---|
| 2069 | fi
|
---|
| 2070 | JAVA=$ac_cv_prog_JAVA
|
---|
| 2071 | if test -n "$JAVA"; then
|
---|
[25148] | 2072 | { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
|
---|
[22379] | 2073 | $as_echo "$JAVA" >&6; }
|
---|
[19897] | 2074 | else
|
---|
[25148] | 2075 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[22379] | 2076 | $as_echo "no" >&6; }
|
---|
[19897] | 2077 | fi
|
---|
| 2078 |
|
---|
[22379] | 2079 |
|
---|
[19897] | 2080 | test -n "$JAVA" && break
|
---|
| 2081 | done
|
---|
| 2082 | test -n "$JAVA" || JAVA="$JAVAPREFIX"
|
---|
| 2083 |
|
---|
[23356] | 2084 | fi
|
---|
[25148] | 2085 | test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
|
---|
| 2086 | $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
|
---|
| 2087 | { (exit 1); exit 1; }; }
|
---|
[19897] | 2088 | fi
|
---|
| 2089 |
|
---|
[23356] | 2090 |
|
---|
[19897] | 2091 | # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
|
---|
| 2092 | set dummy uudecode$EXEEXT; ac_word=$2
|
---|
[25148] | 2093 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[22379] | 2094 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2095 | if test "${ac_cv_prog_uudecode+set}" = set; then
|
---|
[22379] | 2096 | $as_echo_n "(cached) " >&6
|
---|
[19897] | 2097 | else
|
---|
| 2098 | if test -n "$uudecode"; then
|
---|
| 2099 | ac_cv_prog_uudecode="$uudecode" # Let the user override the test.
|
---|
| 2100 | else
|
---|
| 2101 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2102 | for as_dir in $PATH
|
---|
| 2103 | do
|
---|
| 2104 | IFS=$as_save_IFS
|
---|
| 2105 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2106 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[22379] | 2107 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[19897] | 2108 | ac_cv_prog_uudecode="yes"
|
---|
[25148] | 2109 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[19897] | 2110 | break 2
|
---|
| 2111 | fi
|
---|
| 2112 | done
|
---|
[25148] | 2113 | done
|
---|
[22379] | 2114 | IFS=$as_save_IFS
|
---|
[19897] | 2115 |
|
---|
| 2116 | fi
|
---|
| 2117 | fi
|
---|
| 2118 | uudecode=$ac_cv_prog_uudecode
|
---|
| 2119 | if test -n "$uudecode"; then
|
---|
[25148] | 2120 | { $as_echo "$as_me:$LINENO: result: $uudecode" >&5
|
---|
[22379] | 2121 | $as_echo "$uudecode" >&6; }
|
---|
[19897] | 2122 | else
|
---|
[25148] | 2123 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[22379] | 2124 | $as_echo "no" >&6; }
|
---|
[19897] | 2125 | fi
|
---|
| 2126 |
|
---|
[22379] | 2127 |
|
---|
[19897] | 2128 | if test x$uudecode = xyes; then
|
---|
[25148] | 2129 | { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
|
---|
[22379] | 2130 | $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
|
---|
[25148] | 2131 | if test "${ac_cv_prog_uudecode_base64+set}" = set; then
|
---|
[22379] | 2132 | $as_echo_n "(cached) " >&6
|
---|
[19897] | 2133 | else
|
---|
| 2134 |
|
---|
| 2135 | cat << \EOF > Test.uue
|
---|
| 2136 | begin-base64 644 Test.class
|
---|
| 2137 | yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
|
---|
| 2138 | bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
|
---|
| 2139 | bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
|
---|
| 2140 | YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
|
---|
| 2141 | aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
|
---|
| 2142 | AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
|
---|
| 2143 | AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ=
|
---|
| 2144 | ====
|
---|
| 2145 | EOF
|
---|
| 2146 | if uudecode$EXEEXT Test.uue; then
|
---|
| 2147 | ac_cv_prog_uudecode_base64=yes
|
---|
| 2148 | else
|
---|
[26156] | 2149 | echo "configure: 2149: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
|
---|
[19897] | 2150 | echo "configure: failed file was:" >&5
|
---|
| 2151 | cat Test.uue >&5
|
---|
| 2152 | ac_cv_prog_uudecode_base64=no
|
---|
| 2153 | fi
|
---|
| 2154 | rm -f Test.uue
|
---|
| 2155 | fi
|
---|
[25148] | 2156 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
|
---|
[22379] | 2157 | $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
|
---|
[19897] | 2158 | fi
|
---|
| 2159 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 2160 | rm -f Test.class
|
---|
[25148] | 2161 | { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
|
---|
[22379] | 2162 | $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
|
---|
[19897] | 2163 | if test x$ac_cv_prog_javac_works = xno; then
|
---|
[25148] | 2164 | { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
|
---|
| 2165 | $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
|
---|
| 2166 | { (exit 1); exit 1; }; }
|
---|
[19897] | 2167 | fi
|
---|
| 2168 | if test x$ac_cv_prog_javac_works = x; then
|
---|
| 2169 |
|
---|
[23356] | 2170 | if test "x$JAVAC" = x ; then
|
---|
| 2171 | if test "x$JAVAPREFIX" = x; then
|
---|
| 2172 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
[19897] | 2173 | do
|
---|
| 2174 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2175 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 2176 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[22379] | 2177 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2178 | if test "${ac_cv_prog_JAVAC+set}" = set; then
|
---|
[22379] | 2179 | $as_echo_n "(cached) " >&6
|
---|
[19897] | 2180 | else
|
---|
| 2181 | if test -n "$JAVAC"; then
|
---|
| 2182 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 2183 | else
|
---|
| 2184 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2185 | for as_dir in $PATH
|
---|
| 2186 | do
|
---|
| 2187 | IFS=$as_save_IFS
|
---|
| 2188 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2189 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[22379] | 2190 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[19897] | 2191 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[25148] | 2192 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[19897] | 2193 | break 2
|
---|
| 2194 | fi
|
---|
| 2195 | done
|
---|
[25148] | 2196 | done
|
---|
[22379] | 2197 | IFS=$as_save_IFS
|
---|
[19897] | 2198 |
|
---|
| 2199 | fi
|
---|
| 2200 | fi
|
---|
| 2201 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 2202 | if test -n "$JAVAC"; then
|
---|
[25148] | 2203 | { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
|
---|
[22379] | 2204 | $as_echo "$JAVAC" >&6; }
|
---|
[19897] | 2205 | else
|
---|
[25148] | 2206 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[22379] | 2207 | $as_echo "no" >&6; }
|
---|
[19897] | 2208 | fi
|
---|
| 2209 |
|
---|
[22379] | 2210 |
|
---|
[19897] | 2211 | test -n "$JAVAC" && break
|
---|
| 2212 | done
|
---|
| 2213 |
|
---|
[23356] | 2214 | else
|
---|
| 2215 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
[19897] | 2216 | do
|
---|
| 2217 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2218 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 2219 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[22379] | 2220 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2221 | if test "${ac_cv_prog_JAVAC+set}" = set; then
|
---|
[22379] | 2222 | $as_echo_n "(cached) " >&6
|
---|
[19897] | 2223 | else
|
---|
| 2224 | if test -n "$JAVAC"; then
|
---|
| 2225 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 2226 | else
|
---|
| 2227 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2228 | for as_dir in $PATH
|
---|
| 2229 | do
|
---|
| 2230 | IFS=$as_save_IFS
|
---|
| 2231 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2232 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[22379] | 2233 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[19897] | 2234 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[25148] | 2235 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[19897] | 2236 | break 2
|
---|
| 2237 | fi
|
---|
| 2238 | done
|
---|
[25148] | 2239 | done
|
---|
[22379] | 2240 | IFS=$as_save_IFS
|
---|
[19897] | 2241 |
|
---|
| 2242 | fi
|
---|
| 2243 | fi
|
---|
| 2244 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 2245 | if test -n "$JAVAC"; then
|
---|
[25148] | 2246 | { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
|
---|
[22379] | 2247 | $as_echo "$JAVAC" >&6; }
|
---|
[19897] | 2248 | else
|
---|
[25148] | 2249 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[22379] | 2250 | $as_echo "no" >&6; }
|
---|
[19897] | 2251 | fi
|
---|
| 2252 |
|
---|
[22379] | 2253 |
|
---|
[19897] | 2254 | test -n "$JAVAC" && break
|
---|
| 2255 | done
|
---|
| 2256 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 2257 |
|
---|
[23356] | 2258 | fi
|
---|
[25148] | 2259 | test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
|
---|
| 2260 | $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
|
---|
| 2261 | { (exit 1); exit 1; }; }
|
---|
[23356] | 2262 | else
|
---|
| 2263 | echo "Checking for javac... $JAVAC"
|
---|
[19897] | 2264 | fi
|
---|
| 2265 |
|
---|
[23356] | 2266 |
|
---|
[25148] | 2267 | { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
|
---|
[22379] | 2268 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
[25148] | 2269 | if test "${ac_cv_prog_javac_works+set}" = set; then
|
---|
[22379] | 2270 | $as_echo_n "(cached) " >&6
|
---|
[19897] | 2271 | else
|
---|
| 2272 |
|
---|
| 2273 | JAVA_TEST=Test.java
|
---|
| 2274 | CLASS_TEST=Test.class
|
---|
| 2275 | cat << \EOF > $JAVA_TEST
|
---|
[26156] | 2276 | /* #line 2276 "configure" */
|
---|
[19897] | 2277 | public class Test {
|
---|
| 2278 | }
|
---|
| 2279 | EOF
|
---|
| 2280 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[25148] | 2281 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
[19897] | 2282 | (eval $ac_try) 2>&5
|
---|
| 2283 | ac_status=$?
|
---|
[25148] | 2284 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2285 | (exit $ac_status); }; } >/dev/null 2>&1; then
|
---|
[19897] | 2286 | ac_cv_prog_javac_works=yes
|
---|
| 2287 | else
|
---|
[25148] | 2288 | { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
|
---|
| 2289 | $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
|
---|
| 2290 | { (exit 1); exit 1; }; }
|
---|
[19897] | 2291 | echo "configure: failed program was:" >&5
|
---|
| 2292 | cat $JAVA_TEST >&5
|
---|
| 2293 | fi
|
---|
| 2294 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
| 2295 |
|
---|
| 2296 | fi
|
---|
[25148] | 2297 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
|
---|
[22379] | 2298 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
[23356] | 2299 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 2300 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
| 2301 | fi
|
---|
[19897] | 2302 |
|
---|
| 2303 |
|
---|
[23356] | 2304 |
|
---|
[19897] | 2305 | fi
|
---|
| 2306 | fi
|
---|
[25148] | 2307 | { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5
|
---|
[22379] | 2308 | $as_echo_n "checking if $JAVA works... " >&6; }
|
---|
[25148] | 2309 | if test "${ac_cv_prog_java_works+set}" = set; then
|
---|
[22379] | 2310 | $as_echo_n "(cached) " >&6
|
---|
[19897] | 2311 | else
|
---|
| 2312 |
|
---|
| 2313 | JAVA_TEST=Test.java
|
---|
| 2314 | CLASS_TEST=Test.class
|
---|
| 2315 | TEST=Test
|
---|
| 2316 | cat << \EOF > $JAVA_TEST
|
---|
[26156] | 2317 | /* [#]line 2317 "configure" */
|
---|
[19897] | 2318 | public class Test {
|
---|
| 2319 | public static void main (String args[]) {
|
---|
| 2320 | System.exit (0);
|
---|
| 2321 | } }
|
---|
| 2322 | EOF
|
---|
| 2323 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 2324 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[25148] | 2325 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
[19897] | 2326 | (eval $ac_try) 2>&5
|
---|
| 2327 | ac_status=$?
|
---|
[25148] | 2328 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2329 | (exit $ac_status); }; } && test -s $CLASS_TEST; then
|
---|
[19897] | 2330 | :
|
---|
| 2331 | else
|
---|
| 2332 | echo "configure: failed program was:" >&5
|
---|
| 2333 | cat $JAVA_TEST >&5
|
---|
[25148] | 2334 | { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
|
---|
| 2335 | $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
|
---|
| 2336 | { (exit 1); exit 1; }; }
|
---|
[19897] | 2337 | fi
|
---|
| 2338 | fi
|
---|
| 2339 | if { ac_try='$JAVA $JAVAFLAGS $TEST'
|
---|
[25148] | 2340 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
[19897] | 2341 | (eval $ac_try) 2>&5
|
---|
| 2342 | ac_status=$?
|
---|
[25148] | 2343 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2344 | (exit $ac_status); }; } >/dev/null 2>&1; then
|
---|
[19897] | 2345 | ac_cv_prog_java_works=yes
|
---|
| 2346 | else
|
---|
| 2347 | echo "configure: failed program was:" >&5
|
---|
| 2348 | cat $JAVA_TEST >&5
|
---|
[25148] | 2349 | { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
|
---|
| 2350 | $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
|
---|
| 2351 | { (exit 1); exit 1; }; }
|
---|
[19897] | 2352 | fi
|
---|
| 2353 | rm -fr $JAVA_TEST $CLASS_TEST Test.uue
|
---|
| 2354 |
|
---|
| 2355 | fi
|
---|
[25148] | 2356 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
|
---|
[22379] | 2357 | $as_echo "$ac_cv_prog_java_works" >&6; }
|
---|
[19897] | 2358 |
|
---|
| 2359 |
|
---|
| 2360 |
|
---|
[22379] | 2361 | fi
|
---|
[19897] | 2362 |
|
---|
| 2363 |
|
---|
[22379] | 2364 | # Check whether --with-unac was given.
|
---|
[25148] | 2365 | if test "${with_unac+set}" = set; then
|
---|
[22379] | 2366 | withval=$with_unac; UNAC_DIR=$withval
|
---|
| 2367 | fi
|
---|
[13703] | 2368 |
|
---|
[19897] | 2369 |
|
---|
[20832] | 2370 |
|
---|
[22379] | 2371 | # Check whether --with-libiconv was given.
|
---|
[25148] | 2372 | if test "${with_libiconv+set}" = set; then
|
---|
[22379] | 2373 | withval=$with_libiconv; LIBICONV_DIR=$withval
|
---|
| 2374 | fi
|
---|
| 2375 |
|
---|
| 2376 |
|
---|
[13703] | 2377 | if test $ENABLE_ACCENTFOLD = 1; then
|
---|
| 2378 | ac_aux_dir=
|
---|
[22379] | 2379 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
---|
[23356] | 2380 | if test -f "$ac_dir/install-sh"; then
|
---|
| 2381 | ac_aux_dir=$ac_dir
|
---|
| 2382 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 2383 | break
|
---|
| 2384 | elif test -f "$ac_dir/install.sh"; then
|
---|
| 2385 | ac_aux_dir=$ac_dir
|
---|
| 2386 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 2387 | break
|
---|
| 2388 | elif test -f "$ac_dir/shtool"; then
|
---|
| 2389 | ac_aux_dir=$ac_dir
|
---|
| 2390 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 2391 | break
|
---|
| 2392 | fi
|
---|
[13703] | 2393 | done
|
---|
| 2394 | if test -z "$ac_aux_dir"; then
|
---|
[25148] | 2395 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
---|
| 2396 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
---|
| 2397 | { (exit 1); exit 1; }; }
|
---|
[13703] | 2398 | fi
|
---|
| 2399 |
|
---|
[22379] | 2400 | # These three variables are undocumented and unsupported,
|
---|
| 2401 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
| 2402 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
| 2403 | # whose full name contains unusual characters.
|
---|
| 2404 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
| 2405 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
| 2406 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
[13703] | 2407 |
|
---|
| 2408 |
|
---|
[22379] | 2409 |
|
---|
| 2410 |
|
---|
[13703] | 2411 | subdirs="$subdirs packages/unac"
|
---|
| 2412 |
|
---|
| 2413 | fi
|
---|
| 2414 |
|
---|
[20832] | 2415 |
|
---|
[21328] | 2416 | if test $ENABLE_MG = 1; then
|
---|
| 2417 | if test ! -d mg; then
|
---|
| 2418 | echo "***** Folder mg does not exist, cannot ENABLE_MG.";
|
---|
| 2419 | exit 1;
|
---|
| 2420 | fi
|
---|
| 2421 | subdirs="$subdirs mg"
|
---|
[13703] | 2422 |
|
---|
[21328] | 2423 | fi
|
---|
| 2424 |
|
---|
| 2425 | if test $ENABLE_MGPP = 1; then
|
---|
| 2426 | if test ! -d mgpp; then
|
---|
| 2427 | echo "***** Folder mgpp does not exist, cannot ENABLE_MGPP.";
|
---|
| 2428 | exit 1;
|
---|
| 2429 | fi
|
---|
| 2430 | subdirs="$subdirs mgpp"
|
---|
| 2431 |
|
---|
| 2432 | fi
|
---|
| 2433 |
|
---|
| 2434 | if test $ENABLE_LUCENE = 1; then
|
---|
| 2435 | if test ! -d lucene-gs; then
|
---|
| 2436 | echo "***** Folder lucene-gs does not exist, cannot ENABLE_LUCENE.";
|
---|
| 2437 | exit 1;
|
---|
| 2438 | fi
|
---|
| 2439 | fi
|
---|
| 2440 |
|
---|
[23356] | 2441 | srclist="lucene-gs/Makefile"
|
---|
[22379] | 2442 |
|
---|
[23356] | 2443 | ac_config_files="$ac_config_files Makefile $srclist"
|
---|
| 2444 |
|
---|
[13703] | 2445 | cat >confcache <<\_ACEOF
|
---|
| 2446 | # This file is a shell script that caches the results of configure
|
---|
| 2447 | # tests run on this system so they can be shared between configure
|
---|
| 2448 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 2449 | # It is not useful on other systems. If it contains results you don't
|
---|
| 2450 | # want to keep, you may remove or edit it.
|
---|
| 2451 | #
|
---|
| 2452 | # config.status only pays attention to the cache file if you give it
|
---|
| 2453 | # the --recheck option to rerun configure.
|
---|
| 2454 | #
|
---|
| 2455 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 2456 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 2457 | # following values.
|
---|
| 2458 |
|
---|
| 2459 | _ACEOF
|
---|
| 2460 |
|
---|
| 2461 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 2462 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
[22379] | 2463 | # So, we kill variables containing newlines.
|
---|
[13703] | 2464 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 2465 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
[22379] | 2466 | (
|
---|
| 2467 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
| 2468 | eval ac_val=\$$ac_var
|
---|
| 2469 | case $ac_val in #(
|
---|
| 2470 | *${as_nl}*)
|
---|
| 2471 | case $ac_var in #(
|
---|
[25148] | 2472 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
[22379] | 2473 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 2474 | esac
|
---|
| 2475 | case $ac_var in #(
|
---|
| 2476 | _ | IFS | as_nl) ;; #(
|
---|
| 2477 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
[25148] | 2478 | *) $as_unset $ac_var ;;
|
---|
[22379] | 2479 | esac ;;
|
---|
| 2480 | esac
|
---|
| 2481 | done
|
---|
| 2482 |
|
---|
[13703] | 2483 | (set) 2>&1 |
|
---|
[22379] | 2484 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
| 2485 | *${as_nl}ac_space=\ *)
|
---|
[25148] | 2486 | # `set' does not quote correctly, so add quotes (double-quote
|
---|
| 2487 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
---|
[13703] | 2488 | sed -n \
|
---|
| 2489 | "s/'/'\\\\''/g;
|
---|
| 2490 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
[22379] | 2491 | ;; #(
|
---|
[13703] | 2492 | *)
|
---|
| 2493 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
[22379] | 2494 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[13703] | 2495 | ;;
|
---|
[22379] | 2496 | esac |
|
---|
| 2497 | sort
|
---|
| 2498 | ) |
|
---|
[13703] | 2499 | sed '
|
---|
[22379] | 2500 | /^ac_cv_env_/b end
|
---|
[13703] | 2501 | t clear
|
---|
[22379] | 2502 | :clear
|
---|
[13703] | 2503 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 2504 | t end
|
---|
[22379] | 2505 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 2506 | :end' >>confcache
|
---|
| 2507 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
| 2508 | if test -w "$cache_file"; then
|
---|
| 2509 | test "x$cache_file" != "x/dev/null" &&
|
---|
[25148] | 2510 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
---|
[22379] | 2511 | $as_echo "$as_me: updating cache $cache_file" >&6;}
|
---|
[13703] | 2512 | cat confcache >$cache_file
|
---|
| 2513 | else
|
---|
[25148] | 2514 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
---|
[22379] | 2515 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
[13703] | 2516 | fi
|
---|
| 2517 | fi
|
---|
| 2518 | rm -f confcache
|
---|
| 2519 |
|
---|
| 2520 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 2521 | # Let make expand exec_prefix.
|
---|
| 2522 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 2523 |
|
---|
| 2524 | # Transform confdefs.h into DEFS.
|
---|
| 2525 | # Protect against shell expansion while executing Makefile rules.
|
---|
| 2526 | # Protect against Makefile macro expansion.
|
---|
| 2527 | #
|
---|
| 2528 | # If the first sed substitution is executed (which looks for macros that
|
---|
[22379] | 2529 | # take arguments), then branch to the quote section. Otherwise,
|
---|
[13703] | 2530 | # look for a macro that doesn't take arguments.
|
---|
[22379] | 2531 | ac_script='
|
---|
| 2532 | :mline
|
---|
| 2533 | /\\$/{
|
---|
| 2534 | N
|
---|
| 2535 | s,\\\n,,
|
---|
| 2536 | b mline
|
---|
| 2537 | }
|
---|
[13703] | 2538 | t clear
|
---|
[22379] | 2539 | :clear
|
---|
| 2540 | s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
|
---|
[13703] | 2541 | t quote
|
---|
[22379] | 2542 | s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
|
---|
[13703] | 2543 | t quote
|
---|
[22379] | 2544 | b any
|
---|
| 2545 | :quote
|
---|
| 2546 | s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
|
---|
| 2547 | s/\[/\\&/g
|
---|
| 2548 | s/\]/\\&/g
|
---|
| 2549 | s/\$/$$/g
|
---|
| 2550 | H
|
---|
| 2551 | :any
|
---|
| 2552 | ${
|
---|
| 2553 | g
|
---|
| 2554 | s/^\n//
|
---|
| 2555 | s/\n/ /g
|
---|
| 2556 | p
|
---|
| 2557 | }
|
---|
| 2558 | '
|
---|
| 2559 | DEFS=`sed -n "$ac_script" confdefs.h`
|
---|
[13703] | 2560 |
|
---|
| 2561 |
|
---|
| 2562 | ac_libobjs=
|
---|
| 2563 | ac_ltlibobjs=
|
---|
| 2564 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 2565 | # 1. Remove the extension, and $U if already installed.
|
---|
[22379] | 2566 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
| 2567 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
---|
| 2568 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
| 2569 | # will be set to the directory where LIBOBJS objects are built.
|
---|
[25148] | 2570 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
| 2571 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
[13703] | 2572 | done
|
---|
| 2573 | LIBOBJS=$ac_libobjs
|
---|
| 2574 |
|
---|
| 2575 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 2576 |
|
---|
| 2577 |
|
---|
| 2578 |
|
---|
| 2579 | : ${CONFIG_STATUS=./config.status}
|
---|
[22379] | 2580 | ac_write_fail=0
|
---|
[13703] | 2581 | ac_clean_files_save=$ac_clean_files
|
---|
| 2582 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
[25148] | 2583 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
---|
[22379] | 2584 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
[25148] | 2585 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[13703] | 2586 | #! $SHELL
|
---|
| 2587 | # Generated by $as_me.
|
---|
| 2588 | # Run this file to recreate the current configuration.
|
---|
| 2589 | # Compiler output produced by configure, useful for debugging
|
---|
| 2590 | # configure, is in config.log if it exists.
|
---|
| 2591 |
|
---|
| 2592 | debug=false
|
---|
| 2593 | ac_cs_recheck=false
|
---|
| 2594 | ac_cs_silent=false
|
---|
| 2595 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
[25148] | 2596 | _ACEOF
|
---|
[13703] | 2597 |
|
---|
[25148] | 2598 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 2599 | ## --------------------- ##
|
---|
| 2600 | ## M4sh Initialization. ##
|
---|
| 2601 | ## --------------------- ##
|
---|
| 2602 |
|
---|
[22379] | 2603 | # Be more Bourne compatible
|
---|
| 2604 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[25148] | 2605 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
[13703] | 2606 | emulate sh
|
---|
| 2607 | NULLCMD=:
|
---|
[22379] | 2608 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[13703] | 2609 | # is contrary to our usage. Disable this feature.
|
---|
| 2610 | alias -g '${1+"$@"}'='"$@"'
|
---|
[22379] | 2611 | setopt NO_GLOB_SUBST
|
---|
| 2612 | else
|
---|
[25148] | 2613 | case `(set -o) 2>/dev/null` in
|
---|
| 2614 | *posix*) set -o posix ;;
|
---|
[22379] | 2615 | esac
|
---|
[25148] | 2616 |
|
---|
[13703] | 2617 | fi
|
---|
| 2618 |
|
---|
[22379] | 2619 |
|
---|
[25148] | 2620 |
|
---|
| 2621 |
|
---|
| 2622 | # PATH needs CR
|
---|
| 2623 | # Avoid depending upon Character Ranges.
|
---|
| 2624 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 2625 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 2626 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 2627 | as_cr_digits='0123456789'
|
---|
| 2628 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
| 2629 |
|
---|
[22379] | 2630 | as_nl='
|
---|
| 2631 | '
|
---|
| 2632 | export as_nl
|
---|
| 2633 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 2634 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 2635 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 2636 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
[25148] | 2637 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
[22379] | 2638 | as_echo='printf %s\n'
|
---|
| 2639 | as_echo_n='printf %s'
|
---|
[13703] | 2640 | else
|
---|
[22379] | 2641 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 2642 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 2643 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 2644 | else
|
---|
| 2645 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 2646 | as_echo_n_body='eval
|
---|
| 2647 | arg=$1;
|
---|
[25148] | 2648 | case $arg in
|
---|
[22379] | 2649 | *"$as_nl"*)
|
---|
| 2650 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 2651 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 2652 | esac;
|
---|
| 2653 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 2654 | '
|
---|
| 2655 | export as_echo_n_body
|
---|
| 2656 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 2657 | fi
|
---|
| 2658 | export as_echo_body
|
---|
| 2659 | as_echo='sh -c $as_echo_body as_echo'
|
---|
[13703] | 2660 | fi
|
---|
| 2661 |
|
---|
[22379] | 2662 | # The user is always right.
|
---|
| 2663 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 2664 | PATH_SEPARATOR=:
|
---|
| 2665 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 2666 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 2667 | PATH_SEPARATOR=';'
|
---|
| 2668 | }
|
---|
| 2669 | fi
|
---|
[13703] | 2670 |
|
---|
[25148] | 2671 | # Support unset when possible.
|
---|
| 2672 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
| 2673 | as_unset=unset
|
---|
| 2674 | else
|
---|
| 2675 | as_unset=false
|
---|
| 2676 | fi
|
---|
[22379] | 2677 |
|
---|
[25148] | 2678 |
|
---|
[22379] | 2679 | # IFS
|
---|
| 2680 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 2681 | # there to prevent editors from complaining about space-tab.
|
---|
| 2682 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 2683 | # splitting by setting IFS to empty value.)
|
---|
| 2684 | IFS=" "" $as_nl"
|
---|
| 2685 |
|
---|
| 2686 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
[25148] | 2687 | case $0 in
|
---|
[22379] | 2688 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 2689 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2690 | for as_dir in $PATH
|
---|
| 2691 | do
|
---|
| 2692 | IFS=$as_save_IFS
|
---|
| 2693 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2694 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 2695 | done
|
---|
[22379] | 2696 | IFS=$as_save_IFS
|
---|
| 2697 |
|
---|
| 2698 | ;;
|
---|
| 2699 | esac
|
---|
| 2700 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 2701 | # in which case we are not to be found in the path.
|
---|
| 2702 | if test "x$as_myself" = x; then
|
---|
| 2703 | as_myself=$0
|
---|
| 2704 | fi
|
---|
| 2705 | if test ! -f "$as_myself"; then
|
---|
| 2706 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
[25148] | 2707 | { (exit 1); exit 1; }
|
---|
[22379] | 2708 | fi
|
---|
| 2709 |
|
---|
[25148] | 2710 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
| 2711 | for as_var in ENV MAIL MAILPATH
|
---|
| 2712 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
[22379] | 2713 | done
|
---|
[13703] | 2714 | PS1='$ '
|
---|
| 2715 | PS2='> '
|
---|
| 2716 | PS4='+ '
|
---|
| 2717 |
|
---|
| 2718 | # NLS nuisances.
|
---|
[22379] | 2719 | LC_ALL=C
|
---|
| 2720 | export LC_ALL
|
---|
| 2721 | LANGUAGE=C
|
---|
| 2722 | export LANGUAGE
|
---|
| 2723 |
|
---|
[25148] | 2724 | # Required to use basename.
|
---|
[22379] | 2725 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 2726 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[13703] | 2727 | as_expr=expr
|
---|
| 2728 | else
|
---|
| 2729 | as_expr=false
|
---|
| 2730 | fi
|
---|
| 2731 |
|
---|
[22379] | 2732 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[13703] | 2733 | as_basename=basename
|
---|
| 2734 | else
|
---|
| 2735 | as_basename=false
|
---|
| 2736 | fi
|
---|
| 2737 |
|
---|
| 2738 |
|
---|
[25148] | 2739 | # Name of the executable.
|
---|
[22379] | 2740 | as_me=`$as_basename -- "$0" ||
|
---|
[13703] | 2741 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 2742 | X"$0" : 'X\(//\)$' \| \
|
---|
[22379] | 2743 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 2744 | $as_echo X/"$0" |
|
---|
| 2745 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 2746 | s//\1/
|
---|
| 2747 | q
|
---|
| 2748 | }
|
---|
| 2749 | /^X\/\(\/\/\)$/{
|
---|
| 2750 | s//\1/
|
---|
| 2751 | q
|
---|
| 2752 | }
|
---|
| 2753 | /^X\/\(\/\).*/{
|
---|
| 2754 | s//\1/
|
---|
| 2755 | q
|
---|
| 2756 | }
|
---|
| 2757 | s/.*/./; q'`
|
---|
[13703] | 2758 |
|
---|
[25148] | 2759 | # CDPATH.
|
---|
| 2760 | $as_unset CDPATH
|
---|
[13703] | 2761 |
|
---|
[25148] | 2762 |
|
---|
| 2763 |
|
---|
| 2764 | as_lineno_1=$LINENO
|
---|
| 2765 | as_lineno_2=$LINENO
|
---|
| 2766 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 2767 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
---|
| 2768 |
|
---|
| 2769 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
| 2770 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
| 2771 | # line-number line after each line using $LINENO; the second 'sed'
|
---|
| 2772 | # does the real work. The second script uses 'N' to pair each
|
---|
| 2773 | # line-number line with the line containing $LINENO, and appends
|
---|
| 2774 | # trailing '-' during substitution so that $LINENO is not a special
|
---|
| 2775 | # case at line end.
|
---|
| 2776 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
| 2777 | # scripts with optimization help from Paolo Bonzini. Blame Lee
|
---|
| 2778 | # E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
| 2779 | sed -n '
|
---|
| 2780 | p
|
---|
| 2781 | /[$]LINENO/=
|
---|
| 2782 | ' <$as_myself |
|
---|
| 2783 | sed '
|
---|
| 2784 | s/[$]LINENO.*/&-/
|
---|
| 2785 | t lineno
|
---|
| 2786 | b
|
---|
| 2787 | :lineno
|
---|
| 2788 | N
|
---|
| 2789 | :loop
|
---|
| 2790 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
| 2791 | t loop
|
---|
| 2792 | s/-\n.*//
|
---|
| 2793 | ' >$as_me.lineno &&
|
---|
| 2794 | chmod +x "$as_me.lineno" ||
|
---|
| 2795 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
---|
| 2796 | { (exit 1); exit 1; }; }
|
---|
| 2797 |
|
---|
| 2798 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 2799 | # (the dirname of $[0] is not the place where we might find the
|
---|
| 2800 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 2801 | . "./$as_me.lineno"
|
---|
| 2802 | # Exit status is that of the last command.
|
---|
| 2803 | exit
|
---|
| 2804 | }
|
---|
| 2805 |
|
---|
| 2806 |
|
---|
| 2807 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 2808 | as_dirname=dirname
|
---|
| 2809 | else
|
---|
| 2810 | as_dirname=false
|
---|
| 2811 | fi
|
---|
| 2812 |
|
---|
[22379] | 2813 | ECHO_C= ECHO_N= ECHO_T=
|
---|
[25148] | 2814 | case `echo -n x` in
|
---|
[22379] | 2815 | -n*)
|
---|
[25148] | 2816 | case `echo 'x\c'` in
|
---|
[22379] | 2817 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
[25148] | 2818 | *) ECHO_C='\c';;
|
---|
[22379] | 2819 | esac;;
|
---|
| 2820 | *)
|
---|
| 2821 | ECHO_N='-n';;
|
---|
[13703] | 2822 | esac
|
---|
[25148] | 2823 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 2824 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
| 2825 | as_expr=expr
|
---|
| 2826 | else
|
---|
| 2827 | as_expr=false
|
---|
| 2828 | fi
|
---|
[13703] | 2829 |
|
---|
[22379] | 2830 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 2831 | if test -d conf$$.dir; then
|
---|
| 2832 | rm -f conf$$.dir/conf$$.file
|
---|
[13703] | 2833 | else
|
---|
[22379] | 2834 | rm -f conf$$.dir
|
---|
| 2835 | mkdir conf$$.dir 2>/dev/null
|
---|
[13703] | 2836 | fi
|
---|
[22379] | 2837 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 2838 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 2839 | as_ln_s='ln -s'
|
---|
| 2840 | # ... but there are two gotchas:
|
---|
| 2841 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 2842 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 2843 | # In both cases, we have to default to `cp -p'.
|
---|
| 2844 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 2845 | as_ln_s='cp -p'
|
---|
| 2846 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 2847 | as_ln_s=ln
|
---|
| 2848 | else
|
---|
[13703] | 2849 | as_ln_s='cp -p'
|
---|
[20832] | 2850 | fi
|
---|
[13703] | 2851 | else
|
---|
| 2852 | as_ln_s='cp -p'
|
---|
| 2853 | fi
|
---|
[22379] | 2854 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 2855 | rmdir conf$$.dir 2>/dev/null
|
---|
[13703] | 2856 |
|
---|
| 2857 | if mkdir -p . 2>/dev/null; then
|
---|
[25148] | 2858 | as_mkdir_p=:
|
---|
[13703] | 2859 | else
|
---|
| 2860 | test -d ./-p && rmdir ./-p
|
---|
| 2861 | as_mkdir_p=false
|
---|
| 2862 | fi
|
---|
| 2863 |
|
---|
[22379] | 2864 | if test -x / >/dev/null 2>&1; then
|
---|
| 2865 | as_test_x='test -x'
|
---|
| 2866 | else
|
---|
| 2867 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 2868 | as_ls_L_option=L
|
---|
| 2869 | else
|
---|
| 2870 | as_ls_L_option=
|
---|
| 2871 | fi
|
---|
| 2872 | as_test_x='
|
---|
| 2873 | eval sh -c '\''
|
---|
| 2874 | if test -d "$1"; then
|
---|
| 2875 | test -d "$1/.";
|
---|
| 2876 | else
|
---|
[25148] | 2877 | case $1 in
|
---|
[22379] | 2878 | -*)set "./$1";;
|
---|
| 2879 | esac;
|
---|
[25148] | 2880 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
---|
[22379] | 2881 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 2882 | '\'' sh
|
---|
| 2883 | '
|
---|
| 2884 | fi
|
---|
| 2885 | as_executable_p=$as_test_x
|
---|
[13703] | 2886 |
|
---|
| 2887 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 2888 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 2889 |
|
---|
| 2890 | # Sed expression to map a string onto a valid variable name.
|
---|
| 2891 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 2892 |
|
---|
| 2893 |
|
---|
| 2894 | exec 6>&1
|
---|
| 2895 |
|
---|
[25148] | 2896 | # Save the log message, to keep $[0] and so on meaningful, and to
|
---|
[13703] | 2897 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
[22379] | 2898 | # values after options handling.
|
---|
| 2899 | ac_log="
|
---|
[13703] | 2900 | This file was extended by $as_me, which was
|
---|
[25148] | 2901 | generated by GNU Autoconf 2.63. Invocation command line was
|
---|
[13703] | 2902 |
|
---|
| 2903 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 2904 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 2905 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 2906 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 2907 | $ $0 $@
|
---|
| 2908 |
|
---|
[22379] | 2909 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 2910 | "
|
---|
| 2911 |
|
---|
[13703] | 2912 | _ACEOF
|
---|
| 2913 |
|
---|
[22379] | 2914 | case $ac_config_files in *"
|
---|
| 2915 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
| 2916 | esac
|
---|
[13703] | 2917 |
|
---|
| 2918 |
|
---|
[20832] | 2919 |
|
---|
[22379] | 2920 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 2921 | # Files that config.status was made for.
|
---|
| 2922 | config_files="$ac_config_files"
|
---|
[20832] | 2923 |
|
---|
[22379] | 2924 | _ACEOF
|
---|
[20832] | 2925 |
|
---|
[22379] | 2926 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[13703] | 2927 | ac_cs_usage="\
|
---|
[25148] | 2928 | \`$as_me' instantiates files from templates according to the
|
---|
| 2929 | current configuration.
|
---|
[13703] | 2930 |
|
---|
[25148] | 2931 | Usage: $0 [OPTION]... [FILE]...
|
---|
[13703] | 2932 |
|
---|
| 2933 | -h, --help print this help, then exit
|
---|
[22379] | 2934 | -V, --version print version number and configuration settings, then exit
|
---|
| 2935 | -q, --quiet, --silent
|
---|
| 2936 | do not print progress messages
|
---|
[13703] | 2937 | -d, --debug don't remove temporary files
|
---|
| 2938 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
[22379] | 2939 | --file=FILE[:TEMPLATE]
|
---|
| 2940 | instantiate the configuration file FILE
|
---|
[13703] | 2941 |
|
---|
| 2942 | Configuration files:
|
---|
| 2943 | $config_files
|
---|
| 2944 |
|
---|
[25148] | 2945 | Report bugs to <[email protected]>."
|
---|
[22379] | 2946 |
|
---|
[20832] | 2947 | _ACEOF
|
---|
[22379] | 2948 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[13703] | 2949 | ac_cs_version="\\
|
---|
| 2950 | config.status
|
---|
[25148] | 2951 | configured by $0, generated by GNU Autoconf 2.63,
|
---|
| 2952 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
---|
[13703] | 2953 |
|
---|
[25148] | 2954 | Copyright (C) 2008 Free Software Foundation, Inc.
|
---|
[13703] | 2955 | This config.status script is free software; the Free Software Foundation
|
---|
| 2956 | gives unlimited permission to copy, distribute and modify it."
|
---|
[22379] | 2957 |
|
---|
| 2958 | ac_pwd='$ac_pwd'
|
---|
| 2959 | srcdir='$srcdir'
|
---|
| 2960 | test -n "\$AWK" || AWK=awk
|
---|
[13703] | 2961 | _ACEOF
|
---|
| 2962 |
|
---|
[22379] | 2963 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 2964 | # The default lists apply if the user does not specify any file.
|
---|
[13703] | 2965 | ac_need_defaults=:
|
---|
| 2966 | while test $# != 0
|
---|
| 2967 | do
|
---|
| 2968 | case $1 in
|
---|
[25148] | 2969 | --*=*)
|
---|
[22379] | 2970 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 2971 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
[13703] | 2972 | ac_shift=:
|
---|
| 2973 | ;;
|
---|
[22379] | 2974 | *)
|
---|
[13703] | 2975 | ac_option=$1
|
---|
| 2976 | ac_optarg=$2
|
---|
| 2977 | ac_shift=shift
|
---|
| 2978 | ;;
|
---|
| 2979 | esac
|
---|
| 2980 |
|
---|
| 2981 | case $ac_option in
|
---|
| 2982 | # Handling of the options.
|
---|
| 2983 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 2984 | ac_cs_recheck=: ;;
|
---|
[22379] | 2985 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
| 2986 | $as_echo "$ac_cs_version"; exit ;;
|
---|
| 2987 | --debug | --debu | --deb | --de | --d | -d )
|
---|
[13703] | 2988 | debug=: ;;
|
---|
| 2989 | --file | --fil | --fi | --f )
|
---|
| 2990 | $ac_shift
|
---|
[22379] | 2991 | case $ac_optarg in
|
---|
| 2992 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 2993 | esac
|
---|
[25148] | 2994 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
|
---|
[13703] | 2995 | ac_need_defaults=false;;
|
---|
[22379] | 2996 | --he | --h | --help | --hel | -h )
|
---|
| 2997 | $as_echo "$ac_cs_usage"; exit ;;
|
---|
[13703] | 2998 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 2999 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 3000 | ac_cs_silent=: ;;
|
---|
| 3001 |
|
---|
| 3002 | # This is an error.
|
---|
[25148] | 3003 | -*) { $as_echo "$as_me: error: unrecognized option: $1
|
---|
| 3004 | Try \`$0 --help' for more information." >&2
|
---|
| 3005 | { (exit 1); exit 1; }; } ;;
|
---|
[13703] | 3006 |
|
---|
[25148] | 3007 | *) ac_config_targets="$ac_config_targets $1"
|
---|
[22379] | 3008 | ac_need_defaults=false ;;
|
---|
[13703] | 3009 |
|
---|
| 3010 | esac
|
---|
| 3011 | shift
|
---|
| 3012 | done
|
---|
| 3013 |
|
---|
| 3014 | ac_configure_extra_args=
|
---|
| 3015 |
|
---|
| 3016 | if $ac_cs_silent; then
|
---|
| 3017 | exec 6>/dev/null
|
---|
| 3018 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
| 3019 | fi
|
---|
| 3020 |
|
---|
| 3021 | _ACEOF
|
---|
[22379] | 3022 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[13703] | 3023 | if \$ac_cs_recheck; then
|
---|
[22379] | 3024 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
| 3025 | shift
|
---|
| 3026 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
---|
| 3027 | CONFIG_SHELL='$SHELL'
|
---|
| 3028 | export CONFIG_SHELL
|
---|
| 3029 | exec "\$@"
|
---|
[13703] | 3030 | fi
|
---|
| 3031 |
|
---|
| 3032 | _ACEOF
|
---|
[22379] | 3033 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 3034 | exec 5>>config.log
|
---|
| 3035 | {
|
---|
| 3036 | echo
|
---|
| 3037 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 3038 | ## Running $as_me. ##
|
---|
| 3039 | _ASBOX
|
---|
| 3040 | $as_echo "$ac_log"
|
---|
| 3041 | } >&5
|
---|
[13703] | 3042 |
|
---|
[22379] | 3043 | _ACEOF
|
---|
| 3044 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 3045 | _ACEOF
|
---|
[13703] | 3046 |
|
---|
[22379] | 3047 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[20832] | 3048 |
|
---|
[22379] | 3049 | # Handling of arguments.
|
---|
[13703] | 3050 | for ac_config_target in $ac_config_targets
|
---|
| 3051 | do
|
---|
[22379] | 3052 | case $ac_config_target in
|
---|
| 3053 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
[23356] | 3054 | "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
|
---|
[22379] | 3055 |
|
---|
[25148] | 3056 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
---|
| 3057 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
---|
| 3058 | { (exit 1); exit 1; }; };;
|
---|
[13703] | 3059 | esac
|
---|
| 3060 | done
|
---|
| 3061 |
|
---|
[22379] | 3062 |
|
---|
[13703] | 3063 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 3064 | # then the envvar interface is used. Set only those that are not.
|
---|
| 3065 | # We use the long form for the default assignment because of an extremely
|
---|
| 3066 | # bizarre bug on SunOS 4.1.3.
|
---|
| 3067 | if $ac_need_defaults; then
|
---|
| 3068 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 3069 | fi
|
---|
| 3070 |
|
---|
| 3071 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
[22379] | 3072 | # simply because there is no reason against having it here, and in addition,
|
---|
[13703] | 3073 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
[22379] | 3074 | # Hook for its removal unless debugging.
|
---|
| 3075 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
| 3076 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
[13703] | 3077 | $debug ||
|
---|
| 3078 | {
|
---|
[22379] | 3079 | tmp=
|
---|
| 3080 | trap 'exit_status=$?
|
---|
| 3081 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
---|
| 3082 | ' 0
|
---|
[25148] | 3083 | trap '{ (exit 1); exit 1; }' 1 2 13 15
|
---|
[13703] | 3084 | }
|
---|
| 3085 | # Create a (secure) tmp directory for tmp files.
|
---|
| 3086 |
|
---|
| 3087 | {
|
---|
[22379] | 3088 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
[13703] | 3089 | test -n "$tmp" && test -d "$tmp"
|
---|
| 3090 | } ||
|
---|
| 3091 | {
|
---|
[22379] | 3092 | tmp=./conf$$-$RANDOM
|
---|
| 3093 | (umask 077 && mkdir "$tmp")
|
---|
[25148] | 3094 | } ||
|
---|
| 3095 | {
|
---|
| 3096 | $as_echo "$as_me: cannot create a temporary directory in ." >&2
|
---|
| 3097 | { (exit 1); exit 1; }
|
---|
| 3098 | }
|
---|
[22379] | 3099 |
|
---|
| 3100 | # Set up the scripts for CONFIG_FILES section.
|
---|
| 3101 | # No need to generate them if there are no CONFIG_FILES.
|
---|
| 3102 | # This happens for instance with `./config.status config.h'.
|
---|
| 3103 | if test -n "$CONFIG_FILES"; then
|
---|
| 3104 |
|
---|
| 3105 |
|
---|
[25148] | 3106 | ac_cr='
|
---|
| 3107 | '
|
---|
[22379] | 3108 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
| 3109 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
[23356] | 3110 | ac_cs_awk_cr='\\r'
|
---|
[22379] | 3111 | else
|
---|
| 3112 | ac_cs_awk_cr=$ac_cr
|
---|
| 3113 | fi
|
---|
| 3114 |
|
---|
| 3115 | echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
---|
| 3116 | _ACEOF
|
---|
| 3117 |
|
---|
| 3118 |
|
---|
[13703] | 3119 | {
|
---|
[22379] | 3120 | echo "cat >conf$$subs.awk <<_ACEOF" &&
|
---|
| 3121 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
---|
| 3122 | echo "_ACEOF"
|
---|
| 3123 | } >conf$$subs.sh ||
|
---|
[25148] | 3124 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
---|
| 3125 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
---|
| 3126 | { (exit 1); exit 1; }; }
|
---|
| 3127 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
---|
[22379] | 3128 | ac_delim='%!_!# '
|
---|
| 3129 | for ac_last_try in false false false false false :; do
|
---|
| 3130 | . ./conf$$subs.sh ||
|
---|
[25148] | 3131 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
---|
| 3132 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
---|
| 3133 | { (exit 1); exit 1; }; }
|
---|
[22379] | 3134 |
|
---|
| 3135 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
---|
| 3136 | if test $ac_delim_n = $ac_delim_num; then
|
---|
| 3137 | break
|
---|
| 3138 | elif $ac_last_try; then
|
---|
[25148] | 3139 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
---|
| 3140 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
---|
| 3141 | { (exit 1); exit 1; }; }
|
---|
[22379] | 3142 | else
|
---|
| 3143 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 3144 | fi
|
---|
| 3145 | done
|
---|
| 3146 | rm -f conf$$subs.sh
|
---|
| 3147 |
|
---|
| 3148 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 3149 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
---|
| 3150 | _ACEOF
|
---|
| 3151 | sed -n '
|
---|
| 3152 | h
|
---|
| 3153 | s/^/S["/; s/!.*/"]=/
|
---|
| 3154 | p
|
---|
| 3155 | g
|
---|
| 3156 | s/^[^!]*!//
|
---|
| 3157 | :repl
|
---|
| 3158 | t repl
|
---|
| 3159 | s/'"$ac_delim"'$//
|
---|
| 3160 | t delim
|
---|
| 3161 | :nl
|
---|
| 3162 | h
|
---|
[25148] | 3163 | s/\(.\{148\}\).*/\1/
|
---|
[22379] | 3164 | t more1
|
---|
| 3165 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
| 3166 | p
|
---|
| 3167 | n
|
---|
| 3168 | b repl
|
---|
| 3169 | :more1
|
---|
| 3170 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 3171 | p
|
---|
| 3172 | g
|
---|
| 3173 | s/.\{148\}//
|
---|
| 3174 | t nl
|
---|
| 3175 | :delim
|
---|
| 3176 | h
|
---|
[25148] | 3177 | s/\(.\{148\}\).*/\1/
|
---|
[22379] | 3178 | t more2
|
---|
| 3179 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
| 3180 | p
|
---|
| 3181 | b
|
---|
| 3182 | :more2
|
---|
| 3183 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 3184 | p
|
---|
| 3185 | g
|
---|
| 3186 | s/.\{148\}//
|
---|
| 3187 | t delim
|
---|
| 3188 | ' <conf$$subs.awk | sed '
|
---|
| 3189 | /^[^""]/{
|
---|
| 3190 | N
|
---|
| 3191 | s/\n//
|
---|
[13703] | 3192 | }
|
---|
[22379] | 3193 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 3194 | rm -f conf$$subs.awk
|
---|
| 3195 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 3196 | _ACAWK
|
---|
| 3197 | cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
---|
| 3198 | for (key in S) S_is_set[key] = 1
|
---|
| 3199 | FS = ""
|
---|
[13703] | 3200 |
|
---|
[22379] | 3201 | }
|
---|
| 3202 | {
|
---|
| 3203 | line = $ 0
|
---|
| 3204 | nfields = split(line, field, "@")
|
---|
| 3205 | substed = 0
|
---|
| 3206 | len = length(field[1])
|
---|
| 3207 | for (i = 2; i < nfields; i++) {
|
---|
| 3208 | key = field[i]
|
---|
| 3209 | keylen = length(key)
|
---|
| 3210 | if (S_is_set[key]) {
|
---|
| 3211 | value = S[key]
|
---|
| 3212 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
---|
| 3213 | len += length(value) + length(field[++i])
|
---|
| 3214 | substed = 1
|
---|
| 3215 | } else
|
---|
| 3216 | len += 1 + keylen
|
---|
| 3217 | }
|
---|
| 3218 |
|
---|
| 3219 | print line
|
---|
| 3220 | }
|
---|
| 3221 |
|
---|
| 3222 | _ACAWK
|
---|
[20832] | 3223 | _ACEOF
|
---|
[22379] | 3224 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 3225 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
| 3226 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
| 3227 | else
|
---|
| 3228 | cat
|
---|
| 3229 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
---|
[25148] | 3230 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
|
---|
| 3231 | $as_echo "$as_me: error: could not setup config files machinery" >&2;}
|
---|
| 3232 | { (exit 1); exit 1; }; }
|
---|
[22379] | 3233 | _ACEOF
|
---|
[20832] | 3234 |
|
---|
[25148] | 3235 | # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
---|
| 3236 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
---|
[22379] | 3237 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 3238 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 3239 | if test "x$srcdir" = x.; then
|
---|
[25148] | 3240 | ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
---|
| 3241 | s/:*\$(srcdir):*/:/
|
---|
| 3242 | s/:*\${srcdir}:*/:/
|
---|
| 3243 | s/:*@srcdir@:*/:/
|
---|
| 3244 | s/^\([^=]*=[ ]*\):*/\1/
|
---|
[22379] | 3245 | s/:*$//
|
---|
| 3246 | s/^[^=]*=[ ]*$//
|
---|
| 3247 | }'
|
---|
| 3248 | fi
|
---|
[20832] | 3249 |
|
---|
[22379] | 3250 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 3251 | fi # test -n "$CONFIG_FILES"
|
---|
[13703] | 3252 |
|
---|
| 3253 |
|
---|
[22379] | 3254 | eval set X " :F $CONFIG_FILES "
|
---|
| 3255 | shift
|
---|
| 3256 | for ac_tag
|
---|
| 3257 | do
|
---|
| 3258 | case $ac_tag in
|
---|
| 3259 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
| 3260 | esac
|
---|
| 3261 | case $ac_mode$ac_tag in
|
---|
| 3262 | :[FHL]*:*);;
|
---|
[25148] | 3263 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
|
---|
| 3264 | $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
|
---|
| 3265 | { (exit 1); exit 1; }; };;
|
---|
[22379] | 3266 | :[FH]-) ac_tag=-:-;;
|
---|
| 3267 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
| 3268 | esac
|
---|
| 3269 | ac_save_IFS=$IFS
|
---|
| 3270 | IFS=:
|
---|
| 3271 | set x $ac_tag
|
---|
| 3272 | IFS=$ac_save_IFS
|
---|
| 3273 | shift
|
---|
| 3274 | ac_file=$1
|
---|
| 3275 | shift
|
---|
[13703] | 3276 |
|
---|
[22379] | 3277 | case $ac_mode in
|
---|
| 3278 | :L) ac_source=$1;;
|
---|
| 3279 | :[FH])
|
---|
| 3280 | ac_file_inputs=
|
---|
| 3281 | for ac_f
|
---|
| 3282 | do
|
---|
| 3283 | case $ac_f in
|
---|
| 3284 | -) ac_f="$tmp/stdin";;
|
---|
| 3285 | *) # Look for the file first in the build tree, then in the source tree
|
---|
| 3286 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
| 3287 | # because $ac_f cannot contain `:'.
|
---|
| 3288 | test -f "$ac_f" ||
|
---|
| 3289 | case $ac_f in
|
---|
| 3290 | [\\/$]*) false;;
|
---|
| 3291 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
| 3292 | esac ||
|
---|
[25148] | 3293 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
---|
| 3294 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
---|
| 3295 | { (exit 1); exit 1; }; };;
|
---|
[22379] | 3296 | esac
|
---|
| 3297 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
---|
[25148] | 3298 | ac_file_inputs="$ac_file_inputs '$ac_f'"
|
---|
[22379] | 3299 | done
|
---|
| 3300 |
|
---|
| 3301 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 3302 | # use $as_me), people would be surprised to read:
|
---|
| 3303 | # /* config.h. Generated by config.status. */
|
---|
| 3304 | configure_input='Generated from '`
|
---|
| 3305 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
---|
| 3306 | `' by configure.'
|
---|
| 3307 | if test x"$ac_file" != x-; then
|
---|
| 3308 | configure_input="$ac_file. $configure_input"
|
---|
[25148] | 3309 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
[22379] | 3310 | $as_echo "$as_me: creating $ac_file" >&6;}
|
---|
[20832] | 3311 | fi
|
---|
[22379] | 3312 | # Neutralize special characters interpreted by sed in replacement strings.
|
---|
| 3313 | case $configure_input in #(
|
---|
| 3314 | *\&* | *\|* | *\\* )
|
---|
| 3315 | ac_sed_conf_input=`$as_echo "$configure_input" |
|
---|
| 3316 | sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
---|
| 3317 | *) ac_sed_conf_input=$configure_input;;
|
---|
| 3318 | esac
|
---|
[13703] | 3319 |
|
---|
[22379] | 3320 | case $ac_tag in
|
---|
| 3321 | *:-:* | *:-) cat >"$tmp/stdin" \
|
---|
[25148] | 3322 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
---|
| 3323 | $as_echo "$as_me: error: could not create $ac_file" >&2;}
|
---|
| 3324 | { (exit 1); exit 1; }; } ;;
|
---|
[22379] | 3325 | esac
|
---|
| 3326 | ;;
|
---|
[13703] | 3327 | esac
|
---|
| 3328 |
|
---|
[22379] | 3329 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
[13703] | 3330 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 3331 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 3332 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
[22379] | 3333 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 3334 | $as_echo X"$ac_file" |
|
---|
| 3335 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 3336 | s//\1/
|
---|
| 3337 | q
|
---|
| 3338 | }
|
---|
| 3339 | /^X\(\/\/\)[^/].*/{
|
---|
| 3340 | s//\1/
|
---|
| 3341 | q
|
---|
| 3342 | }
|
---|
| 3343 | /^X\(\/\/\)$/{
|
---|
| 3344 | s//\1/
|
---|
| 3345 | q
|
---|
| 3346 | }
|
---|
| 3347 | /^X\(\/\).*/{
|
---|
| 3348 | s//\1/
|
---|
| 3349 | q
|
---|
| 3350 | }
|
---|
| 3351 | s/.*/./; q'`
|
---|
[25148] | 3352 | { as_dir="$ac_dir"
|
---|
| 3353 | case $as_dir in #(
|
---|
| 3354 | -*) as_dir=./$as_dir;;
|
---|
| 3355 | esac
|
---|
| 3356 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
---|
| 3357 | as_dirs=
|
---|
| 3358 | while :; do
|
---|
| 3359 | case $as_dir in #(
|
---|
| 3360 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 3361 | *) as_qdir=$as_dir;;
|
---|
| 3362 | esac
|
---|
| 3363 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 3364 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 3365 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 3366 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 3367 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 3368 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 3369 | $as_echo X"$as_dir" |
|
---|
| 3370 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 3371 | s//\1/
|
---|
| 3372 | q
|
---|
| 3373 | }
|
---|
| 3374 | /^X\(\/\/\)[^/].*/{
|
---|
| 3375 | s//\1/
|
---|
| 3376 | q
|
---|
| 3377 | }
|
---|
| 3378 | /^X\(\/\/\)$/{
|
---|
| 3379 | s//\1/
|
---|
| 3380 | q
|
---|
| 3381 | }
|
---|
| 3382 | /^X\(\/\).*/{
|
---|
| 3383 | s//\1/
|
---|
| 3384 | q
|
---|
| 3385 | }
|
---|
| 3386 | s/.*/./; q'`
|
---|
| 3387 | test -d "$as_dir" && break
|
---|
| 3388 | done
|
---|
| 3389 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 3390 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
---|
| 3391 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
---|
| 3392 | { (exit 1); exit 1; }; }; }
|
---|
[13703] | 3393 | ac_builddir=.
|
---|
| 3394 |
|
---|
[22379] | 3395 | case "$ac_dir" in
|
---|
| 3396 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 3397 | *)
|
---|
| 3398 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 3399 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 3400 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 3401 | case $ac_top_builddir_sub in
|
---|
| 3402 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 3403 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 3404 | esac ;;
|
---|
| 3405 | esac
|
---|
| 3406 | ac_abs_top_builddir=$ac_pwd
|
---|
| 3407 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 3408 | # for backward compatibility:
|
---|
| 3409 | ac_top_builddir=$ac_top_build_prefix
|
---|
[13703] | 3410 |
|
---|
| 3411 | case $srcdir in
|
---|
[22379] | 3412 | .) # We are building in place.
|
---|
[13703] | 3413 | ac_srcdir=.
|
---|
[22379] | 3414 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 3415 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 3416 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[13703] | 3417 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[22379] | 3418 | ac_top_srcdir=$srcdir
|
---|
| 3419 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 3420 | *) # Relative name.
|
---|
| 3421 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 3422 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 3423 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[13703] | 3424 | esac
|
---|
[22379] | 3425 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[13703] | 3426 |
|
---|
| 3427 |
|
---|
[22379] | 3428 | case $ac_mode in
|
---|
| 3429 | :F)
|
---|
| 3430 | #
|
---|
| 3431 | # CONFIG_FILE
|
---|
| 3432 | #
|
---|
[13703] | 3433 |
|
---|
[22379] | 3434 | _ACEOF
|
---|
[13703] | 3435 |
|
---|
[22379] | 3436 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 3437 | # If the template does not know about datarootdir, expand it.
|
---|
| 3438 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
| 3439 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
[25148] | 3440 |
|
---|
[22379] | 3441 | ac_sed_dataroot='
|
---|
| 3442 | /datarootdir/ {
|
---|
| 3443 | p
|
---|
| 3444 | q
|
---|
| 3445 | }
|
---|
| 3446 | /@datadir@/p
|
---|
| 3447 | /@docdir@/p
|
---|
| 3448 | /@infodir@/p
|
---|
| 3449 | /@localedir@/p
|
---|
[25148] | 3450 | /@mandir@/p
|
---|
| 3451 | '
|
---|
[22379] | 3452 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
---|
| 3453 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
| 3454 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
[25148] | 3455 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
[22379] | 3456 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
| 3457 | _ACEOF
|
---|
| 3458 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 3459 | ac_datarootdir_hack='
|
---|
| 3460 | s&@datadir@&$datadir&g
|
---|
| 3461 | s&@docdir@&$docdir&g
|
---|
| 3462 | s&@infodir@&$infodir&g
|
---|
| 3463 | s&@localedir@&$localedir&g
|
---|
| 3464 | s&@mandir@&$mandir&g
|
---|
[25148] | 3465 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
[22379] | 3466 | esac
|
---|
| 3467 | _ACEOF
|
---|
[13703] | 3468 |
|
---|
[22379] | 3469 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
| 3470 | # Shell code in configure.ac might set extrasub.
|
---|
| 3471 | # FIXME: do we really want to maintain this feature?
|
---|
| 3472 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 3473 | ac_sed_extra="$ac_vpsub
|
---|
[13703] | 3474 | $extrasub
|
---|
| 3475 | _ACEOF
|
---|
[22379] | 3476 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[13703] | 3477 | :t
|
---|
| 3478 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[22379] | 3479 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
| 3480 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
| 3481 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
| 3482 | s&@srcdir@&$ac_srcdir&;t t
|
---|
| 3483 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
| 3484 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
| 3485 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
| 3486 | s&@builddir@&$ac_builddir&;t t
|
---|
| 3487 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
| 3488 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
| 3489 | $ac_datarootdir_hack
|
---|
| 3490 | "
|
---|
| 3491 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
---|
[25148] | 3492 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
---|
| 3493 | $as_echo "$as_me: error: could not create $ac_file" >&2;}
|
---|
| 3494 | { (exit 1); exit 1; }; }
|
---|
[13703] | 3495 |
|
---|
[22379] | 3496 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
| 3497 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
---|
| 3498 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
---|
[25148] | 3499 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 3500 | which seems to be undefined. Please make sure it is defined." >&5
|
---|
[22379] | 3501 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
[25148] | 3502 | which seems to be undefined. Please make sure it is defined." >&2;}
|
---|
[13703] | 3503 |
|
---|
[22379] | 3504 | rm -f "$tmp/stdin"
|
---|
| 3505 | case $ac_file in
|
---|
| 3506 | -) cat "$tmp/out" && rm -f "$tmp/out";;
|
---|
| 3507 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
---|
| 3508 | esac \
|
---|
[25148] | 3509 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
---|
| 3510 | $as_echo "$as_me: error: could not create $ac_file" >&2;}
|
---|
| 3511 | { (exit 1); exit 1; }; }
|
---|
[22379] | 3512 | ;;
|
---|
[13703] | 3513 |
|
---|
[22379] | 3514 |
|
---|
| 3515 |
|
---|
| 3516 | esac
|
---|
| 3517 |
|
---|
| 3518 | done # for ac_tag
|
---|
| 3519 |
|
---|
| 3520 |
|
---|
[25148] | 3521 | { (exit 0); exit 0; }
|
---|
[13703] | 3522 | _ACEOF
|
---|
[25148] | 3523 | chmod +x $CONFIG_STATUS
|
---|
[13703] | 3524 | ac_clean_files=$ac_clean_files_save
|
---|
| 3525 |
|
---|
[22379] | 3526 | test $ac_write_fail = 0 ||
|
---|
[25148] | 3527 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
|
---|
| 3528 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
|
---|
| 3529 | { (exit 1); exit 1; }; }
|
---|
[13703] | 3530 |
|
---|
[22379] | 3531 |
|
---|
[13703] | 3532 | # configure is writing to config.log, and then calls config.status.
|
---|
| 3533 | # config.status does its own redirection, appending to config.log.
|
---|
| 3534 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 3535 | # by configure, so config.status won't be able to write to it; its
|
---|
| 3536 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 3537 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 3538 | # appended to by config.status. When coming back to configure, we
|
---|
| 3539 | # need to make the FD available again.
|
---|
| 3540 | if test "$no_create" != yes; then
|
---|
| 3541 | ac_cs_success=:
|
---|
| 3542 | ac_config_status_args=
|
---|
| 3543 | test "$silent" = yes &&
|
---|
| 3544 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 3545 | exec 5>/dev/null
|
---|
| 3546 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 3547 | exec 5>>config.log
|
---|
| 3548 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 3549 | # would make configure fail if this is the last instruction.
|
---|
[25148] | 3550 | $ac_cs_success || { (exit 1); exit 1; }
|
---|
[13703] | 3551 | fi
|
---|
| 3552 |
|
---|
| 3553 | #
|
---|
| 3554 | # CONFIG_SUBDIRS section.
|
---|
| 3555 | #
|
---|
| 3556 | if test "$no_recursion" != yes; then
|
---|
| 3557 |
|
---|
[22379] | 3558 | # Remove --cache-file, --srcdir, and --disable-option-checking arguments
|
---|
| 3559 | # so they do not pile up.
|
---|
[13703] | 3560 | ac_sub_configure_args=
|
---|
| 3561 | ac_prev=
|
---|
[22379] | 3562 | eval "set x $ac_configure_args"
|
---|
| 3563 | shift
|
---|
| 3564 | for ac_arg
|
---|
| 3565 | do
|
---|
[13703] | 3566 | if test -n "$ac_prev"; then
|
---|
| 3567 | ac_prev=
|
---|
| 3568 | continue
|
---|
| 3569 | fi
|
---|
| 3570 | case $ac_arg in
|
---|
| 3571 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 3572 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 3573 | ac_prev=cache_file ;;
|
---|
| 3574 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 3575 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
---|
| 3576 | | --c=*)
|
---|
| 3577 | ;;
|
---|
| 3578 | --config-cache | -C)
|
---|
| 3579 | ;;
|
---|
| 3580 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 3581 | ac_prev=srcdir ;;
|
---|
| 3582 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 3583 | ;;
|
---|
| 3584 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 3585 | ac_prev=prefix ;;
|
---|
| 3586 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 3587 | ;;
|
---|
[22379] | 3588 | --disable-option-checking)
|
---|
| 3589 | ;;
|
---|
| 3590 | *)
|
---|
| 3591 | case $ac_arg in
|
---|
| 3592 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 3593 | esac
|
---|
[25148] | 3594 | ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
|
---|
[13703] | 3595 | esac
|
---|
| 3596 | done
|
---|
| 3597 |
|
---|
| 3598 | # Always prepend --prefix to ensure using the same prefix
|
---|
| 3599 | # in subdir configurations.
|
---|
[22379] | 3600 | ac_arg="--prefix=$prefix"
|
---|
| 3601 | case $ac_arg in
|
---|
| 3602 | *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 3603 | esac
|
---|
| 3604 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
|
---|
[13703] | 3605 |
|
---|
[22379] | 3606 | # Pass --silent
|
---|
| 3607 | if test "$silent" = yes; then
|
---|
| 3608 | ac_sub_configure_args="--silent $ac_sub_configure_args"
|
---|
| 3609 | fi
|
---|
| 3610 |
|
---|
| 3611 | # Always prepend --disable-option-checking to silence warnings, since
|
---|
| 3612 | # different subdirs can have different --enable and --with options.
|
---|
| 3613 | ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
|
---|
| 3614 |
|
---|
[13703] | 3615 | ac_popdir=`pwd`
|
---|
| 3616 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
---|
| 3617 |
|
---|
| 3618 | # Do not complain, so a configure script can configure whichever
|
---|
| 3619 | # parts of a large source tree are present.
|
---|
[22379] | 3620 | test -d "$srcdir/$ac_dir" || continue
|
---|
[13703] | 3621 |
|
---|
[22379] | 3622 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
|
---|
[25148] | 3623 | $as_echo "$as_me:$LINENO: $ac_msg" >&5
|
---|
[22379] | 3624 | $as_echo "$ac_msg" >&6
|
---|
[25148] | 3625 | { as_dir="$ac_dir"
|
---|
| 3626 | case $as_dir in #(
|
---|
| 3627 | -*) as_dir=./$as_dir;;
|
---|
| 3628 | esac
|
---|
| 3629 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
---|
| 3630 | as_dirs=
|
---|
| 3631 | while :; do
|
---|
| 3632 | case $as_dir in #(
|
---|
| 3633 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 3634 | *) as_qdir=$as_dir;;
|
---|
| 3635 | esac
|
---|
| 3636 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 3637 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 3638 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 3639 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 3640 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 3641 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 3642 | $as_echo X"$as_dir" |
|
---|
| 3643 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 3644 | s//\1/
|
---|
| 3645 | q
|
---|
| 3646 | }
|
---|
| 3647 | /^X\(\/\/\)[^/].*/{
|
---|
| 3648 | s//\1/
|
---|
| 3649 | q
|
---|
| 3650 | }
|
---|
| 3651 | /^X\(\/\/\)$/{
|
---|
| 3652 | s//\1/
|
---|
| 3653 | q
|
---|
| 3654 | }
|
---|
| 3655 | /^X\(\/\).*/{
|
---|
| 3656 | s//\1/
|
---|
| 3657 | q
|
---|
| 3658 | }
|
---|
| 3659 | s/.*/./; q'`
|
---|
| 3660 | test -d "$as_dir" && break
|
---|
| 3661 | done
|
---|
| 3662 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 3663 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
---|
| 3664 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
---|
| 3665 | { (exit 1); exit 1; }; }; }
|
---|
[13703] | 3666 | ac_builddir=.
|
---|
| 3667 |
|
---|
[22379] | 3668 | case "$ac_dir" in
|
---|
| 3669 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 3670 | *)
|
---|
| 3671 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 3672 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 3673 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 3674 | case $ac_top_builddir_sub in
|
---|
| 3675 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 3676 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 3677 | esac ;;
|
---|
| 3678 | esac
|
---|
| 3679 | ac_abs_top_builddir=$ac_pwd
|
---|
| 3680 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 3681 | # for backward compatibility:
|
---|
| 3682 | ac_top_builddir=$ac_top_build_prefix
|
---|
[13703] | 3683 |
|
---|
| 3684 | case $srcdir in
|
---|
[22379] | 3685 | .) # We are building in place.
|
---|
[13703] | 3686 | ac_srcdir=.
|
---|
[22379] | 3687 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 3688 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 3689 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[13703] | 3690 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[22379] | 3691 | ac_top_srcdir=$srcdir
|
---|
| 3692 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 3693 | *) # Relative name.
|
---|
| 3694 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 3695 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 3696 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[13703] | 3697 | esac
|
---|
[22379] | 3698 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[13703] | 3699 |
|
---|
| 3700 |
|
---|
[22379] | 3701 | cd "$ac_dir"
|
---|
[13703] | 3702 |
|
---|
| 3703 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
[22379] | 3704 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 3705 | ac_sub_configure=$ac_srcdir/configure.gnu
|
---|
| 3706 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 3707 | ac_sub_configure=$ac_srcdir/configure
|
---|
| 3708 | elif test -f "$ac_srcdir/configure.in"; then
|
---|
| 3709 | # This should be Cygnus configure.
|
---|
| 3710 | ac_sub_configure=$ac_aux_dir/configure
|
---|
[13703] | 3711 | else
|
---|
[25148] | 3712 | { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
|
---|
[22379] | 3713 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
---|
[13703] | 3714 | ac_sub_configure=
|
---|
| 3715 | fi
|
---|
| 3716 |
|
---|
| 3717 | # The recursion is here.
|
---|
| 3718 | if test -n "$ac_sub_configure"; then
|
---|
| 3719 | # Make the cache file name correct relative to the subdirectory.
|
---|
| 3720 | case $cache_file in
|
---|
| 3721 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
---|
[22379] | 3722 | *) # Relative name.
|
---|
| 3723 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
|
---|
[13703] | 3724 | esac
|
---|
| 3725 |
|
---|
[25148] | 3726 | { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
|
---|
[22379] | 3727 | $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
---|
[13703] | 3728 | # The eval makes quoting arguments work.
|
---|
[22379] | 3729 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
|
---|
| 3730 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
|
---|
[25148] | 3731 | { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
|
---|
| 3732 | $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
|
---|
| 3733 | { (exit 1); exit 1; }; }
|
---|
[13703] | 3734 | fi
|
---|
| 3735 |
|
---|
[22379] | 3736 | cd "$ac_popdir"
|
---|
[13703] | 3737 | done
|
---|
| 3738 | fi
|
---|
[22379] | 3739 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
---|
[25148] | 3740 | { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
---|
[22379] | 3741 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
---|
| 3742 | fi
|
---|
[13703] | 3743 |
|
---|