[16568] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
[20848] | 3 | # Generated by GNU Autoconf 2.61.
|
---|
[16568] | 4 | #
|
---|
[20848] | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
| 6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
---|
[16568] | 7 | # This configure script is free software; the Free Software Foundation
|
---|
| 8 | # gives unlimited permission to copy, distribute and modify it.
|
---|
| 9 | ## --------------------- ##
|
---|
| 10 | ## M4sh Initialization. ##
|
---|
| 11 | ## --------------------- ##
|
---|
| 12 |
|
---|
[20848] | 13 | # Be more Bourne compatible
|
---|
| 14 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[16568] | 15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 16 | emulate sh
|
---|
| 17 | NULLCMD=:
|
---|
| 18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
| 19 | # is contrary to our usage. Disable this feature.
|
---|
| 20 | alias -g '${1+"$@"}'='"$@"'
|
---|
[20848] | 21 | setopt NO_GLOB_SUBST
|
---|
| 22 | else
|
---|
| 23 | case `(set -o) 2>/dev/null` in
|
---|
| 24 | *posix*) set -o posix ;;
|
---|
| 25 | esac
|
---|
| 26 |
|
---|
[16568] | 27 | fi
|
---|
| 28 |
|
---|
[20848] | 29 |
|
---|
| 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 |
|
---|
| 40 | # The user is always right.
|
---|
| 41 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 42 | echo "#! /bin/sh" >conf$$.sh
|
---|
| 43 | echo "exit 0" >>conf$$.sh
|
---|
| 44 | chmod +x conf$$.sh
|
---|
| 45 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
---|
| 46 | PATH_SEPARATOR=';'
|
---|
| 47 | else
|
---|
| 48 | PATH_SEPARATOR=:
|
---|
| 49 | fi
|
---|
| 50 | rm -f conf$$.sh
|
---|
| 51 | fi
|
---|
| 52 |
|
---|
[16568] | 53 | # Support unset when possible.
|
---|
| 54 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
| 55 | as_unset=unset
|
---|
| 56 | else
|
---|
| 57 | as_unset=false
|
---|
| 58 | fi
|
---|
| 59 |
|
---|
| 60 |
|
---|
[20848] | 61 | # IFS
|
---|
| 62 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 63 | # there to prevent editors from complaining about space-tab.
|
---|
| 64 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 65 | # splitting by setting IFS to empty value.)
|
---|
| 66 | as_nl='
|
---|
| 67 | '
|
---|
| 68 | IFS=" "" $as_nl"
|
---|
| 69 |
|
---|
| 70 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
| 71 | case $0 in
|
---|
| 72 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 73 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 74 | for as_dir in $PATH
|
---|
| 75 | do
|
---|
| 76 | IFS=$as_save_IFS
|
---|
| 77 | test -z "$as_dir" && as_dir=.
|
---|
| 78 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 79 | done
|
---|
| 80 | IFS=$as_save_IFS
|
---|
| 81 |
|
---|
| 82 | ;;
|
---|
| 83 | esac
|
---|
| 84 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 85 | # in which case we are not to be found in the path.
|
---|
| 86 | if test "x$as_myself" = x; then
|
---|
| 87 | as_myself=$0
|
---|
| 88 | fi
|
---|
| 89 | if test ! -f "$as_myself"; then
|
---|
| 90 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
| 91 | { (exit 1); exit 1; }
|
---|
| 92 | fi
|
---|
| 93 |
|
---|
[16568] | 94 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
[20848] | 95 | for as_var in ENV MAIL MAILPATH
|
---|
| 96 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
| 97 | done
|
---|
[16568] | 98 | PS1='$ '
|
---|
| 99 | PS2='> '
|
---|
| 100 | PS4='+ '
|
---|
| 101 |
|
---|
| 102 | # NLS nuisances.
|
---|
| 103 | for as_var in \
|
---|
| 104 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
| 105 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
| 106 | LC_TELEPHONE LC_TIME
|
---|
| 107 | do
|
---|
| 108 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
| 109 | eval $as_var=C; export $as_var
|
---|
| 110 | else
|
---|
[20848] | 111 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
[16568] | 112 | fi
|
---|
| 113 | done
|
---|
| 114 |
|
---|
| 115 | # Required to use basename.
|
---|
[20848] | 116 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16568] | 118 | as_expr=expr
|
---|
| 119 | else
|
---|
| 120 | as_expr=false
|
---|
| 121 | fi
|
---|
| 122 |
|
---|
[20848] | 123 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[16568] | 124 | as_basename=basename
|
---|
| 125 | else
|
---|
| 126 | as_basename=false
|
---|
| 127 | fi
|
---|
| 128 |
|
---|
| 129 |
|
---|
| 130 | # Name of the executable.
|
---|
[20848] | 131 | as_me=`$as_basename -- "$0" ||
|
---|
[16568] | 132 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 133 | X"$0" : 'X\(//\)$' \| \
|
---|
[20848] | 134 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
[16568] | 135 | echo X/"$0" |
|
---|
[20848] | 136 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 137 | s//\1/
|
---|
| 138 | q
|
---|
| 139 | }
|
---|
| 140 | /^X\/\(\/\/\)$/{
|
---|
| 141 | s//\1/
|
---|
| 142 | q
|
---|
| 143 | }
|
---|
| 144 | /^X\/\(\/\).*/{
|
---|
| 145 | s//\1/
|
---|
| 146 | q
|
---|
| 147 | }
|
---|
| 148 | s/.*/./; q'`
|
---|
[16568] | 149 |
|
---|
[20848] | 150 | # CDPATH.
|
---|
| 151 | $as_unset CDPATH
|
---|
[16568] | 152 |
|
---|
| 153 |
|
---|
[20848] | 154 | if test "x$CONFIG_SHELL" = x; then
|
---|
| 155 | if (eval ":") 2>/dev/null; then
|
---|
| 156 | as_have_required=yes
|
---|
| 157 | else
|
---|
| 158 | as_have_required=no
|
---|
[16568] | 159 | fi
|
---|
| 160 |
|
---|
[20848] | 161 | if test $as_have_required = yes && (eval ":
|
---|
| 162 | (as_func_return () {
|
---|
| 163 | (exit \$1)
|
---|
| 164 | }
|
---|
| 165 | as_func_success () {
|
---|
| 166 | as_func_return 0
|
---|
| 167 | }
|
---|
| 168 | as_func_failure () {
|
---|
| 169 | as_func_return 1
|
---|
| 170 | }
|
---|
| 171 | as_func_ret_success () {
|
---|
| 172 | return 0
|
---|
| 173 | }
|
---|
| 174 | as_func_ret_failure () {
|
---|
| 175 | return 1
|
---|
| 176 | }
|
---|
[16568] | 177 |
|
---|
[20848] | 178 | exitcode=0
|
---|
| 179 | if as_func_success; then
|
---|
| 180 | :
|
---|
| 181 | else
|
---|
| 182 | exitcode=1
|
---|
| 183 | echo as_func_success failed.
|
---|
| 184 | fi
|
---|
[16568] | 185 |
|
---|
[20848] | 186 | if as_func_failure; then
|
---|
| 187 | exitcode=1
|
---|
| 188 | echo as_func_failure succeeded.
|
---|
| 189 | fi
|
---|
| 190 |
|
---|
| 191 | if as_func_ret_success; then
|
---|
| 192 | :
|
---|
| 193 | else
|
---|
| 194 | exitcode=1
|
---|
| 195 | echo as_func_ret_success failed.
|
---|
| 196 | fi
|
---|
| 197 |
|
---|
| 198 | if as_func_ret_failure; then
|
---|
| 199 | exitcode=1
|
---|
| 200 | echo as_func_ret_failure succeeded.
|
---|
| 201 | fi
|
---|
| 202 |
|
---|
| 203 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
---|
| 204 | :
|
---|
| 205 | else
|
---|
| 206 | exitcode=1
|
---|
| 207 | echo positional parameters were not saved.
|
---|
| 208 | fi
|
---|
| 209 |
|
---|
| 210 | test \$exitcode = 0) || { (exit 1); exit 1; }
|
---|
| 211 |
|
---|
| 212 | (
|
---|
| 213 | as_lineno_1=\$LINENO
|
---|
| 214 | as_lineno_2=\$LINENO
|
---|
| 215 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
---|
| 216 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
---|
| 217 | ") 2> /dev/null; then
|
---|
| 218 | :
|
---|
| 219 | else
|
---|
| 220 | as_candidate_shells=
|
---|
[16568] | 221 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 222 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
---|
| 223 | do
|
---|
| 224 | IFS=$as_save_IFS
|
---|
| 225 | test -z "$as_dir" && as_dir=.
|
---|
[20848] | 226 | case $as_dir in
|
---|
[16568] | 227 | /*)
|
---|
[20848] | 228 | for as_base in sh bash ksh sh5; do
|
---|
| 229 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
---|
| 230 | done;;
|
---|
| 231 | esac
|
---|
| 232 | done
|
---|
| 233 | IFS=$as_save_IFS
|
---|
| 234 |
|
---|
| 235 |
|
---|
| 236 | for as_shell in $as_candidate_shells $SHELL; do
|
---|
| 237 | # Try only shells that exist, to save several forks.
|
---|
| 238 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
---|
| 239 | { ("$as_shell") 2> /dev/null <<\_ASEOF
|
---|
| 240 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 241 | emulate sh
|
---|
| 242 | NULLCMD=:
|
---|
| 243 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
| 244 | # is contrary to our usage. Disable this feature.
|
---|
| 245 | alias -g '${1+"$@"}'='"$@"'
|
---|
| 246 | setopt NO_GLOB_SUBST
|
---|
| 247 | else
|
---|
| 248 | case `(set -o) 2>/dev/null` in
|
---|
| 249 | *posix*) set -o posix ;;
|
---|
| 250 | esac
|
---|
| 251 |
|
---|
| 252 | fi
|
---|
| 253 |
|
---|
| 254 |
|
---|
| 255 | :
|
---|
| 256 | _ASEOF
|
---|
| 257 | }; then
|
---|
| 258 | CONFIG_SHELL=$as_shell
|
---|
| 259 | as_have_required=yes
|
---|
| 260 | if { "$as_shell" 2> /dev/null <<\_ASEOF
|
---|
| 261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 262 | emulate sh
|
---|
| 263 | NULLCMD=:
|
---|
| 264 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
| 265 | # is contrary to our usage. Disable this feature.
|
---|
| 266 | alias -g '${1+"$@"}'='"$@"'
|
---|
| 267 | setopt NO_GLOB_SUBST
|
---|
| 268 | else
|
---|
| 269 | case `(set -o) 2>/dev/null` in
|
---|
| 270 | *posix*) set -o posix ;;
|
---|
| 271 | esac
|
---|
| 272 |
|
---|
| 273 | fi
|
---|
| 274 |
|
---|
| 275 |
|
---|
| 276 | :
|
---|
| 277 | (as_func_return () {
|
---|
| 278 | (exit $1)
|
---|
| 279 | }
|
---|
| 280 | as_func_success () {
|
---|
| 281 | as_func_return 0
|
---|
| 282 | }
|
---|
| 283 | as_func_failure () {
|
---|
| 284 | as_func_return 1
|
---|
| 285 | }
|
---|
| 286 | as_func_ret_success () {
|
---|
| 287 | return 0
|
---|
| 288 | }
|
---|
| 289 | as_func_ret_failure () {
|
---|
| 290 | return 1
|
---|
| 291 | }
|
---|
| 292 |
|
---|
| 293 | exitcode=0
|
---|
| 294 | if as_func_success; then
|
---|
| 295 | :
|
---|
| 296 | else
|
---|
| 297 | exitcode=1
|
---|
| 298 | echo as_func_success failed.
|
---|
| 299 | fi
|
---|
| 300 |
|
---|
| 301 | if as_func_failure; then
|
---|
| 302 | exitcode=1
|
---|
| 303 | echo as_func_failure succeeded.
|
---|
| 304 | fi
|
---|
| 305 |
|
---|
| 306 | if as_func_ret_success; then
|
---|
| 307 | :
|
---|
| 308 | else
|
---|
| 309 | exitcode=1
|
---|
| 310 | echo as_func_ret_success failed.
|
---|
| 311 | fi
|
---|
| 312 |
|
---|
| 313 | if as_func_ret_failure; then
|
---|
| 314 | exitcode=1
|
---|
| 315 | echo as_func_ret_failure succeeded.
|
---|
| 316 | fi
|
---|
| 317 |
|
---|
| 318 | if ( set x; as_func_ret_success y && test x = "$1" ); then
|
---|
| 319 | :
|
---|
| 320 | else
|
---|
| 321 | exitcode=1
|
---|
| 322 | echo positional parameters were not saved.
|
---|
| 323 | fi
|
---|
| 324 |
|
---|
| 325 | test $exitcode = 0) || { (exit 1); exit 1; }
|
---|
| 326 |
|
---|
| 327 | (
|
---|
[16568] | 328 | as_lineno_1=$LINENO
|
---|
| 329 | as_lineno_2=$LINENO
|
---|
| 330 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
[20848] | 331 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
---|
[16568] | 332 |
|
---|
[20848] | 333 | _ASEOF
|
---|
| 334 | }; then
|
---|
| 335 | break
|
---|
| 336 | fi
|
---|
| 337 |
|
---|
| 338 | fi
|
---|
| 339 |
|
---|
| 340 | done
|
---|
| 341 |
|
---|
| 342 | if test "x$CONFIG_SHELL" != x; then
|
---|
| 343 | for as_var in BASH_ENV ENV
|
---|
| 344 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
| 345 | done
|
---|
| 346 | export CONFIG_SHELL
|
---|
| 347 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
---|
| 348 | fi
|
---|
| 349 |
|
---|
| 350 |
|
---|
| 351 | if test $as_have_required = no; then
|
---|
| 352 | echo This script requires a shell more modern than all the
|
---|
| 353 | echo shells that I found on your system. Please install a
|
---|
| 354 | echo modern shell, or manually run the script under such a
|
---|
| 355 | echo shell if you do have one.
|
---|
| 356 | { (exit 1); exit 1; }
|
---|
| 357 | fi
|
---|
| 358 |
|
---|
| 359 |
|
---|
| 360 | fi
|
---|
| 361 |
|
---|
| 362 | fi
|
---|
| 363 |
|
---|
| 364 |
|
---|
| 365 |
|
---|
| 366 | (eval "as_func_return () {
|
---|
| 367 | (exit \$1)
|
---|
| 368 | }
|
---|
| 369 | as_func_success () {
|
---|
| 370 | as_func_return 0
|
---|
| 371 | }
|
---|
| 372 | as_func_failure () {
|
---|
| 373 | as_func_return 1
|
---|
| 374 | }
|
---|
| 375 | as_func_ret_success () {
|
---|
| 376 | return 0
|
---|
| 377 | }
|
---|
| 378 | as_func_ret_failure () {
|
---|
| 379 | return 1
|
---|
| 380 | }
|
---|
| 381 |
|
---|
| 382 | exitcode=0
|
---|
| 383 | if as_func_success; then
|
---|
| 384 | :
|
---|
| 385 | else
|
---|
| 386 | exitcode=1
|
---|
| 387 | echo as_func_success failed.
|
---|
| 388 | fi
|
---|
| 389 |
|
---|
| 390 | if as_func_failure; then
|
---|
| 391 | exitcode=1
|
---|
| 392 | echo as_func_failure succeeded.
|
---|
| 393 | fi
|
---|
| 394 |
|
---|
| 395 | if as_func_ret_success; then
|
---|
| 396 | :
|
---|
| 397 | else
|
---|
| 398 | exitcode=1
|
---|
| 399 | echo as_func_ret_success failed.
|
---|
| 400 | fi
|
---|
| 401 |
|
---|
| 402 | if as_func_ret_failure; then
|
---|
| 403 | exitcode=1
|
---|
| 404 | echo as_func_ret_failure succeeded.
|
---|
| 405 | fi
|
---|
| 406 |
|
---|
| 407 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
---|
| 408 | :
|
---|
| 409 | else
|
---|
| 410 | exitcode=1
|
---|
| 411 | echo positional parameters were not saved.
|
---|
| 412 | fi
|
---|
| 413 |
|
---|
| 414 | test \$exitcode = 0") || {
|
---|
| 415 | echo No shell found that supports shell functions.
|
---|
| 416 | echo Please tell [email protected] about your system,
|
---|
| 417 | echo including any error possibly output before this
|
---|
| 418 | echo message
|
---|
| 419 | }
|
---|
| 420 |
|
---|
| 421 |
|
---|
| 422 |
|
---|
| 423 | as_lineno_1=$LINENO
|
---|
| 424 | as_lineno_2=$LINENO
|
---|
| 425 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
| 426 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
---|
| 427 |
|
---|
[16568] | 428 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
| 429 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
[20848] | 430 | # line-number line after each line using $LINENO; the second 'sed'
|
---|
| 431 | # does the real work. The second script uses 'N' to pair each
|
---|
| 432 | # line-number line with the line containing $LINENO, and appends
|
---|
| 433 | # trailing '-' during substitution so that $LINENO is not a special
|
---|
| 434 | # case at line end.
|
---|
[16568] | 435 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
[20848] | 436 | # scripts with optimization help from Paolo Bonzini. Blame Lee
|
---|
| 437 | # E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
| 438 | sed -n '
|
---|
| 439 | p
|
---|
| 440 | /[$]LINENO/=
|
---|
| 441 | ' <$as_myself |
|
---|
[16568] | 442 | sed '
|
---|
[20848] | 443 | s/[$]LINENO.*/&-/
|
---|
| 444 | t lineno
|
---|
| 445 | b
|
---|
| 446 | :lineno
|
---|
[16568] | 447 | N
|
---|
[20848] | 448 | :loop
|
---|
| 449 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
[16568] | 450 | t loop
|
---|
[20848] | 451 | s/-\n.*//
|
---|
[16568] | 452 | ' >$as_me.lineno &&
|
---|
[20848] | 453 | chmod +x "$as_me.lineno" ||
|
---|
[16568] | 454 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
---|
| 455 | { (exit 1); exit 1; }; }
|
---|
| 456 |
|
---|
| 457 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 458 | # (the dirname of $[0] is not the place where we might find the
|
---|
[20848] | 459 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 460 | . "./$as_me.lineno"
|
---|
[16568] | 461 | # Exit status is that of the last command.
|
---|
| 462 | exit
|
---|
| 463 | }
|
---|
| 464 |
|
---|
| 465 |
|
---|
[20848] | 466 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 467 | as_dirname=dirname
|
---|
| 468 | else
|
---|
| 469 | as_dirname=false
|
---|
| 470 | fi
|
---|
| 471 |
|
---|
| 472 | ECHO_C= ECHO_N= ECHO_T=
|
---|
| 473 | case `echo -n x` in
|
---|
| 474 | -n*)
|
---|
| 475 | case `echo 'x\c'` in
|
---|
| 476 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
| 477 | *) ECHO_C='\c';;
|
---|
| 478 | esac;;
|
---|
| 479 | *)
|
---|
| 480 | ECHO_N='-n';;
|
---|
[16568] | 481 | esac
|
---|
| 482 |
|
---|
[20848] | 483 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 484 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16568] | 485 | as_expr=expr
|
---|
| 486 | else
|
---|
| 487 | as_expr=false
|
---|
| 488 | fi
|
---|
| 489 |
|
---|
| 490 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
[20848] | 491 | if test -d conf$$.dir; then
|
---|
| 492 | rm -f conf$$.dir/conf$$.file
|
---|
| 493 | else
|
---|
| 494 | rm -f conf$$.dir
|
---|
| 495 | mkdir conf$$.dir
|
---|
| 496 | fi
|
---|
[16568] | 497 | echo >conf$$.file
|
---|
| 498 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
[20848] | 499 | as_ln_s='ln -s'
|
---|
| 500 | # ... but there are two gotchas:
|
---|
| 501 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 502 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 503 | # In both cases, we have to default to `cp -p'.
|
---|
| 504 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
[16568] | 505 | as_ln_s='cp -p'
|
---|
| 506 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 507 | as_ln_s=ln
|
---|
| 508 | else
|
---|
| 509 | as_ln_s='cp -p'
|
---|
| 510 | fi
|
---|
[20848] | 511 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 512 | rmdir conf$$.dir 2>/dev/null
|
---|
[16568] | 513 |
|
---|
| 514 | if mkdir -p . 2>/dev/null; then
|
---|
| 515 | as_mkdir_p=:
|
---|
| 516 | else
|
---|
| 517 | test -d ./-p && rmdir ./-p
|
---|
| 518 | as_mkdir_p=false
|
---|
| 519 | fi
|
---|
| 520 |
|
---|
[20848] | 521 | if test -x / >/dev/null 2>&1; then
|
---|
| 522 | as_test_x='test -x'
|
---|
| 523 | else
|
---|
| 524 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 525 | as_ls_L_option=L
|
---|
| 526 | else
|
---|
| 527 | as_ls_L_option=
|
---|
| 528 | fi
|
---|
| 529 | as_test_x='
|
---|
| 530 | eval sh -c '\''
|
---|
| 531 | if test -d "$1"; then
|
---|
| 532 | test -d "$1/.";
|
---|
| 533 | else
|
---|
| 534 | case $1 in
|
---|
| 535 | -*)set "./$1";;
|
---|
| 536 | esac;
|
---|
| 537 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
---|
| 538 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 539 | '\'' sh
|
---|
| 540 | '
|
---|
| 541 | fi
|
---|
| 542 | as_executable_p=$as_test_x
|
---|
[16568] | 543 |
|
---|
| 544 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 545 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 546 |
|
---|
| 547 | # Sed expression to map a string onto a valid variable name.
|
---|
| 548 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 549 |
|
---|
| 550 |
|
---|
| 551 |
|
---|
[20848] | 552 | exec 7<&0 </dev/null 6>&1
|
---|
[16568] | 553 |
|
---|
| 554 | # Name of the host.
|
---|
| 555 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
---|
| 556 | # so uname gets run too.
|
---|
| 557 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 558 |
|
---|
| 559 | #
|
---|
| 560 | # Initializations.
|
---|
| 561 | #
|
---|
| 562 | ac_default_prefix=/usr/local
|
---|
[20848] | 563 | ac_clean_files=
|
---|
[16568] | 564 | ac_config_libobj_dir=.
|
---|
[20848] | 565 | LIBOBJS=
|
---|
[16568] | 566 | cross_compiling=no
|
---|
| 567 | subdirs=
|
---|
| 568 | MFLAGS=
|
---|
| 569 | MAKEFLAGS=
|
---|
| 570 | SHELL=${CONFIG_SHELL-/bin/sh}
|
---|
| 571 |
|
---|
| 572 | # Identity of this package.
|
---|
| 573 | PACKAGE_NAME=
|
---|
| 574 | PACKAGE_TARNAME=
|
---|
| 575 | PACKAGE_VERSION=
|
---|
| 576 | PACKAGE_STRING=
|
---|
| 577 | PACKAGE_BUGREPORT=
|
---|
| 578 |
|
---|
| 579 | # Factoring default headers for most tests.
|
---|
| 580 | ac_includes_default="\
|
---|
| 581 | #include <stdio.h>
|
---|
[20848] | 582 | #ifdef HAVE_SYS_TYPES_H
|
---|
[16568] | 583 | # include <sys/types.h>
|
---|
| 584 | #endif
|
---|
[20848] | 585 | #ifdef HAVE_SYS_STAT_H
|
---|
[16568] | 586 | # include <sys/stat.h>
|
---|
| 587 | #endif
|
---|
[20848] | 588 | #ifdef STDC_HEADERS
|
---|
[16568] | 589 | # include <stdlib.h>
|
---|
| 590 | # include <stddef.h>
|
---|
| 591 | #else
|
---|
[20848] | 592 | # ifdef HAVE_STDLIB_H
|
---|
[16568] | 593 | # include <stdlib.h>
|
---|
| 594 | # endif
|
---|
| 595 | #endif
|
---|
[20848] | 596 | #ifdef HAVE_STRING_H
|
---|
| 597 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
---|
[16568] | 598 | # include <memory.h>
|
---|
| 599 | # endif
|
---|
| 600 | # include <string.h>
|
---|
| 601 | #endif
|
---|
[20848] | 602 | #ifdef HAVE_STRINGS_H
|
---|
[16568] | 603 | # include <strings.h>
|
---|
| 604 | #endif
|
---|
[20848] | 605 | #ifdef HAVE_INTTYPES_H
|
---|
[16568] | 606 | # include <inttypes.h>
|
---|
| 607 | #endif
|
---|
[20848] | 608 | #ifdef HAVE_STDINT_H
|
---|
| 609 | # include <stdint.h>
|
---|
| 610 | #endif
|
---|
| 611 | #ifdef HAVE_UNISTD_H
|
---|
[16568] | 612 | # include <unistd.h>
|
---|
| 613 | #endif"
|
---|
| 614 |
|
---|
[20848] | 615 | ac_subst_vars='SHELL
|
---|
| 616 | PATH_SEPARATOR
|
---|
| 617 | PACKAGE_NAME
|
---|
| 618 | PACKAGE_TARNAME
|
---|
| 619 | PACKAGE_VERSION
|
---|
| 620 | PACKAGE_STRING
|
---|
| 621 | PACKAGE_BUGREPORT
|
---|
| 622 | exec_prefix
|
---|
| 623 | prefix
|
---|
| 624 | program_transform_name
|
---|
| 625 | bindir
|
---|
| 626 | sbindir
|
---|
| 627 | libexecdir
|
---|
| 628 | datarootdir
|
---|
| 629 | datadir
|
---|
| 630 | sysconfdir
|
---|
| 631 | sharedstatedir
|
---|
| 632 | localstatedir
|
---|
| 633 | includedir
|
---|
| 634 | oldincludedir
|
---|
| 635 | docdir
|
---|
| 636 | infodir
|
---|
| 637 | htmldir
|
---|
| 638 | dvidir
|
---|
| 639 | pdfdir
|
---|
| 640 | psdir
|
---|
| 641 | libdir
|
---|
| 642 | localedir
|
---|
| 643 | mandir
|
---|
| 644 | DEFS
|
---|
| 645 | ECHO_C
|
---|
| 646 | ECHO_N
|
---|
| 647 | ECHO_T
|
---|
| 648 | LIBS
|
---|
| 649 | build_alias
|
---|
| 650 | host_alias
|
---|
| 651 | target_alias
|
---|
| 652 | PACKAGE
|
---|
| 653 | VERSION
|
---|
| 654 | USE_FASTCGI
|
---|
| 655 | USE_LANGACTION
|
---|
| 656 | USE_CORBA
|
---|
| 657 | MICO_DIR
|
---|
| 658 | USE_Z3950
|
---|
| 659 | USE_YAZ
|
---|
| 660 | ENABLE_ACCENTFOLD
|
---|
| 661 | USE_SQLITE
|
---|
| 662 | USE_APACHE_HTTPD
|
---|
| 663 | LDFLAGS
|
---|
| 664 | CFLAGS
|
---|
| 665 | CC
|
---|
| 666 | CPPFLAGS
|
---|
| 667 | ac_ct_CC
|
---|
| 668 | EXEEXT
|
---|
| 669 | OBJEXT
|
---|
| 670 | CXX
|
---|
| 671 | CXXFLAGS
|
---|
| 672 | ac_ct_CXX
|
---|
| 673 | AWK
|
---|
| 674 | YACC
|
---|
| 675 | YFLAGS
|
---|
| 676 | build
|
---|
| 677 | build_cpu
|
---|
| 678 | build_vendor
|
---|
| 679 | build_os
|
---|
| 680 | host
|
---|
| 681 | host_cpu
|
---|
| 682 | host_vendor
|
---|
| 683 | host_os
|
---|
| 684 | target
|
---|
| 685 | target_cpu
|
---|
| 686 | target_vendor
|
---|
| 687 | target_os
|
---|
| 688 | INSTALL_PROGRAM
|
---|
| 689 | INSTALL_SCRIPT
|
---|
| 690 | INSTALL_DATA
|
---|
| 691 | LN_S
|
---|
| 692 | SET_MAKE
|
---|
| 693 | RANLIB
|
---|
| 694 | COMPAT32BITFLAGS
|
---|
| 695 | MICO_VER
|
---|
| 696 | CPP
|
---|
| 697 | GREP
|
---|
| 698 | EGREP
|
---|
| 699 | U
|
---|
| 700 | ANSI2KNR
|
---|
| 701 | ALLOCA
|
---|
| 702 | LIBOBJS
|
---|
| 703 | STATIC
|
---|
| 704 | gsdlos
|
---|
| 705 | MODULEDIRS
|
---|
| 706 | subdirs
|
---|
| 707 | LTLIBOBJS'
|
---|
[16568] | 708 | ac_subst_files=''
|
---|
[20848] | 709 | ac_precious_vars='build_alias
|
---|
| 710 | host_alias
|
---|
| 711 | target_alias
|
---|
| 712 | CC
|
---|
| 713 | CFLAGS
|
---|
| 714 | LDFLAGS
|
---|
| 715 | LIBS
|
---|
| 716 | CPPFLAGS
|
---|
| 717 | CXX
|
---|
| 718 | CXXFLAGS
|
---|
| 719 | CCC
|
---|
| 720 | YACC
|
---|
| 721 | YFLAGS
|
---|
| 722 | CPP'
|
---|
| 723 | ac_subdirs_all='packages'
|
---|
[16568] | 724 |
|
---|
| 725 | # Initialize some variables set by options.
|
---|
| 726 | ac_init_help=
|
---|
| 727 | ac_init_version=false
|
---|
| 728 | # The variables have the same names as the options, with
|
---|
| 729 | # dashes changed to underlines.
|
---|
| 730 | cache_file=/dev/null
|
---|
| 731 | exec_prefix=NONE
|
---|
| 732 | no_create=
|
---|
| 733 | no_recursion=
|
---|
| 734 | prefix=NONE
|
---|
| 735 | program_prefix=NONE
|
---|
| 736 | program_suffix=NONE
|
---|
| 737 | program_transform_name=s,x,x,
|
---|
| 738 | silent=
|
---|
| 739 | site=
|
---|
| 740 | srcdir=
|
---|
| 741 | verbose=
|
---|
| 742 | x_includes=NONE
|
---|
| 743 | x_libraries=NONE
|
---|
| 744 |
|
---|
| 745 | # Installation directory options.
|
---|
| 746 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 747 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 748 | # by default will actually change.
|
---|
| 749 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
[20848] | 750 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
[16568] | 751 | bindir='${exec_prefix}/bin'
|
---|
| 752 | sbindir='${exec_prefix}/sbin'
|
---|
| 753 | libexecdir='${exec_prefix}/libexec'
|
---|
[20848] | 754 | datarootdir='${prefix}/share'
|
---|
| 755 | datadir='${datarootdir}'
|
---|
[16568] | 756 | sysconfdir='${prefix}/etc'
|
---|
| 757 | sharedstatedir='${prefix}/com'
|
---|
| 758 | localstatedir='${prefix}/var'
|
---|
| 759 | includedir='${prefix}/include'
|
---|
| 760 | oldincludedir='/usr/include'
|
---|
[20848] | 761 | docdir='${datarootdir}/doc/${PACKAGE}'
|
---|
| 762 | infodir='${datarootdir}/info'
|
---|
| 763 | htmldir='${docdir}'
|
---|
| 764 | dvidir='${docdir}'
|
---|
| 765 | pdfdir='${docdir}'
|
---|
| 766 | psdir='${docdir}'
|
---|
| 767 | libdir='${exec_prefix}/lib'
|
---|
| 768 | localedir='${datarootdir}/locale'
|
---|
| 769 | mandir='${datarootdir}/man'
|
---|
[16568] | 770 |
|
---|
| 771 | ac_prev=
|
---|
[20848] | 772 | ac_dashdash=
|
---|
[16568] | 773 | for ac_option
|
---|
| 774 | do
|
---|
| 775 | # If the previous option needs an argument, assign it.
|
---|
| 776 | if test -n "$ac_prev"; then
|
---|
[20848] | 777 | eval $ac_prev=\$ac_option
|
---|
[16568] | 778 | ac_prev=
|
---|
| 779 | continue
|
---|
| 780 | fi
|
---|
| 781 |
|
---|
[20848] | 782 | case $ac_option in
|
---|
| 783 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
| 784 | *) ac_optarg=yes ;;
|
---|
| 785 | esac
|
---|
[16568] | 786 |
|
---|
| 787 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 788 |
|
---|
[20848] | 789 | case $ac_dashdash$ac_option in
|
---|
| 790 | --)
|
---|
| 791 | ac_dashdash=yes ;;
|
---|
[16568] | 792 |
|
---|
| 793 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 794 | ac_prev=bindir ;;
|
---|
| 795 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 796 | bindir=$ac_optarg ;;
|
---|
| 797 |
|
---|
| 798 | -build | --build | --buil | --bui | --bu)
|
---|
| 799 | ac_prev=build_alias ;;
|
---|
| 800 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 801 | build_alias=$ac_optarg ;;
|
---|
| 802 |
|
---|
| 803 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 804 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 805 | ac_prev=cache_file ;;
|
---|
| 806 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 807 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 808 | cache_file=$ac_optarg ;;
|
---|
| 809 |
|
---|
| 810 | --config-cache | -C)
|
---|
| 811 | cache_file=config.cache ;;
|
---|
| 812 |
|
---|
[20848] | 813 | -datadir | --datadir | --datadi | --datad)
|
---|
[16568] | 814 | ac_prev=datadir ;;
|
---|
[20848] | 815 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
[16568] | 816 | datadir=$ac_optarg ;;
|
---|
| 817 |
|
---|
[20848] | 818 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
| 819 | | --dataroo | --dataro | --datar)
|
---|
| 820 | ac_prev=datarootdir ;;
|
---|
| 821 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
| 822 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
| 823 | datarootdir=$ac_optarg ;;
|
---|
| 824 |
|
---|
[16568] | 825 | -disable-* | --disable-*)
|
---|
| 826 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
| 827 | # Reject names that are not valid shell variable names.
|
---|
[20848] | 828 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[16568] | 829 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
| 830 | { (exit 1); exit 1; }; }
|
---|
[20848] | 831 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
---|
| 832 | eval enable_$ac_feature=no ;;
|
---|
[16568] | 833 |
|
---|
[20848] | 834 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
| 835 | ac_prev=docdir ;;
|
---|
| 836 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
| 837 | docdir=$ac_optarg ;;
|
---|
| 838 |
|
---|
| 839 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
| 840 | ac_prev=dvidir ;;
|
---|
| 841 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
| 842 | dvidir=$ac_optarg ;;
|
---|
| 843 |
|
---|
[16568] | 844 | -enable-* | --enable-*)
|
---|
| 845 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
| 846 | # Reject names that are not valid shell variable names.
|
---|
[20848] | 847 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[16568] | 848 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
| 849 | { (exit 1); exit 1; }; }
|
---|
[20848] | 850 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
---|
| 851 | eval enable_$ac_feature=\$ac_optarg ;;
|
---|
[16568] | 852 |
|
---|
| 853 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 854 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 855 | | --exec | --exe | --ex)
|
---|
| 856 | ac_prev=exec_prefix ;;
|
---|
| 857 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 858 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 859 | | --exec=* | --exe=* | --ex=*)
|
---|
| 860 | exec_prefix=$ac_optarg ;;
|
---|
| 861 |
|
---|
| 862 | -gas | --gas | --ga | --g)
|
---|
| 863 | # Obsolete; use --with-gas.
|
---|
| 864 | with_gas=yes ;;
|
---|
| 865 |
|
---|
| 866 | -help | --help | --hel | --he | -h)
|
---|
| 867 | ac_init_help=long ;;
|
---|
| 868 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 869 | ac_init_help=recursive ;;
|
---|
| 870 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 871 | ac_init_help=short ;;
|
---|
| 872 |
|
---|
| 873 | -host | --host | --hos | --ho)
|
---|
| 874 | ac_prev=host_alias ;;
|
---|
| 875 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 876 | host_alias=$ac_optarg ;;
|
---|
| 877 |
|
---|
[20848] | 878 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
| 879 | ac_prev=htmldir ;;
|
---|
| 880 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
| 881 | | --ht=*)
|
---|
| 882 | htmldir=$ac_optarg ;;
|
---|
| 883 |
|
---|
[16568] | 884 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 885 | | --includ | --inclu | --incl | --inc)
|
---|
| 886 | ac_prev=includedir ;;
|
---|
| 887 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 888 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 889 | includedir=$ac_optarg ;;
|
---|
| 890 |
|
---|
| 891 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 892 | ac_prev=infodir ;;
|
---|
| 893 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 894 | infodir=$ac_optarg ;;
|
---|
| 895 |
|
---|
| 896 | -libdir | --libdir | --libdi | --libd)
|
---|
| 897 | ac_prev=libdir ;;
|
---|
| 898 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 899 | libdir=$ac_optarg ;;
|
---|
| 900 |
|
---|
| 901 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 902 | | --libexe | --libex | --libe)
|
---|
| 903 | ac_prev=libexecdir ;;
|
---|
| 904 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 905 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 906 | libexecdir=$ac_optarg ;;
|
---|
| 907 |
|
---|
[20848] | 908 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
| 909 | ac_prev=localedir ;;
|
---|
| 910 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
| 911 | localedir=$ac_optarg ;;
|
---|
| 912 |
|
---|
[16568] | 913 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
[20848] | 914 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
[16568] | 915 | ac_prev=localstatedir ;;
|
---|
| 916 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
[20848] | 917 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
[16568] | 918 | localstatedir=$ac_optarg ;;
|
---|
| 919 |
|
---|
| 920 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 921 | ac_prev=mandir ;;
|
---|
| 922 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 923 | mandir=$ac_optarg ;;
|
---|
| 924 |
|
---|
| 925 | -nfp | --nfp | --nf)
|
---|
| 926 | # Obsolete; use --without-fp.
|
---|
| 927 | with_fp=no ;;
|
---|
| 928 |
|
---|
| 929 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 930 | | --no-cr | --no-c | -n)
|
---|
| 931 | no_create=yes ;;
|
---|
| 932 |
|
---|
| 933 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 934 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 935 | no_recursion=yes ;;
|
---|
| 936 |
|
---|
| 937 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 938 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 939 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 940 | ac_prev=oldincludedir ;;
|
---|
| 941 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 942 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 943 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 944 | oldincludedir=$ac_optarg ;;
|
---|
| 945 |
|
---|
| 946 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 947 | ac_prev=prefix ;;
|
---|
| 948 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 949 | prefix=$ac_optarg ;;
|
---|
| 950 |
|
---|
| 951 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 952 | | --program-pre | --program-pr | --program-p)
|
---|
| 953 | ac_prev=program_prefix ;;
|
---|
| 954 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 955 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 956 | program_prefix=$ac_optarg ;;
|
---|
| 957 |
|
---|
| 958 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 959 | | --program-suf | --program-su | --program-s)
|
---|
| 960 | ac_prev=program_suffix ;;
|
---|
| 961 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 962 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 963 | program_suffix=$ac_optarg ;;
|
---|
| 964 |
|
---|
| 965 | -program-transform-name | --program-transform-name \
|
---|
| 966 | | --program-transform-nam | --program-transform-na \
|
---|
| 967 | | --program-transform-n | --program-transform- \
|
---|
| 968 | | --program-transform | --program-transfor \
|
---|
| 969 | | --program-transfo | --program-transf \
|
---|
| 970 | | --program-trans | --program-tran \
|
---|
| 971 | | --progr-tra | --program-tr | --program-t)
|
---|
| 972 | ac_prev=program_transform_name ;;
|
---|
| 973 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 974 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 975 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 976 | | --program-transform=* | --program-transfor=* \
|
---|
| 977 | | --program-transfo=* | --program-transf=* \
|
---|
| 978 | | --program-trans=* | --program-tran=* \
|
---|
| 979 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 980 | program_transform_name=$ac_optarg ;;
|
---|
| 981 |
|
---|
[20848] | 982 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
| 983 | ac_prev=pdfdir ;;
|
---|
| 984 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
| 985 | pdfdir=$ac_optarg ;;
|
---|
| 986 |
|
---|
| 987 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
| 988 | ac_prev=psdir ;;
|
---|
| 989 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
| 990 | psdir=$ac_optarg ;;
|
---|
| 991 |
|
---|
[16568] | 992 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 993 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 994 | silent=yes ;;
|
---|
| 995 |
|
---|
| 996 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 997 | ac_prev=sbindir ;;
|
---|
| 998 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 999 | | --sbi=* | --sb=*)
|
---|
| 1000 | sbindir=$ac_optarg ;;
|
---|
| 1001 |
|
---|
| 1002 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 1003 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 1004 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 1005 | | --sha | --sh)
|
---|
| 1006 | ac_prev=sharedstatedir ;;
|
---|
| 1007 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 1008 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 1009 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 1010 | | --sha=* | --sh=*)
|
---|
| 1011 | sharedstatedir=$ac_optarg ;;
|
---|
| 1012 |
|
---|
| 1013 | -site | --site | --sit)
|
---|
| 1014 | ac_prev=site ;;
|
---|
| 1015 | -site=* | --site=* | --sit=*)
|
---|
| 1016 | site=$ac_optarg ;;
|
---|
| 1017 |
|
---|
| 1018 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 1019 | ac_prev=srcdir ;;
|
---|
| 1020 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 1021 | srcdir=$ac_optarg ;;
|
---|
| 1022 |
|
---|
| 1023 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 1024 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 1025 | ac_prev=sysconfdir ;;
|
---|
| 1026 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 1027 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 1028 | sysconfdir=$ac_optarg ;;
|
---|
| 1029 |
|
---|
| 1030 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 1031 | ac_prev=target_alias ;;
|
---|
| 1032 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 1033 | target_alias=$ac_optarg ;;
|
---|
| 1034 |
|
---|
| 1035 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 1036 | verbose=yes ;;
|
---|
| 1037 |
|
---|
| 1038 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 1039 | ac_init_version=: ;;
|
---|
| 1040 |
|
---|
| 1041 | -with-* | --with-*)
|
---|
| 1042 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
| 1043 | # Reject names that are not valid shell variable names.
|
---|
[20848] | 1044 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[16568] | 1045 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
| 1046 | { (exit 1); exit 1; }; }
|
---|
[20848] | 1047 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
---|
| 1048 | eval with_$ac_package=\$ac_optarg ;;
|
---|
[16568] | 1049 |
|
---|
| 1050 | -without-* | --without-*)
|
---|
| 1051 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
| 1052 | # Reject names that are not valid shell variable names.
|
---|
[20848] | 1053 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[16568] | 1054 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
| 1055 | { (exit 1); exit 1; }; }
|
---|
[20848] | 1056 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
---|
| 1057 | eval with_$ac_package=no ;;
|
---|
[16568] | 1058 |
|
---|
| 1059 | --x)
|
---|
| 1060 | # Obsolete; use --with-x.
|
---|
| 1061 | with_x=yes ;;
|
---|
| 1062 |
|
---|
| 1063 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 1064 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 1065 | ac_prev=x_includes ;;
|
---|
| 1066 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 1067 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 1068 | x_includes=$ac_optarg ;;
|
---|
| 1069 |
|
---|
| 1070 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 1071 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 1072 | ac_prev=x_libraries ;;
|
---|
| 1073 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 1074 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 1075 | x_libraries=$ac_optarg ;;
|
---|
| 1076 |
|
---|
| 1077 | -*) { echo "$as_me: error: unrecognized option: $ac_option
|
---|
| 1078 | Try \`$0 --help' for more information." >&2
|
---|
| 1079 | { (exit 1); exit 1; }; }
|
---|
| 1080 | ;;
|
---|
| 1081 |
|
---|
| 1082 | *=*)
|
---|
| 1083 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 1084 | # Reject names that are not valid shell variable names.
|
---|
| 1085 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
---|
| 1086 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
---|
| 1087 | { (exit 1); exit 1; }; }
|
---|
[20848] | 1088 | eval $ac_envvar=\$ac_optarg
|
---|
[16568] | 1089 | export $ac_envvar ;;
|
---|
| 1090 |
|
---|
| 1091 | *)
|
---|
| 1092 | # FIXME: should be removed in autoconf 3.0.
|
---|
| 1093 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
| 1094 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
| 1095 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
| 1096 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
---|
| 1097 | ;;
|
---|
| 1098 |
|
---|
| 1099 | esac
|
---|
| 1100 | done
|
---|
| 1101 |
|
---|
| 1102 | if test -n "$ac_prev"; then
|
---|
| 1103 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
| 1104 | { echo "$as_me: error: missing argument to $ac_option" >&2
|
---|
| 1105 | { (exit 1); exit 1; }; }
|
---|
| 1106 | fi
|
---|
| 1107 |
|
---|
[20848] | 1108 | # Be sure to have absolute directory names.
|
---|
| 1109 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
| 1110 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
| 1111 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
| 1112 | libdir localedir mandir
|
---|
[16568] | 1113 | do
|
---|
[20848] | 1114 | eval ac_val=\$$ac_var
|
---|
[16568] | 1115 | case $ac_val in
|
---|
[20848] | 1116 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
| 1117 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
[16568] | 1118 | esac
|
---|
[20848] | 1119 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
---|
| 1120 | { (exit 1); exit 1; }; }
|
---|
[16568] | 1121 | done
|
---|
| 1122 |
|
---|
| 1123 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 1124 | # used to hold the argument of --host etc.
|
---|
| 1125 | # FIXME: To remove some day.
|
---|
| 1126 | build=$build_alias
|
---|
| 1127 | host=$host_alias
|
---|
| 1128 | target=$target_alias
|
---|
| 1129 |
|
---|
| 1130 | # FIXME: To remove some day.
|
---|
| 1131 | if test "x$host_alias" != x; then
|
---|
| 1132 | if test "x$build_alias" = x; then
|
---|
| 1133 | cross_compiling=maybe
|
---|
| 1134 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
---|
| 1135 | If a cross compiler is detected then cross compile mode will be used." >&2
|
---|
| 1136 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 1137 | cross_compiling=yes
|
---|
| 1138 | fi
|
---|
| 1139 | fi
|
---|
| 1140 |
|
---|
| 1141 | ac_tool_prefix=
|
---|
| 1142 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 1143 |
|
---|
| 1144 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 1145 |
|
---|
| 1146 |
|
---|
[20848] | 1147 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
| 1148 | ac_ls_di=`ls -di .` &&
|
---|
| 1149 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
| 1150 | { echo "$as_me: error: Working directory cannot be determined" >&2
|
---|
| 1151 | { (exit 1); exit 1; }; }
|
---|
| 1152 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
| 1153 | { echo "$as_me: error: pwd does not report name of working directory" >&2
|
---|
| 1154 | { (exit 1); exit 1; }; }
|
---|
| 1155 |
|
---|
| 1156 |
|
---|
[16568] | 1157 | # Find the source files, if location was not specified.
|
---|
| 1158 | if test -z "$srcdir"; then
|
---|
| 1159 | ac_srcdir_defaulted=yes
|
---|
[20848] | 1160 | # Try the directory containing this script, then the parent directory.
|
---|
| 1161 | ac_confdir=`$as_dirname -- "$0" ||
|
---|
[16568] | 1162 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 1163 | X"$0" : 'X\(//\)[^/]' \| \
|
---|
| 1164 | X"$0" : 'X\(//\)$' \| \
|
---|
[20848] | 1165 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
[16568] | 1166 | echo X"$0" |
|
---|
[20848] | 1167 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 1168 | s//\1/
|
---|
| 1169 | q
|
---|
| 1170 | }
|
---|
| 1171 | /^X\(\/\/\)[^/].*/{
|
---|
| 1172 | s//\1/
|
---|
| 1173 | q
|
---|
| 1174 | }
|
---|
| 1175 | /^X\(\/\/\)$/{
|
---|
| 1176 | s//\1/
|
---|
| 1177 | q
|
---|
| 1178 | }
|
---|
| 1179 | /^X\(\/\).*/{
|
---|
| 1180 | s//\1/
|
---|
| 1181 | q
|
---|
| 1182 | }
|
---|
| 1183 | s/.*/./; q'`
|
---|
[16568] | 1184 | srcdir=$ac_confdir
|
---|
[20848] | 1185 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
[16568] | 1186 | srcdir=..
|
---|
| 1187 | fi
|
---|
| 1188 | else
|
---|
| 1189 | ac_srcdir_defaulted=no
|
---|
| 1190 | fi
|
---|
[20848] | 1191 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
| 1192 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
| 1193 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
---|
[16568] | 1194 | { (exit 1); exit 1; }; }
|
---|
[20848] | 1195 | fi
|
---|
| 1196 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
| 1197 | ac_abs_confdir=`(
|
---|
| 1198 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
|
---|
[16568] | 1199 | { (exit 1); exit 1; }; }
|
---|
[20848] | 1200 | pwd)`
|
---|
| 1201 | # When building in place, set srcdir=.
|
---|
| 1202 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
| 1203 | srcdir=.
|
---|
[16568] | 1204 | fi
|
---|
[20848] | 1205 | # Remove unnecessary trailing slashes from srcdir.
|
---|
| 1206 | # Double slashes in file names in object file debugging info
|
---|
| 1207 | # mess up M-x gdb in Emacs.
|
---|
| 1208 | case $srcdir in
|
---|
| 1209 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
| 1210 | esac
|
---|
| 1211 | for ac_var in $ac_precious_vars; do
|
---|
| 1212 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1213 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
| 1214 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1215 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
| 1216 | done
|
---|
[16568] | 1217 |
|
---|
| 1218 | #
|
---|
| 1219 | # Report the --help message.
|
---|
| 1220 | #
|
---|
| 1221 | if test "$ac_init_help" = "long"; then
|
---|
| 1222 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 1223 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 1224 | cat <<_ACEOF
|
---|
| 1225 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 1226 |
|
---|
| 1227 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 1228 |
|
---|
| 1229 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 1230 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 1231 |
|
---|
| 1232 | Defaults for the options are specified in brackets.
|
---|
| 1233 |
|
---|
| 1234 | Configuration:
|
---|
| 1235 | -h, --help display this help and exit
|
---|
| 1236 | --help=short display options specific to this package
|
---|
| 1237 | --help=recursive display the short help of all the included packages
|
---|
| 1238 | -V, --version display version information and exit
|
---|
| 1239 | -q, --quiet, --silent do not print \`checking...' messages
|
---|
| 1240 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 1241 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 1242 | -n, --no-create do not create output files
|
---|
| 1243 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 1244 |
|
---|
| 1245 | Installation directories:
|
---|
| 1246 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
| 1247 | [$ac_default_prefix]
|
---|
| 1248 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
| 1249 | [PREFIX]
|
---|
| 1250 |
|
---|
| 1251 | By default, \`make install' will install all the files in
|
---|
| 1252 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 1253 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 1254 | for instance \`--prefix=\$HOME'.
|
---|
| 1255 |
|
---|
| 1256 | For better control, use the options below.
|
---|
| 1257 |
|
---|
| 1258 | Fine tuning of the installation directories:
|
---|
| 1259 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 1260 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 1261 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 1262 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 1263 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 1264 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 1265 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 1266 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 1267 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
[20848] | 1268 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
| 1269 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
| 1270 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
| 1271 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
| 1272 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
| 1273 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
---|
| 1274 | --htmldir=DIR html documentation [DOCDIR]
|
---|
| 1275 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
| 1276 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
| 1277 | --psdir=DIR ps documentation [DOCDIR]
|
---|
[16568] | 1278 | _ACEOF
|
---|
| 1279 |
|
---|
| 1280 | cat <<\_ACEOF
|
---|
| 1281 |
|
---|
| 1282 | System types:
|
---|
| 1283 | --build=BUILD configure for building on BUILD [guessed]
|
---|
| 1284 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
| 1285 | --target=TARGET configure for building compilers for TARGET [HOST]
|
---|
| 1286 | _ACEOF
|
---|
| 1287 | fi
|
---|
| 1288 |
|
---|
| 1289 | if test -n "$ac_init_help"; then
|
---|
| 1290 |
|
---|
| 1291 | cat <<\_ACEOF
|
---|
| 1292 |
|
---|
| 1293 | Optional Features:
|
---|
| 1294 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
| 1295 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
| 1296 | --enable-corba Enable CORBA support
|
---|
| 1297 | --enable-z3950 Enable Z39.50 client support
|
---|
| 1298 | --disable-yaz Disable YAZ compilation
|
---|
| 1299 | --disable-accentfold Disable Accent Folding for MGPP
|
---|
| 1300 | --disable-sqlite Disable SQLite support
|
---|
[20848] | 1301 | --disable-apache-httpd Disable Apache httpd support
|
---|
[16568] | 1302 |
|
---|
| 1303 | Optional Packages:
|
---|
| 1304 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 1305 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 1306 | --with-micodir Use installed MICO directory
|
---|
| 1307 | --with-dmalloc use dmalloc, as in
|
---|
| 1308 | ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
|
---|
| 1309 | --with-regex use older regex in lieu of GNU rx for matching
|
---|
| 1310 |
|
---|
| 1311 | Some influential environment variables:
|
---|
| 1312 | CC C compiler command
|
---|
| 1313 | CFLAGS C compiler flags
|
---|
| 1314 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 1315 | nonstandard directory <lib dir>
|
---|
[20848] | 1316 | LIBS libraries to pass to the linker, e.g. -l<library>
|
---|
| 1317 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
---|
| 1318 | you have headers in a nonstandard directory <include dir>
|
---|
[16568] | 1319 | CXX C++ compiler command
|
---|
| 1320 | CXXFLAGS C++ compiler flags
|
---|
[20848] | 1321 | YACC The `Yet Another C Compiler' implementation to use. Defaults to
|
---|
| 1322 | the first program found out of: `bison -y', `byacc', `yacc'.
|
---|
| 1323 | YFLAGS The list of arguments that will be passed by default to $YACC.
|
---|
| 1324 | This script will default YFLAGS to the empty string to avoid a
|
---|
| 1325 | default value of `-d' given by some make applications.
|
---|
[16568] | 1326 | CPP C preprocessor
|
---|
| 1327 |
|
---|
| 1328 | Use these variables to override the choices made by `configure' or to help
|
---|
| 1329 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 1330 |
|
---|
| 1331 | _ACEOF
|
---|
[20848] | 1332 | ac_status=$?
|
---|
[16568] | 1333 | fi
|
---|
| 1334 |
|
---|
| 1335 | if test "$ac_init_help" = "recursive"; then
|
---|
| 1336 | # If there are subdirs, report their specific --help.
|
---|
| 1337 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
[20848] | 1338 | test -d "$ac_dir" || continue
|
---|
[16568] | 1339 | ac_builddir=.
|
---|
| 1340 |
|
---|
[20848] | 1341 | case "$ac_dir" in
|
---|
| 1342 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1343 | *)
|
---|
[16568] | 1344 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
[20848] | 1345 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 1346 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
---|
| 1347 | case $ac_top_builddir_sub in
|
---|
| 1348 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1349 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 1350 | esac ;;
|
---|
| 1351 | esac
|
---|
| 1352 | ac_abs_top_builddir=$ac_pwd
|
---|
| 1353 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 1354 | # for backward compatibility:
|
---|
| 1355 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16568] | 1356 |
|
---|
| 1357 | case $srcdir in
|
---|
[20848] | 1358 | .) # We are building in place.
|
---|
[16568] | 1359 | ac_srcdir=.
|
---|
[20848] | 1360 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 1361 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 1362 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16568] | 1363 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[20848] | 1364 | ac_top_srcdir=$srcdir
|
---|
| 1365 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 1366 | *) # Relative name.
|
---|
| 1367 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 1368 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 1369 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16568] | 1370 | esac
|
---|
[20848] | 1371 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16568] | 1372 |
|
---|
[20848] | 1373 | cd "$ac_dir" || { ac_status=$?; continue; }
|
---|
| 1374 | # Check for guested configure.
|
---|
| 1375 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 1376 | echo &&
|
---|
| 1377 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
---|
| 1378 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 1379 | echo &&
|
---|
| 1380 | $SHELL "$ac_srcdir/configure" --help=recursive
|
---|
[16568] | 1381 | else
|
---|
| 1382 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
[20848] | 1383 | fi || ac_status=$?
|
---|
| 1384 | cd "$ac_pwd" || { ac_status=$?; break; }
|
---|
[16568] | 1385 | done
|
---|
| 1386 | fi
|
---|
| 1387 |
|
---|
[20848] | 1388 | test -n "$ac_init_help" && exit $ac_status
|
---|
[16568] | 1389 | if $ac_init_version; then
|
---|
| 1390 | cat <<\_ACEOF
|
---|
[20848] | 1391 | configure
|
---|
| 1392 | generated by GNU Autoconf 2.61
|
---|
[16568] | 1393 |
|
---|
[20848] | 1394 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
| 1395 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
---|
[16568] | 1396 | This configure script is free software; the Free Software Foundation
|
---|
| 1397 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 1398 | _ACEOF
|
---|
[20848] | 1399 | exit
|
---|
[16568] | 1400 | fi
|
---|
[20848] | 1401 | cat >config.log <<_ACEOF
|
---|
[16568] | 1402 | This file contains any messages produced by compilers while
|
---|
| 1403 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 1404 |
|
---|
| 1405 | It was created by $as_me, which was
|
---|
[20848] | 1406 | generated by GNU Autoconf 2.61. Invocation command line was
|
---|
[16568] | 1407 |
|
---|
| 1408 | $ $0 $@
|
---|
| 1409 |
|
---|
| 1410 | _ACEOF
|
---|
[20848] | 1411 | exec 5>>config.log
|
---|
[16568] | 1412 | {
|
---|
| 1413 | cat <<_ASUNAME
|
---|
| 1414 | ## --------- ##
|
---|
| 1415 | ## Platform. ##
|
---|
| 1416 | ## --------- ##
|
---|
| 1417 |
|
---|
| 1418 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 1419 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 1420 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 1421 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 1422 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 1423 |
|
---|
| 1424 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 1425 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 1426 |
|
---|
| 1427 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 1428 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 1429 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
[20848] | 1430 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
[16568] | 1431 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 1432 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 1433 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 1434 |
|
---|
| 1435 | _ASUNAME
|
---|
| 1436 |
|
---|
| 1437 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1438 | for as_dir in $PATH
|
---|
| 1439 | do
|
---|
| 1440 | IFS=$as_save_IFS
|
---|
| 1441 | test -z "$as_dir" && as_dir=.
|
---|
| 1442 | echo "PATH: $as_dir"
|
---|
| 1443 | done
|
---|
[20848] | 1444 | IFS=$as_save_IFS
|
---|
[16568] | 1445 |
|
---|
| 1446 | } >&5
|
---|
| 1447 |
|
---|
| 1448 | cat >&5 <<_ACEOF
|
---|
| 1449 |
|
---|
| 1450 |
|
---|
| 1451 | ## ----------- ##
|
---|
| 1452 | ## Core tests. ##
|
---|
| 1453 | ## ----------- ##
|
---|
| 1454 |
|
---|
| 1455 | _ACEOF
|
---|
| 1456 |
|
---|
| 1457 |
|
---|
| 1458 | # Keep a trace of the command line.
|
---|
| 1459 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 1460 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 1461 | # Also quote any args containing shell meta-characters.
|
---|
| 1462 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 1463 | ac_configure_args=
|
---|
| 1464 | ac_configure_args0=
|
---|
| 1465 | ac_configure_args1=
|
---|
| 1466 | ac_must_keep_next=false
|
---|
| 1467 | for ac_pass in 1 2
|
---|
| 1468 | do
|
---|
| 1469 | for ac_arg
|
---|
| 1470 | do
|
---|
| 1471 | case $ac_arg in
|
---|
| 1472 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 1473 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1474 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1475 | continue ;;
|
---|
[20848] | 1476 | *\'*)
|
---|
[16568] | 1477 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 1478 | esac
|
---|
| 1479 | case $ac_pass in
|
---|
| 1480 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
---|
| 1481 | 2)
|
---|
| 1482 | ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
---|
| 1483 | if test $ac_must_keep_next = true; then
|
---|
| 1484 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 1485 | else
|
---|
| 1486 | case $ac_arg in
|
---|
| 1487 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 1488 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 1489 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 1490 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 1491 | case "$ac_configure_args0 " in
|
---|
| 1492 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 1493 | esac
|
---|
| 1494 | ;;
|
---|
| 1495 | -* ) ac_must_keep_next=true ;;
|
---|
| 1496 | esac
|
---|
| 1497 | fi
|
---|
[20848] | 1498 | ac_configure_args="$ac_configure_args '$ac_arg'"
|
---|
[16568] | 1499 | ;;
|
---|
| 1500 | esac
|
---|
| 1501 | done
|
---|
| 1502 | done
|
---|
| 1503 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
---|
| 1504 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
---|
| 1505 |
|
---|
| 1506 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 1507 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 1508 | # would cause problems or look ugly.
|
---|
[20848] | 1509 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
---|
| 1510 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
---|
[16568] | 1511 | trap 'exit_status=$?
|
---|
| 1512 | # Save into config.log some information that might help in debugging.
|
---|
| 1513 | {
|
---|
| 1514 | echo
|
---|
| 1515 |
|
---|
| 1516 | cat <<\_ASBOX
|
---|
| 1517 | ## ---------------- ##
|
---|
| 1518 | ## Cache variables. ##
|
---|
| 1519 | ## ---------------- ##
|
---|
| 1520 | _ASBOX
|
---|
| 1521 | echo
|
---|
| 1522 | # The following way of writing the cache mishandles newlines in values,
|
---|
[20848] | 1523 | (
|
---|
| 1524 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
---|
| 1525 | eval ac_val=\$$ac_var
|
---|
| 1526 | case $ac_val in #(
|
---|
| 1527 | *${as_nl}*)
|
---|
| 1528 | case $ac_var in #(
|
---|
| 1529 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
---|
| 1530 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
---|
| 1531 | esac
|
---|
| 1532 | case $ac_var in #(
|
---|
| 1533 | _ | IFS | as_nl) ;; #(
|
---|
| 1534 | *) $as_unset $ac_var ;;
|
---|
| 1535 | esac ;;
|
---|
| 1536 | esac
|
---|
| 1537 | done
|
---|
[16568] | 1538 | (set) 2>&1 |
|
---|
[20848] | 1539 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
| 1540 | *${as_nl}ac_space=\ *)
|
---|
[16568] | 1541 | sed -n \
|
---|
[20848] | 1542 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
| 1543 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
| 1544 | ;; #(
|
---|
[16568] | 1545 | *)
|
---|
[20848] | 1546 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16568] | 1547 | ;;
|
---|
[20848] | 1548 | esac |
|
---|
| 1549 | sort
|
---|
| 1550 | )
|
---|
[16568] | 1551 | echo
|
---|
| 1552 |
|
---|
| 1553 | cat <<\_ASBOX
|
---|
| 1554 | ## ----------------- ##
|
---|
| 1555 | ## Output variables. ##
|
---|
| 1556 | ## ----------------- ##
|
---|
| 1557 | _ASBOX
|
---|
| 1558 | echo
|
---|
| 1559 | for ac_var in $ac_subst_vars
|
---|
| 1560 | do
|
---|
[20848] | 1561 | eval ac_val=\$$ac_var
|
---|
| 1562 | case $ac_val in
|
---|
| 1563 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 1564 | esac
|
---|
| 1565 | echo "$ac_var='\''$ac_val'\''"
|
---|
[16568] | 1566 | done | sort
|
---|
| 1567 | echo
|
---|
| 1568 |
|
---|
| 1569 | if test -n "$ac_subst_files"; then
|
---|
| 1570 | cat <<\_ASBOX
|
---|
[20848] | 1571 | ## ------------------- ##
|
---|
| 1572 | ## File substitutions. ##
|
---|
| 1573 | ## ------------------- ##
|
---|
[16568] | 1574 | _ASBOX
|
---|
| 1575 | echo
|
---|
| 1576 | for ac_var in $ac_subst_files
|
---|
| 1577 | do
|
---|
[20848] | 1578 | eval ac_val=\$$ac_var
|
---|
| 1579 | case $ac_val in
|
---|
| 1580 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
| 1581 | esac
|
---|
| 1582 | echo "$ac_var='\''$ac_val'\''"
|
---|
[16568] | 1583 | done | sort
|
---|
| 1584 | echo
|
---|
| 1585 | fi
|
---|
| 1586 |
|
---|
| 1587 | if test -s confdefs.h; then
|
---|
| 1588 | cat <<\_ASBOX
|
---|
| 1589 | ## ----------- ##
|
---|
| 1590 | ## confdefs.h. ##
|
---|
| 1591 | ## ----------- ##
|
---|
| 1592 | _ASBOX
|
---|
| 1593 | echo
|
---|
[20848] | 1594 | cat confdefs.h
|
---|
[16568] | 1595 | echo
|
---|
| 1596 | fi
|
---|
| 1597 | test "$ac_signal" != 0 &&
|
---|
| 1598 | echo "$as_me: caught signal $ac_signal"
|
---|
| 1599 | echo "$as_me: exit $exit_status"
|
---|
| 1600 | } >&5
|
---|
[20848] | 1601 | rm -f core *.core core.conftest.* &&
|
---|
| 1602 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
[16568] | 1603 | exit $exit_status
|
---|
[20848] | 1604 | ' 0
|
---|
[16568] | 1605 | for ac_signal in 1 2 13 15; do
|
---|
| 1606 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
---|
| 1607 | done
|
---|
| 1608 | ac_signal=0
|
---|
| 1609 |
|
---|
| 1610 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
[20848] | 1611 | rm -f -r conftest* confdefs.h
|
---|
[16568] | 1612 |
|
---|
| 1613 | # Predefined preprocessor variables.
|
---|
| 1614 |
|
---|
| 1615 | cat >>confdefs.h <<_ACEOF
|
---|
| 1616 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 1617 | _ACEOF
|
---|
| 1618 |
|
---|
| 1619 |
|
---|
| 1620 | cat >>confdefs.h <<_ACEOF
|
---|
| 1621 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 1622 | _ACEOF
|
---|
| 1623 |
|
---|
| 1624 |
|
---|
| 1625 | cat >>confdefs.h <<_ACEOF
|
---|
| 1626 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 1627 | _ACEOF
|
---|
| 1628 |
|
---|
| 1629 |
|
---|
| 1630 | cat >>confdefs.h <<_ACEOF
|
---|
| 1631 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 1632 | _ACEOF
|
---|
| 1633 |
|
---|
| 1634 |
|
---|
| 1635 | cat >>confdefs.h <<_ACEOF
|
---|
| 1636 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 1637 | _ACEOF
|
---|
| 1638 |
|
---|
| 1639 |
|
---|
| 1640 | # Let the site file select an alternate cache file if it wants to.
|
---|
| 1641 | # Prefer explicitly selected file to automatically selected ones.
|
---|
[20848] | 1642 | if test -n "$CONFIG_SITE"; then
|
---|
| 1643 | set x "$CONFIG_SITE"
|
---|
| 1644 | elif test "x$prefix" != xNONE; then
|
---|
| 1645 | set x "$prefix/share/config.site" "$prefix/etc/config.site"
|
---|
| 1646 | else
|
---|
| 1647 | set x "$ac_default_prefix/share/config.site" \
|
---|
| 1648 | "$ac_default_prefix/etc/config.site"
|
---|
[16568] | 1649 | fi
|
---|
[20848] | 1650 | shift
|
---|
| 1651 | for ac_site_file
|
---|
| 1652 | do
|
---|
[16568] | 1653 | if test -r "$ac_site_file"; then
|
---|
| 1654 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
---|
| 1655 | echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
| 1656 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
| 1657 | . "$ac_site_file"
|
---|
| 1658 | fi
|
---|
| 1659 | done
|
---|
| 1660 |
|
---|
| 1661 | if test -r "$cache_file"; then
|
---|
| 1662 | # Some versions of bash will fail to source /dev/null (special
|
---|
| 1663 | # files actually), so we avoid doing that.
|
---|
| 1664 | if test -f "$cache_file"; then
|
---|
| 1665 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
---|
| 1666 | echo "$as_me: loading cache $cache_file" >&6;}
|
---|
| 1667 | case $cache_file in
|
---|
[20848] | 1668 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
| 1669 | *) . "./$cache_file";;
|
---|
[16568] | 1670 | esac
|
---|
| 1671 | fi
|
---|
| 1672 | else
|
---|
| 1673 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
---|
| 1674 | echo "$as_me: creating cache $cache_file" >&6;}
|
---|
| 1675 | >$cache_file
|
---|
| 1676 | fi
|
---|
| 1677 |
|
---|
| 1678 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 1679 | # value.
|
---|
| 1680 | ac_cache_corrupted=false
|
---|
[20848] | 1681 | for ac_var in $ac_precious_vars; do
|
---|
[16568] | 1682 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 1683 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
[20848] | 1684 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
| 1685 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
[16568] | 1686 | case $ac_old_set,$ac_new_set in
|
---|
| 1687 | set,)
|
---|
| 1688 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
| 1689 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
| 1690 | ac_cache_corrupted=: ;;
|
---|
| 1691 | ,set)
|
---|
| 1692 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
---|
| 1693 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
| 1694 | ac_cache_corrupted=: ;;
|
---|
| 1695 | ,);;
|
---|
| 1696 | *)
|
---|
| 1697 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
| 1698 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
| 1699 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 1700 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
---|
| 1701 | echo "$as_me: former value: $ac_old_val" >&2;}
|
---|
| 1702 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
---|
| 1703 | echo "$as_me: current value: $ac_new_val" >&2;}
|
---|
| 1704 | ac_cache_corrupted=:
|
---|
| 1705 | fi;;
|
---|
| 1706 | esac
|
---|
| 1707 | # Pass precious variables to config.status.
|
---|
| 1708 | if test "$ac_new_set" = set; then
|
---|
| 1709 | case $ac_new_val in
|
---|
[20848] | 1710 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[16568] | 1711 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 1712 | esac
|
---|
| 1713 | case " $ac_configure_args " in
|
---|
| 1714 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
| 1715 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
---|
| 1716 | esac
|
---|
| 1717 | fi
|
---|
| 1718 | done
|
---|
| 1719 | if $ac_cache_corrupted; then
|
---|
| 1720 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
---|
| 1721 | echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
| 1722 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
---|
| 1723 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
---|
| 1724 | { (exit 1); exit 1; }; }
|
---|
| 1725 | fi
|
---|
| 1726 |
|
---|
| 1727 |
|
---|
| 1728 |
|
---|
| 1729 |
|
---|
| 1730 |
|
---|
| 1731 |
|
---|
| 1732 |
|
---|
| 1733 |
|
---|
| 1734 |
|
---|
| 1735 |
|
---|
| 1736 |
|
---|
| 1737 |
|
---|
| 1738 |
|
---|
| 1739 |
|
---|
| 1740 |
|
---|
| 1741 |
|
---|
| 1742 |
|
---|
[20848] | 1743 | ac_ext=c
|
---|
| 1744 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1745 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1746 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1747 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[16568] | 1748 |
|
---|
| 1749 |
|
---|
[20848] | 1750 | ac_config_headers="$ac_config_headers config.h"
|
---|
[16568] | 1751 |
|
---|
| 1752 |
|
---|
| 1753 |
|
---|
| 1754 |
|
---|
| 1755 | PACKAGE=gsdl
|
---|
| 1756 | VERSION=2.82-svn
|
---|
| 1757 | cat >>confdefs.h <<_ACEOF
|
---|
| 1758 | #define PACKAGE "$PACKAGE"
|
---|
| 1759 | _ACEOF
|
---|
| 1760 |
|
---|
| 1761 | cat >>confdefs.h <<_ACEOF
|
---|
| 1762 | #define VERSION "$VERSION"
|
---|
| 1763 | _ACEOF
|
---|
| 1764 |
|
---|
| 1765 |
|
---|
| 1766 |
|
---|
| 1767 |
|
---|
| 1768 | USE_FASTCGI=0
|
---|
| 1769 | if test USE_FASTCGI = 1; then
|
---|
| 1770 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1771 | #define USE_FASTCGI 1
|
---|
| 1772 | _ACEOF
|
---|
| 1773 |
|
---|
| 1774 |
|
---|
| 1775 | fi
|
---|
| 1776 |
|
---|
| 1777 | if test USE_LANGACTION = 1; then
|
---|
| 1778 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1779 | #define USE_LANGACTION 1
|
---|
| 1780 | _ACEOF
|
---|
| 1781 |
|
---|
| 1782 |
|
---|
| 1783 | fi
|
---|
| 1784 |
|
---|
[20848] | 1785 | # Check whether --enable-corba was given.
|
---|
[16568] | 1786 | if test "${enable_corba+set}" = set; then
|
---|
[20848] | 1787 | enableval=$enable_corba; USE_CORBA=1
|
---|
[16568] | 1788 | else
|
---|
| 1789 | USE_CORBA=0
|
---|
[20848] | 1790 | fi
|
---|
| 1791 |
|
---|
[16568] | 1792 | cat >>confdefs.h <<_ACEOF
|
---|
| 1793 | #define USE_CORBA $USE_CORBA
|
---|
| 1794 | _ACEOF
|
---|
| 1795 |
|
---|
| 1796 |
|
---|
| 1797 |
|
---|
| 1798 |
|
---|
[20848] | 1799 | # Check whether --with-micodir was given.
|
---|
[16568] | 1800 | if test "${with_micodir+set}" = set; then
|
---|
[20848] | 1801 | withval=$with_micodir; MICO_DIR=$enableval
|
---|
[16568] | 1802 | else
|
---|
| 1803 | MICO_DIR="default"
|
---|
[20848] | 1804 | fi
|
---|
| 1805 |
|
---|
[16568] | 1806 | cat >>confdefs.h <<_ACEOF
|
---|
| 1807 | #define MICO_DIR "$MICO_DIR"
|
---|
| 1808 | _ACEOF
|
---|
| 1809 |
|
---|
| 1810 |
|
---|
| 1811 |
|
---|
[20848] | 1812 | # Check whether --enable-z3950 was given.
|
---|
[16568] | 1813 | if test "${enable_z3950+set}" = set; then
|
---|
[20848] | 1814 | enableval=$enable_z3950; USE_Z3950=1
|
---|
[16568] | 1815 | else
|
---|
| 1816 | USE_Z3950=0
|
---|
[20848] | 1817 | fi
|
---|
| 1818 |
|
---|
[16568] | 1819 | if test USE_Z3950 = 1; then
|
---|
| 1820 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1821 | #define USE_Z3950 $USE_Z3950
|
---|
| 1822 | _ACEOF
|
---|
| 1823 |
|
---|
| 1824 |
|
---|
| 1825 | fi
|
---|
| 1826 |
|
---|
[20848] | 1827 | # Check whether --enable-yaz was given.
|
---|
[16568] | 1828 | if test "${enable_yaz+set}" = set; then
|
---|
[20848] | 1829 | enableval=$enable_yaz; USE_YAZ=0
|
---|
[16568] | 1830 | else
|
---|
| 1831 | USE_YAZ=1
|
---|
[20848] | 1832 | fi
|
---|
| 1833 |
|
---|
[16568] | 1834 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1835 | #define USE_YAZ $USE_YAZ
|
---|
| 1836 | _ACEOF
|
---|
| 1837 |
|
---|
| 1838 |
|
---|
| 1839 |
|
---|
[20848] | 1840 | # Check whether --enable-accentfold was given.
|
---|
[16568] | 1841 | if test "${enable_accentfold+set}" = set; then
|
---|
[20848] | 1842 | enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
|
---|
[16568] | 1843 | else
|
---|
| 1844 | ENABLE_ACCENTFOLD=1
|
---|
[20848] | 1845 | fi
|
---|
| 1846 |
|
---|
[16568] | 1847 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1848 | #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
|
---|
| 1849 | _ACEOF
|
---|
| 1850 |
|
---|
| 1851 |
|
---|
| 1852 |
|
---|
[20848] | 1853 | # Check whether --enable-sqlite was given.
|
---|
[16568] | 1854 | if test "${enable_sqlite+set}" = set; then
|
---|
[20848] | 1855 | enableval=$enable_sqlite; USE_SQLITE=0
|
---|
[16568] | 1856 | else
|
---|
| 1857 | USE_SQLITE=1
|
---|
[20848] | 1858 | fi
|
---|
| 1859 |
|
---|
[16568] | 1860 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1861 | #define USE_SQLITE $USE_SQLITE
|
---|
| 1862 | _ACEOF
|
---|
| 1863 |
|
---|
| 1864 |
|
---|
| 1865 |
|
---|
[20848] | 1866 | # Check whether --enable-apache-httpd was given.
|
---|
[18487] | 1867 | if test "${enable_apache_httpd+set}" = set; then
|
---|
[20848] | 1868 | enableval=$enable_apache_httpd; USE_APACHE_HTTPD=0
|
---|
| 1869 | else
|
---|
[18487] | 1870 | USE_APACHE_HTTPD=1
|
---|
[20848] | 1871 | fi
|
---|
| 1872 |
|
---|
[18487] | 1873 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1874 | #define USE_APACHE_HTTPD $USE_APACHE_HTTPD
|
---|
| 1875 | _ACEOF
|
---|
| 1876 |
|
---|
| 1877 |
|
---|
| 1878 |
|
---|
| 1879 |
|
---|
[16568] | 1880 | LDFLAGS=$LDFLAGS
|
---|
| 1881 |
|
---|
| 1882 | if test -z "$CFLAGS"; then
|
---|
| 1883 | CFLAGS=-O2
|
---|
| 1884 | fi
|
---|
| 1885 |
|
---|
| 1886 |
|
---|
| 1887 |
|
---|
| 1888 | ac_ext=c
|
---|
| 1889 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1890 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1891 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1892 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 1893 | if test -n "$ac_tool_prefix"; then
|
---|
| 1894 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 1895 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
[20848] | 1896 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1897 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16568] | 1898 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1899 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1900 | else
|
---|
| 1901 | if test -n "$CC"; then
|
---|
| 1902 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 1903 | else
|
---|
| 1904 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1905 | for as_dir in $PATH
|
---|
| 1906 | do
|
---|
| 1907 | IFS=$as_save_IFS
|
---|
| 1908 | test -z "$as_dir" && as_dir=.
|
---|
| 1909 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20848] | 1910 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 1911 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
| 1912 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1913 | break 2
|
---|
| 1914 | fi
|
---|
| 1915 | done
|
---|
| 1916 | done
|
---|
[20848] | 1917 | IFS=$as_save_IFS
|
---|
[16568] | 1918 |
|
---|
| 1919 | fi
|
---|
| 1920 | fi
|
---|
| 1921 | CC=$ac_cv_prog_CC
|
---|
| 1922 | if test -n "$CC"; then
|
---|
[20848] | 1923 | { echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 1924 | echo "${ECHO_T}$CC" >&6; }
|
---|
[16568] | 1925 | else
|
---|
[20848] | 1926 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1927 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 1928 | fi
|
---|
| 1929 |
|
---|
[20848] | 1930 |
|
---|
[16568] | 1931 | fi
|
---|
| 1932 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 1933 | ac_ct_CC=$CC
|
---|
| 1934 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
| 1935 | set dummy gcc; ac_word=$2
|
---|
[20848] | 1936 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1937 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16568] | 1938 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
| 1939 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1940 | else
|
---|
| 1941 | if test -n "$ac_ct_CC"; then
|
---|
| 1942 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 1943 | else
|
---|
| 1944 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1945 | for as_dir in $PATH
|
---|
| 1946 | do
|
---|
| 1947 | IFS=$as_save_IFS
|
---|
| 1948 | test -z "$as_dir" && as_dir=.
|
---|
| 1949 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20848] | 1950 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 1951 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
| 1952 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 1953 | break 2
|
---|
| 1954 | fi
|
---|
| 1955 | done
|
---|
| 1956 | done
|
---|
[20848] | 1957 | IFS=$as_save_IFS
|
---|
[16568] | 1958 |
|
---|
| 1959 | fi
|
---|
| 1960 | fi
|
---|
| 1961 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 1962 | if test -n "$ac_ct_CC"; then
|
---|
[20848] | 1963 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 1964 | echo "${ECHO_T}$ac_ct_CC" >&6; }
|
---|
[16568] | 1965 | else
|
---|
[20848] | 1966 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 1967 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 1968 | fi
|
---|
| 1969 |
|
---|
[20848] | 1970 | if test "x$ac_ct_CC" = x; then
|
---|
| 1971 | CC=""
|
---|
| 1972 | else
|
---|
| 1973 | case $cross_compiling:$ac_tool_warned in
|
---|
| 1974 | yes:)
|
---|
| 1975 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 1976 | whose name does not start with the host triplet. If you think this
|
---|
| 1977 | configuration is useful to you, please write to [email protected]." >&5
|
---|
| 1978 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 1979 | whose name does not start with the host triplet. If you think this
|
---|
| 1980 | configuration is useful to you, please write to [email protected]." >&2;}
|
---|
| 1981 | ac_tool_warned=yes ;;
|
---|
| 1982 | esac
|
---|
| 1983 | CC=$ac_ct_CC
|
---|
| 1984 | fi
|
---|
[16568] | 1985 | else
|
---|
| 1986 | CC="$ac_cv_prog_CC"
|
---|
| 1987 | fi
|
---|
| 1988 |
|
---|
| 1989 | if test -z "$CC"; then
|
---|
[20848] | 1990 | if test -n "$ac_tool_prefix"; then
|
---|
| 1991 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
[16568] | 1992 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
[20848] | 1993 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 1994 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16568] | 1995 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 1996 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 1997 | else
|
---|
| 1998 | if test -n "$CC"; then
|
---|
| 1999 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2000 | else
|
---|
| 2001 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2002 | for as_dir in $PATH
|
---|
| 2003 | do
|
---|
| 2004 | IFS=$as_save_IFS
|
---|
| 2005 | test -z "$as_dir" && as_dir=.
|
---|
| 2006 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20848] | 2007 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 2008 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
| 2009 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2010 | break 2
|
---|
| 2011 | fi
|
---|
| 2012 | done
|
---|
| 2013 | done
|
---|
[20848] | 2014 | IFS=$as_save_IFS
|
---|
[16568] | 2015 |
|
---|
| 2016 | fi
|
---|
| 2017 | fi
|
---|
| 2018 | CC=$ac_cv_prog_CC
|
---|
| 2019 | if test -n "$CC"; then
|
---|
[20848] | 2020 | { echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 2021 | echo "${ECHO_T}$CC" >&6; }
|
---|
[16568] | 2022 | else
|
---|
[20848] | 2023 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2024 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 2025 | fi
|
---|
| 2026 |
|
---|
[20848] | 2027 |
|
---|
[16568] | 2028 | fi
|
---|
| 2029 | fi
|
---|
| 2030 | if test -z "$CC"; then
|
---|
| 2031 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 2032 | set dummy cc; ac_word=$2
|
---|
[20848] | 2033 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2034 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16568] | 2035 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 2036 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2037 | else
|
---|
| 2038 | if test -n "$CC"; then
|
---|
| 2039 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2040 | else
|
---|
| 2041 | ac_prog_rejected=no
|
---|
| 2042 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2043 | for as_dir in $PATH
|
---|
| 2044 | do
|
---|
| 2045 | IFS=$as_save_IFS
|
---|
| 2046 | test -z "$as_dir" && as_dir=.
|
---|
| 2047 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20848] | 2048 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 2049 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 2050 | ac_prog_rejected=yes
|
---|
| 2051 | continue
|
---|
| 2052 | fi
|
---|
| 2053 | ac_cv_prog_CC="cc"
|
---|
| 2054 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2055 | break 2
|
---|
| 2056 | fi
|
---|
| 2057 | done
|
---|
| 2058 | done
|
---|
[20848] | 2059 | IFS=$as_save_IFS
|
---|
[16568] | 2060 |
|
---|
| 2061 | if test $ac_prog_rejected = yes; then
|
---|
| 2062 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 2063 | set dummy $ac_cv_prog_CC
|
---|
| 2064 | shift
|
---|
| 2065 | if test $# != 0; then
|
---|
| 2066 | # We chose a different compiler from the bogus one.
|
---|
| 2067 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 2068 | # first if we set CC to just the basename; use the full file name.
|
---|
| 2069 | shift
|
---|
| 2070 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
| 2071 | fi
|
---|
| 2072 | fi
|
---|
| 2073 | fi
|
---|
| 2074 | fi
|
---|
| 2075 | CC=$ac_cv_prog_CC
|
---|
| 2076 | if test -n "$CC"; then
|
---|
[20848] | 2077 | { echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 2078 | echo "${ECHO_T}$CC" >&6; }
|
---|
[16568] | 2079 | else
|
---|
[20848] | 2080 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2081 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 2082 | fi
|
---|
| 2083 |
|
---|
[20848] | 2084 |
|
---|
[16568] | 2085 | fi
|
---|
| 2086 | if test -z "$CC"; then
|
---|
| 2087 | if test -n "$ac_tool_prefix"; then
|
---|
[20848] | 2088 | for ac_prog in cl.exe
|
---|
[16568] | 2089 | do
|
---|
| 2090 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2091 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[20848] | 2092 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2093 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16568] | 2094 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
| 2095 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2096 | else
|
---|
| 2097 | if test -n "$CC"; then
|
---|
| 2098 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2099 | else
|
---|
| 2100 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2101 | for as_dir in $PATH
|
---|
| 2102 | do
|
---|
| 2103 | IFS=$as_save_IFS
|
---|
| 2104 | test -z "$as_dir" && as_dir=.
|
---|
| 2105 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20848] | 2106 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 2107 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
| 2108 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2109 | break 2
|
---|
| 2110 | fi
|
---|
| 2111 | done
|
---|
| 2112 | done
|
---|
[20848] | 2113 | IFS=$as_save_IFS
|
---|
[16568] | 2114 |
|
---|
| 2115 | fi
|
---|
| 2116 | fi
|
---|
| 2117 | CC=$ac_cv_prog_CC
|
---|
| 2118 | if test -n "$CC"; then
|
---|
[20848] | 2119 | { echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 2120 | echo "${ECHO_T}$CC" >&6; }
|
---|
[16568] | 2121 | else
|
---|
[20848] | 2122 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2123 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 2124 | fi
|
---|
| 2125 |
|
---|
[20848] | 2126 |
|
---|
[16568] | 2127 | test -n "$CC" && break
|
---|
| 2128 | done
|
---|
| 2129 | fi
|
---|
| 2130 | if test -z "$CC"; then
|
---|
| 2131 | ac_ct_CC=$CC
|
---|
[20848] | 2132 | for ac_prog in cl.exe
|
---|
[16568] | 2133 | do
|
---|
| 2134 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2135 | set dummy $ac_prog; ac_word=$2
|
---|
[20848] | 2136 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2137 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16568] | 2138 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
| 2139 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2140 | else
|
---|
| 2141 | if test -n "$ac_ct_CC"; then
|
---|
| 2142 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2143 | else
|
---|
| 2144 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2145 | for as_dir in $PATH
|
---|
| 2146 | do
|
---|
| 2147 | IFS=$as_save_IFS
|
---|
| 2148 | test -z "$as_dir" && as_dir=.
|
---|
| 2149 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20848] | 2150 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 2151 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
| 2152 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2153 | break 2
|
---|
| 2154 | fi
|
---|
| 2155 | done
|
---|
| 2156 | done
|
---|
[20848] | 2157 | IFS=$as_save_IFS
|
---|
[16568] | 2158 |
|
---|
| 2159 | fi
|
---|
| 2160 | fi
|
---|
| 2161 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2162 | if test -n "$ac_ct_CC"; then
|
---|
[20848] | 2163 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 2164 | echo "${ECHO_T}$ac_ct_CC" >&6; }
|
---|
[16568] | 2165 | else
|
---|
[20848] | 2166 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2167 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 2168 | fi
|
---|
| 2169 |
|
---|
[20848] | 2170 |
|
---|
[16568] | 2171 | test -n "$ac_ct_CC" && break
|
---|
| 2172 | done
|
---|
| 2173 |
|
---|
[20848] | 2174 | if test "x$ac_ct_CC" = x; then
|
---|
| 2175 | CC=""
|
---|
| 2176 | else
|
---|
| 2177 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2178 | yes:)
|
---|
| 2179 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 2180 | whose name does not start with the host triplet. If you think this
|
---|
| 2181 | configuration is useful to you, please write to [email protected]." >&5
|
---|
| 2182 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 2183 | whose name does not start with the host triplet. If you think this
|
---|
| 2184 | configuration is useful to you, please write to [email protected]." >&2;}
|
---|
| 2185 | ac_tool_warned=yes ;;
|
---|
| 2186 | esac
|
---|
| 2187 | CC=$ac_ct_CC
|
---|
| 2188 | fi
|
---|
[16568] | 2189 | fi
|
---|
| 2190 |
|
---|
| 2191 | fi
|
---|
| 2192 |
|
---|
| 2193 |
|
---|
| 2194 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
---|
| 2195 | See \`config.log' for more details." >&5
|
---|
| 2196 | echo "$as_me: error: no acceptable C compiler found in \$PATH
|
---|
| 2197 | See \`config.log' for more details." >&2;}
|
---|
| 2198 | { (exit 1); exit 1; }; }
|
---|
| 2199 |
|
---|
| 2200 | # Provide some information about the compiler.
|
---|
[20848] | 2201 | echo "$as_me:$LINENO: checking for C compiler version" >&5
|
---|
[16568] | 2202 | ac_compiler=`set X $ac_compile; echo $2`
|
---|
[20848] | 2203 | { (ac_try="$ac_compiler --version >&5"
|
---|
| 2204 | case "(($ac_try" in
|
---|
| 2205 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2206 | *) ac_try_echo=$ac_try;;
|
---|
| 2207 | esac
|
---|
| 2208 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2209 | (eval "$ac_compiler --version >&5") 2>&5
|
---|
[16568] | 2210 | ac_status=$?
|
---|
| 2211 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2212 | (exit $ac_status); }
|
---|
[20848] | 2213 | { (ac_try="$ac_compiler -v >&5"
|
---|
| 2214 | case "(($ac_try" in
|
---|
| 2215 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2216 | *) ac_try_echo=$ac_try;;
|
---|
| 2217 | esac
|
---|
| 2218 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2219 | (eval "$ac_compiler -v >&5") 2>&5
|
---|
[16568] | 2220 | ac_status=$?
|
---|
| 2221 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2222 | (exit $ac_status); }
|
---|
[20848] | 2223 | { (ac_try="$ac_compiler -V >&5"
|
---|
| 2224 | case "(($ac_try" in
|
---|
| 2225 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2226 | *) ac_try_echo=$ac_try;;
|
---|
| 2227 | esac
|
---|
| 2228 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2229 | (eval "$ac_compiler -V >&5") 2>&5
|
---|
[16568] | 2230 | ac_status=$?
|
---|
| 2231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2232 | (exit $ac_status); }
|
---|
| 2233 |
|
---|
| 2234 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2235 | /* confdefs.h. */
|
---|
| 2236 | _ACEOF
|
---|
| 2237 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2238 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2239 | /* end confdefs.h. */
|
---|
| 2240 |
|
---|
| 2241 | int
|
---|
| 2242 | main ()
|
---|
| 2243 | {
|
---|
| 2244 |
|
---|
| 2245 | ;
|
---|
| 2246 | return 0;
|
---|
| 2247 | }
|
---|
| 2248 | _ACEOF
|
---|
| 2249 | ac_clean_files_save=$ac_clean_files
|
---|
| 2250 | ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
---|
| 2251 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 2252 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 2253 | # of exeext.
|
---|
[20848] | 2254 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
---|
| 2255 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
|
---|
[16568] | 2256 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
[20848] | 2257 | #
|
---|
| 2258 | # List of possible output files, starting from the most likely.
|
---|
| 2259 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
|
---|
| 2260 | # only as a last resort. b.out is created by i960 compilers.
|
---|
| 2261 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
|
---|
| 2262 | #
|
---|
| 2263 | # The IRIX 6 linker writes into existing files which may not be
|
---|
| 2264 | # executable, retaining their permissions. Remove them first so a
|
---|
| 2265 | # subsequent execution test works.
|
---|
| 2266 | ac_rmfiles=
|
---|
| 2267 | for ac_file in $ac_files
|
---|
| 2268 | do
|
---|
| 2269 | case $ac_file in
|
---|
| 2270 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
---|
| 2271 | * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
---|
| 2272 | esac
|
---|
| 2273 | done
|
---|
| 2274 | rm -f $ac_rmfiles
|
---|
| 2275 |
|
---|
| 2276 | if { (ac_try="$ac_link_default"
|
---|
| 2277 | case "(($ac_try" in
|
---|
| 2278 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2279 | *) ac_try_echo=$ac_try;;
|
---|
| 2280 | esac
|
---|
| 2281 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2282 | (eval "$ac_link_default") 2>&5
|
---|
[16568] | 2283 | ac_status=$?
|
---|
| 2284 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2285 | (exit $ac_status); }; then
|
---|
[20848] | 2286 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
---|
| 2287 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
---|
| 2288 | # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
---|
| 2289 | # so that the user can short-circuit this test for compilers unknown to
|
---|
| 2290 | # Autoconf.
|
---|
| 2291 | for ac_file in $ac_files ''
|
---|
[16568] | 2292 | do
|
---|
| 2293 | test -f "$ac_file" || continue
|
---|
| 2294 | case $ac_file in
|
---|
[20848] | 2295 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
|
---|
[16568] | 2296 | ;;
|
---|
| 2297 | [ab].out )
|
---|
| 2298 | # We found the default executable, but exeext='' is most
|
---|
| 2299 | # certainly right.
|
---|
| 2300 | break;;
|
---|
| 2301 | *.* )
|
---|
[20848] | 2302 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
---|
| 2303 | then :; else
|
---|
| 2304 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2305 | fi
|
---|
| 2306 | # We set ac_cv_exeext here because the later test for it is not
|
---|
| 2307 | # safe: cross compilers may not add the suffix if given an `-o'
|
---|
| 2308 | # argument, so we may need to know it at that point already.
|
---|
| 2309 | # Even if this section looks crufty: it has the advantage of
|
---|
| 2310 | # actually working.
|
---|
[16568] | 2311 | break;;
|
---|
| 2312 | * )
|
---|
| 2313 | break;;
|
---|
| 2314 | esac
|
---|
| 2315 | done
|
---|
[20848] | 2316 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
| 2317 |
|
---|
[16568] | 2318 | else
|
---|
[20848] | 2319 | ac_file=''
|
---|
| 2320 | fi
|
---|
| 2321 |
|
---|
| 2322 | { echo "$as_me:$LINENO: result: $ac_file" >&5
|
---|
| 2323 | echo "${ECHO_T}$ac_file" >&6; }
|
---|
| 2324 | if test -z "$ac_file"; then
|
---|
[16568] | 2325 | echo "$as_me: failed program was:" >&5
|
---|
| 2326 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2327 |
|
---|
| 2328 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
---|
| 2329 | See \`config.log' for more details." >&5
|
---|
| 2330 | echo "$as_me: error: C compiler cannot create executables
|
---|
| 2331 | See \`config.log' for more details." >&2;}
|
---|
| 2332 | { (exit 77); exit 77; }; }
|
---|
| 2333 | fi
|
---|
| 2334 |
|
---|
| 2335 | ac_exeext=$ac_cv_exeext
|
---|
| 2336 |
|
---|
[20848] | 2337 | # Check that the compiler produces executables we can run. If not, either
|
---|
[16568] | 2338 | # the compiler is broken, or we cross compile.
|
---|
[20848] | 2339 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
---|
| 2340 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
|
---|
[16568] | 2341 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
---|
| 2342 | # If not cross compiling, check that we can run a simple program.
|
---|
| 2343 | if test "$cross_compiling" != yes; then
|
---|
| 2344 | if { ac_try='./$ac_file'
|
---|
[20848] | 2345 | { (case "(($ac_try" in
|
---|
| 2346 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2347 | *) ac_try_echo=$ac_try;;
|
---|
| 2348 | esac
|
---|
| 2349 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2350 | (eval "$ac_try") 2>&5
|
---|
[16568] | 2351 | ac_status=$?
|
---|
| 2352 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2353 | (exit $ac_status); }; }; then
|
---|
| 2354 | cross_compiling=no
|
---|
| 2355 | else
|
---|
| 2356 | if test "$cross_compiling" = maybe; then
|
---|
| 2357 | cross_compiling=yes
|
---|
| 2358 | else
|
---|
| 2359 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
---|
| 2360 | If you meant to cross compile, use \`--host'.
|
---|
| 2361 | See \`config.log' for more details." >&5
|
---|
| 2362 | echo "$as_me: error: cannot run C compiled programs.
|
---|
| 2363 | If you meant to cross compile, use \`--host'.
|
---|
| 2364 | See \`config.log' for more details." >&2;}
|
---|
| 2365 | { (exit 1); exit 1; }; }
|
---|
| 2366 | fi
|
---|
| 2367 | fi
|
---|
| 2368 | fi
|
---|
[20848] | 2369 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 2370 | echo "${ECHO_T}yes" >&6; }
|
---|
[16568] | 2371 |
|
---|
| 2372 | rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
---|
| 2373 | ac_clean_files=$ac_clean_files_save
|
---|
[20848] | 2374 | # Check that the compiler produces executables we can run. If not, either
|
---|
[16568] | 2375 | # the compiler is broken, or we cross compile.
|
---|
[20848] | 2376 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
---|
| 2377 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
|
---|
| 2378 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
---|
| 2379 | echo "${ECHO_T}$cross_compiling" >&6; }
|
---|
[16568] | 2380 |
|
---|
[20848] | 2381 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
---|
| 2382 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
|
---|
| 2383 | if { (ac_try="$ac_link"
|
---|
| 2384 | case "(($ac_try" in
|
---|
| 2385 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2386 | *) ac_try_echo=$ac_try;;
|
---|
| 2387 | esac
|
---|
| 2388 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2389 | (eval "$ac_link") 2>&5
|
---|
[16568] | 2390 | ac_status=$?
|
---|
| 2391 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2392 | (exit $ac_status); }; then
|
---|
| 2393 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 2394 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 2395 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 2396 | # `rm'.
|
---|
| 2397 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 2398 | test -f "$ac_file" || continue
|
---|
| 2399 | case $ac_file in
|
---|
[20848] | 2400 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
---|
[16568] | 2401 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2402 | break;;
|
---|
| 2403 | * ) break;;
|
---|
| 2404 | esac
|
---|
| 2405 | done
|
---|
| 2406 | else
|
---|
| 2407 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
---|
| 2408 | See \`config.log' for more details." >&5
|
---|
| 2409 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
---|
| 2410 | See \`config.log' for more details." >&2;}
|
---|
| 2411 | { (exit 1); exit 1; }; }
|
---|
| 2412 | fi
|
---|
| 2413 |
|
---|
| 2414 | rm -f conftest$ac_cv_exeext
|
---|
[20848] | 2415 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
---|
| 2416 | echo "${ECHO_T}$ac_cv_exeext" >&6; }
|
---|
[16568] | 2417 |
|
---|
| 2418 | rm -f conftest.$ac_ext
|
---|
| 2419 | EXEEXT=$ac_cv_exeext
|
---|
| 2420 | ac_exeext=$EXEEXT
|
---|
[20848] | 2421 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
---|
| 2422 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
|
---|
[16568] | 2423 | if test "${ac_cv_objext+set}" = set; then
|
---|
| 2424 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2425 | else
|
---|
| 2426 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2427 | /* confdefs.h. */
|
---|
| 2428 | _ACEOF
|
---|
| 2429 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2430 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2431 | /* end confdefs.h. */
|
---|
| 2432 |
|
---|
| 2433 | int
|
---|
| 2434 | main ()
|
---|
| 2435 | {
|
---|
| 2436 |
|
---|
| 2437 | ;
|
---|
| 2438 | return 0;
|
---|
| 2439 | }
|
---|
| 2440 | _ACEOF
|
---|
| 2441 | rm -f conftest.o conftest.obj
|
---|
[20848] | 2442 | if { (ac_try="$ac_compile"
|
---|
| 2443 | case "(($ac_try" in
|
---|
| 2444 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2445 | *) ac_try_echo=$ac_try;;
|
---|
| 2446 | esac
|
---|
| 2447 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2448 | (eval "$ac_compile") 2>&5
|
---|
[16568] | 2449 | ac_status=$?
|
---|
| 2450 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2451 | (exit $ac_status); }; then
|
---|
[20848] | 2452 | for ac_file in conftest.o conftest.obj conftest.*; do
|
---|
| 2453 | test -f "$ac_file" || continue;
|
---|
[16568] | 2454 | case $ac_file in
|
---|
[20848] | 2455 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
|
---|
[16568] | 2456 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 2457 | break;;
|
---|
| 2458 | esac
|
---|
| 2459 | done
|
---|
| 2460 | else
|
---|
| 2461 | echo "$as_me: failed program was:" >&5
|
---|
| 2462 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2463 |
|
---|
| 2464 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
---|
| 2465 | See \`config.log' for more details." >&5
|
---|
| 2466 | echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
---|
| 2467 | See \`config.log' for more details." >&2;}
|
---|
| 2468 | { (exit 1); exit 1; }; }
|
---|
| 2469 | fi
|
---|
| 2470 |
|
---|
| 2471 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
| 2472 | fi
|
---|
[20848] | 2473 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
---|
| 2474 | echo "${ECHO_T}$ac_cv_objext" >&6; }
|
---|
[16568] | 2475 | OBJEXT=$ac_cv_objext
|
---|
| 2476 | ac_objext=$OBJEXT
|
---|
[20848] | 2477 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
---|
| 2478 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
---|
[16568] | 2479 | if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
---|
| 2480 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2481 | else
|
---|
| 2482 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2483 | /* confdefs.h. */
|
---|
| 2484 | _ACEOF
|
---|
| 2485 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2486 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2487 | /* end confdefs.h. */
|
---|
| 2488 |
|
---|
| 2489 | int
|
---|
| 2490 | main ()
|
---|
| 2491 | {
|
---|
| 2492 | #ifndef __GNUC__
|
---|
| 2493 | choke me
|
---|
| 2494 | #endif
|
---|
| 2495 |
|
---|
| 2496 | ;
|
---|
| 2497 | return 0;
|
---|
| 2498 | }
|
---|
| 2499 | _ACEOF
|
---|
| 2500 | rm -f conftest.$ac_objext
|
---|
[20848] | 2501 | if { (ac_try="$ac_compile"
|
---|
| 2502 | case "(($ac_try" in
|
---|
| 2503 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2504 | *) ac_try_echo=$ac_try;;
|
---|
| 2505 | esac
|
---|
| 2506 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2507 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 2508 | ac_status=$?
|
---|
| 2509 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2510 | rm -f conftest.er1
|
---|
| 2511 | cat conftest.err >&5
|
---|
| 2512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 2513 | (exit $ac_status); } && {
|
---|
| 2514 | test -z "$ac_c_werror_flag" ||
|
---|
| 2515 | test ! -s conftest.err
|
---|
| 2516 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 2517 | ac_compiler_gnu=yes
|
---|
| 2518 | else
|
---|
| 2519 | echo "$as_me: failed program was:" >&5
|
---|
| 2520 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2521 |
|
---|
[20848] | 2522 | ac_compiler_gnu=no
|
---|
[16568] | 2523 | fi
|
---|
[20848] | 2524 |
|
---|
| 2525 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 2526 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
| 2527 |
|
---|
| 2528 | fi
|
---|
[20848] | 2529 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
---|
| 2530 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
---|
[16568] | 2531 | GCC=`test $ac_compiler_gnu = yes && echo yes`
|
---|
| 2532 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 2533 | ac_save_CFLAGS=$CFLAGS
|
---|
[20848] | 2534 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
---|
| 2535 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
---|
[16568] | 2536 | if test "${ac_cv_prog_cc_g+set}" = set; then
|
---|
| 2537 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2538 | else
|
---|
[20848] | 2539 | ac_save_c_werror_flag=$ac_c_werror_flag
|
---|
| 2540 | ac_c_werror_flag=yes
|
---|
| 2541 | ac_cv_prog_cc_g=no
|
---|
| 2542 | CFLAGS="-g"
|
---|
| 2543 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[16568] | 2544 | /* confdefs.h. */
|
---|
| 2545 | _ACEOF
|
---|
| 2546 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2547 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2548 | /* end confdefs.h. */
|
---|
| 2549 |
|
---|
| 2550 | int
|
---|
| 2551 | main ()
|
---|
| 2552 | {
|
---|
| 2553 |
|
---|
| 2554 | ;
|
---|
| 2555 | return 0;
|
---|
| 2556 | }
|
---|
| 2557 | _ACEOF
|
---|
| 2558 | rm -f conftest.$ac_objext
|
---|
[20848] | 2559 | if { (ac_try="$ac_compile"
|
---|
| 2560 | case "(($ac_try" in
|
---|
| 2561 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2562 | *) ac_try_echo=$ac_try;;
|
---|
| 2563 | esac
|
---|
| 2564 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2565 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 2566 | ac_status=$?
|
---|
| 2567 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2568 | rm -f conftest.er1
|
---|
| 2569 | cat conftest.err >&5
|
---|
| 2570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 2571 | (exit $ac_status); } && {
|
---|
| 2572 | test -z "$ac_c_werror_flag" ||
|
---|
| 2573 | test ! -s conftest.err
|
---|
| 2574 | } && test -s conftest.$ac_objext; then
|
---|
| 2575 | ac_cv_prog_cc_g=yes
|
---|
| 2576 | else
|
---|
| 2577 | echo "$as_me: failed program was:" >&5
|
---|
| 2578 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2579 |
|
---|
| 2580 | CFLAGS=""
|
---|
| 2581 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2582 | /* confdefs.h. */
|
---|
| 2583 | _ACEOF
|
---|
| 2584 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2585 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2586 | /* end confdefs.h. */
|
---|
| 2587 |
|
---|
| 2588 | int
|
---|
| 2589 | main ()
|
---|
| 2590 | {
|
---|
| 2591 |
|
---|
| 2592 | ;
|
---|
| 2593 | return 0;
|
---|
| 2594 | }
|
---|
| 2595 | _ACEOF
|
---|
| 2596 | rm -f conftest.$ac_objext
|
---|
| 2597 | if { (ac_try="$ac_compile"
|
---|
| 2598 | case "(($ac_try" in
|
---|
| 2599 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2600 | *) ac_try_echo=$ac_try;;
|
---|
| 2601 | esac
|
---|
| 2602 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2603 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 2604 | ac_status=$?
|
---|
[20848] | 2605 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2606 | rm -f conftest.er1
|
---|
| 2607 | cat conftest.err >&5
|
---|
[16568] | 2608 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 2609 | (exit $ac_status); } && {
|
---|
| 2610 | test -z "$ac_c_werror_flag" ||
|
---|
| 2611 | test ! -s conftest.err
|
---|
| 2612 | } && test -s conftest.$ac_objext; then
|
---|
| 2613 | :
|
---|
| 2614 | else
|
---|
| 2615 | echo "$as_me: failed program was:" >&5
|
---|
| 2616 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2617 |
|
---|
| 2618 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 2619 | CFLAGS="-g"
|
---|
| 2620 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2621 | /* confdefs.h. */
|
---|
| 2622 | _ACEOF
|
---|
| 2623 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2624 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2625 | /* end confdefs.h. */
|
---|
| 2626 |
|
---|
| 2627 | int
|
---|
| 2628 | main ()
|
---|
| 2629 | {
|
---|
| 2630 |
|
---|
| 2631 | ;
|
---|
| 2632 | return 0;
|
---|
| 2633 | }
|
---|
| 2634 | _ACEOF
|
---|
| 2635 | rm -f conftest.$ac_objext
|
---|
| 2636 | if { (ac_try="$ac_compile"
|
---|
| 2637 | case "(($ac_try" in
|
---|
| 2638 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2639 | *) ac_try_echo=$ac_try;;
|
---|
| 2640 | esac
|
---|
| 2641 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2642 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 2643 | ac_status=$?
|
---|
[20848] | 2644 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2645 | rm -f conftest.er1
|
---|
| 2646 | cat conftest.err >&5
|
---|
[16568] | 2647 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 2648 | (exit $ac_status); } && {
|
---|
| 2649 | test -z "$ac_c_werror_flag" ||
|
---|
| 2650 | test ! -s conftest.err
|
---|
| 2651 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 2652 | ac_cv_prog_cc_g=yes
|
---|
| 2653 | else
|
---|
| 2654 | echo "$as_me: failed program was:" >&5
|
---|
| 2655 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2656 |
|
---|
[20848] | 2657 |
|
---|
[16568] | 2658 | fi
|
---|
[20848] | 2659 |
|
---|
| 2660 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 2661 | fi
|
---|
[20848] | 2662 |
|
---|
| 2663 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2664 | fi
|
---|
| 2665 |
|
---|
| 2666 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2667 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 2668 | fi
|
---|
| 2669 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
---|
| 2670 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
---|
[16568] | 2671 | if test "$ac_test_CFLAGS" = set; then
|
---|
| 2672 | CFLAGS=$ac_save_CFLAGS
|
---|
| 2673 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 2674 | if test "$GCC" = yes; then
|
---|
| 2675 | CFLAGS="-g -O2"
|
---|
| 2676 | else
|
---|
| 2677 | CFLAGS="-g"
|
---|
| 2678 | fi
|
---|
| 2679 | else
|
---|
| 2680 | if test "$GCC" = yes; then
|
---|
| 2681 | CFLAGS="-O2"
|
---|
| 2682 | else
|
---|
| 2683 | CFLAGS=
|
---|
| 2684 | fi
|
---|
| 2685 | fi
|
---|
[20848] | 2686 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
---|
| 2687 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
|
---|
| 2688 | if test "${ac_cv_prog_cc_c89+set}" = set; then
|
---|
[16568] | 2689 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2690 | else
|
---|
[20848] | 2691 | ac_cv_prog_cc_c89=no
|
---|
[16568] | 2692 | ac_save_CC=$CC
|
---|
| 2693 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2694 | /* confdefs.h. */
|
---|
| 2695 | _ACEOF
|
---|
| 2696 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2697 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2698 | /* end confdefs.h. */
|
---|
| 2699 | #include <stdarg.h>
|
---|
| 2700 | #include <stdio.h>
|
---|
| 2701 | #include <sys/types.h>
|
---|
| 2702 | #include <sys/stat.h>
|
---|
| 2703 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 2704 | struct buf { int x; };
|
---|
| 2705 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 2706 | static char *e (p, i)
|
---|
| 2707 | char **p;
|
---|
| 2708 | int i;
|
---|
| 2709 | {
|
---|
| 2710 | return p[i];
|
---|
| 2711 | }
|
---|
| 2712 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 2713 | {
|
---|
| 2714 | char *s;
|
---|
| 2715 | va_list v;
|
---|
| 2716 | va_start (v,p);
|
---|
| 2717 | s = g (p, va_arg (v,int));
|
---|
| 2718 | va_end (v);
|
---|
| 2719 | return s;
|
---|
| 2720 | }
|
---|
| 2721 |
|
---|
| 2722 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 2723 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 2724 | These don't provoke an error unfortunately, instead are silently treated
|
---|
[20848] | 2725 | as 'x'. The following induces an error, until -std is added to get
|
---|
[16568] | 2726 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 2727 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
[20848] | 2728 | that's true only with -std. */
|
---|
[16568] | 2729 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 2730 |
|
---|
[20848] | 2731 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
---|
| 2732 | inside strings and character constants. */
|
---|
| 2733 | #define FOO(x) 'x'
|
---|
| 2734 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
| 2735 |
|
---|
[16568] | 2736 | int test (int i, double x);
|
---|
| 2737 | struct s1 {int (*f) (int a);};
|
---|
| 2738 | struct s2 {int (*f) (double a);};
|
---|
| 2739 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 2740 | int argc;
|
---|
| 2741 | char **argv;
|
---|
| 2742 | int
|
---|
| 2743 | main ()
|
---|
| 2744 | {
|
---|
| 2745 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 2746 | ;
|
---|
| 2747 | return 0;
|
---|
| 2748 | }
|
---|
| 2749 | _ACEOF
|
---|
[20848] | 2750 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
| 2751 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
[16568] | 2752 | do
|
---|
| 2753 | CC="$ac_save_CC $ac_arg"
|
---|
| 2754 | rm -f conftest.$ac_objext
|
---|
[20848] | 2755 | if { (ac_try="$ac_compile"
|
---|
| 2756 | case "(($ac_try" in
|
---|
| 2757 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2758 | *) ac_try_echo=$ac_try;;
|
---|
| 2759 | esac
|
---|
| 2760 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2761 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 2762 | ac_status=$?
|
---|
| 2763 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2764 | rm -f conftest.er1
|
---|
| 2765 | cat conftest.err >&5
|
---|
| 2766 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 2767 | (exit $ac_status); } && {
|
---|
| 2768 | test -z "$ac_c_werror_flag" ||
|
---|
| 2769 | test ! -s conftest.err
|
---|
| 2770 | } && test -s conftest.$ac_objext; then
|
---|
| 2771 | ac_cv_prog_cc_c89=$ac_arg
|
---|
[16568] | 2772 | else
|
---|
| 2773 | echo "$as_me: failed program was:" >&5
|
---|
| 2774 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2775 |
|
---|
[20848] | 2776 |
|
---|
[16568] | 2777 | fi
|
---|
[20848] | 2778 |
|
---|
| 2779 | rm -f core conftest.err conftest.$ac_objext
|
---|
| 2780 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
[16568] | 2781 | done
|
---|
[20848] | 2782 | rm -f conftest.$ac_ext
|
---|
[16568] | 2783 | CC=$ac_save_CC
|
---|
| 2784 |
|
---|
| 2785 | fi
|
---|
[20848] | 2786 | # AC_CACHE_VAL
|
---|
| 2787 | case "x$ac_cv_prog_cc_c89" in
|
---|
| 2788 | x)
|
---|
| 2789 | { echo "$as_me:$LINENO: result: none needed" >&5
|
---|
| 2790 | echo "${ECHO_T}none needed" >&6; } ;;
|
---|
| 2791 | xno)
|
---|
| 2792 | { echo "$as_me:$LINENO: result: unsupported" >&5
|
---|
| 2793 | echo "${ECHO_T}unsupported" >&6; } ;;
|
---|
[16568] | 2794 | *)
|
---|
[20848] | 2795 | CC="$CC $ac_cv_prog_cc_c89"
|
---|
| 2796 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
---|
| 2797 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
---|
[16568] | 2798 | esac
|
---|
| 2799 |
|
---|
| 2800 |
|
---|
| 2801 | ac_ext=c
|
---|
| 2802 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2803 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2804 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2805 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2806 |
|
---|
[20848] | 2807 | ac_ext=cpp
|
---|
[16568] | 2808 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 2809 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2810 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2811 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[20848] | 2812 | if test -z "$CXX"; then
|
---|
| 2813 | if test -n "$CCC"; then
|
---|
| 2814 | CXX=$CCC
|
---|
| 2815 | else
|
---|
| 2816 | if test -n "$ac_tool_prefix"; then
|
---|
| 2817 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16568] | 2818 | do
|
---|
| 2819 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2820 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[20848] | 2821 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2822 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16568] | 2823 | if test "${ac_cv_prog_CXX+set}" = set; then
|
---|
| 2824 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2825 | else
|
---|
| 2826 | if test -n "$CXX"; then
|
---|
| 2827 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 2828 | else
|
---|
| 2829 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2830 | for as_dir in $PATH
|
---|
| 2831 | do
|
---|
| 2832 | IFS=$as_save_IFS
|
---|
| 2833 | test -z "$as_dir" && as_dir=.
|
---|
| 2834 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20848] | 2835 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 2836 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
| 2837 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2838 | break 2
|
---|
| 2839 | fi
|
---|
| 2840 | done
|
---|
| 2841 | done
|
---|
[20848] | 2842 | IFS=$as_save_IFS
|
---|
[16568] | 2843 |
|
---|
| 2844 | fi
|
---|
| 2845 | fi
|
---|
| 2846 | CXX=$ac_cv_prog_CXX
|
---|
| 2847 | if test -n "$CXX"; then
|
---|
[20848] | 2848 | { echo "$as_me:$LINENO: result: $CXX" >&5
|
---|
| 2849 | echo "${ECHO_T}$CXX" >&6; }
|
---|
[16568] | 2850 | else
|
---|
[20848] | 2851 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2852 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 2853 | fi
|
---|
| 2854 |
|
---|
[20848] | 2855 |
|
---|
[16568] | 2856 | test -n "$CXX" && break
|
---|
| 2857 | done
|
---|
| 2858 | fi
|
---|
| 2859 | if test -z "$CXX"; then
|
---|
| 2860 | ac_ct_CXX=$CXX
|
---|
[20848] | 2861 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16568] | 2862 | do
|
---|
| 2863 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2864 | set dummy $ac_prog; ac_word=$2
|
---|
[20848] | 2865 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2866 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16568] | 2867 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
---|
| 2868 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2869 | else
|
---|
| 2870 | if test -n "$ac_ct_CXX"; then
|
---|
| 2871 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 2872 | else
|
---|
| 2873 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2874 | for as_dir in $PATH
|
---|
| 2875 | do
|
---|
| 2876 | IFS=$as_save_IFS
|
---|
| 2877 | test -z "$as_dir" && as_dir=.
|
---|
| 2878 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20848] | 2879 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 2880 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
| 2881 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 2882 | break 2
|
---|
| 2883 | fi
|
---|
| 2884 | done
|
---|
| 2885 | done
|
---|
[20848] | 2886 | IFS=$as_save_IFS
|
---|
[16568] | 2887 |
|
---|
| 2888 | fi
|
---|
| 2889 | fi
|
---|
| 2890 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 2891 | if test -n "$ac_ct_CXX"; then
|
---|
[20848] | 2892 | { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
---|
| 2893 | echo "${ECHO_T}$ac_ct_CXX" >&6; }
|
---|
[16568] | 2894 | else
|
---|
[20848] | 2895 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2896 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 2897 | fi
|
---|
| 2898 |
|
---|
[20848] | 2899 |
|
---|
[16568] | 2900 | test -n "$ac_ct_CXX" && break
|
---|
| 2901 | done
|
---|
| 2902 |
|
---|
[20848] | 2903 | if test "x$ac_ct_CXX" = x; then
|
---|
| 2904 | CXX="g++"
|
---|
| 2905 | else
|
---|
| 2906 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2907 | yes:)
|
---|
| 2908 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 2909 | whose name does not start with the host triplet. If you think this
|
---|
| 2910 | configuration is useful to you, please write to [email protected]." >&5
|
---|
| 2911 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 2912 | whose name does not start with the host triplet. If you think this
|
---|
| 2913 | configuration is useful to you, please write to [email protected]." >&2;}
|
---|
| 2914 | ac_tool_warned=yes ;;
|
---|
| 2915 | esac
|
---|
| 2916 | CXX=$ac_ct_CXX
|
---|
| 2917 | fi
|
---|
[16568] | 2918 | fi
|
---|
| 2919 |
|
---|
[20848] | 2920 | fi
|
---|
| 2921 | fi
|
---|
[16568] | 2922 | # Provide some information about the compiler.
|
---|
[20848] | 2923 | echo "$as_me:$LINENO: checking for C++ compiler version" >&5
|
---|
[16568] | 2924 | ac_compiler=`set X $ac_compile; echo $2`
|
---|
[20848] | 2925 | { (ac_try="$ac_compiler --version >&5"
|
---|
| 2926 | case "(($ac_try" in
|
---|
| 2927 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2928 | *) ac_try_echo=$ac_try;;
|
---|
| 2929 | esac
|
---|
| 2930 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2931 | (eval "$ac_compiler --version >&5") 2>&5
|
---|
[16568] | 2932 | ac_status=$?
|
---|
| 2933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2934 | (exit $ac_status); }
|
---|
[20848] | 2935 | { (ac_try="$ac_compiler -v >&5"
|
---|
| 2936 | case "(($ac_try" in
|
---|
| 2937 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2938 | *) ac_try_echo=$ac_try;;
|
---|
| 2939 | esac
|
---|
| 2940 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2941 | (eval "$ac_compiler -v >&5") 2>&5
|
---|
[16568] | 2942 | ac_status=$?
|
---|
| 2943 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2944 | (exit $ac_status); }
|
---|
[20848] | 2945 | { (ac_try="$ac_compiler -V >&5"
|
---|
| 2946 | case "(($ac_try" in
|
---|
| 2947 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2948 | *) ac_try_echo=$ac_try;;
|
---|
| 2949 | esac
|
---|
| 2950 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2951 | (eval "$ac_compiler -V >&5") 2>&5
|
---|
[16568] | 2952 | ac_status=$?
|
---|
| 2953 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 2954 | (exit $ac_status); }
|
---|
| 2955 |
|
---|
[20848] | 2956 | { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
---|
| 2957 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
|
---|
[16568] | 2958 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
---|
| 2959 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 2960 | else
|
---|
| 2961 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2962 | /* confdefs.h. */
|
---|
| 2963 | _ACEOF
|
---|
| 2964 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2965 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2966 | /* end confdefs.h. */
|
---|
| 2967 |
|
---|
| 2968 | int
|
---|
| 2969 | main ()
|
---|
| 2970 | {
|
---|
| 2971 | #ifndef __GNUC__
|
---|
| 2972 | choke me
|
---|
| 2973 | #endif
|
---|
| 2974 |
|
---|
| 2975 | ;
|
---|
| 2976 | return 0;
|
---|
| 2977 | }
|
---|
| 2978 | _ACEOF
|
---|
| 2979 | rm -f conftest.$ac_objext
|
---|
[20848] | 2980 | if { (ac_try="$ac_compile"
|
---|
| 2981 | case "(($ac_try" in
|
---|
| 2982 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2983 | *) ac_try_echo=$ac_try;;
|
---|
| 2984 | esac
|
---|
| 2985 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 2986 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 2987 | ac_status=$?
|
---|
| 2988 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2989 | rm -f conftest.er1
|
---|
| 2990 | cat conftest.err >&5
|
---|
| 2991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 2992 | (exit $ac_status); } && {
|
---|
| 2993 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 2994 | test ! -s conftest.err
|
---|
| 2995 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 2996 | ac_compiler_gnu=yes
|
---|
| 2997 | else
|
---|
| 2998 | echo "$as_me: failed program was:" >&5
|
---|
| 2999 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3000 |
|
---|
[20848] | 3001 | ac_compiler_gnu=no
|
---|
[16568] | 3002 | fi
|
---|
[20848] | 3003 |
|
---|
| 3004 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 3005 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 3006 |
|
---|
| 3007 | fi
|
---|
[20848] | 3008 | { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
| 3009 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
|
---|
[16568] | 3010 | GXX=`test $ac_compiler_gnu = yes && echo yes`
|
---|
| 3011 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 3012 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
[20848] | 3013 | { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
---|
| 3014 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
|
---|
[16568] | 3015 | if test "${ac_cv_prog_cxx_g+set}" = set; then
|
---|
| 3016 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3017 | else
|
---|
[20848] | 3018 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
---|
| 3019 | ac_cxx_werror_flag=yes
|
---|
| 3020 | ac_cv_prog_cxx_g=no
|
---|
| 3021 | CXXFLAGS="-g"
|
---|
| 3022 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[16568] | 3023 | /* confdefs.h. */
|
---|
| 3024 | _ACEOF
|
---|
| 3025 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3026 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3027 | /* end confdefs.h. */
|
---|
| 3028 |
|
---|
| 3029 | int
|
---|
| 3030 | main ()
|
---|
| 3031 | {
|
---|
| 3032 |
|
---|
| 3033 | ;
|
---|
| 3034 | return 0;
|
---|
| 3035 | }
|
---|
| 3036 | _ACEOF
|
---|
| 3037 | rm -f conftest.$ac_objext
|
---|
[20848] | 3038 | if { (ac_try="$ac_compile"
|
---|
| 3039 | case "(($ac_try" in
|
---|
| 3040 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3041 | *) ac_try_echo=$ac_try;;
|
---|
| 3042 | esac
|
---|
| 3043 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 3044 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 3045 | ac_status=$?
|
---|
| 3046 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3047 | rm -f conftest.er1
|
---|
| 3048 | cat conftest.err >&5
|
---|
| 3049 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 3050 | (exit $ac_status); } && {
|
---|
| 3051 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 3052 | test ! -s conftest.err
|
---|
| 3053 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 3054 | ac_cv_prog_cxx_g=yes
|
---|
| 3055 | else
|
---|
| 3056 | echo "$as_me: failed program was:" >&5
|
---|
| 3057 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3058 |
|
---|
[20848] | 3059 | CXXFLAGS=""
|
---|
| 3060 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[16568] | 3061 | /* confdefs.h. */
|
---|
| 3062 | _ACEOF
|
---|
| 3063 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3064 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3065 | /* end confdefs.h. */
|
---|
[20848] | 3066 |
|
---|
[16568] | 3067 | int
|
---|
| 3068 | main ()
|
---|
| 3069 | {
|
---|
[20848] | 3070 |
|
---|
[16568] | 3071 | ;
|
---|
| 3072 | return 0;
|
---|
| 3073 | }
|
---|
| 3074 | _ACEOF
|
---|
| 3075 | rm -f conftest.$ac_objext
|
---|
[20848] | 3076 | if { (ac_try="$ac_compile"
|
---|
| 3077 | case "(($ac_try" in
|
---|
| 3078 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3079 | *) ac_try_echo=$ac_try;;
|
---|
| 3080 | esac
|
---|
| 3081 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 3082 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 3083 | ac_status=$?
|
---|
| 3084 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3085 | rm -f conftest.er1
|
---|
| 3086 | cat conftest.err >&5
|
---|
| 3087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 3088 | (exit $ac_status); } && {
|
---|
| 3089 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 3090 | test ! -s conftest.err
|
---|
| 3091 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 3092 | :
|
---|
| 3093 | else
|
---|
| 3094 | echo "$as_me: failed program was:" >&5
|
---|
| 3095 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3096 |
|
---|
[20848] | 3097 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3098 | CXXFLAGS="-g"
|
---|
| 3099 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[16568] | 3100 | /* confdefs.h. */
|
---|
| 3101 | _ACEOF
|
---|
| 3102 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3103 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3104 | /* end confdefs.h. */
|
---|
[20848] | 3105 |
|
---|
[16568] | 3106 | int
|
---|
| 3107 | main ()
|
---|
| 3108 | {
|
---|
[20848] | 3109 |
|
---|
[16568] | 3110 | ;
|
---|
| 3111 | return 0;
|
---|
| 3112 | }
|
---|
| 3113 | _ACEOF
|
---|
| 3114 | rm -f conftest.$ac_objext
|
---|
[20848] | 3115 | if { (ac_try="$ac_compile"
|
---|
| 3116 | case "(($ac_try" in
|
---|
| 3117 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3118 | *) ac_try_echo=$ac_try;;
|
---|
| 3119 | esac
|
---|
| 3120 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 3121 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 3122 | ac_status=$?
|
---|
| 3123 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3124 | rm -f conftest.er1
|
---|
| 3125 | cat conftest.err >&5
|
---|
| 3126 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 3127 | (exit $ac_status); } && {
|
---|
| 3128 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 3129 | test ! -s conftest.err
|
---|
| 3130 | } && test -s conftest.$ac_objext; then
|
---|
| 3131 | ac_cv_prog_cxx_g=yes
|
---|
[16568] | 3132 | else
|
---|
| 3133 | echo "$as_me: failed program was:" >&5
|
---|
| 3134 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3135 |
|
---|
[20848] | 3136 |
|
---|
[16568] | 3137 | fi
|
---|
[20848] | 3138 |
|
---|
| 3139 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 3140 | fi
|
---|
| 3141 |
|
---|
[20848] | 3142 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3143 | fi
|
---|
| 3144 |
|
---|
| 3145 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3146 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3147 | fi
|
---|
| 3148 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
---|
| 3149 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
|
---|
| 3150 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 3151 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 3152 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 3153 | if test "$GXX" = yes; then
|
---|
| 3154 | CXXFLAGS="-g -O2"
|
---|
| 3155 | else
|
---|
| 3156 | CXXFLAGS="-g"
|
---|
| 3157 | fi
|
---|
| 3158 | else
|
---|
| 3159 | if test "$GXX" = yes; then
|
---|
| 3160 | CXXFLAGS="-O2"
|
---|
| 3161 | else
|
---|
| 3162 | CXXFLAGS=
|
---|
| 3163 | fi
|
---|
| 3164 | fi
|
---|
[16568] | 3165 | ac_ext=c
|
---|
| 3166 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3167 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3168 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3169 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3170 |
|
---|
| 3171 | for ac_prog in gawk mawk nawk awk
|
---|
| 3172 | do
|
---|
| 3173 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3174 | set dummy $ac_prog; ac_word=$2
|
---|
[20848] | 3175 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3176 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16568] | 3177 | if test "${ac_cv_prog_AWK+set}" = set; then
|
---|
| 3178 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3179 | else
|
---|
| 3180 | if test -n "$AWK"; then
|
---|
| 3181 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 3182 | else
|
---|
| 3183 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3184 | for as_dir in $PATH
|
---|
| 3185 | do
|
---|
| 3186 | IFS=$as_save_IFS
|
---|
| 3187 | test -z "$as_dir" && as_dir=.
|
---|
| 3188 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20848] | 3189 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 3190 | ac_cv_prog_AWK="$ac_prog"
|
---|
| 3191 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3192 | break 2
|
---|
| 3193 | fi
|
---|
| 3194 | done
|
---|
| 3195 | done
|
---|
[20848] | 3196 | IFS=$as_save_IFS
|
---|
[16568] | 3197 |
|
---|
| 3198 | fi
|
---|
| 3199 | fi
|
---|
| 3200 | AWK=$ac_cv_prog_AWK
|
---|
| 3201 | if test -n "$AWK"; then
|
---|
[20848] | 3202 | { echo "$as_me:$LINENO: result: $AWK" >&5
|
---|
| 3203 | echo "${ECHO_T}$AWK" >&6; }
|
---|
[16568] | 3204 | else
|
---|
[20848] | 3205 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3206 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 3207 | fi
|
---|
| 3208 |
|
---|
[20848] | 3209 |
|
---|
[16568] | 3210 | test -n "$AWK" && break
|
---|
| 3211 | done
|
---|
| 3212 |
|
---|
| 3213 | for ac_prog in 'bison -y' byacc
|
---|
| 3214 | do
|
---|
| 3215 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3216 | set dummy $ac_prog; ac_word=$2
|
---|
[20848] | 3217 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3218 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16568] | 3219 | if test "${ac_cv_prog_YACC+set}" = set; then
|
---|
| 3220 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3221 | else
|
---|
| 3222 | if test -n "$YACC"; then
|
---|
| 3223 | ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
---|
| 3224 | else
|
---|
| 3225 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3226 | for as_dir in $PATH
|
---|
| 3227 | do
|
---|
| 3228 | IFS=$as_save_IFS
|
---|
| 3229 | test -z "$as_dir" && as_dir=.
|
---|
| 3230 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20848] | 3231 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 3232 | ac_cv_prog_YACC="$ac_prog"
|
---|
| 3233 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3234 | break 2
|
---|
| 3235 | fi
|
---|
| 3236 | done
|
---|
| 3237 | done
|
---|
[20848] | 3238 | IFS=$as_save_IFS
|
---|
[16568] | 3239 |
|
---|
| 3240 | fi
|
---|
| 3241 | fi
|
---|
| 3242 | YACC=$ac_cv_prog_YACC
|
---|
| 3243 | if test -n "$YACC"; then
|
---|
[20848] | 3244 | { echo "$as_me:$LINENO: result: $YACC" >&5
|
---|
| 3245 | echo "${ECHO_T}$YACC" >&6; }
|
---|
[16568] | 3246 | else
|
---|
[20848] | 3247 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3248 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 3249 | fi
|
---|
| 3250 |
|
---|
[20848] | 3251 |
|
---|
[16568] | 3252 | test -n "$YACC" && break
|
---|
| 3253 | done
|
---|
| 3254 | test -n "$YACC" || YACC="yacc"
|
---|
| 3255 |
|
---|
| 3256 | ac_aux_dir=
|
---|
[20848] | 3257 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
---|
| 3258 | if test -f "$ac_dir/install-sh"; then
|
---|
[16568] | 3259 | ac_aux_dir=$ac_dir
|
---|
| 3260 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 3261 | break
|
---|
[20848] | 3262 | elif test -f "$ac_dir/install.sh"; then
|
---|
[16568] | 3263 | ac_aux_dir=$ac_dir
|
---|
| 3264 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 3265 | break
|
---|
[20848] | 3266 | elif test -f "$ac_dir/shtool"; then
|
---|
[16568] | 3267 | ac_aux_dir=$ac_dir
|
---|
| 3268 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 3269 | break
|
---|
| 3270 | fi
|
---|
| 3271 | done
|
---|
| 3272 | if test -z "$ac_aux_dir"; then
|
---|
[20848] | 3273 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
---|
| 3274 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
---|
[16568] | 3275 | { (exit 1); exit 1; }; }
|
---|
| 3276 | fi
|
---|
| 3277 |
|
---|
[20848] | 3278 | # These three variables are undocumented and unsupported,
|
---|
| 3279 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
| 3280 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
| 3281 | # whose full name contains unusual characters.
|
---|
| 3282 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
| 3283 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
| 3284 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
| 3285 |
|
---|
| 3286 |
|
---|
[16568] | 3287 | # Make sure we can run config.sub.
|
---|
[20848] | 3288 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
---|
| 3289 | { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
---|
| 3290 | echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
---|
[16568] | 3291 | { (exit 1); exit 1; }; }
|
---|
| 3292 |
|
---|
[20848] | 3293 | { echo "$as_me:$LINENO: checking build system type" >&5
|
---|
| 3294 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
|
---|
[16568] | 3295 | if test "${ac_cv_build+set}" = set; then
|
---|
| 3296 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3297 | else
|
---|
[20848] | 3298 | ac_build_alias=$build_alias
|
---|
| 3299 | test "x$ac_build_alias" = x &&
|
---|
| 3300 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
---|
| 3301 | test "x$ac_build_alias" = x &&
|
---|
[16568] | 3302 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
---|
| 3303 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
---|
| 3304 | { (exit 1); exit 1; }; }
|
---|
[20848] | 3305 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
---|
| 3306 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
|
---|
| 3307 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
---|
[16568] | 3308 | { (exit 1); exit 1; }; }
|
---|
| 3309 |
|
---|
| 3310 | fi
|
---|
[20848] | 3311 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
---|
| 3312 | echo "${ECHO_T}$ac_cv_build" >&6; }
|
---|
| 3313 | case $ac_cv_build in
|
---|
| 3314 | *-*-*) ;;
|
---|
| 3315 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
|
---|
| 3316 | echo "$as_me: error: invalid value of canonical build" >&2;}
|
---|
| 3317 | { (exit 1); exit 1; }; };;
|
---|
| 3318 | esac
|
---|
[16568] | 3319 | build=$ac_cv_build
|
---|
[20848] | 3320 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 3321 | set x $ac_cv_build
|
---|
| 3322 | shift
|
---|
| 3323 | build_cpu=$1
|
---|
| 3324 | build_vendor=$2
|
---|
| 3325 | shift; shift
|
---|
| 3326 | # Remember, the first character of IFS is used to create $*,
|
---|
| 3327 | # except with old shells:
|
---|
| 3328 | build_os=$*
|
---|
| 3329 | IFS=$ac_save_IFS
|
---|
| 3330 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
---|
[16568] | 3331 |
|
---|
| 3332 |
|
---|
[20848] | 3333 | { echo "$as_me:$LINENO: checking host system type" >&5
|
---|
| 3334 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
|
---|
[16568] | 3335 | if test "${ac_cv_host+set}" = set; then
|
---|
| 3336 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3337 | else
|
---|
[20848] | 3338 | if test "x$host_alias" = x; then
|
---|
| 3339 | ac_cv_host=$ac_cv_build
|
---|
| 3340 | else
|
---|
| 3341 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
---|
| 3342 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
---|
| 3343 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
---|
[16568] | 3344 | { (exit 1); exit 1; }; }
|
---|
[20848] | 3345 | fi
|
---|
[16568] | 3346 |
|
---|
| 3347 | fi
|
---|
[20848] | 3348 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
---|
| 3349 | echo "${ECHO_T}$ac_cv_host" >&6; }
|
---|
| 3350 | case $ac_cv_host in
|
---|
| 3351 | *-*-*) ;;
|
---|
| 3352 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
---|
| 3353 | echo "$as_me: error: invalid value of canonical host" >&2;}
|
---|
| 3354 | { (exit 1); exit 1; }; };;
|
---|
| 3355 | esac
|
---|
[16568] | 3356 | host=$ac_cv_host
|
---|
[20848] | 3357 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 3358 | set x $ac_cv_host
|
---|
| 3359 | shift
|
---|
| 3360 | host_cpu=$1
|
---|
| 3361 | host_vendor=$2
|
---|
| 3362 | shift; shift
|
---|
| 3363 | # Remember, the first character of IFS is used to create $*,
|
---|
| 3364 | # except with old shells:
|
---|
| 3365 | host_os=$*
|
---|
| 3366 | IFS=$ac_save_IFS
|
---|
| 3367 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
---|
[16568] | 3368 |
|
---|
| 3369 |
|
---|
[20848] | 3370 | { echo "$as_me:$LINENO: checking target system type" >&5
|
---|
| 3371 | echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
|
---|
[16568] | 3372 | if test "${ac_cv_target+set}" = set; then
|
---|
| 3373 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3374 | else
|
---|
[20848] | 3375 | if test "x$target_alias" = x; then
|
---|
| 3376 | ac_cv_target=$ac_cv_host
|
---|
| 3377 | else
|
---|
| 3378 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
---|
| 3379 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
|
---|
| 3380 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
|
---|
[16568] | 3381 | { (exit 1); exit 1; }; }
|
---|
[20848] | 3382 | fi
|
---|
[16568] | 3383 |
|
---|
| 3384 | fi
|
---|
[20848] | 3385 | { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
---|
| 3386 | echo "${ECHO_T}$ac_cv_target" >&6; }
|
---|
| 3387 | case $ac_cv_target in
|
---|
| 3388 | *-*-*) ;;
|
---|
| 3389 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
|
---|
| 3390 | echo "$as_me: error: invalid value of canonical target" >&2;}
|
---|
| 3391 | { (exit 1); exit 1; }; };;
|
---|
| 3392 | esac
|
---|
[16568] | 3393 | target=$ac_cv_target
|
---|
[20848] | 3394 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 3395 | set x $ac_cv_target
|
---|
| 3396 | shift
|
---|
| 3397 | target_cpu=$1
|
---|
| 3398 | target_vendor=$2
|
---|
| 3399 | shift; shift
|
---|
| 3400 | # Remember, the first character of IFS is used to create $*,
|
---|
| 3401 | # except with old shells:
|
---|
| 3402 | target_os=$*
|
---|
| 3403 | IFS=$ac_save_IFS
|
---|
| 3404 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
---|
[16568] | 3405 |
|
---|
| 3406 |
|
---|
| 3407 | # The aliases save the names the user supplied, while $host etc.
|
---|
| 3408 | # will get canonicalized.
|
---|
| 3409 | test -n "$target_alias" &&
|
---|
| 3410 | test "$program_prefix$program_suffix$program_transform_name" = \
|
---|
| 3411 | NONENONEs,x,x, &&
|
---|
| 3412 | program_prefix=${target_alias}-
|
---|
| 3413 | # Find a good install program. We prefer a C program (faster),
|
---|
| 3414 | # so one script is as good as another. But avoid the broken or
|
---|
| 3415 | # incompatible versions:
|
---|
| 3416 | # SysV /etc/install, /usr/sbin/install
|
---|
| 3417 | # SunOS /usr/etc/install
|
---|
| 3418 | # IRIX /sbin/install
|
---|
| 3419 | # AIX /bin/install
|
---|
| 3420 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 3421 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 3422 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 3423 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
| 3424 | # OS/2's system install, which has a completely different semantic
|
---|
| 3425 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
[20848] | 3426 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
---|
| 3427 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
---|
[16568] | 3428 | if test -z "$INSTALL"; then
|
---|
| 3429 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 3430 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3431 | else
|
---|
| 3432 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3433 | for as_dir in $PATH
|
---|
| 3434 | do
|
---|
| 3435 | IFS=$as_save_IFS
|
---|
| 3436 | test -z "$as_dir" && as_dir=.
|
---|
| 3437 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 3438 | case $as_dir/ in
|
---|
| 3439 | ./ | .// | /cC/* | \
|
---|
| 3440 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
| 3441 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
---|
| 3442 | /usr/ucb/* ) ;;
|
---|
| 3443 | *)
|
---|
| 3444 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 3445 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 3446 | # by default.
|
---|
| 3447 | for ac_prog in ginstall scoinst install; do
|
---|
| 3448 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20848] | 3449 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
---|
[16568] | 3450 | if test $ac_prog = install &&
|
---|
| 3451 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 3452 | # AIX install. It has an incompatible calling convention.
|
---|
| 3453 | :
|
---|
| 3454 | elif test $ac_prog = install &&
|
---|
| 3455 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 3456 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 3457 | :
|
---|
| 3458 | else
|
---|
| 3459 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 3460 | break 3
|
---|
| 3461 | fi
|
---|
| 3462 | fi
|
---|
| 3463 | done
|
---|
| 3464 | done
|
---|
| 3465 | ;;
|
---|
| 3466 | esac
|
---|
| 3467 | done
|
---|
[20848] | 3468 | IFS=$as_save_IFS
|
---|
[16568] | 3469 |
|
---|
| 3470 |
|
---|
| 3471 | fi
|
---|
| 3472 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 3473 | INSTALL=$ac_cv_path_install
|
---|
| 3474 | else
|
---|
[20848] | 3475 | # As a last resort, use the slow shell script. Don't cache a
|
---|
| 3476 | # value for INSTALL within a source directory, because that will
|
---|
[16568] | 3477 | # break other packages using the cache if that directory is
|
---|
[20848] | 3478 | # removed, or if the value is a relative name.
|
---|
[16568] | 3479 | INSTALL=$ac_install_sh
|
---|
| 3480 | fi
|
---|
| 3481 | fi
|
---|
[20848] | 3482 | { echo "$as_me:$LINENO: result: $INSTALL" >&5
|
---|
| 3483 | echo "${ECHO_T}$INSTALL" >&6; }
|
---|
[16568] | 3484 |
|
---|
| 3485 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 3486 | # It thinks the first close brace ends the variable substitution.
|
---|
| 3487 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 3488 |
|
---|
| 3489 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 3490 |
|
---|
| 3491 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 3492 |
|
---|
[20848] | 3493 | { echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
---|
| 3494 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
|
---|
[16568] | 3495 | LN_S=$as_ln_s
|
---|
| 3496 | if test "$LN_S" = "ln -s"; then
|
---|
[20848] | 3497 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3498 | echo "${ECHO_T}yes" >&6; }
|
---|
[16568] | 3499 | else
|
---|
[20848] | 3500 | { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
---|
| 3501 | echo "${ECHO_T}no, using $LN_S" >&6; }
|
---|
[16568] | 3502 | fi
|
---|
| 3503 |
|
---|
[20848] | 3504 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
| 3505 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
|
---|
| 3506 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
---|
| 3507 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[16568] | 3508 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3509 | else
|
---|
| 3510 | cat >conftest.make <<\_ACEOF
|
---|
[20848] | 3511 | SHELL = /bin/sh
|
---|
[16568] | 3512 | all:
|
---|
[20848] | 3513 | @echo '@@@%%%=$(MAKE)=@@@%%%'
|
---|
[16568] | 3514 | _ACEOF
|
---|
| 3515 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
---|
[20848] | 3516 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
---|
| 3517 | *@@@%%%=?*=@@@%%%*)
|
---|
| 3518 | eval ac_cv_prog_make_${ac_make}_set=yes;;
|
---|
| 3519 | *)
|
---|
| 3520 | eval ac_cv_prog_make_${ac_make}_set=no;;
|
---|
| 3521 | esac
|
---|
[16568] | 3522 | rm -f conftest.make
|
---|
| 3523 | fi
|
---|
[20848] | 3524 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
---|
| 3525 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3526 | echo "${ECHO_T}yes" >&6; }
|
---|
[16568] | 3527 | SET_MAKE=
|
---|
| 3528 | else
|
---|
[20848] | 3529 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3530 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 3531 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 3532 | fi
|
---|
| 3533 |
|
---|
| 3534 | if test -n "$ac_tool_prefix"; then
|
---|
| 3535 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 3536 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
[20848] | 3537 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3538 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16568] | 3539 | if test "${ac_cv_prog_RANLIB+set}" = set; then
|
---|
| 3540 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3541 | else
|
---|
| 3542 | if test -n "$RANLIB"; then
|
---|
| 3543 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 3544 | else
|
---|
| 3545 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3546 | for as_dir in $PATH
|
---|
| 3547 | do
|
---|
| 3548 | IFS=$as_save_IFS
|
---|
| 3549 | test -z "$as_dir" && as_dir=.
|
---|
| 3550 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20848] | 3551 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 3552 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
| 3553 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3554 | break 2
|
---|
| 3555 | fi
|
---|
| 3556 | done
|
---|
| 3557 | done
|
---|
[20848] | 3558 | IFS=$as_save_IFS
|
---|
[16568] | 3559 |
|
---|
| 3560 | fi
|
---|
| 3561 | fi
|
---|
| 3562 | RANLIB=$ac_cv_prog_RANLIB
|
---|
| 3563 | if test -n "$RANLIB"; then
|
---|
[20848] | 3564 | { echo "$as_me:$LINENO: result: $RANLIB" >&5
|
---|
| 3565 | echo "${ECHO_T}$RANLIB" >&6; }
|
---|
[16568] | 3566 | else
|
---|
[20848] | 3567 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3568 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 3569 | fi
|
---|
| 3570 |
|
---|
[20848] | 3571 |
|
---|
[16568] | 3572 | fi
|
---|
| 3573 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 3574 | ac_ct_RANLIB=$RANLIB
|
---|
| 3575 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 3576 | set dummy ranlib; ac_word=$2
|
---|
[20848] | 3577 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3578 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16568] | 3579 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
---|
| 3580 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3581 | else
|
---|
| 3582 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 3583 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 3584 | else
|
---|
| 3585 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3586 | for as_dir in $PATH
|
---|
| 3587 | do
|
---|
| 3588 | IFS=$as_save_IFS
|
---|
| 3589 | test -z "$as_dir" && as_dir=.
|
---|
| 3590 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[20848] | 3591 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16568] | 3592 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
| 3593 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
| 3594 | break 2
|
---|
| 3595 | fi
|
---|
| 3596 | done
|
---|
| 3597 | done
|
---|
[20848] | 3598 | IFS=$as_save_IFS
|
---|
[16568] | 3599 |
|
---|
| 3600 | fi
|
---|
| 3601 | fi
|
---|
| 3602 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 3603 | if test -n "$ac_ct_RANLIB"; then
|
---|
[20848] | 3604 | { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
---|
| 3605 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
|
---|
[16568] | 3606 | else
|
---|
[20848] | 3607 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3608 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 3609 | fi
|
---|
| 3610 |
|
---|
[20848] | 3611 | if test "x$ac_ct_RANLIB" = x; then
|
---|
| 3612 | RANLIB=":"
|
---|
| 3613 | else
|
---|
| 3614 | case $cross_compiling:$ac_tool_warned in
|
---|
| 3615 | yes:)
|
---|
| 3616 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 3617 | whose name does not start with the host triplet. If you think this
|
---|
| 3618 | configuration is useful to you, please write to [email protected]." >&5
|
---|
| 3619 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 3620 | whose name does not start with the host triplet. If you think this
|
---|
| 3621 | configuration is useful to you, please write to [email protected]." >&2;}
|
---|
| 3622 | ac_tool_warned=yes ;;
|
---|
| 3623 | esac
|
---|
| 3624 | RANLIB=$ac_ct_RANLIB
|
---|
| 3625 | fi
|
---|
[16568] | 3626 | else
|
---|
| 3627 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 3628 | fi
|
---|
| 3629 |
|
---|
| 3630 |
|
---|
[20848] | 3631 | { echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
|
---|
| 3632 | echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }
|
---|
[16568] | 3633 | arch_64bit=no
|
---|
| 3634 | case "$host_cpu" in
|
---|
| 3635 | x86_64) arch_64bit=yes ;;
|
---|
| 3636 | esac
|
---|
| 3637 |
|
---|
| 3638 | if test "$arch_64bit" = yes; then
|
---|
[20848] | 3639 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3640 | echo "${ECHO_T}yes" >&6; }
|
---|
[16568] | 3641 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
| 3642 | COMPAT32BITFLAGS="-m32"
|
---|
| 3643 | fi
|
---|
| 3644 | else
|
---|
[20848] | 3645 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3646 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 3647 | if test -z "$COMPAT32BITFLAGS" ; then
|
---|
| 3648 | COMPAT32BITFLAGS=
|
---|
| 3649 | fi
|
---|
| 3650 | fi
|
---|
| 3651 | export COMPAT32BITFLAGS
|
---|
| 3652 |
|
---|
| 3653 |
|
---|
| 3654 |
|
---|
| 3655 | #moved CORBA MICO directory test to get version of MICO
|
---|
| 3656 | if test $USE_CORBA = 1; then
|
---|
| 3657 |
|
---|
| 3658 | if test $MICO_DIR = "default"; then
|
---|
| 3659 | #do something
|
---|
| 3660 | MICO_INC="-I packages/mico/mico/include"
|
---|
| 3661 | else
|
---|
| 3662 | #build the micotest program
|
---|
| 3663 | MICO_INC= ""
|
---|
| 3664 | if test $MICO_DIR != yes; then
|
---|
| 3665 | MICO_INC="-I $MICO_DIR"
|
---|
| 3666 | fi
|
---|
| 3667 | fi
|
---|
| 3668 |
|
---|
| 3669 | #get MICO_VER value
|
---|
| 3670 | sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null
|
---|
| 3671 | sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null
|
---|
| 3672 | MICO_VER=`./micotest` || MICO_VER=2.3.5
|
---|
| 3673 | sh -c "rm micotest"
|
---|
| 3674 | sh -c "rm micotest.o"
|
---|
| 3675 |
|
---|
| 3676 | #do test of MICO_VER
|
---|
| 3677 | if test MICO_VER != 0; then
|
---|
| 3678 | cat >>confdefs.h <<\_ACEOF
|
---|
| 3679 | #define MICO_VER 1
|
---|
| 3680 | _ACEOF
|
---|
| 3681 |
|
---|
| 3682 |
|
---|
| 3683 | fi
|
---|
| 3684 | #end USE_CORBA test
|
---|
| 3685 | fi
|
---|
| 3686 |
|
---|
| 3687 |
|
---|
| 3688 | ac_ext=c
|
---|
| 3689 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3690 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3691 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3692 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[20848] | 3693 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
---|
| 3694 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
|
---|
[16568] | 3695 | # On Suns, sometimes $CPP names a directory.
|
---|
| 3696 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 3697 | CPP=
|
---|
| 3698 | fi
|
---|
| 3699 | if test -z "$CPP"; then
|
---|
| 3700 | if test "${ac_cv_prog_CPP+set}" = set; then
|
---|
| 3701 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3702 | else
|
---|
| 3703 | # Double quotes because CPP needs to be expanded
|
---|
| 3704 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 3705 | do
|
---|
| 3706 | ac_preproc_ok=false
|
---|
| 3707 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 3708 | do
|
---|
| 3709 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 3710 | # with a fresh cross-compiler works.
|
---|
| 3711 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 3712 | # <limits.h> exists even on freestanding compilers.
|
---|
| 3713 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 3714 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
| 3715 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3716 | /* confdefs.h. */
|
---|
| 3717 | _ACEOF
|
---|
| 3718 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3719 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3720 | /* end confdefs.h. */
|
---|
| 3721 | #ifdef __STDC__
|
---|
| 3722 | # include <limits.h>
|
---|
| 3723 | #else
|
---|
| 3724 | # include <assert.h>
|
---|
| 3725 | #endif
|
---|
| 3726 | Syntax error
|
---|
| 3727 | _ACEOF
|
---|
[20848] | 3728 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 3729 | case "(($ac_try" in
|
---|
| 3730 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3731 | *) ac_try_echo=$ac_try;;
|
---|
| 3732 | esac
|
---|
| 3733 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 3734 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
[16568] | 3735 | ac_status=$?
|
---|
| 3736 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3737 | rm -f conftest.er1
|
---|
| 3738 | cat conftest.err >&5
|
---|
| 3739 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 3740 | (exit $ac_status); } >/dev/null && {
|
---|
| 3741 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 3742 | test ! -s conftest.err
|
---|
| 3743 | }; then
|
---|
[16568] | 3744 | :
|
---|
| 3745 | else
|
---|
| 3746 | echo "$as_me: failed program was:" >&5
|
---|
| 3747 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3748 |
|
---|
| 3749 | # Broken: fails on valid input.
|
---|
| 3750 | continue
|
---|
| 3751 | fi
|
---|
[20848] | 3752 |
|
---|
[16568] | 3753 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3754 |
|
---|
[20848] | 3755 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16568] | 3756 | # can be detected and how.
|
---|
| 3757 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3758 | /* confdefs.h. */
|
---|
| 3759 | _ACEOF
|
---|
| 3760 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3761 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3762 | /* end confdefs.h. */
|
---|
| 3763 | #include <ac_nonexistent.h>
|
---|
| 3764 | _ACEOF
|
---|
[20848] | 3765 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 3766 | case "(($ac_try" in
|
---|
| 3767 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3768 | *) ac_try_echo=$ac_try;;
|
---|
| 3769 | esac
|
---|
| 3770 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 3771 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
[16568] | 3772 | ac_status=$?
|
---|
| 3773 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3774 | rm -f conftest.er1
|
---|
| 3775 | cat conftest.err >&5
|
---|
| 3776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 3777 | (exit $ac_status); } >/dev/null && {
|
---|
| 3778 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 3779 | test ! -s conftest.err
|
---|
| 3780 | }; then
|
---|
[16568] | 3781 | # Broken: success on invalid input.
|
---|
| 3782 | continue
|
---|
| 3783 | else
|
---|
| 3784 | echo "$as_me: failed program was:" >&5
|
---|
| 3785 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3786 |
|
---|
| 3787 | # Passes both tests.
|
---|
| 3788 | ac_preproc_ok=:
|
---|
| 3789 | break
|
---|
| 3790 | fi
|
---|
[20848] | 3791 |
|
---|
[16568] | 3792 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3793 |
|
---|
| 3794 | done
|
---|
| 3795 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
| 3796 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3797 | if $ac_preproc_ok; then
|
---|
| 3798 | break
|
---|
| 3799 | fi
|
---|
| 3800 |
|
---|
| 3801 | done
|
---|
| 3802 | ac_cv_prog_CPP=$CPP
|
---|
| 3803 |
|
---|
| 3804 | fi
|
---|
| 3805 | CPP=$ac_cv_prog_CPP
|
---|
| 3806 | else
|
---|
| 3807 | ac_cv_prog_CPP=$CPP
|
---|
| 3808 | fi
|
---|
[20848] | 3809 | { echo "$as_me:$LINENO: result: $CPP" >&5
|
---|
| 3810 | echo "${ECHO_T}$CPP" >&6; }
|
---|
[16568] | 3811 | ac_preproc_ok=false
|
---|
| 3812 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 3813 | do
|
---|
| 3814 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 3815 | # with a fresh cross-compiler works.
|
---|
| 3816 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 3817 | # <limits.h> exists even on freestanding compilers.
|
---|
| 3818 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 3819 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
| 3820 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3821 | /* confdefs.h. */
|
---|
| 3822 | _ACEOF
|
---|
| 3823 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3824 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3825 | /* end confdefs.h. */
|
---|
| 3826 | #ifdef __STDC__
|
---|
| 3827 | # include <limits.h>
|
---|
| 3828 | #else
|
---|
| 3829 | # include <assert.h>
|
---|
| 3830 | #endif
|
---|
| 3831 | Syntax error
|
---|
| 3832 | _ACEOF
|
---|
[20848] | 3833 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 3834 | case "(($ac_try" in
|
---|
| 3835 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3836 | *) ac_try_echo=$ac_try;;
|
---|
| 3837 | esac
|
---|
| 3838 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 3839 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
[16568] | 3840 | ac_status=$?
|
---|
| 3841 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3842 | rm -f conftest.er1
|
---|
| 3843 | cat conftest.err >&5
|
---|
| 3844 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 3845 | (exit $ac_status); } >/dev/null && {
|
---|
| 3846 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 3847 | test ! -s conftest.err
|
---|
| 3848 | }; then
|
---|
[16568] | 3849 | :
|
---|
| 3850 | else
|
---|
| 3851 | echo "$as_me: failed program was:" >&5
|
---|
| 3852 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3853 |
|
---|
| 3854 | # Broken: fails on valid input.
|
---|
| 3855 | continue
|
---|
| 3856 | fi
|
---|
[20848] | 3857 |
|
---|
[16568] | 3858 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3859 |
|
---|
[20848] | 3860 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16568] | 3861 | # can be detected and how.
|
---|
| 3862 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3863 | /* confdefs.h. */
|
---|
| 3864 | _ACEOF
|
---|
| 3865 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3866 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3867 | /* end confdefs.h. */
|
---|
| 3868 | #include <ac_nonexistent.h>
|
---|
| 3869 | _ACEOF
|
---|
[20848] | 3870 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 3871 | case "(($ac_try" in
|
---|
| 3872 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3873 | *) ac_try_echo=$ac_try;;
|
---|
| 3874 | esac
|
---|
| 3875 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 3876 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
[16568] | 3877 | ac_status=$?
|
---|
| 3878 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3879 | rm -f conftest.er1
|
---|
| 3880 | cat conftest.err >&5
|
---|
| 3881 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 3882 | (exit $ac_status); } >/dev/null && {
|
---|
| 3883 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 3884 | test ! -s conftest.err
|
---|
| 3885 | }; then
|
---|
[16568] | 3886 | # Broken: success on invalid input.
|
---|
| 3887 | continue
|
---|
| 3888 | else
|
---|
| 3889 | echo "$as_me: failed program was:" >&5
|
---|
| 3890 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3891 |
|
---|
| 3892 | # Passes both tests.
|
---|
| 3893 | ac_preproc_ok=:
|
---|
| 3894 | break
|
---|
| 3895 | fi
|
---|
[20848] | 3896 |
|
---|
[16568] | 3897 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3898 |
|
---|
| 3899 | done
|
---|
| 3900 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
| 3901 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3902 | if $ac_preproc_ok; then
|
---|
| 3903 | :
|
---|
| 3904 | else
|
---|
| 3905 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
---|
| 3906 | See \`config.log' for more details." >&5
|
---|
| 3907 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
---|
| 3908 | See \`config.log' for more details." >&2;}
|
---|
| 3909 | { (exit 1); exit 1; }; }
|
---|
| 3910 | fi
|
---|
| 3911 |
|
---|
| 3912 | ac_ext=c
|
---|
| 3913 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3914 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3915 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3916 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3917 |
|
---|
| 3918 |
|
---|
[20848] | 3919 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
---|
| 3920 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
---|
| 3921 | if test "${ac_cv_path_GREP+set}" = set; then
|
---|
[16568] | 3922 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3923 | else
|
---|
[20848] | 3924 | # Extract the first word of "grep ggrep" to use in msg output
|
---|
| 3925 | if test -z "$GREP"; then
|
---|
| 3926 | set dummy grep ggrep; ac_prog_name=$2
|
---|
| 3927 | if test "${ac_cv_path_GREP+set}" = set; then
|
---|
| 3928 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 3929 | else
|
---|
| 3930 | ac_path_GREP_found=false
|
---|
| 3931 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 3932 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3933 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 3934 | do
|
---|
| 3935 | IFS=$as_save_IFS
|
---|
| 3936 | test -z "$as_dir" && as_dir=.
|
---|
| 3937 | for ac_prog in grep ggrep; do
|
---|
| 3938 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 3939 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 3940 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
---|
| 3941 | # Check for GNU ac_path_GREP and select it if it is found.
|
---|
| 3942 | # Check for GNU $ac_path_GREP
|
---|
| 3943 | case `"$ac_path_GREP" --version 2>&1` in
|
---|
| 3944 | *GNU*)
|
---|
| 3945 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
---|
| 3946 | *)
|
---|
| 3947 | ac_count=0
|
---|
| 3948 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
---|
| 3949 | while :
|
---|
| 3950 | do
|
---|
| 3951 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 3952 | mv "conftest.tmp" "conftest.in"
|
---|
| 3953 | cp "conftest.in" "conftest.nl"
|
---|
| 3954 | echo 'GREP' >> "conftest.nl"
|
---|
| 3955 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 3956 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 3957 | ac_count=`expr $ac_count + 1`
|
---|
| 3958 | if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
---|
| 3959 | # Best one so far, save it but keep looking for a better one
|
---|
| 3960 | ac_cv_path_GREP="$ac_path_GREP"
|
---|
| 3961 | ac_path_GREP_max=$ac_count
|
---|
[16568] | 3962 | fi
|
---|
[20848] | 3963 | # 10*(2^10) chars as input seems more than enough
|
---|
| 3964 | test $ac_count -gt 10 && break
|
---|
| 3965 | done
|
---|
| 3966 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 3967 | esac
|
---|
| 3968 |
|
---|
| 3969 |
|
---|
| 3970 | $ac_path_GREP_found && break 3
|
---|
| 3971 | done
|
---|
| 3972 | done
|
---|
| 3973 |
|
---|
| 3974 | done
|
---|
| 3975 | IFS=$as_save_IFS
|
---|
| 3976 |
|
---|
| 3977 |
|
---|
[16568] | 3978 | fi
|
---|
| 3979 |
|
---|
[20848] | 3980 | GREP="$ac_cv_path_GREP"
|
---|
| 3981 | if test -z "$GREP"; then
|
---|
| 3982 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
---|
| 3983 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
---|
| 3984 | { (exit 1); exit 1; }; }
|
---|
| 3985 | fi
|
---|
[16568] | 3986 |
|
---|
[20848] | 3987 | else
|
---|
| 3988 | ac_cv_path_GREP=$GREP
|
---|
| 3989 | fi
|
---|
[16568] | 3990 |
|
---|
[20848] | 3991 |
|
---|
| 3992 | fi
|
---|
| 3993 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
---|
| 3994 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
---|
| 3995 | GREP="$ac_cv_path_GREP"
|
---|
| 3996 |
|
---|
| 3997 |
|
---|
| 3998 | { echo "$as_me:$LINENO: checking for egrep" >&5
|
---|
| 3999 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
---|
| 4000 | if test "${ac_cv_path_EGREP+set}" = set; then
|
---|
| 4001 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4002 | else
|
---|
| 4003 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
---|
| 4004 | then ac_cv_path_EGREP="$GREP -E"
|
---|
| 4005 | else
|
---|
| 4006 | # Extract the first word of "egrep" to use in msg output
|
---|
| 4007 | if test -z "$EGREP"; then
|
---|
| 4008 | set dummy egrep; ac_prog_name=$2
|
---|
| 4009 | if test "${ac_cv_path_EGREP+set}" = set; then
|
---|
| 4010 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4011 | else
|
---|
| 4012 | ac_path_EGREP_found=false
|
---|
| 4013 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4014 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 4015 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4016 | do
|
---|
| 4017 | IFS=$as_save_IFS
|
---|
| 4018 | test -z "$as_dir" && as_dir=.
|
---|
| 4019 | for ac_prog in egrep; do
|
---|
| 4020 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4021 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4022 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
---|
| 4023 | # Check for GNU ac_path_EGREP and select it if it is found.
|
---|
| 4024 | # Check for GNU $ac_path_EGREP
|
---|
| 4025 | case `"$ac_path_EGREP" --version 2>&1` in
|
---|
| 4026 | *GNU*)
|
---|
| 4027 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
---|
| 4028 | *)
|
---|
| 4029 | ac_count=0
|
---|
| 4030 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
---|
| 4031 | while :
|
---|
| 4032 | do
|
---|
| 4033 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4034 | mv "conftest.tmp" "conftest.in"
|
---|
| 4035 | cp "conftest.in" "conftest.nl"
|
---|
| 4036 | echo 'EGREP' >> "conftest.nl"
|
---|
| 4037 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4038 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 4039 | ac_count=`expr $ac_count + 1`
|
---|
| 4040 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
---|
| 4041 | # Best one so far, save it but keep looking for a better one
|
---|
| 4042 | ac_cv_path_EGREP="$ac_path_EGREP"
|
---|
| 4043 | ac_path_EGREP_max=$ac_count
|
---|
| 4044 | fi
|
---|
| 4045 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4046 | test $ac_count -gt 10 && break
|
---|
| 4047 | done
|
---|
| 4048 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4049 | esac
|
---|
| 4050 |
|
---|
| 4051 |
|
---|
| 4052 | $ac_path_EGREP_found && break 3
|
---|
| 4053 | done
|
---|
| 4054 | done
|
---|
| 4055 |
|
---|
| 4056 | done
|
---|
| 4057 | IFS=$as_save_IFS
|
---|
| 4058 |
|
---|
| 4059 |
|
---|
| 4060 | fi
|
---|
| 4061 |
|
---|
| 4062 | EGREP="$ac_cv_path_EGREP"
|
---|
| 4063 | if test -z "$EGREP"; then
|
---|
| 4064 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
---|
| 4065 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
---|
| 4066 | { (exit 1); exit 1; }; }
|
---|
| 4067 | fi
|
---|
| 4068 |
|
---|
| 4069 | else
|
---|
| 4070 | ac_cv_path_EGREP=$EGREP
|
---|
| 4071 | fi
|
---|
| 4072 |
|
---|
| 4073 |
|
---|
| 4074 | fi
|
---|
| 4075 | fi
|
---|
| 4076 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
---|
| 4077 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
|
---|
| 4078 | EGREP="$ac_cv_path_EGREP"
|
---|
| 4079 |
|
---|
| 4080 |
|
---|
| 4081 |
|
---|
| 4082 | { echo "$as_me:$LINENO: checking for AIX" >&5
|
---|
| 4083 | echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
|
---|
[16568] | 4084 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4085 | /* confdefs.h. */
|
---|
| 4086 | _ACEOF
|
---|
| 4087 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4088 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4089 | /* end confdefs.h. */
|
---|
| 4090 | #ifdef _AIX
|
---|
| 4091 | yes
|
---|
| 4092 | #endif
|
---|
| 4093 |
|
---|
| 4094 | _ACEOF
|
---|
| 4095 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 4096 | $EGREP "yes" >/dev/null 2>&1; then
|
---|
[20848] | 4097 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 4098 | echo "${ECHO_T}yes" >&6; }
|
---|
[16568] | 4099 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4100 | #define _ALL_SOURCE 1
|
---|
| 4101 | _ACEOF
|
---|
| 4102 |
|
---|
| 4103 | else
|
---|
[20848] | 4104 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 4105 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 4106 | fi
|
---|
| 4107 | rm -f conftest*
|
---|
| 4108 |
|
---|
| 4109 |
|
---|
[20848] | 4110 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5
|
---|
| 4111 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
|
---|
[16568] | 4112 | if test "${ac_cv_search_strerror+set}" = set; then
|
---|
| 4113 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4114 | else
|
---|
| 4115 | ac_func_search_save_LIBS=$LIBS
|
---|
| 4116 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4117 | /* confdefs.h. */
|
---|
| 4118 | _ACEOF
|
---|
| 4119 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4120 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4121 | /* end confdefs.h. */
|
---|
| 4122 |
|
---|
[20848] | 4123 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 4124 | Use char because int might match the return type of a GCC
|
---|
| 4125 | builtin and then its argument prototype would still apply. */
|
---|
[16568] | 4126 | #ifdef __cplusplus
|
---|
| 4127 | extern "C"
|
---|
| 4128 | #endif
|
---|
| 4129 | char strerror ();
|
---|
| 4130 | int
|
---|
| 4131 | main ()
|
---|
| 4132 | {
|
---|
[20848] | 4133 | return strerror ();
|
---|
[16568] | 4134 | ;
|
---|
| 4135 | return 0;
|
---|
| 4136 | }
|
---|
| 4137 | _ACEOF
|
---|
[20848] | 4138 | for ac_lib in '' cposix; do
|
---|
| 4139 | if test -z "$ac_lib"; then
|
---|
| 4140 | ac_res="none required"
|
---|
| 4141 | else
|
---|
| 4142 | ac_res=-l$ac_lib
|
---|
| 4143 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 4144 | fi
|
---|
| 4145 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4146 | if { (ac_try="$ac_link"
|
---|
| 4147 | case "(($ac_try" in
|
---|
| 4148 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4149 | *) ac_try_echo=$ac_try;;
|
---|
| 4150 | esac
|
---|
| 4151 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 4152 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 4153 | ac_status=$?
|
---|
| 4154 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4155 | rm -f conftest.er1
|
---|
| 4156 | cat conftest.err >&5
|
---|
| 4157 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 4158 | (exit $ac_status); } && {
|
---|
| 4159 | test -z "$ac_c_werror_flag" ||
|
---|
| 4160 | test ! -s conftest.err
|
---|
| 4161 | } && test -s conftest$ac_exeext &&
|
---|
| 4162 | $as_test_x conftest$ac_exeext; then
|
---|
| 4163 | ac_cv_search_strerror=$ac_res
|
---|
[16568] | 4164 | else
|
---|
| 4165 | echo "$as_me: failed program was:" >&5
|
---|
| 4166 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4167 |
|
---|
[20848] | 4168 |
|
---|
[16568] | 4169 | fi
|
---|
| 4170 |
|
---|
[20848] | 4171 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 4172 | conftest$ac_exeext
|
---|
| 4173 | if test "${ac_cv_search_strerror+set}" = set; then
|
---|
| 4174 | break
|
---|
| 4175 | fi
|
---|
| 4176 | done
|
---|
| 4177 | if test "${ac_cv_search_strerror+set}" = set; then
|
---|
| 4178 | :
|
---|
[16568] | 4179 | else
|
---|
[20848] | 4180 | ac_cv_search_strerror=no
|
---|
[16568] | 4181 | fi
|
---|
[20848] | 4182 | rm conftest.$ac_ext
|
---|
[16568] | 4183 | LIBS=$ac_func_search_save_LIBS
|
---|
| 4184 | fi
|
---|
[20848] | 4185 | { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
|
---|
| 4186 | echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
|
---|
| 4187 | ac_res=$ac_cv_search_strerror
|
---|
| 4188 | if test "$ac_res" != no; then
|
---|
| 4189 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16568] | 4190 |
|
---|
| 4191 | fi
|
---|
| 4192 |
|
---|
[20848] | 4193 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
---|
| 4194 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
---|
[16568] | 4195 | if test "${ac_cv_header_stdc+set}" = set; then
|
---|
| 4196 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4197 | else
|
---|
| 4198 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4199 | /* confdefs.h. */
|
---|
| 4200 | _ACEOF
|
---|
| 4201 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4202 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4203 | /* end confdefs.h. */
|
---|
| 4204 | #include <stdlib.h>
|
---|
| 4205 | #include <stdarg.h>
|
---|
| 4206 | #include <string.h>
|
---|
| 4207 | #include <float.h>
|
---|
| 4208 |
|
---|
| 4209 | int
|
---|
| 4210 | main ()
|
---|
| 4211 | {
|
---|
| 4212 |
|
---|
| 4213 | ;
|
---|
| 4214 | return 0;
|
---|
| 4215 | }
|
---|
| 4216 | _ACEOF
|
---|
| 4217 | rm -f conftest.$ac_objext
|
---|
[20848] | 4218 | if { (ac_try="$ac_compile"
|
---|
| 4219 | case "(($ac_try" in
|
---|
| 4220 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4221 | *) ac_try_echo=$ac_try;;
|
---|
| 4222 | esac
|
---|
| 4223 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 4224 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 4225 | ac_status=$?
|
---|
| 4226 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4227 | rm -f conftest.er1
|
---|
| 4228 | cat conftest.err >&5
|
---|
| 4229 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 4230 | (exit $ac_status); } && {
|
---|
| 4231 | test -z "$ac_c_werror_flag" ||
|
---|
| 4232 | test ! -s conftest.err
|
---|
| 4233 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 4234 | ac_cv_header_stdc=yes
|
---|
| 4235 | else
|
---|
| 4236 | echo "$as_me: failed program was:" >&5
|
---|
| 4237 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4238 |
|
---|
[20848] | 4239 | ac_cv_header_stdc=no
|
---|
[16568] | 4240 | fi
|
---|
| 4241 |
|
---|
[20848] | 4242 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 4243 |
|
---|
[16568] | 4244 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4245 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
| 4246 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4247 | /* confdefs.h. */
|
---|
| 4248 | _ACEOF
|
---|
| 4249 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4250 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4251 | /* end confdefs.h. */
|
---|
| 4252 | #include <string.h>
|
---|
| 4253 |
|
---|
| 4254 | _ACEOF
|
---|
| 4255 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 4256 | $EGREP "memchr" >/dev/null 2>&1; then
|
---|
| 4257 | :
|
---|
| 4258 | else
|
---|
| 4259 | ac_cv_header_stdc=no
|
---|
| 4260 | fi
|
---|
| 4261 | rm -f conftest*
|
---|
| 4262 |
|
---|
| 4263 | fi
|
---|
| 4264 |
|
---|
| 4265 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4266 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
| 4267 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4268 | /* confdefs.h. */
|
---|
| 4269 | _ACEOF
|
---|
| 4270 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4271 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4272 | /* end confdefs.h. */
|
---|
| 4273 | #include <stdlib.h>
|
---|
| 4274 |
|
---|
| 4275 | _ACEOF
|
---|
| 4276 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 4277 | $EGREP "free" >/dev/null 2>&1; then
|
---|
| 4278 | :
|
---|
| 4279 | else
|
---|
| 4280 | ac_cv_header_stdc=no
|
---|
| 4281 | fi
|
---|
| 4282 | rm -f conftest*
|
---|
| 4283 |
|
---|
| 4284 | fi
|
---|
| 4285 |
|
---|
| 4286 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4287 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
| 4288 | if test "$cross_compiling" = yes; then
|
---|
| 4289 | :
|
---|
| 4290 | else
|
---|
| 4291 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4292 | /* confdefs.h. */
|
---|
| 4293 | _ACEOF
|
---|
| 4294 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4295 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4296 | /* end confdefs.h. */
|
---|
| 4297 | #include <ctype.h>
|
---|
[20848] | 4298 | #include <stdlib.h>
|
---|
[16568] | 4299 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 4300 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 4301 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 4302 | #else
|
---|
| 4303 | # define ISLOWER(c) \
|
---|
| 4304 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 4305 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 4306 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 4307 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 4308 | #endif
|
---|
| 4309 |
|
---|
| 4310 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 4311 | int
|
---|
| 4312 | main ()
|
---|
| 4313 | {
|
---|
| 4314 | int i;
|
---|
| 4315 | for (i = 0; i < 256; i++)
|
---|
| 4316 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 4317 | || toupper (i) != TOUPPER (i))
|
---|
[20848] | 4318 | return 2;
|
---|
| 4319 | return 0;
|
---|
[16568] | 4320 | }
|
---|
| 4321 | _ACEOF
|
---|
| 4322 | rm -f conftest$ac_exeext
|
---|
[20848] | 4323 | if { (ac_try="$ac_link"
|
---|
| 4324 | case "(($ac_try" in
|
---|
| 4325 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4326 | *) ac_try_echo=$ac_try;;
|
---|
| 4327 | esac
|
---|
| 4328 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 4329 | (eval "$ac_link") 2>&5
|
---|
[16568] | 4330 | ac_status=$?
|
---|
| 4331 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4332 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[20848] | 4333 | { (case "(($ac_try" in
|
---|
| 4334 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4335 | *) ac_try_echo=$ac_try;;
|
---|
| 4336 | esac
|
---|
| 4337 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 4338 | (eval "$ac_try") 2>&5
|
---|
[16568] | 4339 | ac_status=$?
|
---|
| 4340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4341 | (exit $ac_status); }; }; then
|
---|
| 4342 | :
|
---|
| 4343 | else
|
---|
| 4344 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 4345 | echo "$as_me: failed program was:" >&5
|
---|
| 4346 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4347 |
|
---|
| 4348 | ( exit $ac_status )
|
---|
| 4349 | ac_cv_header_stdc=no
|
---|
| 4350 | fi
|
---|
[20848] | 4351 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 4352 | fi
|
---|
[20848] | 4353 |
|
---|
| 4354 |
|
---|
[16568] | 4355 | fi
|
---|
| 4356 | fi
|
---|
[20848] | 4357 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
---|
| 4358 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
---|
[16568] | 4359 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4360 |
|
---|
| 4361 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4362 | #define STDC_HEADERS 1
|
---|
| 4363 | _ACEOF
|
---|
| 4364 |
|
---|
| 4365 | fi
|
---|
| 4366 |
|
---|
| 4367 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
| 4368 |
|
---|
| 4369 |
|
---|
| 4370 |
|
---|
| 4371 |
|
---|
| 4372 |
|
---|
| 4373 |
|
---|
| 4374 |
|
---|
| 4375 |
|
---|
| 4376 |
|
---|
| 4377 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 4378 | inttypes.h stdint.h unistd.h
|
---|
| 4379 | do
|
---|
| 4380 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
[20848] | 4381 | { echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 4382 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
---|
| 4383 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[16568] | 4384 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4385 | else
|
---|
| 4386 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4387 | /* confdefs.h. */
|
---|
| 4388 | _ACEOF
|
---|
| 4389 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4390 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4391 | /* end confdefs.h. */
|
---|
| 4392 | $ac_includes_default
|
---|
| 4393 |
|
---|
| 4394 | #include <$ac_header>
|
---|
| 4395 | _ACEOF
|
---|
| 4396 | rm -f conftest.$ac_objext
|
---|
[20848] | 4397 | if { (ac_try="$ac_compile"
|
---|
| 4398 | case "(($ac_try" in
|
---|
| 4399 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4400 | *) ac_try_echo=$ac_try;;
|
---|
| 4401 | esac
|
---|
| 4402 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 4403 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 4404 | ac_status=$?
|
---|
| 4405 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4406 | rm -f conftest.er1
|
---|
| 4407 | cat conftest.err >&5
|
---|
| 4408 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 4409 | (exit $ac_status); } && {
|
---|
| 4410 | test -z "$ac_c_werror_flag" ||
|
---|
| 4411 | test ! -s conftest.err
|
---|
| 4412 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 4413 | eval "$as_ac_Header=yes"
|
---|
| 4414 | else
|
---|
| 4415 | echo "$as_me: failed program was:" >&5
|
---|
| 4416 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4417 |
|
---|
[20848] | 4418 | eval "$as_ac_Header=no"
|
---|
[16568] | 4419 | fi
|
---|
[20848] | 4420 |
|
---|
| 4421 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 4422 | fi
|
---|
[20848] | 4423 | ac_res=`eval echo '${'$as_ac_Header'}'`
|
---|
| 4424 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 4425 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
[16568] | 4426 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
| 4427 | cat >>confdefs.h <<_ACEOF
|
---|
| 4428 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 4429 | _ACEOF
|
---|
| 4430 |
|
---|
| 4431 | fi
|
---|
| 4432 |
|
---|
| 4433 | done
|
---|
| 4434 |
|
---|
| 4435 |
|
---|
| 4436 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
[20848] | 4437 | { echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 4438 | echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
|
---|
[16568] | 4439 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 4440 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4441 | fi
|
---|
[20848] | 4442 | { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 4443 | echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
|
---|
[16568] | 4444 | else
|
---|
| 4445 | # Is the header compilable?
|
---|
[20848] | 4446 | { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
|
---|
| 4447 | echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
|
---|
[16568] | 4448 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4449 | /* confdefs.h. */
|
---|
| 4450 | _ACEOF
|
---|
| 4451 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4452 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4453 | /* end confdefs.h. */
|
---|
| 4454 | $ac_includes_default
|
---|
| 4455 | #include <minix/config.h>
|
---|
| 4456 | _ACEOF
|
---|
| 4457 | rm -f conftest.$ac_objext
|
---|
[20848] | 4458 | if { (ac_try="$ac_compile"
|
---|
| 4459 | case "(($ac_try" in
|
---|
| 4460 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4461 | *) ac_try_echo=$ac_try;;
|
---|
| 4462 | esac
|
---|
| 4463 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 4464 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 4465 | ac_status=$?
|
---|
| 4466 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4467 | rm -f conftest.er1
|
---|
| 4468 | cat conftest.err >&5
|
---|
| 4469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 4470 | (exit $ac_status); } && {
|
---|
| 4471 | test -z "$ac_c_werror_flag" ||
|
---|
| 4472 | test ! -s conftest.err
|
---|
| 4473 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 4474 | ac_header_compiler=yes
|
---|
| 4475 | else
|
---|
| 4476 | echo "$as_me: failed program was:" >&5
|
---|
| 4477 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4478 |
|
---|
[20848] | 4479 | ac_header_compiler=no
|
---|
[16568] | 4480 | fi
|
---|
| 4481 |
|
---|
[20848] | 4482 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 4483 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
---|
| 4484 | echo "${ECHO_T}$ac_header_compiler" >&6; }
|
---|
| 4485 |
|
---|
[16568] | 4486 | # Is the header present?
|
---|
[20848] | 4487 | { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
|
---|
| 4488 | echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
|
---|
[16568] | 4489 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4490 | /* confdefs.h. */
|
---|
| 4491 | _ACEOF
|
---|
| 4492 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4493 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4494 | /* end confdefs.h. */
|
---|
| 4495 | #include <minix/config.h>
|
---|
| 4496 | _ACEOF
|
---|
[20848] | 4497 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 4498 | case "(($ac_try" in
|
---|
| 4499 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4500 | *) ac_try_echo=$ac_try;;
|
---|
| 4501 | esac
|
---|
| 4502 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 4503 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
[16568] | 4504 | ac_status=$?
|
---|
| 4505 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4506 | rm -f conftest.er1
|
---|
| 4507 | cat conftest.err >&5
|
---|
| 4508 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 4509 | (exit $ac_status); } >/dev/null && {
|
---|
| 4510 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 4511 | test ! -s conftest.err
|
---|
| 4512 | }; then
|
---|
[16568] | 4513 | ac_header_preproc=yes
|
---|
| 4514 | else
|
---|
| 4515 | echo "$as_me: failed program was:" >&5
|
---|
| 4516 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4517 |
|
---|
| 4518 | ac_header_preproc=no
|
---|
| 4519 | fi
|
---|
[20848] | 4520 |
|
---|
[16568] | 4521 | rm -f conftest.err conftest.$ac_ext
|
---|
[20848] | 4522 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
---|
| 4523 | echo "${ECHO_T}$ac_header_preproc" >&6; }
|
---|
[16568] | 4524 |
|
---|
| 4525 | # So? What about this header?
|
---|
| 4526 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
---|
| 4527 | yes:no: )
|
---|
| 4528 | { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 4529 | echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 4530 | { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
|
---|
| 4531 | echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
|
---|
| 4532 | ac_header_preproc=yes
|
---|
| 4533 | ;;
|
---|
| 4534 | no:yes:* )
|
---|
| 4535 | { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
|
---|
| 4536 | echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
|
---|
| 4537 | { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
|
---|
| 4538 | echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
|
---|
| 4539 | { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
|
---|
| 4540 | echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
|
---|
| 4541 | { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 4542 | echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 4543 | { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
|
---|
| 4544 | echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
|
---|
| 4545 | { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
|
---|
| 4546 | echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
|
---|
[20848] | 4547 |
|
---|
[16568] | 4548 | ;;
|
---|
| 4549 | esac
|
---|
[20848] | 4550 | { echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 4551 | echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
|
---|
[16568] | 4552 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
| 4553 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4554 | else
|
---|
| 4555 | ac_cv_header_minix_config_h=$ac_header_preproc
|
---|
| 4556 | fi
|
---|
[20848] | 4557 | { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 4558 | echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
|
---|
[16568] | 4559 |
|
---|
| 4560 | fi
|
---|
| 4561 | if test $ac_cv_header_minix_config_h = yes; then
|
---|
| 4562 | MINIX=yes
|
---|
| 4563 | else
|
---|
| 4564 | MINIX=
|
---|
| 4565 | fi
|
---|
| 4566 |
|
---|
| 4567 |
|
---|
| 4568 | if test "$MINIX" = yes; then
|
---|
| 4569 |
|
---|
| 4570 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4571 | #define _POSIX_SOURCE 1
|
---|
| 4572 | _ACEOF
|
---|
| 4573 |
|
---|
| 4574 |
|
---|
| 4575 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4576 | #define _POSIX_1_SOURCE 2
|
---|
| 4577 | _ACEOF
|
---|
| 4578 |
|
---|
| 4579 |
|
---|
| 4580 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4581 | #define _MINIX 1
|
---|
| 4582 | _ACEOF
|
---|
| 4583 |
|
---|
| 4584 | fi
|
---|
| 4585 |
|
---|
[20848] | 4586 | { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
|
---|
| 4587 | echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
|
---|
[16568] | 4588 | if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
---|
| 4589 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4590 | else
|
---|
| 4591 | ac_cv_prog_cc_stdc=no
|
---|
| 4592 | ac_save_CFLAGS="$CFLAGS"
|
---|
| 4593 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 4594 | # breaks some systems' header files.
|
---|
| 4595 | # AIX -qlanglvl=ansi
|
---|
| 4596 | # Ultrix and OSF/1 -std1
|
---|
| 4597 | # HP-UX -Aa -D_HPUX_SOURCE
|
---|
| 4598 | # SVR4 -Xc
|
---|
| 4599 | for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
|
---|
| 4600 | do
|
---|
| 4601 | CFLAGS="$ac_save_CFLAGS $ac_arg"
|
---|
| 4602 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4603 | /* confdefs.h. */
|
---|
| 4604 | _ACEOF
|
---|
| 4605 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4606 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4607 | /* end confdefs.h. */
|
---|
| 4608 | #if !defined(__STDC__) || __STDC__ != 1
|
---|
| 4609 | choke me
|
---|
| 4610 | #endif
|
---|
| 4611 |
|
---|
| 4612 | int
|
---|
| 4613 | main ()
|
---|
| 4614 | {
|
---|
| 4615 | int test (int i, double x);
|
---|
| 4616 | struct s1 {int (*f) (int a);};
|
---|
| 4617 | struct s2 {int (*f) (double a);};
|
---|
| 4618 | ;
|
---|
| 4619 | return 0;
|
---|
| 4620 | }
|
---|
| 4621 | _ACEOF
|
---|
| 4622 | rm -f conftest.$ac_objext
|
---|
[20848] | 4623 | if { (ac_try="$ac_compile"
|
---|
| 4624 | case "(($ac_try" in
|
---|
| 4625 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4626 | *) ac_try_echo=$ac_try;;
|
---|
| 4627 | esac
|
---|
| 4628 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 4629 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 4630 | ac_status=$?
|
---|
| 4631 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4632 | rm -f conftest.er1
|
---|
| 4633 | cat conftest.err >&5
|
---|
| 4634 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 4635 | (exit $ac_status); } && {
|
---|
| 4636 | test -z "$ac_c_werror_flag" ||
|
---|
| 4637 | test ! -s conftest.err
|
---|
| 4638 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 4639 | ac_cv_prog_cc_stdc="$ac_arg"; break
|
---|
| 4640 | else
|
---|
| 4641 | echo "$as_me: failed program was:" >&5
|
---|
| 4642 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4643 |
|
---|
[20848] | 4644 |
|
---|
[16568] | 4645 | fi
|
---|
[20848] | 4646 |
|
---|
| 4647 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 4648 | done
|
---|
| 4649 | CFLAGS="$ac_save_CFLAGS"
|
---|
| 4650 |
|
---|
| 4651 | fi
|
---|
| 4652 |
|
---|
[20848] | 4653 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
---|
| 4654 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }
|
---|
[16568] | 4655 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 4656 | x|xno) ;;
|
---|
| 4657 | *) CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
| 4658 | esac
|
---|
| 4659 |
|
---|
| 4660 |
|
---|
[20848] | 4661 | { echo "$as_me:$LINENO: checking for function prototypes" >&5
|
---|
| 4662 | echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
|
---|
[16568] | 4663 | if test "$ac_cv_prog_cc_stdc" != no; then
|
---|
[20848] | 4664 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 4665 | echo "${ECHO_T}yes" >&6; }
|
---|
[16568] | 4666 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4667 | #define PROTOTYPES 1
|
---|
| 4668 | _ACEOF
|
---|
| 4669 |
|
---|
| 4670 | U= ANSI2KNR=
|
---|
| 4671 | else
|
---|
[20848] | 4672 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 4673 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 4674 | U=_ ANSI2KNR=ansi2knr
|
---|
| 4675 | fi
|
---|
| 4676 |
|
---|
[20848] | 4677 | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
---|
| 4678 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
|
---|
[16568] | 4679 | if test "${ac_cv_c_const+set}" = set; then
|
---|
| 4680 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4681 | else
|
---|
| 4682 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4683 | /* confdefs.h. */
|
---|
| 4684 | _ACEOF
|
---|
| 4685 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4686 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4687 | /* end confdefs.h. */
|
---|
| 4688 |
|
---|
| 4689 | int
|
---|
| 4690 | main ()
|
---|
| 4691 | {
|
---|
| 4692 | /* FIXME: Include the comments suggested by Paul. */
|
---|
| 4693 | #ifndef __cplusplus
|
---|
| 4694 | /* Ultrix mips cc rejects this. */
|
---|
| 4695 | typedef int charset[2];
|
---|
[20848] | 4696 | const charset cs;
|
---|
[16568] | 4697 | /* SunOS 4.1.1 cc rejects this. */
|
---|
[20848] | 4698 | char const *const *pcpcc;
|
---|
| 4699 | char **ppc;
|
---|
[16568] | 4700 | /* NEC SVR4.0.2 mips cc rejects this. */
|
---|
| 4701 | struct point {int x, y;};
|
---|
| 4702 | static struct point const zero = {0,0};
|
---|
| 4703 | /* AIX XL C 1.02.0.0 rejects this.
|
---|
| 4704 | It does not let you subtract one const X* pointer from another in
|
---|
| 4705 | an arm of an if-expression whose if-part is not a constant
|
---|
| 4706 | expression */
|
---|
| 4707 | const char *g = "string";
|
---|
[20848] | 4708 | pcpcc = &g + (g ? g-g : 0);
|
---|
[16568] | 4709 | /* HPUX 7.0 cc rejects these. */
|
---|
[20848] | 4710 | ++pcpcc;
|
---|
| 4711 | ppc = (char**) pcpcc;
|
---|
| 4712 | pcpcc = (char const *const *) ppc;
|
---|
[16568] | 4713 | { /* SCO 3.2v4 cc rejects this. */
|
---|
| 4714 | char *t;
|
---|
| 4715 | char const *s = 0 ? (char *) 0 : (char const *) 0;
|
---|
| 4716 |
|
---|
| 4717 | *t++ = 0;
|
---|
[20848] | 4718 | if (s) return 0;
|
---|
[16568] | 4719 | }
|
---|
| 4720 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
---|
| 4721 | int x[] = {25, 17};
|
---|
| 4722 | const int *foo = &x[0];
|
---|
| 4723 | ++foo;
|
---|
| 4724 | }
|
---|
| 4725 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
---|
| 4726 | typedef const int *iptr;
|
---|
| 4727 | iptr p = 0;
|
---|
| 4728 | ++p;
|
---|
| 4729 | }
|
---|
| 4730 | { /* AIX XL C 1.02.0.0 rejects this saying
|
---|
| 4731 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
---|
| 4732 | struct s { int j; const int *ap[3]; };
|
---|
| 4733 | struct s *b; b->j = 5;
|
---|
| 4734 | }
|
---|
| 4735 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
---|
| 4736 | const int foo = 10;
|
---|
[20848] | 4737 | if (!foo) return 0;
|
---|
[16568] | 4738 | }
|
---|
[20848] | 4739 | return !cs[0] && !zero.x;
|
---|
[16568] | 4740 | #endif
|
---|
| 4741 |
|
---|
| 4742 | ;
|
---|
| 4743 | return 0;
|
---|
| 4744 | }
|
---|
| 4745 | _ACEOF
|
---|
| 4746 | rm -f conftest.$ac_objext
|
---|
[20848] | 4747 | if { (ac_try="$ac_compile"
|
---|
| 4748 | case "(($ac_try" in
|
---|
| 4749 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4750 | *) ac_try_echo=$ac_try;;
|
---|
| 4751 | esac
|
---|
| 4752 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 4753 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 4754 | ac_status=$?
|
---|
| 4755 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4756 | rm -f conftest.er1
|
---|
| 4757 | cat conftest.err >&5
|
---|
| 4758 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 4759 | (exit $ac_status); } && {
|
---|
| 4760 | test -z "$ac_c_werror_flag" ||
|
---|
| 4761 | test ! -s conftest.err
|
---|
| 4762 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 4763 | ac_cv_c_const=yes
|
---|
| 4764 | else
|
---|
| 4765 | echo "$as_me: failed program was:" >&5
|
---|
| 4766 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4767 |
|
---|
[20848] | 4768 | ac_cv_c_const=no
|
---|
[16568] | 4769 | fi
|
---|
[20848] | 4770 |
|
---|
| 4771 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 4772 | fi
|
---|
[20848] | 4773 | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
---|
| 4774 | echo "${ECHO_T}$ac_cv_c_const" >&6; }
|
---|
[16568] | 4775 | if test $ac_cv_c_const = no; then
|
---|
| 4776 |
|
---|
| 4777 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4778 | #define const
|
---|
| 4779 | _ACEOF
|
---|
| 4780 |
|
---|
| 4781 | fi
|
---|
| 4782 |
|
---|
[20848] | 4783 | { echo "$as_me:$LINENO: checking for off_t" >&5
|
---|
| 4784 | echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
|
---|
[16568] | 4785 | if test "${ac_cv_type_off_t+set}" = set; then
|
---|
| 4786 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4787 | else
|
---|
| 4788 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4789 | /* confdefs.h. */
|
---|
| 4790 | _ACEOF
|
---|
| 4791 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4792 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4793 | /* end confdefs.h. */
|
---|
| 4794 | $ac_includes_default
|
---|
[20848] | 4795 | typedef off_t ac__type_new_;
|
---|
[16568] | 4796 | int
|
---|
| 4797 | main ()
|
---|
| 4798 | {
|
---|
[20848] | 4799 | if ((ac__type_new_ *) 0)
|
---|
[16568] | 4800 | return 0;
|
---|
[20848] | 4801 | if (sizeof (ac__type_new_))
|
---|
[16568] | 4802 | return 0;
|
---|
| 4803 | ;
|
---|
| 4804 | return 0;
|
---|
| 4805 | }
|
---|
| 4806 | _ACEOF
|
---|
| 4807 | rm -f conftest.$ac_objext
|
---|
[20848] | 4808 | if { (ac_try="$ac_compile"
|
---|
| 4809 | case "(($ac_try" in
|
---|
| 4810 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4811 | *) ac_try_echo=$ac_try;;
|
---|
| 4812 | esac
|
---|
| 4813 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 4814 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 4815 | ac_status=$?
|
---|
| 4816 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4817 | rm -f conftest.er1
|
---|
| 4818 | cat conftest.err >&5
|
---|
| 4819 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 4820 | (exit $ac_status); } && {
|
---|
| 4821 | test -z "$ac_c_werror_flag" ||
|
---|
| 4822 | test ! -s conftest.err
|
---|
| 4823 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 4824 | ac_cv_type_off_t=yes
|
---|
| 4825 | else
|
---|
| 4826 | echo "$as_me: failed program was:" >&5
|
---|
| 4827 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4828 |
|
---|
[20848] | 4829 | ac_cv_type_off_t=no
|
---|
[16568] | 4830 | fi
|
---|
[20848] | 4831 |
|
---|
| 4832 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 4833 | fi
|
---|
[20848] | 4834 | { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
|
---|
| 4835 | echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
|
---|
[16568] | 4836 | if test $ac_cv_type_off_t = yes; then
|
---|
| 4837 | :
|
---|
| 4838 | else
|
---|
| 4839 |
|
---|
| 4840 | cat >>confdefs.h <<_ACEOF
|
---|
[20848] | 4841 | #define off_t long int
|
---|
[16568] | 4842 | _ACEOF
|
---|
| 4843 |
|
---|
| 4844 | fi
|
---|
| 4845 |
|
---|
[20848] | 4846 | { echo "$as_me:$LINENO: checking for size_t" >&5
|
---|
| 4847 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
|
---|
[16568] | 4848 | if test "${ac_cv_type_size_t+set}" = set; then
|
---|
| 4849 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4850 | else
|
---|
| 4851 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4852 | /* confdefs.h. */
|
---|
| 4853 | _ACEOF
|
---|
| 4854 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4855 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4856 | /* end confdefs.h. */
|
---|
| 4857 | $ac_includes_default
|
---|
[20848] | 4858 | typedef size_t ac__type_new_;
|
---|
[16568] | 4859 | int
|
---|
| 4860 | main ()
|
---|
| 4861 | {
|
---|
[20848] | 4862 | if ((ac__type_new_ *) 0)
|
---|
[16568] | 4863 | return 0;
|
---|
[20848] | 4864 | if (sizeof (ac__type_new_))
|
---|
[16568] | 4865 | return 0;
|
---|
| 4866 | ;
|
---|
| 4867 | return 0;
|
---|
| 4868 | }
|
---|
| 4869 | _ACEOF
|
---|
| 4870 | rm -f conftest.$ac_objext
|
---|
[20848] | 4871 | if { (ac_try="$ac_compile"
|
---|
| 4872 | case "(($ac_try" in
|
---|
| 4873 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4874 | *) ac_try_echo=$ac_try;;
|
---|
| 4875 | esac
|
---|
| 4876 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 4877 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 4878 | ac_status=$?
|
---|
| 4879 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4880 | rm -f conftest.er1
|
---|
| 4881 | cat conftest.err >&5
|
---|
| 4882 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 4883 | (exit $ac_status); } && {
|
---|
| 4884 | test -z "$ac_c_werror_flag" ||
|
---|
| 4885 | test ! -s conftest.err
|
---|
| 4886 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 4887 | ac_cv_type_size_t=yes
|
---|
| 4888 | else
|
---|
| 4889 | echo "$as_me: failed program was:" >&5
|
---|
| 4890 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4891 |
|
---|
[20848] | 4892 | ac_cv_type_size_t=no
|
---|
[16568] | 4893 | fi
|
---|
[20848] | 4894 |
|
---|
| 4895 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 4896 | fi
|
---|
[20848] | 4897 | { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
|
---|
| 4898 | echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
|
---|
[16568] | 4899 | if test $ac_cv_type_size_t = yes; then
|
---|
| 4900 | :
|
---|
| 4901 | else
|
---|
| 4902 |
|
---|
| 4903 | cat >>confdefs.h <<_ACEOF
|
---|
[20848] | 4904 | #define size_t unsigned int
|
---|
[16568] | 4905 | _ACEOF
|
---|
| 4906 |
|
---|
| 4907 | fi
|
---|
| 4908 |
|
---|
[20848] | 4909 | { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
|
---|
| 4910 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
|
---|
[16568] | 4911 | if test "${ac_cv_header_time+set}" = set; then
|
---|
| 4912 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4913 | else
|
---|
| 4914 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4915 | /* confdefs.h. */
|
---|
| 4916 | _ACEOF
|
---|
| 4917 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4918 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4919 | /* end confdefs.h. */
|
---|
| 4920 | #include <sys/types.h>
|
---|
| 4921 | #include <sys/time.h>
|
---|
| 4922 | #include <time.h>
|
---|
| 4923 |
|
---|
| 4924 | int
|
---|
| 4925 | main ()
|
---|
| 4926 | {
|
---|
| 4927 | if ((struct tm *) 0)
|
---|
| 4928 | return 0;
|
---|
| 4929 | ;
|
---|
| 4930 | return 0;
|
---|
| 4931 | }
|
---|
| 4932 | _ACEOF
|
---|
| 4933 | rm -f conftest.$ac_objext
|
---|
[20848] | 4934 | if { (ac_try="$ac_compile"
|
---|
| 4935 | case "(($ac_try" in
|
---|
| 4936 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4937 | *) ac_try_echo=$ac_try;;
|
---|
| 4938 | esac
|
---|
| 4939 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 4940 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 4941 | ac_status=$?
|
---|
| 4942 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4943 | rm -f conftest.er1
|
---|
| 4944 | cat conftest.err >&5
|
---|
| 4945 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 4946 | (exit $ac_status); } && {
|
---|
| 4947 | test -z "$ac_c_werror_flag" ||
|
---|
| 4948 | test ! -s conftest.err
|
---|
| 4949 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 4950 | ac_cv_header_time=yes
|
---|
| 4951 | else
|
---|
| 4952 | echo "$as_me: failed program was:" >&5
|
---|
| 4953 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4954 |
|
---|
[20848] | 4955 | ac_cv_header_time=no
|
---|
[16568] | 4956 | fi
|
---|
[20848] | 4957 |
|
---|
| 4958 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 4959 | fi
|
---|
[20848] | 4960 | { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
|
---|
| 4961 | echo "${ECHO_T}$ac_cv_header_time" >&6; }
|
---|
[16568] | 4962 | if test $ac_cv_header_time = yes; then
|
---|
| 4963 |
|
---|
| 4964 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4965 | #define TIME_WITH_SYS_TIME 1
|
---|
| 4966 | _ACEOF
|
---|
| 4967 |
|
---|
| 4968 | fi
|
---|
| 4969 |
|
---|
[20848] | 4970 | { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
|
---|
| 4971 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
|
---|
[16568] | 4972 | if test "${ac_cv_struct_tm+set}" = set; then
|
---|
| 4973 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4974 | else
|
---|
| 4975 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4976 | /* confdefs.h. */
|
---|
| 4977 | _ACEOF
|
---|
| 4978 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4979 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4980 | /* end confdefs.h. */
|
---|
| 4981 | #include <sys/types.h>
|
---|
| 4982 | #include <time.h>
|
---|
| 4983 |
|
---|
| 4984 | int
|
---|
| 4985 | main ()
|
---|
| 4986 | {
|
---|
[20848] | 4987 | struct tm tm;
|
---|
| 4988 | int *p = &tm.tm_sec;
|
---|
| 4989 | return !p;
|
---|
[16568] | 4990 | ;
|
---|
| 4991 | return 0;
|
---|
| 4992 | }
|
---|
| 4993 | _ACEOF
|
---|
| 4994 | rm -f conftest.$ac_objext
|
---|
[20848] | 4995 | if { (ac_try="$ac_compile"
|
---|
| 4996 | case "(($ac_try" in
|
---|
| 4997 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4998 | *) ac_try_echo=$ac_try;;
|
---|
| 4999 | esac
|
---|
| 5000 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5001 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 5002 | ac_status=$?
|
---|
| 5003 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5004 | rm -f conftest.er1
|
---|
| 5005 | cat conftest.err >&5
|
---|
| 5006 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 5007 | (exit $ac_status); } && {
|
---|
| 5008 | test -z "$ac_c_werror_flag" ||
|
---|
| 5009 | test ! -s conftest.err
|
---|
| 5010 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 5011 | ac_cv_struct_tm=time.h
|
---|
| 5012 | else
|
---|
| 5013 | echo "$as_me: failed program was:" >&5
|
---|
| 5014 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5015 |
|
---|
[20848] | 5016 | ac_cv_struct_tm=sys/time.h
|
---|
[16568] | 5017 | fi
|
---|
[20848] | 5018 |
|
---|
| 5019 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 5020 | fi
|
---|
[20848] | 5021 | { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
|
---|
| 5022 | echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
|
---|
[16568] | 5023 | if test $ac_cv_struct_tm = sys/time.h; then
|
---|
| 5024 |
|
---|
| 5025 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5026 | #define TM_IN_SYS_TIME 1
|
---|
| 5027 | _ACEOF
|
---|
| 5028 |
|
---|
| 5029 | fi
|
---|
| 5030 |
|
---|
| 5031 |
|
---|
| 5032 | if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
|
---|
| 5033 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5034 | /* confdefs.h. */
|
---|
| 5035 | _ACEOF
|
---|
| 5036 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5037 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5038 | /* end confdefs.h. */
|
---|
| 5039 | #include <stdio.h>
|
---|
| 5040 |
|
---|
| 5041 | int
|
---|
| 5042 | main ()
|
---|
| 5043 | {
|
---|
| 5044 | FILE *rubbish = popen("yes", "r");
|
---|
| 5045 | ;
|
---|
| 5046 | return 0;
|
---|
| 5047 | }
|
---|
| 5048 | _ACEOF
|
---|
| 5049 | rm -f conftest.$ac_objext
|
---|
[20848] | 5050 | if { (ac_try="$ac_compile"
|
---|
| 5051 | case "(($ac_try" in
|
---|
| 5052 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5053 | *) ac_try_echo=$ac_try;;
|
---|
| 5054 | esac
|
---|
| 5055 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5056 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 5057 | ac_status=$?
|
---|
| 5058 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5059 | rm -f conftest.er1
|
---|
| 5060 | cat conftest.err >&5
|
---|
| 5061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 5062 | (exit $ac_status); } && {
|
---|
| 5063 | test -z "$ac_c_werror_flag" ||
|
---|
| 5064 | test ! -s conftest.err
|
---|
| 5065 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 5066 | :
|
---|
| 5067 | else
|
---|
| 5068 | echo "$as_me: failed program was:" >&5
|
---|
| 5069 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5070 |
|
---|
[20848] | 5071 | CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
|
---|
[16568] | 5072 | fi
|
---|
[20848] | 5073 |
|
---|
| 5074 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 5075 | fi
|
---|
| 5076 |
|
---|
| 5077 |
|
---|
| 5078 |
|
---|
[20848] | 5079 | { echo "$as_me:$LINENO: checking for main in -lg" >&5
|
---|
| 5080 | echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; }
|
---|
[16568] | 5081 | if test "${ac_cv_lib_g_main+set}" = set; then
|
---|
| 5082 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5083 | else
|
---|
| 5084 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5085 | LIBS="-lg $LIBS"
|
---|
| 5086 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5087 | /* confdefs.h. */
|
---|
| 5088 | _ACEOF
|
---|
| 5089 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5090 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5091 | /* end confdefs.h. */
|
---|
| 5092 |
|
---|
| 5093 |
|
---|
| 5094 | int
|
---|
| 5095 | main ()
|
---|
| 5096 | {
|
---|
[20848] | 5097 | return main ();
|
---|
[16568] | 5098 | ;
|
---|
| 5099 | return 0;
|
---|
| 5100 | }
|
---|
| 5101 | _ACEOF
|
---|
| 5102 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20848] | 5103 | if { (ac_try="$ac_link"
|
---|
| 5104 | case "(($ac_try" in
|
---|
| 5105 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5106 | *) ac_try_echo=$ac_try;;
|
---|
| 5107 | esac
|
---|
| 5108 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5109 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 5110 | ac_status=$?
|
---|
| 5111 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5112 | rm -f conftest.er1
|
---|
| 5113 | cat conftest.err >&5
|
---|
| 5114 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 5115 | (exit $ac_status); } && {
|
---|
| 5116 | test -z "$ac_c_werror_flag" ||
|
---|
| 5117 | test ! -s conftest.err
|
---|
| 5118 | } && test -s conftest$ac_exeext &&
|
---|
| 5119 | $as_test_x conftest$ac_exeext; then
|
---|
[16568] | 5120 | ac_cv_lib_g_main=yes
|
---|
| 5121 | else
|
---|
| 5122 | echo "$as_me: failed program was:" >&5
|
---|
| 5123 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5124 |
|
---|
[20848] | 5125 | ac_cv_lib_g_main=no
|
---|
[16568] | 5126 | fi
|
---|
[20848] | 5127 |
|
---|
| 5128 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16568] | 5129 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5130 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5131 | fi
|
---|
[20848] | 5132 | { echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
|
---|
| 5133 | echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }
|
---|
[16568] | 5134 | if test $ac_cv_lib_g_main = yes; then
|
---|
| 5135 | cat >>confdefs.h <<_ACEOF
|
---|
| 5136 | #define HAVE_LIBG 1
|
---|
| 5137 | _ACEOF
|
---|
| 5138 |
|
---|
| 5139 | LIBS="-lg $LIBS"
|
---|
| 5140 |
|
---|
| 5141 | fi
|
---|
| 5142 | ac_cv_lib_g=ac_cv_lib_g_main
|
---|
| 5143 |
|
---|
| 5144 |
|
---|
[20848] | 5145 | { echo "$as_me:$LINENO: checking for main in -lm" >&5
|
---|
| 5146 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
|
---|
[16568] | 5147 | if test "${ac_cv_lib_m_main+set}" = set; then
|
---|
| 5148 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5149 | else
|
---|
| 5150 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5151 | LIBS="-lm $LIBS"
|
---|
| 5152 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5153 | /* confdefs.h. */
|
---|
| 5154 | _ACEOF
|
---|
| 5155 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5156 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5157 | /* end confdefs.h. */
|
---|
| 5158 |
|
---|
| 5159 |
|
---|
| 5160 | int
|
---|
| 5161 | main ()
|
---|
| 5162 | {
|
---|
[20848] | 5163 | return main ();
|
---|
[16568] | 5164 | ;
|
---|
| 5165 | return 0;
|
---|
| 5166 | }
|
---|
| 5167 | _ACEOF
|
---|
| 5168 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20848] | 5169 | if { (ac_try="$ac_link"
|
---|
| 5170 | case "(($ac_try" in
|
---|
| 5171 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5172 | *) ac_try_echo=$ac_try;;
|
---|
| 5173 | esac
|
---|
| 5174 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5175 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 5176 | ac_status=$?
|
---|
| 5177 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5178 | rm -f conftest.er1
|
---|
| 5179 | cat conftest.err >&5
|
---|
| 5180 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 5181 | (exit $ac_status); } && {
|
---|
| 5182 | test -z "$ac_c_werror_flag" ||
|
---|
| 5183 | test ! -s conftest.err
|
---|
| 5184 | } && test -s conftest$ac_exeext &&
|
---|
| 5185 | $as_test_x conftest$ac_exeext; then
|
---|
[16568] | 5186 | ac_cv_lib_m_main=yes
|
---|
| 5187 | else
|
---|
| 5188 | echo "$as_me: failed program was:" >&5
|
---|
| 5189 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5190 |
|
---|
[20848] | 5191 | ac_cv_lib_m_main=no
|
---|
[16568] | 5192 | fi
|
---|
[20848] | 5193 |
|
---|
| 5194 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16568] | 5195 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5196 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5197 | fi
|
---|
[20848] | 5198 | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
|
---|
| 5199 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
|
---|
[16568] | 5200 | if test $ac_cv_lib_m_main = yes; then
|
---|
| 5201 | cat >>confdefs.h <<_ACEOF
|
---|
| 5202 | #define HAVE_LIBM 1
|
---|
| 5203 | _ACEOF
|
---|
| 5204 |
|
---|
| 5205 | LIBS="-lm $LIBS"
|
---|
| 5206 |
|
---|
| 5207 | fi
|
---|
| 5208 | ac_cv_lib_m=ac_cv_lib_m_main
|
---|
| 5209 |
|
---|
| 5210 |
|
---|
[20848] | 5211 | { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
|
---|
| 5212 | echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
|
---|
[16568] | 5213 | if test "${ac_cv_lib_crypt_main+set}" = set; then
|
---|
| 5214 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5215 | else
|
---|
| 5216 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5217 | LIBS="-lcrypt $LIBS"
|
---|
| 5218 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5219 | /* confdefs.h. */
|
---|
| 5220 | _ACEOF
|
---|
| 5221 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5222 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5223 | /* end confdefs.h. */
|
---|
| 5224 |
|
---|
| 5225 |
|
---|
| 5226 | int
|
---|
| 5227 | main ()
|
---|
| 5228 | {
|
---|
[20848] | 5229 | return main ();
|
---|
[16568] | 5230 | ;
|
---|
| 5231 | return 0;
|
---|
| 5232 | }
|
---|
| 5233 | _ACEOF
|
---|
| 5234 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20848] | 5235 | if { (ac_try="$ac_link"
|
---|
| 5236 | case "(($ac_try" in
|
---|
| 5237 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5238 | *) ac_try_echo=$ac_try;;
|
---|
| 5239 | esac
|
---|
| 5240 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5241 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 5242 | ac_status=$?
|
---|
| 5243 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5244 | rm -f conftest.er1
|
---|
| 5245 | cat conftest.err >&5
|
---|
| 5246 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 5247 | (exit $ac_status); } && {
|
---|
| 5248 | test -z "$ac_c_werror_flag" ||
|
---|
| 5249 | test ! -s conftest.err
|
---|
| 5250 | } && test -s conftest$ac_exeext &&
|
---|
| 5251 | $as_test_x conftest$ac_exeext; then
|
---|
[16568] | 5252 | ac_cv_lib_crypt_main=yes
|
---|
| 5253 | else
|
---|
| 5254 | echo "$as_me: failed program was:" >&5
|
---|
| 5255 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5256 |
|
---|
[20848] | 5257 | ac_cv_lib_crypt_main=no
|
---|
[16568] | 5258 | fi
|
---|
[20848] | 5259 |
|
---|
| 5260 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16568] | 5261 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5262 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5263 | fi
|
---|
[20848] | 5264 | { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
|
---|
| 5265 | echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
|
---|
[16568] | 5266 | if test $ac_cv_lib_crypt_main = yes; then
|
---|
| 5267 | cat >>confdefs.h <<_ACEOF
|
---|
| 5268 | #define HAVE_LIBCRYPT 1
|
---|
| 5269 | _ACEOF
|
---|
| 5270 |
|
---|
| 5271 | LIBS="-lcrypt $LIBS"
|
---|
| 5272 |
|
---|
| 5273 | fi
|
---|
| 5274 | ac_cv_lib_crypt=ac_cv_lib_crypt_main
|
---|
| 5275 |
|
---|
[20848] | 5276 | #if test $ENABLE_ACCENTFOLD = 1; then
|
---|
| 5277 | #AC_HAVE_LIBRARY(iconv)
|
---|
| 5278 | #fi
|
---|
[16568] | 5279 |
|
---|
| 5280 |
|
---|
| 5281 |
|
---|
| 5282 |
|
---|
| 5283 |
|
---|
| 5284 |
|
---|
| 5285 | ac_header_dirent=no
|
---|
| 5286 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
---|
| 5287 | as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
---|
[20848] | 5288 | { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
|
---|
| 5289 | echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
|
---|
| 5290 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[16568] | 5291 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5292 | else
|
---|
| 5293 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5294 | /* confdefs.h. */
|
---|
| 5295 | _ACEOF
|
---|
| 5296 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5297 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5298 | /* end confdefs.h. */
|
---|
| 5299 | #include <sys/types.h>
|
---|
| 5300 | #include <$ac_hdr>
|
---|
| 5301 |
|
---|
| 5302 | int
|
---|
| 5303 | main ()
|
---|
| 5304 | {
|
---|
| 5305 | if ((DIR *) 0)
|
---|
| 5306 | return 0;
|
---|
| 5307 | ;
|
---|
| 5308 | return 0;
|
---|
| 5309 | }
|
---|
| 5310 | _ACEOF
|
---|
| 5311 | rm -f conftest.$ac_objext
|
---|
[20848] | 5312 | if { (ac_try="$ac_compile"
|
---|
| 5313 | case "(($ac_try" in
|
---|
| 5314 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5315 | *) ac_try_echo=$ac_try;;
|
---|
| 5316 | esac
|
---|
| 5317 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5318 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 5319 | ac_status=$?
|
---|
| 5320 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5321 | rm -f conftest.er1
|
---|
| 5322 | cat conftest.err >&5
|
---|
| 5323 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 5324 | (exit $ac_status); } && {
|
---|
| 5325 | test -z "$ac_c_werror_flag" ||
|
---|
| 5326 | test ! -s conftest.err
|
---|
| 5327 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 5328 | eval "$as_ac_Header=yes"
|
---|
| 5329 | else
|
---|
| 5330 | echo "$as_me: failed program was:" >&5
|
---|
| 5331 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5332 |
|
---|
[20848] | 5333 | eval "$as_ac_Header=no"
|
---|
[16568] | 5334 | fi
|
---|
[20848] | 5335 |
|
---|
| 5336 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 5337 | fi
|
---|
[20848] | 5338 | ac_res=`eval echo '${'$as_ac_Header'}'`
|
---|
| 5339 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 5340 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
[16568] | 5341 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
| 5342 | cat >>confdefs.h <<_ACEOF
|
---|
| 5343 | #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
---|
| 5344 | _ACEOF
|
---|
| 5345 |
|
---|
| 5346 | ac_header_dirent=$ac_hdr; break
|
---|
| 5347 | fi
|
---|
| 5348 |
|
---|
| 5349 | done
|
---|
| 5350 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
---|
| 5351 | if test $ac_header_dirent = dirent.h; then
|
---|
[20848] | 5352 | { echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
---|
| 5353 | echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
|
---|
[16568] | 5354 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 5355 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5356 | else
|
---|
| 5357 | ac_func_search_save_LIBS=$LIBS
|
---|
| 5358 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5359 | /* confdefs.h. */
|
---|
| 5360 | _ACEOF
|
---|
| 5361 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5362 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5363 | /* end confdefs.h. */
|
---|
| 5364 |
|
---|
[20848] | 5365 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5366 | Use char because int might match the return type of a GCC
|
---|
| 5367 | builtin and then its argument prototype would still apply. */
|
---|
[16568] | 5368 | #ifdef __cplusplus
|
---|
| 5369 | extern "C"
|
---|
| 5370 | #endif
|
---|
| 5371 | char opendir ();
|
---|
| 5372 | int
|
---|
| 5373 | main ()
|
---|
| 5374 | {
|
---|
[20848] | 5375 | return opendir ();
|
---|
[16568] | 5376 | ;
|
---|
| 5377 | return 0;
|
---|
| 5378 | }
|
---|
| 5379 | _ACEOF
|
---|
[20848] | 5380 | for ac_lib in '' dir; do
|
---|
| 5381 | if test -z "$ac_lib"; then
|
---|
| 5382 | ac_res="none required"
|
---|
| 5383 | else
|
---|
| 5384 | ac_res=-l$ac_lib
|
---|
| 5385 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5386 | fi
|
---|
| 5387 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5388 | if { (ac_try="$ac_link"
|
---|
| 5389 | case "(($ac_try" in
|
---|
| 5390 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5391 | *) ac_try_echo=$ac_try;;
|
---|
| 5392 | esac
|
---|
| 5393 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5394 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 5395 | ac_status=$?
|
---|
| 5396 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5397 | rm -f conftest.er1
|
---|
| 5398 | cat conftest.err >&5
|
---|
| 5399 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 5400 | (exit $ac_status); } && {
|
---|
| 5401 | test -z "$ac_c_werror_flag" ||
|
---|
| 5402 | test ! -s conftest.err
|
---|
| 5403 | } && test -s conftest$ac_exeext &&
|
---|
| 5404 | $as_test_x conftest$ac_exeext; then
|
---|
| 5405 | ac_cv_search_opendir=$ac_res
|
---|
[16568] | 5406 | else
|
---|
| 5407 | echo "$as_me: failed program was:" >&5
|
---|
| 5408 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5409 |
|
---|
[20848] | 5410 |
|
---|
[16568] | 5411 | fi
|
---|
| 5412 |
|
---|
[20848] | 5413 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 5414 | conftest$ac_exeext
|
---|
| 5415 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 5416 | break
|
---|
| 5417 | fi
|
---|
| 5418 | done
|
---|
| 5419 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 5420 | :
|
---|
[16568] | 5421 | else
|
---|
[20848] | 5422 | ac_cv_search_opendir=no
|
---|
[16568] | 5423 | fi
|
---|
[20848] | 5424 | rm conftest.$ac_ext
|
---|
[16568] | 5425 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5426 | fi
|
---|
[20848] | 5427 | { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
---|
| 5428 | echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
|
---|
| 5429 | ac_res=$ac_cv_search_opendir
|
---|
| 5430 | if test "$ac_res" != no; then
|
---|
| 5431 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16568] | 5432 |
|
---|
| 5433 | fi
|
---|
| 5434 |
|
---|
| 5435 | else
|
---|
[20848] | 5436 | { echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
---|
| 5437 | echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
|
---|
[16568] | 5438 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 5439 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5440 | else
|
---|
| 5441 | ac_func_search_save_LIBS=$LIBS
|
---|
| 5442 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5443 | /* confdefs.h. */
|
---|
| 5444 | _ACEOF
|
---|
| 5445 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5446 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5447 | /* end confdefs.h. */
|
---|
| 5448 |
|
---|
[20848] | 5449 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5450 | Use char because int might match the return type of a GCC
|
---|
| 5451 | builtin and then its argument prototype would still apply. */
|
---|
[16568] | 5452 | #ifdef __cplusplus
|
---|
| 5453 | extern "C"
|
---|
| 5454 | #endif
|
---|
| 5455 | char opendir ();
|
---|
| 5456 | int
|
---|
| 5457 | main ()
|
---|
| 5458 | {
|
---|
[20848] | 5459 | return opendir ();
|
---|
[16568] | 5460 | ;
|
---|
| 5461 | return 0;
|
---|
| 5462 | }
|
---|
| 5463 | _ACEOF
|
---|
[20848] | 5464 | for ac_lib in '' x; do
|
---|
| 5465 | if test -z "$ac_lib"; then
|
---|
| 5466 | ac_res="none required"
|
---|
| 5467 | else
|
---|
| 5468 | ac_res=-l$ac_lib
|
---|
| 5469 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5470 | fi
|
---|
| 5471 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5472 | if { (ac_try="$ac_link"
|
---|
| 5473 | case "(($ac_try" in
|
---|
| 5474 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5475 | *) ac_try_echo=$ac_try;;
|
---|
| 5476 | esac
|
---|
| 5477 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5478 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 5479 | ac_status=$?
|
---|
| 5480 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5481 | rm -f conftest.er1
|
---|
| 5482 | cat conftest.err >&5
|
---|
| 5483 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 5484 | (exit $ac_status); } && {
|
---|
| 5485 | test -z "$ac_c_werror_flag" ||
|
---|
| 5486 | test ! -s conftest.err
|
---|
| 5487 | } && test -s conftest$ac_exeext &&
|
---|
| 5488 | $as_test_x conftest$ac_exeext; then
|
---|
| 5489 | ac_cv_search_opendir=$ac_res
|
---|
[16568] | 5490 | else
|
---|
| 5491 | echo "$as_me: failed program was:" >&5
|
---|
| 5492 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5493 |
|
---|
[20848] | 5494 |
|
---|
[16568] | 5495 | fi
|
---|
| 5496 |
|
---|
[20848] | 5497 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 5498 | conftest$ac_exeext
|
---|
| 5499 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 5500 | break
|
---|
| 5501 | fi
|
---|
| 5502 | done
|
---|
| 5503 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 5504 | :
|
---|
[16568] | 5505 | else
|
---|
[20848] | 5506 | ac_cv_search_opendir=no
|
---|
[16568] | 5507 | fi
|
---|
[20848] | 5508 | rm conftest.$ac_ext
|
---|
[16568] | 5509 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5510 | fi
|
---|
[20848] | 5511 | { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
---|
| 5512 | echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
|
---|
| 5513 | ac_res=$ac_cv_search_opendir
|
---|
| 5514 | if test "$ac_res" != no; then
|
---|
| 5515 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16568] | 5516 |
|
---|
| 5517 | fi
|
---|
| 5518 |
|
---|
| 5519 | fi
|
---|
| 5520 |
|
---|
[20848] | 5521 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
---|
| 5522 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
---|
[16568] | 5523 | if test "${ac_cv_header_stdc+set}" = set; then
|
---|
| 5524 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5525 | else
|
---|
| 5526 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5527 | /* confdefs.h. */
|
---|
| 5528 | _ACEOF
|
---|
| 5529 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5530 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5531 | /* end confdefs.h. */
|
---|
| 5532 | #include <stdlib.h>
|
---|
| 5533 | #include <stdarg.h>
|
---|
| 5534 | #include <string.h>
|
---|
| 5535 | #include <float.h>
|
---|
| 5536 |
|
---|
| 5537 | int
|
---|
| 5538 | main ()
|
---|
| 5539 | {
|
---|
| 5540 |
|
---|
| 5541 | ;
|
---|
| 5542 | return 0;
|
---|
| 5543 | }
|
---|
| 5544 | _ACEOF
|
---|
| 5545 | rm -f conftest.$ac_objext
|
---|
[20848] | 5546 | if { (ac_try="$ac_compile"
|
---|
| 5547 | case "(($ac_try" in
|
---|
| 5548 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5549 | *) ac_try_echo=$ac_try;;
|
---|
| 5550 | esac
|
---|
| 5551 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5552 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 5553 | ac_status=$?
|
---|
| 5554 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5555 | rm -f conftest.er1
|
---|
| 5556 | cat conftest.err >&5
|
---|
| 5557 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 5558 | (exit $ac_status); } && {
|
---|
| 5559 | test -z "$ac_c_werror_flag" ||
|
---|
| 5560 | test ! -s conftest.err
|
---|
| 5561 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 5562 | ac_cv_header_stdc=yes
|
---|
| 5563 | else
|
---|
| 5564 | echo "$as_me: failed program was:" >&5
|
---|
| 5565 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5566 |
|
---|
[20848] | 5567 | ac_cv_header_stdc=no
|
---|
[16568] | 5568 | fi
|
---|
| 5569 |
|
---|
[20848] | 5570 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5571 |
|
---|
[16568] | 5572 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5573 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
| 5574 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5575 | /* confdefs.h. */
|
---|
| 5576 | _ACEOF
|
---|
| 5577 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5578 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5579 | /* end confdefs.h. */
|
---|
| 5580 | #include <string.h>
|
---|
| 5581 |
|
---|
| 5582 | _ACEOF
|
---|
| 5583 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5584 | $EGREP "memchr" >/dev/null 2>&1; then
|
---|
| 5585 | :
|
---|
| 5586 | else
|
---|
| 5587 | ac_cv_header_stdc=no
|
---|
| 5588 | fi
|
---|
| 5589 | rm -f conftest*
|
---|
| 5590 |
|
---|
| 5591 | fi
|
---|
| 5592 |
|
---|
| 5593 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5594 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
| 5595 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5596 | /* confdefs.h. */
|
---|
| 5597 | _ACEOF
|
---|
| 5598 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5599 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5600 | /* end confdefs.h. */
|
---|
| 5601 | #include <stdlib.h>
|
---|
| 5602 |
|
---|
| 5603 | _ACEOF
|
---|
| 5604 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5605 | $EGREP "free" >/dev/null 2>&1; then
|
---|
| 5606 | :
|
---|
| 5607 | else
|
---|
| 5608 | ac_cv_header_stdc=no
|
---|
| 5609 | fi
|
---|
| 5610 | rm -f conftest*
|
---|
| 5611 |
|
---|
| 5612 | fi
|
---|
| 5613 |
|
---|
| 5614 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5615 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
| 5616 | if test "$cross_compiling" = yes; then
|
---|
| 5617 | :
|
---|
| 5618 | else
|
---|
| 5619 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5620 | /* confdefs.h. */
|
---|
| 5621 | _ACEOF
|
---|
| 5622 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5623 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5624 | /* end confdefs.h. */
|
---|
| 5625 | #include <ctype.h>
|
---|
[20848] | 5626 | #include <stdlib.h>
|
---|
[16568] | 5627 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 5628 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 5629 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 5630 | #else
|
---|
| 5631 | # define ISLOWER(c) \
|
---|
| 5632 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 5633 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 5634 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 5635 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 5636 | #endif
|
---|
| 5637 |
|
---|
| 5638 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 5639 | int
|
---|
| 5640 | main ()
|
---|
| 5641 | {
|
---|
| 5642 | int i;
|
---|
| 5643 | for (i = 0; i < 256; i++)
|
---|
| 5644 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 5645 | || toupper (i) != TOUPPER (i))
|
---|
[20848] | 5646 | return 2;
|
---|
| 5647 | return 0;
|
---|
[16568] | 5648 | }
|
---|
| 5649 | _ACEOF
|
---|
| 5650 | rm -f conftest$ac_exeext
|
---|
[20848] | 5651 | if { (ac_try="$ac_link"
|
---|
| 5652 | case "(($ac_try" in
|
---|
| 5653 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5654 | *) ac_try_echo=$ac_try;;
|
---|
| 5655 | esac
|
---|
| 5656 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5657 | (eval "$ac_link") 2>&5
|
---|
[16568] | 5658 | ac_status=$?
|
---|
| 5659 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5660 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[20848] | 5661 | { (case "(($ac_try" in
|
---|
| 5662 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5663 | *) ac_try_echo=$ac_try;;
|
---|
| 5664 | esac
|
---|
| 5665 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5666 | (eval "$ac_try") 2>&5
|
---|
[16568] | 5667 | ac_status=$?
|
---|
| 5668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 5669 | (exit $ac_status); }; }; then
|
---|
| 5670 | :
|
---|
| 5671 | else
|
---|
| 5672 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 5673 | echo "$as_me: failed program was:" >&5
|
---|
| 5674 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5675 |
|
---|
| 5676 | ( exit $ac_status )
|
---|
| 5677 | ac_cv_header_stdc=no
|
---|
| 5678 | fi
|
---|
[20848] | 5679 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 5680 | fi
|
---|
[20848] | 5681 |
|
---|
| 5682 |
|
---|
[16568] | 5683 | fi
|
---|
| 5684 | fi
|
---|
[20848] | 5685 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
---|
| 5686 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
---|
[16568] | 5687 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5688 |
|
---|
| 5689 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5690 | #define STDC_HEADERS 1
|
---|
| 5691 | _ACEOF
|
---|
| 5692 |
|
---|
| 5693 | fi
|
---|
| 5694 |
|
---|
| 5695 |
|
---|
| 5696 |
|
---|
| 5697 |
|
---|
| 5698 |
|
---|
| 5699 |
|
---|
| 5700 |
|
---|
| 5701 |
|
---|
| 5702 |
|
---|
| 5703 |
|
---|
| 5704 | for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h
|
---|
| 5705 | do
|
---|
| 5706 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
[20848] | 5707 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
| 5708 | { echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 5709 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
---|
| 5710 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[16568] | 5711 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5712 | fi
|
---|
[20848] | 5713 | ac_res=`eval echo '${'$as_ac_Header'}'`
|
---|
| 5714 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 5715 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
[16568] | 5716 | else
|
---|
| 5717 | # Is the header compilable?
|
---|
[20848] | 5718 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
---|
| 5719 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
---|
[16568] | 5720 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5721 | /* confdefs.h. */
|
---|
| 5722 | _ACEOF
|
---|
| 5723 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5724 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5725 | /* end confdefs.h. */
|
---|
| 5726 | $ac_includes_default
|
---|
| 5727 | #include <$ac_header>
|
---|
| 5728 | _ACEOF
|
---|
| 5729 | rm -f conftest.$ac_objext
|
---|
[20848] | 5730 | if { (ac_try="$ac_compile"
|
---|
| 5731 | case "(($ac_try" in
|
---|
| 5732 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5733 | *) ac_try_echo=$ac_try;;
|
---|
| 5734 | esac
|
---|
| 5735 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5736 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 5737 | ac_status=$?
|
---|
| 5738 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5739 | rm -f conftest.er1
|
---|
| 5740 | cat conftest.err >&5
|
---|
| 5741 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 5742 | (exit $ac_status); } && {
|
---|
| 5743 | test -z "$ac_c_werror_flag" ||
|
---|
| 5744 | test ! -s conftest.err
|
---|
| 5745 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 5746 | ac_header_compiler=yes
|
---|
| 5747 | else
|
---|
| 5748 | echo "$as_me: failed program was:" >&5
|
---|
| 5749 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5750 |
|
---|
[20848] | 5751 | ac_header_compiler=no
|
---|
[16568] | 5752 | fi
|
---|
| 5753 |
|
---|
[20848] | 5754 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5755 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
---|
| 5756 | echo "${ECHO_T}$ac_header_compiler" >&6; }
|
---|
| 5757 |
|
---|
[16568] | 5758 | # Is the header present?
|
---|
[20848] | 5759 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
---|
| 5760 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
---|
[16568] | 5761 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5762 | /* confdefs.h. */
|
---|
| 5763 | _ACEOF
|
---|
| 5764 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5765 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5766 | /* end confdefs.h. */
|
---|
| 5767 | #include <$ac_header>
|
---|
| 5768 | _ACEOF
|
---|
[20848] | 5769 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 5770 | case "(($ac_try" in
|
---|
| 5771 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5772 | *) ac_try_echo=$ac_try;;
|
---|
| 5773 | esac
|
---|
| 5774 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5775 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
[16568] | 5776 | ac_status=$?
|
---|
| 5777 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5778 | rm -f conftest.er1
|
---|
| 5779 | cat conftest.err >&5
|
---|
| 5780 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 5781 | (exit $ac_status); } >/dev/null && {
|
---|
| 5782 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 5783 | test ! -s conftest.err
|
---|
| 5784 | }; then
|
---|
[16568] | 5785 | ac_header_preproc=yes
|
---|
| 5786 | else
|
---|
| 5787 | echo "$as_me: failed program was:" >&5
|
---|
| 5788 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5789 |
|
---|
| 5790 | ac_header_preproc=no
|
---|
| 5791 | fi
|
---|
[20848] | 5792 |
|
---|
[16568] | 5793 | rm -f conftest.err conftest.$ac_ext
|
---|
[20848] | 5794 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
---|
| 5795 | echo "${ECHO_T}$ac_header_preproc" >&6; }
|
---|
[16568] | 5796 |
|
---|
| 5797 | # So? What about this header?
|
---|
| 5798 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
---|
| 5799 | yes:no: )
|
---|
| 5800 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 5801 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 5802 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
---|
| 5803 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
---|
| 5804 | ac_header_preproc=yes
|
---|
| 5805 | ;;
|
---|
| 5806 | no:yes:* )
|
---|
| 5807 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
---|
| 5808 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
---|
| 5809 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
---|
| 5810 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
---|
| 5811 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
---|
| 5812 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
---|
| 5813 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 5814 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 5815 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
---|
| 5816 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
---|
| 5817 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
---|
| 5818 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
---|
[20848] | 5819 |
|
---|
[16568] | 5820 | ;;
|
---|
| 5821 | esac
|
---|
[20848] | 5822 | { echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 5823 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
---|
| 5824 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[16568] | 5825 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5826 | else
|
---|
| 5827 | eval "$as_ac_Header=\$ac_header_preproc"
|
---|
| 5828 | fi
|
---|
[20848] | 5829 | ac_res=`eval echo '${'$as_ac_Header'}'`
|
---|
| 5830 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 5831 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
[16568] | 5832 |
|
---|
| 5833 | fi
|
---|
| 5834 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
| 5835 | cat >>confdefs.h <<_ACEOF
|
---|
| 5836 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
| 5837 | _ACEOF
|
---|
| 5838 |
|
---|
| 5839 | fi
|
---|
| 5840 |
|
---|
| 5841 | done
|
---|
| 5842 |
|
---|
| 5843 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5844 | /* confdefs.h. */
|
---|
| 5845 | _ACEOF
|
---|
| 5846 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5847 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5848 | /* end confdefs.h. */
|
---|
| 5849 | #include <stdio.h>
|
---|
| 5850 |
|
---|
| 5851 | _ACEOF
|
---|
| 5852 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5853 | $EGREP "fread" >/dev/null 2>&1; then
|
---|
| 5854 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5855 | #define HAVE_FREAD_DECL 1
|
---|
| 5856 | _ACEOF
|
---|
| 5857 |
|
---|
| 5858 | fi
|
---|
| 5859 | rm -f conftest*
|
---|
| 5860 |
|
---|
| 5861 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5862 | /* confdefs.h. */
|
---|
| 5863 | _ACEOF
|
---|
| 5864 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5865 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5866 | /* end confdefs.h. */
|
---|
| 5867 | #include <stdio.h>
|
---|
| 5868 |
|
---|
| 5869 | _ACEOF
|
---|
| 5870 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5871 | $EGREP "fgetc" >/dev/null 2>&1; then
|
---|
| 5872 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5873 | #define HAVE_FGETC_DECL 1
|
---|
| 5874 | _ACEOF
|
---|
| 5875 |
|
---|
| 5876 | fi
|
---|
| 5877 | rm -f conftest*
|
---|
| 5878 |
|
---|
| 5879 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5880 | /* confdefs.h. */
|
---|
| 5881 | _ACEOF
|
---|
| 5882 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5883 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5884 | /* end confdefs.h. */
|
---|
| 5885 | #include <sys/procfs.h>
|
---|
| 5886 |
|
---|
| 5887 | _ACEOF
|
---|
| 5888 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5889 | $EGREP "pr_brksize" >/dev/null 2>&1; then
|
---|
| 5890 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5891 | #define HAVE_PR_BRKSIZE 1
|
---|
| 5892 | _ACEOF
|
---|
| 5893 |
|
---|
| 5894 | fi
|
---|
| 5895 | rm -f conftest*
|
---|
| 5896 |
|
---|
| 5897 |
|
---|
| 5898 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
---|
| 5899 | # for constant arguments. Useless!
|
---|
[20848] | 5900 | { echo "$as_me:$LINENO: checking for working alloca.h" >&5
|
---|
| 5901 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
|
---|
[16568] | 5902 | if test "${ac_cv_working_alloca_h+set}" = set; then
|
---|
| 5903 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5904 | else
|
---|
| 5905 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5906 | /* confdefs.h. */
|
---|
| 5907 | _ACEOF
|
---|
| 5908 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5909 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5910 | /* end confdefs.h. */
|
---|
| 5911 | #include <alloca.h>
|
---|
| 5912 | int
|
---|
| 5913 | main ()
|
---|
| 5914 | {
|
---|
| 5915 | char *p = (char *) alloca (2 * sizeof (int));
|
---|
[20848] | 5916 | if (p) return 0;
|
---|
[16568] | 5917 | ;
|
---|
| 5918 | return 0;
|
---|
| 5919 | }
|
---|
| 5920 | _ACEOF
|
---|
| 5921 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20848] | 5922 | if { (ac_try="$ac_link"
|
---|
| 5923 | case "(($ac_try" in
|
---|
| 5924 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5925 | *) ac_try_echo=$ac_try;;
|
---|
| 5926 | esac
|
---|
| 5927 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 5928 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 5929 | ac_status=$?
|
---|
| 5930 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5931 | rm -f conftest.er1
|
---|
| 5932 | cat conftest.err >&5
|
---|
| 5933 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 5934 | (exit $ac_status); } && {
|
---|
| 5935 | test -z "$ac_c_werror_flag" ||
|
---|
| 5936 | test ! -s conftest.err
|
---|
| 5937 | } && test -s conftest$ac_exeext &&
|
---|
| 5938 | $as_test_x conftest$ac_exeext; then
|
---|
[16568] | 5939 | ac_cv_working_alloca_h=yes
|
---|
| 5940 | else
|
---|
| 5941 | echo "$as_me: failed program was:" >&5
|
---|
| 5942 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5943 |
|
---|
[20848] | 5944 | ac_cv_working_alloca_h=no
|
---|
[16568] | 5945 | fi
|
---|
[20848] | 5946 |
|
---|
| 5947 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16568] | 5948 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5949 | fi
|
---|
[20848] | 5950 | { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
|
---|
| 5951 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
|
---|
[16568] | 5952 | if test $ac_cv_working_alloca_h = yes; then
|
---|
| 5953 |
|
---|
| 5954 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5955 | #define HAVE_ALLOCA_H 1
|
---|
| 5956 | _ACEOF
|
---|
| 5957 |
|
---|
| 5958 | fi
|
---|
| 5959 |
|
---|
[20848] | 5960 | { echo "$as_me:$LINENO: checking for alloca" >&5
|
---|
| 5961 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
|
---|
[16568] | 5962 | if test "${ac_cv_func_alloca_works+set}" = set; then
|
---|
| 5963 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 5964 | else
|
---|
| 5965 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5966 | /* confdefs.h. */
|
---|
| 5967 | _ACEOF
|
---|
| 5968 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5969 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5970 | /* end confdefs.h. */
|
---|
| 5971 | #ifdef __GNUC__
|
---|
| 5972 | # define alloca __builtin_alloca
|
---|
| 5973 | #else
|
---|
| 5974 | # ifdef _MSC_VER
|
---|
| 5975 | # include <malloc.h>
|
---|
| 5976 | # define alloca _alloca
|
---|
| 5977 | # else
|
---|
[20848] | 5978 | # ifdef HAVE_ALLOCA_H
|
---|
[16568] | 5979 | # include <alloca.h>
|
---|
| 5980 | # else
|
---|
| 5981 | # ifdef _AIX
|
---|
| 5982 | #pragma alloca
|
---|
| 5983 | # else
|
---|
| 5984 | # ifndef alloca /* predefined by HP cc +Olibcalls */
|
---|
| 5985 | char *alloca ();
|
---|
| 5986 | # endif
|
---|
| 5987 | # endif
|
---|
| 5988 | # endif
|
---|
| 5989 | # endif
|
---|
| 5990 | #endif
|
---|
| 5991 |
|
---|
| 5992 | int
|
---|
| 5993 | main ()
|
---|
| 5994 | {
|
---|
| 5995 | char *p = (char *) alloca (1);
|
---|
[20848] | 5996 | if (p) return 0;
|
---|
[16568] | 5997 | ;
|
---|
| 5998 | return 0;
|
---|
| 5999 | }
|
---|
| 6000 | _ACEOF
|
---|
| 6001 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20848] | 6002 | if { (ac_try="$ac_link"
|
---|
| 6003 | case "(($ac_try" in
|
---|
| 6004 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6005 | *) ac_try_echo=$ac_try;;
|
---|
| 6006 | esac
|
---|
| 6007 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 6008 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 6009 | ac_status=$?
|
---|
| 6010 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6011 | rm -f conftest.er1
|
---|
| 6012 | cat conftest.err >&5
|
---|
| 6013 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 6014 | (exit $ac_status); } && {
|
---|
| 6015 | test -z "$ac_c_werror_flag" ||
|
---|
| 6016 | test ! -s conftest.err
|
---|
| 6017 | } && test -s conftest$ac_exeext &&
|
---|
| 6018 | $as_test_x conftest$ac_exeext; then
|
---|
[16568] | 6019 | ac_cv_func_alloca_works=yes
|
---|
| 6020 | else
|
---|
| 6021 | echo "$as_me: failed program was:" >&5
|
---|
| 6022 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6023 |
|
---|
[20848] | 6024 | ac_cv_func_alloca_works=no
|
---|
[16568] | 6025 | fi
|
---|
[20848] | 6026 |
|
---|
| 6027 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16568] | 6028 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6029 | fi
|
---|
[20848] | 6030 | { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
|
---|
| 6031 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
|
---|
[16568] | 6032 |
|
---|
| 6033 | if test $ac_cv_func_alloca_works = yes; then
|
---|
| 6034 |
|
---|
| 6035 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6036 | #define HAVE_ALLOCA 1
|
---|
| 6037 | _ACEOF
|
---|
| 6038 |
|
---|
| 6039 | else
|
---|
| 6040 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
---|
| 6041 | # that cause trouble. Some versions do not even contain alloca or
|
---|
| 6042 | # contain a buggy version. If you still want to use their alloca,
|
---|
| 6043 | # use ar to extract alloca.o from them instead of compiling alloca.c.
|
---|
| 6044 |
|
---|
[20848] | 6045 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
---|
[16568] | 6046 |
|
---|
| 6047 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6048 | #define C_ALLOCA 1
|
---|
| 6049 | _ACEOF
|
---|
| 6050 |
|
---|
| 6051 |
|
---|
[20848] | 6052 | { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
|
---|
| 6053 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
|
---|
[16568] | 6054 | if test "${ac_cv_os_cray+set}" = set; then
|
---|
| 6055 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 6056 | else
|
---|
| 6057 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6058 | /* confdefs.h. */
|
---|
| 6059 | _ACEOF
|
---|
| 6060 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6061 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6062 | /* end confdefs.h. */
|
---|
[20848] | 6063 | #if defined CRAY && ! defined CRAY2
|
---|
[16568] | 6064 | webecray
|
---|
| 6065 | #else
|
---|
| 6066 | wenotbecray
|
---|
| 6067 | #endif
|
---|
| 6068 |
|
---|
| 6069 | _ACEOF
|
---|
| 6070 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 6071 | $EGREP "webecray" >/dev/null 2>&1; then
|
---|
| 6072 | ac_cv_os_cray=yes
|
---|
| 6073 | else
|
---|
| 6074 | ac_cv_os_cray=no
|
---|
| 6075 | fi
|
---|
| 6076 | rm -f conftest*
|
---|
| 6077 |
|
---|
| 6078 | fi
|
---|
[20848] | 6079 | { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
|
---|
| 6080 | echo "${ECHO_T}$ac_cv_os_cray" >&6; }
|
---|
[16568] | 6081 | if test $ac_cv_os_cray = yes; then
|
---|
| 6082 | for ac_func in _getb67 GETB67 getb67; do
|
---|
| 6083 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20848] | 6084 | { echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6085 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
---|
| 6086 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[16568] | 6087 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 6088 | else
|
---|
| 6089 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6090 | /* confdefs.h. */
|
---|
| 6091 | _ACEOF
|
---|
| 6092 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6093 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6094 | /* end confdefs.h. */
|
---|
| 6095 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6096 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6097 | #define $ac_func innocuous_$ac_func
|
---|
| 6098 |
|
---|
| 6099 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6100 | which can conflict with char $ac_func (); below.
|
---|
| 6101 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6102 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6103 |
|
---|
| 6104 | #ifdef __STDC__
|
---|
| 6105 | # include <limits.h>
|
---|
| 6106 | #else
|
---|
| 6107 | # include <assert.h>
|
---|
| 6108 | #endif
|
---|
| 6109 |
|
---|
| 6110 | #undef $ac_func
|
---|
| 6111 |
|
---|
[20848] | 6112 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6113 | Use char because int might match the return type of a GCC
|
---|
| 6114 | builtin and then its argument prototype would still apply. */
|
---|
[16568] | 6115 | #ifdef __cplusplus
|
---|
| 6116 | extern "C"
|
---|
| 6117 | #endif
|
---|
| 6118 | char $ac_func ();
|
---|
| 6119 | /* The GNU C library defines this for functions which it implements
|
---|
| 6120 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6121 | something starting with __ and the normal name is an alias. */
|
---|
[20848] | 6122 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
[16568] | 6123 | choke me
|
---|
| 6124 | #endif
|
---|
| 6125 |
|
---|
| 6126 | int
|
---|
| 6127 | main ()
|
---|
| 6128 | {
|
---|
[20848] | 6129 | return $ac_func ();
|
---|
[16568] | 6130 | ;
|
---|
| 6131 | return 0;
|
---|
| 6132 | }
|
---|
| 6133 | _ACEOF
|
---|
| 6134 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20848] | 6135 | if { (ac_try="$ac_link"
|
---|
| 6136 | case "(($ac_try" in
|
---|
| 6137 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6138 | *) ac_try_echo=$ac_try;;
|
---|
| 6139 | esac
|
---|
| 6140 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 6141 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 6142 | ac_status=$?
|
---|
| 6143 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6144 | rm -f conftest.er1
|
---|
| 6145 | cat conftest.err >&5
|
---|
| 6146 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 6147 | (exit $ac_status); } && {
|
---|
| 6148 | test -z "$ac_c_werror_flag" ||
|
---|
| 6149 | test ! -s conftest.err
|
---|
| 6150 | } && test -s conftest$ac_exeext &&
|
---|
| 6151 | $as_test_x conftest$ac_exeext; then
|
---|
[16568] | 6152 | eval "$as_ac_var=yes"
|
---|
| 6153 | else
|
---|
| 6154 | echo "$as_me: failed program was:" >&5
|
---|
| 6155 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6156 |
|
---|
[20848] | 6157 | eval "$as_ac_var=no"
|
---|
[16568] | 6158 | fi
|
---|
[20848] | 6159 |
|
---|
| 6160 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16568] | 6161 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6162 | fi
|
---|
[20848] | 6163 | ac_res=`eval echo '${'$as_ac_var'}'`
|
---|
| 6164 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 6165 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
[16568] | 6166 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 6167 |
|
---|
| 6168 | cat >>confdefs.h <<_ACEOF
|
---|
| 6169 | #define CRAY_STACKSEG_END $ac_func
|
---|
| 6170 | _ACEOF
|
---|
| 6171 |
|
---|
| 6172 | break
|
---|
| 6173 | fi
|
---|
| 6174 |
|
---|
| 6175 | done
|
---|
| 6176 | fi
|
---|
| 6177 |
|
---|
[20848] | 6178 | { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
|
---|
| 6179 | echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
|
---|
[16568] | 6180 | if test "${ac_cv_c_stack_direction+set}" = set; then
|
---|
| 6181 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 6182 | else
|
---|
| 6183 | if test "$cross_compiling" = yes; then
|
---|
| 6184 | ac_cv_c_stack_direction=0
|
---|
| 6185 | else
|
---|
| 6186 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6187 | /* confdefs.h. */
|
---|
| 6188 | _ACEOF
|
---|
| 6189 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6190 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6191 | /* end confdefs.h. */
|
---|
[20848] | 6192 | $ac_includes_default
|
---|
[16568] | 6193 | int
|
---|
| 6194 | find_stack_direction ()
|
---|
| 6195 | {
|
---|
| 6196 | static char *addr = 0;
|
---|
| 6197 | auto char dummy;
|
---|
| 6198 | if (addr == 0)
|
---|
| 6199 | {
|
---|
| 6200 | addr = &dummy;
|
---|
| 6201 | return find_stack_direction ();
|
---|
| 6202 | }
|
---|
| 6203 | else
|
---|
| 6204 | return (&dummy > addr) ? 1 : -1;
|
---|
| 6205 | }
|
---|
| 6206 |
|
---|
| 6207 | int
|
---|
| 6208 | main ()
|
---|
| 6209 | {
|
---|
[20848] | 6210 | return find_stack_direction () < 0;
|
---|
[16568] | 6211 | }
|
---|
| 6212 | _ACEOF
|
---|
| 6213 | rm -f conftest$ac_exeext
|
---|
[20848] | 6214 | if { (ac_try="$ac_link"
|
---|
| 6215 | case "(($ac_try" in
|
---|
| 6216 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6217 | *) ac_try_echo=$ac_try;;
|
---|
| 6218 | esac
|
---|
| 6219 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 6220 | (eval "$ac_link") 2>&5
|
---|
[16568] | 6221 | ac_status=$?
|
---|
| 6222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6223 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[20848] | 6224 | { (case "(($ac_try" in
|
---|
| 6225 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6226 | *) ac_try_echo=$ac_try;;
|
---|
| 6227 | esac
|
---|
| 6228 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 6229 | (eval "$ac_try") 2>&5
|
---|
[16568] | 6230 | ac_status=$?
|
---|
| 6231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 6232 | (exit $ac_status); }; }; then
|
---|
| 6233 | ac_cv_c_stack_direction=1
|
---|
| 6234 | else
|
---|
| 6235 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 6236 | echo "$as_me: failed program was:" >&5
|
---|
| 6237 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6238 |
|
---|
| 6239 | ( exit $ac_status )
|
---|
| 6240 | ac_cv_c_stack_direction=-1
|
---|
| 6241 | fi
|
---|
[20848] | 6242 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 6243 | fi
|
---|
[20848] | 6244 |
|
---|
| 6245 |
|
---|
[16568] | 6246 | fi
|
---|
[20848] | 6247 | { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
|
---|
| 6248 | echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
|
---|
[16568] | 6249 |
|
---|
| 6250 | cat >>confdefs.h <<_ACEOF
|
---|
| 6251 | #define STACK_DIRECTION $ac_cv_c_stack_direction
|
---|
| 6252 | _ACEOF
|
---|
| 6253 |
|
---|
| 6254 |
|
---|
| 6255 | fi
|
---|
| 6256 |
|
---|
| 6257 | if test $ac_cv_c_compiler_gnu = yes; then
|
---|
[20848] | 6258 | { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
|
---|
| 6259 | echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
|
---|
[16568] | 6260 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then
|
---|
| 6261 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 6262 | else
|
---|
| 6263 | ac_pattern="Autoconf.*'x'"
|
---|
| 6264 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6265 | /* confdefs.h. */
|
---|
| 6266 | _ACEOF
|
---|
| 6267 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6268 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6269 | /* end confdefs.h. */
|
---|
| 6270 | #include <sgtty.h>
|
---|
| 6271 | Autoconf TIOCGETP
|
---|
| 6272 | _ACEOF
|
---|
| 6273 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 6274 | $EGREP "$ac_pattern" >/dev/null 2>&1; then
|
---|
| 6275 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6276 | else
|
---|
| 6277 | ac_cv_prog_gcc_traditional=no
|
---|
| 6278 | fi
|
---|
| 6279 | rm -f conftest*
|
---|
| 6280 |
|
---|
| 6281 |
|
---|
| 6282 | if test $ac_cv_prog_gcc_traditional = no; then
|
---|
| 6283 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6284 | /* confdefs.h. */
|
---|
| 6285 | _ACEOF
|
---|
| 6286 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6287 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6288 | /* end confdefs.h. */
|
---|
| 6289 | #include <termio.h>
|
---|
| 6290 | Autoconf TCGETA
|
---|
| 6291 | _ACEOF
|
---|
| 6292 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 6293 | $EGREP "$ac_pattern" >/dev/null 2>&1; then
|
---|
| 6294 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6295 | fi
|
---|
| 6296 | rm -f conftest*
|
---|
| 6297 |
|
---|
| 6298 | fi
|
---|
| 6299 | fi
|
---|
[20848] | 6300 | { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
|
---|
| 6301 | echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
|
---|
[16568] | 6302 | if test $ac_cv_prog_gcc_traditional = yes; then
|
---|
| 6303 | CC="$CC -traditional"
|
---|
| 6304 | fi
|
---|
| 6305 | fi
|
---|
| 6306 |
|
---|
[20848] | 6307 | { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
|
---|
| 6308 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
|
---|
[16568] | 6309 | if test "${ac_cv_type_signal+set}" = set; then
|
---|
| 6310 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 6311 | else
|
---|
| 6312 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6313 | /* confdefs.h. */
|
---|
| 6314 | _ACEOF
|
---|
| 6315 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6316 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6317 | /* end confdefs.h. */
|
---|
| 6318 | #include <sys/types.h>
|
---|
| 6319 | #include <signal.h>
|
---|
| 6320 |
|
---|
| 6321 | int
|
---|
| 6322 | main ()
|
---|
| 6323 | {
|
---|
[20848] | 6324 | return *(signal (0, 0)) (0) == 1;
|
---|
[16568] | 6325 | ;
|
---|
| 6326 | return 0;
|
---|
| 6327 | }
|
---|
| 6328 | _ACEOF
|
---|
| 6329 | rm -f conftest.$ac_objext
|
---|
[20848] | 6330 | if { (ac_try="$ac_compile"
|
---|
| 6331 | case "(($ac_try" in
|
---|
| 6332 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6333 | *) ac_try_echo=$ac_try;;
|
---|
| 6334 | esac
|
---|
| 6335 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 6336 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 6337 | ac_status=$?
|
---|
| 6338 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6339 | rm -f conftest.er1
|
---|
| 6340 | cat conftest.err >&5
|
---|
| 6341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 6342 | (exit $ac_status); } && {
|
---|
| 6343 | test -z "$ac_c_werror_flag" ||
|
---|
| 6344 | test ! -s conftest.err
|
---|
| 6345 | } && test -s conftest.$ac_objext; then
|
---|
| 6346 | ac_cv_type_signal=int
|
---|
[16568] | 6347 | else
|
---|
| 6348 | echo "$as_me: failed program was:" >&5
|
---|
| 6349 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6350 |
|
---|
[20848] | 6351 | ac_cv_type_signal=void
|
---|
[16568] | 6352 | fi
|
---|
[20848] | 6353 |
|
---|
| 6354 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 6355 | fi
|
---|
[20848] | 6356 | { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
|
---|
| 6357 | echo "${ECHO_T}$ac_cv_type_signal" >&6; }
|
---|
[16568] | 6358 |
|
---|
| 6359 | cat >>confdefs.h <<_ACEOF
|
---|
| 6360 | #define RETSIGTYPE $ac_cv_type_signal
|
---|
| 6361 | _ACEOF
|
---|
| 6362 |
|
---|
| 6363 |
|
---|
| 6364 |
|
---|
| 6365 | for ac_func in vprintf
|
---|
| 6366 | do
|
---|
| 6367 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20848] | 6368 | { echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6369 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
---|
| 6370 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[16568] | 6371 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 6372 | else
|
---|
| 6373 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6374 | /* confdefs.h. */
|
---|
| 6375 | _ACEOF
|
---|
| 6376 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6377 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6378 | /* end confdefs.h. */
|
---|
| 6379 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6380 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6381 | #define $ac_func innocuous_$ac_func
|
---|
| 6382 |
|
---|
| 6383 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6384 | which can conflict with char $ac_func (); below.
|
---|
| 6385 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6386 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6387 |
|
---|
| 6388 | #ifdef __STDC__
|
---|
| 6389 | # include <limits.h>
|
---|
| 6390 | #else
|
---|
| 6391 | # include <assert.h>
|
---|
| 6392 | #endif
|
---|
| 6393 |
|
---|
| 6394 | #undef $ac_func
|
---|
| 6395 |
|
---|
[20848] | 6396 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6397 | Use char because int might match the return type of a GCC
|
---|
| 6398 | builtin and then its argument prototype would still apply. */
|
---|
[16568] | 6399 | #ifdef __cplusplus
|
---|
| 6400 | extern "C"
|
---|
| 6401 | #endif
|
---|
| 6402 | char $ac_func ();
|
---|
| 6403 | /* The GNU C library defines this for functions which it implements
|
---|
| 6404 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6405 | something starting with __ and the normal name is an alias. */
|
---|
[20848] | 6406 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
[16568] | 6407 | choke me
|
---|
| 6408 | #endif
|
---|
| 6409 |
|
---|
| 6410 | int
|
---|
| 6411 | main ()
|
---|
| 6412 | {
|
---|
[20848] | 6413 | return $ac_func ();
|
---|
[16568] | 6414 | ;
|
---|
| 6415 | return 0;
|
---|
| 6416 | }
|
---|
| 6417 | _ACEOF
|
---|
| 6418 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20848] | 6419 | if { (ac_try="$ac_link"
|
---|
| 6420 | case "(($ac_try" in
|
---|
| 6421 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6422 | *) ac_try_echo=$ac_try;;
|
---|
| 6423 | esac
|
---|
| 6424 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 6425 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 6426 | ac_status=$?
|
---|
| 6427 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6428 | rm -f conftest.er1
|
---|
| 6429 | cat conftest.err >&5
|
---|
| 6430 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 6431 | (exit $ac_status); } && {
|
---|
| 6432 | test -z "$ac_c_werror_flag" ||
|
---|
| 6433 | test ! -s conftest.err
|
---|
| 6434 | } && test -s conftest$ac_exeext &&
|
---|
| 6435 | $as_test_x conftest$ac_exeext; then
|
---|
[16568] | 6436 | eval "$as_ac_var=yes"
|
---|
| 6437 | else
|
---|
| 6438 | echo "$as_me: failed program was:" >&5
|
---|
| 6439 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6440 |
|
---|
[20848] | 6441 | eval "$as_ac_var=no"
|
---|
[16568] | 6442 | fi
|
---|
[20848] | 6443 |
|
---|
| 6444 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16568] | 6445 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6446 | fi
|
---|
[20848] | 6447 | ac_res=`eval echo '${'$as_ac_var'}'`
|
---|
| 6448 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 6449 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
[16568] | 6450 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 6451 | cat >>confdefs.h <<_ACEOF
|
---|
| 6452 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 6453 | _ACEOF
|
---|
| 6454 |
|
---|
[20848] | 6455 | { echo "$as_me:$LINENO: checking for _doprnt" >&5
|
---|
| 6456 | echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
|
---|
[16568] | 6457 | if test "${ac_cv_func__doprnt+set}" = set; then
|
---|
| 6458 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 6459 | else
|
---|
| 6460 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6461 | /* confdefs.h. */
|
---|
| 6462 | _ACEOF
|
---|
| 6463 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6464 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6465 | /* end confdefs.h. */
|
---|
| 6466 | /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
|
---|
| 6467 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6468 | #define _doprnt innocuous__doprnt
|
---|
| 6469 |
|
---|
| 6470 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6471 | which can conflict with char _doprnt (); below.
|
---|
| 6472 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6473 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6474 |
|
---|
| 6475 | #ifdef __STDC__
|
---|
| 6476 | # include <limits.h>
|
---|
| 6477 | #else
|
---|
| 6478 | # include <assert.h>
|
---|
| 6479 | #endif
|
---|
| 6480 |
|
---|
| 6481 | #undef _doprnt
|
---|
| 6482 |
|
---|
[20848] | 6483 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6484 | Use char because int might match the return type of a GCC
|
---|
| 6485 | builtin and then its argument prototype would still apply. */
|
---|
[16568] | 6486 | #ifdef __cplusplus
|
---|
| 6487 | extern "C"
|
---|
| 6488 | #endif
|
---|
| 6489 | char _doprnt ();
|
---|
| 6490 | /* The GNU C library defines this for functions which it implements
|
---|
| 6491 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6492 | something starting with __ and the normal name is an alias. */
|
---|
[20848] | 6493 | #if defined __stub__doprnt || defined __stub____doprnt
|
---|
[16568] | 6494 | choke me
|
---|
| 6495 | #endif
|
---|
| 6496 |
|
---|
| 6497 | int
|
---|
| 6498 | main ()
|
---|
| 6499 | {
|
---|
[20848] | 6500 | return _doprnt ();
|
---|
[16568] | 6501 | ;
|
---|
| 6502 | return 0;
|
---|
| 6503 | }
|
---|
| 6504 | _ACEOF
|
---|
| 6505 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20848] | 6506 | if { (ac_try="$ac_link"
|
---|
| 6507 | case "(($ac_try" in
|
---|
| 6508 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6509 | *) ac_try_echo=$ac_try;;
|
---|
| 6510 | esac
|
---|
| 6511 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 6512 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 6513 | ac_status=$?
|
---|
| 6514 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6515 | rm -f conftest.er1
|
---|
| 6516 | cat conftest.err >&5
|
---|
| 6517 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 6518 | (exit $ac_status); } && {
|
---|
| 6519 | test -z "$ac_c_werror_flag" ||
|
---|
| 6520 | test ! -s conftest.err
|
---|
| 6521 | } && test -s conftest$ac_exeext &&
|
---|
| 6522 | $as_test_x conftest$ac_exeext; then
|
---|
[16568] | 6523 | ac_cv_func__doprnt=yes
|
---|
| 6524 | else
|
---|
| 6525 | echo "$as_me: failed program was:" >&5
|
---|
| 6526 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6527 |
|
---|
[20848] | 6528 | ac_cv_func__doprnt=no
|
---|
[16568] | 6529 | fi
|
---|
[20848] | 6530 |
|
---|
| 6531 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16568] | 6532 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6533 | fi
|
---|
[20848] | 6534 | { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
|
---|
| 6535 | echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
|
---|
[16568] | 6536 | if test $ac_cv_func__doprnt = yes; then
|
---|
| 6537 |
|
---|
| 6538 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6539 | #define HAVE_DOPRNT 1
|
---|
| 6540 | _ACEOF
|
---|
| 6541 |
|
---|
| 6542 | fi
|
---|
| 6543 |
|
---|
| 6544 | fi
|
---|
| 6545 | done
|
---|
| 6546 |
|
---|
| 6547 |
|
---|
| 6548 |
|
---|
| 6549 |
|
---|
| 6550 |
|
---|
| 6551 |
|
---|
| 6552 |
|
---|
| 6553 |
|
---|
| 6554 |
|
---|
| 6555 |
|
---|
| 6556 |
|
---|
| 6557 |
|
---|
| 6558 | for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
|
---|
| 6559 | do
|
---|
| 6560 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20848] | 6561 | { echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6562 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
---|
| 6563 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[16568] | 6564 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 6565 | else
|
---|
| 6566 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6567 | /* confdefs.h. */
|
---|
| 6568 | _ACEOF
|
---|
| 6569 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6570 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6571 | /* end confdefs.h. */
|
---|
| 6572 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6573 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6574 | #define $ac_func innocuous_$ac_func
|
---|
| 6575 |
|
---|
| 6576 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6577 | which can conflict with char $ac_func (); below.
|
---|
| 6578 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6579 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6580 |
|
---|
| 6581 | #ifdef __STDC__
|
---|
| 6582 | # include <limits.h>
|
---|
| 6583 | #else
|
---|
| 6584 | # include <assert.h>
|
---|
| 6585 | #endif
|
---|
| 6586 |
|
---|
| 6587 | #undef $ac_func
|
---|
| 6588 |
|
---|
[20848] | 6589 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6590 | Use char because int might match the return type of a GCC
|
---|
| 6591 | builtin and then its argument prototype would still apply. */
|
---|
[16568] | 6592 | #ifdef __cplusplus
|
---|
| 6593 | extern "C"
|
---|
| 6594 | #endif
|
---|
| 6595 | char $ac_func ();
|
---|
| 6596 | /* The GNU C library defines this for functions which it implements
|
---|
| 6597 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6598 | something starting with __ and the normal name is an alias. */
|
---|
[20848] | 6599 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
[16568] | 6600 | choke me
|
---|
| 6601 | #endif
|
---|
| 6602 |
|
---|
| 6603 | int
|
---|
| 6604 | main ()
|
---|
| 6605 | {
|
---|
[20848] | 6606 | return $ac_func ();
|
---|
[16568] | 6607 | ;
|
---|
| 6608 | return 0;
|
---|
| 6609 | }
|
---|
| 6610 | _ACEOF
|
---|
| 6611 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20848] | 6612 | if { (ac_try="$ac_link"
|
---|
| 6613 | case "(($ac_try" in
|
---|
| 6614 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6615 | *) ac_try_echo=$ac_try;;
|
---|
| 6616 | esac
|
---|
| 6617 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 6618 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 6619 | ac_status=$?
|
---|
| 6620 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6621 | rm -f conftest.er1
|
---|
| 6622 | cat conftest.err >&5
|
---|
| 6623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 6624 | (exit $ac_status); } && {
|
---|
| 6625 | test -z "$ac_c_werror_flag" ||
|
---|
| 6626 | test ! -s conftest.err
|
---|
| 6627 | } && test -s conftest$ac_exeext &&
|
---|
| 6628 | $as_test_x conftest$ac_exeext; then
|
---|
[16568] | 6629 | eval "$as_ac_var=yes"
|
---|
| 6630 | else
|
---|
| 6631 | echo "$as_me: failed program was:" >&5
|
---|
| 6632 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6633 |
|
---|
[20848] | 6634 | eval "$as_ac_var=no"
|
---|
[16568] | 6635 | fi
|
---|
[20848] | 6636 |
|
---|
| 6637 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16568] | 6638 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6639 | fi
|
---|
[20848] | 6640 | ac_res=`eval echo '${'$as_ac_var'}'`
|
---|
| 6641 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 6642 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
[16568] | 6643 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 6644 | cat >>confdefs.h <<_ACEOF
|
---|
| 6645 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 6646 | _ACEOF
|
---|
| 6647 |
|
---|
| 6648 | fi
|
---|
| 6649 | done
|
---|
| 6650 |
|
---|
| 6651 |
|
---|
| 6652 |
|
---|
| 6653 |
|
---|
| 6654 | for ac_func in ftruncate strstr strcasecmp
|
---|
| 6655 | do
|
---|
| 6656 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20848] | 6657 | { echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6658 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
---|
| 6659 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[16568] | 6660 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 6661 | else
|
---|
| 6662 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6663 | /* confdefs.h. */
|
---|
| 6664 | _ACEOF
|
---|
| 6665 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6666 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6667 | /* end confdefs.h. */
|
---|
| 6668 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6669 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6670 | #define $ac_func innocuous_$ac_func
|
---|
| 6671 |
|
---|
| 6672 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6673 | which can conflict with char $ac_func (); below.
|
---|
| 6674 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6675 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6676 |
|
---|
| 6677 | #ifdef __STDC__
|
---|
| 6678 | # include <limits.h>
|
---|
| 6679 | #else
|
---|
| 6680 | # include <assert.h>
|
---|
| 6681 | #endif
|
---|
| 6682 |
|
---|
| 6683 | #undef $ac_func
|
---|
| 6684 |
|
---|
[20848] | 6685 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6686 | Use char because int might match the return type of a GCC
|
---|
| 6687 | builtin and then its argument prototype would still apply. */
|
---|
[16568] | 6688 | #ifdef __cplusplus
|
---|
| 6689 | extern "C"
|
---|
| 6690 | #endif
|
---|
| 6691 | char $ac_func ();
|
---|
| 6692 | /* The GNU C library defines this for functions which it implements
|
---|
| 6693 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6694 | something starting with __ and the normal name is an alias. */
|
---|
[20848] | 6695 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
[16568] | 6696 | choke me
|
---|
| 6697 | #endif
|
---|
| 6698 |
|
---|
| 6699 | int
|
---|
| 6700 | main ()
|
---|
| 6701 | {
|
---|
[20848] | 6702 | return $ac_func ();
|
---|
[16568] | 6703 | ;
|
---|
| 6704 | return 0;
|
---|
| 6705 | }
|
---|
| 6706 | _ACEOF
|
---|
| 6707 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20848] | 6708 | if { (ac_try="$ac_link"
|
---|
| 6709 | case "(($ac_try" in
|
---|
| 6710 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6711 | *) ac_try_echo=$ac_try;;
|
---|
| 6712 | esac
|
---|
| 6713 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 6714 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 6715 | ac_status=$?
|
---|
| 6716 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6717 | rm -f conftest.er1
|
---|
| 6718 | cat conftest.err >&5
|
---|
| 6719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 6720 | (exit $ac_status); } && {
|
---|
| 6721 | test -z "$ac_c_werror_flag" ||
|
---|
| 6722 | test ! -s conftest.err
|
---|
| 6723 | } && test -s conftest$ac_exeext &&
|
---|
| 6724 | $as_test_x conftest$ac_exeext; then
|
---|
[16568] | 6725 | eval "$as_ac_var=yes"
|
---|
| 6726 | else
|
---|
| 6727 | echo "$as_me: failed program was:" >&5
|
---|
| 6728 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6729 |
|
---|
[20848] | 6730 | eval "$as_ac_var=no"
|
---|
[16568] | 6731 | fi
|
---|
[20848] | 6732 |
|
---|
| 6733 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16568] | 6734 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6735 | fi
|
---|
[20848] | 6736 | ac_res=`eval echo '${'$as_ac_var'}'`
|
---|
| 6737 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 6738 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
[16568] | 6739 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 6740 | cat >>confdefs.h <<_ACEOF
|
---|
| 6741 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 6742 | _ACEOF
|
---|
| 6743 |
|
---|
| 6744 | else
|
---|
[20848] | 6745 | case " $LIBOBJS " in
|
---|
[16568] | 6746 | *" $ac_func.$ac_objext "* ) ;;
|
---|
[20848] | 6747 | *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
|
---|
| 6748 | ;;
|
---|
[16568] | 6749 | esac
|
---|
| 6750 |
|
---|
| 6751 | fi
|
---|
| 6752 | done
|
---|
| 6753 |
|
---|
| 6754 |
|
---|
| 6755 |
|
---|
[20848] | 6756 | { echo "$as_me:$LINENO: checking for textdomain" >&5
|
---|
| 6757 | echo $ECHO_N "checking for textdomain... $ECHO_C" >&6; }
|
---|
[16568] | 6758 | if test "${ac_cv_func_textdomain+set}" = set; then
|
---|
| 6759 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 6760 | else
|
---|
| 6761 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6762 | /* confdefs.h. */
|
---|
| 6763 | _ACEOF
|
---|
| 6764 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6765 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6766 | /* end confdefs.h. */
|
---|
| 6767 | /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain.
|
---|
| 6768 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6769 | #define textdomain innocuous_textdomain
|
---|
| 6770 |
|
---|
| 6771 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6772 | which can conflict with char textdomain (); below.
|
---|
| 6773 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6774 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6775 |
|
---|
| 6776 | #ifdef __STDC__
|
---|
| 6777 | # include <limits.h>
|
---|
| 6778 | #else
|
---|
| 6779 | # include <assert.h>
|
---|
| 6780 | #endif
|
---|
| 6781 |
|
---|
| 6782 | #undef textdomain
|
---|
| 6783 |
|
---|
[20848] | 6784 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6785 | Use char because int might match the return type of a GCC
|
---|
| 6786 | builtin and then its argument prototype would still apply. */
|
---|
[16568] | 6787 | #ifdef __cplusplus
|
---|
| 6788 | extern "C"
|
---|
| 6789 | #endif
|
---|
| 6790 | char textdomain ();
|
---|
| 6791 | /* The GNU C library defines this for functions which it implements
|
---|
| 6792 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6793 | something starting with __ and the normal name is an alias. */
|
---|
[20848] | 6794 | #if defined __stub_textdomain || defined __stub___textdomain
|
---|
[16568] | 6795 | choke me
|
---|
| 6796 | #endif
|
---|
| 6797 |
|
---|
| 6798 | int
|
---|
| 6799 | main ()
|
---|
| 6800 | {
|
---|
[20848] | 6801 | return textdomain ();
|
---|
[16568] | 6802 | ;
|
---|
| 6803 | return 0;
|
---|
| 6804 | }
|
---|
| 6805 | _ACEOF
|
---|
| 6806 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20848] | 6807 | if { (ac_try="$ac_link"
|
---|
| 6808 | case "(($ac_try" in
|
---|
| 6809 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6810 | *) ac_try_echo=$ac_try;;
|
---|
| 6811 | esac
|
---|
| 6812 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 6813 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 6814 | ac_status=$?
|
---|
| 6815 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6816 | rm -f conftest.er1
|
---|
| 6817 | cat conftest.err >&5
|
---|
| 6818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 6819 | (exit $ac_status); } && {
|
---|
| 6820 | test -z "$ac_c_werror_flag" ||
|
---|
| 6821 | test ! -s conftest.err
|
---|
| 6822 | } && test -s conftest$ac_exeext &&
|
---|
| 6823 | $as_test_x conftest$ac_exeext; then
|
---|
[16568] | 6824 | ac_cv_func_textdomain=yes
|
---|
| 6825 | else
|
---|
| 6826 | echo "$as_me: failed program was:" >&5
|
---|
| 6827 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6828 |
|
---|
[20848] | 6829 | ac_cv_func_textdomain=no
|
---|
[16568] | 6830 | fi
|
---|
[20848] | 6831 |
|
---|
| 6832 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16568] | 6833 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6834 | fi
|
---|
[20848] | 6835 | { echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
|
---|
| 6836 | echo "${ECHO_T}$ac_cv_func_textdomain" >&6; }
|
---|
[16568] | 6837 | if test $ac_cv_func_textdomain = yes; then
|
---|
| 6838 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6839 | #define ENABLE_NLS 1
|
---|
| 6840 | _ACEOF
|
---|
| 6841 |
|
---|
| 6842 | fi
|
---|
| 6843 |
|
---|
| 6844 |
|
---|
| 6845 | # *** Custom checking (based on GNU tar configure.in) ***
|
---|
| 6846 | # ---------------------------------------------------------------------------
|
---|
[20848] | 6847 | { echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
|
---|
| 6848 | echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6; }
|
---|
[16568] | 6849 | if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
|
---|
[20848] | 6850 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 6851 | echo "${ECHO_T}yes" >&6; }
|
---|
| 6852 | case " $LIBOBJS " in
|
---|
[16568] | 6853 | *" gmalloc.$ac_objext "* ) ;;
|
---|
[20848] | 6854 | *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
|
---|
| 6855 | ;;
|
---|
[16568] | 6856 | esac
|
---|
| 6857 |
|
---|
| 6858 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6859 | #define HAVE_VALLOC 1
|
---|
| 6860 | _ACEOF
|
---|
| 6861 |
|
---|
| 6862 | else
|
---|
[20848] | 6863 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 6864 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 6865 |
|
---|
| 6866 | for ac_func in valloc
|
---|
| 6867 | do
|
---|
| 6868 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
[20848] | 6869 | { echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6870 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
---|
| 6871 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[16568] | 6872 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 6873 | else
|
---|
| 6874 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6875 | /* confdefs.h. */
|
---|
| 6876 | _ACEOF
|
---|
| 6877 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6878 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6879 | /* end confdefs.h. */
|
---|
| 6880 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6881 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6882 | #define $ac_func innocuous_$ac_func
|
---|
| 6883 |
|
---|
| 6884 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6885 | which can conflict with char $ac_func (); below.
|
---|
| 6886 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6887 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6888 |
|
---|
| 6889 | #ifdef __STDC__
|
---|
| 6890 | # include <limits.h>
|
---|
| 6891 | #else
|
---|
| 6892 | # include <assert.h>
|
---|
| 6893 | #endif
|
---|
| 6894 |
|
---|
| 6895 | #undef $ac_func
|
---|
| 6896 |
|
---|
[20848] | 6897 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6898 | Use char because int might match the return type of a GCC
|
---|
| 6899 | builtin and then its argument prototype would still apply. */
|
---|
[16568] | 6900 | #ifdef __cplusplus
|
---|
| 6901 | extern "C"
|
---|
| 6902 | #endif
|
---|
| 6903 | char $ac_func ();
|
---|
| 6904 | /* The GNU C library defines this for functions which it implements
|
---|
| 6905 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6906 | something starting with __ and the normal name is an alias. */
|
---|
[20848] | 6907 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
[16568] | 6908 | choke me
|
---|
| 6909 | #endif
|
---|
| 6910 |
|
---|
| 6911 | int
|
---|
| 6912 | main ()
|
---|
| 6913 | {
|
---|
[20848] | 6914 | return $ac_func ();
|
---|
[16568] | 6915 | ;
|
---|
| 6916 | return 0;
|
---|
| 6917 | }
|
---|
| 6918 | _ACEOF
|
---|
| 6919 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20848] | 6920 | if { (ac_try="$ac_link"
|
---|
| 6921 | case "(($ac_try" in
|
---|
| 6922 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6923 | *) ac_try_echo=$ac_try;;
|
---|
| 6924 | esac
|
---|
| 6925 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 6926 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 6927 | ac_status=$?
|
---|
| 6928 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6929 | rm -f conftest.er1
|
---|
| 6930 | cat conftest.err >&5
|
---|
| 6931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 6932 | (exit $ac_status); } && {
|
---|
| 6933 | test -z "$ac_c_werror_flag" ||
|
---|
| 6934 | test ! -s conftest.err
|
---|
| 6935 | } && test -s conftest$ac_exeext &&
|
---|
| 6936 | $as_test_x conftest$ac_exeext; then
|
---|
[16568] | 6937 | eval "$as_ac_var=yes"
|
---|
| 6938 | else
|
---|
| 6939 | echo "$as_me: failed program was:" >&5
|
---|
| 6940 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6941 |
|
---|
[20848] | 6942 | eval "$as_ac_var=no"
|
---|
[16568] | 6943 | fi
|
---|
[20848] | 6944 |
|
---|
| 6945 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16568] | 6946 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6947 | fi
|
---|
[20848] | 6948 | ac_res=`eval echo '${'$as_ac_var'}'`
|
---|
| 6949 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 6950 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
[16568] | 6951 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
| 6952 | cat >>confdefs.h <<_ACEOF
|
---|
| 6953 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
| 6954 | _ACEOF
|
---|
| 6955 |
|
---|
| 6956 | fi
|
---|
| 6957 | done
|
---|
| 6958 |
|
---|
| 6959 | fi
|
---|
| 6960 |
|
---|
| 6961 | # we cannot generate static libraries under Darwin
|
---|
[20848] | 6962 | { echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
|
---|
| 6963 | echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6; }
|
---|
[16568] | 6964 | if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
|
---|
[20848] | 6965 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 6966 | echo "${ECHO_T}yes" >&6; }
|
---|
[16568] | 6967 | STATIC=""
|
---|
| 6968 | else
|
---|
[20848] | 6969 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 6970 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 6971 | STATIC="-static "
|
---|
| 6972 | fi
|
---|
| 6973 |
|
---|
| 6974 |
|
---|
[20848] | 6975 | { echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
|
---|
| 6976 | echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; }
|
---|
[16568] | 6977 |
|
---|
[20848] | 6978 | # Check whether --with-dmalloc was given.
|
---|
[16568] | 6979 | if test "${with_dmalloc+set}" = set; then
|
---|
[20848] | 6980 | withval=$with_dmalloc; if test "$withval" = yes; then
|
---|
| 6981 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 6982 | echo "${ECHO_T}yes" >&6; }
|
---|
[16568] | 6983 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6984 | #define WITH_DMALLOC 1
|
---|
| 6985 | _ACEOF
|
---|
| 6986 |
|
---|
| 6987 | LIBS="$LIBS -ldmalloc"
|
---|
| 6988 | LDFLAGS="$LDFLAGS -g"
|
---|
| 6989 | else
|
---|
[20848] | 6990 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 6991 | echo "${ECHO_T}no" >&6; }
|
---|
[16568] | 6992 | fi
|
---|
| 6993 | else
|
---|
[20848] | 6994 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 6995 | echo "${ECHO_T}no" >&6; }
|
---|
| 6996 | fi
|
---|
[16568] | 6997 |
|
---|
| 6998 |
|
---|
[20848] | 6999 | { echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
|
---|
| 7000 | echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; }
|
---|
| 7001 |
|
---|
| 7002 | # Check whether --with-regex was given.
|
---|
[16568] | 7003 | if test "${with_regex+set}" = set; then
|
---|
[20848] | 7004 | withval=$with_regex; if test "$withval" = yes; then
|
---|
[16568] | 7005 | ac_with_regex=1
|
---|
[20848] | 7006 | { echo "$as_me:$LINENO: result: regex" >&5
|
---|
| 7007 | echo "${ECHO_T}regex" >&6; }
|
---|
[16568] | 7008 | cat >>confdefs.h <<\_ACEOF
|
---|
| 7009 | #define WITH_REGEX 1
|
---|
| 7010 | _ACEOF
|
---|
| 7011 |
|
---|
[20848] | 7012 | case " $LIBOBJS " in
|
---|
[16568] | 7013 | *" regex.$ac_objext "* ) ;;
|
---|
[20848] | 7014 | *) LIBOBJS="$LIBOBJS regex.$ac_objext"
|
---|
| 7015 | ;;
|
---|
[16568] | 7016 | esac
|
---|
| 7017 |
|
---|
| 7018 | fi
|
---|
[20848] | 7019 | fi
|
---|
| 7020 |
|
---|
[16568] | 7021 | if test -z "$ac_with_regex"; then
|
---|
[20848] | 7022 | { echo "$as_me:$LINENO: result: rx" >&5
|
---|
| 7023 | echo "${ECHO_T}rx" >&6; }
|
---|
| 7024 | { echo "$as_me:$LINENO: checking for re_rx_search" >&5
|
---|
| 7025 | echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6; }
|
---|
[16568] | 7026 | if test "${ac_cv_func_re_rx_search+set}" = set; then
|
---|
| 7027 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 7028 | else
|
---|
| 7029 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7030 | /* confdefs.h. */
|
---|
| 7031 | _ACEOF
|
---|
| 7032 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7033 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7034 | /* end confdefs.h. */
|
---|
| 7035 | /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search.
|
---|
| 7036 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 7037 | #define re_rx_search innocuous_re_rx_search
|
---|
| 7038 |
|
---|
| 7039 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 7040 | which can conflict with char re_rx_search (); below.
|
---|
| 7041 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 7042 | <limits.h> exists even on freestanding compilers. */
|
---|
| 7043 |
|
---|
| 7044 | #ifdef __STDC__
|
---|
| 7045 | # include <limits.h>
|
---|
| 7046 | #else
|
---|
| 7047 | # include <assert.h>
|
---|
| 7048 | #endif
|
---|
| 7049 |
|
---|
| 7050 | #undef re_rx_search
|
---|
| 7051 |
|
---|
[20848] | 7052 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 7053 | Use char because int might match the return type of a GCC
|
---|
| 7054 | builtin and then its argument prototype would still apply. */
|
---|
[16568] | 7055 | #ifdef __cplusplus
|
---|
| 7056 | extern "C"
|
---|
| 7057 | #endif
|
---|
| 7058 | char re_rx_search ();
|
---|
| 7059 | /* The GNU C library defines this for functions which it implements
|
---|
| 7060 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 7061 | something starting with __ and the normal name is an alias. */
|
---|
[20848] | 7062 | #if defined __stub_re_rx_search || defined __stub___re_rx_search
|
---|
[16568] | 7063 | choke me
|
---|
| 7064 | #endif
|
---|
| 7065 |
|
---|
| 7066 | int
|
---|
| 7067 | main ()
|
---|
| 7068 | {
|
---|
[20848] | 7069 | return re_rx_search ();
|
---|
[16568] | 7070 | ;
|
---|
| 7071 | return 0;
|
---|
| 7072 | }
|
---|
| 7073 | _ACEOF
|
---|
| 7074 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[20848] | 7075 | if { (ac_try="$ac_link"
|
---|
| 7076 | case "(($ac_try" in
|
---|
| 7077 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7078 | *) ac_try_echo=$ac_try;;
|
---|
| 7079 | esac
|
---|
| 7080 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 7081 | (eval "$ac_link") 2>conftest.er1
|
---|
[16568] | 7082 | ac_status=$?
|
---|
| 7083 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7084 | rm -f conftest.er1
|
---|
| 7085 | cat conftest.err >&5
|
---|
| 7086 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 7087 | (exit $ac_status); } && {
|
---|
| 7088 | test -z "$ac_c_werror_flag" ||
|
---|
| 7089 | test ! -s conftest.err
|
---|
| 7090 | } && test -s conftest$ac_exeext &&
|
---|
| 7091 | $as_test_x conftest$ac_exeext; then
|
---|
[16568] | 7092 | ac_cv_func_re_rx_search=yes
|
---|
| 7093 | else
|
---|
| 7094 | echo "$as_me: failed program was:" >&5
|
---|
| 7095 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7096 |
|
---|
[20848] | 7097 | ac_cv_func_re_rx_search=no
|
---|
[16568] | 7098 | fi
|
---|
[20848] | 7099 |
|
---|
| 7100 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16568] | 7101 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 7102 | fi
|
---|
[20848] | 7103 | { echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
|
---|
| 7104 | echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6; }
|
---|
[16568] | 7105 | if test $ac_cv_func_re_rx_search = yes; then
|
---|
| 7106 | :
|
---|
| 7107 | else
|
---|
[20848] | 7108 | case " $LIBOBJS " in
|
---|
[16568] | 7109 | *" rx.$ac_objext "* ) ;;
|
---|
[20848] | 7110 | *) LIBOBJS="$LIBOBJS rx.$ac_objext"
|
---|
| 7111 | ;;
|
---|
[16568] | 7112 | esac
|
---|
| 7113 |
|
---|
| 7114 | fi
|
---|
| 7115 |
|
---|
| 7116 | fi
|
---|
| 7117 |
|
---|
| 7118 |
|
---|
| 7119 | # ---------------------------------------------------------------------------
|
---|
| 7120 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[20848] | 7121 | case " $LIBOBJS " in
|
---|
[16568] | 7122 | *" xmalloc.$ac_objext "* ) ;;
|
---|
[20848] | 7123 | *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
|
---|
| 7124 | ;;
|
---|
[16568] | 7125 | esac
|
---|
| 7126 |
|
---|
[20848] | 7127 | case " $LIBOBJS " in
|
---|
[16568] | 7128 | *" error.$ac_objext "* ) ;;
|
---|
[20848] | 7129 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 7130 | ;;
|
---|
[16568] | 7131 | esac
|
---|
| 7132 |
|
---|
| 7133 | fi
|
---|
| 7134 |
|
---|
| 7135 |
|
---|
| 7136 | # ---------------------------------------------------------------------------
|
---|
| 7137 |
|
---|
[20848] | 7138 | ac_ext=cpp
|
---|
[16568] | 7139 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 7140 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 7141 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 7142 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
| 7143 |
|
---|
| 7144 |
|
---|
[20848] | 7145 | { echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
|
---|
| 7146 | echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6; }
|
---|
[16568] | 7147 | success="no"
|
---|
| 7148 | pl_path="$PATH"
|
---|
| 7149 | IFS="${IFS= }"; pl_save_ifs="$IFS"; IFS=":"
|
---|
| 7150 | for pl_dir in $pl_path; do
|
---|
| 7151 | test -z "$pl_dir" && pl_dir=.
|
---|
| 7152 | if test -x $pl_dir/perl; then
|
---|
| 7153 | success="yes"
|
---|
| 7154 | break
|
---|
| 7155 | fi
|
---|
| 7156 | done
|
---|
| 7157 | IFS="$pl_save_ifs"
|
---|
| 7158 |
|
---|
| 7159 | success=no
|
---|
[20848] | 7160 | { echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
|
---|
| 7161 | echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6; }
|
---|
[16568] | 7162 |
|
---|
[18214] | 7163 |
|
---|
[16568] | 7164 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7165 | /* confdefs.h. */
|
---|
| 7166 | _ACEOF
|
---|
| 7167 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7168 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7169 | /* end confdefs.h. */
|
---|
| 7170 | #include <vector>
|
---|
| 7171 |
|
---|
| 7172 | int
|
---|
| 7173 | main ()
|
---|
| 7174 | {
|
---|
| 7175 |
|
---|
| 7176 | ;
|
---|
| 7177 | return 0;
|
---|
| 7178 | }
|
---|
| 7179 | _ACEOF
|
---|
| 7180 | rm -f conftest.$ac_objext
|
---|
[20848] | 7181 | if { (ac_try="$ac_compile"
|
---|
| 7182 | case "(($ac_try" in
|
---|
| 7183 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7184 | *) ac_try_echo=$ac_try;;
|
---|
| 7185 | esac
|
---|
| 7186 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 7187 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 7188 | ac_status=$?
|
---|
| 7189 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7190 | rm -f conftest.er1
|
---|
| 7191 | cat conftest.err >&5
|
---|
| 7192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 7193 | (exit $ac_status); } && {
|
---|
| 7194 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 7195 | test ! -s conftest.err
|
---|
| 7196 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 7197 | success=yes
|
---|
| 7198 | else
|
---|
| 7199 | echo "$as_me: failed program was:" >&5
|
---|
| 7200 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7201 |
|
---|
[20848] | 7202 |
|
---|
[16568] | 7203 | fi
|
---|
| 7204 |
|
---|
[20848] | 7205 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 7206 |
|
---|
[16568] | 7207 | if test $success = "no"; then
|
---|
| 7208 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7209 | /* confdefs.h. */
|
---|
| 7210 | _ACEOF
|
---|
| 7211 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7212 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7213 | /* end confdefs.h. */
|
---|
| 7214 | #include <vector.h>
|
---|
| 7215 |
|
---|
| 7216 | int
|
---|
| 7217 | main ()
|
---|
| 7218 | {
|
---|
| 7219 |
|
---|
| 7220 | ;
|
---|
| 7221 | return 0;
|
---|
| 7222 | }
|
---|
| 7223 | _ACEOF
|
---|
| 7224 | rm -f conftest.$ac_objext
|
---|
[20848] | 7225 | if { (ac_try="$ac_compile"
|
---|
| 7226 | case "(($ac_try" in
|
---|
| 7227 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7228 | *) ac_try_echo=$ac_try;;
|
---|
| 7229 | esac
|
---|
| 7230 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 7231 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 7232 | ac_status=$?
|
---|
| 7233 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7234 | rm -f conftest.er1
|
---|
| 7235 | cat conftest.err >&5
|
---|
| 7236 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 7237 | (exit $ac_status); } && {
|
---|
| 7238 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 7239 | test ! -s conftest.err
|
---|
| 7240 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 7241 | success="yes"
|
---|
| 7242 | else
|
---|
| 7243 | echo "$as_me: failed program was:" >&5
|
---|
| 7244 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7245 |
|
---|
[20848] | 7246 |
|
---|
[16568] | 7247 | fi
|
---|
[20848] | 7248 |
|
---|
| 7249 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 7250 | fi
|
---|
| 7251 |
|
---|
| 7252 | if test $success = "no"; then
|
---|
| 7253 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7254 | /* confdefs.h. */
|
---|
| 7255 | _ACEOF
|
---|
| 7256 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7257 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7258 | /* end confdefs.h. */
|
---|
| 7259 | #include <ospace\\std\\vector>
|
---|
| 7260 |
|
---|
| 7261 | int
|
---|
| 7262 | main ()
|
---|
| 7263 | {
|
---|
| 7264 |
|
---|
| 7265 | ;
|
---|
| 7266 | return 0;
|
---|
| 7267 | }
|
---|
| 7268 | _ACEOF
|
---|
| 7269 | rm -f conftest.$ac_objext
|
---|
[20848] | 7270 | if { (ac_try="$ac_compile"
|
---|
| 7271 | case "(($ac_try" in
|
---|
| 7272 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7273 | *) ac_try_echo=$ac_try;;
|
---|
| 7274 | esac
|
---|
| 7275 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 7276 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 7277 | ac_status=$?
|
---|
| 7278 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7279 | rm -f conftest.er1
|
---|
| 7280 | cat conftest.err >&5
|
---|
| 7281 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 7282 | (exit $ac_status); } && {
|
---|
| 7283 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 7284 | test ! -s conftest.err
|
---|
| 7285 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 7286 | success="yes"
|
---|
| 7287 | else
|
---|
| 7288 | echo "$as_me: failed program was:" >&5
|
---|
| 7289 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7290 |
|
---|
[20848] | 7291 |
|
---|
[16568] | 7292 | fi
|
---|
[20848] | 7293 |
|
---|
| 7294 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 7295 | fi
|
---|
| 7296 |
|
---|
| 7297 | if test $success = yes; then
|
---|
[20848] | 7298 | { echo "$as_me:$LINENO: result: \"no\"" >&5
|
---|
| 7299 | echo "${ECHO_T}\"no\"" >&6; }
|
---|
[16568] | 7300 | else
|
---|
[20848] | 7301 | { echo "$as_me:$LINENO: result: \"yes\"" >&5
|
---|
| 7302 | echo "${ECHO_T}\"yes\"" >&6; }
|
---|
[16568] | 7303 | { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
|
---|
| 7304 | echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
|
---|
| 7305 | { (exit 1); exit 1; }; }
|
---|
| 7306 | fi
|
---|
| 7307 |
|
---|
| 7308 | gsdlos=`uname | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
|
---|
| 7309 | # check for running bash under cygwin
|
---|
| 7310 | if test "`echo $gsdlos | sed 's/cygwin//'`" != "$gsdlos" ;
|
---|
| 7311 | then
|
---|
| 7312 | gsdlos=windows
|
---|
| 7313 | fi
|
---|
| 7314 |
|
---|
| 7315 |
|
---|
| 7316 | # check for endianness
|
---|
[20848] | 7317 | { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
|
---|
| 7318 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
|
---|
[16568] | 7319 | if test "${ac_cv_c_bigendian+set}" = set; then
|
---|
| 7320 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 7321 | else
|
---|
| 7322 | # See if sys/param.h defines the BYTE_ORDER macro.
|
---|
| 7323 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7324 | /* confdefs.h. */
|
---|
| 7325 | _ACEOF
|
---|
| 7326 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7327 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7328 | /* end confdefs.h. */
|
---|
| 7329 | #include <sys/types.h>
|
---|
| 7330 | #include <sys/param.h>
|
---|
| 7331 |
|
---|
| 7332 | int
|
---|
| 7333 | main ()
|
---|
| 7334 | {
|
---|
[20848] | 7335 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
|
---|
| 7336 | && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
|
---|
[16568] | 7337 | bogus endian macros
|
---|
| 7338 | #endif
|
---|
| 7339 |
|
---|
| 7340 | ;
|
---|
| 7341 | return 0;
|
---|
| 7342 | }
|
---|
| 7343 | _ACEOF
|
---|
| 7344 | rm -f conftest.$ac_objext
|
---|
[20848] | 7345 | if { (ac_try="$ac_compile"
|
---|
| 7346 | case "(($ac_try" in
|
---|
| 7347 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7348 | *) ac_try_echo=$ac_try;;
|
---|
| 7349 | esac
|
---|
| 7350 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 7351 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 7352 | ac_status=$?
|
---|
| 7353 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7354 | rm -f conftest.er1
|
---|
| 7355 | cat conftest.err >&5
|
---|
| 7356 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 7357 | (exit $ac_status); } && {
|
---|
| 7358 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 7359 | test ! -s conftest.err
|
---|
| 7360 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 7361 | # It does; now see whether it defined to BIG_ENDIAN or not.
|
---|
| 7362 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7363 | /* confdefs.h. */
|
---|
| 7364 | _ACEOF
|
---|
| 7365 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7366 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7367 | /* end confdefs.h. */
|
---|
| 7368 | #include <sys/types.h>
|
---|
| 7369 | #include <sys/param.h>
|
---|
| 7370 |
|
---|
| 7371 | int
|
---|
| 7372 | main ()
|
---|
| 7373 | {
|
---|
| 7374 | #if BYTE_ORDER != BIG_ENDIAN
|
---|
| 7375 | not big endian
|
---|
| 7376 | #endif
|
---|
| 7377 |
|
---|
| 7378 | ;
|
---|
| 7379 | return 0;
|
---|
| 7380 | }
|
---|
| 7381 | _ACEOF
|
---|
| 7382 | rm -f conftest.$ac_objext
|
---|
[20848] | 7383 | if { (ac_try="$ac_compile"
|
---|
| 7384 | case "(($ac_try" in
|
---|
| 7385 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7386 | *) ac_try_echo=$ac_try;;
|
---|
| 7387 | esac
|
---|
| 7388 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 7389 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 7390 | ac_status=$?
|
---|
| 7391 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7392 | rm -f conftest.er1
|
---|
| 7393 | cat conftest.err >&5
|
---|
| 7394 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 7395 | (exit $ac_status); } && {
|
---|
| 7396 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 7397 | test ! -s conftest.err
|
---|
| 7398 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 7399 | ac_cv_c_bigendian=yes
|
---|
| 7400 | else
|
---|
| 7401 | echo "$as_me: failed program was:" >&5
|
---|
| 7402 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7403 |
|
---|
[20848] | 7404 | ac_cv_c_bigendian=no
|
---|
[16568] | 7405 | fi
|
---|
[20848] | 7406 |
|
---|
| 7407 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 7408 | else
|
---|
| 7409 | echo "$as_me: failed program was:" >&5
|
---|
| 7410 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7411 |
|
---|
[20848] | 7412 | # It does not; compile a test program.
|
---|
[16568] | 7413 | if test "$cross_compiling" = yes; then
|
---|
| 7414 | # try to guess the endianness by grepping values into an object file
|
---|
| 7415 | ac_cv_c_bigendian=unknown
|
---|
| 7416 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7417 | /* confdefs.h. */
|
---|
| 7418 | _ACEOF
|
---|
| 7419 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7420 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7421 | /* end confdefs.h. */
|
---|
[20848] | 7422 | short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
---|
| 7423 | short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
---|
[16568] | 7424 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
|
---|
[20848] | 7425 | short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
---|
| 7426 | short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
---|
[16568] | 7427 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
|
---|
| 7428 | int
|
---|
| 7429 | main ()
|
---|
| 7430 | {
|
---|
| 7431 | _ascii (); _ebcdic ();
|
---|
| 7432 | ;
|
---|
| 7433 | return 0;
|
---|
| 7434 | }
|
---|
| 7435 | _ACEOF
|
---|
| 7436 | rm -f conftest.$ac_objext
|
---|
[20848] | 7437 | if { (ac_try="$ac_compile"
|
---|
| 7438 | case "(($ac_try" in
|
---|
| 7439 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7440 | *) ac_try_echo=$ac_try;;
|
---|
| 7441 | esac
|
---|
| 7442 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 7443 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16568] | 7444 | ac_status=$?
|
---|
| 7445 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7446 | rm -f conftest.er1
|
---|
| 7447 | cat conftest.err >&5
|
---|
| 7448 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[20848] | 7449 | (exit $ac_status); } && {
|
---|
| 7450 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 7451 | test ! -s conftest.err
|
---|
| 7452 | } && test -s conftest.$ac_objext; then
|
---|
[16568] | 7453 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
|
---|
| 7454 | ac_cv_c_bigendian=yes
|
---|
| 7455 | fi
|
---|
| 7456 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
---|
| 7457 | if test "$ac_cv_c_bigendian" = unknown; then
|
---|
| 7458 | ac_cv_c_bigendian=no
|
---|
| 7459 | else
|
---|
| 7460 | # finding both strings is unlikely to happen, but who knows?
|
---|
| 7461 | ac_cv_c_bigendian=unknown
|
---|
| 7462 | fi
|
---|
| 7463 | fi
|
---|
| 7464 | else
|
---|
| 7465 | echo "$as_me: failed program was:" >&5
|
---|
| 7466 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7467 |
|
---|
[20848] | 7468 |
|
---|
[16568] | 7469 | fi
|
---|
[20848] | 7470 |
|
---|
| 7471 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 7472 | else
|
---|
| 7473 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7474 | /* confdefs.h. */
|
---|
| 7475 | _ACEOF
|
---|
| 7476 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7477 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7478 | /* end confdefs.h. */
|
---|
[20848] | 7479 | $ac_includes_default
|
---|
[16568] | 7480 | int
|
---|
| 7481 | main ()
|
---|
| 7482 | {
|
---|
[20848] | 7483 |
|
---|
[16568] | 7484 | /* Are we little or big endian? From Harbison&Steele. */
|
---|
| 7485 | union
|
---|
| 7486 | {
|
---|
[20848] | 7487 | long int l;
|
---|
| 7488 | char c[sizeof (long int)];
|
---|
[16568] | 7489 | } u;
|
---|
| 7490 | u.l = 1;
|
---|
[20848] | 7491 | return u.c[sizeof (long int) - 1] == 1;
|
---|
| 7492 |
|
---|
| 7493 | ;
|
---|
| 7494 | return 0;
|
---|
[16568] | 7495 | }
|
---|
| 7496 | _ACEOF
|
---|
| 7497 | rm -f conftest$ac_exeext
|
---|
[20848] | 7498 | if { (ac_try="$ac_link"
|
---|
| 7499 | case "(($ac_try" in
|
---|
| 7500 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7501 | *) ac_try_echo=$ac_try;;
|
---|
| 7502 | esac
|
---|
| 7503 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 7504 | (eval "$ac_link") 2>&5
|
---|
[16568] | 7505 | ac_status=$?
|
---|
| 7506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7507 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[20848] | 7508 | { (case "(($ac_try" in
|
---|
| 7509 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7510 | *) ac_try_echo=$ac_try;;
|
---|
| 7511 | esac
|
---|
| 7512 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 7513 | (eval "$ac_try") 2>&5
|
---|
[16568] | 7514 | ac_status=$?
|
---|
| 7515 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 7516 | (exit $ac_status); }; }; then
|
---|
| 7517 | ac_cv_c_bigendian=no
|
---|
| 7518 | else
|
---|
| 7519 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 7520 | echo "$as_me: failed program was:" >&5
|
---|
| 7521 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7522 |
|
---|
| 7523 | ( exit $ac_status )
|
---|
| 7524 | ac_cv_c_bigendian=yes
|
---|
| 7525 | fi
|
---|
[20848] | 7526 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 7527 | fi
|
---|
[20848] | 7528 |
|
---|
| 7529 |
|
---|
[16568] | 7530 | fi
|
---|
[20848] | 7531 |
|
---|
| 7532 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16568] | 7533 | fi
|
---|
[20848] | 7534 | { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
|
---|
| 7535 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
|
---|
[16568] | 7536 | case $ac_cv_c_bigendian in
|
---|
| 7537 | yes)
|
---|
| 7538 |
|
---|
| 7539 | cat >>confdefs.h <<\_ACEOF
|
---|
| 7540 | #define WORDS_BIGENDIAN 1
|
---|
| 7541 | _ACEOF
|
---|
| 7542 | ;;
|
---|
| 7543 | no)
|
---|
| 7544 | ;;
|
---|
| 7545 | *)
|
---|
| 7546 | { { echo "$as_me:$LINENO: error: unknown endianness
|
---|
| 7547 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5
|
---|
| 7548 | echo "$as_me: error: unknown endianness
|
---|
| 7549 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
|
---|
| 7550 | { (exit 1); exit 1; }; } ;;
|
---|
| 7551 | esac
|
---|
| 7552 |
|
---|
| 7553 | # ---------------------------------------------------------------------------
|
---|
| 7554 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[20848] | 7555 | case " $LIBOBJS " in
|
---|
[16568] | 7556 | *" xmalloc.o.$ac_objext "* ) ;;
|
---|
[20848] | 7557 | *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
|
---|
| 7558 | ;;
|
---|
[16568] | 7559 | esac
|
---|
| 7560 |
|
---|
[20848] | 7561 | case " $LIBOBJS " in
|
---|
[16568] | 7562 | *" error.$ac_objext "* ) ;;
|
---|
[20848] | 7563 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 7564 | ;;
|
---|
[16568] | 7565 | esac
|
---|
| 7566 |
|
---|
| 7567 | fi
|
---|
| 7568 |
|
---|
| 7569 | # ---------------------------------------------------------------------------
|
---|
| 7570 |
|
---|
| 7571 |
|
---|
| 7572 | moduleDirs=""
|
---|
| 7573 | MODULEDIRS=""
|
---|
[19825] | 7574 | if test -d modules ; then
|
---|
[16568] | 7575 | for x in `find modules -mindepth 1 -maxdepth 2`; do
|
---|
| 7576 | if test -d "$x"; then
|
---|
| 7577 | d="$x/Makefile.in"
|
---|
| 7578 | if test -e "$d"; then
|
---|
| 7579 | moduleDirs="$moduleDirs $x/Makefile"
|
---|
| 7580 | MODULEDIRS="$MODULEDIRS $x"
|
---|
| 7581 | fi
|
---|
| 7582 | fi
|
---|
| 7583 | done
|
---|
| 7584 | echo "Making $moduleDirs in modules directory"
|
---|
| 7585 |
|
---|
| 7586 | fi
|
---|
| 7587 |
|
---|
| 7588 |
|
---|
| 7589 | subdirs="$subdirs packages"
|
---|
| 7590 |
|
---|
| 7591 |
|
---|
| 7592 | # the list of folders in the src folder
|
---|
| 7593 | srclist="src/colservr/Makefile \
|
---|
| 7594 | src/corba/Makefile \
|
---|
| 7595 | src/protocol/Makefile \
|
---|
| 7596 | src/recpt/Makefile \
|
---|
| 7597 | src/oaiservr/Makefile \
|
---|
| 7598 | src/z3950/Makefile"
|
---|
| 7599 |
|
---|
[20848] | 7600 | ac_config_files="$ac_config_files packages/Makefile Makefile $srclist $moduleDirs"
|
---|
| 7601 |
|
---|
[16568] | 7602 | cat >confcache <<\_ACEOF
|
---|
| 7603 | # This file is a shell script that caches the results of configure
|
---|
| 7604 | # tests run on this system so they can be shared between configure
|
---|
| 7605 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 7606 | # It is not useful on other systems. If it contains results you don't
|
---|
| 7607 | # want to keep, you may remove or edit it.
|
---|
| 7608 | #
|
---|
| 7609 | # config.status only pays attention to the cache file if you give it
|
---|
| 7610 | # the --recheck option to rerun configure.
|
---|
| 7611 | #
|
---|
| 7612 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 7613 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 7614 | # following values.
|
---|
| 7615 |
|
---|
| 7616 | _ACEOF
|
---|
| 7617 |
|
---|
| 7618 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 7619 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
[20848] | 7620 | # So, we kill variables containing newlines.
|
---|
[16568] | 7621 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 7622 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
[20848] | 7623 | (
|
---|
| 7624 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
| 7625 | eval ac_val=\$$ac_var
|
---|
| 7626 | case $ac_val in #(
|
---|
| 7627 | *${as_nl}*)
|
---|
| 7628 | case $ac_var in #(
|
---|
| 7629 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
---|
| 7630 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
---|
| 7631 | esac
|
---|
| 7632 | case $ac_var in #(
|
---|
| 7633 | _ | IFS | as_nl) ;; #(
|
---|
| 7634 | *) $as_unset $ac_var ;;
|
---|
| 7635 | esac ;;
|
---|
| 7636 | esac
|
---|
| 7637 | done
|
---|
| 7638 |
|
---|
[16568] | 7639 | (set) 2>&1 |
|
---|
[20848] | 7640 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
| 7641 | *${as_nl}ac_space=\ *)
|
---|
[16568] | 7642 | # `set' does not quote correctly, so add quotes (double-quote
|
---|
| 7643 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
---|
| 7644 | sed -n \
|
---|
| 7645 | "s/'/'\\\\''/g;
|
---|
| 7646 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
[20848] | 7647 | ;; #(
|
---|
[16568] | 7648 | *)
|
---|
| 7649 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
[20848] | 7650 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16568] | 7651 | ;;
|
---|
[20848] | 7652 | esac |
|
---|
| 7653 | sort
|
---|
| 7654 | ) |
|
---|
[16568] | 7655 | sed '
|
---|
[20848] | 7656 | /^ac_cv_env_/b end
|
---|
[16568] | 7657 | t clear
|
---|
[20848] | 7658 | :clear
|
---|
[16568] | 7659 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 7660 | t end
|
---|
[20848] | 7661 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 7662 | :end' >>confcache
|
---|
| 7663 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
| 7664 | if test -w "$cache_file"; then
|
---|
| 7665 | test "x$cache_file" != "x/dev/null" &&
|
---|
| 7666 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
---|
| 7667 | echo "$as_me: updating cache $cache_file" >&6;}
|
---|
[16568] | 7668 | cat confcache >$cache_file
|
---|
| 7669 | else
|
---|
[20848] | 7670 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
---|
| 7671 | echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
[16568] | 7672 | fi
|
---|
| 7673 | fi
|
---|
| 7674 | rm -f confcache
|
---|
| 7675 |
|
---|
| 7676 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 7677 | # Let make expand exec_prefix.
|
---|
| 7678 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 7679 |
|
---|
| 7680 | DEFS=-DHAVE_CONFIG_H
|
---|
| 7681 |
|
---|
| 7682 | ac_libobjs=
|
---|
| 7683 | ac_ltlibobjs=
|
---|
| 7684 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 7685 | # 1. Remove the extension, and $U if already installed.
|
---|
[20848] | 7686 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
| 7687 | ac_i=`echo "$ac_i" | sed "$ac_script"`
|
---|
| 7688 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
| 7689 | # will be set to the directory where LIBOBJS objects are built.
|
---|
| 7690 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
| 7691 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
[16568] | 7692 | done
|
---|
| 7693 | LIBOBJS=$ac_libobjs
|
---|
| 7694 |
|
---|
| 7695 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 7696 |
|
---|
| 7697 |
|
---|
| 7698 |
|
---|
| 7699 | : ${CONFIG_STATUS=./config.status}
|
---|
| 7700 | ac_clean_files_save=$ac_clean_files
|
---|
| 7701 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
| 7702 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
---|
| 7703 | echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
| 7704 | cat >$CONFIG_STATUS <<_ACEOF
|
---|
| 7705 | #! $SHELL
|
---|
| 7706 | # Generated by $as_me.
|
---|
| 7707 | # Run this file to recreate the current configuration.
|
---|
| 7708 | # Compiler output produced by configure, useful for debugging
|
---|
| 7709 | # configure, is in config.log if it exists.
|
---|
| 7710 |
|
---|
| 7711 | debug=false
|
---|
| 7712 | ac_cs_recheck=false
|
---|
| 7713 | ac_cs_silent=false
|
---|
| 7714 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
| 7715 | _ACEOF
|
---|
| 7716 |
|
---|
| 7717 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 7718 | ## --------------------- ##
|
---|
| 7719 | ## M4sh Initialization. ##
|
---|
| 7720 | ## --------------------- ##
|
---|
| 7721 |
|
---|
[20848] | 7722 | # Be more Bourne compatible
|
---|
| 7723 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[16568] | 7724 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 7725 | emulate sh
|
---|
| 7726 | NULLCMD=:
|
---|
| 7727 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
| 7728 | # is contrary to our usage. Disable this feature.
|
---|
| 7729 | alias -g '${1+"$@"}'='"$@"'
|
---|
[20848] | 7730 | setopt NO_GLOB_SUBST
|
---|
| 7731 | else
|
---|
| 7732 | case `(set -o) 2>/dev/null` in
|
---|
| 7733 | *posix*) set -o posix ;;
|
---|
| 7734 | esac
|
---|
| 7735 |
|
---|
[16568] | 7736 | fi
|
---|
| 7737 |
|
---|
[20848] | 7738 |
|
---|
| 7739 |
|
---|
| 7740 |
|
---|
| 7741 | # PATH needs CR
|
---|
| 7742 | # Avoid depending upon Character Ranges.
|
---|
| 7743 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 7744 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 7745 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 7746 | as_cr_digits='0123456789'
|
---|
| 7747 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
| 7748 |
|
---|
| 7749 | # The user is always right.
|
---|
| 7750 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 7751 | echo "#! /bin/sh" >conf$$.sh
|
---|
| 7752 | echo "exit 0" >>conf$$.sh
|
---|
| 7753 | chmod +x conf$$.sh
|
---|
| 7754 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
---|
| 7755 | PATH_SEPARATOR=';'
|
---|
| 7756 | else
|
---|
| 7757 | PATH_SEPARATOR=:
|
---|
| 7758 | fi
|
---|
| 7759 | rm -f conf$$.sh
|
---|
| 7760 | fi
|
---|
| 7761 |
|
---|
[16568] | 7762 | # Support unset when possible.
|
---|
| 7763 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
| 7764 | as_unset=unset
|
---|
| 7765 | else
|
---|
| 7766 | as_unset=false
|
---|
| 7767 | fi
|
---|
| 7768 |
|
---|
| 7769 |
|
---|
[20848] | 7770 | # IFS
|
---|
| 7771 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 7772 | # there to prevent editors from complaining about space-tab.
|
---|
| 7773 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 7774 | # splitting by setting IFS to empty value.)
|
---|
| 7775 | as_nl='
|
---|
| 7776 | '
|
---|
| 7777 | IFS=" "" $as_nl"
|
---|
| 7778 |
|
---|
| 7779 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
| 7780 | case $0 in
|
---|
| 7781 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 7782 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 7783 | for as_dir in $PATH
|
---|
| 7784 | do
|
---|
| 7785 | IFS=$as_save_IFS
|
---|
| 7786 | test -z "$as_dir" && as_dir=.
|
---|
| 7787 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 7788 | done
|
---|
| 7789 | IFS=$as_save_IFS
|
---|
| 7790 |
|
---|
| 7791 | ;;
|
---|
| 7792 | esac
|
---|
| 7793 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 7794 | # in which case we are not to be found in the path.
|
---|
| 7795 | if test "x$as_myself" = x; then
|
---|
| 7796 | as_myself=$0
|
---|
| 7797 | fi
|
---|
| 7798 | if test ! -f "$as_myself"; then
|
---|
| 7799 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
| 7800 | { (exit 1); exit 1; }
|
---|
| 7801 | fi
|
---|
| 7802 |
|
---|
[16568] | 7803 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
[20848] | 7804 | for as_var in ENV MAIL MAILPATH
|
---|
| 7805 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
| 7806 | done
|
---|
[16568] | 7807 | PS1='$ '
|
---|
| 7808 | PS2='> '
|
---|
| 7809 | PS4='+ '
|
---|
| 7810 |
|
---|
| 7811 | # NLS nuisances.
|
---|
| 7812 | for as_var in \
|
---|
| 7813 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
| 7814 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
| 7815 | LC_TELEPHONE LC_TIME
|
---|
| 7816 | do
|
---|
| 7817 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
| 7818 | eval $as_var=C; export $as_var
|
---|
| 7819 | else
|
---|
[20848] | 7820 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
[16568] | 7821 | fi
|
---|
| 7822 | done
|
---|
| 7823 |
|
---|
| 7824 | # Required to use basename.
|
---|
[20848] | 7825 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 7826 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16568] | 7827 | as_expr=expr
|
---|
| 7828 | else
|
---|
| 7829 | as_expr=false
|
---|
| 7830 | fi
|
---|
| 7831 |
|
---|
[20848] | 7832 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[16568] | 7833 | as_basename=basename
|
---|
| 7834 | else
|
---|
| 7835 | as_basename=false
|
---|
| 7836 | fi
|
---|
| 7837 |
|
---|
| 7838 |
|
---|
| 7839 | # Name of the executable.
|
---|
[20848] | 7840 | as_me=`$as_basename -- "$0" ||
|
---|
[16568] | 7841 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 7842 | X"$0" : 'X\(//\)$' \| \
|
---|
[20848] | 7843 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
[16568] | 7844 | echo X/"$0" |
|
---|
[20848] | 7845 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 7846 | s//\1/
|
---|
| 7847 | q
|
---|
| 7848 | }
|
---|
| 7849 | /^X\/\(\/\/\)$/{
|
---|
| 7850 | s//\1/
|
---|
| 7851 | q
|
---|
| 7852 | }
|
---|
| 7853 | /^X\/\(\/\).*/{
|
---|
| 7854 | s//\1/
|
---|
| 7855 | q
|
---|
| 7856 | }
|
---|
| 7857 | s/.*/./; q'`
|
---|
[16568] | 7858 |
|
---|
[20848] | 7859 | # CDPATH.
|
---|
| 7860 | $as_unset CDPATH
|
---|
[16568] | 7861 |
|
---|
| 7862 |
|
---|
| 7863 |
|
---|
| 7864 | as_lineno_1=$LINENO
|
---|
| 7865 | as_lineno_2=$LINENO
|
---|
| 7866 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
[20848] | 7867 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
---|
[16568] | 7868 |
|
---|
| 7869 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
| 7870 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
[20848] | 7871 | # line-number line after each line using $LINENO; the second 'sed'
|
---|
| 7872 | # does the real work. The second script uses 'N' to pair each
|
---|
| 7873 | # line-number line with the line containing $LINENO, and appends
|
---|
| 7874 | # trailing '-' during substitution so that $LINENO is not a special
|
---|
| 7875 | # case at line end.
|
---|
[16568] | 7876 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
[20848] | 7877 | # scripts with optimization help from Paolo Bonzini. Blame Lee
|
---|
| 7878 | # E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
| 7879 | sed -n '
|
---|
| 7880 | p
|
---|
| 7881 | /[$]LINENO/=
|
---|
| 7882 | ' <$as_myself |
|
---|
[16568] | 7883 | sed '
|
---|
[20848] | 7884 | s/[$]LINENO.*/&-/
|
---|
| 7885 | t lineno
|
---|
| 7886 | b
|
---|
| 7887 | :lineno
|
---|
[16568] | 7888 | N
|
---|
[20848] | 7889 | :loop
|
---|
| 7890 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
[16568] | 7891 | t loop
|
---|
[20848] | 7892 | s/-\n.*//
|
---|
[16568] | 7893 | ' >$as_me.lineno &&
|
---|
[20848] | 7894 | chmod +x "$as_me.lineno" ||
|
---|
| 7895 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
---|
[16568] | 7896 | { (exit 1); exit 1; }; }
|
---|
| 7897 |
|
---|
| 7898 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 7899 | # (the dirname of $[0] is not the place where we might find the
|
---|
[20848] | 7900 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 7901 | . "./$as_me.lineno"
|
---|
[16568] | 7902 | # Exit status is that of the last command.
|
---|
| 7903 | exit
|
---|
| 7904 | }
|
---|
| 7905 |
|
---|
| 7906 |
|
---|
[20848] | 7907 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 7908 | as_dirname=dirname
|
---|
| 7909 | else
|
---|
| 7910 | as_dirname=false
|
---|
| 7911 | fi
|
---|
| 7912 |
|
---|
| 7913 | ECHO_C= ECHO_N= ECHO_T=
|
---|
| 7914 | case `echo -n x` in
|
---|
| 7915 | -n*)
|
---|
| 7916 | case `echo 'x\c'` in
|
---|
| 7917 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
| 7918 | *) ECHO_C='\c';;
|
---|
| 7919 | esac;;
|
---|
| 7920 | *)
|
---|
| 7921 | ECHO_N='-n';;
|
---|
[16568] | 7922 | esac
|
---|
| 7923 |
|
---|
[20848] | 7924 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 7925 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16568] | 7926 | as_expr=expr
|
---|
| 7927 | else
|
---|
| 7928 | as_expr=false
|
---|
| 7929 | fi
|
---|
| 7930 |
|
---|
| 7931 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
[20848] | 7932 | if test -d conf$$.dir; then
|
---|
| 7933 | rm -f conf$$.dir/conf$$.file
|
---|
| 7934 | else
|
---|
| 7935 | rm -f conf$$.dir
|
---|
| 7936 | mkdir conf$$.dir
|
---|
| 7937 | fi
|
---|
[16568] | 7938 | echo >conf$$.file
|
---|
| 7939 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
[20848] | 7940 | as_ln_s='ln -s'
|
---|
| 7941 | # ... but there are two gotchas:
|
---|
| 7942 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 7943 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 7944 | # In both cases, we have to default to `cp -p'.
|
---|
| 7945 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
[16568] | 7946 | as_ln_s='cp -p'
|
---|
| 7947 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 7948 | as_ln_s=ln
|
---|
| 7949 | else
|
---|
| 7950 | as_ln_s='cp -p'
|
---|
| 7951 | fi
|
---|
[20848] | 7952 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 7953 | rmdir conf$$.dir 2>/dev/null
|
---|
[16568] | 7954 |
|
---|
| 7955 | if mkdir -p . 2>/dev/null; then
|
---|
| 7956 | as_mkdir_p=:
|
---|
| 7957 | else
|
---|
| 7958 | test -d ./-p && rmdir ./-p
|
---|
| 7959 | as_mkdir_p=false
|
---|
| 7960 | fi
|
---|
| 7961 |
|
---|
[20848] | 7962 | if test -x / >/dev/null 2>&1; then
|
---|
| 7963 | as_test_x='test -x'
|
---|
| 7964 | else
|
---|
| 7965 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 7966 | as_ls_L_option=L
|
---|
| 7967 | else
|
---|
| 7968 | as_ls_L_option=
|
---|
| 7969 | fi
|
---|
| 7970 | as_test_x='
|
---|
| 7971 | eval sh -c '\''
|
---|
| 7972 | if test -d "$1"; then
|
---|
| 7973 | test -d "$1/.";
|
---|
| 7974 | else
|
---|
| 7975 | case $1 in
|
---|
| 7976 | -*)set "./$1";;
|
---|
| 7977 | esac;
|
---|
| 7978 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
---|
| 7979 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 7980 | '\'' sh
|
---|
| 7981 | '
|
---|
| 7982 | fi
|
---|
| 7983 | as_executable_p=$as_test_x
|
---|
[16568] | 7984 |
|
---|
| 7985 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 7986 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7987 |
|
---|
| 7988 | # Sed expression to map a string onto a valid variable name.
|
---|
| 7989 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 7990 |
|
---|
| 7991 |
|
---|
| 7992 | exec 6>&1
|
---|
| 7993 |
|
---|
[20848] | 7994 | # Save the log message, to keep $[0] and so on meaningful, and to
|
---|
[16568] | 7995 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
[20848] | 7996 | # values after options handling.
|
---|
| 7997 | ac_log="
|
---|
[16568] | 7998 | This file was extended by $as_me, which was
|
---|
[20848] | 7999 | generated by GNU Autoconf 2.61. Invocation command line was
|
---|
[16568] | 8000 |
|
---|
| 8001 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 8002 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 8003 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 8004 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 8005 | $ $0 $@
|
---|
| 8006 |
|
---|
[20848] | 8007 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 8008 | "
|
---|
| 8009 |
|
---|
[16568] | 8010 | _ACEOF
|
---|
| 8011 |
|
---|
[20848] | 8012 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
[16568] | 8013 | # Files that config.status was made for.
|
---|
[20848] | 8014 | config_files="$ac_config_files"
|
---|
| 8015 | config_headers="$ac_config_headers"
|
---|
[16568] | 8016 |
|
---|
[20848] | 8017 | _ACEOF
|
---|
[16568] | 8018 |
|
---|
| 8019 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 8020 | ac_cs_usage="\
|
---|
| 8021 | \`$as_me' instantiates files from templates according to the
|
---|
| 8022 | current configuration.
|
---|
| 8023 |
|
---|
| 8024 | Usage: $0 [OPTIONS] [FILE]...
|
---|
| 8025 |
|
---|
| 8026 | -h, --help print this help, then exit
|
---|
[20848] | 8027 | -V, --version print version number and configuration settings, then exit
|
---|
[16568] | 8028 | -q, --quiet do not print progress messages
|
---|
| 8029 | -d, --debug don't remove temporary files
|
---|
| 8030 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
| 8031 | --file=FILE[:TEMPLATE]
|
---|
| 8032 | instantiate the configuration file FILE
|
---|
| 8033 | --header=FILE[:TEMPLATE]
|
---|
| 8034 | instantiate the configuration header FILE
|
---|
| 8035 |
|
---|
| 8036 | Configuration files:
|
---|
| 8037 | $config_files
|
---|
| 8038 |
|
---|
| 8039 | Configuration headers:
|
---|
| 8040 | $config_headers
|
---|
| 8041 |
|
---|
| 8042 | Report bugs to <[email protected]>."
|
---|
[20848] | 8043 |
|
---|
[16568] | 8044 | _ACEOF
|
---|
| 8045 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8046 | ac_cs_version="\\
|
---|
| 8047 | config.status
|
---|
[20848] | 8048 | configured by $0, generated by GNU Autoconf 2.61,
|
---|
| 8049 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
---|
[16568] | 8050 |
|
---|
[20848] | 8051 | Copyright (C) 2006 Free Software Foundation, Inc.
|
---|
[16568] | 8052 | This config.status script is free software; the Free Software Foundation
|
---|
| 8053 | gives unlimited permission to copy, distribute and modify it."
|
---|
[20848] | 8054 |
|
---|
| 8055 | ac_pwd='$ac_pwd'
|
---|
| 8056 | srcdir='$srcdir'
|
---|
| 8057 | INSTALL='$INSTALL'
|
---|
[16568] | 8058 | _ACEOF
|
---|
| 8059 |
|
---|
| 8060 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 8061 | # If no file are specified by the user, then we need to provide default
|
---|
| 8062 | # value. By we need to know if files were specified by the user.
|
---|
| 8063 | ac_need_defaults=:
|
---|
| 8064 | while test $# != 0
|
---|
| 8065 | do
|
---|
| 8066 | case $1 in
|
---|
| 8067 | --*=*)
|
---|
[20848] | 8068 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 8069 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
[16568] | 8070 | ac_shift=:
|
---|
| 8071 | ;;
|
---|
[20848] | 8072 | *)
|
---|
[16568] | 8073 | ac_option=$1
|
---|
| 8074 | ac_optarg=$2
|
---|
| 8075 | ac_shift=shift
|
---|
| 8076 | ;;
|
---|
| 8077 | esac
|
---|
| 8078 |
|
---|
| 8079 | case $ac_option in
|
---|
| 8080 | # Handling of the options.
|
---|
| 8081 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 8082 | ac_cs_recheck=: ;;
|
---|
[20848] | 8083 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
| 8084 | echo "$ac_cs_version"; exit ;;
|
---|
| 8085 | --debug | --debu | --deb | --de | --d | -d )
|
---|
[16568] | 8086 | debug=: ;;
|
---|
| 8087 | --file | --fil | --fi | --f )
|
---|
| 8088 | $ac_shift
|
---|
| 8089 | CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
---|
| 8090 | ac_need_defaults=false;;
|
---|
| 8091 | --header | --heade | --head | --hea )
|
---|
| 8092 | $ac_shift
|
---|
| 8093 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
---|
| 8094 | ac_need_defaults=false;;
|
---|
[20848] | 8095 | --he | --h)
|
---|
| 8096 | # Conflict between --help and --header
|
---|
| 8097 | { echo "$as_me: error: ambiguous option: $1
|
---|
| 8098 | Try \`$0 --help' for more information." >&2
|
---|
| 8099 | { (exit 1); exit 1; }; };;
|
---|
| 8100 | --help | --hel | -h )
|
---|
| 8101 | echo "$ac_cs_usage"; exit ;;
|
---|
[16568] | 8102 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 8103 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 8104 | ac_cs_silent=: ;;
|
---|
| 8105 |
|
---|
| 8106 | # This is an error.
|
---|
[20848] | 8107 | -*) { echo "$as_me: error: unrecognized option: $1
|
---|
| 8108 | Try \`$0 --help' for more information." >&2
|
---|
[16568] | 8109 | { (exit 1); exit 1; }; } ;;
|
---|
| 8110 |
|
---|
[20848] | 8111 | *) ac_config_targets="$ac_config_targets $1"
|
---|
| 8112 | ac_need_defaults=false ;;
|
---|
[16568] | 8113 |
|
---|
| 8114 | esac
|
---|
| 8115 | shift
|
---|
| 8116 | done
|
---|
| 8117 |
|
---|
| 8118 | ac_configure_extra_args=
|
---|
| 8119 |
|
---|
| 8120 | if $ac_cs_silent; then
|
---|
| 8121 | exec 6>/dev/null
|
---|
| 8122 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
| 8123 | fi
|
---|
| 8124 |
|
---|
| 8125 | _ACEOF
|
---|
| 8126 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8127 | if \$ac_cs_recheck; then
|
---|
[20848] | 8128 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
---|
| 8129 | CONFIG_SHELL=$SHELL
|
---|
| 8130 | export CONFIG_SHELL
|
---|
| 8131 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
[16568] | 8132 | fi
|
---|
| 8133 |
|
---|
| 8134 | _ACEOF
|
---|
[20848] | 8135 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 8136 | exec 5>>config.log
|
---|
| 8137 | {
|
---|
| 8138 | echo
|
---|
| 8139 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 8140 | ## Running $as_me. ##
|
---|
| 8141 | _ASBOX
|
---|
| 8142 | echo "$ac_log"
|
---|
| 8143 | } >&5
|
---|
[16568] | 8144 |
|
---|
[20848] | 8145 | _ACEOF
|
---|
| 8146 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8147 | _ACEOF
|
---|
[16568] | 8148 |
|
---|
[20848] | 8149 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[16568] | 8150 |
|
---|
[20848] | 8151 | # Handling of arguments.
|
---|
[16568] | 8152 | for ac_config_target in $ac_config_targets
|
---|
| 8153 | do
|
---|
[20848] | 8154 | case $ac_config_target in
|
---|
| 8155 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
| 8156 | "packages/Makefile") CONFIG_FILES="$CONFIG_FILES packages/Makefile" ;;
|
---|
| 8157 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 8158 | "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
|
---|
| 8159 | "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
|
---|
| 8160 |
|
---|
[16568] | 8161 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
---|
| 8162 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
---|
| 8163 | { (exit 1); exit 1; }; };;
|
---|
| 8164 | esac
|
---|
| 8165 | done
|
---|
| 8166 |
|
---|
[20848] | 8167 |
|
---|
[16568] | 8168 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 8169 | # then the envvar interface is used. Set only those that are not.
|
---|
| 8170 | # We use the long form for the default assignment because of an extremely
|
---|
| 8171 | # bizarre bug on SunOS 4.1.3.
|
---|
| 8172 | if $ac_need_defaults; then
|
---|
| 8173 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 8174 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 8175 | fi
|
---|
| 8176 |
|
---|
| 8177 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
[20848] | 8178 | # simply because there is no reason against having it here, and in addition,
|
---|
[16568] | 8179 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
[20848] | 8180 | # Hook for its removal unless debugging.
|
---|
| 8181 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
| 8182 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
[16568] | 8183 | $debug ||
|
---|
| 8184 | {
|
---|
[20848] | 8185 | tmp=
|
---|
| 8186 | trap 'exit_status=$?
|
---|
| 8187 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
---|
| 8188 | ' 0
|
---|
[16568] | 8189 | trap '{ (exit 1); exit 1; }' 1 2 13 15
|
---|
| 8190 | }
|
---|
| 8191 | # Create a (secure) tmp directory for tmp files.
|
---|
| 8192 |
|
---|
| 8193 | {
|
---|
[20848] | 8194 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
[16568] | 8195 | test -n "$tmp" && test -d "$tmp"
|
---|
| 8196 | } ||
|
---|
| 8197 | {
|
---|
[20848] | 8198 | tmp=./conf$$-$RANDOM
|
---|
| 8199 | (umask 077 && mkdir "$tmp")
|
---|
[16568] | 8200 | } ||
|
---|
| 8201 | {
|
---|
| 8202 | echo "$me: cannot create a temporary directory in ." >&2
|
---|
| 8203 | { (exit 1); exit 1; }
|
---|
| 8204 | }
|
---|
| 8205 |
|
---|
| 8206 | #
|
---|
[20848] | 8207 | # Set up the sed scripts for CONFIG_FILES section.
|
---|
[16568] | 8208 | #
|
---|
| 8209 |
|
---|
| 8210 | # No need to generate the scripts if there are no CONFIG_FILES.
|
---|
| 8211 | # This happens for instance when ./config.status config.h
|
---|
[20848] | 8212 | if test -n "$CONFIG_FILES"; then
|
---|
[16568] | 8213 |
|
---|
| 8214 | _ACEOF
|
---|
| 8215 |
|
---|
[20848] | 8216 |
|
---|
| 8217 |
|
---|
| 8218 | ac_delim='%!_!# '
|
---|
| 8219 | for ac_last_try in false false false false false :; do
|
---|
| 8220 | cat >conf$$subs.sed <<_ACEOF
|
---|
| 8221 | SHELL!$SHELL$ac_delim
|
---|
| 8222 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
|
---|
| 8223 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim
|
---|
| 8224 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
|
---|
| 8225 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
|
---|
| 8226 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim
|
---|
| 8227 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
|
---|
| 8228 | exec_prefix!$exec_prefix$ac_delim
|
---|
| 8229 | prefix!$prefix$ac_delim
|
---|
| 8230 | program_transform_name!$program_transform_name$ac_delim
|
---|
| 8231 | bindir!$bindir$ac_delim
|
---|
| 8232 | sbindir!$sbindir$ac_delim
|
---|
| 8233 | libexecdir!$libexecdir$ac_delim
|
---|
| 8234 | datarootdir!$datarootdir$ac_delim
|
---|
| 8235 | datadir!$datadir$ac_delim
|
---|
| 8236 | sysconfdir!$sysconfdir$ac_delim
|
---|
| 8237 | sharedstatedir!$sharedstatedir$ac_delim
|
---|
| 8238 | localstatedir!$localstatedir$ac_delim
|
---|
| 8239 | includedir!$includedir$ac_delim
|
---|
| 8240 | oldincludedir!$oldincludedir$ac_delim
|
---|
| 8241 | docdir!$docdir$ac_delim
|
---|
| 8242 | infodir!$infodir$ac_delim
|
---|
| 8243 | htmldir!$htmldir$ac_delim
|
---|
| 8244 | dvidir!$dvidir$ac_delim
|
---|
| 8245 | pdfdir!$pdfdir$ac_delim
|
---|
| 8246 | psdir!$psdir$ac_delim
|
---|
| 8247 | libdir!$libdir$ac_delim
|
---|
| 8248 | localedir!$localedir$ac_delim
|
---|
| 8249 | mandir!$mandir$ac_delim
|
---|
| 8250 | DEFS!$DEFS$ac_delim
|
---|
| 8251 | ECHO_C!$ECHO_C$ac_delim
|
---|
| 8252 | ECHO_N!$ECHO_N$ac_delim
|
---|
| 8253 | ECHO_T!$ECHO_T$ac_delim
|
---|
| 8254 | LIBS!$LIBS$ac_delim
|
---|
| 8255 | build_alias!$build_alias$ac_delim
|
---|
| 8256 | host_alias!$host_alias$ac_delim
|
---|
| 8257 | target_alias!$target_alias$ac_delim
|
---|
| 8258 | PACKAGE!$PACKAGE$ac_delim
|
---|
| 8259 | VERSION!$VERSION$ac_delim
|
---|
| 8260 | USE_FASTCGI!$USE_FASTCGI$ac_delim
|
---|
| 8261 | USE_LANGACTION!$USE_LANGACTION$ac_delim
|
---|
| 8262 | USE_CORBA!$USE_CORBA$ac_delim
|
---|
| 8263 | MICO_DIR!$MICO_DIR$ac_delim
|
---|
| 8264 | USE_Z3950!$USE_Z3950$ac_delim
|
---|
| 8265 | USE_YAZ!$USE_YAZ$ac_delim
|
---|
| 8266 | ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim
|
---|
| 8267 | USE_SQLITE!$USE_SQLITE$ac_delim
|
---|
| 8268 | USE_APACHE_HTTPD!$USE_APACHE_HTTPD$ac_delim
|
---|
| 8269 | LDFLAGS!$LDFLAGS$ac_delim
|
---|
| 8270 | CFLAGS!$CFLAGS$ac_delim
|
---|
| 8271 | CC!$CC$ac_delim
|
---|
| 8272 | CPPFLAGS!$CPPFLAGS$ac_delim
|
---|
| 8273 | ac_ct_CC!$ac_ct_CC$ac_delim
|
---|
| 8274 | EXEEXT!$EXEEXT$ac_delim
|
---|
| 8275 | OBJEXT!$OBJEXT$ac_delim
|
---|
| 8276 | CXX!$CXX$ac_delim
|
---|
| 8277 | CXXFLAGS!$CXXFLAGS$ac_delim
|
---|
| 8278 | ac_ct_CXX!$ac_ct_CXX$ac_delim
|
---|
| 8279 | AWK!$AWK$ac_delim
|
---|
| 8280 | YACC!$YACC$ac_delim
|
---|
| 8281 | YFLAGS!$YFLAGS$ac_delim
|
---|
| 8282 | build!$build$ac_delim
|
---|
| 8283 | build_cpu!$build_cpu$ac_delim
|
---|
| 8284 | build_vendor!$build_vendor$ac_delim
|
---|
| 8285 | build_os!$build_os$ac_delim
|
---|
| 8286 | host!$host$ac_delim
|
---|
| 8287 | host_cpu!$host_cpu$ac_delim
|
---|
| 8288 | host_vendor!$host_vendor$ac_delim
|
---|
| 8289 | host_os!$host_os$ac_delim
|
---|
| 8290 | target!$target$ac_delim
|
---|
| 8291 | target_cpu!$target_cpu$ac_delim
|
---|
| 8292 | target_vendor!$target_vendor$ac_delim
|
---|
| 8293 | target_os!$target_os$ac_delim
|
---|
| 8294 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
---|
| 8295 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
|
---|
| 8296 | INSTALL_DATA!$INSTALL_DATA$ac_delim
|
---|
| 8297 | LN_S!$LN_S$ac_delim
|
---|
| 8298 | SET_MAKE!$SET_MAKE$ac_delim
|
---|
| 8299 | RANLIB!$RANLIB$ac_delim
|
---|
| 8300 | COMPAT32BITFLAGS!$COMPAT32BITFLAGS$ac_delim
|
---|
| 8301 | MICO_VER!$MICO_VER$ac_delim
|
---|
| 8302 | CPP!$CPP$ac_delim
|
---|
| 8303 | GREP!$GREP$ac_delim
|
---|
| 8304 | EGREP!$EGREP$ac_delim
|
---|
| 8305 | U!$U$ac_delim
|
---|
| 8306 | ANSI2KNR!$ANSI2KNR$ac_delim
|
---|
| 8307 | ALLOCA!$ALLOCA$ac_delim
|
---|
| 8308 | LIBOBJS!$LIBOBJS$ac_delim
|
---|
| 8309 | STATIC!$STATIC$ac_delim
|
---|
| 8310 | gsdlos!$gsdlos$ac_delim
|
---|
| 8311 | MODULEDIRS!$MODULEDIRS$ac_delim
|
---|
| 8312 | subdirs!$subdirs$ac_delim
|
---|
| 8313 | LTLIBOBJS!$LTLIBOBJS$ac_delim
|
---|
| 8314 | _ACEOF
|
---|
| 8315 |
|
---|
| 8316 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then
|
---|
| 8317 | break
|
---|
| 8318 | elif $ac_last_try; then
|
---|
| 8319 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
---|
| 8320 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
---|
| 8321 | { (exit 1); exit 1; }; }
|
---|
| 8322 | else
|
---|
| 8323 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
[16568] | 8324 | fi
|
---|
[20848] | 8325 | done
|
---|
[16568] | 8326 |
|
---|
[20848] | 8327 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
---|
| 8328 | if test -n "$ac_eof"; then
|
---|
| 8329 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
---|
| 8330 | ac_eof=`expr $ac_eof + 1`
|
---|
| 8331 | fi
|
---|
| 8332 |
|
---|
| 8333 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8334 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
|
---|
| 8335 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
---|
[16568] | 8336 | _ACEOF
|
---|
[20848] | 8337 | sed '
|
---|
| 8338 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
---|
| 8339 | s/^/s,@/; s/!/@,|#_!!_#|/
|
---|
| 8340 | :n
|
---|
| 8341 | t n
|
---|
| 8342 | s/'"$ac_delim"'$/,g/; t
|
---|
| 8343 | s/$/\\/; p
|
---|
| 8344 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
---|
| 8345 | ' >>$CONFIG_STATUS <conf$$subs.sed
|
---|
| 8346 | rm -f conf$$subs.sed
|
---|
| 8347 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8348 | :end
|
---|
| 8349 | s/|#_!!_#|//g
|
---|
| 8350 | CEOF$ac_eof
|
---|
| 8351 | _ACEOF
|
---|
| 8352 |
|
---|
| 8353 |
|
---|
| 8354 | # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
---|
| 8355 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
---|
| 8356 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 8357 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 8358 | if test "x$srcdir" = x.; then
|
---|
| 8359 | ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
---|
| 8360 | s/:*\$(srcdir):*/:/
|
---|
| 8361 | s/:*\${srcdir}:*/:/
|
---|
| 8362 | s/:*@srcdir@:*/:/
|
---|
| 8363 | s/^\([^=]*=[ ]*\):*/\1/
|
---|
| 8364 | s/:*$//
|
---|
| 8365 | s/^[^=]*=[ ]*$//
|
---|
| 8366 | }'
|
---|
| 8367 | fi
|
---|
| 8368 |
|
---|
[16568] | 8369 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[20848] | 8370 | fi # test -n "$CONFIG_FILES"
|
---|
| 8371 |
|
---|
| 8372 |
|
---|
| 8373 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
|
---|
| 8374 | do
|
---|
| 8375 | case $ac_tag in
|
---|
| 8376 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
[16568] | 8377 | esac
|
---|
[20848] | 8378 | case $ac_mode$ac_tag in
|
---|
| 8379 | :[FHL]*:*);;
|
---|
| 8380 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
---|
| 8381 | echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
---|
| 8382 | { (exit 1); exit 1; }; };;
|
---|
| 8383 | :[FH]-) ac_tag=-:-;;
|
---|
| 8384 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
| 8385 | esac
|
---|
| 8386 | ac_save_IFS=$IFS
|
---|
| 8387 | IFS=:
|
---|
| 8388 | set x $ac_tag
|
---|
| 8389 | IFS=$ac_save_IFS
|
---|
| 8390 | shift
|
---|
| 8391 | ac_file=$1
|
---|
| 8392 | shift
|
---|
[16568] | 8393 |
|
---|
[20848] | 8394 | case $ac_mode in
|
---|
| 8395 | :L) ac_source=$1;;
|
---|
| 8396 | :[FH])
|
---|
| 8397 | ac_file_inputs=
|
---|
| 8398 | for ac_f
|
---|
| 8399 | do
|
---|
| 8400 | case $ac_f in
|
---|
| 8401 | -) ac_f="$tmp/stdin";;
|
---|
| 8402 | *) # Look for the file first in the build tree, then in the source tree
|
---|
| 8403 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
| 8404 | # because $ac_f cannot contain `:'.
|
---|
| 8405 | test -f "$ac_f" ||
|
---|
| 8406 | case $ac_f in
|
---|
| 8407 | [\\/$]*) false;;
|
---|
| 8408 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
| 8409 | esac ||
|
---|
| 8410 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
---|
| 8411 | echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
---|
| 8412 | { (exit 1); exit 1; }; };;
|
---|
| 8413 | esac
|
---|
| 8414 | ac_file_inputs="$ac_file_inputs $ac_f"
|
---|
| 8415 | done
|
---|
| 8416 |
|
---|
| 8417 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 8418 | # use $as_me), people would be surprised to read:
|
---|
| 8419 | # /* config.h. Generated by config.status. */
|
---|
| 8420 | configure_input="Generated from "`IFS=:
|
---|
| 8421 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
|
---|
| 8422 | if test x"$ac_file" != x-; then
|
---|
| 8423 | configure_input="$ac_file. $configure_input"
|
---|
| 8424 | { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
| 8425 | echo "$as_me: creating $ac_file" >&6;}
|
---|
| 8426 | fi
|
---|
| 8427 |
|
---|
| 8428 | case $ac_tag in
|
---|
| 8429 | *:-:* | *:-) cat >"$tmp/stdin";;
|
---|
| 8430 | esac
|
---|
| 8431 | ;;
|
---|
| 8432 | esac
|
---|
| 8433 |
|
---|
| 8434 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
[16568] | 8435 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 8436 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 8437 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
[20848] | 8438 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
[16568] | 8439 | echo X"$ac_file" |
|
---|
[20848] | 8440 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 8441 | s//\1/
|
---|
| 8442 | q
|
---|
| 8443 | }
|
---|
| 8444 | /^X\(\/\/\)[^/].*/{
|
---|
| 8445 | s//\1/
|
---|
| 8446 | q
|
---|
| 8447 | }
|
---|
| 8448 | /^X\(\/\/\)$/{
|
---|
| 8449 | s//\1/
|
---|
| 8450 | q
|
---|
| 8451 | }
|
---|
| 8452 | /^X\(\/\).*/{
|
---|
| 8453 | s//\1/
|
---|
| 8454 | q
|
---|
| 8455 | }
|
---|
| 8456 | s/.*/./; q'`
|
---|
| 8457 | { as_dir="$ac_dir"
|
---|
| 8458 | case $as_dir in #(
|
---|
| 8459 | -*) as_dir=./$as_dir;;
|
---|
| 8460 | esac
|
---|
| 8461 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
---|
[16568] | 8462 | as_dirs=
|
---|
[20848] | 8463 | while :; do
|
---|
| 8464 | case $as_dir in #(
|
---|
| 8465 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
---|
| 8466 | *) as_qdir=$as_dir;;
|
---|
| 8467 | esac
|
---|
| 8468 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 8469 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
[16568] | 8470 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 8471 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 8472 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
[20848] | 8473 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
[16568] | 8474 | echo X"$as_dir" |
|
---|
[20848] | 8475 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 8476 | s//\1/
|
---|
| 8477 | q
|
---|
| 8478 | }
|
---|
| 8479 | /^X\(\/\/\)[^/].*/{
|
---|
| 8480 | s//\1/
|
---|
| 8481 | q
|
---|
| 8482 | }
|
---|
| 8483 | /^X\(\/\/\)$/{
|
---|
| 8484 | s//\1/
|
---|
| 8485 | q
|
---|
| 8486 | }
|
---|
| 8487 | /^X\(\/\).*/{
|
---|
| 8488 | s//\1/
|
---|
| 8489 | q
|
---|
| 8490 | }
|
---|
| 8491 | s/.*/./; q'`
|
---|
| 8492 | test -d "$as_dir" && break
|
---|
[16568] | 8493 | done
|
---|
[20848] | 8494 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 8495 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
---|
| 8496 | echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
---|
[16568] | 8497 | { (exit 1); exit 1; }; }; }
|
---|
| 8498 | ac_builddir=.
|
---|
| 8499 |
|
---|
[20848] | 8500 | case "$ac_dir" in
|
---|
| 8501 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8502 | *)
|
---|
[16568] | 8503 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
[20848] | 8504 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 8505 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
---|
| 8506 | case $ac_top_builddir_sub in
|
---|
| 8507 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8508 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 8509 | esac ;;
|
---|
| 8510 | esac
|
---|
| 8511 | ac_abs_top_builddir=$ac_pwd
|
---|
| 8512 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 8513 | # for backward compatibility:
|
---|
| 8514 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16568] | 8515 |
|
---|
| 8516 | case $srcdir in
|
---|
[20848] | 8517 | .) # We are building in place.
|
---|
[16568] | 8518 | ac_srcdir=.
|
---|
[20848] | 8519 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 8520 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 8521 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16568] | 8522 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[20848] | 8523 | ac_top_srcdir=$srcdir
|
---|
| 8524 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 8525 | *) # Relative name.
|
---|
| 8526 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 8527 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 8528 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16568] | 8529 | esac
|
---|
[20848] | 8530 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16568] | 8531 |
|
---|
| 8532 |
|
---|
[20848] | 8533 | case $ac_mode in
|
---|
| 8534 | :F)
|
---|
| 8535 | #
|
---|
| 8536 | # CONFIG_FILE
|
---|
| 8537 | #
|
---|
[16568] | 8538 |
|
---|
| 8539 | case $INSTALL in
|
---|
| 8540 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
[20848] | 8541 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
---|
[16568] | 8542 | esac
|
---|
[20848] | 8543 | _ACEOF
|
---|
[16568] | 8544 |
|
---|
[20848] | 8545 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 8546 | # If the template does not know about datarootdir, expand it.
|
---|
| 8547 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
| 8548 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
[16568] | 8549 |
|
---|
[20848] | 8550 | case `sed -n '/datarootdir/ {
|
---|
| 8551 | p
|
---|
| 8552 | q
|
---|
| 8553 | }
|
---|
| 8554 | /@datadir@/p
|
---|
| 8555 | /@docdir@/p
|
---|
| 8556 | /@infodir@/p
|
---|
| 8557 | /@localedir@/p
|
---|
| 8558 | /@mandir@/p
|
---|
| 8559 | ' $ac_file_inputs` in
|
---|
| 8560 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
| 8561 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
| 8562 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
| 8563 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
[16568] | 8564 | _ACEOF
|
---|
| 8565 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
[20848] | 8566 | ac_datarootdir_hack='
|
---|
| 8567 | s&@datadir@&$datadir&g
|
---|
| 8568 | s&@docdir@&$docdir&g
|
---|
| 8569 | s&@infodir@&$infodir&g
|
---|
| 8570 | s&@localedir@&$localedir&g
|
---|
| 8571 | s&@mandir@&$mandir&g
|
---|
| 8572 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
| 8573 | esac
|
---|
| 8574 | _ACEOF
|
---|
| 8575 |
|
---|
| 8576 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
| 8577 | # Shell code in configure.ac might set extrasub.
|
---|
| 8578 | # FIXME: do we really want to maintain this feature?
|
---|
| 8579 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
[16568] | 8580 | sed "$ac_vpsub
|
---|
| 8581 | $extrasub
|
---|
| 8582 | _ACEOF
|
---|
| 8583 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 8584 | :t
|
---|
| 8585 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[20848] | 8586 | s&@configure_input@&$configure_input&;t t
|
---|
| 8587 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
| 8588 | s&@srcdir@&$ac_srcdir&;t t
|
---|
| 8589 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
| 8590 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
| 8591 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
| 8592 | s&@builddir@&$ac_builddir&;t t
|
---|
| 8593 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
| 8594 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
| 8595 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
| 8596 | $ac_datarootdir_hack
|
---|
| 8597 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
|
---|
[16568] | 8598 |
|
---|
[20848] | 8599 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
| 8600 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
---|
| 8601 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
---|
| 8602 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 8603 | which seems to be undefined. Please make sure it is defined." >&5
|
---|
| 8604 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
| 8605 | which seems to be undefined. Please make sure it is defined." >&2;}
|
---|
[16568] | 8606 |
|
---|
[20848] | 8607 | rm -f "$tmp/stdin"
|
---|
[16568] | 8608 | case $ac_file in
|
---|
[20848] | 8609 | -) cat "$tmp/out"; rm -f "$tmp/out";;
|
---|
| 8610 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
|
---|
[16568] | 8611 | esac
|
---|
[20848] | 8612 | ;;
|
---|
| 8613 | :H)
|
---|
| 8614 | #
|
---|
| 8615 | # CONFIG_HEADER
|
---|
| 8616 | #
|
---|
| 8617 | _ACEOF
|
---|
[16568] | 8618 |
|
---|
[20848] | 8619 | # Transform confdefs.h into a sed script `conftest.defines', that
|
---|
| 8620 | # substitutes the proper values into config.h.in to produce config.h.
|
---|
| 8621 | rm -f conftest.defines conftest.tail
|
---|
| 8622 | # First, append a space to every undef/define line, to ease matching.
|
---|
| 8623 | echo 's/$/ /' >conftest.defines
|
---|
| 8624 | # Then, protect against being on the right side of a sed subst, or in
|
---|
| 8625 | # an unquoted here document, in config.status. If some macros were
|
---|
| 8626 | # called several times there might be several #defines for the same
|
---|
| 8627 | # symbol, which is useless. But do not sort them, since the last
|
---|
| 8628 | # AC_DEFINE must be honored.
|
---|
| 8629 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
---|
| 8630 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
|
---|
| 8631 | # NAME is the cpp macro being defined, VALUE is the value it is being given.
|
---|
| 8632 | # PARAMS is the parameter list in the macro definition--in most cases, it's
|
---|
| 8633 | # just an empty string.
|
---|
| 8634 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
|
---|
| 8635 | ac_dB='\\)[ (].*,\\1define\\2'
|
---|
| 8636 | ac_dC=' '
|
---|
| 8637 | ac_dD=' ,'
|
---|
[16568] | 8638 |
|
---|
[20848] | 8639 | uniq confdefs.h |
|
---|
| 8640 | sed -n '
|
---|
| 8641 | t rset
|
---|
| 8642 | :rset
|
---|
| 8643 | s/^[ ]*#[ ]*define[ ][ ]*//
|
---|
| 8644 | t ok
|
---|
| 8645 | d
|
---|
| 8646 | :ok
|
---|
| 8647 | s/[\\&,]/\\&/g
|
---|
| 8648 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
|
---|
| 8649 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
|
---|
| 8650 | ' >>conftest.defines
|
---|
[16568] | 8651 |
|
---|
[20848] | 8652 | # Remove the space that was appended to ease matching.
|
---|
| 8653 | # Then replace #undef with comments. This is necessary, for
|
---|
[16568] | 8654 | # example, in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 8655 | # on some systems where configure will not decide to define it.
|
---|
[20848] | 8656 | # (The regexp can be short, since the line contains either #define or #undef.)
|
---|
| 8657 | echo 's/ $//
|
---|
| 8658 | s,^[ #]*u.*,/* & */,' >>conftest.defines
|
---|
[16568] | 8659 |
|
---|
[20848] | 8660 | # Break up conftest.defines:
|
---|
| 8661 | ac_max_sed_lines=50
|
---|
| 8662 |
|
---|
| 8663 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
|
---|
| 8664 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
|
---|
| 8665 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
|
---|
| 8666 | # et cetera.
|
---|
| 8667 | ac_in='$ac_file_inputs'
|
---|
| 8668 | ac_out='"$tmp/out1"'
|
---|
| 8669 | ac_nxt='"$tmp/out2"'
|
---|
| 8670 |
|
---|
| 8671 | while :
|
---|
[16568] | 8672 | do
|
---|
[20848] | 8673 | # Write a here document:
|
---|
| 8674 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8675 | # First, check the format of the line:
|
---|
| 8676 | cat >"\$tmp/defines.sed" <<\\CEOF
|
---|
| 8677 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
|
---|
| 8678 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
|
---|
| 8679 | b
|
---|
| 8680 | :def
|
---|
| 8681 | _ACEOF
|
---|
| 8682 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
|
---|
[16568] | 8683 | echo 'CEOF
|
---|
[20848] | 8684 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
|
---|
| 8685 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
|
---|
| 8686 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
|
---|
| 8687 | grep . conftest.tail >/dev/null || break
|
---|
[16568] | 8688 | rm -f conftest.defines
|
---|
| 8689 | mv conftest.tail conftest.defines
|
---|
| 8690 | done
|
---|
[20848] | 8691 | rm -f conftest.defines conftest.tail
|
---|
[16568] | 8692 |
|
---|
[20848] | 8693 | echo "ac_result=$ac_in" >>$CONFIG_STATUS
|
---|
[16568] | 8694 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 8695 | if test x"$ac_file" != x-; then
|
---|
[20848] | 8696 | echo "/* $configure_input */" >"$tmp/config.h"
|
---|
| 8697 | cat "$ac_result" >>"$tmp/config.h"
|
---|
| 8698 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
|
---|
[16568] | 8699 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
---|
| 8700 | echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
| 8701 | else
|
---|
| 8702 | rm -f $ac_file
|
---|
[20848] | 8703 | mv "$tmp/config.h" $ac_file
|
---|
[16568] | 8704 | fi
|
---|
| 8705 | else
|
---|
[20848] | 8706 | echo "/* $configure_input */"
|
---|
| 8707 | cat "$ac_result"
|
---|
[16568] | 8708 | fi
|
---|
[20848] | 8709 | rm -f "$tmp/out12"
|
---|
| 8710 | ;;
|
---|
[16568] | 8711 |
|
---|
| 8712 |
|
---|
[20848] | 8713 | esac
|
---|
| 8714 |
|
---|
| 8715 | done # for ac_tag
|
---|
| 8716 |
|
---|
| 8717 |
|
---|
[16568] | 8718 | { (exit 0); exit 0; }
|
---|
| 8719 | _ACEOF
|
---|
| 8720 | chmod +x $CONFIG_STATUS
|
---|
| 8721 | ac_clean_files=$ac_clean_files_save
|
---|
| 8722 |
|
---|
| 8723 |
|
---|
| 8724 | # configure is writing to config.log, and then calls config.status.
|
---|
| 8725 | # config.status does its own redirection, appending to config.log.
|
---|
| 8726 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 8727 | # by configure, so config.status won't be able to write to it; its
|
---|
| 8728 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 8729 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 8730 | # appended to by config.status. When coming back to configure, we
|
---|
| 8731 | # need to make the FD available again.
|
---|
| 8732 | if test "$no_create" != yes; then
|
---|
| 8733 | ac_cs_success=:
|
---|
| 8734 | ac_config_status_args=
|
---|
| 8735 | test "$silent" = yes &&
|
---|
| 8736 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 8737 | exec 5>/dev/null
|
---|
| 8738 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 8739 | exec 5>>config.log
|
---|
| 8740 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 8741 | # would make configure fail if this is the last instruction.
|
---|
| 8742 | $ac_cs_success || { (exit 1); exit 1; }
|
---|
| 8743 | fi
|
---|
| 8744 |
|
---|
| 8745 | #
|
---|
| 8746 | # CONFIG_SUBDIRS section.
|
---|
| 8747 | #
|
---|
| 8748 | if test "$no_recursion" != yes; then
|
---|
| 8749 |
|
---|
| 8750 | # Remove --cache-file and --srcdir arguments so they do not pile up.
|
---|
| 8751 | ac_sub_configure_args=
|
---|
| 8752 | ac_prev=
|
---|
[20848] | 8753 | eval "set x $ac_configure_args"
|
---|
| 8754 | shift
|
---|
| 8755 | for ac_arg
|
---|
| 8756 | do
|
---|
[16568] | 8757 | if test -n "$ac_prev"; then
|
---|
| 8758 | ac_prev=
|
---|
| 8759 | continue
|
---|
| 8760 | fi
|
---|
| 8761 | case $ac_arg in
|
---|
| 8762 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 8763 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 8764 | ac_prev=cache_file ;;
|
---|
| 8765 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 8766 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
---|
| 8767 | | --c=*)
|
---|
| 8768 | ;;
|
---|
| 8769 | --config-cache | -C)
|
---|
| 8770 | ;;
|
---|
| 8771 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 8772 | ac_prev=srcdir ;;
|
---|
| 8773 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 8774 | ;;
|
---|
| 8775 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 8776 | ac_prev=prefix ;;
|
---|
| 8777 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 8778 | ;;
|
---|
[20848] | 8779 | *)
|
---|
| 8780 | case $ac_arg in
|
---|
| 8781 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 8782 | esac
|
---|
| 8783 | ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
|
---|
[16568] | 8784 | esac
|
---|
| 8785 | done
|
---|
| 8786 |
|
---|
| 8787 | # Always prepend --prefix to ensure using the same prefix
|
---|
| 8788 | # in subdir configurations.
|
---|
[20848] | 8789 | ac_arg="--prefix=$prefix"
|
---|
| 8790 | case $ac_arg in
|
---|
| 8791 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
| 8792 | esac
|
---|
| 8793 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
|
---|
[16568] | 8794 |
|
---|
[20848] | 8795 | # Pass --silent
|
---|
| 8796 | if test "$silent" = yes; then
|
---|
| 8797 | ac_sub_configure_args="--silent $ac_sub_configure_args"
|
---|
| 8798 | fi
|
---|
| 8799 |
|
---|
[16568] | 8800 | ac_popdir=`pwd`
|
---|
| 8801 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
---|
| 8802 |
|
---|
| 8803 | # Do not complain, so a configure script can configure whichever
|
---|
| 8804 | # parts of a large source tree are present.
|
---|
[20848] | 8805 | test -d "$srcdir/$ac_dir" || continue
|
---|
[16568] | 8806 |
|
---|
[20848] | 8807 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
|
---|
| 8808 | echo "$as_me:$LINENO: $ac_msg" >&5
|
---|
| 8809 | echo "$ac_msg" >&6
|
---|
| 8810 | { as_dir="$ac_dir"
|
---|
| 8811 | case $as_dir in #(
|
---|
| 8812 | -*) as_dir=./$as_dir;;
|
---|
| 8813 | esac
|
---|
| 8814 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
---|
[16568] | 8815 | as_dirs=
|
---|
[20848] | 8816 | while :; do
|
---|
| 8817 | case $as_dir in #(
|
---|
| 8818 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
---|
| 8819 | *) as_qdir=$as_dir;;
|
---|
| 8820 | esac
|
---|
| 8821 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 8822 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
[16568] | 8823 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 8824 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 8825 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
[20848] | 8826 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
[16568] | 8827 | echo X"$as_dir" |
|
---|
[20848] | 8828 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 8829 | s//\1/
|
---|
| 8830 | q
|
---|
| 8831 | }
|
---|
| 8832 | /^X\(\/\/\)[^/].*/{
|
---|
| 8833 | s//\1/
|
---|
| 8834 | q
|
---|
| 8835 | }
|
---|
| 8836 | /^X\(\/\/\)$/{
|
---|
| 8837 | s//\1/
|
---|
| 8838 | q
|
---|
| 8839 | }
|
---|
| 8840 | /^X\(\/\).*/{
|
---|
| 8841 | s//\1/
|
---|
| 8842 | q
|
---|
| 8843 | }
|
---|
| 8844 | s/.*/./; q'`
|
---|
| 8845 | test -d "$as_dir" && break
|
---|
[16568] | 8846 | done
|
---|
[20848] | 8847 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
| 8848 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
---|
| 8849 | echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
---|
[16568] | 8850 | { (exit 1); exit 1; }; }; }
|
---|
| 8851 | ac_builddir=.
|
---|
| 8852 |
|
---|
[20848] | 8853 | case "$ac_dir" in
|
---|
| 8854 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8855 | *)
|
---|
[16568] | 8856 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
[20848] | 8857 | # A ".." for each directory in $ac_dir_suffix.
|
---|
| 8858 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
---|
| 8859 | case $ac_top_builddir_sub in
|
---|
| 8860 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8861 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 8862 | esac ;;
|
---|
| 8863 | esac
|
---|
| 8864 | ac_abs_top_builddir=$ac_pwd
|
---|
| 8865 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 8866 | # for backward compatibility:
|
---|
| 8867 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16568] | 8868 |
|
---|
| 8869 | case $srcdir in
|
---|
[20848] | 8870 | .) # We are building in place.
|
---|
[16568] | 8871 | ac_srcdir=.
|
---|
[20848] | 8872 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 8873 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 8874 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16568] | 8875 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[20848] | 8876 | ac_top_srcdir=$srcdir
|
---|
| 8877 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 8878 | *) # Relative name.
|
---|
| 8879 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 8880 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 8881 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16568] | 8882 | esac
|
---|
[20848] | 8883 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16568] | 8884 |
|
---|
| 8885 |
|
---|
[20848] | 8886 | cd "$ac_dir"
|
---|
[16568] | 8887 |
|
---|
| 8888 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
[20848] | 8889 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 8890 | ac_sub_configure=$ac_srcdir/configure.gnu
|
---|
| 8891 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 8892 | ac_sub_configure=$ac_srcdir/configure
|
---|
| 8893 | elif test -f "$ac_srcdir/configure.in"; then
|
---|
| 8894 | # This should be Cygnus configure.
|
---|
| 8895 | ac_sub_configure=$ac_aux_dir/configure
|
---|
[16568] | 8896 | else
|
---|
| 8897 | { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
|
---|
| 8898 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
---|
| 8899 | ac_sub_configure=
|
---|
| 8900 | fi
|
---|
| 8901 |
|
---|
| 8902 | # The recursion is here.
|
---|
| 8903 | if test -n "$ac_sub_configure"; then
|
---|
| 8904 | # Make the cache file name correct relative to the subdirectory.
|
---|
| 8905 | case $cache_file in
|
---|
| 8906 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
---|
[20848] | 8907 | *) # Relative name.
|
---|
| 8908 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
|
---|
[16568] | 8909 | esac
|
---|
| 8910 |
|
---|
[20848] | 8911 | { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
|
---|
| 8912 | echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
---|
[16568] | 8913 | # The eval makes quoting arguments work.
|
---|
[20848] | 8914 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
|
---|
| 8915 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
|
---|
[16568] | 8916 | { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
|
---|
| 8917 | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
|
---|
| 8918 | { (exit 1); exit 1; }; }
|
---|
| 8919 | fi
|
---|
| 8920 |
|
---|
[20848] | 8921 | cd "$ac_popdir"
|
---|
[16568] | 8922 | done
|
---|
| 8923 | fi
|
---|
| 8924 |
|
---|
| 8925 |
|
---|
| 8926 |
|
---|