[3745] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
[25148] | 3 | # Generated by GNU Autoconf 2.63.
|
---|
[3745] | 4 | #
|
---|
[23356] | 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.
|
---|
[3745] | 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 | ## --------------------- ##
|
---|
[3745] | 12 |
|
---|
[23356] | 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
|
---|
[3745] | 16 | emulate sh
|
---|
| 17 | NULLCMD=:
|
---|
[23356] | 18 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[10191] | 19 | # is contrary to our usage. Disable this feature.
|
---|
| 20 | alias -g '${1+"$@"}'='"$@"'
|
---|
[23356] | 21 | setopt NO_GLOB_SUBST
|
---|
| 22 | else
|
---|
[25148] | 23 | case `(set -o) 2>/dev/null` in
|
---|
| 24 | *posix*) set -o posix ;;
|
---|
[23356] | 25 | esac
|
---|
[25148] | 26 |
|
---|
[3745] | 27 | fi
|
---|
| 28 |
|
---|
[23356] | 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 |
|
---|
[23356] | 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
|
---|
[23356] | 48 | as_echo='printf %s\n'
|
---|
| 49 | as_echo_n='printf %s'
|
---|
[10191] | 50 | else
|
---|
[23356] | 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
|
---|
[23356] | 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'
|
---|
[10191] | 70 | fi
|
---|
| 71 |
|
---|
[23356] | 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
|
---|
[10191] | 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
|
---|
[23356] | 87 |
|
---|
[25148] | 88 |
|
---|
[23356] | 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
|
---|
[23356] | 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
|
---|
[23356] | 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; }
|
---|
[23356] | 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
|
---|
[23356] | 123 | done
|
---|
[10191] | 124 | PS1='$ '
|
---|
| 125 | PS2='> '
|
---|
| 126 | PS4='+ '
|
---|
| 127 |
|
---|
| 128 | # NLS nuisances.
|
---|
[23356] | 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 |
|
---|
[23356] | 169 | # CDPATH.
|
---|
[25148] | 170 | $as_unset CDPATH
|
---|
[23356] | 171 |
|
---|
[25148] | 172 |
|
---|
[23356] | 173 | if test "x$CONFIG_SHELL" = x; then
|
---|
[25148] | 174 | if (eval ":") 2>/dev/null; then
|
---|
| 175 | as_have_required=yes
|
---|
[23356] | 176 | else
|
---|
[25148] | 177 | as_have_required=no
|
---|
[23356] | 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 |
|
---|
[23356] | 197 | exitcode=0
|
---|
[25148] | 198 | if as_func_success; then
|
---|
| 199 | :
|
---|
| 200 | else
|
---|
| 201 | exitcode=1
|
---|
| 202 | echo as_func_success failed.
|
---|
| 203 | fi
|
---|
[23356] | 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 | :
|
---|
[23356] | 212 | else
|
---|
[25148] | 213 | exitcode=1
|
---|
| 214 | echo as_func_ret_success failed.
|
---|
[23356] | 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 | :
|
---|
[23356] | 224 | else
|
---|
[25148] | 225 | exitcode=1
|
---|
| 226 | echo positional parameters were not saved.
|
---|
[23356] | 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 | :
|
---|
[23356] | 238 | else
|
---|
[25148] | 239 | as_candidate_shells=
|
---|
| 240 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
[23356] | 241 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
[10191] | 242 | do
|
---|
[23356] | 243 | IFS=$as_save_IFS
|
---|
| 244 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 245 | case $as_dir in
|
---|
[23356] | 246 | /*)
|
---|
| 247 | for as_base in sh bash ksh sh5; do
|
---|
[25148] | 248 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
---|
[23356] | 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 |
|
---|
[23356] | 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 |
|
---|
[23356] | 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.
|
---|
[23356] | 318 | fi
|
---|
[25148] | 319 |
|
---|
| 320 | if as_func_failure; then
|
---|
| 321 | exitcode=1
|
---|
| 322 | echo as_func_failure succeeded.
|
---|
[23356] | 323 | fi
|
---|
[10191] | 324 |
|
---|
[25148] | 325 | if as_func_ret_success; then
|
---|
| 326 | :
|
---|
| 327 | else
|
---|
| 328 | exitcode=1
|
---|
| 329 | echo as_func_ret_success failed.
|
---|
| 330 | fi
|
---|
[23356] | 331 |
|
---|
[25148] | 332 | if as_func_ret_failure; then
|
---|
| 333 | exitcode=1
|
---|
| 334 | echo as_func_ret_failure succeeded.
|
---|
| 335 | fi
|
---|
[23356] | 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
|
---|
[23356] | 343 |
|
---|
[25148] | 344 | test $exitcode = 0) || { (exit 1); exit 1; }
|
---|
[23356] | 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; }
|
---|
[23356] | 351 |
|
---|
[25148] | 352 | _ASEOF
|
---|
| 353 | }; then
|
---|
| 354 | break
|
---|
| 355 | fi
|
---|
[23356] | 356 |
|
---|
[25148] | 357 | fi
|
---|
[23356] | 358 |
|
---|
[25148] | 359 | done
|
---|
[23356] | 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
|
---|
[23356] | 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 | :
|
---|
[10191] | 404 | else
|
---|
[25148] | 405 | exitcode=1
|
---|
| 406 | echo as_func_success failed.
|
---|
[10191] | 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 | :
|
---|
[10191] | 416 | else
|
---|
[25148] | 417 | exitcode=1
|
---|
| 418 | echo as_func_ret_success failed.
|
---|
[10191] | 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 | :
|
---|
[23356] | 428 | else
|
---|
[25148] | 429 | exitcode=1
|
---|
| 430 | echo positional parameters were not saved.
|
---|
[23356] | 431 | fi
|
---|
[10191] | 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 | }
|
---|
[3745] | 440 |
|
---|
[10191] | 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. :-)
|
---|
[23356] | 458 | sed -n '
|
---|
| 459 | p
|
---|
| 460 | /[$]LINENO/=
|
---|
| 461 | ' <$as_myself |
|
---|
[10191] | 462 | sed '
|
---|
[23356] | 463 | s/[$]LINENO.*/&-/
|
---|
| 464 | t lineno
|
---|
| 465 | b
|
---|
| 466 | :lineno
|
---|
[10191] | 467 | N
|
---|
[23356] | 468 | :loop
|
---|
| 469 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
[10191] | 470 | t loop
|
---|
[23356] | 471 | s/-\n.*//
|
---|
[10191] | 472 | ' >$as_me.lineno &&
|
---|
[23356] | 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; }; }
|
---|
[10191] | 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
|
---|
[23356] | 479 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 480 | . "./$as_me.lineno"
|
---|
[10191] | 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 |
|
---|
[23356] | 492 | ECHO_C= ECHO_N= ECHO_T=
|
---|
[25148] | 493 | case `echo -n x` in
|
---|
[23356] | 494 | -n*)
|
---|
[25148] | 495 | case `echo 'x\c'` in
|
---|
[23356] | 496 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
[25148] | 497 | *) ECHO_C='\c';;
|
---|
[23356] | 498 | esac;;
|
---|
| 499 | *)
|
---|
| 500 | ECHO_N='-n';;
|
---|
[10191] | 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
|
---|
[10191] | 508 |
|
---|
[23356] | 509 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 510 | if test -d conf$$.dir; then
|
---|
| 511 | rm -f conf$$.dir/conf$$.file
|
---|
[3745] | 512 | else
|
---|
[23356] | 513 | rm -f conf$$.dir
|
---|
| 514 | mkdir conf$$.dir 2>/dev/null
|
---|
[3745] | 515 | fi
|
---|
[23356] | 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
|
---|
[3745] | 528 | as_ln_s='cp -p'
|
---|
| 529 | fi
|
---|
| 530 | else
|
---|
| 531 | as_ln_s='cp -p'
|
---|
| 532 | fi
|
---|
[23356] | 533 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 534 | rmdir conf$$.dir 2>/dev/null
|
---|
[3745] | 535 |
|
---|
[10191] | 536 | if mkdir -p . 2>/dev/null; then
|
---|
[25148] | 537 | as_mkdir_p=:
|
---|
[3745] | 538 | else
|
---|
[10191] | 539 | test -d ./-p && rmdir ./-p
|
---|
| 540 | as_mkdir_p=false
|
---|
[3745] | 541 | fi
|
---|
| 542 |
|
---|
[23356] | 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
|
---|
[23356] | 557 | -*)set "./$1";;
|
---|
| 558 | esac;
|
---|
[25148] | 559 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
---|
[23356] | 560 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 561 | '\'' sh
|
---|
| 562 | '
|
---|
| 563 | fi
|
---|
| 564 | as_executable_p=$as_test_x
|
---|
[3745] | 565 |
|
---|
[10191] | 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 |
|
---|
[3745] | 573 |
|
---|
[25148] | 574 | exec 7<&0 </dev/null 6>&1
|
---|
| 575 |
|
---|
[3745] | 576 | # Name of the host.
|
---|
[25147] | 577 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
---|
[3745] | 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
|
---|
[23356] | 585 | ac_clean_files=
|
---|
[10191] | 586 | ac_config_libobj_dir=.
|
---|
[23356] | 587 | LIBOBJS=
|
---|
[3745] | 588 | cross_compiling=no
|
---|
| 589 | subdirs=
|
---|
[10191] | 590 | MFLAGS=
|
---|
| 591 | MAKEFLAGS=
|
---|
[25148] | 592 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
[3745] | 593 |
|
---|
[10191] | 594 | # Identity of this package.
|
---|
| 595 | PACKAGE_NAME=
|
---|
| 596 | PACKAGE_TARNAME=
|
---|
| 597 | PACKAGE_VERSION=
|
---|
| 598 | PACKAGE_STRING=
|
---|
| 599 | PACKAGE_BUGREPORT=
|
---|
[3745] | 600 |
|
---|
| 601 | ac_unique_file="src/text/mgquery.c"
|
---|
| 602 | # Factoring default headers for most tests.
|
---|
| 603 | ac_includes_default="\
|
---|
| 604 | #include <stdio.h>
|
---|
[23356] | 605 | #ifdef HAVE_SYS_TYPES_H
|
---|
[10191] | 606 | # include <sys/types.h>
|
---|
| 607 | #endif
|
---|
[23356] | 608 | #ifdef HAVE_SYS_STAT_H
|
---|
[10191] | 609 | # include <sys/stat.h>
|
---|
| 610 | #endif
|
---|
[23356] | 611 | #ifdef STDC_HEADERS
|
---|
[3745] | 612 | # include <stdlib.h>
|
---|
| 613 | # include <stddef.h>
|
---|
| 614 | #else
|
---|
[23356] | 615 | # ifdef HAVE_STDLIB_H
|
---|
[3745] | 616 | # include <stdlib.h>
|
---|
| 617 | # endif
|
---|
| 618 | #endif
|
---|
[23356] | 619 | #ifdef HAVE_STRING_H
|
---|
| 620 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
---|
[3745] | 621 | # include <memory.h>
|
---|
| 622 | # endif
|
---|
| 623 | # include <string.h>
|
---|
| 624 | #endif
|
---|
[23356] | 625 | #ifdef HAVE_STRINGS_H
|
---|
[10191] | 626 | # include <strings.h>
|
---|
| 627 | #endif
|
---|
[23356] | 628 | #ifdef HAVE_INTTYPES_H
|
---|
[3745] | 629 | # include <inttypes.h>
|
---|
| 630 | #endif
|
---|
[23356] | 631 | #ifdef HAVE_STDINT_H
|
---|
| 632 | # include <stdint.h>
|
---|
| 633 | #endif
|
---|
| 634 | #ifdef HAVE_UNISTD_H
|
---|
[3745] | 635 | # include <unistd.h>
|
---|
| 636 | #endif"
|
---|
| 637 |
|
---|
[23356] | 638 | ac_subst_vars='LTLIBOBJS
|
---|
| 639 | JNIFLAGS
|
---|
| 640 | JNISUFFIX
|
---|
| 641 | JNIINC
|
---|
| 642 | LIBOBJS
|
---|
| 643 | ALLOCA
|
---|
| 644 | ANSI2KNR
|
---|
| 645 | U
|
---|
| 646 | EGREP
|
---|
| 647 | GREP
|
---|
| 648 | CPP
|
---|
| 649 | JAVACFLAGS
|
---|
| 650 | JAVAC
|
---|
| 651 | uudecode
|
---|
| 652 | JAVA
|
---|
| 653 | RANLIB
|
---|
| 654 | SET_MAKE
|
---|
| 655 | LN_S
|
---|
| 656 | INSTALL_DATA
|
---|
| 657 | INSTALL_SCRIPT
|
---|
| 658 | INSTALL_PROGRAM
|
---|
| 659 | ac_ct_CC
|
---|
| 660 | CFLAGS
|
---|
| 661 | CC
|
---|
| 662 | YFLAGS
|
---|
| 663 | YACC
|
---|
| 664 | AWK
|
---|
| 665 | OBJEXT
|
---|
| 666 | EXEEXT
|
---|
| 667 | ac_ct_CXX
|
---|
| 668 | CPPFLAGS
|
---|
| 669 | LDFLAGS
|
---|
| 670 | CXXFLAGS
|
---|
| 671 | CXX
|
---|
| 672 | ENABLE_JAVA
|
---|
| 673 | VERSION
|
---|
| 674 | PACKAGE
|
---|
| 675 | target_os
|
---|
| 676 | target_vendor
|
---|
| 677 | target_cpu
|
---|
| 678 | target
|
---|
| 679 | host_os
|
---|
| 680 | host_vendor
|
---|
| 681 | host_cpu
|
---|
| 682 | host
|
---|
| 683 | build_os
|
---|
| 684 | build_vendor
|
---|
| 685 | build_cpu
|
---|
| 686 | build
|
---|
| 687 | target_alias
|
---|
| 688 | host_alias
|
---|
| 689 | build_alias
|
---|
| 690 | LIBS
|
---|
| 691 | ECHO_T
|
---|
| 692 | ECHO_N
|
---|
| 693 | ECHO_C
|
---|
| 694 | DEFS
|
---|
| 695 | mandir
|
---|
| 696 | localedir
|
---|
| 697 | libdir
|
---|
| 698 | psdir
|
---|
| 699 | pdfdir
|
---|
| 700 | dvidir
|
---|
| 701 | htmldir
|
---|
| 702 | infodir
|
---|
| 703 | docdir
|
---|
| 704 | oldincludedir
|
---|
| 705 | includedir
|
---|
| 706 | localstatedir
|
---|
| 707 | sharedstatedir
|
---|
| 708 | sysconfdir
|
---|
| 709 | datadir
|
---|
| 710 | datarootdir
|
---|
| 711 | libexecdir
|
---|
| 712 | sbindir
|
---|
| 713 | bindir
|
---|
| 714 | program_transform_name
|
---|
| 715 | prefix
|
---|
| 716 | exec_prefix
|
---|
| 717 | PACKAGE_BUGREPORT
|
---|
| 718 | PACKAGE_STRING
|
---|
| 719 | PACKAGE_VERSION
|
---|
| 720 | PACKAGE_TARNAME
|
---|
| 721 | PACKAGE_NAME
|
---|
| 722 | PATH_SEPARATOR
|
---|
| 723 | SHELL'
|
---|
[10191] | 724 | ac_subst_files=''
|
---|
[23356] | 725 | ac_user_opts='
|
---|
| 726 | enable_option_checking
|
---|
| 727 | enable_java
|
---|
| 728 | with_dmalloc
|
---|
| 729 | with_regex
|
---|
| 730 | '
|
---|
| 731 | ac_precious_vars='build_alias
|
---|
| 732 | host_alias
|
---|
| 733 | target_alias
|
---|
| 734 | CXX
|
---|
| 735 | CXXFLAGS
|
---|
| 736 | LDFLAGS
|
---|
| 737 | LIBS
|
---|
| 738 | CPPFLAGS
|
---|
| 739 | CCC
|
---|
| 740 | YACC
|
---|
| 741 | YFLAGS
|
---|
| 742 | CC
|
---|
| 743 | CFLAGS
|
---|
| 744 | CPP'
|
---|
[10191] | 745 |
|
---|
[23356] | 746 |
|
---|
[3745] | 747 | # Initialize some variables set by options.
|
---|
| 748 | ac_init_help=
|
---|
| 749 | ac_init_version=false
|
---|
[23356] | 750 | ac_unrecognized_opts=
|
---|
| 751 | ac_unrecognized_sep=
|
---|
[3745] | 752 | # The variables have the same names as the options, with
|
---|
| 753 | # dashes changed to underlines.
|
---|
| 754 | cache_file=/dev/null
|
---|
| 755 | exec_prefix=NONE
|
---|
| 756 | no_create=
|
---|
| 757 | no_recursion=
|
---|
| 758 | prefix=NONE
|
---|
| 759 | program_prefix=NONE
|
---|
| 760 | program_suffix=NONE
|
---|
| 761 | program_transform_name=s,x,x,
|
---|
| 762 | silent=
|
---|
| 763 | site=
|
---|
| 764 | srcdir=
|
---|
| 765 | verbose=
|
---|
| 766 | x_includes=NONE
|
---|
| 767 | x_libraries=NONE
|
---|
| 768 |
|
---|
| 769 | # Installation directory options.
|
---|
| 770 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 771 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 772 | # by default will actually change.
|
---|
| 773 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
[23356] | 774 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
[3745] | 775 | bindir='${exec_prefix}/bin'
|
---|
| 776 | sbindir='${exec_prefix}/sbin'
|
---|
| 777 | libexecdir='${exec_prefix}/libexec'
|
---|
[23356] | 778 | datarootdir='${prefix}/share'
|
---|
| 779 | datadir='${datarootdir}'
|
---|
[3745] | 780 | sysconfdir='${prefix}/etc'
|
---|
| 781 | sharedstatedir='${prefix}/com'
|
---|
| 782 | localstatedir='${prefix}/var'
|
---|
| 783 | includedir='${prefix}/include'
|
---|
| 784 | oldincludedir='/usr/include'
|
---|
[23356] | 785 | docdir='${datarootdir}/doc/${PACKAGE}'
|
---|
| 786 | infodir='${datarootdir}/info'
|
---|
| 787 | htmldir='${docdir}'
|
---|
| 788 | dvidir='${docdir}'
|
---|
| 789 | pdfdir='${docdir}'
|
---|
| 790 | psdir='${docdir}'
|
---|
| 791 | libdir='${exec_prefix}/lib'
|
---|
| 792 | localedir='${datarootdir}/locale'
|
---|
| 793 | mandir='${datarootdir}/man'
|
---|
[3745] | 794 |
|
---|
| 795 | ac_prev=
|
---|
[23356] | 796 | ac_dashdash=
|
---|
[3745] | 797 | for ac_option
|
---|
| 798 | do
|
---|
| 799 | # If the previous option needs an argument, assign it.
|
---|
| 800 | if test -n "$ac_prev"; then
|
---|
[23356] | 801 | eval $ac_prev=\$ac_option
|
---|
[3745] | 802 | ac_prev=
|
---|
| 803 | continue
|
---|
| 804 | fi
|
---|
| 805 |
|
---|
[23356] | 806 | case $ac_option in
|
---|
[25147] | 807 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
| 808 | *) ac_optarg=yes ;;
|
---|
[23356] | 809 | esac
|
---|
[3745] | 810 |
|
---|
| 811 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 812 |
|
---|
[23356] | 813 | case $ac_dashdash$ac_option in
|
---|
| 814 | --)
|
---|
| 815 | ac_dashdash=yes ;;
|
---|
[3745] | 816 |
|
---|
| 817 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 818 | ac_prev=bindir ;;
|
---|
| 819 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 820 | bindir=$ac_optarg ;;
|
---|
| 821 |
|
---|
| 822 | -build | --build | --buil | --bui | --bu)
|
---|
| 823 | ac_prev=build_alias ;;
|
---|
| 824 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 825 | build_alias=$ac_optarg ;;
|
---|
| 826 |
|
---|
| 827 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 828 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 829 | ac_prev=cache_file ;;
|
---|
| 830 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 831 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 832 | cache_file=$ac_optarg ;;
|
---|
| 833 |
|
---|
| 834 | --config-cache | -C)
|
---|
| 835 | cache_file=config.cache ;;
|
---|
| 836 |
|
---|
[23356] | 837 | -datadir | --datadir | --datadi | --datad)
|
---|
[3745] | 838 | ac_prev=datadir ;;
|
---|
[23356] | 839 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
[3745] | 840 | datadir=$ac_optarg ;;
|
---|
| 841 |
|
---|
[23356] | 842 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
| 843 | | --dataroo | --dataro | --datar)
|
---|
| 844 | ac_prev=datarootdir ;;
|
---|
| 845 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
| 846 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
| 847 | datarootdir=$ac_optarg ;;
|
---|
| 848 |
|
---|
[3745] | 849 | -disable-* | --disable-*)
|
---|
[23356] | 850 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
[3745] | 851 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 852 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[25148] | 853 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
---|
| 854 | { (exit 1); exit 1; }; }
|
---|
[23356] | 855 | ac_useropt_orig=$ac_useropt
|
---|
| 856 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 857 | case $ac_user_opts in
|
---|
| 858 | *"
|
---|
| 859 | "enable_$ac_useropt"
|
---|
| 860 | "*) ;;
|
---|
| 861 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
---|
| 862 | ac_unrecognized_sep=', ';;
|
---|
| 863 | esac
|
---|
| 864 | eval enable_$ac_useropt=no ;;
|
---|
[3745] | 865 |
|
---|
[23356] | 866 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
| 867 | ac_prev=docdir ;;
|
---|
| 868 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
| 869 | docdir=$ac_optarg ;;
|
---|
| 870 |
|
---|
| 871 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
| 872 | ac_prev=dvidir ;;
|
---|
| 873 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
| 874 | dvidir=$ac_optarg ;;
|
---|
| 875 |
|
---|
[3745] | 876 | -enable-* | --enable-*)
|
---|
[23356] | 877 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
[3745] | 878 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 879 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[25148] | 880 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
---|
| 881 | { (exit 1); exit 1; }; }
|
---|
[23356] | 882 | ac_useropt_orig=$ac_useropt
|
---|
| 883 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 884 | case $ac_user_opts in
|
---|
| 885 | *"
|
---|
| 886 | "enable_$ac_useropt"
|
---|
| 887 | "*) ;;
|
---|
| 888 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
---|
| 889 | ac_unrecognized_sep=', ';;
|
---|
[3745] | 890 | esac
|
---|
[23356] | 891 | eval enable_$ac_useropt=\$ac_optarg ;;
|
---|
[3745] | 892 |
|
---|
| 893 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 894 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 895 | | --exec | --exe | --ex)
|
---|
| 896 | ac_prev=exec_prefix ;;
|
---|
| 897 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 898 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 899 | | --exec=* | --exe=* | --ex=*)
|
---|
| 900 | exec_prefix=$ac_optarg ;;
|
---|
| 901 |
|
---|
| 902 | -gas | --gas | --ga | --g)
|
---|
| 903 | # Obsolete; use --with-gas.
|
---|
| 904 | with_gas=yes ;;
|
---|
| 905 |
|
---|
| 906 | -help | --help | --hel | --he | -h)
|
---|
| 907 | ac_init_help=long ;;
|
---|
| 908 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 909 | ac_init_help=recursive ;;
|
---|
| 910 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 911 | ac_init_help=short ;;
|
---|
| 912 |
|
---|
| 913 | -host | --host | --hos | --ho)
|
---|
| 914 | ac_prev=host_alias ;;
|
---|
| 915 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 916 | host_alias=$ac_optarg ;;
|
---|
| 917 |
|
---|
[23356] | 918 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
| 919 | ac_prev=htmldir ;;
|
---|
| 920 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
| 921 | | --ht=*)
|
---|
| 922 | htmldir=$ac_optarg ;;
|
---|
| 923 |
|
---|
[3745] | 924 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 925 | | --includ | --inclu | --incl | --inc)
|
---|
| 926 | ac_prev=includedir ;;
|
---|
| 927 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 928 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 929 | includedir=$ac_optarg ;;
|
---|
| 930 |
|
---|
| 931 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 932 | ac_prev=infodir ;;
|
---|
| 933 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 934 | infodir=$ac_optarg ;;
|
---|
| 935 |
|
---|
| 936 | -libdir | --libdir | --libdi | --libd)
|
---|
| 937 | ac_prev=libdir ;;
|
---|
| 938 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 939 | libdir=$ac_optarg ;;
|
---|
| 940 |
|
---|
| 941 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 942 | | --libexe | --libex | --libe)
|
---|
| 943 | ac_prev=libexecdir ;;
|
---|
| 944 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 945 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 946 | libexecdir=$ac_optarg ;;
|
---|
| 947 |
|
---|
[23356] | 948 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
| 949 | ac_prev=localedir ;;
|
---|
| 950 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
| 951 | localedir=$ac_optarg ;;
|
---|
| 952 |
|
---|
[3745] | 953 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
[23356] | 954 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
[3745] | 955 | ac_prev=localstatedir ;;
|
---|
| 956 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
[23356] | 957 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
[3745] | 958 | localstatedir=$ac_optarg ;;
|
---|
| 959 |
|
---|
| 960 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 961 | ac_prev=mandir ;;
|
---|
| 962 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 963 | mandir=$ac_optarg ;;
|
---|
| 964 |
|
---|
| 965 | -nfp | --nfp | --nf)
|
---|
| 966 | # Obsolete; use --without-fp.
|
---|
| 967 | with_fp=no ;;
|
---|
| 968 |
|
---|
| 969 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
[10191] | 970 | | --no-cr | --no-c | -n)
|
---|
[3745] | 971 | no_create=yes ;;
|
---|
| 972 |
|
---|
| 973 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 974 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 975 | no_recursion=yes ;;
|
---|
| 976 |
|
---|
| 977 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 978 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 979 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 980 | ac_prev=oldincludedir ;;
|
---|
| 981 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 982 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 983 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 984 | oldincludedir=$ac_optarg ;;
|
---|
| 985 |
|
---|
| 986 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 987 | ac_prev=prefix ;;
|
---|
| 988 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 989 | prefix=$ac_optarg ;;
|
---|
| 990 |
|
---|
| 991 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 992 | | --program-pre | --program-pr | --program-p)
|
---|
| 993 | ac_prev=program_prefix ;;
|
---|
| 994 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 995 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 996 | program_prefix=$ac_optarg ;;
|
---|
| 997 |
|
---|
| 998 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 999 | | --program-suf | --program-su | --program-s)
|
---|
| 1000 | ac_prev=program_suffix ;;
|
---|
| 1001 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 1002 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 1003 | program_suffix=$ac_optarg ;;
|
---|
| 1004 |
|
---|
| 1005 | -program-transform-name | --program-transform-name \
|
---|
| 1006 | | --program-transform-nam | --program-transform-na \
|
---|
| 1007 | | --program-transform-n | --program-transform- \
|
---|
| 1008 | | --program-transform | --program-transfor \
|
---|
| 1009 | | --program-transfo | --program-transf \
|
---|
| 1010 | | --program-trans | --program-tran \
|
---|
| 1011 | | --progr-tra | --program-tr | --program-t)
|
---|
| 1012 | ac_prev=program_transform_name ;;
|
---|
| 1013 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 1014 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 1015 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 1016 | | --program-transform=* | --program-transfor=* \
|
---|
| 1017 | | --program-transfo=* | --program-transf=* \
|
---|
| 1018 | | --program-trans=* | --program-tran=* \
|
---|
| 1019 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 1020 | program_transform_name=$ac_optarg ;;
|
---|
| 1021 |
|
---|
[23356] | 1022 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
| 1023 | ac_prev=pdfdir ;;
|
---|
| 1024 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
| 1025 | pdfdir=$ac_optarg ;;
|
---|
| 1026 |
|
---|
| 1027 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
| 1028 | ac_prev=psdir ;;
|
---|
| 1029 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
| 1030 | psdir=$ac_optarg ;;
|
---|
| 1031 |
|
---|
[3745] | 1032 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1033 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1034 | silent=yes ;;
|
---|
| 1035 |
|
---|
| 1036 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 1037 | ac_prev=sbindir ;;
|
---|
| 1038 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 1039 | | --sbi=* | --sb=*)
|
---|
| 1040 | sbindir=$ac_optarg ;;
|
---|
| 1041 |
|
---|
| 1042 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 1043 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 1044 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 1045 | | --sha | --sh)
|
---|
| 1046 | ac_prev=sharedstatedir ;;
|
---|
| 1047 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 1048 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 1049 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 1050 | | --sha=* | --sh=*)
|
---|
| 1051 | sharedstatedir=$ac_optarg ;;
|
---|
| 1052 |
|
---|
| 1053 | -site | --site | --sit)
|
---|
| 1054 | ac_prev=site ;;
|
---|
| 1055 | -site=* | --site=* | --sit=*)
|
---|
| 1056 | site=$ac_optarg ;;
|
---|
| 1057 |
|
---|
| 1058 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 1059 | ac_prev=srcdir ;;
|
---|
| 1060 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 1061 | srcdir=$ac_optarg ;;
|
---|
| 1062 |
|
---|
| 1063 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 1064 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 1065 | ac_prev=sysconfdir ;;
|
---|
| 1066 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 1067 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 1068 | sysconfdir=$ac_optarg ;;
|
---|
| 1069 |
|
---|
| 1070 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 1071 | ac_prev=target_alias ;;
|
---|
| 1072 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 1073 | target_alias=$ac_optarg ;;
|
---|
| 1074 |
|
---|
| 1075 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 1076 | verbose=yes ;;
|
---|
| 1077 |
|
---|
| 1078 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 1079 | ac_init_version=: ;;
|
---|
| 1080 |
|
---|
| 1081 | -with-* | --with-*)
|
---|
[23356] | 1082 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
[3745] | 1083 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 1084 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[25148] | 1085 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
---|
| 1086 | { (exit 1); exit 1; }; }
|
---|
[23356] | 1087 | ac_useropt_orig=$ac_useropt
|
---|
| 1088 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1089 | case $ac_user_opts in
|
---|
| 1090 | *"
|
---|
| 1091 | "with_$ac_useropt"
|
---|
| 1092 | "*) ;;
|
---|
| 1093 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
---|
| 1094 | ac_unrecognized_sep=', ';;
|
---|
[3745] | 1095 | esac
|
---|
[23356] | 1096 | eval with_$ac_useropt=\$ac_optarg ;;
|
---|
[3745] | 1097 |
|
---|
| 1098 | -without-* | --without-*)
|
---|
[23356] | 1099 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
[3745] | 1100 | # Reject names that are not valid shell variable names.
|
---|
[23356] | 1101 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
---|
[25148] | 1102 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
---|
| 1103 | { (exit 1); exit 1; }; }
|
---|
[23356] | 1104 | ac_useropt_orig=$ac_useropt
|
---|
| 1105 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
---|
| 1106 | case $ac_user_opts in
|
---|
| 1107 | *"
|
---|
| 1108 | "with_$ac_useropt"
|
---|
| 1109 | "*) ;;
|
---|
| 1110 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
---|
| 1111 | ac_unrecognized_sep=', ';;
|
---|
| 1112 | esac
|
---|
| 1113 | eval with_$ac_useropt=no ;;
|
---|
[3745] | 1114 |
|
---|
| 1115 | --x)
|
---|
| 1116 | # Obsolete; use --with-x.
|
---|
| 1117 | with_x=yes ;;
|
---|
| 1118 |
|
---|
| 1119 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 1120 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 1121 | ac_prev=x_includes ;;
|
---|
| 1122 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 1123 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 1124 | x_includes=$ac_optarg ;;
|
---|
| 1125 |
|
---|
| 1126 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 1127 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 1128 | ac_prev=x_libraries ;;
|
---|
| 1129 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 1130 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 1131 | x_libraries=$ac_optarg ;;
|
---|
| 1132 |
|
---|
[25148] | 1133 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
|
---|
| 1134 | Try \`$0 --help' for more information." >&2
|
---|
| 1135 | { (exit 1); exit 1; }; }
|
---|
[3745] | 1136 | ;;
|
---|
| 1137 |
|
---|
| 1138 | *=*)
|
---|
| 1139 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 1140 | # Reject names that are not valid shell variable names.
|
---|
[25148] | 1141 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
---|
| 1142 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
---|
| 1143 | { (exit 1); exit 1; }; }
|
---|
[23356] | 1144 | eval $ac_envvar=\$ac_optarg
|
---|
[3745] | 1145 | export $ac_envvar ;;
|
---|
| 1146 |
|
---|
| 1147 | *)
|
---|
| 1148 | # FIXME: should be removed in autoconf 3.0.
|
---|
[23356] | 1149 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
[10191] | 1150 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[23356] | 1151 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
[3745] | 1152 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
---|
| 1153 | ;;
|
---|
| 1154 |
|
---|
| 1155 | esac
|
---|
| 1156 | done
|
---|
| 1157 |
|
---|
| 1158 | if test -n "$ac_prev"; then
|
---|
| 1159 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
[25148] | 1160 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2
|
---|
| 1161 | { (exit 1); exit 1; }; }
|
---|
[3745] | 1162 | fi
|
---|
| 1163 |
|
---|
[23356] | 1164 | if test -n "$ac_unrecognized_opts"; then
|
---|
| 1165 | case $enable_option_checking in
|
---|
| 1166 | no) ;;
|
---|
[25148] | 1167 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
|
---|
| 1168 | { (exit 1); exit 1; }; } ;;
|
---|
[23356] | 1169 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
---|
[10191] | 1170 | esac
|
---|
[23356] | 1171 | fi
|
---|
[10191] | 1172 |
|
---|
[23356] | 1173 | # Check all directory arguments for consistency.
|
---|
| 1174 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
| 1175 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
| 1176 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
| 1177 | libdir localedir mandir
|
---|
[3745] | 1178 | do
|
---|
[23356] | 1179 | eval ac_val=\$$ac_var
|
---|
| 1180 | # Remove trailing slashes.
|
---|
[3745] | 1181 | case $ac_val in
|
---|
[23356] | 1182 | */ )
|
---|
| 1183 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
---|
| 1184 | eval $ac_var=\$ac_val;;
|
---|
[3745] | 1185 | esac
|
---|
[23356] | 1186 | # Be sure to have absolute directory names.
|
---|
| 1187 | case $ac_val in
|
---|
| 1188 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
| 1189 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
| 1190 | esac
|
---|
[25148] | 1191 | { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
---|
| 1192 | { (exit 1); exit 1; }; }
|
---|
[3745] | 1193 | done
|
---|
| 1194 |
|
---|
| 1195 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 1196 | # used to hold the argument of --host etc.
|
---|
[10191] | 1197 | # FIXME: To remove some day.
|
---|
[3745] | 1198 | build=$build_alias
|
---|
| 1199 | host=$host_alias
|
---|
| 1200 | target=$target_alias
|
---|
| 1201 |
|
---|
[10191] | 1202 | # FIXME: To remove some day.
|
---|
[3745] | 1203 | if test "x$host_alias" != x; then
|
---|
| 1204 | if test "x$build_alias" = x; then
|
---|
| 1205 | cross_compiling=maybe
|
---|
[25147] | 1206 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
---|
| 1207 | If a cross compiler is detected then cross compile mode will be used." >&2
|
---|
[3745] | 1208 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 1209 | cross_compiling=yes
|
---|
| 1210 | fi
|
---|
| 1211 | fi
|
---|
| 1212 |
|
---|
| 1213 | ac_tool_prefix=
|
---|
| 1214 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 1215 |
|
---|
| 1216 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 1217 |
|
---|
[10191] | 1218 |
|
---|
[23356] | 1219 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
| 1220 | ac_ls_di=`ls -di .` &&
|
---|
| 1221 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
[25148] | 1222 | { $as_echo "$as_me: error: working directory cannot be determined" >&2
|
---|
| 1223 | { (exit 1); exit 1; }; }
|
---|
[23356] | 1224 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
[25148] | 1225 | { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
|
---|
| 1226 | { (exit 1); exit 1; }; }
|
---|
[23356] | 1227 |
|
---|
| 1228 |
|
---|
[3745] | 1229 | # Find the source files, if location was not specified.
|
---|
| 1230 | if test -z "$srcdir"; then
|
---|
| 1231 | ac_srcdir_defaulted=yes
|
---|
[23356] | 1232 | # Try the directory containing this script, then the parent directory.
|
---|
| 1233 | ac_confdir=`$as_dirname -- "$as_myself" ||
|
---|
| 1234 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 1235 | X"$as_myself" : 'X\(//\)[^/]' \| \
|
---|
| 1236 | X"$as_myself" : 'X\(//\)$' \| \
|
---|
| 1237 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 1238 | $as_echo X"$as_myself" |
|
---|
| 1239 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 1240 | s//\1/
|
---|
| 1241 | q
|
---|
| 1242 | }
|
---|
| 1243 | /^X\(\/\/\)[^/].*/{
|
---|
| 1244 | s//\1/
|
---|
| 1245 | q
|
---|
| 1246 | }
|
---|
| 1247 | /^X\(\/\/\)$/{
|
---|
| 1248 | s//\1/
|
---|
| 1249 | q
|
---|
| 1250 | }
|
---|
| 1251 | /^X\(\/\).*/{
|
---|
| 1252 | s//\1/
|
---|
| 1253 | q
|
---|
| 1254 | }
|
---|
| 1255 | s/.*/./; q'`
|
---|
[3745] | 1256 | srcdir=$ac_confdir
|
---|
[23356] | 1257 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
[3745] | 1258 | srcdir=..
|
---|
| 1259 | fi
|
---|
| 1260 | else
|
---|
| 1261 | ac_srcdir_defaulted=no
|
---|
| 1262 | fi
|
---|
[23356] | 1263 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
| 1264 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
[25148] | 1265 | { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
---|
| 1266 | { (exit 1); exit 1; }; }
|
---|
[3745] | 1267 | fi
|
---|
[23356] | 1268 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
| 1269 | ac_abs_confdir=`(
|
---|
[25148] | 1270 | cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
|
---|
| 1271 | { (exit 1); exit 1; }; }
|
---|
[23356] | 1272 | pwd)`
|
---|
| 1273 | # When building in place, set srcdir=.
|
---|
| 1274 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
| 1275 | srcdir=.
|
---|
| 1276 | fi
|
---|
| 1277 | # Remove unnecessary trailing slashes from srcdir.
|
---|
| 1278 | # Double slashes in file names in object file debugging info
|
---|
| 1279 | # mess up M-x gdb in Emacs.
|
---|
| 1280 | case $srcdir in
|
---|
| 1281 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
| 1282 | esac
|
---|
| 1283 | for ac_var in $ac_precious_vars; do
|
---|
| 1284 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1285 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
| 1286 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1287 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
| 1288 | done
|
---|
[3745] | 1289 |
|
---|
| 1290 | #
|
---|
| 1291 | # Report the --help message.
|
---|
| 1292 | #
|
---|
| 1293 | if test "$ac_init_help" = "long"; then
|
---|
| 1294 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 1295 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
[10191] | 1296 | cat <<_ACEOF
|
---|
[3745] | 1297 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 1298 |
|
---|
| 1299 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 1300 |
|
---|
| 1301 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 1302 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 1303 |
|
---|
| 1304 | Defaults for the options are specified in brackets.
|
---|
| 1305 |
|
---|
| 1306 | Configuration:
|
---|
| 1307 | -h, --help display this help and exit
|
---|
| 1308 | --help=short display options specific to this package
|
---|
| 1309 | --help=recursive display the short help of all the included packages
|
---|
| 1310 | -V, --version display version information and exit
|
---|
[25147] | 1311 | -q, --quiet, --silent do not print \`checking...' messages
|
---|
[3745] | 1312 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 1313 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 1314 | -n, --no-create do not create output files
|
---|
| 1315 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 1316 |
|
---|
| 1317 | Installation directories:
|
---|
| 1318 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
[23356] | 1319 | [$ac_default_prefix]
|
---|
[3745] | 1320 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
[23356] | 1321 | [PREFIX]
|
---|
[3745] | 1322 |
|
---|
| 1323 | By default, \`make install' will install all the files in
|
---|
| 1324 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 1325 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 1326 | for instance \`--prefix=\$HOME'.
|
---|
| 1327 |
|
---|
| 1328 | For better control, use the options below.
|
---|
| 1329 |
|
---|
| 1330 | Fine tuning of the installation directories:
|
---|
[23356] | 1331 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 1332 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 1333 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 1334 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 1335 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 1336 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 1337 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 1338 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 1339 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 1340 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
| 1341 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
| 1342 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
| 1343 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
| 1344 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
| 1345 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
---|
| 1346 | --htmldir=DIR html documentation [DOCDIR]
|
---|
| 1347 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
| 1348 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
| 1349 | --psdir=DIR ps documentation [DOCDIR]
|
---|
[10191] | 1350 | _ACEOF
|
---|
[3745] | 1351 |
|
---|
[10191] | 1352 | cat <<\_ACEOF
|
---|
[3745] | 1353 |
|
---|
| 1354 | Program names:
|
---|
| 1355 | --program-prefix=PREFIX prepend PREFIX to installed program names
|
---|
| 1356 | --program-suffix=SUFFIX append SUFFIX to installed program names
|
---|
| 1357 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
---|
[15560] | 1358 |
|
---|
| 1359 | System types:
|
---|
| 1360 | --build=BUILD configure for building on BUILD [guessed]
|
---|
| 1361 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
| 1362 | --target=TARGET configure for building compilers for TARGET [HOST]
|
---|
[10191] | 1363 | _ACEOF
|
---|
[3745] | 1364 | fi
|
---|
| 1365 |
|
---|
| 1366 | if test -n "$ac_init_help"; then
|
---|
| 1367 |
|
---|
[10191] | 1368 | cat <<\_ACEOF
|
---|
[3745] | 1369 |
|
---|
[23356] | 1370 | Optional Features:
|
---|
| 1371 | --disable-option-checking ignore unrecognized --enable/--with options
|
---|
| 1372 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
| 1373 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
| 1374 | --disable-java Disable Java compilation
|
---|
| 1375 |
|
---|
[3745] | 1376 | Optional Packages:
|
---|
| 1377 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 1378 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 1379 | --with-dmalloc use dmalloc, as in
|
---|
| 1380 | ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
|
---|
| 1381 | --with-regex use older regex in lieu of GNU rx for matching
|
---|
| 1382 |
|
---|
| 1383 | Some influential environment variables:
|
---|
| 1384 | CXX C++ compiler command
|
---|
| 1385 | CXXFLAGS C++ compiler flags
|
---|
| 1386 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 1387 | nonstandard directory <lib dir>
|
---|
[23356] | 1388 | LIBS libraries to pass to the linker, e.g. -l<library>
|
---|
[25148] | 1389 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
---|
[23356] | 1390 | you have headers in a nonstandard directory <include dir>
|
---|
| 1391 | YACC The `Yet Another C Compiler' implementation to use. Defaults to
|
---|
| 1392 | the first program found out of: `bison -y', `byacc', `yacc'.
|
---|
| 1393 | YFLAGS The list of arguments that will be passed by default to $YACC.
|
---|
| 1394 | This script will default YFLAGS to the empty string to avoid a
|
---|
| 1395 | default value of `-d' given by some make applications.
|
---|
[3745] | 1396 | CC C compiler command
|
---|
| 1397 | CFLAGS C compiler flags
|
---|
| 1398 | CPP C preprocessor
|
---|
| 1399 |
|
---|
| 1400 | Use these variables to override the choices made by `configure' or to help
|
---|
| 1401 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 1402 |
|
---|
[10191] | 1403 | _ACEOF
|
---|
[23356] | 1404 | ac_status=$?
|
---|
[3745] | 1405 | fi
|
---|
| 1406 |
|
---|
| 1407 | if test "$ac_init_help" = "recursive"; then
|
---|
| 1408 | # If there are subdirs, report their specific --help.
|
---|
[10191] | 1409 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
[23356] | 1410 | test -d "$ac_dir" ||
|
---|
| 1411 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
---|
| 1412 | continue
|
---|
[10191] | 1413 | ac_builddir=.
|
---|
[3745] | 1414 |
|
---|
[23356] | 1415 | case "$ac_dir" in
|
---|
| 1416 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1417 | *)
|
---|
| 1418 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 1419 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 1420 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 1421 | case $ac_top_builddir_sub in
|
---|
| 1422 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1423 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 1424 | esac ;;
|
---|
| 1425 | esac
|
---|
| 1426 | ac_abs_top_builddir=$ac_pwd
|
---|
| 1427 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 1428 | # for backward compatibility:
|
---|
| 1429 | ac_top_builddir=$ac_top_build_prefix
|
---|
[3745] | 1430 |
|
---|
[10191] | 1431 | case $srcdir in
|
---|
[23356] | 1432 | .) # We are building in place.
|
---|
[10191] | 1433 | ac_srcdir=.
|
---|
[23356] | 1434 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 1435 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 1436 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[10191] | 1437 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[23356] | 1438 | ac_top_srcdir=$srcdir
|
---|
| 1439 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 1440 | *) # Relative name.
|
---|
| 1441 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 1442 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 1443 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[10191] | 1444 | esac
|
---|
[23356] | 1445 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[10191] | 1446 |
|
---|
[23356] | 1447 | cd "$ac_dir" || { ac_status=$?; continue; }
|
---|
| 1448 | # Check for guested configure.
|
---|
| 1449 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 1450 | echo &&
|
---|
| 1451 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
---|
| 1452 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 1453 | echo &&
|
---|
| 1454 | $SHELL "$ac_srcdir/configure" --help=recursive
|
---|
[3745] | 1455 | else
|
---|
[23356] | 1456 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
| 1457 | fi || ac_status=$?
|
---|
| 1458 | cd "$ac_pwd" || { ac_status=$?; break; }
|
---|
[3745] | 1459 | done
|
---|
| 1460 | fi
|
---|
| 1461 |
|
---|
[23356] | 1462 | test -n "$ac_init_help" && exit $ac_status
|
---|
[3745] | 1463 | if $ac_init_version; then
|
---|
[10191] | 1464 | cat <<\_ACEOF
|
---|
[23356] | 1465 | configure
|
---|
[25148] | 1466 | generated by GNU Autoconf 2.63
|
---|
[3745] | 1467 |
|
---|
[25148] | 1468 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
| 1469 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
---|
[3745] | 1470 | This configure script is free software; the Free Software Foundation
|
---|
| 1471 | gives unlimited permission to copy, distribute and modify it.
|
---|
[10191] | 1472 | _ACEOF
|
---|
[23356] | 1473 | exit
|
---|
[3745] | 1474 | fi
|
---|
[23356] | 1475 | cat >config.log <<_ACEOF
|
---|
[3745] | 1476 | This file contains any messages produced by compilers while
|
---|
| 1477 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 1478 |
|
---|
| 1479 | It was created by $as_me, which was
|
---|
[25148] | 1480 | generated by GNU Autoconf 2.63. Invocation command line was
|
---|
[3745] | 1481 |
|
---|
| 1482 | $ $0 $@
|
---|
| 1483 |
|
---|
[10191] | 1484 | _ACEOF
|
---|
[23356] | 1485 | exec 5>>config.log
|
---|
[3745] | 1486 | {
|
---|
| 1487 | cat <<_ASUNAME
|
---|
[10191] | 1488 | ## --------- ##
|
---|
| 1489 | ## Platform. ##
|
---|
| 1490 | ## --------- ##
|
---|
[3745] | 1491 |
|
---|
| 1492 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 1493 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 1494 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 1495 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 1496 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 1497 |
|
---|
| 1498 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 1499 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 1500 |
|
---|
| 1501 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 1502 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 1503 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
[23356] | 1504 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
[3745] | 1505 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 1506 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 1507 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 1508 |
|
---|
[10191] | 1509 | _ASUNAME
|
---|
[3745] | 1510 |
|
---|
[10191] | 1511 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1512 | for as_dir in $PATH
|
---|
| 1513 | do
|
---|
| 1514 | IFS=$as_save_IFS
|
---|
| 1515 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 1516 | $as_echo "PATH: $as_dir"
|
---|
| 1517 | done
|
---|
[23356] | 1518 | IFS=$as_save_IFS
|
---|
[10191] | 1519 |
|
---|
[3745] | 1520 | } >&5
|
---|
| 1521 |
|
---|
[10191] | 1522 | cat >&5 <<_ACEOF
|
---|
[3745] | 1523 |
|
---|
| 1524 |
|
---|
[10191] | 1525 | ## ----------- ##
|
---|
| 1526 | ## Core tests. ##
|
---|
| 1527 | ## ----------- ##
|
---|
| 1528 |
|
---|
| 1529 | _ACEOF
|
---|
| 1530 |
|
---|
| 1531 |
|
---|
[3745] | 1532 | # Keep a trace of the command line.
|
---|
| 1533 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
[10191] | 1534 | # Strip out --silent because we don't want to record it for future runs.
|
---|
[3745] | 1535 | # Also quote any args containing shell meta-characters.
|
---|
[10191] | 1536 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
[3745] | 1537 | ac_configure_args=
|
---|
[10191] | 1538 | ac_configure_args0=
|
---|
| 1539 | ac_configure_args1=
|
---|
| 1540 | ac_must_keep_next=false
|
---|
| 1541 | for ac_pass in 1 2
|
---|
[3745] | 1542 | do
|
---|
[10191] | 1543 | for ac_arg
|
---|
| 1544 | do
|
---|
| 1545 | case $ac_arg in
|
---|
| 1546 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 1547 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1548 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1549 | continue ;;
|
---|
[23356] | 1550 | *\'*)
|
---|
| 1551 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[10191] | 1552 | esac
|
---|
| 1553 | case $ac_pass in
|
---|
[25148] | 1554 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
---|
[10191] | 1555 | 2)
|
---|
[25148] | 1556 | ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
---|
[10191] | 1557 | if test $ac_must_keep_next = true; then
|
---|
| 1558 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 1559 | else
|
---|
| 1560 | case $ac_arg in
|
---|
| 1561 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 1562 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 1563 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 1564 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 1565 | case "$ac_configure_args0 " in
|
---|
| 1566 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 1567 | esac
|
---|
| 1568 | ;;
|
---|
| 1569 | -* ) ac_must_keep_next=true ;;
|
---|
| 1570 | esac
|
---|
| 1571 | fi
|
---|
[25148] | 1572 | ac_configure_args="$ac_configure_args '$ac_arg'"
|
---|
[10191] | 1573 | ;;
|
---|
| 1574 | esac
|
---|
| 1575 | done
|
---|
[3745] | 1576 | done
|
---|
[25148] | 1577 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
---|
| 1578 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
---|
[3745] | 1579 |
|
---|
| 1580 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 1581 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 1582 | # would cause problems or look ugly.
|
---|
[23356] | 1583 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
---|
| 1584 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
---|
[3745] | 1585 | trap 'exit_status=$?
|
---|
| 1586 | # Save into config.log some information that might help in debugging.
|
---|
[10191] | 1587 | {
|
---|
| 1588 | echo
|
---|
| 1589 |
|
---|
[25147] | 1590 | cat <<\_ASBOX
|
---|
| 1591 | ## ---------------- ##
|
---|
[10191] | 1592 | ## Cache variables. ##
|
---|
[25147] | 1593 | ## ---------------- ##
|
---|
| 1594 | _ASBOX
|
---|
[10191] | 1595 | echo
|
---|
| 1596 | # The following way of writing the cache mishandles newlines in values,
|
---|
[23356] | 1597 | (
|
---|
| 1598 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
---|
| 1599 | eval ac_val=\$$ac_var
|
---|
| 1600 | case $ac_val in #(
|
---|
| 1601 | *${as_nl}*)
|
---|
| 1602 | case $ac_var in #(
|
---|
[25148] | 1603 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
[23356] | 1604 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 1605 | esac
|
---|
| 1606 | case $ac_var in #(
|
---|
| 1607 | _ | IFS | as_nl) ;; #(
|
---|
| 1608 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
[25148] | 1609 | *) $as_unset $ac_var ;;
|
---|
[23356] | 1610 | esac ;;
|
---|
| 1611 | esac
|
---|
| 1612 | done
|
---|
[3745] | 1613 | (set) 2>&1 |
|
---|
[23356] | 1614 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
| 1615 | *${as_nl}ac_space=\ *)
|
---|
[3745] | 1616 | sed -n \
|
---|
[23356] | 1617 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
| 1618 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
| 1619 | ;; #(
|
---|
[3745] | 1620 | *)
|
---|
[23356] | 1621 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[3745] | 1622 | ;;
|
---|
[23356] | 1623 | esac |
|
---|
| 1624 | sort
|
---|
| 1625 | )
|
---|
[10191] | 1626 | echo
|
---|
| 1627 |
|
---|
[25147] | 1628 | cat <<\_ASBOX
|
---|
| 1629 | ## ----------------- ##
|
---|
[10191] | 1630 | ## Output variables. ##
|
---|
[25147] | 1631 | ## ----------------- ##
|
---|
| 1632 | _ASBOX
|
---|
[10191] | 1633 | echo
|
---|
| 1634 | for ac_var in $ac_subst_vars
|
---|
| 1635 | do
|
---|
[23356] | 1636 | eval ac_val=\$$ac_var
|
---|
| 1637 | case $ac_val in
|
---|
| 1638 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 1639 | esac
|
---|
| 1640 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[10191] | 1641 | done | sort
|
---|
| 1642 | echo
|
---|
| 1643 |
|
---|
| 1644 | if test -n "$ac_subst_files"; then
|
---|
[25147] | 1645 | cat <<\_ASBOX
|
---|
| 1646 | ## ------------------- ##
|
---|
[23356] | 1647 | ## File substitutions. ##
|
---|
[25147] | 1648 | ## ------------------- ##
|
---|
| 1649 | _ASBOX
|
---|
[10191] | 1650 | echo
|
---|
| 1651 | for ac_var in $ac_subst_files
|
---|
| 1652 | do
|
---|
[23356] | 1653 | eval ac_val=\$$ac_var
|
---|
| 1654 | case $ac_val in
|
---|
| 1655 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 1656 | esac
|
---|
| 1657 | $as_echo "$ac_var='\''$ac_val'\''"
|
---|
[10191] | 1658 | done | sort
|
---|
| 1659 | echo
|
---|
| 1660 | fi
|
---|
| 1661 |
|
---|
| 1662 | if test -s confdefs.h; then
|
---|
[25147] | 1663 | cat <<\_ASBOX
|
---|
| 1664 | ## ----------- ##
|
---|
[10191] | 1665 | ## confdefs.h. ##
|
---|
[25147] | 1666 | ## ----------- ##
|
---|
| 1667 | _ASBOX
|
---|
[10191] | 1668 | echo
|
---|
[23356] | 1669 | cat confdefs.h
|
---|
[10191] | 1670 | echo
|
---|
| 1671 | fi
|
---|
| 1672 | test "$ac_signal" != 0 &&
|
---|
[23356] | 1673 | $as_echo "$as_me: caught signal $ac_signal"
|
---|
| 1674 | $as_echo "$as_me: exit $exit_status"
|
---|
[10191] | 1675 | } >&5
|
---|
[23356] | 1676 | rm -f core *.core core.conftest.* &&
|
---|
| 1677 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
[3745] | 1678 | exit $exit_status
|
---|
[23356] | 1679 | ' 0
|
---|
[3745] | 1680 | for ac_signal in 1 2 13 15; do
|
---|
[25148] | 1681 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
---|
[3745] | 1682 | done
|
---|
| 1683 | ac_signal=0
|
---|
| 1684 |
|
---|
| 1685 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
[23356] | 1686 | rm -f -r conftest* confdefs.h
|
---|
[3745] | 1687 |
|
---|
[10191] | 1688 | # Predefined preprocessor variables.
|
---|
| 1689 |
|
---|
| 1690 | cat >>confdefs.h <<_ACEOF
|
---|
| 1691 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 1692 | _ACEOF
|
---|
| 1693 |
|
---|
[25148] | 1694 |
|
---|
[10191] | 1695 | cat >>confdefs.h <<_ACEOF
|
---|
| 1696 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 1697 | _ACEOF
|
---|
| 1698 |
|
---|
[25148] | 1699 |
|
---|
[10191] | 1700 | cat >>confdefs.h <<_ACEOF
|
---|
| 1701 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 1702 | _ACEOF
|
---|
| 1703 |
|
---|
[25148] | 1704 |
|
---|
[10191] | 1705 | cat >>confdefs.h <<_ACEOF
|
---|
| 1706 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 1707 | _ACEOF
|
---|
| 1708 |
|
---|
[25148] | 1709 |
|
---|
[10191] | 1710 | cat >>confdefs.h <<_ACEOF
|
---|
| 1711 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 1712 | _ACEOF
|
---|
| 1713 |
|
---|
| 1714 |
|
---|
[3745] | 1715 | # Let the site file select an alternate cache file if it wants to.
|
---|
[23356] | 1716 | # Prefer an explicitly selected file to automatically selected ones.
|
---|
| 1717 | ac_site_file1=NONE
|
---|
| 1718 | ac_site_file2=NONE
|
---|
| 1719 | if test -n "$CONFIG_SITE"; then
|
---|
[25147] | 1720 | ac_site_file1=$CONFIG_SITE
|
---|
[23356] | 1721 | elif test "x$prefix" != xNONE; then
|
---|
| 1722 | ac_site_file1=$prefix/share/config.site
|
---|
| 1723 | ac_site_file2=$prefix/etc/config.site
|
---|
| 1724 | else
|
---|
| 1725 | ac_site_file1=$ac_default_prefix/share/config.site
|
---|
| 1726 | ac_site_file2=$ac_default_prefix/etc/config.site
|
---|
[3745] | 1727 | fi
|
---|
[23356] | 1728 | for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
---|
| 1729 | do
|
---|
| 1730 | test "x$ac_site_file" = xNONE && continue
|
---|
[25148] | 1731 | if test -r "$ac_site_file"; then
|
---|
| 1732 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
---|
[23356] | 1733 | $as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
[10191] | 1734 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
[25147] | 1735 | . "$ac_site_file"
|
---|
[3745] | 1736 | fi
|
---|
| 1737 | done
|
---|
| 1738 |
|
---|
| 1739 | if test -r "$cache_file"; then
|
---|
[25148] | 1740 | # Some versions of bash will fail to source /dev/null (special
|
---|
| 1741 | # files actually), so we avoid doing that.
|
---|
| 1742 | if test -f "$cache_file"; then
|
---|
| 1743 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
---|
[23356] | 1744 | $as_echo "$as_me: loading cache $cache_file" >&6;}
|
---|
[3745] | 1745 | case $cache_file in
|
---|
[23356] | 1746 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
| 1747 | *) . "./$cache_file";;
|
---|
[3745] | 1748 | esac
|
---|
| 1749 | fi
|
---|
| 1750 | else
|
---|
[25148] | 1751 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
---|
[23356] | 1752 | $as_echo "$as_me: creating cache $cache_file" >&6;}
|
---|
[3745] | 1753 | >$cache_file
|
---|
| 1754 | fi
|
---|
| 1755 |
|
---|
| 1756 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 1757 | # value.
|
---|
[10191] | 1758 | ac_cache_corrupted=false
|
---|
[23356] | 1759 | for ac_var in $ac_precious_vars; do
|
---|
[3745] | 1760 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 1761 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
[23356] | 1762 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
| 1763 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
[3745] | 1764 | case $ac_old_set,$ac_new_set in
|
---|
| 1765 | set,)
|
---|
[25148] | 1766 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
[23356] | 1767 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
[10191] | 1768 | ac_cache_corrupted=: ;;
|
---|
[3745] | 1769 | ,set)
|
---|
[25148] | 1770 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
---|
[23356] | 1771 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
[10191] | 1772 | ac_cache_corrupted=: ;;
|
---|
[3745] | 1773 | ,);;
|
---|
| 1774 | *)
|
---|
| 1775 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
[23356] | 1776 | # differences in whitespace do not lead to failure.
|
---|
| 1777 | ac_old_val_w=`echo x $ac_old_val`
|
---|
| 1778 | ac_new_val_w=`echo x $ac_new_val`
|
---|
| 1779 | if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
---|
[25148] | 1780 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
[23356] | 1781 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 1782 | ac_cache_corrupted=:
|
---|
| 1783 | else
|
---|
[25148] | 1784 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
---|
[23356] | 1785 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
---|
| 1786 | eval $ac_var=\$ac_old_val
|
---|
| 1787 | fi
|
---|
[25148] | 1788 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
|
---|
[23356] | 1789 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
---|
[25148] | 1790 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
|
---|
[23356] | 1791 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
---|
[3745] | 1792 | fi;;
|
---|
| 1793 | esac
|
---|
[10191] | 1794 | # Pass precious variables to config.status.
|
---|
| 1795 | if test "$ac_new_set" = set; then
|
---|
| 1796 | case $ac_new_val in
|
---|
[23356] | 1797 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[10191] | 1798 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 1799 | esac
|
---|
| 1800 | case " $ac_configure_args " in
|
---|
| 1801 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
[25148] | 1802 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
---|
[10191] | 1803 | esac
|
---|
| 1804 | fi
|
---|
[3745] | 1805 | done
|
---|
[10191] | 1806 | if $ac_cache_corrupted; then
|
---|
[25148] | 1807 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
---|
[23356] | 1808 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[25148] | 1809 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
---|
[23356] | 1810 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
[25148] | 1811 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
---|
| 1812 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
---|
| 1813 | { (exit 1); exit 1; }; }
|
---|
[3745] | 1814 | fi
|
---|
| 1815 |
|
---|
[25148] | 1816 |
|
---|
| 1817 |
|
---|
| 1818 |
|
---|
| 1819 |
|
---|
| 1820 |
|
---|
| 1821 |
|
---|
| 1822 |
|
---|
| 1823 |
|
---|
| 1824 |
|
---|
| 1825 |
|
---|
| 1826 |
|
---|
| 1827 |
|
---|
| 1828 |
|
---|
| 1829 |
|
---|
| 1830 |
|
---|
| 1831 |
|
---|
[3745] | 1832 | ac_ext=c
|
---|
| 1833 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1834 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1835 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1836 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 1837 |
|
---|
| 1838 |
|
---|
[23356] | 1839 | ac_config_headers="$ac_config_headers config.h"
|
---|
[3745] | 1840 |
|
---|
[10191] | 1841 |
|
---|
[15560] | 1842 | ac_aux_dir=
|
---|
[23356] | 1843 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
---|
[25148] | 1844 | if test -f "$ac_dir/install-sh"; then
|
---|
| 1845 | ac_aux_dir=$ac_dir
|
---|
| 1846 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 1847 | break
|
---|
| 1848 | elif test -f "$ac_dir/install.sh"; then
|
---|
| 1849 | ac_aux_dir=$ac_dir
|
---|
| 1850 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 1851 | break
|
---|
| 1852 | elif test -f "$ac_dir/shtool"; then
|
---|
| 1853 | ac_aux_dir=$ac_dir
|
---|
| 1854 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 1855 | break
|
---|
| 1856 | fi
|
---|
[15560] | 1857 | done
|
---|
| 1858 | if test -z "$ac_aux_dir"; then
|
---|
[25148] | 1859 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
---|
| 1860 | $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
---|
| 1861 | { (exit 1); exit 1; }; }
|
---|
[15560] | 1862 | fi
|
---|
| 1863 |
|
---|
[23356] | 1864 | # These three variables are undocumented and unsupported,
|
---|
| 1865 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
| 1866 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
| 1867 | # whose full name contains unusual characters.
|
---|
| 1868 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
| 1869 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
| 1870 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
| 1871 |
|
---|
| 1872 |
|
---|
[15560] | 1873 | # Make sure we can run config.sub.
|
---|
[23356] | 1874 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
---|
[25148] | 1875 | { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
---|
| 1876 | $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
---|
| 1877 | { (exit 1); exit 1; }; }
|
---|
[15560] | 1878 |
|
---|
[25148] | 1879 | { $as_echo "$as_me:$LINENO: checking build system type" >&5
|
---|
[23356] | 1880 | $as_echo_n "checking build system type... " >&6; }
|
---|
[25148] | 1881 | if test "${ac_cv_build+set}" = set; then
|
---|
[23356] | 1882 | $as_echo_n "(cached) " >&6
|
---|
[15560] | 1883 | else
|
---|
[23356] | 1884 | ac_build_alias=$build_alias
|
---|
| 1885 | test "x$ac_build_alias" = x &&
|
---|
| 1886 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
---|
| 1887 | test "x$ac_build_alias" = x &&
|
---|
[25148] | 1888 | { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
---|
| 1889 | $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
---|
| 1890 | { (exit 1); exit 1; }; }
|
---|
[23356] | 1891 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
---|
[25148] | 1892 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
|
---|
| 1893 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
---|
| 1894 | { (exit 1); exit 1; }; }
|
---|
[15560] | 1895 |
|
---|
| 1896 | fi
|
---|
[25148] | 1897 | { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
---|
[23356] | 1898 | $as_echo "$ac_cv_build" >&6; }
|
---|
| 1899 | case $ac_cv_build in
|
---|
| 1900 | *-*-*) ;;
|
---|
[25148] | 1901 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
|
---|
| 1902 | $as_echo "$as_me: error: invalid value of canonical build" >&2;}
|
---|
| 1903 | { (exit 1); exit 1; }; };;
|
---|
[23356] | 1904 | esac
|
---|
[15560] | 1905 | build=$ac_cv_build
|
---|
[23356] | 1906 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 1907 | set x $ac_cv_build
|
---|
| 1908 | shift
|
---|
| 1909 | build_cpu=$1
|
---|
| 1910 | build_vendor=$2
|
---|
| 1911 | shift; shift
|
---|
| 1912 | # Remember, the first character of IFS is used to create $*,
|
---|
| 1913 | # except with old shells:
|
---|
| 1914 | build_os=$*
|
---|
| 1915 | IFS=$ac_save_IFS
|
---|
| 1916 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
---|
[15560] | 1917 |
|
---|
| 1918 |
|
---|
[25148] | 1919 | { $as_echo "$as_me:$LINENO: checking host system type" >&5
|
---|
[23356] | 1920 | $as_echo_n "checking host system type... " >&6; }
|
---|
[25148] | 1921 | if test "${ac_cv_host+set}" = set; then
|
---|
[23356] | 1922 | $as_echo_n "(cached) " >&6
|
---|
[15560] | 1923 | else
|
---|
[23356] | 1924 | if test "x$host_alias" = x; then
|
---|
| 1925 | ac_cv_host=$ac_cv_build
|
---|
| 1926 | else
|
---|
| 1927 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
---|
[25148] | 1928 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
---|
| 1929 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
---|
| 1930 | { (exit 1); exit 1; }; }
|
---|
[23356] | 1931 | fi
|
---|
[15560] | 1932 |
|
---|
| 1933 | fi
|
---|
[25148] | 1934 | { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
---|
[23356] | 1935 | $as_echo "$ac_cv_host" >&6; }
|
---|
| 1936 | case $ac_cv_host in
|
---|
| 1937 | *-*-*) ;;
|
---|
[25148] | 1938 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
---|
| 1939 | $as_echo "$as_me: error: invalid value of canonical host" >&2;}
|
---|
| 1940 | { (exit 1); exit 1; }; };;
|
---|
[23356] | 1941 | esac
|
---|
[15560] | 1942 | host=$ac_cv_host
|
---|
[23356] | 1943 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 1944 | set x $ac_cv_host
|
---|
| 1945 | shift
|
---|
| 1946 | host_cpu=$1
|
---|
| 1947 | host_vendor=$2
|
---|
| 1948 | shift; shift
|
---|
| 1949 | # Remember, the first character of IFS is used to create $*,
|
---|
| 1950 | # except with old shells:
|
---|
| 1951 | host_os=$*
|
---|
| 1952 | IFS=$ac_save_IFS
|
---|
| 1953 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
---|
[15560] | 1954 |
|
---|
| 1955 |
|
---|
[25148] | 1956 | { $as_echo "$as_me:$LINENO: checking target system type" >&5
|
---|
[23356] | 1957 | $as_echo_n "checking target system type... " >&6; }
|
---|
[25148] | 1958 | if test "${ac_cv_target+set}" = set; then
|
---|
[23356] | 1959 | $as_echo_n "(cached) " >&6
|
---|
[15560] | 1960 | else
|
---|
[23356] | 1961 | if test "x$target_alias" = x; then
|
---|
| 1962 | ac_cv_target=$ac_cv_host
|
---|
| 1963 | else
|
---|
| 1964 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
---|
[25148] | 1965 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
|
---|
| 1966 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
|
---|
| 1967 | { (exit 1); exit 1; }; }
|
---|
[23356] | 1968 | fi
|
---|
[15560] | 1969 |
|
---|
| 1970 | fi
|
---|
[25148] | 1971 | { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
---|
[23356] | 1972 | $as_echo "$ac_cv_target" >&6; }
|
---|
| 1973 | case $ac_cv_target in
|
---|
| 1974 | *-*-*) ;;
|
---|
[25148] | 1975 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
|
---|
| 1976 | $as_echo "$as_me: error: invalid value of canonical target" >&2;}
|
---|
| 1977 | { (exit 1); exit 1; }; };;
|
---|
[23356] | 1978 | esac
|
---|
[15560] | 1979 | target=$ac_cv_target
|
---|
[23356] | 1980 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 1981 | set x $ac_cv_target
|
---|
| 1982 | shift
|
---|
| 1983 | target_cpu=$1
|
---|
| 1984 | target_vendor=$2
|
---|
| 1985 | shift; shift
|
---|
| 1986 | # Remember, the first character of IFS is used to create $*,
|
---|
| 1987 | # except with old shells:
|
---|
| 1988 | target_os=$*
|
---|
| 1989 | IFS=$ac_save_IFS
|
---|
| 1990 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
---|
[15560] | 1991 |
|
---|
| 1992 |
|
---|
| 1993 | # The aliases save the names the user supplied, while $host etc.
|
---|
| 1994 | # will get canonicalized.
|
---|
| 1995 | test -n "$target_alias" &&
|
---|
| 1996 | test "$program_prefix$program_suffix$program_transform_name" = \
|
---|
| 1997 | NONENONEs,x,x, &&
|
---|
| 1998 | program_prefix=${target_alias}-
|
---|
[3745] | 1999 | test "$program_prefix" != NONE &&
|
---|
[23356] | 2000 | program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
---|
[3745] | 2001 | # Use a double $ so make ignores it.
|
---|
| 2002 | test "$program_suffix" != NONE &&
|
---|
[23356] | 2003 | program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
---|
| 2004 | # Double any \ or $.
|
---|
[10191] | 2005 | # By default was `s,x,x', remove it if useless.
|
---|
[23356] | 2006 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
---|
| 2007 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
---|
[3745] | 2008 |
|
---|
| 2009 |
|
---|
| 2010 | PACKAGE=mg
|
---|
| 2011 | VERSION=1.2
|
---|
| 2012 |
|
---|
[10191] | 2013 | cat >>confdefs.h <<_ACEOF
|
---|
[3745] | 2014 | #define PACKAGE "$PACKAGE"
|
---|
[10191] | 2015 | _ACEOF
|
---|
[3745] | 2016 |
|
---|
[10191] | 2017 | cat >>confdefs.h <<_ACEOF
|
---|
[3745] | 2018 | #define VERSION "$VERSION"
|
---|
[10191] | 2019 | _ACEOF
|
---|
[3745] | 2020 |
|
---|
[10191] | 2021 |
|
---|
| 2022 |
|
---|
| 2023 |
|
---|
[23356] | 2024 | # Check whether --enable-java was given.
|
---|
[25148] | 2025 | if test "${enable_java+set}" = set; then
|
---|
[23356] | 2026 | enableval=$enable_java; ENABLE_JAVA=$enableval
|
---|
| 2027 | else
|
---|
| 2028 | ENABLE_JAVA=yes
|
---|
| 2029 | fi
|
---|
[15560] | 2030 |
|
---|
[23356] | 2031 | if test $ENABLE_JAVA = "yes" -o $ENABLE_JAVA = "1" ; then
|
---|
| 2032 | ENABLE_JAVA=1
|
---|
| 2033 | if test "x$JAVA_HOME" != "x" ; then
|
---|
| 2034 | echo "Detected JAVA_HOME is set, however this will not be used during compilation"
|
---|
| 2035 | echo "To control the version of 'javac' and 'java' set environment variables JAVAC"
|
---|
| 2036 | echo "and JAVA respectively"
|
---|
| 2037 | export JAVA_HOME=
|
---|
| 2038 | fi
|
---|
| 2039 | else
|
---|
| 2040 | ENABLE_JAVA=0
|
---|
| 2041 | fi
|
---|
| 2042 |
|
---|
| 2043 |
|
---|
[15560] | 2044 |
|
---|
[23356] | 2045 | ac_ext=cpp
|
---|
[3745] | 2046 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 2047 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2048 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2049 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[23356] | 2050 | if test -z "$CXX"; then
|
---|
| 2051 | if test -n "$CCC"; then
|
---|
| 2052 | CXX=$CCC
|
---|
| 2053 | else
|
---|
| 2054 | if test -n "$ac_tool_prefix"; then
|
---|
| 2055 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[3745] | 2056 | do
|
---|
| 2057 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2058 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[25148] | 2059 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 2060 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2061 | if test "${ac_cv_prog_CXX+set}" = set; then
|
---|
[23356] | 2062 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 2063 | else
|
---|
| 2064 | if test -n "$CXX"; then
|
---|
| 2065 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 2066 | else
|
---|
[10191] | 2067 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2068 | for as_dir in $PATH
|
---|
| 2069 | do
|
---|
| 2070 | IFS=$as_save_IFS
|
---|
| 2071 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2072 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 2073 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10191] | 2074 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
[25148] | 2075 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10191] | 2076 | break 2
|
---|
| 2077 | fi
|
---|
[3745] | 2078 | done
|
---|
[25148] | 2079 | done
|
---|
[23356] | 2080 | IFS=$as_save_IFS
|
---|
[3745] | 2081 |
|
---|
| 2082 | fi
|
---|
| 2083 | fi
|
---|
| 2084 | CXX=$ac_cv_prog_CXX
|
---|
| 2085 | if test -n "$CXX"; then
|
---|
[25148] | 2086 | { $as_echo "$as_me:$LINENO: result: $CXX" >&5
|
---|
[23356] | 2087 | $as_echo "$CXX" >&6; }
|
---|
[3745] | 2088 | else
|
---|
[25148] | 2089 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 2090 | $as_echo "no" >&6; }
|
---|
[3745] | 2091 | fi
|
---|
| 2092 |
|
---|
[23356] | 2093 |
|
---|
[3745] | 2094 | test -n "$CXX" && break
|
---|
| 2095 | done
|
---|
| 2096 | fi
|
---|
| 2097 | if test -z "$CXX"; then
|
---|
| 2098 | ac_ct_CXX=$CXX
|
---|
[23356] | 2099 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[3745] | 2100 | do
|
---|
| 2101 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2102 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 2103 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 2104 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2105 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
---|
[23356] | 2106 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 2107 | else
|
---|
| 2108 | if test -n "$ac_ct_CXX"; then
|
---|
| 2109 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 2110 | else
|
---|
[10191] | 2111 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2112 | for as_dir in $PATH
|
---|
| 2113 | do
|
---|
| 2114 | IFS=$as_save_IFS
|
---|
| 2115 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2116 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 2117 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10191] | 2118 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
[25148] | 2119 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10191] | 2120 | break 2
|
---|
| 2121 | fi
|
---|
[3745] | 2122 | done
|
---|
[25148] | 2123 | done
|
---|
[23356] | 2124 | IFS=$as_save_IFS
|
---|
[3745] | 2125 |
|
---|
| 2126 | fi
|
---|
| 2127 | fi
|
---|
| 2128 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 2129 | if test -n "$ac_ct_CXX"; then
|
---|
[25148] | 2130 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
---|
[23356] | 2131 | $as_echo "$ac_ct_CXX" >&6; }
|
---|
[3745] | 2132 | else
|
---|
[25148] | 2133 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 2134 | $as_echo "no" >&6; }
|
---|
[3745] | 2135 | fi
|
---|
| 2136 |
|
---|
[23356] | 2137 |
|
---|
[3745] | 2138 | test -n "$ac_ct_CXX" && break
|
---|
| 2139 | done
|
---|
| 2140 |
|
---|
[23356] | 2141 | if test "x$ac_ct_CXX" = x; then
|
---|
| 2142 | CXX="g++"
|
---|
| 2143 | else
|
---|
| 2144 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2145 | yes:)
|
---|
[25148] | 2146 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[23356] | 2147 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2148 | ac_tool_warned=yes ;;
|
---|
| 2149 | esac
|
---|
| 2150 | CXX=$ac_ct_CXX
|
---|
| 2151 | fi
|
---|
[3745] | 2152 | fi
|
---|
| 2153 |
|
---|
[23356] | 2154 | fi
|
---|
| 2155 | fi
|
---|
[10191] | 2156 | # Provide some information about the compiler.
|
---|
[25148] | 2157 | $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
|
---|
[23356] | 2158 | set X $ac_compile
|
---|
| 2159 | ac_compiler=$2
|
---|
[25148] | 2160 | { (ac_try="$ac_compiler --version >&5"
|
---|
[23356] | 2161 | case "(($ac_try" in
|
---|
| 2162 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2163 | *) ac_try_echo=$ac_try;;
|
---|
| 2164 | esac
|
---|
[25148] | 2165 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 2166 | $as_echo "$ac_try_echo") >&5
|
---|
| 2167 | (eval "$ac_compiler --version >&5") 2>&5
|
---|
[10191] | 2168 | ac_status=$?
|
---|
[25148] | 2169 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2170 | (exit $ac_status); }
|
---|
| 2171 | { (ac_try="$ac_compiler -v >&5"
|
---|
| 2172 | case "(($ac_try" in
|
---|
| 2173 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2174 | *) ac_try_echo=$ac_try;;
|
---|
| 2175 | esac
|
---|
| 2176 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 2177 | $as_echo "$ac_try_echo") >&5
|
---|
| 2178 | (eval "$ac_compiler -v >&5") 2>&5
|
---|
| 2179 | ac_status=$?
|
---|
| 2180 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2181 | (exit $ac_status); }
|
---|
| 2182 | { (ac_try="$ac_compiler -V >&5"
|
---|
| 2183 | case "(($ac_try" in
|
---|
| 2184 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2185 | *) ac_try_echo=$ac_try;;
|
---|
| 2186 | esac
|
---|
| 2187 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 2188 | $as_echo "$ac_try_echo") >&5
|
---|
| 2189 | (eval "$ac_compiler -V >&5") 2>&5
|
---|
| 2190 | ac_status=$?
|
---|
| 2191 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2192 | (exit $ac_status); }
|
---|
[10191] | 2193 |
|
---|
[25148] | 2194 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2195 | /* confdefs.h. */
|
---|
| 2196 | _ACEOF
|
---|
| 2197 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2198 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 2199 | /* end confdefs.h. */
|
---|
[3745] | 2200 |
|
---|
| 2201 | int
|
---|
| 2202 | main ()
|
---|
| 2203 | {
|
---|
| 2204 |
|
---|
| 2205 | ;
|
---|
| 2206 | return 0;
|
---|
| 2207 | }
|
---|
| 2208 | _ACEOF
|
---|
| 2209 | ac_clean_files_save=$ac_clean_files
|
---|
[23356] | 2210 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
---|
[3745] | 2211 | # Try to create an executable without -o first, disregard a.out.
|
---|
[10191] | 2212 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
[3745] | 2213 | # of exeext.
|
---|
[25148] | 2214 | { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
|
---|
| 2215 | $as_echo_n "checking for C++ compiler default output file name... " >&6; }
|
---|
[23356] | 2216 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
[10191] | 2217 |
|
---|
[23356] | 2218 | # The possible output files:
|
---|
| 2219 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
---|
| 2220 |
|
---|
| 2221 | ac_rmfiles=
|
---|
| 2222 | for ac_file in $ac_files
|
---|
[10191] | 2223 | do
|
---|
[23356] | 2224 | case $ac_file in
|
---|
| 2225 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
| 2226 | * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
---|
| 2227 | esac
|
---|
| 2228 | done
|
---|
| 2229 | rm -f $ac_rmfiles
|
---|
| 2230 |
|
---|
[25148] | 2231 | if { (ac_try="$ac_link_default"
|
---|
[23356] | 2232 | case "(($ac_try" in
|
---|
| 2233 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2234 | *) ac_try_echo=$ac_try;;
|
---|
| 2235 | esac
|
---|
[25148] | 2236 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 2237 | $as_echo "$ac_try_echo") >&5
|
---|
[23356] | 2238 | (eval "$ac_link_default") 2>&5
|
---|
| 2239 | ac_status=$?
|
---|
[25148] | 2240 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2241 | (exit $ac_status); }; then
|
---|
[23356] | 2242 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
---|
| 2243 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
---|
| 2244 | # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
---|
| 2245 | # so that the user can short-circuit this test for compilers unknown to
|
---|
| 2246 | # Autoconf.
|
---|
| 2247 | for ac_file in $ac_files ''
|
---|
| 2248 | do
|
---|
[10191] | 2249 | test -f "$ac_file" || continue
|
---|
[3745] | 2250 | case $ac_file in
|
---|
[23356] | 2251 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
---|
[10191] | 2252 | ;;
|
---|
| 2253 | [ab].out )
|
---|
| 2254 | # We found the default executable, but exeext='' is most
|
---|
| 2255 | # certainly right.
|
---|
| 2256 | break;;
|
---|
| 2257 | *.* )
|
---|
[25148] | 2258 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
---|
[23356] | 2259 | then :; else
|
---|
| 2260 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2261 | fi
|
---|
| 2262 | # We set ac_cv_exeext here because the later test for it is not
|
---|
| 2263 | # safe: cross compilers may not add the suffix if given an `-o'
|
---|
| 2264 | # argument, so we may need to know it at that point already.
|
---|
| 2265 | # Even if this section looks crufty: it has the advantage of
|
---|
| 2266 | # actually working.
|
---|
[10191] | 2267 | break;;
|
---|
| 2268 | * )
|
---|
| 2269 | break;;
|
---|
[3745] | 2270 | esac
|
---|
| 2271 | done
|
---|
[23356] | 2272 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
| 2273 |
|
---|
[3745] | 2274 | else
|
---|
[23356] | 2275 | ac_file=''
|
---|
| 2276 | fi
|
---|
[25148] | 2277 |
|
---|
| 2278 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
|
---|
| 2279 | $as_echo "$ac_file" >&6; }
|
---|
| 2280 | if test -z "$ac_file"; then
|
---|
| 2281 | $as_echo "$as_me: failed program was:" >&5
|
---|
[10191] | 2282 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2283 |
|
---|
[25148] | 2284 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
---|
[23356] | 2285 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[25148] | 2286 | { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
|
---|
| 2287 | See \`config.log' for more details." >&5
|
---|
| 2288 | $as_echo "$as_me: error: C++ compiler cannot create executables
|
---|
| 2289 | See \`config.log' for more details." >&2;}
|
---|
| 2290 | { (exit 77); exit 77; }; }; }
|
---|
[3745] | 2291 | fi
|
---|
[25148] | 2292 |
|
---|
[3745] | 2293 | ac_exeext=$ac_cv_exeext
|
---|
| 2294 |
|
---|
[25148] | 2295 | # Check that the compiler produces executables we can run. If not, either
|
---|
| 2296 | # the compiler is broken, or we cross compile.
|
---|
| 2297 | { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
|
---|
| 2298 | $as_echo_n "checking whether the C++ compiler works... " >&6; }
|
---|
| 2299 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
---|
| 2300 | # If not cross compiling, check that we can run a simple program.
|
---|
| 2301 | if test "$cross_compiling" != yes; then
|
---|
| 2302 | if { ac_try='./$ac_file'
|
---|
| 2303 | { (case "(($ac_try" in
|
---|
| 2304 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2305 | *) ac_try_echo=$ac_try;;
|
---|
| 2306 | esac
|
---|
| 2307 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 2308 | $as_echo "$ac_try_echo") >&5
|
---|
| 2309 | (eval "$ac_try") 2>&5
|
---|
| 2310 | ac_status=$?
|
---|
| 2311 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2312 | (exit $ac_status); }; }; then
|
---|
| 2313 | cross_compiling=no
|
---|
| 2314 | else
|
---|
| 2315 | if test "$cross_compiling" = maybe; then
|
---|
| 2316 | cross_compiling=yes
|
---|
| 2317 | else
|
---|
| 2318 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
---|
| 2319 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
| 2320 | { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
|
---|
| 2321 | If you meant to cross compile, use \`--host'.
|
---|
| 2322 | See \`config.log' for more details." >&5
|
---|
| 2323 | $as_echo "$as_me: error: cannot run C++ compiled programs.
|
---|
| 2324 | If you meant to cross compile, use \`--host'.
|
---|
| 2325 | See \`config.log' for more details." >&2;}
|
---|
| 2326 | { (exit 1); exit 1; }; }; }
|
---|
| 2327 | fi
|
---|
| 2328 | fi
|
---|
| 2329 | fi
|
---|
| 2330 | { $as_echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 2331 | $as_echo "yes" >&6; }
|
---|
| 2332 |
|
---|
[23356] | 2333 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
---|
[3745] | 2334 | ac_clean_files=$ac_clean_files_save
|
---|
[25148] | 2335 | # Check that the compiler produces executables we can run. If not, either
|
---|
| 2336 | # the compiler is broken, or we cross compile.
|
---|
| 2337 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
---|
| 2338 | $as_echo_n "checking whether we are cross compiling... " >&6; }
|
---|
| 2339 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
---|
| 2340 | $as_echo "$cross_compiling" >&6; }
|
---|
| 2341 |
|
---|
| 2342 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
---|
[23356] | 2343 | $as_echo_n "checking for suffix of executables... " >&6; }
|
---|
[25148] | 2344 | if { (ac_try="$ac_link"
|
---|
[23356] | 2345 | case "(($ac_try" in
|
---|
| 2346 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2347 | *) ac_try_echo=$ac_try;;
|
---|
| 2348 | esac
|
---|
[25148] | 2349 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 2350 | $as_echo "$ac_try_echo") >&5
|
---|
[23356] | 2351 | (eval "$ac_link") 2>&5
|
---|
[3745] | 2352 | ac_status=$?
|
---|
[25148] | 2353 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2354 | (exit $ac_status); }; then
|
---|
[3745] | 2355 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 2356 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 2357 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 2358 | # `rm'.
|
---|
[10191] | 2359 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 2360 | test -f "$ac_file" || continue
|
---|
[3745] | 2361 | case $ac_file in
|
---|
[23356] | 2362 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
---|
[3745] | 2363 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
[10191] | 2364 | break;;
|
---|
[3745] | 2365 | * ) break;;
|
---|
| 2366 | esac
|
---|
| 2367 | done
|
---|
| 2368 | else
|
---|
[25148] | 2369 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
---|
[23356] | 2370 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[25148] | 2371 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
---|
| 2372 | See \`config.log' for more details." >&5
|
---|
| 2373 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
---|
| 2374 | See \`config.log' for more details." >&2;}
|
---|
| 2375 | { (exit 1); exit 1; }; }; }
|
---|
[3745] | 2376 | fi
|
---|
[25148] | 2377 |
|
---|
| 2378 | rm -f conftest$ac_cv_exeext
|
---|
| 2379 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
---|
[23356] | 2380 | $as_echo "$ac_cv_exeext" >&6; }
|
---|
[3745] | 2381 |
|
---|
| 2382 | rm -f conftest.$ac_ext
|
---|
| 2383 | EXEEXT=$ac_cv_exeext
|
---|
| 2384 | ac_exeext=$EXEEXT
|
---|
[25148] | 2385 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
---|
[23356] | 2386 | $as_echo_n "checking for suffix of object files... " >&6; }
|
---|
[25148] | 2387 | if test "${ac_cv_objext+set}" = set; then
|
---|
[23356] | 2388 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 2389 | else
|
---|
[25148] | 2390 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2391 | /* confdefs.h. */
|
---|
| 2392 | _ACEOF
|
---|
| 2393 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2394 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 2395 | /* end confdefs.h. */
|
---|
[3745] | 2396 |
|
---|
| 2397 | int
|
---|
| 2398 | main ()
|
---|
| 2399 | {
|
---|
| 2400 |
|
---|
| 2401 | ;
|
---|
| 2402 | return 0;
|
---|
| 2403 | }
|
---|
| 2404 | _ACEOF
|
---|
| 2405 | rm -f conftest.o conftest.obj
|
---|
[25148] | 2406 | if { (ac_try="$ac_compile"
|
---|
[23356] | 2407 | case "(($ac_try" in
|
---|
| 2408 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2409 | *) ac_try_echo=$ac_try;;
|
---|
| 2410 | esac
|
---|
[25148] | 2411 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 2412 | $as_echo "$ac_try_echo") >&5
|
---|
[23356] | 2413 | (eval "$ac_compile") 2>&5
|
---|
[3745] | 2414 | ac_status=$?
|
---|
[25148] | 2415 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2416 | (exit $ac_status); }; then
|
---|
[23356] | 2417 | for ac_file in conftest.o conftest.obj conftest.*; do
|
---|
| 2418 | test -f "$ac_file" || continue;
|
---|
[3745] | 2419 | case $ac_file in
|
---|
[23356] | 2420 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
---|
[3745] | 2421 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 2422 | break;;
|
---|
| 2423 | esac
|
---|
| 2424 | done
|
---|
| 2425 | else
|
---|
[23356] | 2426 | $as_echo "$as_me: failed program was:" >&5
|
---|
[10191] | 2427 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2428 |
|
---|
[25148] | 2429 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
---|
[23356] | 2430 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[25148] | 2431 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
---|
| 2432 | See \`config.log' for more details." >&5
|
---|
| 2433 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
---|
| 2434 | See \`config.log' for more details." >&2;}
|
---|
| 2435 | { (exit 1); exit 1; }; }; }
|
---|
[3745] | 2436 | fi
|
---|
[25148] | 2437 |
|
---|
[3745] | 2438 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
| 2439 | fi
|
---|
[25148] | 2440 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
---|
[23356] | 2441 | $as_echo "$ac_cv_objext" >&6; }
|
---|
[3745] | 2442 | OBJEXT=$ac_cv_objext
|
---|
| 2443 | ac_objext=$OBJEXT
|
---|
[25148] | 2444 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
---|
[23356] | 2445 | $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
---|
[25148] | 2446 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
---|
[23356] | 2447 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 2448 | else
|
---|
[25148] | 2449 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2450 | /* confdefs.h. */
|
---|
| 2451 | _ACEOF
|
---|
| 2452 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2453 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 2454 | /* end confdefs.h. */
|
---|
[3745] | 2455 |
|
---|
| 2456 | int
|
---|
| 2457 | main ()
|
---|
| 2458 | {
|
---|
| 2459 | #ifndef __GNUC__
|
---|
| 2460 | choke me
|
---|
| 2461 | #endif
|
---|
| 2462 |
|
---|
| 2463 | ;
|
---|
| 2464 | return 0;
|
---|
| 2465 | }
|
---|
| 2466 | _ACEOF
|
---|
[25148] | 2467 | rm -f conftest.$ac_objext
|
---|
| 2468 | if { (ac_try="$ac_compile"
|
---|
| 2469 | case "(($ac_try" in
|
---|
| 2470 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2471 | *) ac_try_echo=$ac_try;;
|
---|
| 2472 | esac
|
---|
| 2473 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 2474 | $as_echo "$ac_try_echo") >&5
|
---|
| 2475 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 2476 | ac_status=$?
|
---|
| 2477 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2478 | rm -f conftest.er1
|
---|
| 2479 | cat conftest.err >&5
|
---|
| 2480 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2481 | (exit $ac_status); } && {
|
---|
| 2482 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 2483 | test ! -s conftest.err
|
---|
| 2484 | } && test -s conftest.$ac_objext; then
|
---|
[3745] | 2485 | ac_compiler_gnu=yes
|
---|
| 2486 | else
|
---|
[25148] | 2487 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 2488 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2489 |
|
---|
| 2490 | ac_compiler_gnu=no
|
---|
[3745] | 2491 | fi
|
---|
[25148] | 2492 |
|
---|
[23356] | 2493 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 2494 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 2495 |
|
---|
| 2496 | fi
|
---|
[25148] | 2497 | { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
[23356] | 2498 | $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
---|
| 2499 | if test $ac_compiler_gnu = yes; then
|
---|
| 2500 | GXX=yes
|
---|
| 2501 | else
|
---|
| 2502 | GXX=
|
---|
| 2503 | fi
|
---|
[3745] | 2504 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 2505 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
[25148] | 2506 | { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
---|
[23356] | 2507 | $as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
---|
[25148] | 2508 | if test "${ac_cv_prog_cxx_g+set}" = set; then
|
---|
[23356] | 2509 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 2510 | else
|
---|
[23356] | 2511 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
---|
| 2512 | ac_cxx_werror_flag=yes
|
---|
| 2513 | ac_cv_prog_cxx_g=no
|
---|
| 2514 | CXXFLAGS="-g"
|
---|
[25148] | 2515 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2516 | /* confdefs.h. */
|
---|
| 2517 | _ACEOF
|
---|
| 2518 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2519 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 2520 | /* end confdefs.h. */
|
---|
[3745] | 2521 |
|
---|
| 2522 | int
|
---|
| 2523 | main ()
|
---|
| 2524 | {
|
---|
| 2525 |
|
---|
| 2526 | ;
|
---|
| 2527 | return 0;
|
---|
| 2528 | }
|
---|
| 2529 | _ACEOF
|
---|
[25148] | 2530 | rm -f conftest.$ac_objext
|
---|
| 2531 | if { (ac_try="$ac_compile"
|
---|
| 2532 | case "(($ac_try" in
|
---|
| 2533 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2534 | *) ac_try_echo=$ac_try;;
|
---|
| 2535 | esac
|
---|
| 2536 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 2537 | $as_echo "$ac_try_echo") >&5
|
---|
| 2538 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 2539 | ac_status=$?
|
---|
| 2540 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2541 | rm -f conftest.er1
|
---|
| 2542 | cat conftest.err >&5
|
---|
| 2543 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2544 | (exit $ac_status); } && {
|
---|
| 2545 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 2546 | test ! -s conftest.err
|
---|
| 2547 | } && test -s conftest.$ac_objext; then
|
---|
[3745] | 2548 | ac_cv_prog_cxx_g=yes
|
---|
| 2549 | else
|
---|
[25148] | 2550 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 2551 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2552 |
|
---|
| 2553 | CXXFLAGS=""
|
---|
| 2554 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2555 | /* confdefs.h. */
|
---|
| 2556 | _ACEOF
|
---|
| 2557 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2558 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[23356] | 2559 | /* end confdefs.h. */
|
---|
[10191] | 2560 |
|
---|
[3745] | 2561 | int
|
---|
| 2562 | main ()
|
---|
| 2563 | {
|
---|
[23356] | 2564 |
|
---|
[3745] | 2565 | ;
|
---|
| 2566 | return 0;
|
---|
| 2567 | }
|
---|
| 2568 | _ACEOF
|
---|
[25148] | 2569 | rm -f conftest.$ac_objext
|
---|
| 2570 | if { (ac_try="$ac_compile"
|
---|
| 2571 | case "(($ac_try" in
|
---|
| 2572 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2573 | *) ac_try_echo=$ac_try;;
|
---|
| 2574 | esac
|
---|
| 2575 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 2576 | $as_echo "$ac_try_echo") >&5
|
---|
| 2577 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 2578 | ac_status=$?
|
---|
| 2579 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2580 | rm -f conftest.er1
|
---|
| 2581 | cat conftest.err >&5
|
---|
| 2582 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2583 | (exit $ac_status); } && {
|
---|
| 2584 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 2585 | test ! -s conftest.err
|
---|
| 2586 | } && test -s conftest.$ac_objext; then
|
---|
| 2587 | :
|
---|
| 2588 | else
|
---|
| 2589 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 2590 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[23356] | 2591 |
|
---|
[25148] | 2592 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
[23356] | 2593 | CXXFLAGS="-g"
|
---|
[25148] | 2594 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2595 | /* confdefs.h. */
|
---|
| 2596 | _ACEOF
|
---|
| 2597 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2598 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[23356] | 2599 | /* end confdefs.h. */
|
---|
[10191] | 2600 |
|
---|
[3745] | 2601 | int
|
---|
| 2602 | main ()
|
---|
| 2603 | {
|
---|
[23356] | 2604 |
|
---|
[3745] | 2605 | ;
|
---|
| 2606 | return 0;
|
---|
| 2607 | }
|
---|
| 2608 | _ACEOF
|
---|
[25148] | 2609 | rm -f conftest.$ac_objext
|
---|
| 2610 | if { (ac_try="$ac_compile"
|
---|
| 2611 | case "(($ac_try" in
|
---|
| 2612 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2613 | *) ac_try_echo=$ac_try;;
|
---|
| 2614 | esac
|
---|
| 2615 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 2616 | $as_echo "$ac_try_echo") >&5
|
---|
| 2617 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 2618 | ac_status=$?
|
---|
| 2619 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2620 | rm -f conftest.er1
|
---|
| 2621 | cat conftest.err >&5
|
---|
| 2622 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2623 | (exit $ac_status); } && {
|
---|
| 2624 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 2625 | test ! -s conftest.err
|
---|
| 2626 | } && test -s conftest.$ac_objext; then
|
---|
[23356] | 2627 | ac_cv_prog_cxx_g=yes
|
---|
[25148] | 2628 | else
|
---|
| 2629 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 2630 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2631 |
|
---|
| 2632 |
|
---|
[23356] | 2633 | fi
|
---|
[25148] | 2634 |
|
---|
[23356] | 2635 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2636 | fi
|
---|
[25148] | 2637 |
|
---|
[23356] | 2638 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2639 | fi
|
---|
[25148] | 2640 |
|
---|
[23356] | 2641 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2642 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 2643 | fi
|
---|
[25148] | 2644 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
---|
[23356] | 2645 | $as_echo "$ac_cv_prog_cxx_g" >&6; }
|
---|
| 2646 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 2647 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 2648 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 2649 | if test "$GXX" = yes; then
|
---|
| 2650 | CXXFLAGS="-g -O2"
|
---|
| 2651 | else
|
---|
| 2652 | CXXFLAGS="-g"
|
---|
| 2653 | fi
|
---|
[3745] | 2654 | else
|
---|
[23356] | 2655 | if test "$GXX" = yes; then
|
---|
| 2656 | CXXFLAGS="-O2"
|
---|
| 2657 | else
|
---|
| 2658 | CXXFLAGS=
|
---|
| 2659 | fi
|
---|
[3745] | 2660 | fi
|
---|
| 2661 | ac_ext=c
|
---|
| 2662 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2663 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2664 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2665 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2666 |
|
---|
[10191] | 2667 | for ac_prog in gawk mawk nawk awk
|
---|
[3745] | 2668 | do
|
---|
| 2669 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2670 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 2671 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 2672 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2673 | if test "${ac_cv_prog_AWK+set}" = set; then
|
---|
[23356] | 2674 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 2675 | else
|
---|
| 2676 | if test -n "$AWK"; then
|
---|
| 2677 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 2678 | else
|
---|
[10191] | 2679 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2680 | for as_dir in $PATH
|
---|
| 2681 | do
|
---|
| 2682 | IFS=$as_save_IFS
|
---|
| 2683 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2684 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 2685 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10191] | 2686 | ac_cv_prog_AWK="$ac_prog"
|
---|
[25148] | 2687 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10191] | 2688 | break 2
|
---|
| 2689 | fi
|
---|
[3745] | 2690 | done
|
---|
[25148] | 2691 | done
|
---|
[23356] | 2692 | IFS=$as_save_IFS
|
---|
[3745] | 2693 |
|
---|
| 2694 | fi
|
---|
| 2695 | fi
|
---|
| 2696 | AWK=$ac_cv_prog_AWK
|
---|
| 2697 | if test -n "$AWK"; then
|
---|
[25148] | 2698 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5
|
---|
[23356] | 2699 | $as_echo "$AWK" >&6; }
|
---|
[3745] | 2700 | else
|
---|
[25148] | 2701 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 2702 | $as_echo "no" >&6; }
|
---|
[3745] | 2703 | fi
|
---|
| 2704 |
|
---|
[23356] | 2705 |
|
---|
[3745] | 2706 | test -n "$AWK" && break
|
---|
| 2707 | done
|
---|
| 2708 |
|
---|
| 2709 | for ac_prog in 'bison -y' byacc
|
---|
| 2710 | do
|
---|
| 2711 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2712 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 2713 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 2714 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2715 | if test "${ac_cv_prog_YACC+set}" = set; then
|
---|
[23356] | 2716 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 2717 | else
|
---|
| 2718 | if test -n "$YACC"; then
|
---|
| 2719 | ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
---|
| 2720 | else
|
---|
[10191] | 2721 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2722 | for as_dir in $PATH
|
---|
| 2723 | do
|
---|
| 2724 | IFS=$as_save_IFS
|
---|
| 2725 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2726 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 2727 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10191] | 2728 | ac_cv_prog_YACC="$ac_prog"
|
---|
[25148] | 2729 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10191] | 2730 | break 2
|
---|
| 2731 | fi
|
---|
[3745] | 2732 | done
|
---|
[25148] | 2733 | done
|
---|
[23356] | 2734 | IFS=$as_save_IFS
|
---|
[3745] | 2735 |
|
---|
| 2736 | fi
|
---|
| 2737 | fi
|
---|
| 2738 | YACC=$ac_cv_prog_YACC
|
---|
| 2739 | if test -n "$YACC"; then
|
---|
[25148] | 2740 | { $as_echo "$as_me:$LINENO: result: $YACC" >&5
|
---|
[23356] | 2741 | $as_echo "$YACC" >&6; }
|
---|
[3745] | 2742 | else
|
---|
[25148] | 2743 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 2744 | $as_echo "no" >&6; }
|
---|
[3745] | 2745 | fi
|
---|
| 2746 |
|
---|
[23356] | 2747 |
|
---|
[3745] | 2748 | test -n "$YACC" && break
|
---|
| 2749 | done
|
---|
| 2750 | test -n "$YACC" || YACC="yacc"
|
---|
| 2751 |
|
---|
| 2752 | ac_ext=c
|
---|
| 2753 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2754 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2755 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2756 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2757 | if test -n "$ac_tool_prefix"; then
|
---|
| 2758 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 2759 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
[25148] | 2760 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 2761 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2762 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
[23356] | 2763 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 2764 | else
|
---|
| 2765 | if test -n "$CC"; then
|
---|
| 2766 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2767 | else
|
---|
[10191] | 2768 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2769 | for as_dir in $PATH
|
---|
| 2770 | do
|
---|
| 2771 | IFS=$as_save_IFS
|
---|
| 2772 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2773 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 2774 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10191] | 2775 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
[25148] | 2776 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10191] | 2777 | break 2
|
---|
| 2778 | fi
|
---|
[3745] | 2779 | done
|
---|
[25148] | 2780 | done
|
---|
[23356] | 2781 | IFS=$as_save_IFS
|
---|
[3745] | 2782 |
|
---|
| 2783 | fi
|
---|
| 2784 | fi
|
---|
| 2785 | CC=$ac_cv_prog_CC
|
---|
| 2786 | if test -n "$CC"; then
|
---|
[25148] | 2787 | { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
---|
[23356] | 2788 | $as_echo "$CC" >&6; }
|
---|
[3745] | 2789 | else
|
---|
[25148] | 2790 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 2791 | $as_echo "no" >&6; }
|
---|
[3745] | 2792 | fi
|
---|
| 2793 |
|
---|
[23356] | 2794 |
|
---|
[3745] | 2795 | fi
|
---|
| 2796 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 2797 | ac_ct_CC=$CC
|
---|
| 2798 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
| 2799 | set dummy gcc; ac_word=$2
|
---|
[25148] | 2800 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 2801 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2802 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
[23356] | 2803 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 2804 | else
|
---|
| 2805 | if test -n "$ac_ct_CC"; then
|
---|
| 2806 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2807 | else
|
---|
[10191] | 2808 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2809 | for as_dir in $PATH
|
---|
| 2810 | do
|
---|
| 2811 | IFS=$as_save_IFS
|
---|
| 2812 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2813 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 2814 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10191] | 2815 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
[25148] | 2816 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10191] | 2817 | break 2
|
---|
| 2818 | fi
|
---|
[3745] | 2819 | done
|
---|
[25148] | 2820 | done
|
---|
[23356] | 2821 | IFS=$as_save_IFS
|
---|
[3745] | 2822 |
|
---|
| 2823 | fi
|
---|
| 2824 | fi
|
---|
| 2825 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2826 | if test -n "$ac_ct_CC"; then
|
---|
[25148] | 2827 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
[23356] | 2828 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[3745] | 2829 | else
|
---|
[25148] | 2830 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 2831 | $as_echo "no" >&6; }
|
---|
[3745] | 2832 | fi
|
---|
| 2833 |
|
---|
[23356] | 2834 | if test "x$ac_ct_CC" = x; then
|
---|
| 2835 | CC=""
|
---|
| 2836 | else
|
---|
| 2837 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2838 | yes:)
|
---|
[25148] | 2839 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[23356] | 2840 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 2841 | ac_tool_warned=yes ;;
|
---|
| 2842 | esac
|
---|
| 2843 | CC=$ac_ct_CC
|
---|
| 2844 | fi
|
---|
[3745] | 2845 | else
|
---|
| 2846 | CC="$ac_cv_prog_CC"
|
---|
| 2847 | fi
|
---|
| 2848 |
|
---|
| 2849 | if test -z "$CC"; then
|
---|
[23356] | 2850 | if test -n "$ac_tool_prefix"; then
|
---|
| 2851 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
[3745] | 2852 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
[25148] | 2853 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 2854 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2855 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
[23356] | 2856 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 2857 | else
|
---|
| 2858 | if test -n "$CC"; then
|
---|
| 2859 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2860 | else
|
---|
[10191] | 2861 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2862 | for as_dir in $PATH
|
---|
| 2863 | do
|
---|
| 2864 | IFS=$as_save_IFS
|
---|
| 2865 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2866 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 2867 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10191] | 2868 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
[25148] | 2869 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10191] | 2870 | break 2
|
---|
| 2871 | fi
|
---|
[3745] | 2872 | done
|
---|
[25148] | 2873 | done
|
---|
[23356] | 2874 | IFS=$as_save_IFS
|
---|
[3745] | 2875 |
|
---|
| 2876 | fi
|
---|
| 2877 | fi
|
---|
| 2878 | CC=$ac_cv_prog_CC
|
---|
| 2879 | if test -n "$CC"; then
|
---|
[25148] | 2880 | { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
---|
[23356] | 2881 | $as_echo "$CC" >&6; }
|
---|
[3745] | 2882 | else
|
---|
[25148] | 2883 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 2884 | $as_echo "no" >&6; }
|
---|
[3745] | 2885 | fi
|
---|
| 2886 |
|
---|
[23356] | 2887 |
|
---|
[10191] | 2888 | fi
|
---|
[3745] | 2889 | fi
|
---|
| 2890 | if test -z "$CC"; then
|
---|
| 2891 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 2892 | set dummy cc; ac_word=$2
|
---|
[25148] | 2893 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 2894 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2895 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
[23356] | 2896 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 2897 | else
|
---|
| 2898 | if test -n "$CC"; then
|
---|
| 2899 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2900 | else
|
---|
| 2901 | ac_prog_rejected=no
|
---|
[10191] | 2902 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2903 | for as_dir in $PATH
|
---|
| 2904 | do
|
---|
| 2905 | IFS=$as_save_IFS
|
---|
| 2906 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2907 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 2908 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10191] | 2909 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 2910 | ac_prog_rejected=yes
|
---|
| 2911 | continue
|
---|
| 2912 | fi
|
---|
| 2913 | ac_cv_prog_CC="cc"
|
---|
[25148] | 2914 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10191] | 2915 | break 2
|
---|
| 2916 | fi
|
---|
[3745] | 2917 | done
|
---|
[25148] | 2918 | done
|
---|
[23356] | 2919 | IFS=$as_save_IFS
|
---|
[3745] | 2920 |
|
---|
| 2921 | if test $ac_prog_rejected = yes; then
|
---|
| 2922 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 2923 | set dummy $ac_cv_prog_CC
|
---|
| 2924 | shift
|
---|
| 2925 | if test $# != 0; then
|
---|
| 2926 | # We chose a different compiler from the bogus one.
|
---|
| 2927 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 2928 | # first if we set CC to just the basename; use the full file name.
|
---|
| 2929 | shift
|
---|
[10191] | 2930 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
[3745] | 2931 | fi
|
---|
| 2932 | fi
|
---|
| 2933 | fi
|
---|
| 2934 | fi
|
---|
| 2935 | CC=$ac_cv_prog_CC
|
---|
| 2936 | if test -n "$CC"; then
|
---|
[25148] | 2937 | { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
---|
[23356] | 2938 | $as_echo "$CC" >&6; }
|
---|
[3745] | 2939 | else
|
---|
[25148] | 2940 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 2941 | $as_echo "no" >&6; }
|
---|
[3745] | 2942 | fi
|
---|
| 2943 |
|
---|
[23356] | 2944 |
|
---|
[3745] | 2945 | fi
|
---|
| 2946 | if test -z "$CC"; then
|
---|
| 2947 | if test -n "$ac_tool_prefix"; then
|
---|
[23356] | 2948 | for ac_prog in cl.exe
|
---|
[3745] | 2949 | do
|
---|
| 2950 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2951 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[25148] | 2952 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 2953 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2954 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
[23356] | 2955 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 2956 | else
|
---|
| 2957 | if test -n "$CC"; then
|
---|
| 2958 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2959 | else
|
---|
[10191] | 2960 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2961 | for as_dir in $PATH
|
---|
| 2962 | do
|
---|
| 2963 | IFS=$as_save_IFS
|
---|
| 2964 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 2965 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 2966 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10191] | 2967 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
[25148] | 2968 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10191] | 2969 | break 2
|
---|
| 2970 | fi
|
---|
[3745] | 2971 | done
|
---|
[25148] | 2972 | done
|
---|
[23356] | 2973 | IFS=$as_save_IFS
|
---|
[3745] | 2974 |
|
---|
| 2975 | fi
|
---|
| 2976 | fi
|
---|
| 2977 | CC=$ac_cv_prog_CC
|
---|
| 2978 | if test -n "$CC"; then
|
---|
[25148] | 2979 | { $as_echo "$as_me:$LINENO: result: $CC" >&5
|
---|
[23356] | 2980 | $as_echo "$CC" >&6; }
|
---|
[3745] | 2981 | else
|
---|
[25148] | 2982 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 2983 | $as_echo "no" >&6; }
|
---|
[3745] | 2984 | fi
|
---|
| 2985 |
|
---|
[23356] | 2986 |
|
---|
[3745] | 2987 | test -n "$CC" && break
|
---|
| 2988 | done
|
---|
| 2989 | fi
|
---|
| 2990 | if test -z "$CC"; then
|
---|
| 2991 | ac_ct_CC=$CC
|
---|
[23356] | 2992 | for ac_prog in cl.exe
|
---|
[3745] | 2993 | do
|
---|
| 2994 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2995 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 2996 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 2997 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 2998 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
[23356] | 2999 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 3000 | else
|
---|
| 3001 | if test -n "$ac_ct_CC"; then
|
---|
| 3002 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 3003 | else
|
---|
[10191] | 3004 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3005 | for as_dir in $PATH
|
---|
| 3006 | do
|
---|
| 3007 | IFS=$as_save_IFS
|
---|
| 3008 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 3009 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 3010 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10191] | 3011 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
[25148] | 3012 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10191] | 3013 | break 2
|
---|
| 3014 | fi
|
---|
[3745] | 3015 | done
|
---|
[25148] | 3016 | done
|
---|
[23356] | 3017 | IFS=$as_save_IFS
|
---|
[3745] | 3018 |
|
---|
| 3019 | fi
|
---|
| 3020 | fi
|
---|
| 3021 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 3022 | if test -n "$ac_ct_CC"; then
|
---|
[25148] | 3023 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
[23356] | 3024 | $as_echo "$ac_ct_CC" >&6; }
|
---|
[3745] | 3025 | else
|
---|
[25148] | 3026 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 3027 | $as_echo "no" >&6; }
|
---|
[3745] | 3028 | fi
|
---|
| 3029 |
|
---|
[23356] | 3030 |
|
---|
[3745] | 3031 | test -n "$ac_ct_CC" && break
|
---|
| 3032 | done
|
---|
| 3033 |
|
---|
[23356] | 3034 | if test "x$ac_ct_CC" = x; then
|
---|
| 3035 | CC=""
|
---|
| 3036 | else
|
---|
| 3037 | case $cross_compiling:$ac_tool_warned in
|
---|
| 3038 | yes:)
|
---|
[25148] | 3039 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[23356] | 3040 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 3041 | ac_tool_warned=yes ;;
|
---|
| 3042 | esac
|
---|
| 3043 | CC=$ac_ct_CC
|
---|
| 3044 | fi
|
---|
[3745] | 3045 | fi
|
---|
| 3046 |
|
---|
| 3047 | fi
|
---|
| 3048 |
|
---|
[10191] | 3049 |
|
---|
[25148] | 3050 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
---|
[23356] | 3051 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[25148] | 3052 | { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
---|
| 3053 | See \`config.log' for more details." >&5
|
---|
| 3054 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
|
---|
| 3055 | See \`config.log' for more details." >&2;}
|
---|
| 3056 | { (exit 1); exit 1; }; }; }
|
---|
[3745] | 3057 |
|
---|
[10191] | 3058 | # Provide some information about the compiler.
|
---|
[25148] | 3059 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
|
---|
[23356] | 3060 | set X $ac_compile
|
---|
| 3061 | ac_compiler=$2
|
---|
[25148] | 3062 | { (ac_try="$ac_compiler --version >&5"
|
---|
[23356] | 3063 | case "(($ac_try" in
|
---|
| 3064 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3065 | *) ac_try_echo=$ac_try;;
|
---|
| 3066 | esac
|
---|
[25148] | 3067 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 3068 | $as_echo "$ac_try_echo") >&5
|
---|
| 3069 | (eval "$ac_compiler --version >&5") 2>&5
|
---|
[10191] | 3070 | ac_status=$?
|
---|
[25148] | 3071 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3072 | (exit $ac_status); }
|
---|
| 3073 | { (ac_try="$ac_compiler -v >&5"
|
---|
| 3074 | case "(($ac_try" in
|
---|
| 3075 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3076 | *) ac_try_echo=$ac_try;;
|
---|
| 3077 | esac
|
---|
| 3078 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 3079 | $as_echo "$ac_try_echo") >&5
|
---|
| 3080 | (eval "$ac_compiler -v >&5") 2>&5
|
---|
| 3081 | ac_status=$?
|
---|
| 3082 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3083 | (exit $ac_status); }
|
---|
| 3084 | { (ac_try="$ac_compiler -V >&5"
|
---|
| 3085 | case "(($ac_try" in
|
---|
| 3086 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3087 | *) ac_try_echo=$ac_try;;
|
---|
| 3088 | esac
|
---|
| 3089 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 3090 | $as_echo "$ac_try_echo") >&5
|
---|
| 3091 | (eval "$ac_compiler -V >&5") 2>&5
|
---|
| 3092 | ac_status=$?
|
---|
| 3093 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3094 | (exit $ac_status); }
|
---|
[10191] | 3095 |
|
---|
[25148] | 3096 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
---|
[23356] | 3097 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
---|
[25148] | 3098 | if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
---|
[23356] | 3099 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 3100 | else
|
---|
[25148] | 3101 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3102 | /* confdefs.h. */
|
---|
| 3103 | _ACEOF
|
---|
| 3104 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3105 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 3106 | /* end confdefs.h. */
|
---|
[3745] | 3107 |
|
---|
| 3108 | int
|
---|
| 3109 | main ()
|
---|
| 3110 | {
|
---|
| 3111 | #ifndef __GNUC__
|
---|
| 3112 | choke me
|
---|
| 3113 | #endif
|
---|
| 3114 |
|
---|
| 3115 | ;
|
---|
| 3116 | return 0;
|
---|
| 3117 | }
|
---|
| 3118 | _ACEOF
|
---|
[25148] | 3119 | rm -f conftest.$ac_objext
|
---|
| 3120 | if { (ac_try="$ac_compile"
|
---|
| 3121 | case "(($ac_try" in
|
---|
| 3122 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3123 | *) ac_try_echo=$ac_try;;
|
---|
| 3124 | esac
|
---|
| 3125 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 3126 | $as_echo "$ac_try_echo") >&5
|
---|
| 3127 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 3128 | ac_status=$?
|
---|
| 3129 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3130 | rm -f conftest.er1
|
---|
| 3131 | cat conftest.err >&5
|
---|
| 3132 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3133 | (exit $ac_status); } && {
|
---|
| 3134 | test -z "$ac_c_werror_flag" ||
|
---|
| 3135 | test ! -s conftest.err
|
---|
| 3136 | } && test -s conftest.$ac_objext; then
|
---|
[3745] | 3137 | ac_compiler_gnu=yes
|
---|
| 3138 | else
|
---|
[25148] | 3139 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 3140 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3141 |
|
---|
| 3142 | ac_compiler_gnu=no
|
---|
[3745] | 3143 | fi
|
---|
[25148] | 3144 |
|
---|
[23356] | 3145 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 3146 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
| 3147 |
|
---|
| 3148 | fi
|
---|
[25148] | 3149 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
---|
[23356] | 3150 | $as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
---|
| 3151 | if test $ac_compiler_gnu = yes; then
|
---|
| 3152 | GCC=yes
|
---|
| 3153 | else
|
---|
| 3154 | GCC=
|
---|
| 3155 | fi
|
---|
[3745] | 3156 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 3157 | ac_save_CFLAGS=$CFLAGS
|
---|
[25148] | 3158 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
---|
[23356] | 3159 | $as_echo_n "checking whether $CC accepts -g... " >&6; }
|
---|
[25148] | 3160 | if test "${ac_cv_prog_cc_g+set}" = set; then
|
---|
[23356] | 3161 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 3162 | else
|
---|
[23356] | 3163 | ac_save_c_werror_flag=$ac_c_werror_flag
|
---|
| 3164 | ac_c_werror_flag=yes
|
---|
| 3165 | ac_cv_prog_cc_g=no
|
---|
| 3166 | CFLAGS="-g"
|
---|
[25148] | 3167 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3168 | /* confdefs.h. */
|
---|
| 3169 | _ACEOF
|
---|
| 3170 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3171 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 3172 | /* end confdefs.h. */
|
---|
[3745] | 3173 |
|
---|
| 3174 | int
|
---|
| 3175 | main ()
|
---|
| 3176 | {
|
---|
| 3177 |
|
---|
| 3178 | ;
|
---|
| 3179 | return 0;
|
---|
| 3180 | }
|
---|
| 3181 | _ACEOF
|
---|
[25148] | 3182 | rm -f conftest.$ac_objext
|
---|
| 3183 | if { (ac_try="$ac_compile"
|
---|
| 3184 | case "(($ac_try" in
|
---|
| 3185 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3186 | *) ac_try_echo=$ac_try;;
|
---|
| 3187 | esac
|
---|
| 3188 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 3189 | $as_echo "$ac_try_echo") >&5
|
---|
| 3190 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 3191 | ac_status=$?
|
---|
| 3192 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3193 | rm -f conftest.er1
|
---|
| 3194 | cat conftest.err >&5
|
---|
| 3195 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3196 | (exit $ac_status); } && {
|
---|
| 3197 | test -z "$ac_c_werror_flag" ||
|
---|
| 3198 | test ! -s conftest.err
|
---|
| 3199 | } && test -s conftest.$ac_objext; then
|
---|
[3745] | 3200 | ac_cv_prog_cc_g=yes
|
---|
| 3201 | else
|
---|
[25148] | 3202 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 3203 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3204 |
|
---|
| 3205 | CFLAGS=""
|
---|
| 3206 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3207 | /* confdefs.h. */
|
---|
| 3208 | _ACEOF
|
---|
| 3209 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3210 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[23356] | 3211 | /* end confdefs.h. */
|
---|
[10191] | 3212 |
|
---|
[23356] | 3213 | int
|
---|
| 3214 | main ()
|
---|
| 3215 | {
|
---|
| 3216 |
|
---|
| 3217 | ;
|
---|
| 3218 | return 0;
|
---|
| 3219 | }
|
---|
| 3220 | _ACEOF
|
---|
[25148] | 3221 | rm -f conftest.$ac_objext
|
---|
| 3222 | if { (ac_try="$ac_compile"
|
---|
| 3223 | case "(($ac_try" in
|
---|
| 3224 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3225 | *) ac_try_echo=$ac_try;;
|
---|
| 3226 | esac
|
---|
| 3227 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 3228 | $as_echo "$ac_try_echo") >&5
|
---|
| 3229 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 3230 | ac_status=$?
|
---|
| 3231 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3232 | rm -f conftest.er1
|
---|
| 3233 | cat conftest.err >&5
|
---|
| 3234 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3235 | (exit $ac_status); } && {
|
---|
| 3236 | test -z "$ac_c_werror_flag" ||
|
---|
| 3237 | test ! -s conftest.err
|
---|
| 3238 | } && test -s conftest.$ac_objext; then
|
---|
| 3239 | :
|
---|
| 3240 | else
|
---|
| 3241 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 3242 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[23356] | 3243 |
|
---|
[25148] | 3244 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
[23356] | 3245 | CFLAGS="-g"
|
---|
[25148] | 3246 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3247 | /* confdefs.h. */
|
---|
| 3248 | _ACEOF
|
---|
| 3249 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3250 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[23356] | 3251 | /* end confdefs.h. */
|
---|
| 3252 |
|
---|
| 3253 | int
|
---|
| 3254 | main ()
|
---|
| 3255 | {
|
---|
| 3256 |
|
---|
| 3257 | ;
|
---|
| 3258 | return 0;
|
---|
| 3259 | }
|
---|
| 3260 | _ACEOF
|
---|
[25148] | 3261 | rm -f conftest.$ac_objext
|
---|
| 3262 | if { (ac_try="$ac_compile"
|
---|
| 3263 | case "(($ac_try" in
|
---|
| 3264 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3265 | *) ac_try_echo=$ac_try;;
|
---|
| 3266 | esac
|
---|
| 3267 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 3268 | $as_echo "$ac_try_echo") >&5
|
---|
| 3269 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 3270 | ac_status=$?
|
---|
| 3271 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3272 | rm -f conftest.er1
|
---|
| 3273 | cat conftest.err >&5
|
---|
| 3274 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3275 | (exit $ac_status); } && {
|
---|
| 3276 | test -z "$ac_c_werror_flag" ||
|
---|
| 3277 | test ! -s conftest.err
|
---|
| 3278 | } && test -s conftest.$ac_objext; then
|
---|
[23356] | 3279 | ac_cv_prog_cc_g=yes
|
---|
[25148] | 3280 | else
|
---|
| 3281 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 3282 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3283 |
|
---|
| 3284 |
|
---|
[3745] | 3285 | fi
|
---|
[25148] | 3286 |
|
---|
[23356] | 3287 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 3288 | fi
|
---|
[25148] | 3289 |
|
---|
[23356] | 3290 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3291 | fi
|
---|
[25148] | 3292 |
|
---|
[23356] | 3293 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3294 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 3295 | fi
|
---|
[25148] | 3296 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
---|
[23356] | 3297 | $as_echo "$ac_cv_prog_cc_g" >&6; }
|
---|
[3745] | 3298 | if test "$ac_test_CFLAGS" = set; then
|
---|
| 3299 | CFLAGS=$ac_save_CFLAGS
|
---|
| 3300 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 3301 | if test "$GCC" = yes; then
|
---|
| 3302 | CFLAGS="-g -O2"
|
---|
| 3303 | else
|
---|
| 3304 | CFLAGS="-g"
|
---|
| 3305 | fi
|
---|
| 3306 | else
|
---|
| 3307 | if test "$GCC" = yes; then
|
---|
| 3308 | CFLAGS="-O2"
|
---|
| 3309 | else
|
---|
| 3310 | CFLAGS=
|
---|
| 3311 | fi
|
---|
| 3312 | fi
|
---|
[25148] | 3313 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
---|
[23356] | 3314 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
---|
[25148] | 3315 | if test "${ac_cv_prog_cc_c89+set}" = set; then
|
---|
[23356] | 3316 | $as_echo_n "(cached) " >&6
|
---|
[10191] | 3317 | else
|
---|
[23356] | 3318 | ac_cv_prog_cc_c89=no
|
---|
[10191] | 3319 | ac_save_CC=$CC
|
---|
[25148] | 3320 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3321 | /* confdefs.h. */
|
---|
| 3322 | _ACEOF
|
---|
| 3323 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3324 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 3325 | /* end confdefs.h. */
|
---|
| 3326 | #include <stdarg.h>
|
---|
| 3327 | #include <stdio.h>
|
---|
| 3328 | #include <sys/types.h>
|
---|
| 3329 | #include <sys/stat.h>
|
---|
| 3330 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 3331 | struct buf { int x; };
|
---|
| 3332 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 3333 | static char *e (p, i)
|
---|
| 3334 | char **p;
|
---|
| 3335 | int i;
|
---|
| 3336 | {
|
---|
| 3337 | return p[i];
|
---|
| 3338 | }
|
---|
| 3339 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 3340 | {
|
---|
| 3341 | char *s;
|
---|
| 3342 | va_list v;
|
---|
| 3343 | va_start (v,p);
|
---|
| 3344 | s = g (p, va_arg (v,int));
|
---|
| 3345 | va_end (v);
|
---|
| 3346 | return s;
|
---|
| 3347 | }
|
---|
| 3348 |
|
---|
| 3349 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 3350 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 3351 | These don't provoke an error unfortunately, instead are silently treated
|
---|
[23356] | 3352 | as 'x'. The following induces an error, until -std is added to get
|
---|
[10191] | 3353 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 3354 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
[23356] | 3355 | that's true only with -std. */
|
---|
[10191] | 3356 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 3357 |
|
---|
[23356] | 3358 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
---|
| 3359 | inside strings and character constants. */
|
---|
| 3360 | #define FOO(x) 'x'
|
---|
| 3361 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
| 3362 |
|
---|
[10191] | 3363 | int test (int i, double x);
|
---|
| 3364 | struct s1 {int (*f) (int a);};
|
---|
| 3365 | struct s2 {int (*f) (double a);};
|
---|
| 3366 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 3367 | int argc;
|
---|
| 3368 | char **argv;
|
---|
| 3369 | int
|
---|
| 3370 | main ()
|
---|
| 3371 | {
|
---|
| 3372 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 3373 | ;
|
---|
| 3374 | return 0;
|
---|
| 3375 | }
|
---|
| 3376 | _ACEOF
|
---|
[23356] | 3377 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
| 3378 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
[10191] | 3379 | do
|
---|
| 3380 | CC="$ac_save_CC $ac_arg"
|
---|
[25148] | 3381 | rm -f conftest.$ac_objext
|
---|
| 3382 | if { (ac_try="$ac_compile"
|
---|
| 3383 | case "(($ac_try" in
|
---|
| 3384 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3385 | *) ac_try_echo=$ac_try;;
|
---|
| 3386 | esac
|
---|
| 3387 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 3388 | $as_echo "$ac_try_echo") >&5
|
---|
| 3389 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 3390 | ac_status=$?
|
---|
| 3391 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3392 | rm -f conftest.er1
|
---|
| 3393 | cat conftest.err >&5
|
---|
| 3394 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3395 | (exit $ac_status); } && {
|
---|
| 3396 | test -z "$ac_c_werror_flag" ||
|
---|
| 3397 | test ! -s conftest.err
|
---|
| 3398 | } && test -s conftest.$ac_objext; then
|
---|
[23356] | 3399 | ac_cv_prog_cc_c89=$ac_arg
|
---|
[25148] | 3400 | else
|
---|
| 3401 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 3402 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3403 |
|
---|
| 3404 |
|
---|
[10191] | 3405 | fi
|
---|
[25148] | 3406 |
|
---|
[23356] | 3407 | rm -f core conftest.err conftest.$ac_objext
|
---|
| 3408 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
[10191] | 3409 | done
|
---|
[23356] | 3410 | rm -f conftest.$ac_ext
|
---|
[10191] | 3411 | CC=$ac_save_CC
|
---|
| 3412 |
|
---|
| 3413 | fi
|
---|
[23356] | 3414 | # AC_CACHE_VAL
|
---|
| 3415 | case "x$ac_cv_prog_cc_c89" in
|
---|
| 3416 | x)
|
---|
[25148] | 3417 | { $as_echo "$as_me:$LINENO: result: none needed" >&5
|
---|
[23356] | 3418 | $as_echo "none needed" >&6; } ;;
|
---|
| 3419 | xno)
|
---|
[25148] | 3420 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
---|
[23356] | 3421 | $as_echo "unsupported" >&6; } ;;
|
---|
[10191] | 3422 | *)
|
---|
[23356] | 3423 | CC="$CC $ac_cv_prog_cc_c89"
|
---|
[25148] | 3424 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
---|
[23356] | 3425 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
---|
[10191] | 3426 | esac
|
---|
| 3427 |
|
---|
| 3428 |
|
---|
[3745] | 3429 | ac_ext=c
|
---|
| 3430 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3431 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3432 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3433 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3434 |
|
---|
| 3435 | # Find a good install program. We prefer a C program (faster),
|
---|
| 3436 | # so one script is as good as another. But avoid the broken or
|
---|
| 3437 | # incompatible versions:
|
---|
| 3438 | # SysV /etc/install, /usr/sbin/install
|
---|
| 3439 | # SunOS /usr/etc/install
|
---|
| 3440 | # IRIX /sbin/install
|
---|
| 3441 | # AIX /bin/install
|
---|
| 3442 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 3443 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 3444 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 3445 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
[10191] | 3446 | # OS/2's system install, which has a completely different semantic
|
---|
[3745] | 3447 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
[23356] | 3448 | # Reject install programs that cannot install multiple files.
|
---|
[25148] | 3449 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
---|
[23356] | 3450 | $as_echo_n "checking for a BSD-compatible install... " >&6; }
|
---|
[3745] | 3451 | if test -z "$INSTALL"; then
|
---|
[25148] | 3452 | if test "${ac_cv_path_install+set}" = set; then
|
---|
[23356] | 3453 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 3454 | else
|
---|
[10191] | 3455 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3456 | for as_dir in $PATH
|
---|
| 3457 | do
|
---|
| 3458 | IFS=$as_save_IFS
|
---|
| 3459 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 3460 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 3461 | case $as_dir/ in
|
---|
| 3462 | ./ | .// | /cC/* | \
|
---|
[10191] | 3463 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
[25148] | 3464 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
---|
[10191] | 3465 | /usr/ucb/* ) ;;
|
---|
| 3466 | *)
|
---|
| 3467 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 3468 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 3469 | # by default.
|
---|
| 3470 | for ac_prog in ginstall scoinst install; do
|
---|
| 3471 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 3472 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
---|
[3745] | 3473 | if test $ac_prog = install &&
|
---|
[10191] | 3474 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
[3745] | 3475 | # AIX install. It has an incompatible calling convention.
|
---|
| 3476 | :
|
---|
| 3477 | elif test $ac_prog = install &&
|
---|
[10191] | 3478 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
[3745] | 3479 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 3480 | :
|
---|
| 3481 | else
|
---|
[23356] | 3482 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 3483 | echo one > conftest.one
|
---|
| 3484 | echo two > conftest.two
|
---|
| 3485 | mkdir conftest.dir
|
---|
| 3486 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
---|
| 3487 | test -s conftest.one && test -s conftest.two &&
|
---|
| 3488 | test -s conftest.dir/conftest.one &&
|
---|
| 3489 | test -s conftest.dir/conftest.two
|
---|
| 3490 | then
|
---|
| 3491 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 3492 | break 3
|
---|
| 3493 | fi
|
---|
[3745] | 3494 | fi
|
---|
| 3495 | fi
|
---|
| 3496 | done
|
---|
[10191] | 3497 | done
|
---|
| 3498 | ;;
|
---|
| 3499 | esac
|
---|
[3745] | 3500 |
|
---|
[25148] | 3501 | done
|
---|
[23356] | 3502 | IFS=$as_save_IFS
|
---|
[10191] | 3503 |
|
---|
[23356] | 3504 | rm -rf conftest.one conftest.two conftest.dir
|
---|
| 3505 |
|
---|
[3745] | 3506 | fi
|
---|
| 3507 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 3508 | INSTALL=$ac_cv_path_install
|
---|
| 3509 | else
|
---|
[23356] | 3510 | # As a last resort, use the slow shell script. Don't cache a
|
---|
| 3511 | # value for INSTALL within a source directory, because that will
|
---|
[3745] | 3512 | # break other packages using the cache if that directory is
|
---|
[23356] | 3513 | # removed, or if the value is a relative name.
|
---|
[3745] | 3514 | INSTALL=$ac_install_sh
|
---|
| 3515 | fi
|
---|
| 3516 | fi
|
---|
[25148] | 3517 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
|
---|
[23356] | 3518 | $as_echo "$INSTALL" >&6; }
|
---|
[3745] | 3519 |
|
---|
| 3520 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 3521 | # It thinks the first close brace ends the variable substitution.
|
---|
| 3522 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 3523 |
|
---|
| 3524 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 3525 |
|
---|
| 3526 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 3527 |
|
---|
[25148] | 3528 | { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
---|
[23356] | 3529 | $as_echo_n "checking whether ln -s works... " >&6; }
|
---|
[3745] | 3530 | LN_S=$as_ln_s
|
---|
| 3531 | if test "$LN_S" = "ln -s"; then
|
---|
[25148] | 3532 | { $as_echo "$as_me:$LINENO: result: yes" >&5
|
---|
[23356] | 3533 | $as_echo "yes" >&6; }
|
---|
[3745] | 3534 | else
|
---|
[25148] | 3535 | { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
---|
[23356] | 3536 | $as_echo "no, using $LN_S" >&6; }
|
---|
[3745] | 3537 | fi
|
---|
| 3538 |
|
---|
[25148] | 3539 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
[23356] | 3540 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
---|
| 3541 | set x ${MAKE-make}
|
---|
| 3542 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
---|
[25148] | 3543 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[23356] | 3544 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 3545 | else
|
---|
[10191] | 3546 | cat >conftest.make <<\_ACEOF
|
---|
[23356] | 3547 | SHELL = /bin/sh
|
---|
[3745] | 3548 | all:
|
---|
[23356] | 3549 | @echo '@@@%%%=$(MAKE)=@@@%%%'
|
---|
[10191] | 3550 | _ACEOF
|
---|
[25147] | 3551 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
---|
[23356] | 3552 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
---|
| 3553 | *@@@%%%=?*=@@@%%%*)
|
---|
| 3554 | eval ac_cv_prog_make_${ac_make}_set=yes;;
|
---|
| 3555 | *)
|
---|
| 3556 | eval ac_cv_prog_make_${ac_make}_set=no;;
|
---|
| 3557 | esac
|
---|
[3745] | 3558 | rm -f conftest.make
|
---|
| 3559 | fi
|
---|
[23356] | 3560 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
---|
[25148] | 3561 | { $as_echo "$as_me:$LINENO: result: yes" >&5
|
---|
[23356] | 3562 | $as_echo "yes" >&6; }
|
---|
[3745] | 3563 | SET_MAKE=
|
---|
| 3564 | else
|
---|
[25148] | 3565 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 3566 | $as_echo "no" >&6; }
|
---|
[3745] | 3567 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 3568 | fi
|
---|
| 3569 |
|
---|
| 3570 | if test -n "$ac_tool_prefix"; then
|
---|
| 3571 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 3572 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
[25148] | 3573 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 3574 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 3575 | if test "${ac_cv_prog_RANLIB+set}" = set; then
|
---|
[23356] | 3576 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 3577 | else
|
---|
| 3578 | if test -n "$RANLIB"; then
|
---|
| 3579 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 3580 | else
|
---|
[10191] | 3581 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3582 | for as_dir in $PATH
|
---|
| 3583 | do
|
---|
| 3584 | IFS=$as_save_IFS
|
---|
| 3585 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 3586 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 3587 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10191] | 3588 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
[25148] | 3589 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10191] | 3590 | break 2
|
---|
| 3591 | fi
|
---|
[3745] | 3592 | done
|
---|
[25148] | 3593 | done
|
---|
[23356] | 3594 | IFS=$as_save_IFS
|
---|
[3745] | 3595 |
|
---|
| 3596 | fi
|
---|
| 3597 | fi
|
---|
| 3598 | RANLIB=$ac_cv_prog_RANLIB
|
---|
| 3599 | if test -n "$RANLIB"; then
|
---|
[25148] | 3600 | { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
|
---|
[23356] | 3601 | $as_echo "$RANLIB" >&6; }
|
---|
[3745] | 3602 | else
|
---|
[25148] | 3603 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 3604 | $as_echo "no" >&6; }
|
---|
[3745] | 3605 | fi
|
---|
| 3606 |
|
---|
[23356] | 3607 |
|
---|
[3745] | 3608 | fi
|
---|
| 3609 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 3610 | ac_ct_RANLIB=$RANLIB
|
---|
| 3611 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 3612 | set dummy ranlib; ac_word=$2
|
---|
[25148] | 3613 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 3614 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 3615 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
---|
[23356] | 3616 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 3617 | else
|
---|
| 3618 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 3619 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 3620 | else
|
---|
[10191] | 3621 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3622 | for as_dir in $PATH
|
---|
| 3623 | do
|
---|
| 3624 | IFS=$as_save_IFS
|
---|
| 3625 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 3626 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 3627 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[10191] | 3628 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
[25148] | 3629 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[10191] | 3630 | break 2
|
---|
| 3631 | fi
|
---|
[3745] | 3632 | done
|
---|
[25148] | 3633 | done
|
---|
[23356] | 3634 | IFS=$as_save_IFS
|
---|
[3745] | 3635 |
|
---|
| 3636 | fi
|
---|
| 3637 | fi
|
---|
| 3638 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 3639 | if test -n "$ac_ct_RANLIB"; then
|
---|
[25148] | 3640 | { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
---|
[23356] | 3641 | $as_echo "$ac_ct_RANLIB" >&6; }
|
---|
[3745] | 3642 | else
|
---|
[25148] | 3643 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 3644 | $as_echo "no" >&6; }
|
---|
[3745] | 3645 | fi
|
---|
| 3646 |
|
---|
[23356] | 3647 | if test "x$ac_ct_RANLIB" = x; then
|
---|
| 3648 | RANLIB=":"
|
---|
| 3649 | else
|
---|
| 3650 | case $cross_compiling:$ac_tool_warned in
|
---|
| 3651 | yes:)
|
---|
[25148] | 3652 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
---|
[23356] | 3653 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
---|
| 3654 | ac_tool_warned=yes ;;
|
---|
| 3655 | esac
|
---|
| 3656 | RANLIB=$ac_ct_RANLIB
|
---|
| 3657 | fi
|
---|
[3745] | 3658 | else
|
---|
| 3659 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 3660 | fi
|
---|
| 3661 |
|
---|
[23356] | 3662 | if test $ENABLE_JAVA = "1" ; then
|
---|
[10191] | 3663 |
|
---|
| 3664 |
|
---|
[23356] | 3665 | if test "x$JAVA" = x ; then
|
---|
| 3666 | if test x$JAVAPREFIX = x; then
|
---|
| 3667 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
| 3668 | do
|
---|
| 3669 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3670 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 3671 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 3672 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 3673 | if test "${ac_cv_prog_JAVA+set}" = set; then
|
---|
[23356] | 3674 | $as_echo_n "(cached) " >&6
|
---|
| 3675 | else
|
---|
| 3676 | if test -n "$JAVA"; then
|
---|
| 3677 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 3678 | else
|
---|
| 3679 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3680 | for as_dir in $PATH
|
---|
| 3681 | do
|
---|
| 3682 | IFS=$as_save_IFS
|
---|
| 3683 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 3684 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 3685 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3686 | ac_cv_prog_JAVA="$ac_prog"
|
---|
[25148] | 3687 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3688 | break 2
|
---|
| 3689 | fi
|
---|
| 3690 | done
|
---|
[25148] | 3691 | done
|
---|
[23356] | 3692 | IFS=$as_save_IFS
|
---|
| 3693 |
|
---|
| 3694 | fi
|
---|
| 3695 | fi
|
---|
| 3696 | JAVA=$ac_cv_prog_JAVA
|
---|
| 3697 | if test -n "$JAVA"; then
|
---|
[25148] | 3698 | { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
|
---|
[23356] | 3699 | $as_echo "$JAVA" >&6; }
|
---|
| 3700 | else
|
---|
[25148] | 3701 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 3702 | $as_echo "no" >&6; }
|
---|
| 3703 | fi
|
---|
| 3704 |
|
---|
| 3705 |
|
---|
| 3706 | test -n "$JAVA" && break
|
---|
| 3707 | done
|
---|
| 3708 |
|
---|
| 3709 | else
|
---|
| 3710 | test x$JAVA = x && for ac_prog in java$EXEEXT
|
---|
| 3711 | do
|
---|
| 3712 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3713 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 3714 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 3715 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 3716 | if test "${ac_cv_prog_JAVA+set}" = set; then
|
---|
[23356] | 3717 | $as_echo_n "(cached) " >&6
|
---|
| 3718 | else
|
---|
| 3719 | if test -n "$JAVA"; then
|
---|
| 3720 | ac_cv_prog_JAVA="$JAVA" # Let the user override the test.
|
---|
| 3721 | else
|
---|
| 3722 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3723 | for as_dir in $PATH
|
---|
| 3724 | do
|
---|
| 3725 | IFS=$as_save_IFS
|
---|
| 3726 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 3727 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 3728 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3729 | ac_cv_prog_JAVA="$ac_prog"
|
---|
[25148] | 3730 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3731 | break 2
|
---|
| 3732 | fi
|
---|
| 3733 | done
|
---|
[25148] | 3734 | done
|
---|
[23356] | 3735 | IFS=$as_save_IFS
|
---|
| 3736 |
|
---|
| 3737 | fi
|
---|
| 3738 | fi
|
---|
| 3739 | JAVA=$ac_cv_prog_JAVA
|
---|
| 3740 | if test -n "$JAVA"; then
|
---|
[25148] | 3741 | { $as_echo "$as_me:$LINENO: result: $JAVA" >&5
|
---|
[23356] | 3742 | $as_echo "$JAVA" >&6; }
|
---|
| 3743 | else
|
---|
[25148] | 3744 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 3745 | $as_echo "no" >&6; }
|
---|
| 3746 | fi
|
---|
| 3747 |
|
---|
| 3748 |
|
---|
| 3749 | test -n "$JAVA" && break
|
---|
| 3750 | done
|
---|
| 3751 | test -n "$JAVA" || JAVA="$JAVAPREFIX"
|
---|
| 3752 |
|
---|
| 3753 | fi
|
---|
[25148] | 3754 | test x$JAVA = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java virtual machine found in \$PATH" >&5
|
---|
| 3755 | $as_echo "$as_me: error: no acceptable Java virtual machine found in \$PATH" >&2;}
|
---|
| 3756 | { (exit 1); exit 1; }; }
|
---|
[23356] | 3757 | fi
|
---|
| 3758 |
|
---|
| 3759 |
|
---|
| 3760 | # Extract the first word of "uudecode$EXEEXT", so it can be a program name with args.
|
---|
| 3761 | set dummy uudecode$EXEEXT; ac_word=$2
|
---|
[25148] | 3762 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 3763 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 3764 | if test "${ac_cv_prog_uudecode+set}" = set; then
|
---|
[23356] | 3765 | $as_echo_n "(cached) " >&6
|
---|
| 3766 | else
|
---|
| 3767 | if test -n "$uudecode"; then
|
---|
| 3768 | ac_cv_prog_uudecode="$uudecode" # Let the user override the test.
|
---|
| 3769 | else
|
---|
| 3770 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3771 | for as_dir in $PATH
|
---|
| 3772 | do
|
---|
| 3773 | IFS=$as_save_IFS
|
---|
| 3774 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 3775 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 3776 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3777 | ac_cv_prog_uudecode="yes"
|
---|
[25148] | 3778 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3779 | break 2
|
---|
| 3780 | fi
|
---|
| 3781 | done
|
---|
[25148] | 3782 | done
|
---|
[23356] | 3783 | IFS=$as_save_IFS
|
---|
| 3784 |
|
---|
| 3785 | fi
|
---|
| 3786 | fi
|
---|
| 3787 | uudecode=$ac_cv_prog_uudecode
|
---|
| 3788 | if test -n "$uudecode"; then
|
---|
[25148] | 3789 | { $as_echo "$as_me:$LINENO: result: $uudecode" >&5
|
---|
[23356] | 3790 | $as_echo "$uudecode" >&6; }
|
---|
| 3791 | else
|
---|
[25148] | 3792 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 3793 | $as_echo "no" >&6; }
|
---|
| 3794 | fi
|
---|
| 3795 |
|
---|
| 3796 |
|
---|
| 3797 | if test x$uudecode = xyes; then
|
---|
[25148] | 3798 | { $as_echo "$as_me:$LINENO: checking if uudecode can decode base 64 file" >&5
|
---|
[23356] | 3799 | $as_echo_n "checking if uudecode can decode base 64 file... " >&6; }
|
---|
[25148] | 3800 | if test "${ac_cv_prog_uudecode_base64+set}" = set; then
|
---|
[23356] | 3801 | $as_echo_n "(cached) " >&6
|
---|
| 3802 | else
|
---|
| 3803 |
|
---|
| 3804 | cat << \EOF > Test.uue
|
---|
| 3805 | begin-base64 644 Test.class
|
---|
| 3806 | yv66vgADAC0AFQcAAgEABFRlc3QHAAQBABBqYXZhL2xhbmcvT2JqZWN0AQAE
|
---|
| 3807 | bWFpbgEAFihbTGphdmEvbGFuZy9TdHJpbmc7KVYBAARDb2RlAQAPTGluZU51
|
---|
| 3808 | bWJlclRhYmxlDAAKAAsBAARleGl0AQAEKEkpVgoADQAJBwAOAQAQamF2YS9s
|
---|
| 3809 | YW5nL1N5c3RlbQEABjxpbml0PgEAAygpVgwADwAQCgADABEBAApTb3VyY2VG
|
---|
| 3810 | aWxlAQAJVGVzdC5qYXZhACEAAQADAAAAAAACAAkABQAGAAEABwAAACEAAQAB
|
---|
| 3811 | AAAABQO4AAyxAAAAAQAIAAAACgACAAAACgAEAAsAAQAPABAAAQAHAAAAIQAB
|
---|
| 3812 | AAEAAAAFKrcAErEAAAABAAgAAAAKAAIAAAAEAAQABAABABMAAAACABQ=
|
---|
| 3813 | ====
|
---|
| 3814 | EOF
|
---|
| 3815 | if uudecode$EXEEXT Test.uue; then
|
---|
| 3816 | ac_cv_prog_uudecode_base64=yes
|
---|
| 3817 | else
|
---|
[25148] | 3818 | echo "configure: 3818: uudecode had trouble decoding base 64 file 'Test.uue'" >&5
|
---|
[23356] | 3819 | echo "configure: failed file was:" >&5
|
---|
| 3820 | cat Test.uue >&5
|
---|
| 3821 | ac_cv_prog_uudecode_base64=no
|
---|
| 3822 | fi
|
---|
| 3823 | rm -f Test.uue
|
---|
| 3824 | fi
|
---|
[25148] | 3825 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_uudecode_base64" >&5
|
---|
[23356] | 3826 | $as_echo "$ac_cv_prog_uudecode_base64" >&6; }
|
---|
| 3827 | fi
|
---|
| 3828 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 3829 | rm -f Test.class
|
---|
[25148] | 3830 | { $as_echo "$as_me:$LINENO: WARNING: I have to compile Test.class from scratch" >&5
|
---|
[23356] | 3831 | $as_echo "$as_me: WARNING: I have to compile Test.class from scratch" >&2;}
|
---|
| 3832 | if test x$ac_cv_prog_javac_works = xno; then
|
---|
[25148] | 3833 | { { $as_echo "$as_me:$LINENO: error: Cannot compile java source. $JAVAC does not work properly" >&5
|
---|
| 3834 | $as_echo "$as_me: error: Cannot compile java source. $JAVAC does not work properly" >&2;}
|
---|
| 3835 | { (exit 1); exit 1; }; }
|
---|
[23356] | 3836 | fi
|
---|
| 3837 | if test x$ac_cv_prog_javac_works = x; then
|
---|
| 3838 |
|
---|
| 3839 | if test "x$JAVAC" = x ; then
|
---|
| 3840 | if test "x$JAVAPREFIX" = x; then
|
---|
| 3841 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3842 | do
|
---|
| 3843 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3844 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 3845 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 3846 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 3847 | if test "${ac_cv_prog_JAVAC+set}" = set; then
|
---|
[23356] | 3848 | $as_echo_n "(cached) " >&6
|
---|
| 3849 | else
|
---|
| 3850 | if test -n "$JAVAC"; then
|
---|
| 3851 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3852 | else
|
---|
| 3853 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3854 | for as_dir in $PATH
|
---|
| 3855 | do
|
---|
| 3856 | IFS=$as_save_IFS
|
---|
| 3857 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 3858 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 3859 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3860 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[25148] | 3861 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3862 | break 2
|
---|
| 3863 | fi
|
---|
| 3864 | done
|
---|
[25148] | 3865 | done
|
---|
[23356] | 3866 | IFS=$as_save_IFS
|
---|
| 3867 |
|
---|
| 3868 | fi
|
---|
| 3869 | fi
|
---|
| 3870 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3871 | if test -n "$JAVAC"; then
|
---|
[25148] | 3872 | { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
|
---|
[23356] | 3873 | $as_echo "$JAVAC" >&6; }
|
---|
| 3874 | else
|
---|
[25148] | 3875 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 3876 | $as_echo "no" >&6; }
|
---|
| 3877 | fi
|
---|
| 3878 |
|
---|
| 3879 |
|
---|
| 3880 | test -n "$JAVAC" && break
|
---|
| 3881 | done
|
---|
| 3882 |
|
---|
| 3883 | else
|
---|
| 3884 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 3885 | do
|
---|
| 3886 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3887 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 3888 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 3889 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 3890 | if test "${ac_cv_prog_JAVAC+set}" = set; then
|
---|
[23356] | 3891 | $as_echo_n "(cached) " >&6
|
---|
| 3892 | else
|
---|
| 3893 | if test -n "$JAVAC"; then
|
---|
| 3894 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 3895 | else
|
---|
| 3896 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3897 | for as_dir in $PATH
|
---|
| 3898 | do
|
---|
| 3899 | IFS=$as_save_IFS
|
---|
| 3900 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 3901 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 3902 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 3903 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[25148] | 3904 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 3905 | break 2
|
---|
| 3906 | fi
|
---|
| 3907 | done
|
---|
[25148] | 3908 | done
|
---|
[23356] | 3909 | IFS=$as_save_IFS
|
---|
| 3910 |
|
---|
| 3911 | fi
|
---|
| 3912 | fi
|
---|
| 3913 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 3914 | if test -n "$JAVAC"; then
|
---|
[25148] | 3915 | { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
|
---|
[23356] | 3916 | $as_echo "$JAVAC" >&6; }
|
---|
| 3917 | else
|
---|
[25148] | 3918 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 3919 | $as_echo "no" >&6; }
|
---|
| 3920 | fi
|
---|
| 3921 |
|
---|
| 3922 |
|
---|
| 3923 | test -n "$JAVAC" && break
|
---|
| 3924 | done
|
---|
| 3925 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 3926 |
|
---|
| 3927 | fi
|
---|
[25148] | 3928 | test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
|
---|
| 3929 | $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
|
---|
| 3930 | { (exit 1); exit 1; }; }
|
---|
[23356] | 3931 | else
|
---|
| 3932 | echo "Checking for javac... $JAVAC"
|
---|
| 3933 | fi
|
---|
| 3934 |
|
---|
| 3935 |
|
---|
[25148] | 3936 | { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
|
---|
[23356] | 3937 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
[25148] | 3938 | if test "${ac_cv_prog_javac_works+set}" = set; then
|
---|
[23356] | 3939 | $as_echo_n "(cached) " >&6
|
---|
| 3940 | else
|
---|
| 3941 |
|
---|
| 3942 | JAVA_TEST=Test.java
|
---|
| 3943 | CLASS_TEST=Test.class
|
---|
| 3944 | cat << \EOF > $JAVA_TEST
|
---|
[25148] | 3945 | /* #line 3945 "configure" */
|
---|
[23356] | 3946 | public class Test {
|
---|
| 3947 | }
|
---|
| 3948 | EOF
|
---|
| 3949 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[25148] | 3950 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
[23356] | 3951 | (eval $ac_try) 2>&5
|
---|
| 3952 | ac_status=$?
|
---|
[25148] | 3953 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3954 | (exit $ac_status); }; } >/dev/null 2>&1; then
|
---|
[23356] | 3955 | ac_cv_prog_javac_works=yes
|
---|
| 3956 | else
|
---|
[25148] | 3957 | { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
|
---|
| 3958 | $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
|
---|
| 3959 | { (exit 1); exit 1; }; }
|
---|
[23356] | 3960 | echo "configure: failed program was:" >&5
|
---|
| 3961 | cat $JAVA_TEST >&5
|
---|
| 3962 | fi
|
---|
| 3963 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
| 3964 |
|
---|
| 3965 | fi
|
---|
[25148] | 3966 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
|
---|
[23356] | 3967 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
| 3968 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 3969 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
| 3970 | fi
|
---|
| 3971 |
|
---|
| 3972 |
|
---|
| 3973 |
|
---|
| 3974 | fi
|
---|
| 3975 | fi
|
---|
[25148] | 3976 | { $as_echo "$as_me:$LINENO: checking if $JAVA works" >&5
|
---|
[23356] | 3977 | $as_echo_n "checking if $JAVA works... " >&6; }
|
---|
[25148] | 3978 | if test "${ac_cv_prog_java_works+set}" = set; then
|
---|
[23356] | 3979 | $as_echo_n "(cached) " >&6
|
---|
| 3980 | else
|
---|
| 3981 |
|
---|
| 3982 | JAVA_TEST=Test.java
|
---|
| 3983 | CLASS_TEST=Test.class
|
---|
| 3984 | TEST=Test
|
---|
| 3985 | cat << \EOF > $JAVA_TEST
|
---|
[25148] | 3986 | /* [#]line 3986 "configure" */
|
---|
[23356] | 3987 | public class Test {
|
---|
| 3988 | public static void main (String args[]) {
|
---|
| 3989 | System.exit (0);
|
---|
| 3990 | } }
|
---|
| 3991 | EOF
|
---|
| 3992 | if test x$ac_cv_prog_uudecode_base64 != xyes; then
|
---|
| 3993 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[25148] | 3994 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
[23356] | 3995 | (eval $ac_try) 2>&5
|
---|
| 3996 | ac_status=$?
|
---|
[25148] | 3997 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 3998 | (exit $ac_status); }; } && test -s $CLASS_TEST; then
|
---|
[23356] | 3999 | :
|
---|
| 4000 | else
|
---|
| 4001 | echo "configure: failed program was:" >&5
|
---|
| 4002 | cat $JAVA_TEST >&5
|
---|
[25148] | 4003 | { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
|
---|
| 4004 | $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
|
---|
| 4005 | { (exit 1); exit 1; }; }
|
---|
[23356] | 4006 | fi
|
---|
| 4007 | fi
|
---|
| 4008 | if { ac_try='$JAVA $JAVAFLAGS $TEST'
|
---|
[25148] | 4009 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
[23356] | 4010 | (eval $ac_try) 2>&5
|
---|
| 4011 | ac_status=$?
|
---|
[25148] | 4012 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4013 | (exit $ac_status); }; } >/dev/null 2>&1; then
|
---|
[23356] | 4014 | ac_cv_prog_java_works=yes
|
---|
| 4015 | else
|
---|
| 4016 | echo "configure: failed program was:" >&5
|
---|
| 4017 | cat $JAVA_TEST >&5
|
---|
[25148] | 4018 | { { $as_echo "$as_me:$LINENO: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&5
|
---|
| 4019 | $as_echo "$as_me: error: The Java VM $JAVA failed (see config.log, check the CLASSPATH?)" >&2;}
|
---|
| 4020 | { (exit 1); exit 1; }; }
|
---|
[23356] | 4021 | fi
|
---|
| 4022 | rm -fr $JAVA_TEST $CLASS_TEST Test.uue
|
---|
| 4023 |
|
---|
| 4024 | fi
|
---|
[25148] | 4025 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_java_works" >&5
|
---|
[23356] | 4026 | $as_echo "$ac_cv_prog_java_works" >&6; }
|
---|
| 4027 |
|
---|
| 4028 |
|
---|
| 4029 |
|
---|
| 4030 |
|
---|
| 4031 | if test "x$JAVAC" = x ; then
|
---|
| 4032 | if test "x$JAVAPREFIX" = x; then
|
---|
| 4033 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 4034 | do
|
---|
| 4035 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4036 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 4037 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 4038 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 4039 | if test "${ac_cv_prog_JAVAC+set}" = set; then
|
---|
[23356] | 4040 | $as_echo_n "(cached) " >&6
|
---|
| 4041 | else
|
---|
| 4042 | if test -n "$JAVAC"; then
|
---|
| 4043 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 4044 | else
|
---|
| 4045 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4046 | for as_dir in $PATH
|
---|
| 4047 | do
|
---|
| 4048 | IFS=$as_save_IFS
|
---|
| 4049 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 4050 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 4051 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 4052 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[25148] | 4053 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 4054 | break 2
|
---|
| 4055 | fi
|
---|
| 4056 | done
|
---|
[25148] | 4057 | done
|
---|
[23356] | 4058 | IFS=$as_save_IFS
|
---|
| 4059 |
|
---|
| 4060 | fi
|
---|
| 4061 | fi
|
---|
| 4062 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 4063 | if test -n "$JAVAC"; then
|
---|
[25148] | 4064 | { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
|
---|
[23356] | 4065 | $as_echo "$JAVAC" >&6; }
|
---|
| 4066 | else
|
---|
[25148] | 4067 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 4068 | $as_echo "no" >&6; }
|
---|
| 4069 | fi
|
---|
| 4070 |
|
---|
| 4071 |
|
---|
| 4072 | test -n "$JAVAC" && break
|
---|
| 4073 | done
|
---|
| 4074 |
|
---|
| 4075 | else
|
---|
| 4076 | test "x$JAVAC" = x && for ac_prog in javac$EXEEXT
|
---|
| 4077 | do
|
---|
| 4078 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 4079 | set dummy $ac_prog; ac_word=$2
|
---|
[25148] | 4080 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
[23356] | 4081 | $as_echo_n "checking for $ac_word... " >&6; }
|
---|
[25148] | 4082 | if test "${ac_cv_prog_JAVAC+set}" = set; then
|
---|
[23356] | 4083 | $as_echo_n "(cached) " >&6
|
---|
| 4084 | else
|
---|
| 4085 | if test -n "$JAVAC"; then
|
---|
| 4086 | ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
|
---|
| 4087 | else
|
---|
| 4088 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4089 | for as_dir in $PATH
|
---|
| 4090 | do
|
---|
| 4091 | IFS=$as_save_IFS
|
---|
| 4092 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 4093 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[23356] | 4094 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
| 4095 | ac_cv_prog_JAVAC="$ac_prog"
|
---|
[25148] | 4096 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[23356] | 4097 | break 2
|
---|
| 4098 | fi
|
---|
| 4099 | done
|
---|
[25148] | 4100 | done
|
---|
[23356] | 4101 | IFS=$as_save_IFS
|
---|
| 4102 |
|
---|
| 4103 | fi
|
---|
| 4104 | fi
|
---|
| 4105 | JAVAC=$ac_cv_prog_JAVAC
|
---|
| 4106 | if test -n "$JAVAC"; then
|
---|
[25148] | 4107 | { $as_echo "$as_me:$LINENO: result: $JAVAC" >&5
|
---|
[23356] | 4108 | $as_echo "$JAVAC" >&6; }
|
---|
| 4109 | else
|
---|
[25148] | 4110 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 4111 | $as_echo "no" >&6; }
|
---|
| 4112 | fi
|
---|
| 4113 |
|
---|
| 4114 |
|
---|
| 4115 | test -n "$JAVAC" && break
|
---|
| 4116 | done
|
---|
| 4117 | test -n "$JAVAC" || JAVAC="$JAVAPREFIX"
|
---|
| 4118 |
|
---|
| 4119 | fi
|
---|
[25148] | 4120 | test "x$JAVAC" = x && { { $as_echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5
|
---|
| 4121 | $as_echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;}
|
---|
| 4122 | { (exit 1); exit 1; }; }
|
---|
[23356] | 4123 | else
|
---|
| 4124 | echo "Checking for javac... $JAVAC"
|
---|
| 4125 | fi
|
---|
| 4126 |
|
---|
| 4127 |
|
---|
[25148] | 4128 | { $as_echo "$as_me:$LINENO: checking if $JAVAC works" >&5
|
---|
[23356] | 4129 | $as_echo_n "checking if $JAVAC works... " >&6; }
|
---|
[25148] | 4130 | if test "${ac_cv_prog_javac_works+set}" = set; then
|
---|
[23356] | 4131 | $as_echo_n "(cached) " >&6
|
---|
| 4132 | else
|
---|
| 4133 |
|
---|
| 4134 | JAVA_TEST=Test.java
|
---|
| 4135 | CLASS_TEST=Test.class
|
---|
| 4136 | cat << \EOF > $JAVA_TEST
|
---|
[25148] | 4137 | /* #line 4137 "configure" */
|
---|
[23356] | 4138 | public class Test {
|
---|
| 4139 | }
|
---|
| 4140 | EOF
|
---|
| 4141 | if { ac_try='$JAVAC $JAVACFLAGS $JAVA_TEST'
|
---|
[25148] | 4142 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
---|
[23356] | 4143 | (eval $ac_try) 2>&5
|
---|
| 4144 | ac_status=$?
|
---|
[25148] | 4145 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4146 | (exit $ac_status); }; } >/dev/null 2>&1; then
|
---|
[23356] | 4147 | ac_cv_prog_javac_works=yes
|
---|
| 4148 | else
|
---|
[25148] | 4149 | { { $as_echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5
|
---|
| 4150 | $as_echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;}
|
---|
| 4151 | { (exit 1); exit 1; }; }
|
---|
[23356] | 4152 | echo "configure: failed program was:" >&5
|
---|
| 4153 | cat $JAVA_TEST >&5
|
---|
| 4154 | fi
|
---|
| 4155 | rm -f $JAVA_TEST $CLASS_TEST
|
---|
| 4156 |
|
---|
| 4157 | fi
|
---|
[25148] | 4158 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5
|
---|
[23356] | 4159 | $as_echo "$ac_cv_prog_javac_works" >&6; }
|
---|
| 4160 | if test "x$JAVACFLAGS" = x ; then
|
---|
| 4161 | JAVACFLAGS="-source 1.4 -target 1.4"
|
---|
| 4162 | fi
|
---|
| 4163 |
|
---|
| 4164 |
|
---|
| 4165 |
|
---|
| 4166 | fi
|
---|
| 4167 |
|
---|
| 4168 |
|
---|
[3745] | 4169 | ac_ext=c
|
---|
| 4170 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4171 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4172 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4173 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[25148] | 4174 | { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
---|
[23356] | 4175 | $as_echo_n "checking how to run the C preprocessor... " >&6; }
|
---|
[3745] | 4176 | # On Suns, sometimes $CPP names a directory.
|
---|
| 4177 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 4178 | CPP=
|
---|
| 4179 | fi
|
---|
| 4180 | if test -z "$CPP"; then
|
---|
[25148] | 4181 | if test "${ac_cv_prog_CPP+set}" = set; then
|
---|
[23356] | 4182 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 4183 | else
|
---|
| 4184 | # Double quotes because CPP needs to be expanded
|
---|
| 4185 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 4186 | do
|
---|
| 4187 | ac_preproc_ok=false
|
---|
| 4188 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 4189 | do
|
---|
| 4190 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 4191 | # with a fresh cross-compiler works.
|
---|
[10191] | 4192 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 4193 | # <limits.h> exists even on freestanding compilers.
|
---|
[3745] | 4194 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 4195 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[25148] | 4196 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4197 | /* confdefs.h. */
|
---|
| 4198 | _ACEOF
|
---|
| 4199 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4200 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 4201 | /* end confdefs.h. */
|
---|
| 4202 | #ifdef __STDC__
|
---|
| 4203 | # include <limits.h>
|
---|
| 4204 | #else
|
---|
| 4205 | # include <assert.h>
|
---|
| 4206 | #endif
|
---|
| 4207 | Syntax error
|
---|
| 4208 | _ACEOF
|
---|
[25148] | 4209 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 4210 | case "(($ac_try" in
|
---|
| 4211 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4212 | *) ac_try_echo=$ac_try;;
|
---|
| 4213 | esac
|
---|
| 4214 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 4215 | $as_echo "$ac_try_echo") >&5
|
---|
| 4216 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
| 4217 | ac_status=$?
|
---|
| 4218 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4219 | rm -f conftest.er1
|
---|
| 4220 | cat conftest.err >&5
|
---|
| 4221 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4222 | (exit $ac_status); } >/dev/null && {
|
---|
| 4223 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 4224 | test ! -s conftest.err
|
---|
| 4225 | }; then
|
---|
| 4226 | :
|
---|
| 4227 | else
|
---|
| 4228 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 4229 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[23356] | 4230 |
|
---|
[3745] | 4231 | # Broken: fails on valid input.
|
---|
| 4232 | continue
|
---|
| 4233 | fi
|
---|
[25148] | 4234 |
|
---|
[25147] | 4235 | rm -f conftest.err conftest.$ac_ext
|
---|
[3745] | 4236 |
|
---|
[23356] | 4237 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[3745] | 4238 | # can be detected and how.
|
---|
[25148] | 4239 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4240 | /* confdefs.h. */
|
---|
| 4241 | _ACEOF
|
---|
| 4242 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4243 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 4244 | /* end confdefs.h. */
|
---|
[3745] | 4245 | #include <ac_nonexistent.h>
|
---|
| 4246 | _ACEOF
|
---|
[25148] | 4247 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 4248 | case "(($ac_try" in
|
---|
| 4249 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4250 | *) ac_try_echo=$ac_try;;
|
---|
| 4251 | esac
|
---|
| 4252 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 4253 | $as_echo "$ac_try_echo") >&5
|
---|
| 4254 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
| 4255 | ac_status=$?
|
---|
| 4256 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4257 | rm -f conftest.er1
|
---|
| 4258 | cat conftest.err >&5
|
---|
| 4259 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4260 | (exit $ac_status); } >/dev/null && {
|
---|
| 4261 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 4262 | test ! -s conftest.err
|
---|
| 4263 | }; then
|
---|
[3745] | 4264 | # Broken: success on invalid input.
|
---|
| 4265 | continue
|
---|
| 4266 | else
|
---|
[25148] | 4267 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 4268 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4269 |
|
---|
[3745] | 4270 | # Passes both tests.
|
---|
| 4271 | ac_preproc_ok=:
|
---|
| 4272 | break
|
---|
| 4273 | fi
|
---|
[25148] | 4274 |
|
---|
[25147] | 4275 | rm -f conftest.err conftest.$ac_ext
|
---|
[3745] | 4276 |
|
---|
| 4277 | done
|
---|
| 4278 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[25147] | 4279 | rm -f conftest.err conftest.$ac_ext
|
---|
[25148] | 4280 | if $ac_preproc_ok; then
|
---|
[10191] | 4281 | break
|
---|
[3745] | 4282 | fi
|
---|
| 4283 |
|
---|
| 4284 | done
|
---|
| 4285 | ac_cv_prog_CPP=$CPP
|
---|
| 4286 |
|
---|
| 4287 | fi
|
---|
| 4288 | CPP=$ac_cv_prog_CPP
|
---|
| 4289 | else
|
---|
| 4290 | ac_cv_prog_CPP=$CPP
|
---|
| 4291 | fi
|
---|
[25148] | 4292 | { $as_echo "$as_me:$LINENO: result: $CPP" >&5
|
---|
[23356] | 4293 | $as_echo "$CPP" >&6; }
|
---|
[3745] | 4294 | ac_preproc_ok=false
|
---|
| 4295 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 4296 | do
|
---|
| 4297 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 4298 | # with a fresh cross-compiler works.
|
---|
[10191] | 4299 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 4300 | # <limits.h> exists even on freestanding compilers.
|
---|
[3745] | 4301 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 4302 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
[25148] | 4303 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4304 | /* confdefs.h. */
|
---|
| 4305 | _ACEOF
|
---|
| 4306 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4307 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 4308 | /* end confdefs.h. */
|
---|
| 4309 | #ifdef __STDC__
|
---|
| 4310 | # include <limits.h>
|
---|
| 4311 | #else
|
---|
| 4312 | # include <assert.h>
|
---|
| 4313 | #endif
|
---|
| 4314 | Syntax error
|
---|
| 4315 | _ACEOF
|
---|
[25148] | 4316 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 4317 | case "(($ac_try" in
|
---|
| 4318 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4319 | *) ac_try_echo=$ac_try;;
|
---|
| 4320 | esac
|
---|
| 4321 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 4322 | $as_echo "$ac_try_echo") >&5
|
---|
| 4323 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
| 4324 | ac_status=$?
|
---|
| 4325 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4326 | rm -f conftest.er1
|
---|
| 4327 | cat conftest.err >&5
|
---|
| 4328 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4329 | (exit $ac_status); } >/dev/null && {
|
---|
| 4330 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 4331 | test ! -s conftest.err
|
---|
| 4332 | }; then
|
---|
| 4333 | :
|
---|
| 4334 | else
|
---|
| 4335 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 4336 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[23356] | 4337 |
|
---|
[3745] | 4338 | # Broken: fails on valid input.
|
---|
| 4339 | continue
|
---|
| 4340 | fi
|
---|
[25148] | 4341 |
|
---|
[25147] | 4342 | rm -f conftest.err conftest.$ac_ext
|
---|
[3745] | 4343 |
|
---|
[23356] | 4344 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[3745] | 4345 | # can be detected and how.
|
---|
[25148] | 4346 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4347 | /* confdefs.h. */
|
---|
| 4348 | _ACEOF
|
---|
| 4349 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4350 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 4351 | /* end confdefs.h. */
|
---|
[3745] | 4352 | #include <ac_nonexistent.h>
|
---|
| 4353 | _ACEOF
|
---|
[25148] | 4354 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 4355 | case "(($ac_try" in
|
---|
| 4356 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4357 | *) ac_try_echo=$ac_try;;
|
---|
| 4358 | esac
|
---|
| 4359 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 4360 | $as_echo "$ac_try_echo") >&5
|
---|
| 4361 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
| 4362 | ac_status=$?
|
---|
| 4363 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4364 | rm -f conftest.er1
|
---|
| 4365 | cat conftest.err >&5
|
---|
| 4366 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4367 | (exit $ac_status); } >/dev/null && {
|
---|
| 4368 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 4369 | test ! -s conftest.err
|
---|
| 4370 | }; then
|
---|
[3745] | 4371 | # Broken: success on invalid input.
|
---|
| 4372 | continue
|
---|
| 4373 | else
|
---|
[25148] | 4374 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 4375 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4376 |
|
---|
[3745] | 4377 | # Passes both tests.
|
---|
| 4378 | ac_preproc_ok=:
|
---|
| 4379 | break
|
---|
| 4380 | fi
|
---|
[25148] | 4381 |
|
---|
[25147] | 4382 | rm -f conftest.err conftest.$ac_ext
|
---|
[3745] | 4383 |
|
---|
| 4384 | done
|
---|
| 4385 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
[25147] | 4386 | rm -f conftest.err conftest.$ac_ext
|
---|
[25148] | 4387 | if $ac_preproc_ok; then
|
---|
| 4388 | :
|
---|
[3745] | 4389 | else
|
---|
[25148] | 4390 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
---|
[23356] | 4391 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
---|
[25148] | 4392 | { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
---|
| 4393 | See \`config.log' for more details." >&5
|
---|
| 4394 | $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
---|
| 4395 | See \`config.log' for more details." >&2;}
|
---|
| 4396 | { (exit 1); exit 1; }; }; }
|
---|
[3745] | 4397 | fi
|
---|
| 4398 |
|
---|
| 4399 | ac_ext=c
|
---|
| 4400 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4401 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4402 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4403 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 4404 |
|
---|
[10191] | 4405 |
|
---|
[25148] | 4406 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
---|
[23356] | 4407 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
---|
[25148] | 4408 | if test "${ac_cv_path_GREP+set}" = set; then
|
---|
[23356] | 4409 | $as_echo_n "(cached) " >&6
|
---|
[10191] | 4410 | else
|
---|
[23356] | 4411 | if test -z "$GREP"; then
|
---|
| 4412 | ac_path_GREP_found=false
|
---|
| 4413 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4414 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4415 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4416 | do
|
---|
| 4417 | IFS=$as_save_IFS
|
---|
| 4418 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 4419 | for ac_prog in grep ggrep; do
|
---|
[23356] | 4420 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4421 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4422 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
---|
| 4423 | # Check for GNU ac_path_GREP and select it if it is found.
|
---|
| 4424 | # Check for GNU $ac_path_GREP
|
---|
| 4425 | case `"$ac_path_GREP" --version 2>&1` in
|
---|
| 4426 | *GNU*)
|
---|
| 4427 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
---|
| 4428 | *)
|
---|
| 4429 | ac_count=0
|
---|
| 4430 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4431 | while :
|
---|
| 4432 | do
|
---|
| 4433 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4434 | mv "conftest.tmp" "conftest.in"
|
---|
| 4435 | cp "conftest.in" "conftest.nl"
|
---|
| 4436 | $as_echo 'GREP' >> "conftest.nl"
|
---|
| 4437 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4438 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
[25148] | 4439 | ac_count=`expr $ac_count + 1`
|
---|
[23356] | 4440 | if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
---|
| 4441 | # Best one so far, save it but keep looking for a better one
|
---|
| 4442 | ac_cv_path_GREP="$ac_path_GREP"
|
---|
| 4443 | ac_path_GREP_max=$ac_count
|
---|
[10191] | 4444 | fi
|
---|
[23356] | 4445 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4446 | test $ac_count -gt 10 && break
|
---|
| 4447 | done
|
---|
| 4448 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4449 | esac
|
---|
[10191] | 4450 |
|
---|
[23356] | 4451 | $ac_path_GREP_found && break 3
|
---|
| 4452 | done
|
---|
| 4453 | done
|
---|
[25148] | 4454 | done
|
---|
[23356] | 4455 | IFS=$as_save_IFS
|
---|
| 4456 | if test -z "$ac_cv_path_GREP"; then
|
---|
[25148] | 4457 | { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
---|
| 4458 | $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
---|
| 4459 | { (exit 1); exit 1; }; }
|
---|
[23356] | 4460 | fi
|
---|
[3745] | 4461 | else
|
---|
[23356] | 4462 | ac_cv_path_GREP=$GREP
|
---|
[3745] | 4463 | fi
|
---|
| 4464 |
|
---|
[23356] | 4465 | fi
|
---|
[25148] | 4466 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
---|
[23356] | 4467 | $as_echo "$ac_cv_path_GREP" >&6; }
|
---|
| 4468 | GREP="$ac_cv_path_GREP"
|
---|
[3745] | 4469 |
|
---|
| 4470 |
|
---|
[25148] | 4471 | { $as_echo "$as_me:$LINENO: checking for egrep" >&5
|
---|
[23356] | 4472 | $as_echo_n "checking for egrep... " >&6; }
|
---|
[25148] | 4473 | if test "${ac_cv_path_EGREP+set}" = set; then
|
---|
[23356] | 4474 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 4475 | else
|
---|
[23356] | 4476 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
---|
| 4477 | then ac_cv_path_EGREP="$GREP -E"
|
---|
| 4478 | else
|
---|
| 4479 | if test -z "$EGREP"; then
|
---|
| 4480 | ac_path_EGREP_found=false
|
---|
| 4481 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4482 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4483 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4484 | do
|
---|
| 4485 | IFS=$as_save_IFS
|
---|
| 4486 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 4487 | for ac_prog in egrep; do
|
---|
[23356] | 4488 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4489 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4490 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
---|
| 4491 | # Check for GNU ac_path_EGREP and select it if it is found.
|
---|
| 4492 | # Check for GNU $ac_path_EGREP
|
---|
| 4493 | case `"$ac_path_EGREP" --version 2>&1` in
|
---|
| 4494 | *GNU*)
|
---|
| 4495 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
---|
| 4496 | *)
|
---|
| 4497 | ac_count=0
|
---|
| 4498 | $as_echo_n 0123456789 >"conftest.in"
|
---|
| 4499 | while :
|
---|
| 4500 | do
|
---|
| 4501 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4502 | mv "conftest.tmp" "conftest.in"
|
---|
| 4503 | cp "conftest.in" "conftest.nl"
|
---|
| 4504 | $as_echo 'EGREP' >> "conftest.nl"
|
---|
| 4505 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4506 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
[25148] | 4507 | ac_count=`expr $ac_count + 1`
|
---|
[23356] | 4508 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
---|
| 4509 | # Best one so far, save it but keep looking for a better one
|
---|
| 4510 | ac_cv_path_EGREP="$ac_path_EGREP"
|
---|
| 4511 | ac_path_EGREP_max=$ac_count
|
---|
| 4512 | fi
|
---|
| 4513 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4514 | test $ac_count -gt 10 && break
|
---|
| 4515 | done
|
---|
| 4516 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4517 | esac
|
---|
[10191] | 4518 |
|
---|
[23356] | 4519 | $ac_path_EGREP_found && break 3
|
---|
| 4520 | done
|
---|
| 4521 | done
|
---|
[25148] | 4522 | done
|
---|
[23356] | 4523 | IFS=$as_save_IFS
|
---|
| 4524 | if test -z "$ac_cv_path_EGREP"; then
|
---|
[25148] | 4525 | { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
---|
| 4526 | $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
---|
| 4527 | { (exit 1); exit 1; }; }
|
---|
[23356] | 4528 | fi
|
---|
[10191] | 4529 | else
|
---|
[23356] | 4530 | ac_cv_path_EGREP=$EGREP
|
---|
[10191] | 4531 | fi
|
---|
| 4532 |
|
---|
[23356] | 4533 | fi
|
---|
[10191] | 4534 | fi
|
---|
[25148] | 4535 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
---|
[23356] | 4536 | $as_echo "$ac_cv_path_EGREP" >&6; }
|
---|
| 4537 | EGREP="$ac_cv_path_EGREP"
|
---|
[10191] | 4538 |
|
---|
[23356] | 4539 |
|
---|
[25148] | 4540 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
---|
[23356] | 4541 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
[25148] | 4542 | if test "${ac_cv_header_stdc+set}" = set; then
|
---|
[23356] | 4543 | $as_echo_n "(cached) " >&6
|
---|
[10191] | 4544 | else
|
---|
[25148] | 4545 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4546 | /* confdefs.h. */
|
---|
| 4547 | _ACEOF
|
---|
| 4548 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4549 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 4550 | /* end confdefs.h. */
|
---|
| 4551 | #include <stdlib.h>
|
---|
| 4552 | #include <stdarg.h>
|
---|
| 4553 | #include <string.h>
|
---|
| 4554 | #include <float.h>
|
---|
| 4555 |
|
---|
| 4556 | int
|
---|
| 4557 | main ()
|
---|
| 4558 | {
|
---|
| 4559 |
|
---|
| 4560 | ;
|
---|
| 4561 | return 0;
|
---|
| 4562 | }
|
---|
| 4563 | _ACEOF
|
---|
[25148] | 4564 | rm -f conftest.$ac_objext
|
---|
| 4565 | if { (ac_try="$ac_compile"
|
---|
| 4566 | case "(($ac_try" in
|
---|
| 4567 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4568 | *) ac_try_echo=$ac_try;;
|
---|
| 4569 | esac
|
---|
| 4570 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 4571 | $as_echo "$ac_try_echo") >&5
|
---|
| 4572 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 4573 | ac_status=$?
|
---|
| 4574 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4575 | rm -f conftest.er1
|
---|
| 4576 | cat conftest.err >&5
|
---|
| 4577 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4578 | (exit $ac_status); } && {
|
---|
| 4579 | test -z "$ac_c_werror_flag" ||
|
---|
| 4580 | test ! -s conftest.err
|
---|
| 4581 | } && test -s conftest.$ac_objext; then
|
---|
[10191] | 4582 | ac_cv_header_stdc=yes
|
---|
| 4583 | else
|
---|
[25148] | 4584 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 4585 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4586 |
|
---|
| 4587 | ac_cv_header_stdc=no
|
---|
[10191] | 4588 | fi
|
---|
[25148] | 4589 |
|
---|
[23356] | 4590 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10191] | 4591 |
|
---|
| 4592 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4593 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[25148] | 4594 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4595 | /* confdefs.h. */
|
---|
| 4596 | _ACEOF
|
---|
| 4597 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4598 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 4599 | /* end confdefs.h. */
|
---|
| 4600 | #include <string.h>
|
---|
| 4601 |
|
---|
| 4602 | _ACEOF
|
---|
| 4603 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[25148] | 4604 | $EGREP "memchr" >/dev/null 2>&1; then
|
---|
| 4605 | :
|
---|
[10191] | 4606 | else
|
---|
| 4607 | ac_cv_header_stdc=no
|
---|
| 4608 | fi
|
---|
| 4609 | rm -f conftest*
|
---|
| 4610 |
|
---|
| 4611 | fi
|
---|
| 4612 |
|
---|
| 4613 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4614 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[25148] | 4615 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4616 | /* confdefs.h. */
|
---|
| 4617 | _ACEOF
|
---|
| 4618 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4619 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 4620 | /* end confdefs.h. */
|
---|
| 4621 | #include <stdlib.h>
|
---|
| 4622 |
|
---|
| 4623 | _ACEOF
|
---|
| 4624 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[25148] | 4625 | $EGREP "free" >/dev/null 2>&1; then
|
---|
| 4626 | :
|
---|
[10191] | 4627 | else
|
---|
| 4628 | ac_cv_header_stdc=no
|
---|
| 4629 | fi
|
---|
| 4630 | rm -f conftest*
|
---|
| 4631 |
|
---|
| 4632 | fi
|
---|
| 4633 |
|
---|
| 4634 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4635 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[25148] | 4636 | if test "$cross_compiling" = yes; then
|
---|
[10191] | 4637 | :
|
---|
| 4638 | else
|
---|
[25148] | 4639 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4640 | /* confdefs.h. */
|
---|
| 4641 | _ACEOF
|
---|
| 4642 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4643 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 4644 | /* end confdefs.h. */
|
---|
| 4645 | #include <ctype.h>
|
---|
[23356] | 4646 | #include <stdlib.h>
|
---|
[10191] | 4647 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 4648 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 4649 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 4650 | #else
|
---|
| 4651 | # define ISLOWER(c) \
|
---|
| 4652 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 4653 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 4654 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 4655 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 4656 | #endif
|
---|
| 4657 |
|
---|
| 4658 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 4659 | int
|
---|
| 4660 | main ()
|
---|
| 4661 | {
|
---|
| 4662 | int i;
|
---|
| 4663 | for (i = 0; i < 256; i++)
|
---|
| 4664 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 4665 | || toupper (i) != TOUPPER (i))
|
---|
[23356] | 4666 | return 2;
|
---|
| 4667 | return 0;
|
---|
[10191] | 4668 | }
|
---|
| 4669 | _ACEOF
|
---|
[25148] | 4670 | rm -f conftest$ac_exeext
|
---|
| 4671 | if { (ac_try="$ac_link"
|
---|
| 4672 | case "(($ac_try" in
|
---|
| 4673 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4674 | *) ac_try_echo=$ac_try;;
|
---|
| 4675 | esac
|
---|
| 4676 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 4677 | $as_echo "$ac_try_echo") >&5
|
---|
| 4678 | (eval "$ac_link") 2>&5
|
---|
| 4679 | ac_status=$?
|
---|
| 4680 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4681 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
| 4682 | { (case "(($ac_try" in
|
---|
| 4683 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4684 | *) ac_try_echo=$ac_try;;
|
---|
| 4685 | esac
|
---|
| 4686 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 4687 | $as_echo "$ac_try_echo") >&5
|
---|
| 4688 | (eval "$ac_try") 2>&5
|
---|
| 4689 | ac_status=$?
|
---|
| 4690 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4691 | (exit $ac_status); }; }; then
|
---|
| 4692 | :
|
---|
| 4693 | else
|
---|
| 4694 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 4695 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 4696 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[23356] | 4697 |
|
---|
[25148] | 4698 | ( exit $ac_status )
|
---|
| 4699 | ac_cv_header_stdc=no
|
---|
[10191] | 4700 | fi
|
---|
[25148] | 4701 | rm -rf conftest.dSYM
|
---|
| 4702 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[10191] | 4703 | fi
|
---|
[23356] | 4704 |
|
---|
[25148] | 4705 |
|
---|
[10191] | 4706 | fi
|
---|
| 4707 | fi
|
---|
[25148] | 4708 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
---|
[23356] | 4709 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[10191] | 4710 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4711 |
|
---|
[25148] | 4712 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4713 | #define STDC_HEADERS 1
|
---|
| 4714 | _ACEOF
|
---|
[10191] | 4715 |
|
---|
| 4716 | fi
|
---|
| 4717 |
|
---|
| 4718 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
[25148] | 4719 |
|
---|
| 4720 |
|
---|
| 4721 |
|
---|
| 4722 |
|
---|
| 4723 |
|
---|
| 4724 |
|
---|
| 4725 |
|
---|
| 4726 |
|
---|
| 4727 |
|
---|
[23356] | 4728 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 4729 | inttypes.h stdint.h unistd.h
|
---|
[25148] | 4730 | do
|
---|
| 4731 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 4732 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 4733 | $as_echo_n "checking for $ac_header... " >&6; }
|
---|
| 4734 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
| 4735 | $as_echo_n "(cached) " >&6
|
---|
| 4736 | else
|
---|
| 4737 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4738 | /* confdefs.h. */
|
---|
| 4739 | _ACEOF
|
---|
| 4740 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4741 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4742 | /* end confdefs.h. */
|
---|
| 4743 | $ac_includes_default
|
---|
| 4744 |
|
---|
| 4745 | #include <$ac_header>
|
---|
| 4746 | _ACEOF
|
---|
| 4747 | rm -f conftest.$ac_objext
|
---|
| 4748 | if { (ac_try="$ac_compile"
|
---|
| 4749 | case "(($ac_try" in
|
---|
| 4750 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4751 | *) ac_try_echo=$ac_try;;
|
---|
| 4752 | esac
|
---|
| 4753 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 4754 | $as_echo "$ac_try_echo") >&5
|
---|
| 4755 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 4756 | ac_status=$?
|
---|
| 4757 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4758 | rm -f conftest.er1
|
---|
| 4759 | cat conftest.err >&5
|
---|
| 4760 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4761 | (exit $ac_status); } && {
|
---|
| 4762 | test -z "$ac_c_werror_flag" ||
|
---|
| 4763 | test ! -s conftest.err
|
---|
| 4764 | } && test -s conftest.$ac_objext; then
|
---|
| 4765 | eval "$as_ac_Header=yes"
|
---|
| 4766 | else
|
---|
| 4767 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 4768 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4769 |
|
---|
| 4770 | eval "$as_ac_Header=no"
|
---|
| 4771 | fi
|
---|
| 4772 |
|
---|
| 4773 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 4774 | fi
|
---|
| 4775 | ac_res=`eval 'as_val=${'$as_ac_Header'}
|
---|
| 4776 | $as_echo "$as_val"'`
|
---|
| 4777 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 4778 | $as_echo "$ac_res" >&6; }
|
---|
| 4779 | as_val=`eval 'as_val=${'$as_ac_Header'}
|
---|
| 4780 | $as_echo "$as_val"'`
|
---|
| 4781 | if test "x$as_val" = x""yes; then
|
---|
[23356] | 4782 | cat >>confdefs.h <<_ACEOF
|
---|
| 4783 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 4784 | _ACEOF
|
---|
[10191] | 4785 |
|
---|
[23356] | 4786 | fi
|
---|
[10191] | 4787 |
|
---|
[23356] | 4788 | done
|
---|
[10191] | 4789 |
|
---|
| 4790 |
|
---|
| 4791 |
|
---|
[25148] | 4792 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 4793 | { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 4794 | $as_echo_n "checking for minix/config.h... " >&6; }
|
---|
| 4795 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 4796 | $as_echo_n "(cached) " >&6
|
---|
| 4797 | fi
|
---|
| 4798 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 4799 | $as_echo "$ac_cv_header_minix_config_h" >&6; }
|
---|
| 4800 | else
|
---|
| 4801 | # Is the header compilable?
|
---|
| 4802 | { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
|
---|
| 4803 | $as_echo_n "checking minix/config.h usability... " >&6; }
|
---|
| 4804 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4805 | /* confdefs.h. */
|
---|
| 4806 | _ACEOF
|
---|
| 4807 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4808 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4809 | /* end confdefs.h. */
|
---|
| 4810 | $ac_includes_default
|
---|
| 4811 | #include <minix/config.h>
|
---|
| 4812 | _ACEOF
|
---|
| 4813 | rm -f conftest.$ac_objext
|
---|
| 4814 | if { (ac_try="$ac_compile"
|
---|
| 4815 | case "(($ac_try" in
|
---|
| 4816 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4817 | *) ac_try_echo=$ac_try;;
|
---|
| 4818 | esac
|
---|
| 4819 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 4820 | $as_echo "$ac_try_echo") >&5
|
---|
| 4821 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 4822 | ac_status=$?
|
---|
| 4823 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4824 | rm -f conftest.er1
|
---|
| 4825 | cat conftest.err >&5
|
---|
| 4826 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4827 | (exit $ac_status); } && {
|
---|
| 4828 | test -z "$ac_c_werror_flag" ||
|
---|
| 4829 | test ! -s conftest.err
|
---|
| 4830 | } && test -s conftest.$ac_objext; then
|
---|
| 4831 | ac_header_compiler=yes
|
---|
| 4832 | else
|
---|
| 4833 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 4834 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4835 |
|
---|
| 4836 | ac_header_compiler=no
|
---|
| 4837 | fi
|
---|
| 4838 |
|
---|
| 4839 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 4840 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
---|
| 4841 | $as_echo "$ac_header_compiler" >&6; }
|
---|
| 4842 |
|
---|
| 4843 | # Is the header present?
|
---|
| 4844 | { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
|
---|
| 4845 | $as_echo_n "checking minix/config.h presence... " >&6; }
|
---|
| 4846 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4847 | /* confdefs.h. */
|
---|
| 4848 | _ACEOF
|
---|
| 4849 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4850 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4851 | /* end confdefs.h. */
|
---|
| 4852 | #include <minix/config.h>
|
---|
| 4853 | _ACEOF
|
---|
| 4854 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 4855 | case "(($ac_try" in
|
---|
| 4856 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4857 | *) ac_try_echo=$ac_try;;
|
---|
| 4858 | esac
|
---|
| 4859 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 4860 | $as_echo "$ac_try_echo") >&5
|
---|
| 4861 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
| 4862 | ac_status=$?
|
---|
| 4863 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4864 | rm -f conftest.er1
|
---|
| 4865 | cat conftest.err >&5
|
---|
| 4866 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4867 | (exit $ac_status); } >/dev/null && {
|
---|
| 4868 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 4869 | test ! -s conftest.err
|
---|
| 4870 | }; then
|
---|
| 4871 | ac_header_preproc=yes
|
---|
| 4872 | else
|
---|
| 4873 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 4874 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4875 |
|
---|
| 4876 | ac_header_preproc=no
|
---|
| 4877 | fi
|
---|
| 4878 |
|
---|
| 4879 | rm -f conftest.err conftest.$ac_ext
|
---|
| 4880 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
---|
| 4881 | $as_echo "$ac_header_preproc" >&6; }
|
---|
| 4882 |
|
---|
| 4883 | # So? What about this header?
|
---|
| 4884 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
---|
| 4885 | yes:no: )
|
---|
| 4886 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 4887 | $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 4888 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
|
---|
| 4889 | $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
|
---|
| 4890 | ac_header_preproc=yes
|
---|
| 4891 | ;;
|
---|
| 4892 | no:yes:* )
|
---|
| 4893 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
|
---|
| 4894 | $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
|
---|
| 4895 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
|
---|
| 4896 | $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
|
---|
| 4897 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
|
---|
| 4898 | $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
|
---|
| 4899 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 4900 | $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 4901 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
|
---|
| 4902 | $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
|
---|
| 4903 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
|
---|
| 4904 | $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
|
---|
| 4905 |
|
---|
| 4906 | ;;
|
---|
| 4907 | esac
|
---|
| 4908 | { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 4909 | $as_echo_n "checking for minix/config.h... " >&6; }
|
---|
| 4910 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 4911 | $as_echo_n "(cached) " >&6
|
---|
| 4912 | else
|
---|
| 4913 | ac_cv_header_minix_config_h=$ac_header_preproc
|
---|
| 4914 | fi
|
---|
| 4915 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 4916 | $as_echo "$ac_cv_header_minix_config_h" >&6; }
|
---|
| 4917 |
|
---|
| 4918 | fi
|
---|
| 4919 | if test "x$ac_cv_header_minix_config_h" = x""yes; then
|
---|
[23356] | 4920 | MINIX=yes
|
---|
| 4921 | else
|
---|
| 4922 | MINIX=
|
---|
| 4923 | fi
|
---|
[10191] | 4924 |
|
---|
| 4925 |
|
---|
[23356] | 4926 | if test "$MINIX" = yes; then
|
---|
[10191] | 4927 |
|
---|
[25148] | 4928 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4929 | #define _POSIX_SOURCE 1
|
---|
| 4930 | _ACEOF
|
---|
[10191] | 4931 |
|
---|
[23356] | 4932 |
|
---|
[25148] | 4933 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4934 | #define _POSIX_1_SOURCE 2
|
---|
| 4935 | _ACEOF
|
---|
[23356] | 4936 |
|
---|
| 4937 |
|
---|
[25148] | 4938 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4939 | #define _MINIX 1
|
---|
| 4940 | _ACEOF
|
---|
[23356] | 4941 |
|
---|
| 4942 | fi
|
---|
| 4943 |
|
---|
| 4944 |
|
---|
[25148] | 4945 |
|
---|
| 4946 | { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
|
---|
[23356] | 4947 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
---|
[25148] | 4948 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
|
---|
[23356] | 4949 | $as_echo_n "(cached) " >&6
|
---|
[10191] | 4950 | else
|
---|
[25148] | 4951 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4952 | /* confdefs.h. */
|
---|
| 4953 | _ACEOF
|
---|
| 4954 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4955 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 4956 | /* end confdefs.h. */
|
---|
| 4957 |
|
---|
[23356] | 4958 | # define __EXTENSIONS__ 1
|
---|
| 4959 | $ac_includes_default
|
---|
| 4960 | int
|
---|
| 4961 | main ()
|
---|
| 4962 | {
|
---|
| 4963 |
|
---|
| 4964 | ;
|
---|
| 4965 | return 0;
|
---|
| 4966 | }
|
---|
[10191] | 4967 | _ACEOF
|
---|
[25148] | 4968 | rm -f conftest.$ac_objext
|
---|
| 4969 | if { (ac_try="$ac_compile"
|
---|
| 4970 | case "(($ac_try" in
|
---|
| 4971 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4972 | *) ac_try_echo=$ac_try;;
|
---|
| 4973 | esac
|
---|
| 4974 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 4975 | $as_echo "$ac_try_echo") >&5
|
---|
| 4976 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 4977 | ac_status=$?
|
---|
| 4978 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4979 | rm -f conftest.er1
|
---|
| 4980 | cat conftest.err >&5
|
---|
| 4981 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4982 | (exit $ac_status); } && {
|
---|
| 4983 | test -z "$ac_c_werror_flag" ||
|
---|
| 4984 | test ! -s conftest.err
|
---|
| 4985 | } && test -s conftest.$ac_objext; then
|
---|
[23356] | 4986 | ac_cv_safe_to_define___extensions__=yes
|
---|
[10191] | 4987 | else
|
---|
[25148] | 4988 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 4989 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4990 |
|
---|
| 4991 | ac_cv_safe_to_define___extensions__=no
|
---|
[10191] | 4992 | fi
|
---|
[25148] | 4993 |
|
---|
[23356] | 4994 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10191] | 4995 | fi
|
---|
[25148] | 4996 | { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
|
---|
[23356] | 4997 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
---|
| 4998 | test $ac_cv_safe_to_define___extensions__ = yes &&
|
---|
[25148] | 4999 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5000 | #define __EXTENSIONS__ 1
|
---|
| 5001 | _ACEOF
|
---|
[10191] | 5002 |
|
---|
[25148] | 5003 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5004 | #define _ALL_SOURCE 1
|
---|
| 5005 | _ACEOF
|
---|
[10191] | 5006 |
|
---|
[25148] | 5007 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5008 | #define _GNU_SOURCE 1
|
---|
| 5009 | _ACEOF
|
---|
[10191] | 5010 |
|
---|
[25148] | 5011 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5012 | #define _POSIX_PTHREAD_SEMANTICS 1
|
---|
| 5013 | _ACEOF
|
---|
[10191] | 5014 |
|
---|
[25148] | 5015 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5016 | #define _TANDEM_SOURCE 1
|
---|
| 5017 | _ACEOF
|
---|
[23356] | 5018 |
|
---|
| 5019 |
|
---|
[25148] | 5020 | { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
|
---|
[23356] | 5021 | $as_echo_n "checking for library containing strerror... " >&6; }
|
---|
[25148] | 5022 | if test "${ac_cv_search_strerror+set}" = set; then
|
---|
[23356] | 5023 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 5024 | else
|
---|
[23356] | 5025 | ac_func_search_save_LIBS=$LIBS
|
---|
[25148] | 5026 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5027 | /* confdefs.h. */
|
---|
| 5028 | _ACEOF
|
---|
| 5029 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5030 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 5031 | /* end confdefs.h. */
|
---|
| 5032 |
|
---|
[23356] | 5033 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5034 | Use char because int might match the return type of a GCC
|
---|
| 5035 | builtin and then its argument prototype would still apply. */
|
---|
| 5036 | #ifdef __cplusplus
|
---|
| 5037 | extern "C"
|
---|
| 5038 | #endif
|
---|
| 5039 | char strerror ();
|
---|
| 5040 | int
|
---|
| 5041 | main ()
|
---|
| 5042 | {
|
---|
| 5043 | return strerror ();
|
---|
| 5044 | ;
|
---|
| 5045 | return 0;
|
---|
| 5046 | }
|
---|
[10191] | 5047 | _ACEOF
|
---|
[23356] | 5048 | for ac_lib in '' cposix; do
|
---|
| 5049 | if test -z "$ac_lib"; then
|
---|
| 5050 | ac_res="none required"
|
---|
[3745] | 5051 | else
|
---|
[23356] | 5052 | ac_res=-l$ac_lib
|
---|
| 5053 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
[3745] | 5054 | fi
|
---|
[25148] | 5055 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5056 | if { (ac_try="$ac_link"
|
---|
| 5057 | case "(($ac_try" in
|
---|
| 5058 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5059 | *) ac_try_echo=$ac_try;;
|
---|
| 5060 | esac
|
---|
| 5061 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5062 | $as_echo "$ac_try_echo") >&5
|
---|
| 5063 | (eval "$ac_link") 2>conftest.er1
|
---|
| 5064 | ac_status=$?
|
---|
| 5065 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5066 | rm -f conftest.er1
|
---|
| 5067 | cat conftest.err >&5
|
---|
| 5068 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5069 | (exit $ac_status); } && {
|
---|
| 5070 | test -z "$ac_c_werror_flag" ||
|
---|
| 5071 | test ! -s conftest.err
|
---|
| 5072 | } && test -s conftest$ac_exeext && {
|
---|
| 5073 | test "$cross_compiling" = yes ||
|
---|
| 5074 | $as_test_x conftest$ac_exeext
|
---|
| 5075 | }; then
|
---|
[23356] | 5076 | ac_cv_search_strerror=$ac_res
|
---|
[25148] | 5077 | else
|
---|
| 5078 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5079 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5080 |
|
---|
| 5081 |
|
---|
[3745] | 5082 | fi
|
---|
[25148] | 5083 |
|
---|
| 5084 | rm -rf conftest.dSYM
|
---|
| 5085 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 5086 | conftest$ac_exeext
|
---|
| 5087 | if test "${ac_cv_search_strerror+set}" = set; then
|
---|
[23356] | 5088 | break
|
---|
[3745] | 5089 | fi
|
---|
[23356] | 5090 | done
|
---|
[25148] | 5091 | if test "${ac_cv_search_strerror+set}" = set; then
|
---|
| 5092 | :
|
---|
[10191] | 5093 | else
|
---|
[23356] | 5094 | ac_cv_search_strerror=no
|
---|
[3745] | 5095 | fi
|
---|
[23356] | 5096 | rm conftest.$ac_ext
|
---|
| 5097 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5098 | fi
|
---|
[25148] | 5099 | { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
|
---|
[23356] | 5100 | $as_echo "$ac_cv_search_strerror" >&6; }
|
---|
| 5101 | ac_res=$ac_cv_search_strerror
|
---|
[25148] | 5102 | if test "$ac_res" != no; then
|
---|
[23356] | 5103 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[10191] | 5104 |
|
---|
| 5105 | fi
|
---|
[3745] | 5106 |
|
---|
[10191] | 5107 |
|
---|
[25148] | 5108 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 5109 | { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 5110 | $as_echo_n "checking for minix/config.h... " >&6; }
|
---|
| 5111 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 5112 | $as_echo_n "(cached) " >&6
|
---|
| 5113 | fi
|
---|
| 5114 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 5115 | $as_echo "$ac_cv_header_minix_config_h" >&6; }
|
---|
| 5116 | else
|
---|
| 5117 | # Is the header compilable?
|
---|
| 5118 | { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
|
---|
| 5119 | $as_echo_n "checking minix/config.h usability... " >&6; }
|
---|
| 5120 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5121 | /* confdefs.h. */
|
---|
| 5122 | _ACEOF
|
---|
| 5123 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5124 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5125 | /* end confdefs.h. */
|
---|
| 5126 | $ac_includes_default
|
---|
| 5127 | #include <minix/config.h>
|
---|
| 5128 | _ACEOF
|
---|
| 5129 | rm -f conftest.$ac_objext
|
---|
| 5130 | if { (ac_try="$ac_compile"
|
---|
| 5131 | case "(($ac_try" in
|
---|
| 5132 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5133 | *) ac_try_echo=$ac_try;;
|
---|
| 5134 | esac
|
---|
| 5135 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5136 | $as_echo "$ac_try_echo") >&5
|
---|
| 5137 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 5138 | ac_status=$?
|
---|
| 5139 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5140 | rm -f conftest.er1
|
---|
| 5141 | cat conftest.err >&5
|
---|
| 5142 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5143 | (exit $ac_status); } && {
|
---|
| 5144 | test -z "$ac_c_werror_flag" ||
|
---|
| 5145 | test ! -s conftest.err
|
---|
| 5146 | } && test -s conftest.$ac_objext; then
|
---|
| 5147 | ac_header_compiler=yes
|
---|
| 5148 | else
|
---|
| 5149 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5150 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5151 |
|
---|
| 5152 | ac_header_compiler=no
|
---|
| 5153 | fi
|
---|
| 5154 |
|
---|
| 5155 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5156 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
---|
| 5157 | $as_echo "$ac_header_compiler" >&6; }
|
---|
| 5158 |
|
---|
| 5159 | # Is the header present?
|
---|
| 5160 | { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
|
---|
| 5161 | $as_echo_n "checking minix/config.h presence... " >&6; }
|
---|
| 5162 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5163 | /* confdefs.h. */
|
---|
| 5164 | _ACEOF
|
---|
| 5165 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5166 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5167 | /* end confdefs.h. */
|
---|
| 5168 | #include <minix/config.h>
|
---|
| 5169 | _ACEOF
|
---|
| 5170 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 5171 | case "(($ac_try" in
|
---|
| 5172 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5173 | *) ac_try_echo=$ac_try;;
|
---|
| 5174 | esac
|
---|
| 5175 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5176 | $as_echo "$ac_try_echo") >&5
|
---|
| 5177 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
| 5178 | ac_status=$?
|
---|
| 5179 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5180 | rm -f conftest.er1
|
---|
| 5181 | cat conftest.err >&5
|
---|
| 5182 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5183 | (exit $ac_status); } >/dev/null && {
|
---|
| 5184 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 5185 | test ! -s conftest.err
|
---|
| 5186 | }; then
|
---|
| 5187 | ac_header_preproc=yes
|
---|
| 5188 | else
|
---|
| 5189 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5190 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5191 |
|
---|
| 5192 | ac_header_preproc=no
|
---|
| 5193 | fi
|
---|
| 5194 |
|
---|
| 5195 | rm -f conftest.err conftest.$ac_ext
|
---|
| 5196 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
---|
| 5197 | $as_echo "$ac_header_preproc" >&6; }
|
---|
| 5198 |
|
---|
| 5199 | # So? What about this header?
|
---|
| 5200 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
---|
| 5201 | yes:no: )
|
---|
| 5202 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 5203 | $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 5204 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
|
---|
| 5205 | $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
|
---|
| 5206 | ac_header_preproc=yes
|
---|
| 5207 | ;;
|
---|
| 5208 | no:yes:* )
|
---|
| 5209 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
|
---|
| 5210 | $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
|
---|
| 5211 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
|
---|
| 5212 | $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
|
---|
| 5213 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
|
---|
| 5214 | $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
|
---|
| 5215 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 5216 | $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 5217 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
|
---|
| 5218 | $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
|
---|
| 5219 | { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
|
---|
| 5220 | $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
|
---|
| 5221 |
|
---|
| 5222 | ;;
|
---|
| 5223 | esac
|
---|
| 5224 | { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 5225 | $as_echo_n "checking for minix/config.h... " >&6; }
|
---|
| 5226 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 5227 | $as_echo_n "(cached) " >&6
|
---|
| 5228 | else
|
---|
| 5229 | ac_cv_header_minix_config_h=$ac_header_preproc
|
---|
| 5230 | fi
|
---|
| 5231 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 5232 | $as_echo "$ac_cv_header_minix_config_h" >&6; }
|
---|
| 5233 |
|
---|
| 5234 | fi
|
---|
| 5235 | if test "x$ac_cv_header_minix_config_h" = x""yes; then
|
---|
| 5236 | MINIX=yes
|
---|
| 5237 | else
|
---|
| 5238 | MINIX=
|
---|
| 5239 | fi
|
---|
| 5240 |
|
---|
| 5241 |
|
---|
| 5242 | if test "$MINIX" = yes; then
|
---|
| 5243 |
|
---|
| 5244 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5245 | #define _POSIX_SOURCE 1
|
---|
| 5246 | _ACEOF
|
---|
| 5247 |
|
---|
| 5248 |
|
---|
| 5249 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5250 | #define _POSIX_1_SOURCE 2
|
---|
| 5251 | _ACEOF
|
---|
| 5252 |
|
---|
| 5253 |
|
---|
| 5254 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5255 | #define _MINIX 1
|
---|
| 5256 | _ACEOF
|
---|
| 5257 |
|
---|
| 5258 | fi
|
---|
| 5259 |
|
---|
| 5260 |
|
---|
| 5261 |
|
---|
| 5262 | { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
|
---|
| 5263 | $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
---|
| 5264 | if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
|
---|
| 5265 | $as_echo_n "(cached) " >&6
|
---|
| 5266 | else
|
---|
| 5267 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5268 | /* confdefs.h. */
|
---|
| 5269 | _ACEOF
|
---|
| 5270 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5271 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5272 | /* end confdefs.h. */
|
---|
| 5273 |
|
---|
| 5274 | # define __EXTENSIONS__ 1
|
---|
| 5275 | $ac_includes_default
|
---|
| 5276 | int
|
---|
| 5277 | main ()
|
---|
| 5278 | {
|
---|
| 5279 |
|
---|
| 5280 | ;
|
---|
| 5281 | return 0;
|
---|
| 5282 | }
|
---|
| 5283 | _ACEOF
|
---|
| 5284 | rm -f conftest.$ac_objext
|
---|
| 5285 | if { (ac_try="$ac_compile"
|
---|
| 5286 | case "(($ac_try" in
|
---|
| 5287 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5288 | *) ac_try_echo=$ac_try;;
|
---|
| 5289 | esac
|
---|
| 5290 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5291 | $as_echo "$ac_try_echo") >&5
|
---|
| 5292 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 5293 | ac_status=$?
|
---|
| 5294 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5295 | rm -f conftest.er1
|
---|
| 5296 | cat conftest.err >&5
|
---|
| 5297 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5298 | (exit $ac_status); } && {
|
---|
| 5299 | test -z "$ac_c_werror_flag" ||
|
---|
| 5300 | test ! -s conftest.err
|
---|
| 5301 | } && test -s conftest.$ac_objext; then
|
---|
| 5302 | ac_cv_safe_to_define___extensions__=yes
|
---|
| 5303 | else
|
---|
| 5304 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5305 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5306 |
|
---|
| 5307 | ac_cv_safe_to_define___extensions__=no
|
---|
| 5308 | fi
|
---|
| 5309 |
|
---|
| 5310 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5311 | fi
|
---|
| 5312 | { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
|
---|
| 5313 | $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
---|
| 5314 | test $ac_cv_safe_to_define___extensions__ = yes &&
|
---|
| 5315 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5316 | #define __EXTENSIONS__ 1
|
---|
| 5317 | _ACEOF
|
---|
| 5318 |
|
---|
| 5319 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5320 | #define _ALL_SOURCE 1
|
---|
| 5321 | _ACEOF
|
---|
| 5322 |
|
---|
| 5323 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5324 | #define _GNU_SOURCE 1
|
---|
| 5325 | _ACEOF
|
---|
| 5326 |
|
---|
| 5327 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5328 | #define _POSIX_PTHREAD_SEMANTICS 1
|
---|
| 5329 | _ACEOF
|
---|
| 5330 |
|
---|
| 5331 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5332 | #define _TANDEM_SOURCE 1
|
---|
| 5333 | _ACEOF
|
---|
| 5334 |
|
---|
| 5335 |
|
---|
| 5336 | { $as_echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
|
---|
[23356] | 5337 | $as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
|
---|
[25148] | 5338 | if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
---|
[23356] | 5339 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 5340 | else
|
---|
| 5341 | ac_cv_prog_cc_stdc=no
|
---|
| 5342 | ac_save_CFLAGS="$CFLAGS"
|
---|
| 5343 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 5344 | # breaks some systems' header files.
|
---|
| 5345 | # AIX -qlanglvl=ansi
|
---|
| 5346 | # Ultrix and OSF/1 -std1
|
---|
| 5347 | # HP-UX -Aa -D_HPUX_SOURCE
|
---|
| 5348 | # SVR4 -Xc
|
---|
| 5349 | for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
|
---|
| 5350 | do
|
---|
| 5351 | CFLAGS="$ac_save_CFLAGS $ac_arg"
|
---|
[25148] | 5352 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5353 | /* confdefs.h. */
|
---|
| 5354 | _ACEOF
|
---|
| 5355 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5356 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 5357 | /* end confdefs.h. */
|
---|
[3745] | 5358 | #if !defined(__STDC__) || __STDC__ != 1
|
---|
| 5359 | choke me
|
---|
| 5360 | #endif
|
---|
| 5361 |
|
---|
| 5362 | int
|
---|
| 5363 | main ()
|
---|
| 5364 | {
|
---|
| 5365 | int test (int i, double x);
|
---|
| 5366 | struct s1 {int (*f) (int a);};
|
---|
| 5367 | struct s2 {int (*f) (double a);};
|
---|
| 5368 | ;
|
---|
| 5369 | return 0;
|
---|
| 5370 | }
|
---|
| 5371 | _ACEOF
|
---|
[25148] | 5372 | rm -f conftest.$ac_objext
|
---|
| 5373 | if { (ac_try="$ac_compile"
|
---|
| 5374 | case "(($ac_try" in
|
---|
| 5375 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5376 | *) ac_try_echo=$ac_try;;
|
---|
| 5377 | esac
|
---|
| 5378 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5379 | $as_echo "$ac_try_echo") >&5
|
---|
| 5380 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 5381 | ac_status=$?
|
---|
| 5382 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5383 | rm -f conftest.er1
|
---|
| 5384 | cat conftest.err >&5
|
---|
| 5385 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5386 | (exit $ac_status); } && {
|
---|
| 5387 | test -z "$ac_c_werror_flag" ||
|
---|
| 5388 | test ! -s conftest.err
|
---|
| 5389 | } && test -s conftest.$ac_objext; then
|
---|
[3745] | 5390 | ac_cv_prog_cc_stdc="$ac_arg"; break
|
---|
[25148] | 5391 | else
|
---|
| 5392 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5393 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5394 |
|
---|
| 5395 |
|
---|
[3745] | 5396 | fi
|
---|
[25148] | 5397 |
|
---|
[23356] | 5398 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 5399 | done
|
---|
| 5400 | CFLAGS="$ac_save_CFLAGS"
|
---|
| 5401 |
|
---|
| 5402 | fi
|
---|
| 5403 |
|
---|
[25148] | 5404 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
---|
[23356] | 5405 | $as_echo "$ac_cv_prog_cc_stdc" >&6; }
|
---|
[3745] | 5406 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 5407 | x|xno) ;;
|
---|
| 5408 | *) CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
| 5409 | esac
|
---|
| 5410 |
|
---|
[10191] | 5411 |
|
---|
[25148] | 5412 | { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
|
---|
[23356] | 5413 | $as_echo_n "checking for function prototypes... " >&6; }
|
---|
[3745] | 5414 | if test "$ac_cv_prog_cc_stdc" != no; then
|
---|
[25148] | 5415 | { $as_echo "$as_me:$LINENO: result: yes" >&5
|
---|
[23356] | 5416 | $as_echo "yes" >&6; }
|
---|
[25148] | 5417 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5418 | #define PROTOTYPES 1
|
---|
| 5419 | _ACEOF
|
---|
[3745] | 5420 |
|
---|
| 5421 | U= ANSI2KNR=
|
---|
| 5422 | else
|
---|
[25148] | 5423 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 5424 | $as_echo "no" >&6; }
|
---|
[3745] | 5425 | U=_ ANSI2KNR=ansi2knr
|
---|
| 5426 | fi
|
---|
| 5427 |
|
---|
[25148] | 5428 | { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
---|
[23356] | 5429 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
---|
[25148] | 5430 | if test "${ac_cv_c_const+set}" = set; then
|
---|
[23356] | 5431 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 5432 | else
|
---|
[25148] | 5433 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5434 | /* confdefs.h. */
|
---|
| 5435 | _ACEOF
|
---|
| 5436 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5437 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 5438 | /* end confdefs.h. */
|
---|
[3745] | 5439 |
|
---|
| 5440 | int
|
---|
| 5441 | main ()
|
---|
| 5442 | {
|
---|
| 5443 | /* FIXME: Include the comments suggested by Paul. */
|
---|
| 5444 | #ifndef __cplusplus
|
---|
| 5445 | /* Ultrix mips cc rejects this. */
|
---|
| 5446 | typedef int charset[2];
|
---|
[23356] | 5447 | const charset cs;
|
---|
[3745] | 5448 | /* SunOS 4.1.1 cc rejects this. */
|
---|
[23356] | 5449 | char const *const *pcpcc;
|
---|
| 5450 | char **ppc;
|
---|
[3745] | 5451 | /* NEC SVR4.0.2 mips cc rejects this. */
|
---|
| 5452 | struct point {int x, y;};
|
---|
| 5453 | static struct point const zero = {0,0};
|
---|
| 5454 | /* AIX XL C 1.02.0.0 rejects this.
|
---|
| 5455 | It does not let you subtract one const X* pointer from another in
|
---|
| 5456 | an arm of an if-expression whose if-part is not a constant
|
---|
| 5457 | expression */
|
---|
| 5458 | const char *g = "string";
|
---|
[23356] | 5459 | pcpcc = &g + (g ? g-g : 0);
|
---|
[3745] | 5460 | /* HPUX 7.0 cc rejects these. */
|
---|
[23356] | 5461 | ++pcpcc;
|
---|
| 5462 | ppc = (char**) pcpcc;
|
---|
| 5463 | pcpcc = (char const *const *) ppc;
|
---|
[3745] | 5464 | { /* SCO 3.2v4 cc rejects this. */
|
---|
| 5465 | char *t;
|
---|
| 5466 | char const *s = 0 ? (char *) 0 : (char const *) 0;
|
---|
| 5467 |
|
---|
| 5468 | *t++ = 0;
|
---|
[23356] | 5469 | if (s) return 0;
|
---|
[3745] | 5470 | }
|
---|
| 5471 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
---|
| 5472 | int x[] = {25, 17};
|
---|
| 5473 | const int *foo = &x[0];
|
---|
| 5474 | ++foo;
|
---|
| 5475 | }
|
---|
| 5476 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
---|
| 5477 | typedef const int *iptr;
|
---|
| 5478 | iptr p = 0;
|
---|
| 5479 | ++p;
|
---|
| 5480 | }
|
---|
| 5481 | { /* AIX XL C 1.02.0.0 rejects this saying
|
---|
| 5482 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
---|
| 5483 | struct s { int j; const int *ap[3]; };
|
---|
| 5484 | struct s *b; b->j = 5;
|
---|
| 5485 | }
|
---|
| 5486 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
---|
| 5487 | const int foo = 10;
|
---|
[23356] | 5488 | if (!foo) return 0;
|
---|
[3745] | 5489 | }
|
---|
[23356] | 5490 | return !cs[0] && !zero.x;
|
---|
[3745] | 5491 | #endif
|
---|
| 5492 |
|
---|
| 5493 | ;
|
---|
| 5494 | return 0;
|
---|
| 5495 | }
|
---|
| 5496 | _ACEOF
|
---|
[25148] | 5497 | rm -f conftest.$ac_objext
|
---|
| 5498 | if { (ac_try="$ac_compile"
|
---|
| 5499 | case "(($ac_try" in
|
---|
| 5500 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5501 | *) ac_try_echo=$ac_try;;
|
---|
| 5502 | esac
|
---|
| 5503 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5504 | $as_echo "$ac_try_echo") >&5
|
---|
| 5505 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 5506 | ac_status=$?
|
---|
| 5507 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5508 | rm -f conftest.er1
|
---|
| 5509 | cat conftest.err >&5
|
---|
| 5510 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5511 | (exit $ac_status); } && {
|
---|
| 5512 | test -z "$ac_c_werror_flag" ||
|
---|
| 5513 | test ! -s conftest.err
|
---|
| 5514 | } && test -s conftest.$ac_objext; then
|
---|
[3745] | 5515 | ac_cv_c_const=yes
|
---|
| 5516 | else
|
---|
[25148] | 5517 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5518 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5519 |
|
---|
| 5520 | ac_cv_c_const=no
|
---|
[3745] | 5521 | fi
|
---|
[25148] | 5522 |
|
---|
[23356] | 5523 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 5524 | fi
|
---|
[25148] | 5525 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
---|
[23356] | 5526 | $as_echo "$ac_cv_c_const" >&6; }
|
---|
[3745] | 5527 | if test $ac_cv_c_const = no; then
|
---|
| 5528 |
|
---|
[25148] | 5529 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5530 | #define const /**/
|
---|
| 5531 | _ACEOF
|
---|
[3745] | 5532 |
|
---|
| 5533 | fi
|
---|
| 5534 |
|
---|
[25148] | 5535 | { $as_echo "$as_me:$LINENO: checking for off_t" >&5
|
---|
| 5536 | $as_echo_n "checking for off_t... " >&6; }
|
---|
| 5537 | if test "${ac_cv_type_off_t+set}" = set; then
|
---|
| 5538 | $as_echo_n "(cached) " >&6
|
---|
| 5539 | else
|
---|
| 5540 | ac_cv_type_off_t=no
|
---|
| 5541 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5542 | /* confdefs.h. */
|
---|
| 5543 | _ACEOF
|
---|
| 5544 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5545 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5546 | /* end confdefs.h. */
|
---|
| 5547 | $ac_includes_default
|
---|
| 5548 | int
|
---|
| 5549 | main ()
|
---|
| 5550 | {
|
---|
| 5551 | if (sizeof (off_t))
|
---|
| 5552 | return 0;
|
---|
| 5553 | ;
|
---|
| 5554 | return 0;
|
---|
| 5555 | }
|
---|
| 5556 | _ACEOF
|
---|
| 5557 | rm -f conftest.$ac_objext
|
---|
| 5558 | if { (ac_try="$ac_compile"
|
---|
| 5559 | case "(($ac_try" in
|
---|
| 5560 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5561 | *) ac_try_echo=$ac_try;;
|
---|
| 5562 | esac
|
---|
| 5563 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5564 | $as_echo "$ac_try_echo") >&5
|
---|
| 5565 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 5566 | ac_status=$?
|
---|
| 5567 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5568 | rm -f conftest.er1
|
---|
| 5569 | cat conftest.err >&5
|
---|
| 5570 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5571 | (exit $ac_status); } && {
|
---|
| 5572 | test -z "$ac_c_werror_flag" ||
|
---|
| 5573 | test ! -s conftest.err
|
---|
| 5574 | } && test -s conftest.$ac_objext; then
|
---|
| 5575 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5576 | /* confdefs.h. */
|
---|
| 5577 | _ACEOF
|
---|
| 5578 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5579 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5580 | /* end confdefs.h. */
|
---|
| 5581 | $ac_includes_default
|
---|
| 5582 | int
|
---|
| 5583 | main ()
|
---|
| 5584 | {
|
---|
| 5585 | if (sizeof ((off_t)))
|
---|
| 5586 | return 0;
|
---|
| 5587 | ;
|
---|
| 5588 | return 0;
|
---|
| 5589 | }
|
---|
| 5590 | _ACEOF
|
---|
| 5591 | rm -f conftest.$ac_objext
|
---|
| 5592 | if { (ac_try="$ac_compile"
|
---|
| 5593 | case "(($ac_try" in
|
---|
| 5594 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5595 | *) ac_try_echo=$ac_try;;
|
---|
| 5596 | esac
|
---|
| 5597 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5598 | $as_echo "$ac_try_echo") >&5
|
---|
| 5599 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 5600 | ac_status=$?
|
---|
| 5601 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5602 | rm -f conftest.er1
|
---|
| 5603 | cat conftest.err >&5
|
---|
| 5604 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5605 | (exit $ac_status); } && {
|
---|
| 5606 | test -z "$ac_c_werror_flag" ||
|
---|
| 5607 | test ! -s conftest.err
|
---|
| 5608 | } && test -s conftest.$ac_objext; then
|
---|
| 5609 | :
|
---|
| 5610 | else
|
---|
| 5611 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5612 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[10191] | 5613 |
|
---|
[25148] | 5614 | ac_cv_type_off_t=yes
|
---|
| 5615 | fi
|
---|
| 5616 |
|
---|
| 5617 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 5618 | else
|
---|
[25148] | 5619 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5620 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[3745] | 5621 |
|
---|
[25148] | 5622 |
|
---|
| 5623 | fi
|
---|
| 5624 |
|
---|
| 5625 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5626 | fi
|
---|
| 5627 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
|
---|
| 5628 | $as_echo "$ac_cv_type_off_t" >&6; }
|
---|
| 5629 | if test "x$ac_cv_type_off_t" = x""yes; then
|
---|
| 5630 | :
|
---|
| 5631 | else
|
---|
| 5632 |
|
---|
[10191] | 5633 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 5634 | #define off_t long int
|
---|
[10191] | 5635 | _ACEOF
|
---|
[3745] | 5636 |
|
---|
| 5637 | fi
|
---|
| 5638 |
|
---|
[25148] | 5639 | { $as_echo "$as_me:$LINENO: checking for size_t" >&5
|
---|
| 5640 | $as_echo_n "checking for size_t... " >&6; }
|
---|
| 5641 | if test "${ac_cv_type_size_t+set}" = set; then
|
---|
| 5642 | $as_echo_n "(cached) " >&6
|
---|
| 5643 | else
|
---|
| 5644 | ac_cv_type_size_t=no
|
---|
| 5645 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5646 | /* confdefs.h. */
|
---|
| 5647 | _ACEOF
|
---|
| 5648 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5649 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5650 | /* end confdefs.h. */
|
---|
| 5651 | $ac_includes_default
|
---|
| 5652 | int
|
---|
| 5653 | main ()
|
---|
| 5654 | {
|
---|
| 5655 | if (sizeof (size_t))
|
---|
| 5656 | return 0;
|
---|
| 5657 | ;
|
---|
| 5658 | return 0;
|
---|
| 5659 | }
|
---|
| 5660 | _ACEOF
|
---|
| 5661 | rm -f conftest.$ac_objext
|
---|
| 5662 | if { (ac_try="$ac_compile"
|
---|
| 5663 | case "(($ac_try" in
|
---|
| 5664 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5665 | *) ac_try_echo=$ac_try;;
|
---|
| 5666 | esac
|
---|
| 5667 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5668 | $as_echo "$ac_try_echo") >&5
|
---|
| 5669 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 5670 | ac_status=$?
|
---|
| 5671 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5672 | rm -f conftest.er1
|
---|
| 5673 | cat conftest.err >&5
|
---|
| 5674 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5675 | (exit $ac_status); } && {
|
---|
| 5676 | test -z "$ac_c_werror_flag" ||
|
---|
| 5677 | test ! -s conftest.err
|
---|
| 5678 | } && test -s conftest.$ac_objext; then
|
---|
| 5679 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5680 | /* confdefs.h. */
|
---|
| 5681 | _ACEOF
|
---|
| 5682 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5683 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5684 | /* end confdefs.h. */
|
---|
| 5685 | $ac_includes_default
|
---|
| 5686 | int
|
---|
| 5687 | main ()
|
---|
| 5688 | {
|
---|
| 5689 | if (sizeof ((size_t)))
|
---|
| 5690 | return 0;
|
---|
| 5691 | ;
|
---|
| 5692 | return 0;
|
---|
| 5693 | }
|
---|
| 5694 | _ACEOF
|
---|
| 5695 | rm -f conftest.$ac_objext
|
---|
| 5696 | if { (ac_try="$ac_compile"
|
---|
| 5697 | case "(($ac_try" in
|
---|
| 5698 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5699 | *) ac_try_echo=$ac_try;;
|
---|
| 5700 | esac
|
---|
| 5701 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5702 | $as_echo "$ac_try_echo") >&5
|
---|
| 5703 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 5704 | ac_status=$?
|
---|
| 5705 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5706 | rm -f conftest.er1
|
---|
| 5707 | cat conftest.err >&5
|
---|
| 5708 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5709 | (exit $ac_status); } && {
|
---|
| 5710 | test -z "$ac_c_werror_flag" ||
|
---|
| 5711 | test ! -s conftest.err
|
---|
| 5712 | } && test -s conftest.$ac_objext; then
|
---|
| 5713 | :
|
---|
| 5714 | else
|
---|
| 5715 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5716 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[10191] | 5717 |
|
---|
[25148] | 5718 | ac_cv_type_size_t=yes
|
---|
| 5719 | fi
|
---|
| 5720 |
|
---|
| 5721 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 5722 | else
|
---|
[25148] | 5723 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5724 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[3745] | 5725 |
|
---|
[25148] | 5726 |
|
---|
| 5727 | fi
|
---|
| 5728 |
|
---|
| 5729 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5730 | fi
|
---|
| 5731 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
|
---|
| 5732 | $as_echo "$ac_cv_type_size_t" >&6; }
|
---|
| 5733 | if test "x$ac_cv_type_size_t" = x""yes; then
|
---|
| 5734 | :
|
---|
| 5735 | else
|
---|
| 5736 |
|
---|
[10191] | 5737 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 5738 | #define size_t unsigned int
|
---|
[10191] | 5739 | _ACEOF
|
---|
[3745] | 5740 |
|
---|
| 5741 | fi
|
---|
| 5742 |
|
---|
[25148] | 5743 | { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
|
---|
[23356] | 5744 | $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
|
---|
[25148] | 5745 | if test "${ac_cv_header_time+set}" = set; then
|
---|
[23356] | 5746 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 5747 | else
|
---|
[25148] | 5748 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5749 | /* confdefs.h. */
|
---|
| 5750 | _ACEOF
|
---|
| 5751 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5752 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 5753 | /* end confdefs.h. */
|
---|
[3745] | 5754 | #include <sys/types.h>
|
---|
| 5755 | #include <sys/time.h>
|
---|
| 5756 | #include <time.h>
|
---|
| 5757 |
|
---|
| 5758 | int
|
---|
| 5759 | main ()
|
---|
| 5760 | {
|
---|
[10191] | 5761 | if ((struct tm *) 0)
|
---|
| 5762 | return 0;
|
---|
[3745] | 5763 | ;
|
---|
| 5764 | return 0;
|
---|
| 5765 | }
|
---|
| 5766 | _ACEOF
|
---|
[25148] | 5767 | rm -f conftest.$ac_objext
|
---|
| 5768 | if { (ac_try="$ac_compile"
|
---|
| 5769 | case "(($ac_try" in
|
---|
| 5770 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5771 | *) ac_try_echo=$ac_try;;
|
---|
| 5772 | esac
|
---|
| 5773 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5774 | $as_echo "$ac_try_echo") >&5
|
---|
| 5775 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 5776 | ac_status=$?
|
---|
| 5777 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5778 | rm -f conftest.er1
|
---|
| 5779 | cat conftest.err >&5
|
---|
| 5780 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5781 | (exit $ac_status); } && {
|
---|
| 5782 | test -z "$ac_c_werror_flag" ||
|
---|
| 5783 | test ! -s conftest.err
|
---|
| 5784 | } && test -s conftest.$ac_objext; then
|
---|
[3745] | 5785 | ac_cv_header_time=yes
|
---|
| 5786 | else
|
---|
[25148] | 5787 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5788 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5789 |
|
---|
| 5790 | ac_cv_header_time=no
|
---|
[3745] | 5791 | fi
|
---|
[25148] | 5792 |
|
---|
[23356] | 5793 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 5794 | fi
|
---|
[25148] | 5795 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
|
---|
[23356] | 5796 | $as_echo "$ac_cv_header_time" >&6; }
|
---|
[3745] | 5797 | if test $ac_cv_header_time = yes; then
|
---|
| 5798 |
|
---|
[25148] | 5799 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5800 | #define TIME_WITH_SYS_TIME 1
|
---|
| 5801 | _ACEOF
|
---|
[3745] | 5802 |
|
---|
| 5803 | fi
|
---|
| 5804 |
|
---|
[25148] | 5805 | { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
|
---|
[23356] | 5806 | $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
|
---|
[25148] | 5807 | if test "${ac_cv_struct_tm+set}" = set; then
|
---|
[23356] | 5808 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 5809 | else
|
---|
[25148] | 5810 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5811 | /* confdefs.h. */
|
---|
| 5812 | _ACEOF
|
---|
| 5813 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5814 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 5815 | /* end confdefs.h. */
|
---|
[3745] | 5816 | #include <sys/types.h>
|
---|
| 5817 | #include <time.h>
|
---|
| 5818 |
|
---|
| 5819 | int
|
---|
| 5820 | main ()
|
---|
| 5821 | {
|
---|
[23356] | 5822 | struct tm tm;
|
---|
| 5823 | int *p = &tm.tm_sec;
|
---|
| 5824 | return !p;
|
---|
[3745] | 5825 | ;
|
---|
| 5826 | return 0;
|
---|
| 5827 | }
|
---|
| 5828 | _ACEOF
|
---|
[25148] | 5829 | rm -f conftest.$ac_objext
|
---|
| 5830 | if { (ac_try="$ac_compile"
|
---|
| 5831 | case "(($ac_try" in
|
---|
| 5832 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5833 | *) ac_try_echo=$ac_try;;
|
---|
| 5834 | esac
|
---|
| 5835 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5836 | $as_echo "$ac_try_echo") >&5
|
---|
| 5837 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 5838 | ac_status=$?
|
---|
| 5839 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5840 | rm -f conftest.er1
|
---|
| 5841 | cat conftest.err >&5
|
---|
| 5842 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5843 | (exit $ac_status); } && {
|
---|
| 5844 | test -z "$ac_c_werror_flag" ||
|
---|
| 5845 | test ! -s conftest.err
|
---|
| 5846 | } && test -s conftest.$ac_objext; then
|
---|
[3745] | 5847 | ac_cv_struct_tm=time.h
|
---|
| 5848 | else
|
---|
[25148] | 5849 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5850 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5851 |
|
---|
| 5852 | ac_cv_struct_tm=sys/time.h
|
---|
[3745] | 5853 | fi
|
---|
[25148] | 5854 |
|
---|
[23356] | 5855 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 5856 | fi
|
---|
[25148] | 5857 | { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
|
---|
[23356] | 5858 | $as_echo "$ac_cv_struct_tm" >&6; }
|
---|
[3745] | 5859 | if test $ac_cv_struct_tm = sys/time.h; then
|
---|
| 5860 |
|
---|
[25148] | 5861 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5862 | #define TM_IN_SYS_TIME 1
|
---|
| 5863 | _ACEOF
|
---|
[3745] | 5864 |
|
---|
| 5865 | fi
|
---|
| 5866 |
|
---|
[10191] | 5867 |
|
---|
[3745] | 5868 | if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
|
---|
[25148] | 5869 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5870 | /* confdefs.h. */
|
---|
| 5871 | _ACEOF
|
---|
| 5872 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5873 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 5874 | /* end confdefs.h. */
|
---|
[3745] | 5875 | #include <stdio.h>
|
---|
| 5876 |
|
---|
| 5877 | int
|
---|
| 5878 | main ()
|
---|
| 5879 | {
|
---|
| 5880 | FILE *rubbish = popen("yes", "r");
|
---|
| 5881 | ;
|
---|
| 5882 | return 0;
|
---|
| 5883 | }
|
---|
| 5884 | _ACEOF
|
---|
[25148] | 5885 | rm -f conftest.$ac_objext
|
---|
| 5886 | if { (ac_try="$ac_compile"
|
---|
| 5887 | case "(($ac_try" in
|
---|
| 5888 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5889 | *) ac_try_echo=$ac_try;;
|
---|
| 5890 | esac
|
---|
| 5891 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5892 | $as_echo "$ac_try_echo") >&5
|
---|
| 5893 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 5894 | ac_status=$?
|
---|
| 5895 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5896 | rm -f conftest.er1
|
---|
| 5897 | cat conftest.err >&5
|
---|
| 5898 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5899 | (exit $ac_status); } && {
|
---|
| 5900 | test -z "$ac_c_werror_flag" ||
|
---|
| 5901 | test ! -s conftest.err
|
---|
| 5902 | } && test -s conftest.$ac_objext; then
|
---|
| 5903 | :
|
---|
| 5904 | else
|
---|
| 5905 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5906 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[23356] | 5907 |
|
---|
[25148] | 5908 | CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
|
---|
[3745] | 5909 | fi
|
---|
[25148] | 5910 |
|
---|
[23356] | 5911 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 5912 | fi
|
---|
| 5913 |
|
---|
[10191] | 5914 |
|
---|
[25148] | 5915 |
|
---|
| 5916 | { $as_echo "$as_me:$LINENO: checking for main in -lm" >&5
|
---|
[23356] | 5917 | $as_echo_n "checking for main in -lm... " >&6; }
|
---|
[25148] | 5918 | if test "${ac_cv_lib_m_main+set}" = set; then
|
---|
[23356] | 5919 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 5920 | else
|
---|
| 5921 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5922 | LIBS="-lm $LIBS"
|
---|
[25148] | 5923 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5924 | /* confdefs.h. */
|
---|
| 5925 | _ACEOF
|
---|
| 5926 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5927 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 5928 | /* end confdefs.h. */
|
---|
[3745] | 5929 |
|
---|
[10191] | 5930 |
|
---|
[3745] | 5931 | int
|
---|
| 5932 | main ()
|
---|
| 5933 | {
|
---|
[23356] | 5934 | return main ();
|
---|
[3745] | 5935 | ;
|
---|
| 5936 | return 0;
|
---|
| 5937 | }
|
---|
| 5938 | _ACEOF
|
---|
[25148] | 5939 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5940 | if { (ac_try="$ac_link"
|
---|
| 5941 | case "(($ac_try" in
|
---|
| 5942 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5943 | *) ac_try_echo=$ac_try;;
|
---|
| 5944 | esac
|
---|
| 5945 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 5946 | $as_echo "$ac_try_echo") >&5
|
---|
| 5947 | (eval "$ac_link") 2>conftest.er1
|
---|
| 5948 | ac_status=$?
|
---|
| 5949 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5950 | rm -f conftest.er1
|
---|
| 5951 | cat conftest.err >&5
|
---|
| 5952 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5953 | (exit $ac_status); } && {
|
---|
| 5954 | test -z "$ac_c_werror_flag" ||
|
---|
| 5955 | test ! -s conftest.err
|
---|
| 5956 | } && test -s conftest$ac_exeext && {
|
---|
| 5957 | test "$cross_compiling" = yes ||
|
---|
| 5958 | $as_test_x conftest$ac_exeext
|
---|
| 5959 | }; then
|
---|
[3745] | 5960 | ac_cv_lib_m_main=yes
|
---|
| 5961 | else
|
---|
[25148] | 5962 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 5963 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5964 |
|
---|
| 5965 | ac_cv_lib_m_main=no
|
---|
[3745] | 5966 | fi
|
---|
[25148] | 5967 |
|
---|
| 5968 | rm -rf conftest.dSYM
|
---|
| 5969 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 5970 | conftest$ac_exeext conftest.$ac_ext
|
---|
[3745] | 5971 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5972 | fi
|
---|
[25148] | 5973 | { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
|
---|
[23356] | 5974 | $as_echo "$ac_cv_lib_m_main" >&6; }
|
---|
[25148] | 5975 | if test "x$ac_cv_lib_m_main" = x""yes; then
|
---|
[10191] | 5976 | cat >>confdefs.h <<_ACEOF
|
---|
[3745] | 5977 | #define HAVE_LIBM 1
|
---|
[10191] | 5978 | _ACEOF
|
---|
[3745] | 5979 |
|
---|
| 5980 | LIBS="-lm $LIBS"
|
---|
| 5981 |
|
---|
| 5982 | fi
|
---|
| 5983 |
|
---|
[10191] | 5984 |
|
---|
[25148] | 5985 |
|
---|
| 5986 |
|
---|
| 5987 |
|
---|
| 5988 |
|
---|
| 5989 |
|
---|
[3745] | 5990 | ac_header_dirent=no
|
---|
| 5991 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
---|
[23356] | 5992 | as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
---|
[25148] | 5993 | { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
|
---|
[23356] | 5994 | $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
|
---|
[25148] | 5995 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[23356] | 5996 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 5997 | else
|
---|
[25148] | 5998 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5999 | /* confdefs.h. */
|
---|
| 6000 | _ACEOF
|
---|
| 6001 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6002 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6003 | /* end confdefs.h. */
|
---|
[3745] | 6004 | #include <sys/types.h>
|
---|
| 6005 | #include <$ac_hdr>
|
---|
| 6006 |
|
---|
| 6007 | int
|
---|
| 6008 | main ()
|
---|
| 6009 | {
|
---|
[10191] | 6010 | if ((DIR *) 0)
|
---|
| 6011 | return 0;
|
---|
[3745] | 6012 | ;
|
---|
| 6013 | return 0;
|
---|
| 6014 | }
|
---|
| 6015 | _ACEOF
|
---|
[25148] | 6016 | rm -f conftest.$ac_objext
|
---|
| 6017 | if { (ac_try="$ac_compile"
|
---|
| 6018 | case "(($ac_try" in
|
---|
| 6019 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6020 | *) ac_try_echo=$ac_try;;
|
---|
| 6021 | esac
|
---|
| 6022 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 6023 | $as_echo "$ac_try_echo") >&5
|
---|
| 6024 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 6025 | ac_status=$?
|
---|
| 6026 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6027 | rm -f conftest.er1
|
---|
| 6028 | cat conftest.err >&5
|
---|
| 6029 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6030 | (exit $ac_status); } && {
|
---|
| 6031 | test -z "$ac_c_werror_flag" ||
|
---|
| 6032 | test ! -s conftest.err
|
---|
| 6033 | } && test -s conftest.$ac_objext; then
|
---|
[10191] | 6034 | eval "$as_ac_Header=yes"
|
---|
[3745] | 6035 | else
|
---|
[25148] | 6036 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 6037 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6038 |
|
---|
| 6039 | eval "$as_ac_Header=no"
|
---|
[3745] | 6040 | fi
|
---|
[25148] | 6041 |
|
---|
[23356] | 6042 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 6043 | fi
|
---|
[25148] | 6044 | ac_res=`eval 'as_val=${'$as_ac_Header'}
|
---|
| 6045 | $as_echo "$as_val"'`
|
---|
| 6046 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
[23356] | 6047 | $as_echo "$ac_res" >&6; }
|
---|
[25148] | 6048 | as_val=`eval 'as_val=${'$as_ac_Header'}
|
---|
| 6049 | $as_echo "$as_val"'`
|
---|
| 6050 | if test "x$as_val" = x""yes; then
|
---|
[10191] | 6051 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 6052 | #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
---|
[10191] | 6053 | _ACEOF
|
---|
[3745] | 6054 |
|
---|
| 6055 | ac_header_dirent=$ac_hdr; break
|
---|
| 6056 | fi
|
---|
| 6057 |
|
---|
| 6058 | done
|
---|
| 6059 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
---|
| 6060 | if test $ac_header_dirent = dirent.h; then
|
---|
[25148] | 6061 | { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
---|
[23356] | 6062 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
[25148] | 6063 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
[23356] | 6064 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 6065 | else
|
---|
[10191] | 6066 | ac_func_search_save_LIBS=$LIBS
|
---|
[25148] | 6067 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6068 | /* confdefs.h. */
|
---|
| 6069 | _ACEOF
|
---|
| 6070 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6071 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6072 | /* end confdefs.h. */
|
---|
[3745] | 6073 |
|
---|
[23356] | 6074 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6075 | Use char because int might match the return type of a GCC
|
---|
| 6076 | builtin and then its argument prototype would still apply. */
|
---|
[3745] | 6077 | #ifdef __cplusplus
|
---|
| 6078 | extern "C"
|
---|
| 6079 | #endif
|
---|
| 6080 | char opendir ();
|
---|
| 6081 | int
|
---|
| 6082 | main ()
|
---|
| 6083 | {
|
---|
[23356] | 6084 | return opendir ();
|
---|
[3745] | 6085 | ;
|
---|
| 6086 | return 0;
|
---|
| 6087 | }
|
---|
| 6088 | _ACEOF
|
---|
[23356] | 6089 | for ac_lib in '' dir; do
|
---|
| 6090 | if test -z "$ac_lib"; then
|
---|
| 6091 | ac_res="none required"
|
---|
| 6092 | else
|
---|
| 6093 | ac_res=-l$ac_lib
|
---|
| 6094 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 6095 | fi
|
---|
[25148] | 6096 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 6097 | if { (ac_try="$ac_link"
|
---|
| 6098 | case "(($ac_try" in
|
---|
| 6099 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6100 | *) ac_try_echo=$ac_try;;
|
---|
| 6101 | esac
|
---|
| 6102 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 6103 | $as_echo "$ac_try_echo") >&5
|
---|
| 6104 | (eval "$ac_link") 2>conftest.er1
|
---|
| 6105 | ac_status=$?
|
---|
| 6106 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6107 | rm -f conftest.er1
|
---|
| 6108 | cat conftest.err >&5
|
---|
| 6109 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6110 | (exit $ac_status); } && {
|
---|
| 6111 | test -z "$ac_c_werror_flag" ||
|
---|
| 6112 | test ! -s conftest.err
|
---|
| 6113 | } && test -s conftest$ac_exeext && {
|
---|
| 6114 | test "$cross_compiling" = yes ||
|
---|
| 6115 | $as_test_x conftest$ac_exeext
|
---|
| 6116 | }; then
|
---|
[23356] | 6117 | ac_cv_search_opendir=$ac_res
|
---|
[25148] | 6118 | else
|
---|
| 6119 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 6120 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6121 |
|
---|
| 6122 |
|
---|
[3745] | 6123 | fi
|
---|
[25148] | 6124 |
|
---|
| 6125 | rm -rf conftest.dSYM
|
---|
| 6126 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 6127 | conftest$ac_exeext
|
---|
| 6128 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
[23356] | 6129 | break
|
---|
| 6130 | fi
|
---|
| 6131 | done
|
---|
[25148] | 6132 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 6133 | :
|
---|
[10191] | 6134 | else
|
---|
[23356] | 6135 | ac_cv_search_opendir=no
|
---|
[3745] | 6136 | fi
|
---|
[23356] | 6137 | rm conftest.$ac_ext
|
---|
[10191] | 6138 | LIBS=$ac_func_search_save_LIBS
|
---|
| 6139 | fi
|
---|
[25148] | 6140 | { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
---|
[23356] | 6141 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 6142 | ac_res=$ac_cv_search_opendir
|
---|
[25148] | 6143 | if test "$ac_res" != no; then
|
---|
[23356] | 6144 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[3745] | 6145 |
|
---|
[10191] | 6146 | fi
|
---|
| 6147 |
|
---|
[3745] | 6148 | else
|
---|
[25148] | 6149 | { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
---|
[23356] | 6150 | $as_echo_n "checking for library containing opendir... " >&6; }
|
---|
[25148] | 6151 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
[23356] | 6152 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 6153 | else
|
---|
[10191] | 6154 | ac_func_search_save_LIBS=$LIBS
|
---|
[25148] | 6155 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6156 | /* confdefs.h. */
|
---|
| 6157 | _ACEOF
|
---|
| 6158 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6159 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6160 | /* end confdefs.h. */
|
---|
[3745] | 6161 |
|
---|
[23356] | 6162 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6163 | Use char because int might match the return type of a GCC
|
---|
| 6164 | builtin and then its argument prototype would still apply. */
|
---|
[3745] | 6165 | #ifdef __cplusplus
|
---|
| 6166 | extern "C"
|
---|
| 6167 | #endif
|
---|
| 6168 | char opendir ();
|
---|
| 6169 | int
|
---|
| 6170 | main ()
|
---|
| 6171 | {
|
---|
[23356] | 6172 | return opendir ();
|
---|
[3745] | 6173 | ;
|
---|
| 6174 | return 0;
|
---|
| 6175 | }
|
---|
| 6176 | _ACEOF
|
---|
[23356] | 6177 | for ac_lib in '' x; do
|
---|
| 6178 | if test -z "$ac_lib"; then
|
---|
| 6179 | ac_res="none required"
|
---|
| 6180 | else
|
---|
| 6181 | ac_res=-l$ac_lib
|
---|
| 6182 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 6183 | fi
|
---|
[25148] | 6184 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 6185 | if { (ac_try="$ac_link"
|
---|
| 6186 | case "(($ac_try" in
|
---|
| 6187 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6188 | *) ac_try_echo=$ac_try;;
|
---|
| 6189 | esac
|
---|
| 6190 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 6191 | $as_echo "$ac_try_echo") >&5
|
---|
| 6192 | (eval "$ac_link") 2>conftest.er1
|
---|
| 6193 | ac_status=$?
|
---|
| 6194 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6195 | rm -f conftest.er1
|
---|
| 6196 | cat conftest.err >&5
|
---|
| 6197 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6198 | (exit $ac_status); } && {
|
---|
| 6199 | test -z "$ac_c_werror_flag" ||
|
---|
| 6200 | test ! -s conftest.err
|
---|
| 6201 | } && test -s conftest$ac_exeext && {
|
---|
| 6202 | test "$cross_compiling" = yes ||
|
---|
| 6203 | $as_test_x conftest$ac_exeext
|
---|
| 6204 | }; then
|
---|
[23356] | 6205 | ac_cv_search_opendir=$ac_res
|
---|
[25148] | 6206 | else
|
---|
| 6207 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 6208 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6209 |
|
---|
| 6210 |
|
---|
[3745] | 6211 | fi
|
---|
[25148] | 6212 |
|
---|
| 6213 | rm -rf conftest.dSYM
|
---|
| 6214 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 6215 | conftest$ac_exeext
|
---|
| 6216 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
[23356] | 6217 | break
|
---|
| 6218 | fi
|
---|
| 6219 | done
|
---|
[25148] | 6220 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 6221 | :
|
---|
[10191] | 6222 | else
|
---|
[23356] | 6223 | ac_cv_search_opendir=no
|
---|
[3745] | 6224 | fi
|
---|
[23356] | 6225 | rm conftest.$ac_ext
|
---|
[10191] | 6226 | LIBS=$ac_func_search_save_LIBS
|
---|
| 6227 | fi
|
---|
[25148] | 6228 | { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
---|
[23356] | 6229 | $as_echo "$ac_cv_search_opendir" >&6; }
|
---|
| 6230 | ac_res=$ac_cv_search_opendir
|
---|
[25148] | 6231 | if test "$ac_res" != no; then
|
---|
[23356] | 6232 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[3745] | 6233 |
|
---|
| 6234 | fi
|
---|
| 6235 |
|
---|
[10191] | 6236 | fi
|
---|
| 6237 |
|
---|
[25148] | 6238 | { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
---|
[23356] | 6239 | $as_echo_n "checking for ANSI C header files... " >&6; }
|
---|
[25148] | 6240 | if test "${ac_cv_header_stdc+set}" = set; then
|
---|
[23356] | 6241 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 6242 | else
|
---|
[25148] | 6243 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6244 | /* confdefs.h. */
|
---|
| 6245 | _ACEOF
|
---|
| 6246 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6247 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6248 | /* end confdefs.h. */
|
---|
[3745] | 6249 | #include <stdlib.h>
|
---|
| 6250 | #include <stdarg.h>
|
---|
| 6251 | #include <string.h>
|
---|
| 6252 | #include <float.h>
|
---|
| 6253 |
|
---|
[10191] | 6254 | int
|
---|
| 6255 | main ()
|
---|
| 6256 | {
|
---|
| 6257 |
|
---|
| 6258 | ;
|
---|
| 6259 | return 0;
|
---|
| 6260 | }
|
---|
[3745] | 6261 | _ACEOF
|
---|
[25148] | 6262 | rm -f conftest.$ac_objext
|
---|
| 6263 | if { (ac_try="$ac_compile"
|
---|
| 6264 | case "(($ac_try" in
|
---|
| 6265 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6266 | *) ac_try_echo=$ac_try;;
|
---|
| 6267 | esac
|
---|
| 6268 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 6269 | $as_echo "$ac_try_echo") >&5
|
---|
| 6270 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 6271 | ac_status=$?
|
---|
| 6272 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6273 | rm -f conftest.er1
|
---|
| 6274 | cat conftest.err >&5
|
---|
| 6275 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6276 | (exit $ac_status); } && {
|
---|
| 6277 | test -z "$ac_c_werror_flag" ||
|
---|
| 6278 | test ! -s conftest.err
|
---|
| 6279 | } && test -s conftest.$ac_objext; then
|
---|
[3745] | 6280 | ac_cv_header_stdc=yes
|
---|
| 6281 | else
|
---|
[25148] | 6282 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 6283 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6284 |
|
---|
| 6285 | ac_cv_header_stdc=no
|
---|
[3745] | 6286 | fi
|
---|
[25148] | 6287 |
|
---|
[23356] | 6288 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 6289 |
|
---|
| 6290 | if test $ac_cv_header_stdc = yes; then
|
---|
| 6291 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
[25148] | 6292 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6293 | /* confdefs.h. */
|
---|
| 6294 | _ACEOF
|
---|
| 6295 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6296 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6297 | /* end confdefs.h. */
|
---|
[3745] | 6298 | #include <string.h>
|
---|
| 6299 |
|
---|
| 6300 | _ACEOF
|
---|
| 6301 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[25148] | 6302 | $EGREP "memchr" >/dev/null 2>&1; then
|
---|
| 6303 | :
|
---|
[3745] | 6304 | else
|
---|
| 6305 | ac_cv_header_stdc=no
|
---|
| 6306 | fi
|
---|
| 6307 | rm -f conftest*
|
---|
| 6308 |
|
---|
| 6309 | fi
|
---|
| 6310 |
|
---|
| 6311 | if test $ac_cv_header_stdc = yes; then
|
---|
| 6312 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
[25148] | 6313 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6314 | /* confdefs.h. */
|
---|
| 6315 | _ACEOF
|
---|
| 6316 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6317 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6318 | /* end confdefs.h. */
|
---|
[3745] | 6319 | #include <stdlib.h>
|
---|
| 6320 |
|
---|
| 6321 | _ACEOF
|
---|
| 6322 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[25148] | 6323 | $EGREP "free" >/dev/null 2>&1; then
|
---|
| 6324 | :
|
---|
[3745] | 6325 | else
|
---|
| 6326 | ac_cv_header_stdc=no
|
---|
| 6327 | fi
|
---|
| 6328 | rm -f conftest*
|
---|
| 6329 |
|
---|
| 6330 | fi
|
---|
| 6331 |
|
---|
| 6332 | if test $ac_cv_header_stdc = yes; then
|
---|
| 6333 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
[25148] | 6334 | if test "$cross_compiling" = yes; then
|
---|
[3745] | 6335 | :
|
---|
| 6336 | else
|
---|
[25148] | 6337 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6338 | /* confdefs.h. */
|
---|
| 6339 | _ACEOF
|
---|
| 6340 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6341 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6342 | /* end confdefs.h. */
|
---|
[3745] | 6343 | #include <ctype.h>
|
---|
[23356] | 6344 | #include <stdlib.h>
|
---|
[3745] | 6345 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 6346 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 6347 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 6348 | #else
|
---|
[10191] | 6349 | # define ISLOWER(c) \
|
---|
| 6350 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 6351 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 6352 | || ('s' <= (c) && (c) <= 'z'))
|
---|
[3745] | 6353 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 6354 | #endif
|
---|
| 6355 |
|
---|
| 6356 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 6357 | int
|
---|
| 6358 | main ()
|
---|
| 6359 | {
|
---|
| 6360 | int i;
|
---|
| 6361 | for (i = 0; i < 256; i++)
|
---|
| 6362 | if (XOR (islower (i), ISLOWER (i))
|
---|
[10191] | 6363 | || toupper (i) != TOUPPER (i))
|
---|
[23356] | 6364 | return 2;
|
---|
| 6365 | return 0;
|
---|
[3745] | 6366 | }
|
---|
| 6367 | _ACEOF
|
---|
[25148] | 6368 | rm -f conftest$ac_exeext
|
---|
| 6369 | if { (ac_try="$ac_link"
|
---|
| 6370 | case "(($ac_try" in
|
---|
| 6371 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6372 | *) ac_try_echo=$ac_try;;
|
---|
| 6373 | esac
|
---|
| 6374 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 6375 | $as_echo "$ac_try_echo") >&5
|
---|
| 6376 | (eval "$ac_link") 2>&5
|
---|
| 6377 | ac_status=$?
|
---|
| 6378 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6379 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
| 6380 | { (case "(($ac_try" in
|
---|
| 6381 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6382 | *) ac_try_echo=$ac_try;;
|
---|
| 6383 | esac
|
---|
| 6384 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 6385 | $as_echo "$ac_try_echo") >&5
|
---|
| 6386 | (eval "$ac_try") 2>&5
|
---|
| 6387 | ac_status=$?
|
---|
| 6388 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6389 | (exit $ac_status); }; }; then
|
---|
| 6390 | :
|
---|
| 6391 | else
|
---|
| 6392 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 6393 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 6394 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
[23356] | 6395 |
|
---|
[25148] | 6396 | ( exit $ac_status )
|
---|
| 6397 | ac_cv_header_stdc=no
|
---|
[3745] | 6398 | fi
|
---|
[25148] | 6399 | rm -rf conftest.dSYM
|
---|
| 6400 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 6401 | fi
|
---|
[23356] | 6402 |
|
---|
[25148] | 6403 |
|
---|
[3745] | 6404 | fi
|
---|
| 6405 | fi
|
---|
[25148] | 6406 | { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
---|
[23356] | 6407 | $as_echo "$ac_cv_header_stdc" >&6; }
|
---|
[3745] | 6408 | if test $ac_cv_header_stdc = yes; then
|
---|
| 6409 |
|
---|
[25148] | 6410 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6411 | #define STDC_HEADERS 1
|
---|
| 6412 | _ACEOF
|
---|
[3745] | 6413 |
|
---|
| 6414 | fi
|
---|
| 6415 |
|
---|
[25148] | 6416 |
|
---|
| 6417 |
|
---|
| 6418 |
|
---|
| 6419 |
|
---|
| 6420 |
|
---|
| 6421 |
|
---|
| 6422 |
|
---|
[3745] | 6423 | for ac_header in fcntl.h limits.h sys/time.h unistd.h string.h memory.h sys/procfs.h
|
---|
[25148] | 6424 | do
|
---|
| 6425 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 6426 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
| 6427 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 6428 | $as_echo_n "checking for $ac_header... " >&6; }
|
---|
| 6429 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
| 6430 | $as_echo_n "(cached) " >&6
|
---|
| 6431 | fi
|
---|
| 6432 | ac_res=`eval 'as_val=${'$as_ac_Header'}
|
---|
| 6433 | $as_echo "$as_val"'`
|
---|
| 6434 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 6435 | $as_echo "$ac_res" >&6; }
|
---|
| 6436 | else
|
---|
| 6437 | # Is the header compilable?
|
---|
| 6438 | { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
---|
| 6439 | $as_echo_n "checking $ac_header usability... " >&6; }
|
---|
| 6440 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6441 | /* confdefs.h. */
|
---|
| 6442 | _ACEOF
|
---|
| 6443 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6444 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6445 | /* end confdefs.h. */
|
---|
| 6446 | $ac_includes_default
|
---|
| 6447 | #include <$ac_header>
|
---|
| 6448 | _ACEOF
|
---|
| 6449 | rm -f conftest.$ac_objext
|
---|
| 6450 | if { (ac_try="$ac_compile"
|
---|
| 6451 | case "(($ac_try" in
|
---|
| 6452 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6453 | *) ac_try_echo=$ac_try;;
|
---|
| 6454 | esac
|
---|
| 6455 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 6456 | $as_echo "$ac_try_echo") >&5
|
---|
| 6457 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 6458 | ac_status=$?
|
---|
| 6459 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6460 | rm -f conftest.er1
|
---|
| 6461 | cat conftest.err >&5
|
---|
| 6462 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6463 | (exit $ac_status); } && {
|
---|
| 6464 | test -z "$ac_c_werror_flag" ||
|
---|
| 6465 | test ! -s conftest.err
|
---|
| 6466 | } && test -s conftest.$ac_objext; then
|
---|
| 6467 | ac_header_compiler=yes
|
---|
| 6468 | else
|
---|
| 6469 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 6470 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6471 |
|
---|
| 6472 | ac_header_compiler=no
|
---|
| 6473 | fi
|
---|
| 6474 |
|
---|
| 6475 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 6476 | { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
---|
| 6477 | $as_echo "$ac_header_compiler" >&6; }
|
---|
| 6478 |
|
---|
| 6479 | # Is the header present?
|
---|
| 6480 | { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
---|
| 6481 | $as_echo_n "checking $ac_header presence... " >&6; }
|
---|
| 6482 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6483 | /* confdefs.h. */
|
---|
| 6484 | _ACEOF
|
---|
| 6485 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6486 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6487 | /* end confdefs.h. */
|
---|
| 6488 | #include <$ac_header>
|
---|
| 6489 | _ACEOF
|
---|
| 6490 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 6491 | case "(($ac_try" in
|
---|
| 6492 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6493 | *) ac_try_echo=$ac_try;;
|
---|
| 6494 | esac
|
---|
| 6495 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 6496 | $as_echo "$ac_try_echo") >&5
|
---|
| 6497 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
| 6498 | ac_status=$?
|
---|
| 6499 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6500 | rm -f conftest.er1
|
---|
| 6501 | cat conftest.err >&5
|
---|
| 6502 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6503 | (exit $ac_status); } >/dev/null && {
|
---|
| 6504 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 6505 | test ! -s conftest.err
|
---|
| 6506 | }; then
|
---|
| 6507 | ac_header_preproc=yes
|
---|
| 6508 | else
|
---|
| 6509 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 6510 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6511 |
|
---|
| 6512 | ac_header_preproc=no
|
---|
| 6513 | fi
|
---|
| 6514 |
|
---|
| 6515 | rm -f conftest.err conftest.$ac_ext
|
---|
| 6516 | { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
---|
| 6517 | $as_echo "$ac_header_preproc" >&6; }
|
---|
| 6518 |
|
---|
| 6519 | # So? What about this header?
|
---|
| 6520 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
---|
| 6521 | yes:no: )
|
---|
| 6522 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 6523 | $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 6524 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
---|
| 6525 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
---|
| 6526 | ac_header_preproc=yes
|
---|
| 6527 | ;;
|
---|
| 6528 | no:yes:* )
|
---|
| 6529 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
---|
| 6530 | $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
---|
| 6531 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
---|
| 6532 | $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
---|
| 6533 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
---|
| 6534 | $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
---|
| 6535 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 6536 | $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 6537 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
---|
| 6538 | $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
---|
| 6539 | { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
---|
| 6540 | $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
---|
| 6541 |
|
---|
| 6542 | ;;
|
---|
| 6543 | esac
|
---|
| 6544 | { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 6545 | $as_echo_n "checking for $ac_header... " >&6; }
|
---|
| 6546 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
| 6547 | $as_echo_n "(cached) " >&6
|
---|
| 6548 | else
|
---|
| 6549 | eval "$as_ac_Header=\$ac_header_preproc"
|
---|
| 6550 | fi
|
---|
| 6551 | ac_res=`eval 'as_val=${'$as_ac_Header'}
|
---|
| 6552 | $as_echo "$as_val"'`
|
---|
| 6553 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 6554 | $as_echo "$ac_res" >&6; }
|
---|
| 6555 |
|
---|
| 6556 | fi
|
---|
| 6557 | as_val=`eval 'as_val=${'$as_ac_Header'}
|
---|
| 6558 | $as_echo "$as_val"'`
|
---|
| 6559 | if test "x$as_val" = x""yes; then
|
---|
[10191] | 6560 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 6561 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
[10191] | 6562 | _ACEOF
|
---|
| 6563 |
|
---|
| 6564 | fi
|
---|
| 6565 |
|
---|
[3745] | 6566 | done
|
---|
| 6567 |
|
---|
[25148] | 6568 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6569 | /* confdefs.h. */
|
---|
| 6570 | _ACEOF
|
---|
| 6571 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6572 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6573 | /* end confdefs.h. */
|
---|
[3745] | 6574 | #include <stdio.h>
|
---|
| 6575 |
|
---|
| 6576 | _ACEOF
|
---|
| 6577 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[25148] | 6578 | $EGREP "fread" >/dev/null 2>&1; then
|
---|
| 6579 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6580 | #define HAVE_FREAD_DECL 1
|
---|
| 6581 | _ACEOF
|
---|
[3745] | 6582 |
|
---|
| 6583 | fi
|
---|
| 6584 | rm -f conftest*
|
---|
| 6585 |
|
---|
[25148] | 6586 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6587 | /* confdefs.h. */
|
---|
| 6588 | _ACEOF
|
---|
| 6589 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6590 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6591 | /* end confdefs.h. */
|
---|
[3745] | 6592 | #include <stdio.h>
|
---|
| 6593 |
|
---|
| 6594 | _ACEOF
|
---|
| 6595 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[25148] | 6596 | $EGREP "fgetc" >/dev/null 2>&1; then
|
---|
| 6597 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6598 | #define HAVE_FGETC_DECL 1
|
---|
| 6599 | _ACEOF
|
---|
[3745] | 6600 |
|
---|
| 6601 | fi
|
---|
| 6602 | rm -f conftest*
|
---|
| 6603 |
|
---|
[25148] | 6604 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6605 | /* confdefs.h. */
|
---|
| 6606 | _ACEOF
|
---|
| 6607 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6608 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6609 | /* end confdefs.h. */
|
---|
[3745] | 6610 | #include <sys/procfs.h>
|
---|
| 6611 |
|
---|
| 6612 | _ACEOF
|
---|
| 6613 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[25148] | 6614 | $EGREP "pr_brksize" >/dev/null 2>&1; then
|
---|
| 6615 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6616 | #define HAVE_PR_BRKSIZE 1
|
---|
| 6617 | _ACEOF
|
---|
[3745] | 6618 |
|
---|
| 6619 | fi
|
---|
| 6620 | rm -f conftest*
|
---|
| 6621 |
|
---|
[10191] | 6622 |
|
---|
[3745] | 6623 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
---|
| 6624 | # for constant arguments. Useless!
|
---|
[25148] | 6625 | { $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
|
---|
[23356] | 6626 | $as_echo_n "checking for working alloca.h... " >&6; }
|
---|
[25148] | 6627 | if test "${ac_cv_working_alloca_h+set}" = set; then
|
---|
[23356] | 6628 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 6629 | else
|
---|
[25148] | 6630 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6631 | /* confdefs.h. */
|
---|
| 6632 | _ACEOF
|
---|
| 6633 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6634 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6635 | /* end confdefs.h. */
|
---|
[3745] | 6636 | #include <alloca.h>
|
---|
| 6637 | int
|
---|
| 6638 | main ()
|
---|
| 6639 | {
|
---|
| 6640 | char *p = (char *) alloca (2 * sizeof (int));
|
---|
[23356] | 6641 | if (p) return 0;
|
---|
[3745] | 6642 | ;
|
---|
| 6643 | return 0;
|
---|
| 6644 | }
|
---|
| 6645 | _ACEOF
|
---|
[25148] | 6646 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 6647 | if { (ac_try="$ac_link"
|
---|
| 6648 | case "(($ac_try" in
|
---|
| 6649 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6650 | *) ac_try_echo=$ac_try;;
|
---|
| 6651 | esac
|
---|
| 6652 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 6653 | $as_echo "$ac_try_echo") >&5
|
---|
| 6654 | (eval "$ac_link") 2>conftest.er1
|
---|
| 6655 | ac_status=$?
|
---|
| 6656 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6657 | rm -f conftest.er1
|
---|
| 6658 | cat conftest.err >&5
|
---|
| 6659 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6660 | (exit $ac_status); } && {
|
---|
| 6661 | test -z "$ac_c_werror_flag" ||
|
---|
| 6662 | test ! -s conftest.err
|
---|
| 6663 | } && test -s conftest$ac_exeext && {
|
---|
| 6664 | test "$cross_compiling" = yes ||
|
---|
| 6665 | $as_test_x conftest$ac_exeext
|
---|
| 6666 | }; then
|
---|
[3745] | 6667 | ac_cv_working_alloca_h=yes
|
---|
| 6668 | else
|
---|
[25148] | 6669 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 6670 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6671 |
|
---|
| 6672 | ac_cv_working_alloca_h=no
|
---|
[3745] | 6673 | fi
|
---|
[25148] | 6674 |
|
---|
| 6675 | rm -rf conftest.dSYM
|
---|
| 6676 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 6677 | conftest$ac_exeext conftest.$ac_ext
|
---|
[3745] | 6678 | fi
|
---|
[25148] | 6679 | { $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
|
---|
[23356] | 6680 | $as_echo "$ac_cv_working_alloca_h" >&6; }
|
---|
[3745] | 6681 | if test $ac_cv_working_alloca_h = yes; then
|
---|
| 6682 |
|
---|
[25148] | 6683 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6684 | #define HAVE_ALLOCA_H 1
|
---|
| 6685 | _ACEOF
|
---|
[3745] | 6686 |
|
---|
| 6687 | fi
|
---|
| 6688 |
|
---|
[25148] | 6689 | { $as_echo "$as_me:$LINENO: checking for alloca" >&5
|
---|
[23356] | 6690 | $as_echo_n "checking for alloca... " >&6; }
|
---|
[25148] | 6691 | if test "${ac_cv_func_alloca_works+set}" = set; then
|
---|
[23356] | 6692 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 6693 | else
|
---|
[25148] | 6694 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6695 | /* confdefs.h. */
|
---|
| 6696 | _ACEOF
|
---|
| 6697 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6698 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6699 | /* end confdefs.h. */
|
---|
[3745] | 6700 | #ifdef __GNUC__
|
---|
| 6701 | # define alloca __builtin_alloca
|
---|
| 6702 | #else
|
---|
| 6703 | # ifdef _MSC_VER
|
---|
| 6704 | # include <malloc.h>
|
---|
| 6705 | # define alloca _alloca
|
---|
| 6706 | # else
|
---|
[23356] | 6707 | # ifdef HAVE_ALLOCA_H
|
---|
[3745] | 6708 | # include <alloca.h>
|
---|
| 6709 | # else
|
---|
| 6710 | # ifdef _AIX
|
---|
| 6711 | #pragma alloca
|
---|
| 6712 | # else
|
---|
| 6713 | # ifndef alloca /* predefined by HP cc +Olibcalls */
|
---|
| 6714 | char *alloca ();
|
---|
| 6715 | # endif
|
---|
| 6716 | # endif
|
---|
| 6717 | # endif
|
---|
| 6718 | # endif
|
---|
| 6719 | #endif
|
---|
| 6720 |
|
---|
| 6721 | int
|
---|
| 6722 | main ()
|
---|
| 6723 | {
|
---|
| 6724 | char *p = (char *) alloca (1);
|
---|
[23356] | 6725 | if (p) return 0;
|
---|
[3745] | 6726 | ;
|
---|
| 6727 | return 0;
|
---|
| 6728 | }
|
---|
| 6729 | _ACEOF
|
---|
[25148] | 6730 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 6731 | if { (ac_try="$ac_link"
|
---|
| 6732 | case "(($ac_try" in
|
---|
| 6733 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6734 | *) ac_try_echo=$ac_try;;
|
---|
| 6735 | esac
|
---|
| 6736 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 6737 | $as_echo "$ac_try_echo") >&5
|
---|
| 6738 | (eval "$ac_link") 2>conftest.er1
|
---|
| 6739 | ac_status=$?
|
---|
| 6740 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6741 | rm -f conftest.er1
|
---|
| 6742 | cat conftest.err >&5
|
---|
| 6743 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6744 | (exit $ac_status); } && {
|
---|
| 6745 | test -z "$ac_c_werror_flag" ||
|
---|
| 6746 | test ! -s conftest.err
|
---|
| 6747 | } && test -s conftest$ac_exeext && {
|
---|
| 6748 | test "$cross_compiling" = yes ||
|
---|
| 6749 | $as_test_x conftest$ac_exeext
|
---|
| 6750 | }; then
|
---|
[3745] | 6751 | ac_cv_func_alloca_works=yes
|
---|
| 6752 | else
|
---|
[25148] | 6753 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 6754 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6755 |
|
---|
| 6756 | ac_cv_func_alloca_works=no
|
---|
[3745] | 6757 | fi
|
---|
[25148] | 6758 |
|
---|
| 6759 | rm -rf conftest.dSYM
|
---|
| 6760 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 6761 | conftest$ac_exeext conftest.$ac_ext
|
---|
[3745] | 6762 | fi
|
---|
[25148] | 6763 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
|
---|
[23356] | 6764 | $as_echo "$ac_cv_func_alloca_works" >&6; }
|
---|
[3745] | 6765 |
|
---|
| 6766 | if test $ac_cv_func_alloca_works = yes; then
|
---|
| 6767 |
|
---|
[25148] | 6768 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6769 | #define HAVE_ALLOCA 1
|
---|
| 6770 | _ACEOF
|
---|
[3745] | 6771 |
|
---|
| 6772 | else
|
---|
| 6773 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
---|
| 6774 | # that cause trouble. Some versions do not even contain alloca or
|
---|
| 6775 | # contain a buggy version. If you still want to use their alloca,
|
---|
| 6776 | # use ar to extract alloca.o from them instead of compiling alloca.c.
|
---|
| 6777 |
|
---|
[23356] | 6778 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
---|
[3745] | 6779 |
|
---|
[25148] | 6780 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6781 | #define C_ALLOCA 1
|
---|
| 6782 | _ACEOF
|
---|
[3745] | 6783 |
|
---|
[10191] | 6784 |
|
---|
[25148] | 6785 | { $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
|
---|
[23356] | 6786 | $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
|
---|
[25148] | 6787 | if test "${ac_cv_os_cray+set}" = set; then
|
---|
[23356] | 6788 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 6789 | else
|
---|
[25148] | 6790 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6791 | /* confdefs.h. */
|
---|
| 6792 | _ACEOF
|
---|
| 6793 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6794 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6795 | /* end confdefs.h. */
|
---|
[23356] | 6796 | #if defined CRAY && ! defined CRAY2
|
---|
[3745] | 6797 | webecray
|
---|
| 6798 | #else
|
---|
| 6799 | wenotbecray
|
---|
| 6800 | #endif
|
---|
| 6801 |
|
---|
| 6802 | _ACEOF
|
---|
| 6803 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[25148] | 6804 | $EGREP "webecray" >/dev/null 2>&1; then
|
---|
[3745] | 6805 | ac_cv_os_cray=yes
|
---|
| 6806 | else
|
---|
| 6807 | ac_cv_os_cray=no
|
---|
| 6808 | fi
|
---|
| 6809 | rm -f conftest*
|
---|
| 6810 |
|
---|
| 6811 | fi
|
---|
[25148] | 6812 | { $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
|
---|
[23356] | 6813 | $as_echo "$ac_cv_os_cray" >&6; }
|
---|
[3745] | 6814 | if test $ac_cv_os_cray = yes; then
|
---|
| 6815 | for ac_func in _getb67 GETB67 getb67; do
|
---|
[23356] | 6816 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[25148] | 6817 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6818 | $as_echo_n "checking for $ac_func... " >&6; }
|
---|
| 6819 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
| 6820 | $as_echo_n "(cached) " >&6
|
---|
| 6821 | else
|
---|
| 6822 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6823 | /* confdefs.h. */
|
---|
| 6824 | _ACEOF
|
---|
| 6825 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6826 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6827 | /* end confdefs.h. */
|
---|
| 6828 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6829 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6830 | #define $ac_func innocuous_$ac_func
|
---|
[10191] | 6831 |
|
---|
[25148] | 6832 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6833 | which can conflict with char $ac_func (); below.
|
---|
| 6834 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6835 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6836 |
|
---|
| 6837 | #ifdef __STDC__
|
---|
| 6838 | # include <limits.h>
|
---|
| 6839 | #else
|
---|
| 6840 | # include <assert.h>
|
---|
| 6841 | #endif
|
---|
| 6842 |
|
---|
| 6843 | #undef $ac_func
|
---|
| 6844 |
|
---|
| 6845 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6846 | Use char because int might match the return type of a GCC
|
---|
| 6847 | builtin and then its argument prototype would still apply. */
|
---|
| 6848 | #ifdef __cplusplus
|
---|
| 6849 | extern "C"
|
---|
| 6850 | #endif
|
---|
| 6851 | char $ac_func ();
|
---|
| 6852 | /* The GNU C library defines this for functions which it implements
|
---|
| 6853 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6854 | something starting with __ and the normal name is an alias. */
|
---|
| 6855 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
| 6856 | choke me
|
---|
| 6857 | #endif
|
---|
| 6858 |
|
---|
| 6859 | int
|
---|
| 6860 | main ()
|
---|
| 6861 | {
|
---|
| 6862 | return $ac_func ();
|
---|
| 6863 | ;
|
---|
| 6864 | return 0;
|
---|
| 6865 | }
|
---|
| 6866 | _ACEOF
|
---|
| 6867 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 6868 | if { (ac_try="$ac_link"
|
---|
| 6869 | case "(($ac_try" in
|
---|
| 6870 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6871 | *) ac_try_echo=$ac_try;;
|
---|
| 6872 | esac
|
---|
| 6873 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 6874 | $as_echo "$ac_try_echo") >&5
|
---|
| 6875 | (eval "$ac_link") 2>conftest.er1
|
---|
| 6876 | ac_status=$?
|
---|
| 6877 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6878 | rm -f conftest.er1
|
---|
| 6879 | cat conftest.err >&5
|
---|
| 6880 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6881 | (exit $ac_status); } && {
|
---|
| 6882 | test -z "$ac_c_werror_flag" ||
|
---|
| 6883 | test ! -s conftest.err
|
---|
| 6884 | } && test -s conftest$ac_exeext && {
|
---|
| 6885 | test "$cross_compiling" = yes ||
|
---|
| 6886 | $as_test_x conftest$ac_exeext
|
---|
| 6887 | }; then
|
---|
| 6888 | eval "$as_ac_var=yes"
|
---|
| 6889 | else
|
---|
| 6890 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 6891 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6892 |
|
---|
| 6893 | eval "$as_ac_var=no"
|
---|
| 6894 | fi
|
---|
| 6895 |
|
---|
| 6896 | rm -rf conftest.dSYM
|
---|
| 6897 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 6898 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6899 | fi
|
---|
| 6900 | ac_res=`eval 'as_val=${'$as_ac_var'}
|
---|
| 6901 | $as_echo "$as_val"'`
|
---|
| 6902 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 6903 | $as_echo "$ac_res" >&6; }
|
---|
| 6904 | as_val=`eval 'as_val=${'$as_ac_var'}
|
---|
| 6905 | $as_echo "$as_val"'`
|
---|
| 6906 | if test "x$as_val" = x""yes; then
|
---|
| 6907 |
|
---|
[10191] | 6908 | cat >>confdefs.h <<_ACEOF
|
---|
[3745] | 6909 | #define CRAY_STACKSEG_END $ac_func
|
---|
[10191] | 6910 | _ACEOF
|
---|
[3745] | 6911 |
|
---|
| 6912 | break
|
---|
| 6913 | fi
|
---|
| 6914 |
|
---|
| 6915 | done
|
---|
| 6916 | fi
|
---|
| 6917 |
|
---|
[25148] | 6918 | { $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
|
---|
[23356] | 6919 | $as_echo_n "checking stack direction for C alloca... " >&6; }
|
---|
[25148] | 6920 | if test "${ac_cv_c_stack_direction+set}" = set; then
|
---|
[23356] | 6921 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 6922 | else
|
---|
[25148] | 6923 | if test "$cross_compiling" = yes; then
|
---|
[3745] | 6924 | ac_cv_c_stack_direction=0
|
---|
| 6925 | else
|
---|
[25148] | 6926 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6927 | /* confdefs.h. */
|
---|
| 6928 | _ACEOF
|
---|
| 6929 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6930 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 6931 | /* end confdefs.h. */
|
---|
[23356] | 6932 | $ac_includes_default
|
---|
[3745] | 6933 | int
|
---|
| 6934 | find_stack_direction ()
|
---|
| 6935 | {
|
---|
| 6936 | static char *addr = 0;
|
---|
| 6937 | auto char dummy;
|
---|
| 6938 | if (addr == 0)
|
---|
| 6939 | {
|
---|
| 6940 | addr = &dummy;
|
---|
| 6941 | return find_stack_direction ();
|
---|
| 6942 | }
|
---|
| 6943 | else
|
---|
| 6944 | return (&dummy > addr) ? 1 : -1;
|
---|
| 6945 | }
|
---|
| 6946 |
|
---|
| 6947 | int
|
---|
| 6948 | main ()
|
---|
| 6949 | {
|
---|
[23356] | 6950 | return find_stack_direction () < 0;
|
---|
[3745] | 6951 | }
|
---|
| 6952 | _ACEOF
|
---|
[25148] | 6953 | rm -f conftest$ac_exeext
|
---|
| 6954 | if { (ac_try="$ac_link"
|
---|
| 6955 | case "(($ac_try" in
|
---|
| 6956 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6957 | *) ac_try_echo=$ac_try;;
|
---|
| 6958 | esac
|
---|
| 6959 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 6960 | $as_echo "$ac_try_echo") >&5
|
---|
| 6961 | (eval "$ac_link") 2>&5
|
---|
| 6962 | ac_status=$?
|
---|
| 6963 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6964 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
| 6965 | { (case "(($ac_try" in
|
---|
| 6966 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6967 | *) ac_try_echo=$ac_try;;
|
---|
| 6968 | esac
|
---|
| 6969 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 6970 | $as_echo "$ac_try_echo") >&5
|
---|
| 6971 | (eval "$ac_try") 2>&5
|
---|
| 6972 | ac_status=$?
|
---|
| 6973 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6974 | (exit $ac_status); }; }; then
|
---|
[3745] | 6975 | ac_cv_c_stack_direction=1
|
---|
| 6976 | else
|
---|
[25148] | 6977 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 6978 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 6979 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6980 |
|
---|
| 6981 | ( exit $ac_status )
|
---|
| 6982 | ac_cv_c_stack_direction=-1
|
---|
[3745] | 6983 | fi
|
---|
[25148] | 6984 | rm -rf conftest.dSYM
|
---|
| 6985 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 6986 | fi
|
---|
[23356] | 6987 |
|
---|
[25148] | 6988 |
|
---|
[3745] | 6989 | fi
|
---|
[25148] | 6990 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
|
---|
[23356] | 6991 | $as_echo "$ac_cv_c_stack_direction" >&6; }
|
---|
[25148] | 6992 |
|
---|
[10191] | 6993 | cat >>confdefs.h <<_ACEOF
|
---|
[3745] | 6994 | #define STACK_DIRECTION $ac_cv_c_stack_direction
|
---|
[10191] | 6995 | _ACEOF
|
---|
[3745] | 6996 |
|
---|
[10191] | 6997 |
|
---|
[3745] | 6998 | fi
|
---|
| 6999 |
|
---|
| 7000 | if test $ac_cv_c_compiler_gnu = yes; then
|
---|
[25148] | 7001 | { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
|
---|
[23356] | 7002 | $as_echo_n "checking whether $CC needs -traditional... " >&6; }
|
---|
[25148] | 7003 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then
|
---|
[23356] | 7004 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 7005 | else
|
---|
| 7006 | ac_pattern="Autoconf.*'x'"
|
---|
[25148] | 7007 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7008 | /* confdefs.h. */
|
---|
| 7009 | _ACEOF
|
---|
| 7010 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7011 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 7012 | /* end confdefs.h. */
|
---|
[3745] | 7013 | #include <sgtty.h>
|
---|
| 7014 | Autoconf TIOCGETP
|
---|
| 7015 | _ACEOF
|
---|
| 7016 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[25148] | 7017 | $EGREP "$ac_pattern" >/dev/null 2>&1; then
|
---|
[3745] | 7018 | ac_cv_prog_gcc_traditional=yes
|
---|
| 7019 | else
|
---|
| 7020 | ac_cv_prog_gcc_traditional=no
|
---|
| 7021 | fi
|
---|
| 7022 | rm -f conftest*
|
---|
| 7023 |
|
---|
[10191] | 7024 |
|
---|
[3745] | 7025 | if test $ac_cv_prog_gcc_traditional = no; then
|
---|
[25148] | 7026 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7027 | /* confdefs.h. */
|
---|
| 7028 | _ACEOF
|
---|
| 7029 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7030 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 7031 | /* end confdefs.h. */
|
---|
[3745] | 7032 | #include <termio.h>
|
---|
| 7033 | Autoconf TCGETA
|
---|
| 7034 | _ACEOF
|
---|
| 7035 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
[25148] | 7036 | $EGREP "$ac_pattern" >/dev/null 2>&1; then
|
---|
[3745] | 7037 | ac_cv_prog_gcc_traditional=yes
|
---|
| 7038 | fi
|
---|
| 7039 | rm -f conftest*
|
---|
| 7040 |
|
---|
| 7041 | fi
|
---|
| 7042 | fi
|
---|
[25148] | 7043 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
|
---|
[23356] | 7044 | $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
|
---|
[3745] | 7045 | if test $ac_cv_prog_gcc_traditional = yes; then
|
---|
| 7046 | CC="$CC -traditional"
|
---|
| 7047 | fi
|
---|
| 7048 | fi
|
---|
| 7049 |
|
---|
[25148] | 7050 | { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
|
---|
[23356] | 7051 | $as_echo_n "checking return type of signal handlers... " >&6; }
|
---|
[25148] | 7052 | if test "${ac_cv_type_signal+set}" = set; then
|
---|
[23356] | 7053 | $as_echo_n "(cached) " >&6
|
---|
[3745] | 7054 | else
|
---|
[25148] | 7055 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7056 | /* confdefs.h. */
|
---|
| 7057 | _ACEOF
|
---|
| 7058 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7059 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10191] | 7060 | /* end confdefs.h. */
|
---|
[3745] | 7061 | #include <sys/types.h>
|
---|
| 7062 | #include <signal.h>
|
---|
| 7063 |
|
---|
| 7064 | int
|
---|
| 7065 | main ()
|
---|
| 7066 | {
|
---|
[23356] | 7067 | return *(signal (0, 0)) (0) == 1;
|
---|
[3745] | 7068 | ;
|
---|
| 7069 | return 0;
|
---|
| 7070 | }
|
---|
| 7071 | _ACEOF
|
---|
[25148] | 7072 | rm -f conftest.$ac_objext
|
---|
| 7073 | if { (ac_try="$ac_compile"
|
---|
| 7074 | case "(($ac_try" in
|
---|
| 7075 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7076 | *) ac_try_echo=$ac_try;;
|
---|
| 7077 | esac
|
---|
| 7078 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 7079 | $as_echo "$ac_try_echo") >&5
|
---|
| 7080 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 7081 | ac_status=$?
|
---|
| 7082 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7083 | rm -f conftest.er1
|
---|
| 7084 | cat conftest.err >&5
|
---|
| 7085 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7086 | (exit $ac_status); } && {
|
---|
| 7087 | test -z "$ac_c_werror_flag" ||
|
---|
| 7088 | test ! -s conftest.err
|
---|
| 7089 | } && test -s conftest.$ac_objext; then
|
---|
[23356] | 7090 | ac_cv_type_signal=int
|
---|
| 7091 | else
|
---|
[25148] | 7092 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 7093 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7094 |
|
---|
| 7095 | ac_cv_type_signal=void
|
---|
[3745] | 7096 | fi
|
---|
[25148] | 7097 |
|
---|
[23356] | 7098 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[3745] | 7099 | fi
|
---|
[25148] | 7100 | { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
|
---|
[23356] | 7101 | $as_echo "$ac_cv_type_signal" >&6; }
|
---|
[3745] | 7102 |
|
---|
[10191] | 7103 | cat >>confdefs.h <<_ACEOF
|
---|
[3745] | 7104 | #define RETSIGTYPE $ac_cv_type_signal
|
---|
[10191] | 7105 | _ACEOF
|
---|
[3745] | 7106 |
|
---|
[10191] | 7107 |
|
---|
[25148] | 7108 |
|
---|
[3745] | 7109 | for ac_func in vprintf
|
---|
[25148] | 7110 | do
|
---|
| 7111 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 7112 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 7113 | $as_echo_n "checking for $ac_func... " >&6; }
|
---|
| 7114 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
| 7115 | $as_echo_n "(cached) " >&6
|
---|
| 7116 | else
|
---|
| 7117 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7118 | /* confdefs.h. */
|
---|
| 7119 | _ACEOF
|
---|
| 7120 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7121 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7122 | /* end confdefs.h. */
|
---|
| 7123 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 7124 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 7125 | #define $ac_func innocuous_$ac_func
|
---|
| 7126 |
|
---|
| 7127 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 7128 | which can conflict with char $ac_func (); below.
|
---|
| 7129 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 7130 | <limits.h> exists even on freestanding compilers. */
|
---|
| 7131 |
|
---|
| 7132 | #ifdef __STDC__
|
---|
| 7133 | # include <limits.h>
|
---|
| 7134 | #else
|
---|
| 7135 | # include <assert.h>
|
---|
| 7136 | #endif
|
---|
| 7137 |
|
---|
| 7138 | #undef $ac_func
|
---|
| 7139 |
|
---|
| 7140 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 7141 | Use char because int might match the return type of a GCC
|
---|
| 7142 | builtin and then its argument prototype would still apply. */
|
---|
| 7143 | #ifdef __cplusplus
|
---|
| 7144 | extern "C"
|
---|
| 7145 | #endif
|
---|
| 7146 | char $ac_func ();
|
---|
| 7147 | /* The GNU C library defines this for functions which it implements
|
---|
| 7148 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 7149 | something starting with __ and the normal name is an alias. */
|
---|
| 7150 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
| 7151 | choke me
|
---|
| 7152 | #endif
|
---|
| 7153 |
|
---|
| 7154 | int
|
---|
| 7155 | main ()
|
---|
| 7156 | {
|
---|
| 7157 | return $ac_func ();
|
---|
| 7158 | ;
|
---|
| 7159 | return 0;
|
---|
| 7160 | }
|
---|
| 7161 | _ACEOF
|
---|
| 7162 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 7163 | if { (ac_try="$ac_link"
|
---|
| 7164 | case "(($ac_try" in
|
---|
| 7165 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7166 | *) ac_try_echo=$ac_try;;
|
---|
| 7167 | esac
|
---|
| 7168 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 7169 | $as_echo "$ac_try_echo") >&5
|
---|
| 7170 | (eval "$ac_link") 2>conftest.er1
|
---|
| 7171 | ac_status=$?
|
---|
| 7172 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7173 | rm -f conftest.er1
|
---|
| 7174 | cat conftest.err >&5
|
---|
| 7175 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7176 | (exit $ac_status); } && {
|
---|
| 7177 | test -z "$ac_c_werror_flag" ||
|
---|
| 7178 | test ! -s conftest.err
|
---|
| 7179 | } && test -s conftest$ac_exeext && {
|
---|
| 7180 | test "$cross_compiling" = yes ||
|
---|
| 7181 | $as_test_x conftest$ac_exeext
|
---|
| 7182 | }; then
|
---|
| 7183 | eval "$as_ac_var=yes"
|
---|
| 7184 | else
|
---|
| 7185 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 7186 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7187 |
|
---|
| 7188 | eval "$as_ac_var=no"
|
---|
| 7189 | fi
|
---|
| 7190 |
|
---|
| 7191 | rm -rf conftest.dSYM
|
---|
| 7192 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 7193 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 7194 | fi
|
---|
| 7195 | ac_res=`eval 'as_val=${'$as_ac_var'}
|
---|
| 7196 | $as_echo "$as_val"'`
|
---|
| 7197 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 7198 | $as_echo "$ac_res" >&6; }
|
---|
| 7199 | as_val=`eval 'as_val=${'$as_ac_var'}
|
---|
| 7200 | $as_echo "$as_val"'`
|
---|
| 7201 | if test "x$as_val" = x""yes; then
|
---|
[10191] | 7202 | cat >>confdefs.h <<_ACEOF
|
---|
[25148] | 7203 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[10191] | 7204 | _ACEOF
|
---|
[3745] | 7205 |
|
---|
[25148] | 7206 | { $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
|
---|
| 7207 | $as_echo_n "checking for _doprnt... " >&6; }
|
---|
| 7208 | if test "${ac_cv_func__doprnt+set}" = set; then
|
---|
| 7209 | $as_echo_n "(cached) " >&6
|
---|
| 7210 | else
|
---|
| 7211 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7212 | /* confdefs.h. */
|
---|
| 7213 | _ACEOF
|
---|
| 7214 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7215 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7216 | /* end confdefs.h. */
|
---|
| 7217 | /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
|
---|
| 7218 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 7219 | #define _doprnt innocuous__doprnt
|
---|
[10191] | 7220 |
|
---|
[25148] | 7221 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 7222 | which can conflict with char _doprnt (); below.
|
---|
| 7223 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 7224 | <limits.h> exists even on freestanding compilers. */
|
---|
[10191] | 7225 |
|
---|
[25148] | 7226 | #ifdef __STDC__
|
---|
| 7227 | # include <limits.h>
|
---|
| 7228 | #else
|
---|
| 7229 | # include <assert.h>
|
---|
| 7230 | #endif
|
---|
| 7231 |
|
---|
| 7232 | #undef _doprnt
|
---|
| 7233 |
|
---|
| 7234 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 7235 | Use char because int might match the return type of a GCC
|
---|
| 7236 | builtin and then its argument prototype would still apply. */
|
---|
| 7237 | #ifdef __cplusplus
|
---|
| 7238 | extern "C"
|
---|
| 7239 | #endif
|
---|
| 7240 | char _doprnt ();
|
---|
| 7241 | /* The GNU C library defines this for functions which it implements
|
---|
| 7242 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 7243 | something starting with __ and the normal name is an alias. */
|
---|
| 7244 | #if defined __stub__doprnt || defined __stub____doprnt
|
---|
| 7245 | choke me
|
---|
| 7246 | #endif
|
---|
| 7247 |
|
---|
| 7248 | int
|
---|
| 7249 | main ()
|
---|
| 7250 | {
|
---|
| 7251 | return _doprnt ();
|
---|
| 7252 | ;
|
---|
| 7253 | return 0;
|
---|
| 7254 | }
|
---|
| 7255 | _ACEOF
|
---|
| 7256 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 7257 | if { (ac_try="$ac_link"
|
---|
| 7258 | case "(($ac_try" in
|
---|
| 7259 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7260 | *) ac_try_echo=$ac_try;;
|
---|
| 7261 | esac
|
---|
| 7262 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 7263 | $as_echo "$ac_try_echo") >&5
|
---|
| 7264 | (eval "$ac_link") 2>conftest.er1
|
---|
| 7265 | ac_status=$?
|
---|
| 7266 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7267 | rm -f conftest.er1
|
---|
| 7268 | cat conftest.err >&5
|
---|
| 7269 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7270 | (exit $ac_status); } && {
|
---|
| 7271 | test -z "$ac_c_werror_flag" ||
|
---|
| 7272 | test ! -s conftest.err
|
---|
| 7273 | } && test -s conftest$ac_exeext && {
|
---|
| 7274 | test "$cross_compiling" = yes ||
|
---|
| 7275 | $as_test_x conftest$ac_exeext
|
---|
| 7276 | }; then
|
---|
| 7277 | ac_cv_func__doprnt=yes
|
---|
| 7278 | else
|
---|
| 7279 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 7280 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7281 |
|
---|
| 7282 | ac_cv_func__doprnt=no
|
---|
[3745] | 7283 | fi
|
---|
| 7284 |
|
---|
[25148] | 7285 | rm -rf conftest.dSYM
|
---|
| 7286 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 7287 | conftest$ac_exeext conftest.$ac_ext
|
---|
[3745] | 7288 | fi
|
---|
[25148] | 7289 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
|
---|
| 7290 | $as_echo "$ac_cv_func__doprnt" >&6; }
|
---|
| 7291 | if test "x$ac_cv_func__doprnt" = x""yes; then
|
---|
| 7292 |
|
---|
| 7293 | cat >>confdefs.h <<\_ACEOF
|
---|
| 7294 | #define HAVE_DOPRNT 1
|
---|
| 7295 | _ACEOF
|
---|
| 7296 |
|
---|
| 7297 | fi
|
---|
| 7298 |
|
---|
| 7299 | fi
|
---|
[3745] | 7300 | done
|
---|
| 7301 |
|
---|
[10191] | 7302 |
|
---|
[25148] | 7303 |
|
---|
| 7304 |
|
---|
| 7305 |
|
---|
| 7306 |
|
---|
| 7307 |
|
---|
| 7308 |
|
---|
| 7309 |
|
---|
| 7310 |
|
---|
| 7311 |
|
---|
[3745] | 7312 | for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize
|
---|
[25148] | 7313 | do
|
---|
| 7314 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 7315 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 7316 | $as_echo_n "checking for $ac_func... " >&6; }
|
---|
| 7317 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
| 7318 | $as_echo_n "(cached) " >&6
|
---|
| 7319 | else
|
---|
| 7320 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7321 | /* confdefs.h. */
|
---|
| 7322 | _ACEOF
|
---|
| 7323 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7324 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7325 | /* end confdefs.h. */
|
---|
| 7326 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 7327 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 7328 | #define $ac_func innocuous_$ac_func
|
---|
| 7329 |
|
---|
| 7330 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 7331 | which can conflict with char $ac_func (); below.
|
---|
| 7332 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 7333 | <limits.h> exists even on freestanding compilers. */
|
---|
| 7334 |
|
---|
| 7335 | #ifdef __STDC__
|
---|
| 7336 | # include <limits.h>
|
---|
| 7337 | #else
|
---|
| 7338 | # include <assert.h>
|
---|
| 7339 | #endif
|
---|
| 7340 |
|
---|
| 7341 | #undef $ac_func
|
---|
| 7342 |
|
---|
| 7343 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 7344 | Use char because int might match the return type of a GCC
|
---|
| 7345 | builtin and then its argument prototype would still apply. */
|
---|
| 7346 | #ifdef __cplusplus
|
---|
| 7347 | extern "C"
|
---|
| 7348 | #endif
|
---|
| 7349 | char $ac_func ();
|
---|
| 7350 | /* The GNU C library defines this for functions which it implements
|
---|
| 7351 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 7352 | something starting with __ and the normal name is an alias. */
|
---|
| 7353 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
| 7354 | choke me
|
---|
| 7355 | #endif
|
---|
| 7356 |
|
---|
| 7357 | int
|
---|
| 7358 | main ()
|
---|
| 7359 | {
|
---|
| 7360 | return $ac_func ();
|
---|
| 7361 | ;
|
---|
| 7362 | return 0;
|
---|
| 7363 | }
|
---|
| 7364 | _ACEOF
|
---|
| 7365 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 7366 | if { (ac_try="$ac_link"
|
---|
| 7367 | case "(($ac_try" in
|
---|
| 7368 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7369 | *) ac_try_echo=$ac_try;;
|
---|
| 7370 | esac
|
---|
| 7371 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 7372 | $as_echo "$ac_try_echo") >&5
|
---|
| 7373 | (eval "$ac_link") 2>conftest.er1
|
---|
| 7374 | ac_status=$?
|
---|
| 7375 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7376 | rm -f conftest.er1
|
---|
| 7377 | cat conftest.err >&5
|
---|
| 7378 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7379 | (exit $ac_status); } && {
|
---|
| 7380 | test -z "$ac_c_werror_flag" ||
|
---|
| 7381 | test ! -s conftest.err
|
---|
| 7382 | } && test -s conftest$ac_exeext && {
|
---|
| 7383 | test "$cross_compiling" = yes ||
|
---|
| 7384 | $as_test_x conftest$ac_exeext
|
---|
| 7385 | }; then
|
---|
| 7386 | eval "$as_ac_var=yes"
|
---|
| 7387 | else
|
---|
| 7388 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 7389 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7390 |
|
---|
| 7391 | eval "$as_ac_var=no"
|
---|
| 7392 | fi
|
---|
| 7393 |
|
---|
| 7394 | rm -rf conftest.dSYM
|
---|
| 7395 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 7396 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 7397 | fi
|
---|
| 7398 | ac_res=`eval 'as_val=${'$as_ac_var'}
|
---|
| 7399 | $as_echo "$as_val"'`
|
---|
| 7400 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 7401 | $as_echo "$ac_res" >&6; }
|
---|
| 7402 | as_val=`eval 'as_val=${'$as_ac_var'}
|
---|
| 7403 | $as_echo "$as_val"'`
|
---|
| 7404 | if test "x$as_val" = x""yes; then
|
---|
[10191] | 7405 | cat >>confdefs.h <<_ACEOF
|
---|
[23356] | 7406 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[10191] | 7407 | _ACEOF
|
---|
[3745] | 7408 |
|
---|
| 7409 | fi
|
---|
| 7410 | done
|
---|
| 7411 |
|
---|
[25148] | 7412 |
|
---|
| 7413 |
|
---|
| 7414 |
|
---|
[25147] | 7415 | for ac_func in ftruncate strstr strcasecmp
|
---|
[25148] | 7416 | do
|
---|
| 7417 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 7418 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 7419 | $as_echo_n "checking for $ac_func... " >&6; }
|
---|
| 7420 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
| 7421 | $as_echo_n "(cached) " >&6
|
---|
| 7422 | else
|
---|
| 7423 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7424 | /* confdefs.h. */
|
---|
| 7425 | _ACEOF
|
---|
| 7426 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7427 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7428 | /* end confdefs.h. */
|
---|
| 7429 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 7430 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 7431 | #define $ac_func innocuous_$ac_func
|
---|
| 7432 |
|
---|
| 7433 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 7434 | which can conflict with char $ac_func (); below.
|
---|
| 7435 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 7436 | <limits.h> exists even on freestanding compilers. */
|
---|
| 7437 |
|
---|
| 7438 | #ifdef __STDC__
|
---|
| 7439 | # include <limits.h>
|
---|
| 7440 | #else
|
---|
| 7441 | # include <assert.h>
|
---|
| 7442 | #endif
|
---|
| 7443 |
|
---|
| 7444 | #undef $ac_func
|
---|
| 7445 |
|
---|
| 7446 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 7447 | Use char because int might match the return type of a GCC
|
---|
| 7448 | builtin and then its argument prototype would still apply. */
|
---|
| 7449 | #ifdef __cplusplus
|
---|
| 7450 | extern "C"
|
---|
| 7451 | #endif
|
---|
| 7452 | char $ac_func ();
|
---|
| 7453 | /* The GNU C library defines this for functions which it implements
|
---|
| 7454 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 7455 | something starting with __ and the normal name is an alias. */
|
---|
| 7456 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
| 7457 | choke me
|
---|
| 7458 | #endif
|
---|
| 7459 |
|
---|
| 7460 | int
|
---|
| 7461 | main ()
|
---|
| 7462 | {
|
---|
| 7463 | return $ac_func ();
|
---|
| 7464 | ;
|
---|
| 7465 | return 0;
|
---|
| 7466 | }
|
---|
| 7467 | _ACEOF
|
---|
| 7468 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 7469 | if { (ac_try="$ac_link"
|
---|
| 7470 | case "(($ac_try" in
|
---|
| 7471 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7472 | *) ac_try_echo=$ac_try;;
|
---|
| 7473 | esac
|
---|
| 7474 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 7475 | $as_echo "$ac_try_echo") >&5
|
---|
| 7476 | (eval "$ac_link") 2>conftest.er1
|
---|
| 7477 | ac_status=$?
|
---|
| 7478 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7479 | rm -f conftest.er1
|
---|
| 7480 | cat conftest.err >&5
|
---|
| 7481 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7482 | (exit $ac_status); } && {
|
---|
| 7483 | test -z "$ac_c_werror_flag" ||
|
---|
| 7484 | test ! -s conftest.err
|
---|
| 7485 | } && test -s conftest$ac_exeext && {
|
---|
| 7486 | test "$cross_compiling" = yes ||
|
---|
| 7487 | $as_test_x conftest$ac_exeext
|
---|
| 7488 | }; then
|
---|
| 7489 | eval "$as_ac_var=yes"
|
---|
| 7490 | else
|
---|
| 7491 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 7492 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7493 |
|
---|
| 7494 | eval "$as_ac_var=no"
|
---|
| 7495 | fi
|
---|
| 7496 |
|
---|
| 7497 | rm -rf conftest.dSYM
|
---|
| 7498 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 7499 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 7500 | fi
|
---|
| 7501 | ac_res=`eval 'as_val=${'$as_ac_var'}
|
---|
| 7502 | $as_echo "$as_val"'`
|
---|
| 7503 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 7504 | $as_echo "$ac_res" >&6; }
|
---|
| 7505 | as_val=`eval 'as_val=${'$as_ac_var'}
|
---|
| 7506 | $as_echo "$as_val"'`
|
---|
| 7507 | if test "x$as_val" = x""yes; then
|
---|
[25147] | 7508 | cat >>confdefs.h <<_ACEOF
|
---|
| 7509 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 7510 | _ACEOF
|
---|
[10191] | 7511 |
|
---|
[3745] | 7512 | else
|
---|
[23356] | 7513 | case " $LIBOBJS " in
|
---|
[25147] | 7514 | *" $ac_func.$ac_objext "* ) ;;
|
---|
| 7515 | *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
|
---|
[23356] | 7516 | ;;
|
---|
| 7517 | esac
|
---|
[10191] | 7518 |
|
---|
[23356] | 7519 | fi
|
---|
[25147] | 7520 | done
|
---|
[10191] | 7521 |
|
---|
| 7522 |
|
---|
| 7523 |
|
---|
[3745] | 7524 |
|
---|
| 7525 | # *** Custom checking (based on GNU tar configure.in) ***
|
---|
| 7526 | # ---------------------------------------------------------------------------
|
---|
[25148] | 7527 | { $as_echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
|
---|
[23356] | 7528 | $as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
|
---|
[3745] | 7529 | if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
|
---|
[25148] | 7530 | { $as_echo "$as_me:$LINENO: result: yes" >&5
|
---|
[23356] | 7531 | $as_echo "yes" >&6; }
|
---|
| 7532 | case " $LIBOBJS " in
|
---|
[10191] | 7533 | *" gmalloc.$ac_objext "* ) ;;
|
---|
[23356] | 7534 | *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
|
---|
| 7535 | ;;
|
---|
[10191] | 7536 | esac
|
---|
| 7537 |
|
---|
[25148] | 7538 | cat >>confdefs.h <<\_ACEOF
|
---|
| 7539 | #define HAVE_VALLOC 1
|
---|
| 7540 | _ACEOF
|
---|
[3745] | 7541 |
|
---|
| 7542 | else
|
---|
[25148] | 7543 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 7544 | $as_echo "no" >&6; }
|
---|
[25148] | 7545 |
|
---|
| 7546 | for ac_func in valloc
|
---|
| 7547 | do
|
---|
| 7548 | as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 7549 | { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 7550 | $as_echo_n "checking for $ac_func... " >&6; }
|
---|
| 7551 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
| 7552 | $as_echo_n "(cached) " >&6
|
---|
| 7553 | else
|
---|
| 7554 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7555 | /* confdefs.h. */
|
---|
| 7556 | _ACEOF
|
---|
| 7557 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7558 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7559 | /* end confdefs.h. */
|
---|
| 7560 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 7561 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 7562 | #define $ac_func innocuous_$ac_func
|
---|
| 7563 |
|
---|
| 7564 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 7565 | which can conflict with char $ac_func (); below.
|
---|
| 7566 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 7567 | <limits.h> exists even on freestanding compilers. */
|
---|
| 7568 |
|
---|
| 7569 | #ifdef __STDC__
|
---|
| 7570 | # include <limits.h>
|
---|
| 7571 | #else
|
---|
| 7572 | # include <assert.h>
|
---|
| 7573 | #endif
|
---|
| 7574 |
|
---|
| 7575 | #undef $ac_func
|
---|
| 7576 |
|
---|
| 7577 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 7578 | Use char because int might match the return type of a GCC
|
---|
| 7579 | builtin and then its argument prototype would still apply. */
|
---|
| 7580 | #ifdef __cplusplus
|
---|
| 7581 | extern "C"
|
---|
| 7582 | #endif
|
---|
| 7583 | char $ac_func ();
|
---|
| 7584 | /* The GNU C library defines this for functions which it implements
|
---|
| 7585 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 7586 | something starting with __ and the normal name is an alias. */
|
---|
| 7587 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
| 7588 | choke me
|
---|
| 7589 | #endif
|
---|
| 7590 |
|
---|
| 7591 | int
|
---|
| 7592 | main ()
|
---|
| 7593 | {
|
---|
| 7594 | return $ac_func ();
|
---|
| 7595 | ;
|
---|
| 7596 | return 0;
|
---|
| 7597 | }
|
---|
| 7598 | _ACEOF
|
---|
| 7599 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 7600 | if { (ac_try="$ac_link"
|
---|
| 7601 | case "(($ac_try" in
|
---|
| 7602 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7603 | *) ac_try_echo=$ac_try;;
|
---|
| 7604 | esac
|
---|
| 7605 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 7606 | $as_echo "$ac_try_echo") >&5
|
---|
| 7607 | (eval "$ac_link") 2>conftest.er1
|
---|
| 7608 | ac_status=$?
|
---|
| 7609 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7610 | rm -f conftest.er1
|
---|
| 7611 | cat conftest.err >&5
|
---|
| 7612 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7613 | (exit $ac_status); } && {
|
---|
| 7614 | test -z "$ac_c_werror_flag" ||
|
---|
| 7615 | test ! -s conftest.err
|
---|
| 7616 | } && test -s conftest$ac_exeext && {
|
---|
| 7617 | test "$cross_compiling" = yes ||
|
---|
| 7618 | $as_test_x conftest$ac_exeext
|
---|
| 7619 | }; then
|
---|
| 7620 | eval "$as_ac_var=yes"
|
---|
| 7621 | else
|
---|
| 7622 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 7623 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7624 |
|
---|
| 7625 | eval "$as_ac_var=no"
|
---|
| 7626 | fi
|
---|
| 7627 |
|
---|
| 7628 | rm -rf conftest.dSYM
|
---|
| 7629 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 7630 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 7631 | fi
|
---|
| 7632 | ac_res=`eval 'as_val=${'$as_ac_var'}
|
---|
| 7633 | $as_echo "$as_val"'`
|
---|
| 7634 | { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 7635 | $as_echo "$ac_res" >&6; }
|
---|
| 7636 | as_val=`eval 'as_val=${'$as_ac_var'}
|
---|
| 7637 | $as_echo "$as_val"'`
|
---|
| 7638 | if test "x$as_val" = x""yes; then
|
---|
[10191] | 7639 | cat >>confdefs.h <<_ACEOF
|
---|
[25148] | 7640 | #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[10191] | 7641 | _ACEOF
|
---|
[3745] | 7642 |
|
---|
| 7643 | fi
|
---|
| 7644 | done
|
---|
| 7645 |
|
---|
| 7646 | fi
|
---|
| 7647 |
|
---|
[10191] | 7648 | # we need to set an extended JNI path for Mac OS/Darwin, as jni.h is on
|
---|
| 7649 | # a non-standard Path
|
---|
[10917] | 7650 | # is there a better way to do this??
|
---|
[25148] | 7651 | { $as_echo "$as_me:$LINENO: checking for OS to set JNI options" >&5
|
---|
[23356] | 7652 | $as_echo_n "checking for OS to set JNI options... " >&6; }
|
---|
[10917] | 7653 | # set defaults
|
---|
| 7654 | JNIINC=""
|
---|
| 7655 | JNISUFFIX="so"
|
---|
| 7656 | JNIFLAGS="-shared"
|
---|
| 7657 |
|
---|
[10191] | 7658 | if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
|
---|
[25148] | 7659 | { $as_echo "$as_me:$LINENO: result: Darwin" >&5
|
---|
[23356] | 7660 | $as_echo "Darwin" >&6; }
|
---|
[10191] | 7661 | JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ "
|
---|
| 7662 | JNISUFFIX="jnilib"
|
---|
[10887] | 7663 | JNIFLAGS="-dynamiclib -fno-common -single_module -framework JavaVM"
|
---|
[10191] | 7664 | fi
|
---|
[10917] | 7665 | if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then
|
---|
[25148] | 7666 | { $as_echo "$as_me:$LINENO: result: Solaris" >&5
|
---|
[23356] | 7667 | $as_echo "Solaris" >&6; }
|
---|
[10917] | 7668 | JNIINC="-I\$(JAVA_HOME)/include/solaris "
|
---|
| 7669 | fi
|
---|
| 7670 | if test "`(uname -s) 2> /dev/null`" = 'Linux'; then
|
---|
[25148] | 7671 | { $as_echo "$as_me:$LINENO: result: Linux" >&5
|
---|
[23356] | 7672 | $as_echo "Linux" >&6; }
|
---|
[18597] | 7673 | JNIINC="-I\$(JAVA_HOME)/include/linux -I\$(JAVA_HOME)/include "
|
---|
[10917] | 7674 | fi
|
---|
[10191] | 7675 |
|
---|
| 7676 |
|
---|
| 7677 |
|
---|
| 7678 |
|
---|
[10917] | 7679 |
|
---|
[25148] | 7680 | { $as_echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
|
---|
[23356] | 7681 | $as_echo_n "checking if malloc debugging is wanted... " >&6; }
|
---|
[3745] | 7682 |
|
---|
[23356] | 7683 | # Check whether --with-dmalloc was given.
|
---|
[25148] | 7684 | if test "${with_dmalloc+set}" = set; then
|
---|
[23356] | 7685 | withval=$with_dmalloc; if test "$withval" = yes; then
|
---|
[25148] | 7686 | { $as_echo "$as_me:$LINENO: result: yes" >&5
|
---|
[23356] | 7687 | $as_echo "yes" >&6; }
|
---|
[25148] | 7688 | cat >>confdefs.h <<\_ACEOF
|
---|
| 7689 | #define WITH_DMALLOC 1
|
---|
| 7690 | _ACEOF
|
---|
[3745] | 7691 |
|
---|
| 7692 | LIBS="$LIBS -ldmalloc"
|
---|
| 7693 | LDFLAGS="$LDFLAGS -g"
|
---|
| 7694 | else
|
---|
[25148] | 7695 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 7696 | $as_echo "no" >&6; }
|
---|
[3745] | 7697 | fi
|
---|
| 7698 | else
|
---|
[25148] | 7699 | { $as_echo "$as_me:$LINENO: result: no" >&5
|
---|
[23356] | 7700 | $as_echo "no" >&6; }
|
---|
| 7701 | fi
|
---|
[3745] | 7702 |
|
---|
| 7703 |
|
---|
[25148] | 7704 | { $as_echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
|
---|
[23356] | 7705 | $as_echo_n "checking which of rx or regex is wanted... " >&6; }
|
---|
| 7706 |
|
---|
| 7707 | # Check whether --with-regex was given.
|
---|
[25148] | 7708 | if test "${with_regex+set}" = set; then
|
---|
[23356] | 7709 | withval=$with_regex; if test "$withval" = yes; then
|
---|
[3745] | 7710 | ac_with_regex=1
|
---|
[25148] | 7711 | { $as_echo "$as_me:$LINENO: result: regex" >&5
|
---|
[23356] | 7712 | $as_echo "regex" >&6; }
|
---|
[25148] | 7713 | cat >>confdefs.h <<\_ACEOF
|
---|
| 7714 | #define WITH_REGEX 1
|
---|
| 7715 | _ACEOF
|
---|
[3745] | 7716 |
|
---|
[23356] | 7717 | case " $LIBOBJS " in
|
---|
[10840] | 7718 | *" regex.$ac_objext "* ) ;;
|
---|
[23356] | 7719 | *) LIBOBJS="$LIBOBJS regex.$ac_objext"
|
---|
| 7720 | ;;
|
---|
[10840] | 7721 | esac
|
---|
| 7722 |
|
---|
[3745] | 7723 | fi
|
---|
[23356] | 7724 | fi
|
---|
| 7725 |
|
---|
[3745] | 7726 | if test -z "$ac_with_regex"; then
|
---|
[25148] | 7727 | { $as_echo "$as_me:$LINENO: result: rx" >&5
|
---|
[23356] | 7728 | $as_echo "rx" >&6; }
|
---|
[25148] | 7729 | { $as_echo "$as_me:$LINENO: checking for re_rx_search" >&5
|
---|
| 7730 | $as_echo_n "checking for re_rx_search... " >&6; }
|
---|
| 7731 | if test "${ac_cv_func_re_rx_search+set}" = set; then
|
---|
| 7732 | $as_echo_n "(cached) " >&6
|
---|
| 7733 | else
|
---|
| 7734 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7735 | /* confdefs.h. */
|
---|
| 7736 | _ACEOF
|
---|
| 7737 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7738 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7739 | /* end confdefs.h. */
|
---|
| 7740 | /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search.
|
---|
| 7741 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 7742 | #define re_rx_search innocuous_re_rx_search
|
---|
[10191] | 7743 |
|
---|
[25148] | 7744 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 7745 | which can conflict with char re_rx_search (); below.
|
---|
| 7746 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 7747 | <limits.h> exists even on freestanding compilers. */
|
---|
| 7748 |
|
---|
| 7749 | #ifdef __STDC__
|
---|
| 7750 | # include <limits.h>
|
---|
| 7751 | #else
|
---|
| 7752 | # include <assert.h>
|
---|
| 7753 | #endif
|
---|
| 7754 |
|
---|
| 7755 | #undef re_rx_search
|
---|
| 7756 |
|
---|
| 7757 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 7758 | Use char because int might match the return type of a GCC
|
---|
| 7759 | builtin and then its argument prototype would still apply. */
|
---|
| 7760 | #ifdef __cplusplus
|
---|
| 7761 | extern "C"
|
---|
| 7762 | #endif
|
---|
| 7763 | char re_rx_search ();
|
---|
| 7764 | /* The GNU C library defines this for functions which it implements
|
---|
| 7765 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 7766 | something starting with __ and the normal name is an alias. */
|
---|
| 7767 | #if defined __stub_re_rx_search || defined __stub___re_rx_search
|
---|
| 7768 | choke me
|
---|
| 7769 | #endif
|
---|
| 7770 |
|
---|
| 7771 | int
|
---|
| 7772 | main ()
|
---|
| 7773 | {
|
---|
| 7774 | return re_rx_search ();
|
---|
| 7775 | ;
|
---|
| 7776 | return 0;
|
---|
| 7777 | }
|
---|
| 7778 | _ACEOF
|
---|
| 7779 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 7780 | if { (ac_try="$ac_link"
|
---|
| 7781 | case "(($ac_try" in
|
---|
| 7782 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7783 | *) ac_try_echo=$ac_try;;
|
---|
| 7784 | esac
|
---|
| 7785 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 7786 | $as_echo "$ac_try_echo") >&5
|
---|
| 7787 | (eval "$ac_link") 2>conftest.er1
|
---|
| 7788 | ac_status=$?
|
---|
| 7789 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7790 | rm -f conftest.er1
|
---|
| 7791 | cat conftest.err >&5
|
---|
| 7792 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7793 | (exit $ac_status); } && {
|
---|
| 7794 | test -z "$ac_c_werror_flag" ||
|
---|
| 7795 | test ! -s conftest.err
|
---|
| 7796 | } && test -s conftest$ac_exeext && {
|
---|
| 7797 | test "$cross_compiling" = yes ||
|
---|
| 7798 | $as_test_x conftest$ac_exeext
|
---|
| 7799 | }; then
|
---|
| 7800 | ac_cv_func_re_rx_search=yes
|
---|
[3745] | 7801 | else
|
---|
[25148] | 7802 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 7803 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7804 |
|
---|
| 7805 | ac_cv_func_re_rx_search=no
|
---|
| 7806 | fi
|
---|
| 7807 |
|
---|
| 7808 | rm -rf conftest.dSYM
|
---|
| 7809 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 7810 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 7811 | fi
|
---|
| 7812 | { $as_echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
|
---|
| 7813 | $as_echo "$ac_cv_func_re_rx_search" >&6; }
|
---|
| 7814 | if test "x$ac_cv_func_re_rx_search" = x""yes; then
|
---|
| 7815 | :
|
---|
| 7816 | else
|
---|
[23356] | 7817 | case " $LIBOBJS " in
|
---|
[10840] | 7818 | *" rx.$ac_objext "* ) ;;
|
---|
[23356] | 7819 | *) LIBOBJS="$LIBOBJS rx.$ac_objext"
|
---|
| 7820 | ;;
|
---|
[10840] | 7821 | esac
|
---|
| 7822 |
|
---|
[3745] | 7823 | fi
|
---|
| 7824 |
|
---|
| 7825 | fi
|
---|
| 7826 |
|
---|
[10191] | 7827 |
|
---|
[10840] | 7828 | # text for endianness
|
---|
[25148] | 7829 |
|
---|
| 7830 | { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
|
---|
[23356] | 7831 | $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
|
---|
[25148] | 7832 | if test "${ac_cv_c_bigendian+set}" = set; then
|
---|
[23356] | 7833 | $as_echo_n "(cached) " >&6
|
---|
[10840] | 7834 | else
|
---|
[23356] | 7835 | ac_cv_c_bigendian=unknown
|
---|
| 7836 | # See if we're dealing with a universal compiler.
|
---|
[25148] | 7837 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7838 | /* confdefs.h. */
|
---|
| 7839 | _ACEOF
|
---|
| 7840 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7841 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[23356] | 7842 | /* end confdefs.h. */
|
---|
| 7843 | #ifndef __APPLE_CC__
|
---|
| 7844 | not a universal capable compiler
|
---|
| 7845 | #endif
|
---|
| 7846 | typedef int dummy;
|
---|
| 7847 |
|
---|
[10840] | 7848 | _ACEOF
|
---|
[25148] | 7849 | rm -f conftest.$ac_objext
|
---|
| 7850 | if { (ac_try="$ac_compile"
|
---|
| 7851 | case "(($ac_try" in
|
---|
| 7852 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7853 | *) ac_try_echo=$ac_try;;
|
---|
| 7854 | esac
|
---|
| 7855 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 7856 | $as_echo "$ac_try_echo") >&5
|
---|
| 7857 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 7858 | ac_status=$?
|
---|
| 7859 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7860 | rm -f conftest.er1
|
---|
| 7861 | cat conftest.err >&5
|
---|
| 7862 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7863 | (exit $ac_status); } && {
|
---|
| 7864 | test -z "$ac_c_werror_flag" ||
|
---|
| 7865 | test ! -s conftest.err
|
---|
| 7866 | } && test -s conftest.$ac_objext; then
|
---|
[23356] | 7867 |
|
---|
| 7868 | # Check for potential -arch flags. It is not universal unless
|
---|
[25148] | 7869 | # there are some -arch flags. Note that *ppc* also matches
|
---|
| 7870 | # ppc64. This check is also rather less than ideal.
|
---|
| 7871 | case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
|
---|
| 7872 | *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
|
---|
| 7873 | esac
|
---|
| 7874 | else
|
---|
| 7875 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 7876 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7877 |
|
---|
| 7878 |
|
---|
[23356] | 7879 | fi
|
---|
[25148] | 7880 |
|
---|
[23356] | 7881 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 7882 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 7883 | # See if sys/param.h defines the BYTE_ORDER macro.
|
---|
[25148] | 7884 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7885 | /* confdefs.h. */
|
---|
| 7886 | _ACEOF
|
---|
| 7887 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7888 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10840] | 7889 | /* end confdefs.h. */
|
---|
| 7890 | #include <sys/types.h>
|
---|
[23356] | 7891 | #include <sys/param.h>
|
---|
[10840] | 7892 |
|
---|
| 7893 | int
|
---|
| 7894 | main ()
|
---|
| 7895 | {
|
---|
[23356] | 7896 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
|
---|
| 7897 | && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
|
---|
| 7898 | && LITTLE_ENDIAN)
|
---|
| 7899 | bogus endian macros
|
---|
| 7900 | #endif
|
---|
[10840] | 7901 |
|
---|
| 7902 | ;
|
---|
| 7903 | return 0;
|
---|
| 7904 | }
|
---|
| 7905 | _ACEOF
|
---|
[25148] | 7906 | rm -f conftest.$ac_objext
|
---|
| 7907 | if { (ac_try="$ac_compile"
|
---|
| 7908 | case "(($ac_try" in
|
---|
| 7909 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7910 | *) ac_try_echo=$ac_try;;
|
---|
| 7911 | esac
|
---|
| 7912 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 7913 | $as_echo "$ac_try_echo") >&5
|
---|
| 7914 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 7915 | ac_status=$?
|
---|
| 7916 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7917 | rm -f conftest.er1
|
---|
| 7918 | cat conftest.err >&5
|
---|
| 7919 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7920 | (exit $ac_status); } && {
|
---|
| 7921 | test -z "$ac_c_werror_flag" ||
|
---|
| 7922 | test ! -s conftest.err
|
---|
| 7923 | } && test -s conftest.$ac_objext; then
|
---|
[10840] | 7924 | # It does; now see whether it defined to BIG_ENDIAN or not.
|
---|
[25148] | 7925 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7926 | /* confdefs.h. */
|
---|
| 7927 | _ACEOF
|
---|
| 7928 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7929 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10840] | 7930 | /* end confdefs.h. */
|
---|
| 7931 | #include <sys/types.h>
|
---|
[23356] | 7932 | #include <sys/param.h>
|
---|
[10840] | 7933 |
|
---|
| 7934 | int
|
---|
| 7935 | main ()
|
---|
| 7936 | {
|
---|
| 7937 | #if BYTE_ORDER != BIG_ENDIAN
|
---|
[23356] | 7938 | not big endian
|
---|
| 7939 | #endif
|
---|
[10840] | 7940 |
|
---|
| 7941 | ;
|
---|
| 7942 | return 0;
|
---|
| 7943 | }
|
---|
| 7944 | _ACEOF
|
---|
[25148] | 7945 | rm -f conftest.$ac_objext
|
---|
| 7946 | if { (ac_try="$ac_compile"
|
---|
| 7947 | case "(($ac_try" in
|
---|
| 7948 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7949 | *) ac_try_echo=$ac_try;;
|
---|
| 7950 | esac
|
---|
| 7951 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 7952 | $as_echo "$ac_try_echo") >&5
|
---|
| 7953 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 7954 | ac_status=$?
|
---|
| 7955 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7956 | rm -f conftest.er1
|
---|
| 7957 | cat conftest.err >&5
|
---|
| 7958 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7959 | (exit $ac_status); } && {
|
---|
| 7960 | test -z "$ac_c_werror_flag" ||
|
---|
| 7961 | test ! -s conftest.err
|
---|
| 7962 | } && test -s conftest.$ac_objext; then
|
---|
[10840] | 7963 | ac_cv_c_bigendian=yes
|
---|
| 7964 | else
|
---|
[25148] | 7965 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 7966 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7967 |
|
---|
| 7968 | ac_cv_c_bigendian=no
|
---|
[10840] | 7969 | fi
|
---|
[25148] | 7970 |
|
---|
[23356] | 7971 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[25148] | 7972 | else
|
---|
| 7973 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 7974 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7975 |
|
---|
| 7976 |
|
---|
[23356] | 7977 | fi
|
---|
[25148] | 7978 |
|
---|
[23356] | 7979 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 7980 | fi
|
---|
| 7981 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 7982 | # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
|
---|
[25148] | 7983 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7984 | /* confdefs.h. */
|
---|
| 7985 | _ACEOF
|
---|
| 7986 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7987 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[23356] | 7988 | /* end confdefs.h. */
|
---|
| 7989 | #include <limits.h>
|
---|
[10840] | 7990 |
|
---|
[23356] | 7991 | int
|
---|
| 7992 | main ()
|
---|
| 7993 | {
|
---|
| 7994 | #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
|
---|
| 7995 | bogus endian macros
|
---|
| 7996 | #endif
|
---|
| 7997 |
|
---|
| 7998 | ;
|
---|
| 7999 | return 0;
|
---|
| 8000 | }
|
---|
[10840] | 8001 | _ACEOF
|
---|
[25148] | 8002 | rm -f conftest.$ac_objext
|
---|
| 8003 | if { (ac_try="$ac_compile"
|
---|
| 8004 | case "(($ac_try" in
|
---|
| 8005 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 8006 | *) ac_try_echo=$ac_try;;
|
---|
| 8007 | esac
|
---|
| 8008 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 8009 | $as_echo "$ac_try_echo") >&5
|
---|
| 8010 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 8011 | ac_status=$?
|
---|
| 8012 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 8013 | rm -f conftest.er1
|
---|
| 8014 | cat conftest.err >&5
|
---|
| 8015 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 8016 | (exit $ac_status); } && {
|
---|
| 8017 | test -z "$ac_c_werror_flag" ||
|
---|
| 8018 | test ! -s conftest.err
|
---|
| 8019 | } && test -s conftest.$ac_objext; then
|
---|
[23356] | 8020 | # It does; now see whether it defined to _BIG_ENDIAN or not.
|
---|
[25148] | 8021 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 8022 | /* confdefs.h. */
|
---|
| 8023 | _ACEOF
|
---|
| 8024 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 8025 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10840] | 8026 | /* end confdefs.h. */
|
---|
[23356] | 8027 | #include <limits.h>
|
---|
| 8028 |
|
---|
[10840] | 8029 | int
|
---|
| 8030 | main ()
|
---|
| 8031 | {
|
---|
[23356] | 8032 | #ifndef _BIG_ENDIAN
|
---|
| 8033 | not big endian
|
---|
| 8034 | #endif
|
---|
| 8035 |
|
---|
[10840] | 8036 | ;
|
---|
| 8037 | return 0;
|
---|
| 8038 | }
|
---|
| 8039 | _ACEOF
|
---|
[25148] | 8040 | rm -f conftest.$ac_objext
|
---|
| 8041 | if { (ac_try="$ac_compile"
|
---|
| 8042 | case "(($ac_try" in
|
---|
| 8043 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 8044 | *) ac_try_echo=$ac_try;;
|
---|
| 8045 | esac
|
---|
| 8046 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 8047 | $as_echo "$ac_try_echo") >&5
|
---|
| 8048 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 8049 | ac_status=$?
|
---|
| 8050 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 8051 | rm -f conftest.er1
|
---|
| 8052 | cat conftest.err >&5
|
---|
| 8053 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 8054 | (exit $ac_status); } && {
|
---|
| 8055 | test -z "$ac_c_werror_flag" ||
|
---|
| 8056 | test ! -s conftest.err
|
---|
| 8057 | } && test -s conftest.$ac_objext; then
|
---|
[10840] | 8058 | ac_cv_c_bigendian=yes
|
---|
[23356] | 8059 | else
|
---|
[25148] | 8060 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 8061 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 8062 |
|
---|
| 8063 | ac_cv_c_bigendian=no
|
---|
[10840] | 8064 | fi
|
---|
[25148] | 8065 |
|
---|
[23356] | 8066 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[25148] | 8067 | else
|
---|
| 8068 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 8069 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 8070 |
|
---|
| 8071 |
|
---|
[10840] | 8072 | fi
|
---|
[25148] | 8073 |
|
---|
[23356] | 8074 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 8075 | fi
|
---|
| 8076 | if test $ac_cv_c_bigendian = unknown; then
|
---|
| 8077 | # Compile a test program.
|
---|
[25148] | 8078 | if test "$cross_compiling" = yes; then
|
---|
[23356] | 8079 | # Try to guess by grepping values from an object file.
|
---|
[25148] | 8080 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 8081 | /* confdefs.h. */
|
---|
| 8082 | _ACEOF
|
---|
| 8083 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 8084 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[23356] | 8085 | /* end confdefs.h. */
|
---|
| 8086 | short int ascii_mm[] =
|
---|
| 8087 | { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
---|
| 8088 | short int ascii_ii[] =
|
---|
| 8089 | { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
---|
| 8090 | int use_ascii (int i) {
|
---|
| 8091 | return ascii_mm[i] + ascii_ii[i];
|
---|
| 8092 | }
|
---|
| 8093 | short int ebcdic_ii[] =
|
---|
| 8094 | { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
---|
| 8095 | short int ebcdic_mm[] =
|
---|
| 8096 | { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
---|
| 8097 | int use_ebcdic (int i) {
|
---|
| 8098 | return ebcdic_mm[i] + ebcdic_ii[i];
|
---|
| 8099 | }
|
---|
| 8100 | extern int foo;
|
---|
[10840] | 8101 |
|
---|
[23356] | 8102 | int
|
---|
| 8103 | main ()
|
---|
| 8104 | {
|
---|
| 8105 | return use_ascii (foo) == use_ebcdic (foo);
|
---|
| 8106 | ;
|
---|
| 8107 | return 0;
|
---|
| 8108 | }
|
---|
| 8109 | _ACEOF
|
---|
[25148] | 8110 | rm -f conftest.$ac_objext
|
---|
| 8111 | if { (ac_try="$ac_compile"
|
---|
| 8112 | case "(($ac_try" in
|
---|
| 8113 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 8114 | *) ac_try_echo=$ac_try;;
|
---|
| 8115 | esac
|
---|
| 8116 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 8117 | $as_echo "$ac_try_echo") >&5
|
---|
| 8118 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 8119 | ac_status=$?
|
---|
| 8120 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 8121 | rm -f conftest.er1
|
---|
| 8122 | cat conftest.err >&5
|
---|
| 8123 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 8124 | (exit $ac_status); } && {
|
---|
| 8125 | test -z "$ac_c_werror_flag" ||
|
---|
| 8126 | test ! -s conftest.err
|
---|
| 8127 | } && test -s conftest.$ac_objext; then
|
---|
[23356] | 8128 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
|
---|
| 8129 | ac_cv_c_bigendian=yes
|
---|
| 8130 | fi
|
---|
| 8131 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
---|
| 8132 | if test "$ac_cv_c_bigendian" = unknown; then
|
---|
| 8133 | ac_cv_c_bigendian=no
|
---|
| 8134 | else
|
---|
| 8135 | # finding both strings is unlikely to happen, but who knows?
|
---|
| 8136 | ac_cv_c_bigendian=unknown
|
---|
| 8137 | fi
|
---|
| 8138 | fi
|
---|
[25148] | 8139 | else
|
---|
| 8140 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 8141 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 8142 |
|
---|
| 8143 |
|
---|
[10840] | 8144 | fi
|
---|
[25148] | 8145 |
|
---|
[23356] | 8146 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[10840] | 8147 | else
|
---|
[25148] | 8148 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 8149 | /* confdefs.h. */
|
---|
| 8150 | _ACEOF
|
---|
| 8151 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 8152 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
[10840] | 8153 | /* end confdefs.h. */
|
---|
[23356] | 8154 | $ac_includes_default
|
---|
[10840] | 8155 | int
|
---|
| 8156 | main ()
|
---|
| 8157 | {
|
---|
[23356] | 8158 |
|
---|
| 8159 | /* Are we little or big endian? From Harbison&Steele. */
|
---|
| 8160 | union
|
---|
| 8161 | {
|
---|
| 8162 | long int l;
|
---|
| 8163 | char c[sizeof (long int)];
|
---|
| 8164 | } u;
|
---|
| 8165 | u.l = 1;
|
---|
| 8166 | return u.c[sizeof (long int) - 1] == 1;
|
---|
| 8167 |
|
---|
| 8168 | ;
|
---|
| 8169 | return 0;
|
---|
[10840] | 8170 | }
|
---|
| 8171 | _ACEOF
|
---|
[25148] | 8172 | rm -f conftest$ac_exeext
|
---|
| 8173 | if { (ac_try="$ac_link"
|
---|
| 8174 | case "(($ac_try" in
|
---|
| 8175 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 8176 | *) ac_try_echo=$ac_try;;
|
---|
| 8177 | esac
|
---|
| 8178 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 8179 | $as_echo "$ac_try_echo") >&5
|
---|
| 8180 | (eval "$ac_link") 2>&5
|
---|
| 8181 | ac_status=$?
|
---|
| 8182 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 8183 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
| 8184 | { (case "(($ac_try" in
|
---|
| 8185 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 8186 | *) ac_try_echo=$ac_try;;
|
---|
| 8187 | esac
|
---|
| 8188 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
---|
| 8189 | $as_echo "$ac_try_echo") >&5
|
---|
| 8190 | (eval "$ac_try") 2>&5
|
---|
| 8191 | ac_status=$?
|
---|
| 8192 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 8193 | (exit $ac_status); }; }; then
|
---|
[10840] | 8194 | ac_cv_c_bigendian=no
|
---|
| 8195 | else
|
---|
[25148] | 8196 | $as_echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 8197 | $as_echo "$as_me: failed program was:" >&5
|
---|
| 8198 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 8199 |
|
---|
| 8200 | ( exit $ac_status )
|
---|
| 8201 | ac_cv_c_bigendian=yes
|
---|
[10840] | 8202 | fi
|
---|
[25148] | 8203 | rm -rf conftest.dSYM
|
---|
| 8204 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[10840] | 8205 | fi
|
---|
[23356] | 8206 |
|
---|
[25148] | 8207 |
|
---|
[23356] | 8208 | fi
|
---|
[10840] | 8209 | fi
|
---|
[25148] | 8210 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
|
---|
[23356] | 8211 | $as_echo "$ac_cv_c_bigendian" >&6; }
|
---|
| 8212 | case $ac_cv_c_bigendian in #(
|
---|
| 8213 | yes)
|
---|
[25148] | 8214 | cat >>confdefs.h <<\_ACEOF
|
---|
| 8215 | #define WORDS_BIGENDIAN 1
|
---|
| 8216 | _ACEOF
|
---|
[23356] | 8217 | ;; #(
|
---|
| 8218 | no)
|
---|
| 8219 | ;; #(
|
---|
| 8220 | universal)
|
---|
[10840] | 8221 |
|
---|
[25148] | 8222 | cat >>confdefs.h <<\_ACEOF
|
---|
| 8223 | #define AC_APPLE_UNIVERSAL_BUILD 1
|
---|
| 8224 | _ACEOF
|
---|
[10840] | 8225 |
|
---|
[23356] | 8226 | ;; #(
|
---|
| 8227 | *)
|
---|
[25148] | 8228 | { { $as_echo "$as_me:$LINENO: error: unknown endianness
|
---|
| 8229 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5
|
---|
| 8230 | $as_echo "$as_me: error: unknown endianness
|
---|
| 8231 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
|
---|
| 8232 | { (exit 1); exit 1; }; } ;;
|
---|
[23356] | 8233 | esac
|
---|
[10840] | 8234 |
|
---|
[23356] | 8235 |
|
---|
[3745] | 8236 | # ---------------------------------------------------------------------------
|
---|
| 8237 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[23356] | 8238 | case " $LIBOBJS " in
|
---|
[10191] | 8239 | *" xmalloc.$ac_objext "* ) ;;
|
---|
[23356] | 8240 | *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
|
---|
| 8241 | ;;
|
---|
[10191] | 8242 | esac
|
---|
| 8243 |
|
---|
[23356] | 8244 | case " $LIBOBJS " in
|
---|
[10191] | 8245 | *" error.$ac_objext "* ) ;;
|
---|
[23356] | 8246 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 8247 | ;;
|
---|
[10191] | 8248 | esac
|
---|
| 8249 |
|
---|
[3745] | 8250 | fi
|
---|
| 8251 |
|
---|
[10191] | 8252 |
|
---|
[3745] | 8253 | # ---------------------------------------------------------------------------
|
---|
| 8254 |
|
---|
[23356] | 8255 | ac_config_files="$ac_config_files Makefile src/text/Makefile lib/Makefile jni/Makefile java/org/greenstone/mg/Makefile"
|
---|
| 8256 |
|
---|
| 8257 | ac_config_commands="$ac_config_commands default"
|
---|
| 8258 |
|
---|
[3745] | 8259 | cat >confcache <<\_ACEOF
|
---|
| 8260 | # This file is a shell script that caches the results of configure
|
---|
| 8261 | # tests run on this system so they can be shared between configure
|
---|
| 8262 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 8263 | # It is not useful on other systems. If it contains results you don't
|
---|
| 8264 | # want to keep, you may remove or edit it.
|
---|
| 8265 | #
|
---|
| 8266 | # config.status only pays attention to the cache file if you give it
|
---|
| 8267 | # the --recheck option to rerun configure.
|
---|
| 8268 | #
|
---|
[10191] | 8269 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
[3745] | 8270 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 8271 | # following values.
|
---|
| 8272 |
|
---|
| 8273 | _ACEOF
|
---|
| 8274 |
|
---|
| 8275 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 8276 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
[23356] | 8277 | # So, we kill variables containing newlines.
|
---|
[3745] | 8278 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 8279 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
[23356] | 8280 | (
|
---|
| 8281 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
| 8282 | eval ac_val=\$$ac_var
|
---|
| 8283 | case $ac_val in #(
|
---|
| 8284 | *${as_nl}*)
|
---|
| 8285 | case $ac_var in #(
|
---|
[25148] | 8286 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
---|
[23356] | 8287 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
---|
| 8288 | esac
|
---|
| 8289 | case $ac_var in #(
|
---|
| 8290 | _ | IFS | as_nl) ;; #(
|
---|
| 8291 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
---|
[25148] | 8292 | *) $as_unset $ac_var ;;
|
---|
[23356] | 8293 | esac ;;
|
---|
| 8294 | esac
|
---|
| 8295 | done
|
---|
| 8296 |
|
---|
[3745] | 8297 | (set) 2>&1 |
|
---|
[23356] | 8298 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
| 8299 | *${as_nl}ac_space=\ *)
|
---|
[25148] | 8300 | # `set' does not quote correctly, so add quotes (double-quote
|
---|
| 8301 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
---|
[3745] | 8302 | sed -n \
|
---|
[10191] | 8303 | "s/'/'\\\\''/g;
|
---|
| 8304 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
[23356] | 8305 | ;; #(
|
---|
[3745] | 8306 | *)
|
---|
| 8307 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
[23356] | 8308 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[3745] | 8309 | ;;
|
---|
[23356] | 8310 | esac |
|
---|
| 8311 | sort
|
---|
| 8312 | ) |
|
---|
[3745] | 8313 | sed '
|
---|
[23356] | 8314 | /^ac_cv_env_/b end
|
---|
[3745] | 8315 | t clear
|
---|
[23356] | 8316 | :clear
|
---|
[3745] | 8317 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 8318 | t end
|
---|
[23356] | 8319 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 8320 | :end' >>confcache
|
---|
| 8321 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
| 8322 | if test -w "$cache_file"; then
|
---|
| 8323 | test "x$cache_file" != "x/dev/null" &&
|
---|
[25148] | 8324 | { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
---|
[23356] | 8325 | $as_echo "$as_me: updating cache $cache_file" >&6;}
|
---|
[3745] | 8326 | cat confcache >$cache_file
|
---|
| 8327 | else
|
---|
[25148] | 8328 | { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
---|
[23356] | 8329 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
[3745] | 8330 | fi
|
---|
| 8331 | fi
|
---|
| 8332 | rm -f confcache
|
---|
| 8333 |
|
---|
| 8334 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 8335 | # Let make expand exec_prefix.
|
---|
| 8336 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 8337 |
|
---|
| 8338 | DEFS=-DHAVE_CONFIG_H
|
---|
| 8339 |
|
---|
[10191] | 8340 | ac_libobjs=
|
---|
| 8341 | ac_ltlibobjs=
|
---|
| 8342 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 8343 | # 1. Remove the extension, and $U if already installed.
|
---|
[23356] | 8344 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
| 8345 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
---|
| 8346 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
| 8347 | # will be set to the directory where LIBOBJS objects are built.
|
---|
[25148] | 8348 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
| 8349 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
[10191] | 8350 | done
|
---|
| 8351 | LIBOBJS=$ac_libobjs
|
---|
| 8352 |
|
---|
| 8353 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 8354 |
|
---|
| 8355 |
|
---|
| 8356 |
|
---|
[23356] | 8357 |
|
---|
[3745] | 8358 | : ${CONFIG_STATUS=./config.status}
|
---|
[23356] | 8359 | ac_write_fail=0
|
---|
[3745] | 8360 | ac_clean_files_save=$ac_clean_files
|
---|
| 8361 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
[25148] | 8362 | { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
---|
[23356] | 8363 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
[25148] | 8364 | cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[3745] | 8365 | #! $SHELL
|
---|
[10191] | 8366 | # Generated by $as_me.
|
---|
[3745] | 8367 | # Run this file to recreate the current configuration.
|
---|
| 8368 | # Compiler output produced by configure, useful for debugging
|
---|
| 8369 | # configure, is in config.log if it exists.
|
---|
| 8370 |
|
---|
| 8371 | debug=false
|
---|
[10191] | 8372 | ac_cs_recheck=false
|
---|
| 8373 | ac_cs_silent=false
|
---|
[3745] | 8374 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
[25148] | 8375 | _ACEOF
|
---|
[3745] | 8376 |
|
---|
[25148] | 8377 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 8378 | ## --------------------- ##
|
---|
| 8379 | ## M4sh Initialization. ##
|
---|
| 8380 | ## --------------------- ##
|
---|
| 8381 |
|
---|
[23356] | 8382 | # Be more Bourne compatible
|
---|
| 8383 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[25148] | 8384 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
[3745] | 8385 | emulate sh
|
---|
| 8386 | NULLCMD=:
|
---|
[23356] | 8387 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
---|
[10191] | 8388 | # is contrary to our usage. Disable this feature.
|
---|
| 8389 | alias -g '${1+"$@"}'='"$@"'
|
---|
[23356] | 8390 | setopt NO_GLOB_SUBST
|
---|
| 8391 | else
|
---|
[25148] | 8392 | case `(set -o) 2>/dev/null` in
|
---|
| 8393 | *posix*) set -o posix ;;
|
---|
[23356] | 8394 | esac
|
---|
[25148] | 8395 |
|
---|
[3745] | 8396 | fi
|
---|
| 8397 |
|
---|
[23356] | 8398 |
|
---|
[25148] | 8399 |
|
---|
| 8400 |
|
---|
| 8401 | # PATH needs CR
|
---|
| 8402 | # Avoid depending upon Character Ranges.
|
---|
| 8403 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 8404 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 8405 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 8406 | as_cr_digits='0123456789'
|
---|
| 8407 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
| 8408 |
|
---|
[23356] | 8409 | as_nl='
|
---|
| 8410 | '
|
---|
| 8411 | export as_nl
|
---|
| 8412 | # Printing a long string crashes Solaris 7 /usr/bin/printf.
|
---|
| 8413 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
---|
| 8414 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
| 8415 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
---|
[25148] | 8416 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
---|
[23356] | 8417 | as_echo='printf %s\n'
|
---|
| 8418 | as_echo_n='printf %s'
|
---|
[10191] | 8419 | else
|
---|
[23356] | 8420 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
---|
| 8421 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
---|
| 8422 | as_echo_n='/usr/ucb/echo -n'
|
---|
| 8423 | else
|
---|
| 8424 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
---|
| 8425 | as_echo_n_body='eval
|
---|
| 8426 | arg=$1;
|
---|
[25148] | 8427 | case $arg in
|
---|
[23356] | 8428 | *"$as_nl"*)
|
---|
| 8429 | expr "X$arg" : "X\\(.*\\)$as_nl";
|
---|
| 8430 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
---|
| 8431 | esac;
|
---|
| 8432 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
---|
| 8433 | '
|
---|
| 8434 | export as_echo_n_body
|
---|
| 8435 | as_echo_n='sh -c $as_echo_n_body as_echo'
|
---|
| 8436 | fi
|
---|
| 8437 | export as_echo_body
|
---|
| 8438 | as_echo='sh -c $as_echo_body as_echo'
|
---|
[10191] | 8439 | fi
|
---|
| 8440 |
|
---|
[23356] | 8441 | # The user is always right.
|
---|
| 8442 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 8443 | PATH_SEPARATOR=:
|
---|
| 8444 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
---|
| 8445 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
---|
| 8446 | PATH_SEPARATOR=';'
|
---|
| 8447 | }
|
---|
| 8448 | fi
|
---|
[10191] | 8449 |
|
---|
[25148] | 8450 | # Support unset when possible.
|
---|
| 8451 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
| 8452 | as_unset=unset
|
---|
| 8453 | else
|
---|
| 8454 | as_unset=false
|
---|
| 8455 | fi
|
---|
[23356] | 8456 |
|
---|
[25148] | 8457 |
|
---|
[23356] | 8458 | # IFS
|
---|
| 8459 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 8460 | # there to prevent editors from complaining about space-tab.
|
---|
| 8461 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 8462 | # splitting by setting IFS to empty value.)
|
---|
| 8463 | IFS=" "" $as_nl"
|
---|
| 8464 |
|
---|
| 8465 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
[25148] | 8466 | case $0 in
|
---|
[23356] | 8467 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 8468 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 8469 | for as_dir in $PATH
|
---|
| 8470 | do
|
---|
| 8471 | IFS=$as_save_IFS
|
---|
| 8472 | test -z "$as_dir" && as_dir=.
|
---|
[25148] | 8473 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 8474 | done
|
---|
[23356] | 8475 | IFS=$as_save_IFS
|
---|
| 8476 |
|
---|
| 8477 | ;;
|
---|
| 8478 | esac
|
---|
| 8479 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 8480 | # in which case we are not to be found in the path.
|
---|
| 8481 | if test "x$as_myself" = x; then
|
---|
| 8482 | as_myself=$0
|
---|
| 8483 | fi
|
---|
| 8484 | if test ! -f "$as_myself"; then
|
---|
| 8485 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
[25148] | 8486 | { (exit 1); exit 1; }
|
---|
[23356] | 8487 | fi
|
---|
| 8488 |
|
---|
[25148] | 8489 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
| 8490 | for as_var in ENV MAIL MAILPATH
|
---|
| 8491 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
[23356] | 8492 | done
|
---|
[10191] | 8493 | PS1='$ '
|
---|
| 8494 | PS2='> '
|
---|
| 8495 | PS4='+ '
|
---|
| 8496 |
|
---|
| 8497 | # NLS nuisances.
|
---|
[23356] | 8498 | LC_ALL=C
|
---|
| 8499 | export LC_ALL
|
---|
| 8500 | LANGUAGE=C
|
---|
| 8501 | export LANGUAGE
|
---|
| 8502 |
|
---|
[25148] | 8503 | # Required to use basename.
|
---|
[23356] | 8504 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 8505 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[10191] | 8506 | as_expr=expr
|
---|
| 8507 | else
|
---|
| 8508 | as_expr=false
|
---|
| 8509 | fi
|
---|
| 8510 |
|
---|
[23356] | 8511 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[10191] | 8512 | as_basename=basename
|
---|
| 8513 | else
|
---|
| 8514 | as_basename=false
|
---|
| 8515 | fi
|
---|
| 8516 |
|
---|
| 8517 |
|
---|
[25148] | 8518 | # Name of the executable.
|
---|
[23356] | 8519 | as_me=`$as_basename -- "$0" ||
|
---|
[10191] | 8520 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 8521 | X"$0" : 'X\(//\)$' \| \
|
---|
[23356] | 8522 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 8523 | $as_echo X/"$0" |
|
---|
| 8524 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 8525 | s//\1/
|
---|
| 8526 | q
|
---|
| 8527 | }
|
---|
| 8528 | /^X\/\(\/\/\)$/{
|
---|
| 8529 | s//\1/
|
---|
| 8530 | q
|
---|
| 8531 | }
|
---|
| 8532 | /^X\/\(\/\).*/{
|
---|
| 8533 | s//\1/
|
---|
| 8534 | q
|
---|
| 8535 | }
|
---|
| 8536 | s/.*/./; q'`
|
---|
[3745] | 8537 |
|
---|
[25148] | 8538 | # CDPATH.
|
---|
| 8539 | $as_unset CDPATH
|
---|
[10191] | 8540 |
|
---|
[25148] | 8541 |
|
---|
| 8542 |
|
---|
| 8543 | as_lineno_1=$LINENO
|
---|
| 8544 | as_lineno_2=$LINENO
|
---|
| 8545 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 8546 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
---|
| 8547 |
|
---|
| 8548 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
| 8549 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
| 8550 | # line-number line after each line using $LINENO; the second 'sed'
|
---|
| 8551 | # does the real work. The second script uses 'N' to pair each
|
---|
| 8552 | # line-number line with the line containing $LINENO, and appends
|
---|
| 8553 | # trailing '-' during substitution so that $LINENO is not a special
|
---|
| 8554 | # case at line end.
|
---|
| 8555 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
| 8556 | # scripts with optimization help from Paolo Bonzini. Blame Lee
|
---|
| 8557 | # E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
| 8558 | sed -n '
|
---|
| 8559 | p
|
---|
| 8560 | /[$]LINENO/=
|
---|
| 8561 | ' <$as_myself |
|
---|
| 8562 | sed '
|
---|
| 8563 | s/[$]LINENO.*/&-/
|
---|
| 8564 | t lineno
|
---|
| 8565 | b
|
---|
| 8566 | :lineno
|
---|
| 8567 | N
|
---|
| 8568 | :loop
|
---|
| 8569 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
| 8570 | t loop
|
---|
| 8571 | s/-\n.*//
|
---|
| 8572 | ' >$as_me.lineno &&
|
---|
| 8573 | chmod +x "$as_me.lineno" ||
|
---|
| 8574 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
---|
| 8575 | { (exit 1); exit 1; }; }
|
---|
| 8576 |
|
---|
| 8577 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 8578 | # (the dirname of $[0] is not the place where we might find the
|
---|
| 8579 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 8580 | . "./$as_me.lineno"
|
---|
| 8581 | # Exit status is that of the last command.
|
---|
| 8582 | exit
|
---|
| 8583 | }
|
---|
| 8584 |
|
---|
| 8585 |
|
---|
| 8586 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 8587 | as_dirname=dirname
|
---|
| 8588 | else
|
---|
| 8589 | as_dirname=false
|
---|
| 8590 | fi
|
---|
| 8591 |
|
---|
[23356] | 8592 | ECHO_C= ECHO_N= ECHO_T=
|
---|
[25148] | 8593 | case `echo -n x` in
|
---|
[23356] | 8594 | -n*)
|
---|
[25148] | 8595 | case `echo 'x\c'` in
|
---|
[23356] | 8596 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
[25148] | 8597 | *) ECHO_C='\c';;
|
---|
[23356] | 8598 | esac;;
|
---|
| 8599 | *)
|
---|
| 8600 | ECHO_N='-n';;
|
---|
[10191] | 8601 | esac
|
---|
[25148] | 8602 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 8603 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
| 8604 | as_expr=expr
|
---|
| 8605 | else
|
---|
| 8606 | as_expr=false
|
---|
| 8607 | fi
|
---|
[10191] | 8608 |
|
---|
[23356] | 8609 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
| 8610 | if test -d conf$$.dir; then
|
---|
| 8611 | rm -f conf$$.dir/conf$$.file
|
---|
[3745] | 8612 | else
|
---|
[23356] | 8613 | rm -f conf$$.dir
|
---|
| 8614 | mkdir conf$$.dir 2>/dev/null
|
---|
[3745] | 8615 | fi
|
---|
[23356] | 8616 | if (echo >conf$$.file) 2>/dev/null; then
|
---|
| 8617 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 8618 | as_ln_s='ln -s'
|
---|
| 8619 | # ... but there are two gotchas:
|
---|
| 8620 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 8621 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 8622 | # In both cases, we have to default to `cp -p'.
|
---|
| 8623 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
| 8624 | as_ln_s='cp -p'
|
---|
| 8625 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 8626 | as_ln_s=ln
|
---|
| 8627 | else
|
---|
[3745] | 8628 | as_ln_s='cp -p'
|
---|
| 8629 | fi
|
---|
| 8630 | else
|
---|
| 8631 | as_ln_s='cp -p'
|
---|
| 8632 | fi
|
---|
[23356] | 8633 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 8634 | rmdir conf$$.dir 2>/dev/null
|
---|
[3745] | 8635 |
|
---|
[10191] | 8636 | if mkdir -p . 2>/dev/null; then
|
---|
[25148] | 8637 | as_mkdir_p=:
|
---|
[3745] | 8638 | else
|
---|
[10191] | 8639 | test -d ./-p && rmdir ./-p
|
---|
| 8640 | as_mkdir_p=false
|
---|
[3745] | 8641 | fi
|
---|
| 8642 |
|
---|
[23356] | 8643 | if test -x / >/dev/null 2>&1; then
|
---|
| 8644 | as_test_x='test -x'
|
---|
| 8645 | else
|
---|
| 8646 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 8647 | as_ls_L_option=L
|
---|
| 8648 | else
|
---|
| 8649 | as_ls_L_option=
|
---|
| 8650 | fi
|
---|
| 8651 | as_test_x='
|
---|
| 8652 | eval sh -c '\''
|
---|
| 8653 | if test -d "$1"; then
|
---|
| 8654 | test -d "$1/.";
|
---|
| 8655 | else
|
---|
[25148] | 8656 | case $1 in
|
---|
[23356] | 8657 | -*)set "./$1";;
|
---|
| 8658 | esac;
|
---|
[25148] | 8659 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
---|
[23356] | 8660 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 8661 | '\'' sh
|
---|
| 8662 | '
|
---|
| 8663 | fi
|
---|
| 8664 | as_executable_p=$as_test_x
|
---|
[3745] | 8665 |
|
---|
[10191] | 8666 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 8667 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 8668 |
|
---|
| 8669 | # Sed expression to map a string onto a valid variable name.
|
---|
| 8670 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 8671 |
|
---|
| 8672 |
|
---|
[3745] | 8673 | exec 6>&1
|
---|
| 8674 |
|
---|
[25148] | 8675 | # Save the log message, to keep $[0] and so on meaningful, and to
|
---|
[10191] | 8676 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
[23356] | 8677 | # values after options handling.
|
---|
| 8678 | ac_log="
|
---|
[10191] | 8679 | This file was extended by $as_me, which was
|
---|
[25148] | 8680 | generated by GNU Autoconf 2.63. Invocation command line was
|
---|
[10191] | 8681 |
|
---|
| 8682 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 8683 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 8684 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 8685 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 8686 | $ $0 $@
|
---|
| 8687 |
|
---|
[23356] | 8688 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 8689 | "
|
---|
| 8690 |
|
---|
[3745] | 8691 | _ACEOF
|
---|
| 8692 |
|
---|
[23356] | 8693 | case $ac_config_files in *"
|
---|
| 8694 | "*) set x $ac_config_files; shift; ac_config_files=$*;;
|
---|
| 8695 | esac
|
---|
[3745] | 8696 |
|
---|
[23356] | 8697 | case $ac_config_headers in *"
|
---|
| 8698 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
---|
| 8699 | esac
|
---|
[3745] | 8700 |
|
---|
| 8701 |
|
---|
[23356] | 8702 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 8703 | # Files that config.status was made for.
|
---|
| 8704 | config_files="$ac_config_files"
|
---|
| 8705 | config_headers="$ac_config_headers"
|
---|
| 8706 | config_commands="$ac_config_commands"
|
---|
[3745] | 8707 |
|
---|
[23356] | 8708 | _ACEOF
|
---|
[3745] | 8709 |
|
---|
[23356] | 8710 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[3745] | 8711 | ac_cs_usage="\
|
---|
[25148] | 8712 | \`$as_me' instantiates files from templates according to the
|
---|
| 8713 | current configuration.
|
---|
[3745] | 8714 |
|
---|
[25148] | 8715 | Usage: $0 [OPTION]... [FILE]...
|
---|
[3745] | 8716 |
|
---|
| 8717 | -h, --help print this help, then exit
|
---|
[23356] | 8718 | -V, --version print version number and configuration settings, then exit
|
---|
| 8719 | -q, --quiet, --silent
|
---|
| 8720 | do not print progress messages
|
---|
[3745] | 8721 | -d, --debug don't remove temporary files
|
---|
| 8722 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
[23356] | 8723 | --file=FILE[:TEMPLATE]
|
---|
| 8724 | instantiate the configuration file FILE
|
---|
| 8725 | --header=FILE[:TEMPLATE]
|
---|
| 8726 | instantiate the configuration header FILE
|
---|
[3745] | 8727 |
|
---|
| 8728 | Configuration files:
|
---|
| 8729 | $config_files
|
---|
| 8730 |
|
---|
| 8731 | Configuration headers:
|
---|
| 8732 | $config_headers
|
---|
| 8733 |
|
---|
| 8734 | Configuration commands:
|
---|
| 8735 | $config_commands
|
---|
| 8736 |
|
---|
[25148] | 8737 | Report bugs to <[email protected]>."
|
---|
[23356] | 8738 |
|
---|
[10191] | 8739 | _ACEOF
|
---|
[23356] | 8740 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[3745] | 8741 | ac_cs_version="\\
|
---|
| 8742 | config.status
|
---|
[25148] | 8743 | configured by $0, generated by GNU Autoconf 2.63,
|
---|
| 8744 | with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
---|
[3745] | 8745 |
|
---|
[25148] | 8746 | Copyright (C) 2008 Free Software Foundation, Inc.
|
---|
[3745] | 8747 | This config.status script is free software; the Free Software Foundation
|
---|
| 8748 | gives unlimited permission to copy, distribute and modify it."
|
---|
[23356] | 8749 |
|
---|
| 8750 | ac_pwd='$ac_pwd'
|
---|
| 8751 | srcdir='$srcdir'
|
---|
| 8752 | INSTALL='$INSTALL'
|
---|
| 8753 | AWK='$AWK'
|
---|
| 8754 | test -n "\$AWK" || AWK=awk
|
---|
[10191] | 8755 | _ACEOF
|
---|
[3745] | 8756 |
|
---|
[23356] | 8757 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 8758 | # The default lists apply if the user does not specify any file.
|
---|
[3745] | 8759 | ac_need_defaults=:
|
---|
| 8760 | while test $# != 0
|
---|
| 8761 | do
|
---|
| 8762 | case $1 in
|
---|
[25147] | 8763 | --*=*)
|
---|
[23356] | 8764 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 8765 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
[10191] | 8766 | ac_shift=:
|
---|
[3745] | 8767 | ;;
|
---|
[23356] | 8768 | *)
|
---|
[10191] | 8769 | ac_option=$1
|
---|
| 8770 | ac_optarg=$2
|
---|
| 8771 | ac_shift=shift
|
---|
| 8772 | ;;
|
---|
[3745] | 8773 | esac
|
---|
| 8774 |
|
---|
[10191] | 8775 | case $ac_option in
|
---|
[3745] | 8776 | # Handling of the options.
|
---|
| 8777 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
[10191] | 8778 | ac_cs_recheck=: ;;
|
---|
[23356] | 8779 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
| 8780 | $as_echo "$ac_cs_version"; exit ;;
|
---|
| 8781 | --debug | --debu | --deb | --de | --d | -d )
|
---|
[3745] | 8782 | debug=: ;;
|
---|
| 8783 | --file | --fil | --fi | --f )
|
---|
[10191] | 8784 | $ac_shift
|
---|
[23356] | 8785 | case $ac_optarg in
|
---|
| 8786 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 8787 | esac
|
---|
[25148] | 8788 | CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
|
---|
[3745] | 8789 | ac_need_defaults=false;;
|
---|
| 8790 | --header | --heade | --head | --hea )
|
---|
[10191] | 8791 | $ac_shift
|
---|
[23356] | 8792 | case $ac_optarg in
|
---|
| 8793 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 8794 | esac
|
---|
[25148] | 8795 | CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
|
---|
[3745] | 8796 | ac_need_defaults=false;;
|
---|
[23356] | 8797 | --he | --h)
|
---|
| 8798 | # Conflict between --help and --header
|
---|
[25148] | 8799 | { $as_echo "$as_me: error: ambiguous option: $1
|
---|
| 8800 | Try \`$0 --help' for more information." >&2
|
---|
| 8801 | { (exit 1); exit 1; }; };;
|
---|
[23356] | 8802 | --help | --hel | -h )
|
---|
| 8803 | $as_echo "$ac_cs_usage"; exit ;;
|
---|
[10191] | 8804 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 8805 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 8806 | ac_cs_silent=: ;;
|
---|
[3745] | 8807 |
|
---|
| 8808 | # This is an error.
|
---|
[25148] | 8809 | -*) { $as_echo "$as_me: error: unrecognized option: $1
|
---|
| 8810 | Try \`$0 --help' for more information." >&2
|
---|
| 8811 | { (exit 1); exit 1; }; } ;;
|
---|
[10191] | 8812 |
|
---|
[25148] | 8813 | *) ac_config_targets="$ac_config_targets $1"
|
---|
[23356] | 8814 | ac_need_defaults=false ;;
|
---|
[10191] | 8815 |
|
---|
[3745] | 8816 | esac
|
---|
| 8817 | shift
|
---|
| 8818 | done
|
---|
| 8819 |
|
---|
[10191] | 8820 | ac_configure_extra_args=
|
---|
[3745] | 8821 |
|
---|
[10191] | 8822 | if $ac_cs_silent; then
|
---|
| 8823 | exec 6>/dev/null
|
---|
| 8824 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
| 8825 | fi
|
---|
[3745] | 8826 |
|
---|
[10191] | 8827 | _ACEOF
|
---|
[23356] | 8828 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
[10191] | 8829 | if \$ac_cs_recheck; then
|
---|
[23356] | 8830 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
| 8831 | shift
|
---|
| 8832 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
---|
| 8833 | CONFIG_SHELL='$SHELL'
|
---|
| 8834 | export CONFIG_SHELL
|
---|
| 8835 | exec "\$@"
|
---|
[10191] | 8836 | fi
|
---|
[3745] | 8837 |
|
---|
| 8838 | _ACEOF
|
---|
[23356] | 8839 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 8840 | exec 5>>config.log
|
---|
| 8841 | {
|
---|
| 8842 | echo
|
---|
| 8843 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 8844 | ## Running $as_me. ##
|
---|
| 8845 | _ASBOX
|
---|
| 8846 | $as_echo "$ac_log"
|
---|
| 8847 | } >&5
|
---|
[3745] | 8848 |
|
---|
[23356] | 8849 | _ACEOF
|
---|
| 8850 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 8851 | _ACEOF
|
---|
[10191] | 8852 |
|
---|
[23356] | 8853 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[10191] | 8854 |
|
---|
[23356] | 8855 | # Handling of arguments.
|
---|
[10191] | 8856 | for ac_config_target in $ac_config_targets
|
---|
| 8857 | do
|
---|
[23356] | 8858 | case $ac_config_target in
|
---|
| 8859 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
| 8860 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 8861 | "src/text/Makefile") CONFIG_FILES="$CONFIG_FILES src/text/Makefile" ;;
|
---|
| 8862 | "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
|
---|
| 8863 | "jni/Makefile") CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;;
|
---|
| 8864 | "java/org/greenstone/mg/Makefile") CONFIG_FILES="$CONFIG_FILES java/org/greenstone/mg/Makefile" ;;
|
---|
| 8865 | "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
|
---|
| 8866 |
|
---|
[25148] | 8867 | *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
---|
| 8868 | $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
---|
| 8869 | { (exit 1); exit 1; }; };;
|
---|
[10191] | 8870 | esac
|
---|
| 8871 | done
|
---|
| 8872 |
|
---|
[23356] | 8873 |
|
---|
[3745] | 8874 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 8875 | # then the envvar interface is used. Set only those that are not.
|
---|
| 8876 | # We use the long form for the default assignment because of an extremely
|
---|
| 8877 | # bizarre bug on SunOS 4.1.3.
|
---|
| 8878 | if $ac_need_defaults; then
|
---|
| 8879 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 8880 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 8881 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
---|
| 8882 | fi
|
---|
| 8883 |
|
---|
[10191] | 8884 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
[23356] | 8885 | # simply because there is no reason against having it here, and in addition,
|
---|
[10191] | 8886 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
[23356] | 8887 | # Hook for its removal unless debugging.
|
---|
| 8888 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
| 8889 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
[3745] | 8890 | $debug ||
|
---|
| 8891 | {
|
---|
[23356] | 8892 | tmp=
|
---|
| 8893 | trap 'exit_status=$?
|
---|
| 8894 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
---|
| 8895 | ' 0
|
---|
[25148] | 8896 | trap '{ (exit 1); exit 1; }' 1 2 13 15
|
---|
[3745] | 8897 | }
|
---|
| 8898 | # Create a (secure) tmp directory for tmp files.
|
---|
[10191] | 8899 |
|
---|
[3745] | 8900 | {
|
---|
[23356] | 8901 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
[3745] | 8902 | test -n "$tmp" && test -d "$tmp"
|
---|
| 8903 | } ||
|
---|
| 8904 | {
|
---|
[23356] | 8905 | tmp=./conf$$-$RANDOM
|
---|
| 8906 | (umask 077 && mkdir "$tmp")
|
---|
[25148] | 8907 | } ||
|
---|
| 8908 | {
|
---|
| 8909 | $as_echo "$as_me: cannot create a temporary directory in ." >&2
|
---|
| 8910 | { (exit 1); exit 1; }
|
---|
| 8911 | }
|
---|
[23356] | 8912 |
|
---|
| 8913 | # Set up the scripts for CONFIG_FILES section.
|
---|
| 8914 | # No need to generate them if there are no CONFIG_FILES.
|
---|
| 8915 | # This happens for instance with `./config.status config.h'.
|
---|
| 8916 | if test -n "$CONFIG_FILES"; then
|
---|
| 8917 |
|
---|
| 8918 |
|
---|
[25148] | 8919 | ac_cr='
|
---|
| 8920 | '
|
---|
[23356] | 8921 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
---|
| 8922 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
---|
[25148] | 8923 | ac_cs_awk_cr='\\r'
|
---|
[23356] | 8924 | else
|
---|
| 8925 | ac_cs_awk_cr=$ac_cr
|
---|
| 8926 | fi
|
---|
| 8927 |
|
---|
| 8928 | echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
---|
| 8929 | _ACEOF
|
---|
| 8930 |
|
---|
| 8931 |
|
---|
[3745] | 8932 | {
|
---|
[23356] | 8933 | echo "cat >conf$$subs.awk <<_ACEOF" &&
|
---|
| 8934 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
---|
| 8935 | echo "_ACEOF"
|
---|
| 8936 | } >conf$$subs.sh ||
|
---|
[25148] | 8937 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
---|
| 8938 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
---|
| 8939 | { (exit 1); exit 1; }; }
|
---|
[25147] | 8940 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
---|
[23356] | 8941 | ac_delim='%!_!# '
|
---|
| 8942 | for ac_last_try in false false false false false :; do
|
---|
| 8943 | . ./conf$$subs.sh ||
|
---|
[25148] | 8944 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
---|
| 8945 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
---|
| 8946 | { (exit 1); exit 1; }; }
|
---|
[23356] | 8947 |
|
---|
| 8948 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
---|
| 8949 | if test $ac_delim_n = $ac_delim_num; then
|
---|
| 8950 | break
|
---|
| 8951 | elif $ac_last_try; then
|
---|
[25148] | 8952 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
---|
| 8953 | $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
---|
| 8954 | { (exit 1); exit 1; }; }
|
---|
[23356] | 8955 | else
|
---|
| 8956 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 8957 | fi
|
---|
| 8958 | done
|
---|
| 8959 | rm -f conf$$subs.sh
|
---|
| 8960 |
|
---|
| 8961 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 8962 | cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
---|
| 8963 | _ACEOF
|
---|
| 8964 | sed -n '
|
---|
| 8965 | h
|
---|
| 8966 | s/^/S["/; s/!.*/"]=/
|
---|
| 8967 | p
|
---|
| 8968 | g
|
---|
| 8969 | s/^[^!]*!//
|
---|
| 8970 | :repl
|
---|
| 8971 | t repl
|
---|
| 8972 | s/'"$ac_delim"'$//
|
---|
| 8973 | t delim
|
---|
| 8974 | :nl
|
---|
| 8975 | h
|
---|
[25148] | 8976 | s/\(.\{148\}\).*/\1/
|
---|
[23356] | 8977 | t more1
|
---|
| 8978 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
---|
| 8979 | p
|
---|
| 8980 | n
|
---|
| 8981 | b repl
|
---|
| 8982 | :more1
|
---|
| 8983 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 8984 | p
|
---|
| 8985 | g
|
---|
| 8986 | s/.\{148\}//
|
---|
| 8987 | t nl
|
---|
| 8988 | :delim
|
---|
| 8989 | h
|
---|
[25148] | 8990 | s/\(.\{148\}\).*/\1/
|
---|
[23356] | 8991 | t more2
|
---|
| 8992 | s/["\\]/\\&/g; s/^/"/; s/$/"/
|
---|
| 8993 | p
|
---|
| 8994 | b
|
---|
| 8995 | :more2
|
---|
| 8996 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
---|
| 8997 | p
|
---|
| 8998 | g
|
---|
| 8999 | s/.\{148\}//
|
---|
| 9000 | t delim
|
---|
| 9001 | ' <conf$$subs.awk | sed '
|
---|
| 9002 | /^[^""]/{
|
---|
| 9003 | N
|
---|
| 9004 | s/\n//
|
---|
[3745] | 9005 | }
|
---|
[23356] | 9006 | ' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 9007 | rm -f conf$$subs.awk
|
---|
| 9008 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 9009 | _ACAWK
|
---|
| 9010 | cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
---|
| 9011 | for (key in S) S_is_set[key] = 1
|
---|
| 9012 | FS = ""
|
---|
[3745] | 9013 |
|
---|
[23356] | 9014 | }
|
---|
| 9015 | {
|
---|
| 9016 | line = $ 0
|
---|
| 9017 | nfields = split(line, field, "@")
|
---|
| 9018 | substed = 0
|
---|
| 9019 | len = length(field[1])
|
---|
| 9020 | for (i = 2; i < nfields; i++) {
|
---|
| 9021 | key = field[i]
|
---|
| 9022 | keylen = length(key)
|
---|
| 9023 | if (S_is_set[key]) {
|
---|
| 9024 | value = S[key]
|
---|
| 9025 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
---|
| 9026 | len += length(value) + length(field[++i])
|
---|
| 9027 | substed = 1
|
---|
| 9028 | } else
|
---|
| 9029 | len += 1 + keylen
|
---|
| 9030 | }
|
---|
| 9031 |
|
---|
| 9032 | print line
|
---|
| 9033 | }
|
---|
| 9034 |
|
---|
| 9035 | _ACAWK
|
---|
[10191] | 9036 | _ACEOF
|
---|
[23356] | 9037 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 9038 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
---|
| 9039 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
---|
| 9040 | else
|
---|
| 9041 | cat
|
---|
| 9042 | fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
---|
[25148] | 9043 | || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
|
---|
| 9044 | $as_echo "$as_me: error: could not setup config files machinery" >&2;}
|
---|
| 9045 | { (exit 1); exit 1; }; }
|
---|
[23356] | 9046 | _ACEOF
|
---|
[3745] | 9047 |
|
---|
[25147] | 9048 | # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
---|
| 9049 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
---|
[23356] | 9050 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 9051 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 9052 | if test "x$srcdir" = x.; then
|
---|
[25147] | 9053 | ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
---|
| 9054 | s/:*\$(srcdir):*/:/
|
---|
| 9055 | s/:*\${srcdir}:*/:/
|
---|
| 9056 | s/:*@srcdir@:*/:/
|
---|
| 9057 | s/^\([^=]*=[ ]*\):*/\1/
|
---|
[23356] | 9058 | s/:*$//
|
---|
| 9059 | s/^[^=]*=[ ]*$//
|
---|
| 9060 | }'
|
---|
| 9061 | fi
|
---|
[3745] | 9062 |
|
---|
[23356] | 9063 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 9064 | fi # test -n "$CONFIG_FILES"
|
---|
[3745] | 9065 |
|
---|
[23356] | 9066 | # Set up the scripts for CONFIG_HEADERS section.
|
---|
| 9067 | # No need to generate them if there are no CONFIG_HEADERS.
|
---|
| 9068 | # This happens for instance with `./config.status Makefile'.
|
---|
| 9069 | if test -n "$CONFIG_HEADERS"; then
|
---|
| 9070 | cat >"$tmp/defines.awk" <<\_ACAWK ||
|
---|
| 9071 | BEGIN {
|
---|
[10191] | 9072 | _ACEOF
|
---|
[3745] | 9073 |
|
---|
[23356] | 9074 | # Transform confdefs.h into an awk script `defines.awk', embedded as
|
---|
| 9075 | # here-document in config.status, that substitutes the proper values into
|
---|
| 9076 | # config.h.in to produce config.h.
|
---|
| 9077 |
|
---|
| 9078 | # Create a delimiter string that does not exist in confdefs.h, to ease
|
---|
| 9079 | # handling of long lines.
|
---|
| 9080 | ac_delim='%!_!# '
|
---|
| 9081 | for ac_last_try in false false :; do
|
---|
| 9082 | ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
---|
| 9083 | if test -z "$ac_t"; then
|
---|
| 9084 | break
|
---|
| 9085 | elif $ac_last_try; then
|
---|
[25148] | 9086 | { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
|
---|
| 9087 | $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
|
---|
| 9088 | { (exit 1); exit 1; }; }
|
---|
[23356] | 9089 | else
|
---|
| 9090 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
[3745] | 9091 | fi
|
---|
[23356] | 9092 | done
|
---|
[3745] | 9093 |
|
---|
[23356] | 9094 | # For the awk script, D is an array of macro values keyed by name,
|
---|
| 9095 | # likewise P contains macro parameters if any. Preserve backslash
|
---|
| 9096 | # newline sequences.
|
---|
| 9097 |
|
---|
| 9098 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
---|
| 9099 | sed -n '
|
---|
| 9100 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 9101 | t rset
|
---|
| 9102 | :rset
|
---|
| 9103 | s/^[ ]*#[ ]*define[ ][ ]*/ /
|
---|
| 9104 | t def
|
---|
| 9105 | d
|
---|
| 9106 | :def
|
---|
| 9107 | s/\\$//
|
---|
| 9108 | t bsnl
|
---|
| 9109 | s/["\\]/\\&/g
|
---|
| 9110 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 9111 | D["\1"]=" \3"/p
|
---|
| 9112 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
---|
| 9113 | d
|
---|
| 9114 | :bsnl
|
---|
| 9115 | s/["\\]/\\&/g
|
---|
| 9116 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
---|
| 9117 | D["\1"]=" \3\\\\\\n"\\/p
|
---|
| 9118 | t cont
|
---|
| 9119 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
---|
| 9120 | t cont
|
---|
| 9121 | d
|
---|
| 9122 | :cont
|
---|
| 9123 | n
|
---|
| 9124 | s/.\{148\}/&'"$ac_delim"'/g
|
---|
| 9125 | t clear
|
---|
| 9126 | :clear
|
---|
| 9127 | s/\\$//
|
---|
| 9128 | t bsnlc
|
---|
| 9129 | s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
---|
| 9130 | d
|
---|
| 9131 | :bsnlc
|
---|
| 9132 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
---|
| 9133 | b cont
|
---|
| 9134 | ' <confdefs.h | sed '
|
---|
| 9135 | s/'"$ac_delim"'/"\\\
|
---|
| 9136 | "/g' >>$CONFIG_STATUS || ac_write_fail=1
|
---|
| 9137 |
|
---|
| 9138 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 9139 | for (key in D) D_is_set[key] = 1
|
---|
| 9140 | FS = ""
|
---|
| 9141 | }
|
---|
| 9142 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
---|
| 9143 | line = \$ 0
|
---|
| 9144 | split(line, arg, " ")
|
---|
| 9145 | if (arg[1] == "#") {
|
---|
| 9146 | defundef = arg[2]
|
---|
| 9147 | mac1 = arg[3]
|
---|
| 9148 | } else {
|
---|
| 9149 | defundef = substr(arg[1], 2)
|
---|
| 9150 | mac1 = arg[2]
|
---|
| 9151 | }
|
---|
| 9152 | split(mac1, mac2, "(") #)
|
---|
| 9153 | macro = mac2[1]
|
---|
| 9154 | prefix = substr(line, 1, index(line, defundef) - 1)
|
---|
| 9155 | if (D_is_set[macro]) {
|
---|
| 9156 | # Preserve the white space surrounding the "#".
|
---|
| 9157 | print prefix "define", macro P[macro] D[macro]
|
---|
| 9158 | next
|
---|
| 9159 | } else {
|
---|
| 9160 | # Replace #undef with comments. This is necessary, for example,
|
---|
| 9161 | # in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 9162 | # on some systems where configure will not decide to define it.
|
---|
| 9163 | if (defundef == "undef") {
|
---|
| 9164 | print "/*", prefix defundef, macro, "*/"
|
---|
| 9165 | next
|
---|
| 9166 | }
|
---|
| 9167 | }
|
---|
| 9168 | }
|
---|
| 9169 | { print }
|
---|
| 9170 | _ACAWK
|
---|
[10191] | 9171 | _ACEOF
|
---|
[23356] | 9172 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[25148] | 9173 | { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
|
---|
| 9174 | $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
|
---|
| 9175 | { (exit 1); exit 1; }; }
|
---|
[23356] | 9176 | fi # test -n "$CONFIG_HEADERS"
|
---|
| 9177 |
|
---|
| 9178 |
|
---|
| 9179 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
---|
| 9180 | shift
|
---|
| 9181 | for ac_tag
|
---|
| 9182 | do
|
---|
| 9183 | case $ac_tag in
|
---|
| 9184 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
[3745] | 9185 | esac
|
---|
[23356] | 9186 | case $ac_mode$ac_tag in
|
---|
| 9187 | :[FHL]*:*);;
|
---|
[25148] | 9188 | :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
|
---|
| 9189 | $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
|
---|
| 9190 | { (exit 1); exit 1; }; };;
|
---|
[23356] | 9191 | :[FH]-) ac_tag=-:-;;
|
---|
| 9192 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
| 9193 | esac
|
---|
| 9194 | ac_save_IFS=$IFS
|
---|
| 9195 | IFS=:
|
---|
| 9196 | set x $ac_tag
|
---|
| 9197 | IFS=$ac_save_IFS
|
---|
| 9198 | shift
|
---|
| 9199 | ac_file=$1
|
---|
| 9200 | shift
|
---|
[3745] | 9201 |
|
---|
[23356] | 9202 | case $ac_mode in
|
---|
| 9203 | :L) ac_source=$1;;
|
---|
| 9204 | :[FH])
|
---|
| 9205 | ac_file_inputs=
|
---|
| 9206 | for ac_f
|
---|
| 9207 | do
|
---|
| 9208 | case $ac_f in
|
---|
| 9209 | -) ac_f="$tmp/stdin";;
|
---|
| 9210 | *) # Look for the file first in the build tree, then in the source tree
|
---|
| 9211 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
| 9212 | # because $ac_f cannot contain `:'.
|
---|
| 9213 | test -f "$ac_f" ||
|
---|
| 9214 | case $ac_f in
|
---|
| 9215 | [\\/$]*) false;;
|
---|
| 9216 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
| 9217 | esac ||
|
---|
[25148] | 9218 | { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
---|
| 9219 | $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
---|
| 9220 | { (exit 1); exit 1; }; };;
|
---|
[23356] | 9221 | esac
|
---|
| 9222 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
---|
[25148] | 9223 | ac_file_inputs="$ac_file_inputs '$ac_f'"
|
---|
[23356] | 9224 | done
|
---|
| 9225 |
|
---|
| 9226 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 9227 | # use $as_me), people would be surprised to read:
|
---|
| 9228 | # /* config.h. Generated by config.status. */
|
---|
| 9229 | configure_input='Generated from '`
|
---|
| 9230 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
---|
| 9231 | `' by configure.'
|
---|
| 9232 | if test x"$ac_file" != x-; then
|
---|
| 9233 | configure_input="$ac_file. $configure_input"
|
---|
[25148] | 9234 | { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
[23356] | 9235 | $as_echo "$as_me: creating $ac_file" >&6;}
|
---|
| 9236 | fi
|
---|
| 9237 | # Neutralize special characters interpreted by sed in replacement strings.
|
---|
| 9238 | case $configure_input in #(
|
---|
| 9239 | *\&* | *\|* | *\\* )
|
---|
| 9240 | ac_sed_conf_input=`$as_echo "$configure_input" |
|
---|
| 9241 | sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
---|
| 9242 | *) ac_sed_conf_input=$configure_input;;
|
---|
| 9243 | esac
|
---|
| 9244 |
|
---|
| 9245 | case $ac_tag in
|
---|
| 9246 | *:-:* | *:-) cat >"$tmp/stdin" \
|
---|
[25148] | 9247 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
---|
| 9248 | $as_echo "$as_me: error: could not create $ac_file" >&2;}
|
---|
| 9249 | { (exit 1); exit 1; }; } ;;
|
---|
[23356] | 9250 | esac
|
---|
| 9251 | ;;
|
---|
| 9252 | esac
|
---|
| 9253 |
|
---|
| 9254 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
[10191] | 9255 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 9256 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 9257 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
[23356] | 9258 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 9259 | $as_echo X"$ac_file" |
|
---|
| 9260 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 9261 | s//\1/
|
---|
| 9262 | q
|
---|
| 9263 | }
|
---|
| 9264 | /^X\(\/\/\)[^/].*/{
|
---|
| 9265 | s//\1/
|
---|
| 9266 | q
|
---|
| 9267 | }
|
---|
| 9268 | /^X\(\/\/\)$/{
|
---|
| 9269 | s//\1/
|
---|
| 9270 | q
|
---|
| 9271 | }
|
---|
| 9272 | /^X\(\/\).*/{
|
---|
| 9273 | s//\1/
|
---|
| 9274 | q
|
---|
| 9275 | }
|
---|
| 9276 | s/.*/./; q'`
|
---|
[25148] | 9277 | { as_dir="$ac_dir"
|
---|
| 9278 | case $as_dir in #(
|
---|
| 9279 | -*) as_dir=./$as_dir;;
|
---|
| 9280 | esac
|
---|
| 9281 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
---|
| 9282 | as_dirs=
|
---|
| 9283 | while :; do
|
---|
| 9284 | case $as_dir in #(
|
---|
| 9285 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
---|
| 9286 | *) as_qdir=$as_dir;;
|
---|
| 9287 | esac
|
---|
| 9288 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 9289 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
| 9290 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 9291 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 9292 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
| 9293 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 9294 | $as_echo X"$as_dir" |
|
---|
| 9295 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 9296 | s//\1/
|
---|
| 9297 | q
|
---|
| 9298 | }
|
---|
| 9299 | /^X\(\/\/\)[^/].*/{
|
---|
| 9300 | s//\1/
|
---|
| 9301 | q
|
---|
| 9302 | }
|
---|
| 9303 | /^X\(\/\/\)$/{
|
---|
| 9304 | s//\1/
|
---|
| 9305 | q
|
---|
| 9306 | }
|
---|
| 9307 | /^X\(\/\).*/{
|
---|
| 9308 | s//\1/
|
---|
| 9309 | q
|
---|
| 9310 | }
|
---|
| 9311 | s/.*/./; q'`
|
---|
| 9312 | test -d "$as_dir" && break
|
---|
| 9313 | done
|
---|
| 9314 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 9315 | } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
---|
| 9316 | $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
---|
| 9317 | { (exit 1); exit 1; }; }; }
|
---|
[10191] | 9318 | ac_builddir=.
|
---|
| 9319 |
|
---|
[23356] | 9320 | case "$ac_dir" in
|
---|
| 9321 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 9322 | *)
|
---|
| 9323 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
---|
| 9324 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 9325 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
---|
| 9326 | case $ac_top_builddir_sub in
|
---|
| 9327 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 9328 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 9329 | esac ;;
|
---|
| 9330 | esac
|
---|
| 9331 | ac_abs_top_builddir=$ac_pwd
|
---|
| 9332 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 9333 | # for backward compatibility:
|
---|
| 9334 | ac_top_builddir=$ac_top_build_prefix
|
---|
[10191] | 9335 |
|
---|
| 9336 | case $srcdir in
|
---|
[23356] | 9337 | .) # We are building in place.
|
---|
[10191] | 9338 | ac_srcdir=.
|
---|
[23356] | 9339 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 9340 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 9341 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[10191] | 9342 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[23356] | 9343 | ac_top_srcdir=$srcdir
|
---|
| 9344 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 9345 | *) # Relative name.
|
---|
| 9346 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 9347 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 9348 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[10191] | 9349 | esac
|
---|
[23356] | 9350 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[3745] | 9351 |
|
---|
[10191] | 9352 |
|
---|
[23356] | 9353 | case $ac_mode in
|
---|
| 9354 | :F)
|
---|
| 9355 | #
|
---|
| 9356 | # CONFIG_FILE
|
---|
| 9357 | #
|
---|
[10191] | 9358 |
|
---|
[3745] | 9359 | case $INSTALL in
|
---|
| 9360 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
[23356] | 9361 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
---|
[3745] | 9362 | esac
|
---|
[23356] | 9363 | _ACEOF
|
---|
[3745] | 9364 |
|
---|
[23356] | 9365 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
| 9366 | # If the template does not know about datarootdir, expand it.
|
---|
| 9367 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
| 9368 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
[25148] | 9369 |
|
---|
[23356] | 9370 | ac_sed_dataroot='
|
---|
| 9371 | /datarootdir/ {
|
---|
| 9372 | p
|
---|
| 9373 | q
|
---|
| 9374 | }
|
---|
| 9375 | /@datadir@/p
|
---|
| 9376 | /@docdir@/p
|
---|
| 9377 | /@infodir@/p
|
---|
| 9378 | /@localedir@/p
|
---|
[25148] | 9379 | /@mandir@/p
|
---|
| 9380 | '
|
---|
[23356] | 9381 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
---|
| 9382 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
| 9383 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
[25148] | 9384 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
[23356] | 9385 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
| 9386 | _ACEOF
|
---|
| 9387 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 9388 | ac_datarootdir_hack='
|
---|
| 9389 | s&@datadir@&$datadir&g
|
---|
| 9390 | s&@docdir@&$docdir&g
|
---|
| 9391 | s&@infodir@&$infodir&g
|
---|
| 9392 | s&@localedir@&$localedir&g
|
---|
| 9393 | s&@mandir@&$mandir&g
|
---|
[25148] | 9394 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
[23356] | 9395 | esac
|
---|
| 9396 | _ACEOF
|
---|
[3745] | 9397 |
|
---|
[23356] | 9398 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
| 9399 | # Shell code in configure.ac might set extrasub.
|
---|
| 9400 | # FIXME: do we really want to maintain this feature?
|
---|
| 9401 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
---|
| 9402 | ac_sed_extra="$ac_vpsub
|
---|
[3745] | 9403 | $extrasub
|
---|
[10191] | 9404 | _ACEOF
|
---|
[23356] | 9405 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
---|
[3745] | 9406 | :t
|
---|
| 9407 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[23356] | 9408 | s|@configure_input@|$ac_sed_conf_input|;t t
|
---|
| 9409 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
| 9410 | s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
---|
| 9411 | s&@srcdir@&$ac_srcdir&;t t
|
---|
| 9412 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
| 9413 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
| 9414 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
| 9415 | s&@builddir@&$ac_builddir&;t t
|
---|
| 9416 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
| 9417 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
| 9418 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
| 9419 | $ac_datarootdir_hack
|
---|
| 9420 | "
|
---|
| 9421 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
---|
[25148] | 9422 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
---|
| 9423 | $as_echo "$as_me: error: could not create $ac_file" >&2;}
|
---|
| 9424 | { (exit 1); exit 1; }; }
|
---|
[3745] | 9425 |
|
---|
[23356] | 9426 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
| 9427 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
---|
| 9428 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
---|
[25148] | 9429 | { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
[25147] | 9430 | which seems to be undefined. Please make sure it is defined." >&5
|
---|
[23356] | 9431 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
[25147] | 9432 | which seems to be undefined. Please make sure it is defined." >&2;}
|
---|
[3745] | 9433 |
|
---|
[23356] | 9434 | rm -f "$tmp/stdin"
|
---|
[3745] | 9435 | case $ac_file in
|
---|
[23356] | 9436 | -) cat "$tmp/out" && rm -f "$tmp/out";;
|
---|
| 9437 | *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
---|
| 9438 | esac \
|
---|
[25148] | 9439 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
---|
| 9440 | $as_echo "$as_me: error: could not create $ac_file" >&2;}
|
---|
| 9441 | { (exit 1); exit 1; }; }
|
---|
[23356] | 9442 | ;;
|
---|
| 9443 | :H)
|
---|
| 9444 | #
|
---|
| 9445 | # CONFIG_HEADER
|
---|
| 9446 | #
|
---|
[3745] | 9447 | if test x"$ac_file" != x-; then
|
---|
[23356] | 9448 | {
|
---|
| 9449 | $as_echo "/* $configure_input */" \
|
---|
| 9450 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
---|
| 9451 | } >"$tmp/config.h" \
|
---|
[25148] | 9452 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
---|
| 9453 | $as_echo "$as_me: error: could not create $ac_file" >&2;}
|
---|
| 9454 | { (exit 1); exit 1; }; }
|
---|
[23356] | 9455 | if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
---|
[25148] | 9456 | { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
---|
[23356] | 9457 | $as_echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
[3745] | 9458 | else
|
---|
[23356] | 9459 | rm -f "$ac_file"
|
---|
| 9460 | mv "$tmp/config.h" "$ac_file" \
|
---|
[25148] | 9461 | || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
---|
| 9462 | $as_echo "$as_me: error: could not create $ac_file" >&2;}
|
---|
| 9463 | { (exit 1); exit 1; }; }
|
---|
[3745] | 9464 | fi
|
---|
| 9465 | else
|
---|
[23356] | 9466 | $as_echo "/* $configure_input */" \
|
---|
| 9467 | && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
---|
[25148] | 9468 | || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
|
---|
| 9469 | $as_echo "$as_me: error: could not create -" >&2;}
|
---|
| 9470 | { (exit 1); exit 1; }; }
|
---|
[3745] | 9471 | fi
|
---|
[23356] | 9472 | ;;
|
---|
[3745] | 9473 |
|
---|
[25148] | 9474 | :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
---|
[23356] | 9475 | $as_echo "$as_me: executing $ac_file commands" >&6;}
|
---|
| 9476 | ;;
|
---|
| 9477 | esac
|
---|
[3745] | 9478 |
|
---|
[10191] | 9479 |
|
---|
[23356] | 9480 | case $ac_file$ac_mode in
|
---|
| 9481 | "default":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
|
---|
[10191] | 9482 |
|
---|
[3745] | 9483 | esac
|
---|
[23356] | 9484 | done # for ac_tag
|
---|
[3745] | 9485 |
|
---|
| 9486 |
|
---|
[25148] | 9487 | { (exit 0); exit 0; }
|
---|
[10191] | 9488 | _ACEOF
|
---|
[25148] | 9489 | chmod +x $CONFIG_STATUS
|
---|
[3745] | 9490 | ac_clean_files=$ac_clean_files_save
|
---|
| 9491 |
|
---|
[23356] | 9492 | test $ac_write_fail = 0 ||
|
---|
[25148] | 9493 | { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
|
---|
| 9494 | $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
|
---|
| 9495 | { (exit 1); exit 1; }; }
|
---|
[10191] | 9496 |
|
---|
[23356] | 9497 |
|
---|
[3745] | 9498 | # configure is writing to config.log, and then calls config.status.
|
---|
| 9499 | # config.status does its own redirection, appending to config.log.
|
---|
| 9500 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 9501 | # by configure, so config.status won't be able to write to it; its
|
---|
| 9502 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 9503 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 9504 | # appended to by config.status. When coming back to configure, we
|
---|
| 9505 | # need to make the FD available again.
|
---|
| 9506 | if test "$no_create" != yes; then
|
---|
| 9507 | ac_cs_success=:
|
---|
[10191] | 9508 | ac_config_status_args=
|
---|
| 9509 | test "$silent" = yes &&
|
---|
| 9510 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
[3745] | 9511 | exec 5>/dev/null
|
---|
[10191] | 9512 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
[3745] | 9513 | exec 5>>config.log
|
---|
| 9514 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 9515 | # would make configure fail if this is the last instruction.
|
---|
[25148] | 9516 | $ac_cs_success || { (exit 1); exit 1; }
|
---|
[3745] | 9517 | fi
|
---|
[23356] | 9518 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
---|
[25148] | 9519 | { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
---|
[23356] | 9520 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
---|
| 9521 | fi
|
---|
[3745] | 9522 |
|
---|
[19835] | 9523 |
|
---|
| 9524 | # To prevent timestamp problems causing bool_parser.c to be generated from bool_parser.y
|
---|
| 9525 | touch src/text/bool_parser.c
|
---|