[16589] | 1 | #! /bin/sh
|
---|
| 2 | # Guess values for system-dependent variables and create Makefiles.
|
---|
[28328] | 3 | # Generated by GNU Autoconf 2.61.
|
---|
[16589] | 4 | #
|
---|
[25215] | 5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
[28328] | 6 | # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
---|
[16589] | 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 |
|
---|
[25215] | 13 | # Be more Bourne compatible
|
---|
| 14 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[16589] | 15 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 16 | emulate sh
|
---|
| 17 | NULLCMD=:
|
---|
[28328] | 18 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
[16589] | 19 | # is contrary to our usage. Disable this feature.
|
---|
| 20 | alias -g '${1+"$@"}'='"$@"'
|
---|
[25215] | 21 | setopt NO_GLOB_SUBST
|
---|
| 22 | else
|
---|
| 23 | case `(set -o) 2>/dev/null` in
|
---|
| 24 | *posix*) set -o posix ;;
|
---|
| 25 | esac
|
---|
| 26 |
|
---|
[16589] | 27 | fi
|
---|
| 28 |
|
---|
[25215] | 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 |
|
---|
[28328] | 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=';'
|
---|
[25215] | 47 | else
|
---|
[28328] | 48 | PATH_SEPARATOR=:
|
---|
[25215] | 49 | fi
|
---|
[28328] | 50 | rm -f conf$$.sh
|
---|
[25215] | 51 | fi
|
---|
| 52 |
|
---|
[16589] | 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 |
|
---|
[25215] | 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.)
|
---|
[28328] | 66 | as_nl='
|
---|
| 67 | '
|
---|
[25215] | 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
|
---|
[28328] | 90 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
[25215] | 91 | { (exit 1); exit 1; }
|
---|
| 92 | fi
|
---|
| 93 |
|
---|
[16589] | 94 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
[25215] | 95 | for as_var in ENV MAIL MAILPATH
|
---|
| 96 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
| 97 | done
|
---|
[16589] | 98 | PS1='$ '
|
---|
| 99 | PS2='> '
|
---|
| 100 | PS4='+ '
|
---|
| 101 |
|
---|
| 102 | # NLS nuisances.
|
---|
[28328] | 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
|
---|
| 111 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
| 112 | fi
|
---|
| 113 | done
|
---|
[16589] | 114 |
|
---|
| 115 | # Required to use basename.
|
---|
[25215] | 116 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 117 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16589] | 118 | as_expr=expr
|
---|
| 119 | else
|
---|
| 120 | as_expr=false
|
---|
| 121 | fi
|
---|
| 122 |
|
---|
[25215] | 123 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[16589] | 124 | as_basename=basename
|
---|
| 125 | else
|
---|
| 126 | as_basename=false
|
---|
| 127 | fi
|
---|
| 128 |
|
---|
| 129 |
|
---|
| 130 | # Name of the executable.
|
---|
[25215] | 131 | as_me=`$as_basename -- "$0" ||
|
---|
[16589] | 132 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 133 | X"$0" : 'X\(//\)$' \| \
|
---|
[25215] | 134 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
[28328] | 135 | echo X/"$0" |
|
---|
[25215] | 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'`
|
---|
[16589] | 149 |
|
---|
[25215] | 150 | # CDPATH.
|
---|
| 151 | $as_unset CDPATH
|
---|
[16589] | 152 |
|
---|
| 153 |
|
---|
[25215] | 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
|
---|
[16589] | 159 | fi
|
---|
| 160 |
|
---|
[28328] | 161 | if test $as_have_required = yes && (eval ":
|
---|
[25215] | 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 | }
|
---|
[16589] | 177 |
|
---|
[25215] | 178 | exitcode=0
|
---|
| 179 | if as_func_success; then
|
---|
| 180 | :
|
---|
| 181 | else
|
---|
| 182 | exitcode=1
|
---|
| 183 | echo as_func_success failed.
|
---|
| 184 | fi
|
---|
[16589] | 185 |
|
---|
[25215] | 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=
|
---|
[16589] | 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=.
|
---|
[25215] | 226 | case $as_dir in
|
---|
[16589] | 227 | /*)
|
---|
[25215] | 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=:
|
---|
[28328] | 243 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
[25215] | 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=:
|
---|
[28328] | 264 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
[25215] | 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 | (
|
---|
[16589] | 328 | as_lineno_1=$LINENO
|
---|
| 329 | as_lineno_2=$LINENO
|
---|
| 330 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
[25215] | 331 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
---|
[16589] | 332 |
|
---|
[25215] | 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
|
---|
[28328] | 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+"$@"}
|
---|
[25215] | 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.
|
---|
[28328] | 416 | echo Please tell [email protected] about your system,
|
---|
| 417 | echo including any error possibly output before this
|
---|
| 418 | echo message
|
---|
[25215] | 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 |
|
---|
[16589] | 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
|
---|
[25215] | 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.
|
---|
[16589] | 435 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
[25215] | 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 |
|
---|
[16589] | 442 | sed '
|
---|
[25215] | 443 | s/[$]LINENO.*/&-/
|
---|
| 444 | t lineno
|
---|
| 445 | b
|
---|
| 446 | :lineno
|
---|
[16589] | 447 | N
|
---|
[25215] | 448 | :loop
|
---|
| 449 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
[16589] | 450 | t loop
|
---|
[25215] | 451 | s/-\n.*//
|
---|
[16589] | 452 | ' >$as_me.lineno &&
|
---|
[25215] | 453 | chmod +x "$as_me.lineno" ||
|
---|
[28328] | 454 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
---|
[16589] | 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
|
---|
[25215] | 459 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 460 | . "./$as_me.lineno"
|
---|
[16589] | 461 | # Exit status is that of the last command.
|
---|
| 462 | exit
|
---|
| 463 | }
|
---|
| 464 |
|
---|
| 465 |
|
---|
[25215] | 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';;
|
---|
[16589] | 481 | esac
|
---|
[28328] | 482 |
|
---|
[25215] | 483 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 484 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16589] | 485 | as_expr=expr
|
---|
| 486 | else
|
---|
| 487 | as_expr=false
|
---|
| 488 | fi
|
---|
| 489 |
|
---|
| 490 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
[25215] | 491 | if test -d conf$$.dir; then
|
---|
| 492 | rm -f conf$$.dir/conf$$.file
|
---|
| 493 | else
|
---|
| 494 | rm -f conf$$.dir
|
---|
[28328] | 495 | mkdir conf$$.dir
|
---|
[25215] | 496 | fi
|
---|
[28328] | 497 | echo >conf$$.file
|
---|
| 498 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 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 ||
|
---|
[16589] | 505 | as_ln_s='cp -p'
|
---|
[28328] | 506 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 507 | as_ln_s=ln
|
---|
[16589] | 508 | else
|
---|
| 509 | as_ln_s='cp -p'
|
---|
| 510 | fi
|
---|
[25215] | 511 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 512 | rmdir conf$$.dir 2>/dev/null
|
---|
[16589] | 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 |
|
---|
[25215] | 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
|
---|
[28328] | 532 | test -d "$1/.";
|
---|
[25215] | 533 | else
|
---|
| 534 | case $1 in
|
---|
[28328] | 535 | -*)set "./$1";;
|
---|
[25215] | 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
|
---|
[16589] | 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 |
|
---|
[25215] | 552 | exec 7<&0 </dev/null 6>&1
|
---|
[16589] | 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
|
---|
[25215] | 563 | ac_clean_files=
|
---|
[16589] | 564 | ac_config_libobj_dir=.
|
---|
[25215] | 565 | LIBOBJS=
|
---|
[16589] | 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>
|
---|
[25215] | 582 | #ifdef HAVE_SYS_TYPES_H
|
---|
[16589] | 583 | # include <sys/types.h>
|
---|
| 584 | #endif
|
---|
[25215] | 585 | #ifdef HAVE_SYS_STAT_H
|
---|
[16589] | 586 | # include <sys/stat.h>
|
---|
| 587 | #endif
|
---|
[25215] | 588 | #ifdef STDC_HEADERS
|
---|
[16589] | 589 | # include <stdlib.h>
|
---|
| 590 | # include <stddef.h>
|
---|
| 591 | #else
|
---|
[25215] | 592 | # ifdef HAVE_STDLIB_H
|
---|
[16589] | 593 | # include <stdlib.h>
|
---|
| 594 | # endif
|
---|
| 595 | #endif
|
---|
[25215] | 596 | #ifdef HAVE_STRING_H
|
---|
| 597 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
---|
[16589] | 598 | # include <memory.h>
|
---|
| 599 | # endif
|
---|
| 600 | # include <string.h>
|
---|
| 601 | #endif
|
---|
[25215] | 602 | #ifdef HAVE_STRINGS_H
|
---|
[16589] | 603 | # include <strings.h>
|
---|
| 604 | #endif
|
---|
[25215] | 605 | #ifdef HAVE_INTTYPES_H
|
---|
[16589] | 606 | # include <inttypes.h>
|
---|
| 607 | #endif
|
---|
[25215] | 608 | #ifdef HAVE_STDINT_H
|
---|
| 609 | # include <stdint.h>
|
---|
| 610 | #endif
|
---|
| 611 | #ifdef HAVE_UNISTD_H
|
---|
[16589] | 612 | # include <unistd.h>
|
---|
| 613 | #endif"
|
---|
| 614 |
|
---|
[28328] | 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 | ENABLE_JNI
|
---|
| 664 | ENABLE_MG
|
---|
| 665 | ENABLE_MGPP
|
---|
| 666 | ENABLE_LUCENE
|
---|
| 667 | ENABLE_GNOMELIB_EXT
|
---|
| 668 | LDFLAGS
|
---|
| 669 | CFLAGS
|
---|
| 670 | CC
|
---|
| 671 | CPPFLAGS
|
---|
| 672 | ac_ct_CC
|
---|
| 673 | EXEEXT
|
---|
| 674 | OBJEXT
|
---|
| 675 | CXX
|
---|
| 676 | CXXFLAGS
|
---|
| 677 | ac_ct_CXX
|
---|
| 678 | AWK
|
---|
| 679 | YACC
|
---|
| 680 | YFLAGS
|
---|
| 681 | build
|
---|
| 682 | build_cpu
|
---|
| 683 | build_vendor
|
---|
| 684 | build_os
|
---|
| 685 | host
|
---|
| 686 | host_cpu
|
---|
| 687 | host_vendor
|
---|
| 688 | host_os
|
---|
| 689 | target
|
---|
| 690 | target_cpu
|
---|
| 691 | target_vendor
|
---|
| 692 | target_os
|
---|
| 693 | INSTALL_PROGRAM
|
---|
| 694 | INSTALL_SCRIPT
|
---|
| 695 | INSTALL_DATA
|
---|
| 696 | LN_S
|
---|
| 697 | SET_MAKE
|
---|
| 698 | RANLIB
|
---|
| 699 | ARCH_DEP_FLAGS
|
---|
| 700 | MICO_VER
|
---|
| 701 | CPP
|
---|
| 702 | GREP
|
---|
| 703 | EGREP
|
---|
| 704 | U
|
---|
| 705 | ANSI2KNR
|
---|
| 706 | ALLOCA
|
---|
| 707 | LIBOBJS
|
---|
| 708 | STATIC
|
---|
| 709 | gsdlos
|
---|
| 710 | MODULEDIRS
|
---|
[25215] | 711 | subdirs
|
---|
[28328] | 712 | LTLIBOBJS'
|
---|
[16589] | 713 | ac_subst_files=''
|
---|
[25215] | 714 | ac_precious_vars='build_alias
|
---|
| 715 | host_alias
|
---|
| 716 | target_alias
|
---|
| 717 | CC
|
---|
| 718 | CFLAGS
|
---|
| 719 | LDFLAGS
|
---|
| 720 | LIBS
|
---|
| 721 | CPPFLAGS
|
---|
| 722 | CXX
|
---|
| 723 | CXXFLAGS
|
---|
| 724 | CCC
|
---|
| 725 | YACC
|
---|
| 726 | YFLAGS
|
---|
| 727 | CPP'
|
---|
| 728 | ac_subdirs_all='common-src
|
---|
| 729 | build-src
|
---|
| 730 | runtime-src'
|
---|
[16589] | 731 |
|
---|
| 732 | # Initialize some variables set by options.
|
---|
| 733 | ac_init_help=
|
---|
| 734 | ac_init_version=false
|
---|
| 735 | # The variables have the same names as the options, with
|
---|
| 736 | # dashes changed to underlines.
|
---|
| 737 | cache_file=/dev/null
|
---|
| 738 | exec_prefix=NONE
|
---|
| 739 | no_create=
|
---|
| 740 | no_recursion=
|
---|
| 741 | prefix=NONE
|
---|
| 742 | program_prefix=NONE
|
---|
| 743 | program_suffix=NONE
|
---|
| 744 | program_transform_name=s,x,x,
|
---|
| 745 | silent=
|
---|
| 746 | site=
|
---|
| 747 | srcdir=
|
---|
| 748 | verbose=
|
---|
| 749 | x_includes=NONE
|
---|
| 750 | x_libraries=NONE
|
---|
| 751 |
|
---|
| 752 | # Installation directory options.
|
---|
| 753 | # These are left unexpanded so users can "make install exec_prefix=/foo"
|
---|
| 754 | # and all the variables that are supposed to be based on exec_prefix
|
---|
| 755 | # by default will actually change.
|
---|
| 756 | # Use braces instead of parens because sh, perl, etc. also accept them.
|
---|
[25215] | 757 | # (The list follows the same order as the GNU Coding Standards.)
|
---|
[16589] | 758 | bindir='${exec_prefix}/bin'
|
---|
| 759 | sbindir='${exec_prefix}/sbin'
|
---|
| 760 | libexecdir='${exec_prefix}/libexec'
|
---|
[25215] | 761 | datarootdir='${prefix}/share'
|
---|
| 762 | datadir='${datarootdir}'
|
---|
[16589] | 763 | sysconfdir='${prefix}/etc'
|
---|
| 764 | sharedstatedir='${prefix}/com'
|
---|
| 765 | localstatedir='${prefix}/var'
|
---|
| 766 | includedir='${prefix}/include'
|
---|
| 767 | oldincludedir='/usr/include'
|
---|
[25215] | 768 | docdir='${datarootdir}/doc/${PACKAGE}'
|
---|
| 769 | infodir='${datarootdir}/info'
|
---|
| 770 | htmldir='${docdir}'
|
---|
| 771 | dvidir='${docdir}'
|
---|
| 772 | pdfdir='${docdir}'
|
---|
| 773 | psdir='${docdir}'
|
---|
| 774 | libdir='${exec_prefix}/lib'
|
---|
| 775 | localedir='${datarootdir}/locale'
|
---|
| 776 | mandir='${datarootdir}/man'
|
---|
[16589] | 777 |
|
---|
| 778 | ac_prev=
|
---|
[25215] | 779 | ac_dashdash=
|
---|
[16589] | 780 | for ac_option
|
---|
| 781 | do
|
---|
| 782 | # If the previous option needs an argument, assign it.
|
---|
| 783 | if test -n "$ac_prev"; then
|
---|
[25215] | 784 | eval $ac_prev=\$ac_option
|
---|
[16589] | 785 | ac_prev=
|
---|
| 786 | continue
|
---|
| 787 | fi
|
---|
| 788 |
|
---|
[25215] | 789 | case $ac_option in
|
---|
| 790 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
---|
| 791 | *) ac_optarg=yes ;;
|
---|
| 792 | esac
|
---|
[16589] | 793 |
|
---|
| 794 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
---|
| 795 |
|
---|
[25215] | 796 | case $ac_dashdash$ac_option in
|
---|
| 797 | --)
|
---|
| 798 | ac_dashdash=yes ;;
|
---|
[16589] | 799 |
|
---|
| 800 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
---|
| 801 | ac_prev=bindir ;;
|
---|
| 802 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
---|
| 803 | bindir=$ac_optarg ;;
|
---|
| 804 |
|
---|
| 805 | -build | --build | --buil | --bui | --bu)
|
---|
| 806 | ac_prev=build_alias ;;
|
---|
| 807 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
---|
| 808 | build_alias=$ac_optarg ;;
|
---|
| 809 |
|
---|
| 810 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 811 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 812 | ac_prev=cache_file ;;
|
---|
| 813 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 814 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
---|
| 815 | cache_file=$ac_optarg ;;
|
---|
| 816 |
|
---|
| 817 | --config-cache | -C)
|
---|
| 818 | cache_file=config.cache ;;
|
---|
| 819 |
|
---|
[25215] | 820 | -datadir | --datadir | --datadi | --datad)
|
---|
[16589] | 821 | ac_prev=datadir ;;
|
---|
[25215] | 822 | -datadir=* | --datadir=* | --datadi=* | --datad=*)
|
---|
[16589] | 823 | datadir=$ac_optarg ;;
|
---|
| 824 |
|
---|
[25215] | 825 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
---|
| 826 | | --dataroo | --dataro | --datar)
|
---|
| 827 | ac_prev=datarootdir ;;
|
---|
| 828 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
---|
| 829 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
---|
| 830 | datarootdir=$ac_optarg ;;
|
---|
| 831 |
|
---|
[16589] | 832 | -disable-* | --disable-*)
|
---|
[28328] | 833 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
---|
[16589] | 834 | # Reject names that are not valid shell variable names.
|
---|
[28328] | 835 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
| 836 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
[16589] | 837 | { (exit 1); exit 1; }; }
|
---|
[28328] | 838 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
---|
| 839 | eval enable_$ac_feature=no ;;
|
---|
[16589] | 840 |
|
---|
[25215] | 841 | -docdir | --docdir | --docdi | --doc | --do)
|
---|
| 842 | ac_prev=docdir ;;
|
---|
| 843 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
---|
| 844 | docdir=$ac_optarg ;;
|
---|
| 845 |
|
---|
| 846 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
---|
| 847 | ac_prev=dvidir ;;
|
---|
| 848 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
---|
| 849 | dvidir=$ac_optarg ;;
|
---|
| 850 |
|
---|
[16589] | 851 | -enable-* | --enable-*)
|
---|
[28328] | 852 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
---|
[16589] | 853 | # Reject names that are not valid shell variable names.
|
---|
[28328] | 854 | expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
| 855 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
---|
[16589] | 856 | { (exit 1); exit 1; }; }
|
---|
[28328] | 857 | ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
---|
| 858 | eval enable_$ac_feature=\$ac_optarg ;;
|
---|
[16589] | 859 |
|
---|
| 860 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
---|
| 861 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
---|
| 862 | | --exec | --exe | --ex)
|
---|
| 863 | ac_prev=exec_prefix ;;
|
---|
| 864 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
---|
| 865 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
---|
| 866 | | --exec=* | --exe=* | --ex=*)
|
---|
| 867 | exec_prefix=$ac_optarg ;;
|
---|
| 868 |
|
---|
| 869 | -gas | --gas | --ga | --g)
|
---|
| 870 | # Obsolete; use --with-gas.
|
---|
| 871 | with_gas=yes ;;
|
---|
| 872 |
|
---|
| 873 | -help | --help | --hel | --he | -h)
|
---|
| 874 | ac_init_help=long ;;
|
---|
| 875 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
---|
| 876 | ac_init_help=recursive ;;
|
---|
| 877 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
---|
| 878 | ac_init_help=short ;;
|
---|
| 879 |
|
---|
| 880 | -host | --host | --hos | --ho)
|
---|
| 881 | ac_prev=host_alias ;;
|
---|
| 882 | -host=* | --host=* | --hos=* | --ho=*)
|
---|
| 883 | host_alias=$ac_optarg ;;
|
---|
| 884 |
|
---|
[25215] | 885 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
---|
| 886 | ac_prev=htmldir ;;
|
---|
| 887 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
---|
| 888 | | --ht=*)
|
---|
| 889 | htmldir=$ac_optarg ;;
|
---|
| 890 |
|
---|
[16589] | 891 | -includedir | --includedir | --includedi | --included | --include \
|
---|
| 892 | | --includ | --inclu | --incl | --inc)
|
---|
| 893 | ac_prev=includedir ;;
|
---|
| 894 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
---|
| 895 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
---|
| 896 | includedir=$ac_optarg ;;
|
---|
| 897 |
|
---|
| 898 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
---|
| 899 | ac_prev=infodir ;;
|
---|
| 900 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
---|
| 901 | infodir=$ac_optarg ;;
|
---|
| 902 |
|
---|
| 903 | -libdir | --libdir | --libdi | --libd)
|
---|
| 904 | ac_prev=libdir ;;
|
---|
| 905 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
---|
| 906 | libdir=$ac_optarg ;;
|
---|
| 907 |
|
---|
| 908 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
---|
| 909 | | --libexe | --libex | --libe)
|
---|
| 910 | ac_prev=libexecdir ;;
|
---|
| 911 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
---|
| 912 | | --libexe=* | --libex=* | --libe=*)
|
---|
| 913 | libexecdir=$ac_optarg ;;
|
---|
| 914 |
|
---|
[25215] | 915 | -localedir | --localedir | --localedi | --localed | --locale)
|
---|
| 916 | ac_prev=localedir ;;
|
---|
| 917 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
---|
| 918 | localedir=$ac_optarg ;;
|
---|
| 919 |
|
---|
[16589] | 920 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
---|
[25215] | 921 | | --localstate | --localstat | --localsta | --localst | --locals)
|
---|
[16589] | 922 | ac_prev=localstatedir ;;
|
---|
| 923 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
---|
[25215] | 924 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
---|
[16589] | 925 | localstatedir=$ac_optarg ;;
|
---|
| 926 |
|
---|
| 927 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
---|
| 928 | ac_prev=mandir ;;
|
---|
| 929 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
---|
| 930 | mandir=$ac_optarg ;;
|
---|
| 931 |
|
---|
| 932 | -nfp | --nfp | --nf)
|
---|
| 933 | # Obsolete; use --without-fp.
|
---|
| 934 | with_fp=no ;;
|
---|
| 935 |
|
---|
| 936 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
---|
| 937 | | --no-cr | --no-c | -n)
|
---|
| 938 | no_create=yes ;;
|
---|
| 939 |
|
---|
| 940 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
---|
| 941 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
---|
| 942 | no_recursion=yes ;;
|
---|
| 943 |
|
---|
| 944 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
---|
| 945 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
---|
| 946 | | --oldin | --oldi | --old | --ol | --o)
|
---|
| 947 | ac_prev=oldincludedir ;;
|
---|
| 948 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
---|
| 949 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
---|
| 950 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
---|
| 951 | oldincludedir=$ac_optarg ;;
|
---|
| 952 |
|
---|
| 953 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 954 | ac_prev=prefix ;;
|
---|
| 955 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 956 | prefix=$ac_optarg ;;
|
---|
| 957 |
|
---|
| 958 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
---|
| 959 | | --program-pre | --program-pr | --program-p)
|
---|
| 960 | ac_prev=program_prefix ;;
|
---|
| 961 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
---|
| 962 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
---|
| 963 | program_prefix=$ac_optarg ;;
|
---|
| 964 |
|
---|
| 965 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
---|
| 966 | | --program-suf | --program-su | --program-s)
|
---|
| 967 | ac_prev=program_suffix ;;
|
---|
| 968 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
---|
| 969 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
---|
| 970 | program_suffix=$ac_optarg ;;
|
---|
| 971 |
|
---|
| 972 | -program-transform-name | --program-transform-name \
|
---|
| 973 | | --program-transform-nam | --program-transform-na \
|
---|
| 974 | | --program-transform-n | --program-transform- \
|
---|
| 975 | | --program-transform | --program-transfor \
|
---|
| 976 | | --program-transfo | --program-transf \
|
---|
| 977 | | --program-trans | --program-tran \
|
---|
| 978 | | --progr-tra | --program-tr | --program-t)
|
---|
| 979 | ac_prev=program_transform_name ;;
|
---|
| 980 | -program-transform-name=* | --program-transform-name=* \
|
---|
| 981 | | --program-transform-nam=* | --program-transform-na=* \
|
---|
| 982 | | --program-transform-n=* | --program-transform-=* \
|
---|
| 983 | | --program-transform=* | --program-transfor=* \
|
---|
| 984 | | --program-transfo=* | --program-transf=* \
|
---|
| 985 | | --program-trans=* | --program-tran=* \
|
---|
| 986 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
---|
| 987 | program_transform_name=$ac_optarg ;;
|
---|
| 988 |
|
---|
[25215] | 989 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
---|
| 990 | ac_prev=pdfdir ;;
|
---|
| 991 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
---|
| 992 | pdfdir=$ac_optarg ;;
|
---|
| 993 |
|
---|
| 994 | -psdir | --psdir | --psdi | --psd | --ps)
|
---|
| 995 | ac_prev=psdir ;;
|
---|
| 996 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
---|
| 997 | psdir=$ac_optarg ;;
|
---|
| 998 |
|
---|
[16589] | 999 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1000 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1001 | silent=yes ;;
|
---|
| 1002 |
|
---|
| 1003 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
---|
| 1004 | ac_prev=sbindir ;;
|
---|
| 1005 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
---|
| 1006 | | --sbi=* | --sb=*)
|
---|
| 1007 | sbindir=$ac_optarg ;;
|
---|
| 1008 |
|
---|
| 1009 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
---|
| 1010 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
---|
| 1011 | | --sharedst | --shareds | --shared | --share | --shar \
|
---|
| 1012 | | --sha | --sh)
|
---|
| 1013 | ac_prev=sharedstatedir ;;
|
---|
| 1014 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
---|
| 1015 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
---|
| 1016 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
---|
| 1017 | | --sha=* | --sh=*)
|
---|
| 1018 | sharedstatedir=$ac_optarg ;;
|
---|
| 1019 |
|
---|
| 1020 | -site | --site | --sit)
|
---|
| 1021 | ac_prev=site ;;
|
---|
| 1022 | -site=* | --site=* | --sit=*)
|
---|
| 1023 | site=$ac_optarg ;;
|
---|
| 1024 |
|
---|
| 1025 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 1026 | ac_prev=srcdir ;;
|
---|
| 1027 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 1028 | srcdir=$ac_optarg ;;
|
---|
| 1029 |
|
---|
| 1030 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
---|
| 1031 | | --syscon | --sysco | --sysc | --sys | --sy)
|
---|
| 1032 | ac_prev=sysconfdir ;;
|
---|
| 1033 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
---|
| 1034 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
---|
| 1035 | sysconfdir=$ac_optarg ;;
|
---|
| 1036 |
|
---|
| 1037 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
---|
| 1038 | ac_prev=target_alias ;;
|
---|
| 1039 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
---|
| 1040 | target_alias=$ac_optarg ;;
|
---|
| 1041 |
|
---|
| 1042 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
---|
| 1043 | verbose=yes ;;
|
---|
| 1044 |
|
---|
| 1045 | -version | --version | --versio | --versi | --vers | -V)
|
---|
| 1046 | ac_init_version=: ;;
|
---|
| 1047 |
|
---|
| 1048 | -with-* | --with-*)
|
---|
[28328] | 1049 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
---|
[16589] | 1050 | # Reject names that are not valid shell variable names.
|
---|
[28328] | 1051 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
| 1052 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
[16589] | 1053 | { (exit 1); exit 1; }; }
|
---|
[28328] | 1054 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
---|
| 1055 | eval with_$ac_package=\$ac_optarg ;;
|
---|
[16589] | 1056 |
|
---|
| 1057 | -without-* | --without-*)
|
---|
[28328] | 1058 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
---|
[16589] | 1059 | # Reject names that are not valid shell variable names.
|
---|
[28328] | 1060 | expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
| 1061 | { echo "$as_me: error: invalid package name: $ac_package" >&2
|
---|
[16589] | 1062 | { (exit 1); exit 1; }; }
|
---|
[28328] | 1063 | ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
---|
| 1064 | eval with_$ac_package=no ;;
|
---|
[16589] | 1065 |
|
---|
| 1066 | --x)
|
---|
| 1067 | # Obsolete; use --with-x.
|
---|
| 1068 | with_x=yes ;;
|
---|
| 1069 |
|
---|
| 1070 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
---|
| 1071 | | --x-incl | --x-inc | --x-in | --x-i)
|
---|
| 1072 | ac_prev=x_includes ;;
|
---|
| 1073 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
---|
| 1074 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
---|
| 1075 | x_includes=$ac_optarg ;;
|
---|
| 1076 |
|
---|
| 1077 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
---|
| 1078 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
---|
| 1079 | ac_prev=x_libraries ;;
|
---|
| 1080 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
---|
| 1081 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
---|
| 1082 | x_libraries=$ac_optarg ;;
|
---|
| 1083 |
|
---|
[28328] | 1084 | -*) { echo "$as_me: error: unrecognized option: $ac_option
|
---|
[16589] | 1085 | Try \`$0 --help' for more information." >&2
|
---|
| 1086 | { (exit 1); exit 1; }; }
|
---|
| 1087 | ;;
|
---|
| 1088 |
|
---|
| 1089 | *=*)
|
---|
| 1090 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
---|
| 1091 | # Reject names that are not valid shell variable names.
|
---|
| 1092 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
---|
[28328] | 1093 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
---|
[16589] | 1094 | { (exit 1); exit 1; }; }
|
---|
[25215] | 1095 | eval $ac_envvar=\$ac_optarg
|
---|
[16589] | 1096 | export $ac_envvar ;;
|
---|
| 1097 |
|
---|
| 1098 | *)
|
---|
| 1099 | # FIXME: should be removed in autoconf 3.0.
|
---|
[28328] | 1100 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
---|
[16589] | 1101 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
---|
[28328] | 1102 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
---|
[16589] | 1103 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
---|
| 1104 | ;;
|
---|
| 1105 |
|
---|
| 1106 | esac
|
---|
| 1107 | done
|
---|
| 1108 |
|
---|
| 1109 | if test -n "$ac_prev"; then
|
---|
| 1110 | ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
---|
[28328] | 1111 | { echo "$as_me: error: missing argument to $ac_option" >&2
|
---|
[16589] | 1112 | { (exit 1); exit 1; }; }
|
---|
| 1113 | fi
|
---|
| 1114 |
|
---|
[28328] | 1115 | # Be sure to have absolute directory names.
|
---|
[25215] | 1116 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
---|
| 1117 | datadir sysconfdir sharedstatedir localstatedir includedir \
|
---|
| 1118 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
---|
| 1119 | libdir localedir mandir
|
---|
[16589] | 1120 | do
|
---|
[25215] | 1121 | eval ac_val=\$$ac_var
|
---|
[16589] | 1122 | case $ac_val in
|
---|
[25215] | 1123 | [\\/$]* | ?:[\\/]* ) continue;;
|
---|
| 1124 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
---|
| 1125 | esac
|
---|
[28328] | 1126 | { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
---|
[25215] | 1127 | { (exit 1); exit 1; }; }
|
---|
[16589] | 1128 | done
|
---|
| 1129 |
|
---|
| 1130 | # There might be people who depend on the old broken behavior: `$host'
|
---|
| 1131 | # used to hold the argument of --host etc.
|
---|
| 1132 | # FIXME: To remove some day.
|
---|
| 1133 | build=$build_alias
|
---|
| 1134 | host=$host_alias
|
---|
| 1135 | target=$target_alias
|
---|
| 1136 |
|
---|
| 1137 | # FIXME: To remove some day.
|
---|
| 1138 | if test "x$host_alias" != x; then
|
---|
| 1139 | if test "x$build_alias" = x; then
|
---|
| 1140 | cross_compiling=maybe
|
---|
[28328] | 1141 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
---|
[16589] | 1142 | If a cross compiler is detected then cross compile mode will be used." >&2
|
---|
| 1143 | elif test "x$build_alias" != "x$host_alias"; then
|
---|
| 1144 | cross_compiling=yes
|
---|
| 1145 | fi
|
---|
| 1146 | fi
|
---|
| 1147 |
|
---|
| 1148 | ac_tool_prefix=
|
---|
| 1149 | test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
---|
| 1150 |
|
---|
| 1151 | test "$silent" = yes && exec 6>/dev/null
|
---|
| 1152 |
|
---|
| 1153 |
|
---|
[25215] | 1154 | ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
---|
| 1155 | ac_ls_di=`ls -di .` &&
|
---|
| 1156 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
---|
[28328] | 1157 | { echo "$as_me: error: Working directory cannot be determined" >&2
|
---|
[25215] | 1158 | { (exit 1); exit 1; }; }
|
---|
| 1159 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
---|
[28328] | 1160 | { echo "$as_me: error: pwd does not report name of working directory" >&2
|
---|
[25215] | 1161 | { (exit 1); exit 1; }; }
|
---|
| 1162 |
|
---|
| 1163 |
|
---|
[16589] | 1164 | # Find the source files, if location was not specified.
|
---|
| 1165 | if test -z "$srcdir"; then
|
---|
| 1166 | ac_srcdir_defaulted=yes
|
---|
[25215] | 1167 | # Try the directory containing this script, then the parent directory.
|
---|
[28328] | 1168 | ac_confdir=`$as_dirname -- "$0" ||
|
---|
| 1169 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 1170 | X"$0" : 'X\(//\)[^/]' \| \
|
---|
| 1171 | X"$0" : 'X\(//\)$' \| \
|
---|
| 1172 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
| 1173 | echo X"$0" |
|
---|
[25215] | 1174 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 1175 | s//\1/
|
---|
| 1176 | q
|
---|
| 1177 | }
|
---|
| 1178 | /^X\(\/\/\)[^/].*/{
|
---|
| 1179 | s//\1/
|
---|
| 1180 | q
|
---|
| 1181 | }
|
---|
| 1182 | /^X\(\/\/\)$/{
|
---|
| 1183 | s//\1/
|
---|
| 1184 | q
|
---|
| 1185 | }
|
---|
| 1186 | /^X\(\/\).*/{
|
---|
| 1187 | s//\1/
|
---|
| 1188 | q
|
---|
| 1189 | }
|
---|
| 1190 | s/.*/./; q'`
|
---|
[16589] | 1191 | srcdir=$ac_confdir
|
---|
[25215] | 1192 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
[16589] | 1193 | srcdir=..
|
---|
| 1194 | fi
|
---|
| 1195 | else
|
---|
| 1196 | ac_srcdir_defaulted=no
|
---|
| 1197 | fi
|
---|
[25215] | 1198 | if test ! -r "$srcdir/$ac_unique_file"; then
|
---|
| 1199 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
---|
[28328] | 1200 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
---|
[16589] | 1201 | { (exit 1); exit 1; }; }
|
---|
[25215] | 1202 | fi
|
---|
| 1203 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
---|
| 1204 | ac_abs_confdir=`(
|
---|
[28328] | 1205 | cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
|
---|
[16589] | 1206 | { (exit 1); exit 1; }; }
|
---|
[25215] | 1207 | pwd)`
|
---|
| 1208 | # When building in place, set srcdir=.
|
---|
| 1209 | if test "$ac_abs_confdir" = "$ac_pwd"; then
|
---|
| 1210 | srcdir=.
|
---|
[16589] | 1211 | fi
|
---|
[25215] | 1212 | # Remove unnecessary trailing slashes from srcdir.
|
---|
| 1213 | # Double slashes in file names in object file debugging info
|
---|
| 1214 | # mess up M-x gdb in Emacs.
|
---|
| 1215 | case $srcdir in
|
---|
| 1216 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
---|
| 1217 | esac
|
---|
| 1218 | for ac_var in $ac_precious_vars; do
|
---|
| 1219 | eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1220 | eval ac_env_${ac_var}_value=\$${ac_var}
|
---|
| 1221 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
---|
| 1222 | eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
---|
| 1223 | done
|
---|
[16589] | 1224 |
|
---|
| 1225 | #
|
---|
| 1226 | # Report the --help message.
|
---|
| 1227 | #
|
---|
| 1228 | if test "$ac_init_help" = "long"; then
|
---|
| 1229 | # Omit some internal or obsolete options to make the list less imposing.
|
---|
| 1230 | # This message is too long to be a string in the A/UX 3.1 sh.
|
---|
| 1231 | cat <<_ACEOF
|
---|
| 1232 | \`configure' configures this package to adapt to many kinds of systems.
|
---|
| 1233 |
|
---|
| 1234 | Usage: $0 [OPTION]... [VAR=VALUE]...
|
---|
| 1235 |
|
---|
| 1236 | To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
---|
| 1237 | VAR=VALUE. See below for descriptions of some of the useful variables.
|
---|
| 1238 |
|
---|
| 1239 | Defaults for the options are specified in brackets.
|
---|
| 1240 |
|
---|
| 1241 | Configuration:
|
---|
| 1242 | -h, --help display this help and exit
|
---|
| 1243 | --help=short display options specific to this package
|
---|
| 1244 | --help=recursive display the short help of all the included packages
|
---|
| 1245 | -V, --version display version information and exit
|
---|
| 1246 | -q, --quiet, --silent do not print \`checking...' messages
|
---|
| 1247 | --cache-file=FILE cache test results in FILE [disabled]
|
---|
| 1248 | -C, --config-cache alias for \`--cache-file=config.cache'
|
---|
| 1249 | -n, --no-create do not create output files
|
---|
| 1250 | --srcdir=DIR find the sources in DIR [configure dir or \`..']
|
---|
| 1251 |
|
---|
| 1252 | Installation directories:
|
---|
| 1253 | --prefix=PREFIX install architecture-independent files in PREFIX
|
---|
[28328] | 1254 | [$ac_default_prefix]
|
---|
[16589] | 1255 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
---|
[28328] | 1256 | [PREFIX]
|
---|
[16589] | 1257 |
|
---|
| 1258 | By default, \`make install' will install all the files in
|
---|
| 1259 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
---|
| 1260 | an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
---|
| 1261 | for instance \`--prefix=\$HOME'.
|
---|
| 1262 |
|
---|
| 1263 | For better control, use the options below.
|
---|
| 1264 |
|
---|
| 1265 | Fine tuning of the installation directories:
|
---|
[28328] | 1266 | --bindir=DIR user executables [EPREFIX/bin]
|
---|
| 1267 | --sbindir=DIR system admin executables [EPREFIX/sbin]
|
---|
| 1268 | --libexecdir=DIR program executables [EPREFIX/libexec]
|
---|
| 1269 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
---|
| 1270 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
---|
| 1271 | --localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
---|
| 1272 | --libdir=DIR object code libraries [EPREFIX/lib]
|
---|
| 1273 | --includedir=DIR C header files [PREFIX/include]
|
---|
| 1274 | --oldincludedir=DIR C header files for non-gcc [/usr/include]
|
---|
| 1275 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
---|
| 1276 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
---|
| 1277 | --infodir=DIR info documentation [DATAROOTDIR/info]
|
---|
| 1278 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
---|
| 1279 | --mandir=DIR man documentation [DATAROOTDIR/man]
|
---|
| 1280 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
---|
| 1281 | --htmldir=DIR html documentation [DOCDIR]
|
---|
| 1282 | --dvidir=DIR dvi documentation [DOCDIR]
|
---|
| 1283 | --pdfdir=DIR pdf documentation [DOCDIR]
|
---|
| 1284 | --psdir=DIR ps documentation [DOCDIR]
|
---|
[16589] | 1285 | _ACEOF
|
---|
| 1286 |
|
---|
| 1287 | cat <<\_ACEOF
|
---|
| 1288 |
|
---|
| 1289 | System types:
|
---|
| 1290 | --build=BUILD configure for building on BUILD [guessed]
|
---|
| 1291 | --host=HOST cross-compile to build programs to run on HOST [BUILD]
|
---|
| 1292 | --target=TARGET configure for building compilers for TARGET [HOST]
|
---|
| 1293 | _ACEOF
|
---|
| 1294 | fi
|
---|
| 1295 |
|
---|
| 1296 | if test -n "$ac_init_help"; then
|
---|
| 1297 |
|
---|
| 1298 | cat <<\_ACEOF
|
---|
| 1299 |
|
---|
| 1300 | Optional Features:
|
---|
| 1301 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
---|
| 1302 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
---|
| 1303 | --enable-corba Enable CORBA support
|
---|
| 1304 | --enable-z3950 Enable Z39.50 client support
|
---|
| 1305 | --disable-yaz Disable YAZ compilation
|
---|
| 1306 | --disable-accentfold Disable Accent Folding for MGPP
|
---|
| 1307 | --disable-sqlite Disable SQLite support
|
---|
[21376] | 1308 | --enable-apache-httpd Enable Apache httpd support
|
---|
[21371] | 1309 | --enable-jni Enable JNI compilation
|
---|
[21346] | 1310 | --disable-mg Disable MG compilation
|
---|
| 1311 | --disable-mgpp Disable MGPP compilation
|
---|
| 1312 | --disable-lucene Disable Lucene compilation
|
---|
[28318] | 1313 | --enable-gnome-lib-ext Enable the gnome-lib extension
|
---|
[16589] | 1314 |
|
---|
| 1315 | Optional Packages:
|
---|
| 1316 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
---|
| 1317 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
---|
| 1318 | --with-micodir Use installed MICO directory
|
---|
[16598] | 1319 | --with-dmalloc use dmalloc, as in
|
---|
| 1320 | ftp://ftp.letters.com/src/dmalloc/dmalloc.tar.gz
|
---|
| 1321 | --with-regex use older regex in lieu of GNU rx for matching
|
---|
[16589] | 1322 |
|
---|
| 1323 | Some influential environment variables:
|
---|
| 1324 | CC C compiler command
|
---|
| 1325 | CFLAGS C compiler flags
|
---|
| 1326 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
---|
| 1327 | nonstandard directory <lib dir>
|
---|
[25215] | 1328 | LIBS libraries to pass to the linker, e.g. -l<library>
|
---|
| 1329 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
---|
| 1330 | you have headers in a nonstandard directory <include dir>
|
---|
[16589] | 1331 | CXX C++ compiler command
|
---|
| 1332 | CXXFLAGS C++ compiler flags
|
---|
[25215] | 1333 | YACC The `Yet Another C Compiler' implementation to use. Defaults to
|
---|
| 1334 | the first program found out of: `bison -y', `byacc', `yacc'.
|
---|
| 1335 | YFLAGS The list of arguments that will be passed by default to $YACC.
|
---|
| 1336 | This script will default YFLAGS to the empty string to avoid a
|
---|
| 1337 | default value of `-d' given by some make applications.
|
---|
[16589] | 1338 | CPP C preprocessor
|
---|
| 1339 |
|
---|
| 1340 | Use these variables to override the choices made by `configure' or to help
|
---|
| 1341 | it to find libraries and programs with nonstandard names/locations.
|
---|
| 1342 |
|
---|
| 1343 | _ACEOF
|
---|
[25215] | 1344 | ac_status=$?
|
---|
[16589] | 1345 | fi
|
---|
| 1346 |
|
---|
| 1347 | if test "$ac_init_help" = "recursive"; then
|
---|
| 1348 | # If there are subdirs, report their specific --help.
|
---|
| 1349 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
---|
[28328] | 1350 | test -d "$ac_dir" || continue
|
---|
[16589] | 1351 | ac_builddir=.
|
---|
| 1352 |
|
---|
[25215] | 1353 | case "$ac_dir" in
|
---|
| 1354 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1355 | *)
|
---|
[28328] | 1356 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
[25215] | 1357 | # A ".." for each directory in $ac_dir_suffix.
|
---|
[28328] | 1358 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
---|
[25215] | 1359 | case $ac_top_builddir_sub in
|
---|
| 1360 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 1361 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 1362 | esac ;;
|
---|
| 1363 | esac
|
---|
| 1364 | ac_abs_top_builddir=$ac_pwd
|
---|
| 1365 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 1366 | # for backward compatibility:
|
---|
| 1367 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16589] | 1368 |
|
---|
| 1369 | case $srcdir in
|
---|
[25215] | 1370 | .) # We are building in place.
|
---|
[16589] | 1371 | ac_srcdir=.
|
---|
[25215] | 1372 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 1373 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 1374 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16589] | 1375 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25215] | 1376 | ac_top_srcdir=$srcdir
|
---|
| 1377 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 1378 | *) # Relative name.
|
---|
| 1379 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 1380 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 1381 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16589] | 1382 | esac
|
---|
[25215] | 1383 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16589] | 1384 |
|
---|
[25215] | 1385 | cd "$ac_dir" || { ac_status=$?; continue; }
|
---|
| 1386 | # Check for guested configure.
|
---|
| 1387 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 1388 | echo &&
|
---|
| 1389 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
---|
| 1390 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 1391 | echo &&
|
---|
| 1392 | $SHELL "$ac_srcdir/configure" --help=recursive
|
---|
[16589] | 1393 | else
|
---|
[28328] | 1394 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
---|
[25215] | 1395 | fi || ac_status=$?
|
---|
| 1396 | cd "$ac_pwd" || { ac_status=$?; break; }
|
---|
[16589] | 1397 | done
|
---|
| 1398 | fi
|
---|
| 1399 |
|
---|
[25215] | 1400 | test -n "$ac_init_help" && exit $ac_status
|
---|
[16589] | 1401 | if $ac_init_version; then
|
---|
| 1402 | cat <<\_ACEOF
|
---|
[25215] | 1403 | configure
|
---|
[28328] | 1404 | generated by GNU Autoconf 2.61
|
---|
[16589] | 1405 |
|
---|
[25215] | 1406 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
---|
[28328] | 1407 | 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
---|
[16589] | 1408 | This configure script is free software; the Free Software Foundation
|
---|
| 1409 | gives unlimited permission to copy, distribute and modify it.
|
---|
| 1410 | _ACEOF
|
---|
[25215] | 1411 | exit
|
---|
[16589] | 1412 | fi
|
---|
[25215] | 1413 | cat >config.log <<_ACEOF
|
---|
[16589] | 1414 | This file contains any messages produced by compilers while
|
---|
| 1415 | running configure, to aid debugging if configure makes a mistake.
|
---|
| 1416 |
|
---|
| 1417 | It was created by $as_me, which was
|
---|
[28328] | 1418 | generated by GNU Autoconf 2.61. Invocation command line was
|
---|
[16589] | 1419 |
|
---|
| 1420 | $ $0 $@
|
---|
| 1421 |
|
---|
| 1422 | _ACEOF
|
---|
[25215] | 1423 | exec 5>>config.log
|
---|
[16589] | 1424 | {
|
---|
| 1425 | cat <<_ASUNAME
|
---|
| 1426 | ## --------- ##
|
---|
| 1427 | ## Platform. ##
|
---|
| 1428 | ## --------- ##
|
---|
| 1429 |
|
---|
| 1430 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 1431 | uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
---|
| 1432 | uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
---|
| 1433 | uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
---|
| 1434 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
---|
| 1435 |
|
---|
| 1436 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
---|
| 1437 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
---|
| 1438 |
|
---|
| 1439 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
---|
| 1440 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
---|
| 1441 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
---|
[25215] | 1442 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
---|
[16589] | 1443 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
---|
| 1444 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
---|
| 1445 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
---|
| 1446 |
|
---|
| 1447 | _ASUNAME
|
---|
| 1448 |
|
---|
| 1449 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 1450 | for as_dir in $PATH
|
---|
| 1451 | do
|
---|
| 1452 | IFS=$as_save_IFS
|
---|
| 1453 | test -z "$as_dir" && as_dir=.
|
---|
[28328] | 1454 | echo "PATH: $as_dir"
|
---|
[16589] | 1455 | done
|
---|
[25215] | 1456 | IFS=$as_save_IFS
|
---|
[16589] | 1457 |
|
---|
| 1458 | } >&5
|
---|
| 1459 |
|
---|
| 1460 | cat >&5 <<_ACEOF
|
---|
| 1461 |
|
---|
| 1462 |
|
---|
| 1463 | ## ----------- ##
|
---|
| 1464 | ## Core tests. ##
|
---|
| 1465 | ## ----------- ##
|
---|
| 1466 |
|
---|
| 1467 | _ACEOF
|
---|
| 1468 |
|
---|
| 1469 |
|
---|
| 1470 | # Keep a trace of the command line.
|
---|
| 1471 | # Strip out --no-create and --no-recursion so they do not pile up.
|
---|
| 1472 | # Strip out --silent because we don't want to record it for future runs.
|
---|
| 1473 | # Also quote any args containing shell meta-characters.
|
---|
| 1474 | # Make two passes to allow for proper duplicate-argument suppression.
|
---|
| 1475 | ac_configure_args=
|
---|
| 1476 | ac_configure_args0=
|
---|
| 1477 | ac_configure_args1=
|
---|
| 1478 | ac_must_keep_next=false
|
---|
| 1479 | for ac_pass in 1 2
|
---|
| 1480 | do
|
---|
| 1481 | for ac_arg
|
---|
| 1482 | do
|
---|
| 1483 | case $ac_arg in
|
---|
| 1484 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
---|
| 1485 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 1486 | | -silent | --silent | --silen | --sile | --sil)
|
---|
| 1487 | continue ;;
|
---|
[25215] | 1488 | *\'*)
|
---|
[28328] | 1489 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[16589] | 1490 | esac
|
---|
| 1491 | case $ac_pass in
|
---|
| 1492 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
---|
| 1493 | 2)
|
---|
| 1494 | ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
---|
| 1495 | if test $ac_must_keep_next = true; then
|
---|
| 1496 | ac_must_keep_next=false # Got value, back to normal.
|
---|
| 1497 | else
|
---|
| 1498 | case $ac_arg in
|
---|
| 1499 | *=* | --config-cache | -C | -disable-* | --disable-* \
|
---|
| 1500 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
---|
| 1501 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
---|
| 1502 | | -with-* | --with-* | -without-* | --without-* | --x)
|
---|
| 1503 | case "$ac_configure_args0 " in
|
---|
| 1504 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
---|
| 1505 | esac
|
---|
| 1506 | ;;
|
---|
| 1507 | -* ) ac_must_keep_next=true ;;
|
---|
| 1508 | esac
|
---|
| 1509 | fi
|
---|
[25215] | 1510 | ac_configure_args="$ac_configure_args '$ac_arg'"
|
---|
[16589] | 1511 | ;;
|
---|
| 1512 | esac
|
---|
| 1513 | done
|
---|
| 1514 | done
|
---|
| 1515 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
---|
| 1516 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
---|
| 1517 |
|
---|
| 1518 | # When interrupted or exit'd, cleanup temporary files, and complete
|
---|
| 1519 | # config.log. We remove comments because anyway the quotes in there
|
---|
| 1520 | # would cause problems or look ugly.
|
---|
[25215] | 1521 | # WARNING: Use '\'' to represent an apostrophe within the trap.
|
---|
| 1522 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
---|
[16589] | 1523 | trap 'exit_status=$?
|
---|
| 1524 | # Save into config.log some information that might help in debugging.
|
---|
| 1525 | {
|
---|
| 1526 | echo
|
---|
| 1527 |
|
---|
| 1528 | cat <<\_ASBOX
|
---|
| 1529 | ## ---------------- ##
|
---|
| 1530 | ## Cache variables. ##
|
---|
| 1531 | ## ---------------- ##
|
---|
| 1532 | _ASBOX
|
---|
| 1533 | echo
|
---|
| 1534 | # The following way of writing the cache mishandles newlines in values,
|
---|
[25215] | 1535 | (
|
---|
| 1536 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
---|
| 1537 | eval ac_val=\$$ac_var
|
---|
| 1538 | case $ac_val in #(
|
---|
| 1539 | *${as_nl}*)
|
---|
| 1540 | case $ac_var in #(
|
---|
[28328] | 1541 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
---|
| 1542 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
---|
[25215] | 1543 | esac
|
---|
| 1544 | case $ac_var in #(
|
---|
| 1545 | _ | IFS | as_nl) ;; #(
|
---|
| 1546 | *) $as_unset $ac_var ;;
|
---|
| 1547 | esac ;;
|
---|
| 1548 | esac
|
---|
| 1549 | done
|
---|
[16589] | 1550 | (set) 2>&1 |
|
---|
[25215] | 1551 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
---|
| 1552 | *${as_nl}ac_space=\ *)
|
---|
[16589] | 1553 | sed -n \
|
---|
[25215] | 1554 | "s/'\''/'\''\\\\'\'''\''/g;
|
---|
| 1555 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
---|
| 1556 | ;; #(
|
---|
[16589] | 1557 | *)
|
---|
[25215] | 1558 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16589] | 1559 | ;;
|
---|
[25215] | 1560 | esac |
|
---|
| 1561 | sort
|
---|
| 1562 | )
|
---|
[16589] | 1563 | echo
|
---|
| 1564 |
|
---|
| 1565 | cat <<\_ASBOX
|
---|
| 1566 | ## ----------------- ##
|
---|
| 1567 | ## Output variables. ##
|
---|
| 1568 | ## ----------------- ##
|
---|
| 1569 | _ASBOX
|
---|
| 1570 | echo
|
---|
| 1571 | for ac_var in $ac_subst_vars
|
---|
| 1572 | do
|
---|
[25215] | 1573 | eval ac_val=\$$ac_var
|
---|
| 1574 | case $ac_val in
|
---|
[28328] | 1575 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
[25215] | 1576 | esac
|
---|
[28328] | 1577 | echo "$ac_var='\''$ac_val'\''"
|
---|
[16589] | 1578 | done | sort
|
---|
| 1579 | echo
|
---|
| 1580 |
|
---|
| 1581 | if test -n "$ac_subst_files"; then
|
---|
| 1582 | cat <<\_ASBOX
|
---|
[25215] | 1583 | ## ------------------- ##
|
---|
| 1584 | ## File substitutions. ##
|
---|
| 1585 | ## ------------------- ##
|
---|
[16589] | 1586 | _ASBOX
|
---|
| 1587 | echo
|
---|
| 1588 | for ac_var in $ac_subst_files
|
---|
| 1589 | do
|
---|
[25215] | 1590 | eval ac_val=\$$ac_var
|
---|
| 1591 | case $ac_val in
|
---|
[28328] | 1592 | *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
---|
[25215] | 1593 | esac
|
---|
[28328] | 1594 | echo "$ac_var='\''$ac_val'\''"
|
---|
[16589] | 1595 | done | sort
|
---|
| 1596 | echo
|
---|
| 1597 | fi
|
---|
| 1598 |
|
---|
| 1599 | if test -s confdefs.h; then
|
---|
| 1600 | cat <<\_ASBOX
|
---|
| 1601 | ## ----------- ##
|
---|
| 1602 | ## confdefs.h. ##
|
---|
| 1603 | ## ----------- ##
|
---|
| 1604 | _ASBOX
|
---|
| 1605 | echo
|
---|
[25215] | 1606 | cat confdefs.h
|
---|
[16589] | 1607 | echo
|
---|
| 1608 | fi
|
---|
| 1609 | test "$ac_signal" != 0 &&
|
---|
[28328] | 1610 | echo "$as_me: caught signal $ac_signal"
|
---|
| 1611 | echo "$as_me: exit $exit_status"
|
---|
[16589] | 1612 | } >&5
|
---|
[25215] | 1613 | rm -f core *.core core.conftest.* &&
|
---|
| 1614 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
---|
[16589] | 1615 | exit $exit_status
|
---|
[25215] | 1616 | ' 0
|
---|
[16589] | 1617 | for ac_signal in 1 2 13 15; do
|
---|
| 1618 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
---|
| 1619 | done
|
---|
| 1620 | ac_signal=0
|
---|
| 1621 |
|
---|
| 1622 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
---|
[25215] | 1623 | rm -f -r conftest* confdefs.h
|
---|
[16589] | 1624 |
|
---|
| 1625 | # Predefined preprocessor variables.
|
---|
| 1626 |
|
---|
| 1627 | cat >>confdefs.h <<_ACEOF
|
---|
| 1628 | #define PACKAGE_NAME "$PACKAGE_NAME"
|
---|
| 1629 | _ACEOF
|
---|
| 1630 |
|
---|
| 1631 |
|
---|
| 1632 | cat >>confdefs.h <<_ACEOF
|
---|
| 1633 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
---|
| 1634 | _ACEOF
|
---|
| 1635 |
|
---|
| 1636 |
|
---|
| 1637 | cat >>confdefs.h <<_ACEOF
|
---|
| 1638 | #define PACKAGE_VERSION "$PACKAGE_VERSION"
|
---|
| 1639 | _ACEOF
|
---|
| 1640 |
|
---|
| 1641 |
|
---|
| 1642 | cat >>confdefs.h <<_ACEOF
|
---|
| 1643 | #define PACKAGE_STRING "$PACKAGE_STRING"
|
---|
| 1644 | _ACEOF
|
---|
| 1645 |
|
---|
| 1646 |
|
---|
| 1647 | cat >>confdefs.h <<_ACEOF
|
---|
| 1648 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
---|
| 1649 | _ACEOF
|
---|
| 1650 |
|
---|
| 1651 |
|
---|
| 1652 | # Let the site file select an alternate cache file if it wants to.
|
---|
[28328] | 1653 | # Prefer explicitly selected file to automatically selected ones.
|
---|
[25215] | 1654 | if test -n "$CONFIG_SITE"; then
|
---|
[28328] | 1655 | set x "$CONFIG_SITE"
|
---|
[25215] | 1656 | elif test "x$prefix" != xNONE; then
|
---|
[28328] | 1657 | set x "$prefix/share/config.site" "$prefix/etc/config.site"
|
---|
[25215] | 1658 | else
|
---|
[28328] | 1659 | set x "$ac_default_prefix/share/config.site" \
|
---|
| 1660 | "$ac_default_prefix/etc/config.site"
|
---|
[16589] | 1661 | fi
|
---|
[28328] | 1662 | shift
|
---|
| 1663 | for ac_site_file
|
---|
[25215] | 1664 | do
|
---|
[16589] | 1665 | if test -r "$ac_site_file"; then
|
---|
[28328] | 1666 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
---|
| 1667 | echo "$as_me: loading site script $ac_site_file" >&6;}
|
---|
[16589] | 1668 | sed 's/^/| /' "$ac_site_file" >&5
|
---|
| 1669 | . "$ac_site_file"
|
---|
| 1670 | fi
|
---|
| 1671 | done
|
---|
| 1672 |
|
---|
| 1673 | if test -r "$cache_file"; then
|
---|
| 1674 | # Some versions of bash will fail to source /dev/null (special
|
---|
| 1675 | # files actually), so we avoid doing that.
|
---|
| 1676 | if test -f "$cache_file"; then
|
---|
[28328] | 1677 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
---|
| 1678 | echo "$as_me: loading cache $cache_file" >&6;}
|
---|
[16589] | 1679 | case $cache_file in
|
---|
[25215] | 1680 | [\\/]* | ?:[\\/]* ) . "$cache_file";;
|
---|
| 1681 | *) . "./$cache_file";;
|
---|
[16589] | 1682 | esac
|
---|
| 1683 | fi
|
---|
| 1684 | else
|
---|
[28328] | 1685 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
---|
| 1686 | echo "$as_me: creating cache $cache_file" >&6;}
|
---|
[16589] | 1687 | >$cache_file
|
---|
| 1688 | fi
|
---|
| 1689 |
|
---|
| 1690 | # Check that the precious variables saved in the cache have kept the same
|
---|
| 1691 | # value.
|
---|
| 1692 | ac_cache_corrupted=false
|
---|
[25215] | 1693 | for ac_var in $ac_precious_vars; do
|
---|
[16589] | 1694 | eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
---|
| 1695 | eval ac_new_set=\$ac_env_${ac_var}_set
|
---|
[25215] | 1696 | eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
---|
| 1697 | eval ac_new_val=\$ac_env_${ac_var}_value
|
---|
[16589] | 1698 | case $ac_old_set,$ac_new_set in
|
---|
| 1699 | set,)
|
---|
[28328] | 1700 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
---|
| 1701 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
---|
[16589] | 1702 | ac_cache_corrupted=: ;;
|
---|
| 1703 | ,set)
|
---|
[28328] | 1704 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
---|
| 1705 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
---|
[16589] | 1706 | ac_cache_corrupted=: ;;
|
---|
| 1707 | ,);;
|
---|
| 1708 | *)
|
---|
| 1709 | if test "x$ac_old_val" != "x$ac_new_val"; then
|
---|
[28328] | 1710 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
---|
| 1711 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
---|
| 1712 | { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
---|
| 1713 | echo "$as_me: former value: $ac_old_val" >&2;}
|
---|
| 1714 | { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
---|
| 1715 | echo "$as_me: current value: $ac_new_val" >&2;}
|
---|
| 1716 | ac_cache_corrupted=:
|
---|
[16589] | 1717 | fi;;
|
---|
| 1718 | esac
|
---|
| 1719 | # Pass precious variables to config.status.
|
---|
| 1720 | if test "$ac_new_set" = set; then
|
---|
| 1721 | case $ac_new_val in
|
---|
[28328] | 1722 | *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[16589] | 1723 | *) ac_arg=$ac_var=$ac_new_val ;;
|
---|
| 1724 | esac
|
---|
| 1725 | case " $ac_configure_args " in
|
---|
| 1726 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
---|
| 1727 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
---|
| 1728 | esac
|
---|
| 1729 | fi
|
---|
| 1730 | done
|
---|
| 1731 | if $ac_cache_corrupted; then
|
---|
[28328] | 1732 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
---|
| 1733 | echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
---|
| 1734 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
---|
| 1735 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
---|
[16589] | 1736 | { (exit 1); exit 1; }; }
|
---|
| 1737 | fi
|
---|
| 1738 |
|
---|
| 1739 |
|
---|
| 1740 |
|
---|
| 1741 |
|
---|
| 1742 |
|
---|
| 1743 |
|
---|
| 1744 |
|
---|
| 1745 |
|
---|
| 1746 |
|
---|
| 1747 |
|
---|
| 1748 |
|
---|
| 1749 |
|
---|
| 1750 |
|
---|
| 1751 |
|
---|
| 1752 |
|
---|
| 1753 |
|
---|
| 1754 |
|
---|
[25215] | 1755 | ac_ext=c
|
---|
| 1756 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 1757 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 1758 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 1759 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[16589] | 1760 |
|
---|
| 1761 |
|
---|
[25215] | 1762 | ac_config_headers="$ac_config_headers config.h"
|
---|
[16589] | 1763 |
|
---|
| 1764 |
|
---|
| 1765 | PACKAGE=gsdl
|
---|
| 1766 | VERSION=2.82-svn
|
---|
| 1767 | cat >>confdefs.h <<_ACEOF
|
---|
| 1768 | #define PACKAGE "$PACKAGE"
|
---|
| 1769 | _ACEOF
|
---|
| 1770 |
|
---|
| 1771 | cat >>confdefs.h <<_ACEOF
|
---|
| 1772 | #define VERSION "$VERSION"
|
---|
| 1773 | _ACEOF
|
---|
| 1774 |
|
---|
| 1775 |
|
---|
| 1776 |
|
---|
| 1777 |
|
---|
| 1778 | USE_FASTCGI=0
|
---|
| 1779 | if test USE_FASTCGI = 1; then
|
---|
| 1780 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1781 | #define USE_FASTCGI 1
|
---|
| 1782 | _ACEOF
|
---|
| 1783 |
|
---|
| 1784 |
|
---|
| 1785 | fi
|
---|
| 1786 |
|
---|
| 1787 | if test USE_LANGACTION = 1; then
|
---|
| 1788 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1789 | #define USE_LANGACTION 1
|
---|
| 1790 | _ACEOF
|
---|
| 1791 |
|
---|
| 1792 |
|
---|
| 1793 | fi
|
---|
| 1794 |
|
---|
[25215] | 1795 | # Check whether --enable-corba was given.
|
---|
[16589] | 1796 | if test "${enable_corba+set}" = set; then
|
---|
[25215] | 1797 | enableval=$enable_corba; USE_CORBA=1
|
---|
[16589] | 1798 | else
|
---|
| 1799 | USE_CORBA=0
|
---|
[25215] | 1800 | fi
|
---|
| 1801 |
|
---|
[16589] | 1802 | cat >>confdefs.h <<_ACEOF
|
---|
| 1803 | #define USE_CORBA $USE_CORBA
|
---|
| 1804 | _ACEOF
|
---|
| 1805 |
|
---|
| 1806 |
|
---|
| 1807 |
|
---|
| 1808 |
|
---|
[25215] | 1809 | # Check whether --with-micodir was given.
|
---|
[16589] | 1810 | if test "${with_micodir+set}" = set; then
|
---|
[25215] | 1811 | withval=$with_micodir; MICO_DIR=$withval
|
---|
[16589] | 1812 | else
|
---|
| 1813 | MICO_DIR="default"
|
---|
[25215] | 1814 | fi
|
---|
| 1815 |
|
---|
[16589] | 1816 | cat >>confdefs.h <<_ACEOF
|
---|
| 1817 | #define MICO_DIR "$MICO_DIR"
|
---|
| 1818 | _ACEOF
|
---|
| 1819 |
|
---|
| 1820 |
|
---|
| 1821 |
|
---|
[25215] | 1822 | # Check whether --enable-z3950 was given.
|
---|
[16589] | 1823 | if test "${enable_z3950+set}" = set; then
|
---|
[25215] | 1824 | enableval=$enable_z3950; USE_Z3950=1
|
---|
[16589] | 1825 | else
|
---|
| 1826 | USE_Z3950=0
|
---|
[25215] | 1827 | fi
|
---|
| 1828 |
|
---|
[16589] | 1829 | if test USE_Z3950 = 1; then
|
---|
| 1830 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1831 | #define USE_Z3950 $USE_Z3950
|
---|
| 1832 | _ACEOF
|
---|
| 1833 |
|
---|
| 1834 |
|
---|
| 1835 | fi
|
---|
| 1836 |
|
---|
[25215] | 1837 | # Check whether --enable-yaz was given.
|
---|
[16589] | 1838 | if test "${enable_yaz+set}" = set; then
|
---|
[25215] | 1839 | enableval=$enable_yaz; USE_YAZ=0
|
---|
[16589] | 1840 | else
|
---|
| 1841 | USE_YAZ=1
|
---|
[25215] | 1842 | fi
|
---|
| 1843 |
|
---|
[16589] | 1844 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1845 | #define USE_YAZ $USE_YAZ
|
---|
| 1846 | _ACEOF
|
---|
| 1847 |
|
---|
| 1848 |
|
---|
| 1849 |
|
---|
[25215] | 1850 | # Check whether --enable-accentfold was given.
|
---|
[16589] | 1851 | if test "${enable_accentfold+set}" = set; then
|
---|
[25215] | 1852 | enableval=$enable_accentfold; ENABLE_ACCENTFOLD=0
|
---|
[16589] | 1853 | else
|
---|
| 1854 | ENABLE_ACCENTFOLD=1
|
---|
[25215] | 1855 | fi
|
---|
| 1856 |
|
---|
[16589] | 1857 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1858 | #define ENABLE_ACCENTFOLD $ENABLE_ACCENTFOLD
|
---|
| 1859 | _ACEOF
|
---|
| 1860 |
|
---|
| 1861 |
|
---|
| 1862 |
|
---|
[25215] | 1863 | # Check whether --enable-sqlite was given.
|
---|
[16589] | 1864 | if test "${enable_sqlite+set}" = set; then
|
---|
[25215] | 1865 | enableval=$enable_sqlite; USE_SQLITE=0
|
---|
[16589] | 1866 | else
|
---|
| 1867 | USE_SQLITE=1
|
---|
[25215] | 1868 | fi
|
---|
| 1869 |
|
---|
[16589] | 1870 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1871 | #define USE_SQLITE $USE_SQLITE
|
---|
| 1872 | _ACEOF
|
---|
| 1873 |
|
---|
| 1874 |
|
---|
| 1875 |
|
---|
[21376] | 1876 | if test -d runtime-src; then
|
---|
[25215] | 1877 | # Check whether --enable-apache-httpd was given.
|
---|
[21376] | 1878 | if test "${enable_apache_httpd+set}" = set; then
|
---|
[25215] | 1879 | enableval=$enable_apache_httpd; USE_APACHE_HTTPD=1
|
---|
[21376] | 1880 | else
|
---|
| 1881 | USE_APACHE_HTTPD=0
|
---|
[25215] | 1882 | fi
|
---|
| 1883 |
|
---|
[21376] | 1884 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1885 | #define USE_APACHE_HTTPD $USE_APACHE_HTTPD
|
---|
| 1886 | _ACEOF
|
---|
| 1887 |
|
---|
| 1888 |
|
---|
| 1889 | fi
|
---|
| 1890 |
|
---|
[25215] | 1891 | # Check whether --enable-jni was given.
|
---|
[21371] | 1892 | if test "${enable_jni+set}" = set; then
|
---|
[25215] | 1893 | enableval=$enable_jni; ENABLE_JNI=$enableval
|
---|
[21371] | 1894 | else
|
---|
| 1895 | ENABLE_JNI=no
|
---|
[25215] | 1896 | fi
|
---|
| 1897 |
|
---|
[21371] | 1898 | if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then
|
---|
| 1899 | ENABLE_JNI=1
|
---|
| 1900 | cat >>confdefs.h <<\_ACEOF
|
---|
[28328] | 1901 | #define ENABLE_JNI
|
---|
[21371] | 1902 | _ACEOF
|
---|
| 1903 |
|
---|
| 1904 | else
|
---|
| 1905 | ENABLE_JNI=0
|
---|
| 1906 | fi
|
---|
| 1907 |
|
---|
| 1908 |
|
---|
[25215] | 1909 | # Check whether --enable-mg was given.
|
---|
[21346] | 1910 | if test "${enable_mg+set}" = set; then
|
---|
[25215] | 1911 | enableval=$enable_mg; ENABLE_MG=$enableval
|
---|
[21346] | 1912 | else
|
---|
| 1913 | ENABLE_MG=yes
|
---|
[25215] | 1914 | fi
|
---|
| 1915 |
|
---|
[21346] | 1916 | if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
|
---|
| 1917 | ENABLE_MG=1
|
---|
| 1918 | cat >>confdefs.h <<\_ACEOF
|
---|
[28328] | 1919 | #define ENABLE_MG
|
---|
[21346] | 1920 | _ACEOF
|
---|
| 1921 |
|
---|
| 1922 | else
|
---|
| 1923 | ENABLE_MG=0
|
---|
| 1924 | fi
|
---|
| 1925 |
|
---|
| 1926 |
|
---|
| 1927 |
|
---|
[25215] | 1928 | # Check whether --enable-mgpp was given.
|
---|
[21346] | 1929 | if test "${enable_mgpp+set}" = set; then
|
---|
[25215] | 1930 | enableval=$enable_mgpp; ENABLE_MGPP=$enableval
|
---|
[21346] | 1931 | else
|
---|
| 1932 | ENABLE_MGPP=yes
|
---|
[25215] | 1933 | fi
|
---|
| 1934 |
|
---|
[21346] | 1935 | if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
|
---|
| 1936 | ENABLE_MGPP=1
|
---|
| 1937 | cat >>confdefs.h <<\_ACEOF
|
---|
[28328] | 1938 | #define ENABLE_MGPP
|
---|
[21346] | 1939 | _ACEOF
|
---|
| 1940 |
|
---|
| 1941 | else
|
---|
| 1942 | ENABLE_MGPP=0
|
---|
| 1943 | fi
|
---|
| 1944 |
|
---|
| 1945 |
|
---|
[25215] | 1946 | # Check whether --enable-lucene was given.
|
---|
[21346] | 1947 | if test "${enable_lucene+set}" = set; then
|
---|
[25215] | 1948 | enableval=$enable_lucene; ENABLE_LUCENE=$enableval
|
---|
[21346] | 1949 | else
|
---|
| 1950 | ENABLE_LUCENE=yes
|
---|
[25215] | 1951 | fi
|
---|
| 1952 |
|
---|
[21346] | 1953 | if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then
|
---|
| 1954 | ENABLE_LUCENE=1
|
---|
| 1955 | cat >>confdefs.h <<\_ACEOF
|
---|
[28328] | 1956 | #define ENABLE_LUCENE
|
---|
[21346] | 1957 | _ACEOF
|
---|
| 1958 |
|
---|
| 1959 | else
|
---|
| 1960 | ENABLE_LUCENE=0
|
---|
| 1961 | fi
|
---|
| 1962 |
|
---|
| 1963 |
|
---|
[28318] | 1964 |
|
---|
| 1965 | # Check whether --enable-gnome-lib-ext was given.
|
---|
| 1966 | if test "${enable_gnome_lib_ext+set}" = set; then
|
---|
| 1967 | enableval=$enable_gnome_lib_ext; ENABLE_GNOMELIB_EXT=1
|
---|
| 1968 | else
|
---|
| 1969 | ENABLE_GNOMELIB_EXT=0
|
---|
| 1970 | fi
|
---|
| 1971 |
|
---|
| 1972 | if test -d ext/gnome-lib ; then
|
---|
| 1973 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1974 | #define ENABLE_GNOMELIB_EXT $ENABLE_GNOMELIB_EXT
|
---|
| 1975 | _ACEOF
|
---|
| 1976 |
|
---|
| 1977 | elif test -d ext/gnome-lib-minimal ; then
|
---|
| 1978 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1979 | #define ENABLE_GNOMELIB_EXT $ENABLE_GNOMELIB_EXT
|
---|
| 1980 | _ACEOF
|
---|
| 1981 |
|
---|
| 1982 | else
|
---|
| 1983 | # Running `svn` returns 127 if no svn is installed. It returns 1 if svn is installed,
|
---|
| 1984 | # since it suggests running svn --help. It returns 0 if running `svn --version`
|
---|
| 1985 |
|
---|
| 1986 | if test $ENABLE_GNOMELIB_EXT = 1; then
|
---|
| 1987 | svn --version
|
---|
| 1988 | result=$?
|
---|
| 1989 | if test $result = 0; then
|
---|
| 1990 | cd ext
|
---|
| 1991 | svn co http://svn.greenstone.org/gs2-extensions/gnome-lib/trunk/src gnome-lib
|
---|
| 1992 | cd ..
|
---|
| 1993 | cat >>confdefs.h <<\_ACEOF
|
---|
| 1994 | #define ENABLE_GNOMELIB_EXT 1
|
---|
| 1995 | _ACEOF
|
---|
| 1996 |
|
---|
| 1997 | else
|
---|
| 1998 | echo "**** WARNING: No gnome-lib or gnome-lib-minimal in gs2build/ext folder. Unable to check out gnome-lib. Disabling gnome-lib-ext."
|
---|
| 1999 | cat >>confdefs.h <<\_ACEOF
|
---|
| 2000 | #define ENABLE_GNOMELIB_EXT 0
|
---|
| 2001 | _ACEOF
|
---|
| 2002 |
|
---|
| 2003 | fi
|
---|
| 2004 | fi
|
---|
| 2005 | fi
|
---|
| 2006 |
|
---|
| 2007 |
|
---|
| 2008 |
|
---|
[16589] | 2009 | LDFLAGS=$LDFLAGS
|
---|
| 2010 |
|
---|
| 2011 | if test -z "$CFLAGS"; then
|
---|
| 2012 | CFLAGS=-O2
|
---|
| 2013 | fi
|
---|
| 2014 |
|
---|
| 2015 |
|
---|
| 2016 |
|
---|
| 2017 | ac_ext=c
|
---|
| 2018 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2019 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2020 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2021 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2022 | if test -n "$ac_tool_prefix"; then
|
---|
| 2023 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
---|
| 2024 | set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
---|
[28328] | 2025 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2026 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16589] | 2027 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
[28328] | 2028 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 2029 | else
|
---|
| 2030 | if test -n "$CC"; then
|
---|
| 2031 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2032 | else
|
---|
| 2033 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2034 | for as_dir in $PATH
|
---|
| 2035 | do
|
---|
| 2036 | IFS=$as_save_IFS
|
---|
| 2037 | test -z "$as_dir" && as_dir=.
|
---|
| 2038 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25215] | 2039 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16589] | 2040 | ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
---|
[28328] | 2041 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16589] | 2042 | break 2
|
---|
| 2043 | fi
|
---|
| 2044 | done
|
---|
| 2045 | done
|
---|
[25215] | 2046 | IFS=$as_save_IFS
|
---|
[16589] | 2047 |
|
---|
| 2048 | fi
|
---|
| 2049 | fi
|
---|
| 2050 | CC=$ac_cv_prog_CC
|
---|
| 2051 | if test -n "$CC"; then
|
---|
[28328] | 2052 | { echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 2053 | echo "${ECHO_T}$CC" >&6; }
|
---|
[16589] | 2054 | else
|
---|
[28328] | 2055 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2056 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 2057 | fi
|
---|
| 2058 |
|
---|
[25215] | 2059 |
|
---|
[16589] | 2060 | fi
|
---|
| 2061 | if test -z "$ac_cv_prog_CC"; then
|
---|
| 2062 | ac_ct_CC=$CC
|
---|
| 2063 | # Extract the first word of "gcc", so it can be a program name with args.
|
---|
| 2064 | set dummy gcc; ac_word=$2
|
---|
[28328] | 2065 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2066 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16589] | 2067 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
[28328] | 2068 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 2069 | else
|
---|
| 2070 | if test -n "$ac_ct_CC"; then
|
---|
| 2071 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2072 | else
|
---|
| 2073 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2074 | for as_dir in $PATH
|
---|
| 2075 | do
|
---|
| 2076 | IFS=$as_save_IFS
|
---|
| 2077 | test -z "$as_dir" && as_dir=.
|
---|
| 2078 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25215] | 2079 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16589] | 2080 | ac_cv_prog_ac_ct_CC="gcc"
|
---|
[28328] | 2081 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16589] | 2082 | break 2
|
---|
| 2083 | fi
|
---|
| 2084 | done
|
---|
| 2085 | done
|
---|
[25215] | 2086 | IFS=$as_save_IFS
|
---|
[16589] | 2087 |
|
---|
| 2088 | fi
|
---|
| 2089 | fi
|
---|
| 2090 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2091 | if test -n "$ac_ct_CC"; then
|
---|
[28328] | 2092 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 2093 | echo "${ECHO_T}$ac_ct_CC" >&6; }
|
---|
[16589] | 2094 | else
|
---|
[28328] | 2095 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2096 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 2097 | fi
|
---|
| 2098 |
|
---|
[25215] | 2099 | if test "x$ac_ct_CC" = x; then
|
---|
| 2100 | CC=""
|
---|
| 2101 | else
|
---|
| 2102 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2103 | yes:)
|
---|
[28328] | 2104 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 2105 | whose name does not start with the host triplet. If you think this
|
---|
| 2106 | configuration is useful to you, please write to [email protected]." >&5
|
---|
| 2107 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 2108 | whose name does not start with the host triplet. If you think this
|
---|
| 2109 | configuration is useful to you, please write to [email protected]." >&2;}
|
---|
[25215] | 2110 | ac_tool_warned=yes ;;
|
---|
| 2111 | esac
|
---|
| 2112 | CC=$ac_ct_CC
|
---|
| 2113 | fi
|
---|
[16589] | 2114 | else
|
---|
| 2115 | CC="$ac_cv_prog_CC"
|
---|
| 2116 | fi
|
---|
| 2117 |
|
---|
| 2118 | if test -z "$CC"; then
|
---|
[25215] | 2119 | if test -n "$ac_tool_prefix"; then
|
---|
| 2120 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
---|
[16589] | 2121 | set dummy ${ac_tool_prefix}cc; ac_word=$2
|
---|
[28328] | 2122 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2123 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16589] | 2124 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
[28328] | 2125 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 2126 | else
|
---|
| 2127 | if test -n "$CC"; then
|
---|
| 2128 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2129 | else
|
---|
| 2130 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2131 | for as_dir in $PATH
|
---|
| 2132 | do
|
---|
| 2133 | IFS=$as_save_IFS
|
---|
| 2134 | test -z "$as_dir" && as_dir=.
|
---|
| 2135 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25215] | 2136 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16589] | 2137 | ac_cv_prog_CC="${ac_tool_prefix}cc"
|
---|
[28328] | 2138 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16589] | 2139 | break 2
|
---|
| 2140 | fi
|
---|
| 2141 | done
|
---|
| 2142 | done
|
---|
[25215] | 2143 | IFS=$as_save_IFS
|
---|
[16589] | 2144 |
|
---|
| 2145 | fi
|
---|
| 2146 | fi
|
---|
| 2147 | CC=$ac_cv_prog_CC
|
---|
| 2148 | if test -n "$CC"; then
|
---|
[28328] | 2149 | { echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 2150 | echo "${ECHO_T}$CC" >&6; }
|
---|
[16589] | 2151 | else
|
---|
[28328] | 2152 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2153 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 2154 | fi
|
---|
| 2155 |
|
---|
[25215] | 2156 |
|
---|
[16589] | 2157 | fi
|
---|
| 2158 | fi
|
---|
| 2159 | if test -z "$CC"; then
|
---|
| 2160 | # Extract the first word of "cc", so it can be a program name with args.
|
---|
| 2161 | set dummy cc; ac_word=$2
|
---|
[28328] | 2162 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2163 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16589] | 2164 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
[28328] | 2165 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 2166 | else
|
---|
| 2167 | if test -n "$CC"; then
|
---|
| 2168 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2169 | else
|
---|
| 2170 | ac_prog_rejected=no
|
---|
| 2171 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2172 | for as_dir in $PATH
|
---|
| 2173 | do
|
---|
| 2174 | IFS=$as_save_IFS
|
---|
| 2175 | test -z "$as_dir" && as_dir=.
|
---|
| 2176 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25215] | 2177 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16589] | 2178 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
---|
| 2179 | ac_prog_rejected=yes
|
---|
| 2180 | continue
|
---|
| 2181 | fi
|
---|
| 2182 | ac_cv_prog_CC="cc"
|
---|
[28328] | 2183 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16589] | 2184 | break 2
|
---|
| 2185 | fi
|
---|
| 2186 | done
|
---|
| 2187 | done
|
---|
[25215] | 2188 | IFS=$as_save_IFS
|
---|
[16589] | 2189 |
|
---|
| 2190 | if test $ac_prog_rejected = yes; then
|
---|
| 2191 | # We found a bogon in the path, so make sure we never use it.
|
---|
| 2192 | set dummy $ac_cv_prog_CC
|
---|
| 2193 | shift
|
---|
| 2194 | if test $# != 0; then
|
---|
| 2195 | # We chose a different compiler from the bogus one.
|
---|
| 2196 | # However, it has the same basename, so the bogon will be chosen
|
---|
| 2197 | # first if we set CC to just the basename; use the full file name.
|
---|
| 2198 | shift
|
---|
| 2199 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
---|
| 2200 | fi
|
---|
| 2201 | fi
|
---|
| 2202 | fi
|
---|
| 2203 | fi
|
---|
| 2204 | CC=$ac_cv_prog_CC
|
---|
| 2205 | if test -n "$CC"; then
|
---|
[28328] | 2206 | { echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 2207 | echo "${ECHO_T}$CC" >&6; }
|
---|
[16589] | 2208 | else
|
---|
[28328] | 2209 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2210 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 2211 | fi
|
---|
| 2212 |
|
---|
[25215] | 2213 |
|
---|
[16589] | 2214 | fi
|
---|
| 2215 | if test -z "$CC"; then
|
---|
| 2216 | if test -n "$ac_tool_prefix"; then
|
---|
[25215] | 2217 | for ac_prog in cl.exe
|
---|
[16589] | 2218 | do
|
---|
| 2219 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2220 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[28328] | 2221 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2222 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16589] | 2223 | if test "${ac_cv_prog_CC+set}" = set; then
|
---|
[28328] | 2224 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 2225 | else
|
---|
| 2226 | if test -n "$CC"; then
|
---|
| 2227 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
---|
| 2228 | else
|
---|
| 2229 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2230 | for as_dir in $PATH
|
---|
| 2231 | do
|
---|
| 2232 | IFS=$as_save_IFS
|
---|
| 2233 | test -z "$as_dir" && as_dir=.
|
---|
| 2234 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25215] | 2235 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16589] | 2236 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
---|
[28328] | 2237 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16589] | 2238 | break 2
|
---|
| 2239 | fi
|
---|
| 2240 | done
|
---|
| 2241 | done
|
---|
[25215] | 2242 | IFS=$as_save_IFS
|
---|
[16589] | 2243 |
|
---|
| 2244 | fi
|
---|
| 2245 | fi
|
---|
| 2246 | CC=$ac_cv_prog_CC
|
---|
| 2247 | if test -n "$CC"; then
|
---|
[28328] | 2248 | { echo "$as_me:$LINENO: result: $CC" >&5
|
---|
| 2249 | echo "${ECHO_T}$CC" >&6; }
|
---|
[16589] | 2250 | else
|
---|
[28328] | 2251 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2252 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 2253 | fi
|
---|
| 2254 |
|
---|
[25215] | 2255 |
|
---|
[16589] | 2256 | test -n "$CC" && break
|
---|
| 2257 | done
|
---|
| 2258 | fi
|
---|
| 2259 | if test -z "$CC"; then
|
---|
| 2260 | ac_ct_CC=$CC
|
---|
[25215] | 2261 | for ac_prog in cl.exe
|
---|
[16589] | 2262 | do
|
---|
| 2263 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2264 | set dummy $ac_prog; ac_word=$2
|
---|
[28328] | 2265 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2266 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16589] | 2267 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
---|
[28328] | 2268 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 2269 | else
|
---|
| 2270 | if test -n "$ac_ct_CC"; then
|
---|
| 2271 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
---|
| 2272 | else
|
---|
| 2273 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2274 | for as_dir in $PATH
|
---|
| 2275 | do
|
---|
| 2276 | IFS=$as_save_IFS
|
---|
| 2277 | test -z "$as_dir" && as_dir=.
|
---|
| 2278 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25215] | 2279 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16589] | 2280 | ac_cv_prog_ac_ct_CC="$ac_prog"
|
---|
[28328] | 2281 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16589] | 2282 | break 2
|
---|
| 2283 | fi
|
---|
| 2284 | done
|
---|
| 2285 | done
|
---|
[25215] | 2286 | IFS=$as_save_IFS
|
---|
[16589] | 2287 |
|
---|
| 2288 | fi
|
---|
| 2289 | fi
|
---|
| 2290 | ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
---|
| 2291 | if test -n "$ac_ct_CC"; then
|
---|
[28328] | 2292 | { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
---|
| 2293 | echo "${ECHO_T}$ac_ct_CC" >&6; }
|
---|
[16589] | 2294 | else
|
---|
[28328] | 2295 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2296 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 2297 | fi
|
---|
| 2298 |
|
---|
[25215] | 2299 |
|
---|
[16589] | 2300 | test -n "$ac_ct_CC" && break
|
---|
| 2301 | done
|
---|
| 2302 |
|
---|
[25215] | 2303 | if test "x$ac_ct_CC" = x; then
|
---|
| 2304 | CC=""
|
---|
| 2305 | else
|
---|
| 2306 | case $cross_compiling:$ac_tool_warned in
|
---|
| 2307 | yes:)
|
---|
[28328] | 2308 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 2309 | whose name does not start with the host triplet. If you think this
|
---|
| 2310 | configuration is useful to you, please write to [email protected]." >&5
|
---|
| 2311 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 2312 | whose name does not start with the host triplet. If you think this
|
---|
| 2313 | configuration is useful to you, please write to [email protected]." >&2;}
|
---|
[25215] | 2314 | ac_tool_warned=yes ;;
|
---|
| 2315 | esac
|
---|
| 2316 | CC=$ac_ct_CC
|
---|
| 2317 | fi
|
---|
[16589] | 2318 | fi
|
---|
| 2319 |
|
---|
| 2320 | fi
|
---|
| 2321 |
|
---|
| 2322 |
|
---|
[28328] | 2323 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
---|
[16589] | 2324 | See \`config.log' for more details." >&5
|
---|
[28328] | 2325 | echo "$as_me: error: no acceptable C compiler found in \$PATH
|
---|
[16589] | 2326 | See \`config.log' for more details." >&2;}
|
---|
[28328] | 2327 | { (exit 1); exit 1; }; }
|
---|
[16589] | 2328 |
|
---|
| 2329 | # Provide some information about the compiler.
|
---|
[28328] | 2330 | echo "$as_me:$LINENO: checking for C compiler version" >&5
|
---|
| 2331 | ac_compiler=`set X $ac_compile; echo $2`
|
---|
[25215] | 2332 | { (ac_try="$ac_compiler --version >&5"
|
---|
| 2333 | case "(($ac_try" in
|
---|
| 2334 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2335 | *) ac_try_echo=$ac_try;;
|
---|
| 2336 | esac
|
---|
[28328] | 2337 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 2338 | (eval "$ac_compiler --version >&5") 2>&5
|
---|
[16589] | 2339 | ac_status=$?
|
---|
[28328] | 2340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 2341 | (exit $ac_status); }
|
---|
[25215] | 2342 | { (ac_try="$ac_compiler -v >&5"
|
---|
| 2343 | case "(($ac_try" in
|
---|
| 2344 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2345 | *) ac_try_echo=$ac_try;;
|
---|
| 2346 | esac
|
---|
[28328] | 2347 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 2348 | (eval "$ac_compiler -v >&5") 2>&5
|
---|
[16589] | 2349 | ac_status=$?
|
---|
[28328] | 2350 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 2351 | (exit $ac_status); }
|
---|
[25215] | 2352 | { (ac_try="$ac_compiler -V >&5"
|
---|
| 2353 | case "(($ac_try" in
|
---|
| 2354 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2355 | *) ac_try_echo=$ac_try;;
|
---|
| 2356 | esac
|
---|
[28328] | 2357 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 2358 | (eval "$ac_compiler -V >&5") 2>&5
|
---|
[16589] | 2359 | ac_status=$?
|
---|
[28328] | 2360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 2361 | (exit $ac_status); }
|
---|
| 2362 |
|
---|
| 2363 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2364 | /* confdefs.h. */
|
---|
| 2365 | _ACEOF
|
---|
| 2366 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2367 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2368 | /* end confdefs.h. */
|
---|
| 2369 |
|
---|
| 2370 | int
|
---|
| 2371 | main ()
|
---|
| 2372 | {
|
---|
| 2373 |
|
---|
| 2374 | ;
|
---|
| 2375 | return 0;
|
---|
| 2376 | }
|
---|
| 2377 | _ACEOF
|
---|
| 2378 | ac_clean_files_save=$ac_clean_files
|
---|
[28328] | 2379 | ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
---|
[16589] | 2380 | # Try to create an executable without -o first, disregard a.out.
|
---|
| 2381 | # It will help us diagnose broken compilers, and finding out an intuition
|
---|
| 2382 | # of exeext.
|
---|
[28328] | 2383 | { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
---|
| 2384 | echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
|
---|
| 2385 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
---|
| 2386 | #
|
---|
| 2387 | # List of possible output files, starting from the most likely.
|
---|
| 2388 | # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
|
---|
| 2389 | # only as a last resort. b.out is created by i960 compilers.
|
---|
| 2390 | ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
|
---|
| 2391 | #
|
---|
| 2392 | # The IRIX 6 linker writes into existing files which may not be
|
---|
| 2393 | # executable, retaining their permissions. Remove them first so a
|
---|
| 2394 | # subsequent execution test works.
|
---|
[25215] | 2395 | ac_rmfiles=
|
---|
| 2396 | for ac_file in $ac_files
|
---|
| 2397 | do
|
---|
| 2398 | case $ac_file in
|
---|
[28328] | 2399 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
---|
[25215] | 2400 | * ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
---|
| 2401 | esac
|
---|
| 2402 | done
|
---|
| 2403 | rm -f $ac_rmfiles
|
---|
| 2404 |
|
---|
| 2405 | if { (ac_try="$ac_link_default"
|
---|
| 2406 | case "(($ac_try" in
|
---|
| 2407 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2408 | *) ac_try_echo=$ac_try;;
|
---|
| 2409 | esac
|
---|
[28328] | 2410 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 2411 | (eval "$ac_link_default") 2>&5
|
---|
[16589] | 2412 | ac_status=$?
|
---|
[28328] | 2413 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 2414 | (exit $ac_status); }; then
|
---|
[25215] | 2415 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
---|
| 2416 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
---|
| 2417 | # in a Makefile. We should not override ac_cv_exeext if it was cached,
|
---|
| 2418 | # so that the user can short-circuit this test for compilers unknown to
|
---|
| 2419 | # Autoconf.
|
---|
| 2420 | for ac_file in $ac_files ''
|
---|
[16589] | 2421 | do
|
---|
| 2422 | test -f "$ac_file" || continue
|
---|
| 2423 | case $ac_file in
|
---|
[28328] | 2424 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
|
---|
[16589] | 2425 | ;;
|
---|
| 2426 | [ab].out )
|
---|
| 2427 | # We found the default executable, but exeext='' is most
|
---|
| 2428 | # certainly right.
|
---|
| 2429 | break;;
|
---|
| 2430 | *.* )
|
---|
[25215] | 2431 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
---|
| 2432 | then :; else
|
---|
| 2433 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2434 | fi
|
---|
| 2435 | # We set ac_cv_exeext here because the later test for it is not
|
---|
| 2436 | # safe: cross compilers may not add the suffix if given an `-o'
|
---|
| 2437 | # argument, so we may need to know it at that point already.
|
---|
| 2438 | # Even if this section looks crufty: it has the advantage of
|
---|
| 2439 | # actually working.
|
---|
[16589] | 2440 | break;;
|
---|
| 2441 | * )
|
---|
| 2442 | break;;
|
---|
| 2443 | esac
|
---|
| 2444 | done
|
---|
[25215] | 2445 | test "$ac_cv_exeext" = no && ac_cv_exeext=
|
---|
| 2446 |
|
---|
[16589] | 2447 | else
|
---|
[25215] | 2448 | ac_file=''
|
---|
| 2449 | fi
|
---|
| 2450 |
|
---|
[28328] | 2451 | { echo "$as_me:$LINENO: result: $ac_file" >&5
|
---|
| 2452 | echo "${ECHO_T}$ac_file" >&6; }
|
---|
[25215] | 2453 | if test -z "$ac_file"; then
|
---|
[28328] | 2454 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 2455 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2456 |
|
---|
[28328] | 2457 | { { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
---|
[16589] | 2458 | See \`config.log' for more details." >&5
|
---|
[28328] | 2459 | echo "$as_me: error: C compiler cannot create executables
|
---|
[16589] | 2460 | See \`config.log' for more details." >&2;}
|
---|
[28328] | 2461 | { (exit 77); exit 77; }; }
|
---|
[16589] | 2462 | fi
|
---|
| 2463 |
|
---|
| 2464 | ac_exeext=$ac_cv_exeext
|
---|
| 2465 |
|
---|
[25215] | 2466 | # Check that the compiler produces executables we can run. If not, either
|
---|
[16589] | 2467 | # the compiler is broken, or we cross compile.
|
---|
[28328] | 2468 | { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
---|
| 2469 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
|
---|
[16589] | 2470 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
---|
| 2471 | # If not cross compiling, check that we can run a simple program.
|
---|
| 2472 | if test "$cross_compiling" != yes; then
|
---|
| 2473 | if { ac_try='./$ac_file'
|
---|
[25215] | 2474 | { (case "(($ac_try" in
|
---|
| 2475 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2476 | *) ac_try_echo=$ac_try;;
|
---|
| 2477 | esac
|
---|
[28328] | 2478 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 2479 | (eval "$ac_try") 2>&5
|
---|
[16589] | 2480 | ac_status=$?
|
---|
[28328] | 2481 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 2482 | (exit $ac_status); }; }; then
|
---|
| 2483 | cross_compiling=no
|
---|
| 2484 | else
|
---|
| 2485 | if test "$cross_compiling" = maybe; then
|
---|
| 2486 | cross_compiling=yes
|
---|
| 2487 | else
|
---|
[28328] | 2488 | { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
---|
[16589] | 2489 | If you meant to cross compile, use \`--host'.
|
---|
| 2490 | See \`config.log' for more details." >&5
|
---|
[28328] | 2491 | echo "$as_me: error: cannot run C compiled programs.
|
---|
[16589] | 2492 | If you meant to cross compile, use \`--host'.
|
---|
| 2493 | See \`config.log' for more details." >&2;}
|
---|
[28328] | 2494 | { (exit 1); exit 1; }; }
|
---|
[16589] | 2495 | fi
|
---|
| 2496 | fi
|
---|
| 2497 | fi
|
---|
[28328] | 2498 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 2499 | echo "${ECHO_T}yes" >&6; }
|
---|
[16589] | 2500 |
|
---|
[28328] | 2501 | rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
---|
[16589] | 2502 | ac_clean_files=$ac_clean_files_save
|
---|
[25215] | 2503 | # Check that the compiler produces executables we can run. If not, either
|
---|
[16589] | 2504 | # the compiler is broken, or we cross compile.
|
---|
[28328] | 2505 | { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
---|
| 2506 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
|
---|
| 2507 | { echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
---|
| 2508 | echo "${ECHO_T}$cross_compiling" >&6; }
|
---|
[16589] | 2509 |
|
---|
[28328] | 2510 | { echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
---|
| 2511 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
|
---|
[25215] | 2512 | if { (ac_try="$ac_link"
|
---|
| 2513 | case "(($ac_try" in
|
---|
| 2514 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2515 | *) ac_try_echo=$ac_try;;
|
---|
| 2516 | esac
|
---|
[28328] | 2517 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 2518 | (eval "$ac_link") 2>&5
|
---|
[16589] | 2519 | ac_status=$?
|
---|
[28328] | 2520 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 2521 | (exit $ac_status); }; then
|
---|
| 2522 | # If both `conftest.exe' and `conftest' are `present' (well, observable)
|
---|
| 2523 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
---|
| 2524 | # work properly (i.e., refer to `conftest.exe'), while it won't with
|
---|
| 2525 | # `rm'.
|
---|
| 2526 | for ac_file in conftest.exe conftest conftest.*; do
|
---|
| 2527 | test -f "$ac_file" || continue
|
---|
| 2528 | case $ac_file in
|
---|
[28328] | 2529 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
---|
[16589] | 2530 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
---|
| 2531 | break;;
|
---|
| 2532 | * ) break;;
|
---|
| 2533 | esac
|
---|
| 2534 | done
|
---|
| 2535 | else
|
---|
[28328] | 2536 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
---|
[16589] | 2537 | See \`config.log' for more details." >&5
|
---|
[28328] | 2538 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
---|
[16589] | 2539 | See \`config.log' for more details." >&2;}
|
---|
[28328] | 2540 | { (exit 1); exit 1; }; }
|
---|
[16589] | 2541 | fi
|
---|
| 2542 |
|
---|
| 2543 | rm -f conftest$ac_cv_exeext
|
---|
[28328] | 2544 | { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
---|
| 2545 | echo "${ECHO_T}$ac_cv_exeext" >&6; }
|
---|
[16589] | 2546 |
|
---|
| 2547 | rm -f conftest.$ac_ext
|
---|
| 2548 | EXEEXT=$ac_cv_exeext
|
---|
| 2549 | ac_exeext=$EXEEXT
|
---|
[28328] | 2550 | { echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
---|
| 2551 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
|
---|
[16589] | 2552 | if test "${ac_cv_objext+set}" = set; then
|
---|
[28328] | 2553 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 2554 | else
|
---|
| 2555 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2556 | /* confdefs.h. */
|
---|
| 2557 | _ACEOF
|
---|
| 2558 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2559 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2560 | /* end confdefs.h. */
|
---|
| 2561 |
|
---|
| 2562 | int
|
---|
| 2563 | main ()
|
---|
| 2564 | {
|
---|
| 2565 |
|
---|
| 2566 | ;
|
---|
| 2567 | return 0;
|
---|
| 2568 | }
|
---|
| 2569 | _ACEOF
|
---|
| 2570 | rm -f conftest.o conftest.obj
|
---|
[25215] | 2571 | if { (ac_try="$ac_compile"
|
---|
| 2572 | case "(($ac_try" in
|
---|
| 2573 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2574 | *) ac_try_echo=$ac_try;;
|
---|
| 2575 | esac
|
---|
[28328] | 2576 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 2577 | (eval "$ac_compile") 2>&5
|
---|
[16589] | 2578 | ac_status=$?
|
---|
[28328] | 2579 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 2580 | (exit $ac_status); }; then
|
---|
[25215] | 2581 | for ac_file in conftest.o conftest.obj conftest.*; do
|
---|
| 2582 | test -f "$ac_file" || continue;
|
---|
[16589] | 2583 | case $ac_file in
|
---|
[28328] | 2584 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
|
---|
[16589] | 2585 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
---|
| 2586 | break;;
|
---|
| 2587 | esac
|
---|
| 2588 | done
|
---|
| 2589 | else
|
---|
[28328] | 2590 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 2591 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2592 |
|
---|
[28328] | 2593 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
---|
[16589] | 2594 | See \`config.log' for more details." >&5
|
---|
[28328] | 2595 | echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
---|
[16589] | 2596 | See \`config.log' for more details." >&2;}
|
---|
[28328] | 2597 | { (exit 1); exit 1; }; }
|
---|
[16589] | 2598 | fi
|
---|
| 2599 |
|
---|
| 2600 | rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
---|
| 2601 | fi
|
---|
[28328] | 2602 | { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
---|
| 2603 | echo "${ECHO_T}$ac_cv_objext" >&6; }
|
---|
[16589] | 2604 | OBJEXT=$ac_cv_objext
|
---|
| 2605 | ac_objext=$OBJEXT
|
---|
[28328] | 2606 | { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
---|
| 2607 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
---|
[16589] | 2608 | if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
---|
[28328] | 2609 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 2610 | else
|
---|
| 2611 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2612 | /* confdefs.h. */
|
---|
| 2613 | _ACEOF
|
---|
| 2614 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2615 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2616 | /* end confdefs.h. */
|
---|
| 2617 |
|
---|
| 2618 | int
|
---|
| 2619 | main ()
|
---|
| 2620 | {
|
---|
| 2621 | #ifndef __GNUC__
|
---|
| 2622 | choke me
|
---|
| 2623 | #endif
|
---|
| 2624 |
|
---|
| 2625 | ;
|
---|
| 2626 | return 0;
|
---|
| 2627 | }
|
---|
| 2628 | _ACEOF
|
---|
| 2629 | rm -f conftest.$ac_objext
|
---|
[25215] | 2630 | if { (ac_try="$ac_compile"
|
---|
| 2631 | case "(($ac_try" in
|
---|
| 2632 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2633 | *) ac_try_echo=$ac_try;;
|
---|
| 2634 | esac
|
---|
[28328] | 2635 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 2636 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 2637 | ac_status=$?
|
---|
| 2638 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2639 | rm -f conftest.er1
|
---|
| 2640 | cat conftest.err >&5
|
---|
[28328] | 2641 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 2642 | (exit $ac_status); } && {
|
---|
| 2643 | test -z "$ac_c_werror_flag" ||
|
---|
| 2644 | test ! -s conftest.err
|
---|
| 2645 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 2646 | ac_compiler_gnu=yes
|
---|
| 2647 | else
|
---|
[28328] | 2648 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 2649 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2650 |
|
---|
[25215] | 2651 | ac_compiler_gnu=no
|
---|
[16589] | 2652 | fi
|
---|
[25215] | 2653 |
|
---|
| 2654 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 2655 | ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
---|
| 2656 |
|
---|
| 2657 | fi
|
---|
[28328] | 2658 | { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
---|
| 2659 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
---|
| 2660 | GCC=`test $ac_compiler_gnu = yes && echo yes`
|
---|
[16589] | 2661 | ac_test_CFLAGS=${CFLAGS+set}
|
---|
| 2662 | ac_save_CFLAGS=$CFLAGS
|
---|
[28328] | 2663 | { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
---|
| 2664 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
---|
[16589] | 2665 | if test "${ac_cv_prog_cc_g+set}" = set; then
|
---|
[28328] | 2666 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 2667 | else
|
---|
[25215] | 2668 | ac_save_c_werror_flag=$ac_c_werror_flag
|
---|
| 2669 | ac_c_werror_flag=yes
|
---|
| 2670 | ac_cv_prog_cc_g=no
|
---|
| 2671 | CFLAGS="-g"
|
---|
| 2672 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[16589] | 2673 | /* confdefs.h. */
|
---|
| 2674 | _ACEOF
|
---|
| 2675 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2676 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2677 | /* end confdefs.h. */
|
---|
| 2678 |
|
---|
| 2679 | int
|
---|
| 2680 | main ()
|
---|
| 2681 | {
|
---|
| 2682 |
|
---|
| 2683 | ;
|
---|
| 2684 | return 0;
|
---|
| 2685 | }
|
---|
| 2686 | _ACEOF
|
---|
| 2687 | rm -f conftest.$ac_objext
|
---|
[25215] | 2688 | if { (ac_try="$ac_compile"
|
---|
| 2689 | case "(($ac_try" in
|
---|
| 2690 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2691 | *) ac_try_echo=$ac_try;;
|
---|
| 2692 | esac
|
---|
[28328] | 2693 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 2694 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 2695 | ac_status=$?
|
---|
| 2696 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2697 | rm -f conftest.er1
|
---|
| 2698 | cat conftest.err >&5
|
---|
[28328] | 2699 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 2700 | (exit $ac_status); } && {
|
---|
| 2701 | test -z "$ac_c_werror_flag" ||
|
---|
| 2702 | test ! -s conftest.err
|
---|
| 2703 | } && test -s conftest.$ac_objext; then
|
---|
| 2704 | ac_cv_prog_cc_g=yes
|
---|
| 2705 | else
|
---|
[28328] | 2706 | echo "$as_me: failed program was:" >&5
|
---|
[25215] | 2707 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2708 |
|
---|
| 2709 | CFLAGS=""
|
---|
| 2710 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2711 | /* confdefs.h. */
|
---|
| 2712 | _ACEOF
|
---|
| 2713 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2714 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2715 | /* end confdefs.h. */
|
---|
| 2716 |
|
---|
| 2717 | int
|
---|
| 2718 | main ()
|
---|
| 2719 | {
|
---|
| 2720 |
|
---|
| 2721 | ;
|
---|
| 2722 | return 0;
|
---|
| 2723 | }
|
---|
| 2724 | _ACEOF
|
---|
| 2725 | rm -f conftest.$ac_objext
|
---|
| 2726 | if { (ac_try="$ac_compile"
|
---|
| 2727 | case "(($ac_try" in
|
---|
| 2728 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2729 | *) ac_try_echo=$ac_try;;
|
---|
| 2730 | esac
|
---|
[28328] | 2731 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 2732 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 2733 | ac_status=$?
|
---|
[25215] | 2734 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2735 | rm -f conftest.er1
|
---|
| 2736 | cat conftest.err >&5
|
---|
[28328] | 2737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 2738 | (exit $ac_status); } && {
|
---|
| 2739 | test -z "$ac_c_werror_flag" ||
|
---|
| 2740 | test ! -s conftest.err
|
---|
| 2741 | } && test -s conftest.$ac_objext; then
|
---|
| 2742 | :
|
---|
| 2743 | else
|
---|
[28328] | 2744 | echo "$as_me: failed program was:" >&5
|
---|
[25215] | 2745 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2746 |
|
---|
| 2747 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 2748 | CFLAGS="-g"
|
---|
| 2749 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2750 | /* confdefs.h. */
|
---|
| 2751 | _ACEOF
|
---|
| 2752 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2753 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2754 | /* end confdefs.h. */
|
---|
| 2755 |
|
---|
| 2756 | int
|
---|
| 2757 | main ()
|
---|
| 2758 | {
|
---|
| 2759 |
|
---|
| 2760 | ;
|
---|
| 2761 | return 0;
|
---|
| 2762 | }
|
---|
| 2763 | _ACEOF
|
---|
| 2764 | rm -f conftest.$ac_objext
|
---|
| 2765 | if { (ac_try="$ac_compile"
|
---|
| 2766 | case "(($ac_try" in
|
---|
| 2767 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2768 | *) ac_try_echo=$ac_try;;
|
---|
| 2769 | esac
|
---|
[28328] | 2770 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 2771 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 2772 | ac_status=$?
|
---|
[25215] | 2773 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2774 | rm -f conftest.er1
|
---|
| 2775 | cat conftest.err >&5
|
---|
[28328] | 2776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 2777 | (exit $ac_status); } && {
|
---|
| 2778 | test -z "$ac_c_werror_flag" ||
|
---|
| 2779 | test ! -s conftest.err
|
---|
| 2780 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 2781 | ac_cv_prog_cc_g=yes
|
---|
| 2782 | else
|
---|
[28328] | 2783 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 2784 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2785 |
|
---|
[25215] | 2786 |
|
---|
[16589] | 2787 | fi
|
---|
[25215] | 2788 |
|
---|
| 2789 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 2790 | fi
|
---|
[25215] | 2791 |
|
---|
| 2792 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2793 | fi
|
---|
| 2794 |
|
---|
| 2795 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 2796 | ac_c_werror_flag=$ac_save_c_werror_flag
|
---|
| 2797 | fi
|
---|
[28328] | 2798 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
---|
| 2799 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
---|
[16589] | 2800 | if test "$ac_test_CFLAGS" = set; then
|
---|
| 2801 | CFLAGS=$ac_save_CFLAGS
|
---|
| 2802 | elif test $ac_cv_prog_cc_g = yes; then
|
---|
| 2803 | if test "$GCC" = yes; then
|
---|
| 2804 | CFLAGS="-g -O2"
|
---|
| 2805 | else
|
---|
| 2806 | CFLAGS="-g"
|
---|
| 2807 | fi
|
---|
| 2808 | else
|
---|
| 2809 | if test "$GCC" = yes; then
|
---|
| 2810 | CFLAGS="-O2"
|
---|
| 2811 | else
|
---|
| 2812 | CFLAGS=
|
---|
| 2813 | fi
|
---|
| 2814 | fi
|
---|
[28328] | 2815 | { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
---|
| 2816 | echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
|
---|
[25215] | 2817 | if test "${ac_cv_prog_cc_c89+set}" = set; then
|
---|
[28328] | 2818 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 2819 | else
|
---|
[25215] | 2820 | ac_cv_prog_cc_c89=no
|
---|
[16589] | 2821 | ac_save_CC=$CC
|
---|
| 2822 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 2823 | /* confdefs.h. */
|
---|
| 2824 | _ACEOF
|
---|
| 2825 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 2826 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 2827 | /* end confdefs.h. */
|
---|
| 2828 | #include <stdarg.h>
|
---|
| 2829 | #include <stdio.h>
|
---|
| 2830 | #include <sys/types.h>
|
---|
| 2831 | #include <sys/stat.h>
|
---|
| 2832 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
---|
| 2833 | struct buf { int x; };
|
---|
| 2834 | FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
---|
| 2835 | static char *e (p, i)
|
---|
| 2836 | char **p;
|
---|
| 2837 | int i;
|
---|
| 2838 | {
|
---|
| 2839 | return p[i];
|
---|
| 2840 | }
|
---|
| 2841 | static char *f (char * (*g) (char **, int), char **p, ...)
|
---|
| 2842 | {
|
---|
| 2843 | char *s;
|
---|
| 2844 | va_list v;
|
---|
| 2845 | va_start (v,p);
|
---|
| 2846 | s = g (p, va_arg (v,int));
|
---|
| 2847 | va_end (v);
|
---|
| 2848 | return s;
|
---|
| 2849 | }
|
---|
| 2850 |
|
---|
| 2851 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
---|
| 2852 | function prototypes and stuff, but not '\xHH' hex character constants.
|
---|
| 2853 | These don't provoke an error unfortunately, instead are silently treated
|
---|
[25215] | 2854 | as 'x'. The following induces an error, until -std is added to get
|
---|
[16589] | 2855 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
---|
| 2856 | array size at least. It's necessary to write '\x00'==0 to get something
|
---|
[25215] | 2857 | that's true only with -std. */
|
---|
[16589] | 2858 | int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
---|
| 2859 |
|
---|
[25215] | 2860 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
---|
| 2861 | inside strings and character constants. */
|
---|
| 2862 | #define FOO(x) 'x'
|
---|
| 2863 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
---|
| 2864 |
|
---|
[16589] | 2865 | int test (int i, double x);
|
---|
| 2866 | struct s1 {int (*f) (int a);};
|
---|
| 2867 | struct s2 {int (*f) (double a);};
|
---|
| 2868 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
---|
| 2869 | int argc;
|
---|
| 2870 | char **argv;
|
---|
| 2871 | int
|
---|
| 2872 | main ()
|
---|
| 2873 | {
|
---|
| 2874 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
---|
| 2875 | ;
|
---|
| 2876 | return 0;
|
---|
| 2877 | }
|
---|
| 2878 | _ACEOF
|
---|
[25215] | 2879 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
---|
| 2880 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
---|
[16589] | 2881 | do
|
---|
| 2882 | CC="$ac_save_CC $ac_arg"
|
---|
| 2883 | rm -f conftest.$ac_objext
|
---|
[25215] | 2884 | if { (ac_try="$ac_compile"
|
---|
| 2885 | case "(($ac_try" in
|
---|
| 2886 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 2887 | *) ac_try_echo=$ac_try;;
|
---|
| 2888 | esac
|
---|
[28328] | 2889 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 2890 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 2891 | ac_status=$?
|
---|
| 2892 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 2893 | rm -f conftest.er1
|
---|
| 2894 | cat conftest.err >&5
|
---|
[28328] | 2895 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 2896 | (exit $ac_status); } && {
|
---|
| 2897 | test -z "$ac_c_werror_flag" ||
|
---|
| 2898 | test ! -s conftest.err
|
---|
| 2899 | } && test -s conftest.$ac_objext; then
|
---|
| 2900 | ac_cv_prog_cc_c89=$ac_arg
|
---|
[16589] | 2901 | else
|
---|
[28328] | 2902 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 2903 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 2904 |
|
---|
[25215] | 2905 |
|
---|
[16589] | 2906 | fi
|
---|
[25215] | 2907 |
|
---|
| 2908 | rm -f core conftest.err conftest.$ac_objext
|
---|
| 2909 | test "x$ac_cv_prog_cc_c89" != "xno" && break
|
---|
[16589] | 2910 | done
|
---|
[25215] | 2911 | rm -f conftest.$ac_ext
|
---|
[16589] | 2912 | CC=$ac_save_CC
|
---|
| 2913 |
|
---|
| 2914 | fi
|
---|
[25215] | 2915 | # AC_CACHE_VAL
|
---|
| 2916 | case "x$ac_cv_prog_cc_c89" in
|
---|
| 2917 | x)
|
---|
[28328] | 2918 | { echo "$as_me:$LINENO: result: none needed" >&5
|
---|
| 2919 | echo "${ECHO_T}none needed" >&6; } ;;
|
---|
[25215] | 2920 | xno)
|
---|
[28328] | 2921 | { echo "$as_me:$LINENO: result: unsupported" >&5
|
---|
| 2922 | echo "${ECHO_T}unsupported" >&6; } ;;
|
---|
[16589] | 2923 | *)
|
---|
[25215] | 2924 | CC="$CC $ac_cv_prog_cc_c89"
|
---|
[28328] | 2925 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
---|
| 2926 | echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
---|
[16589] | 2927 | esac
|
---|
| 2928 |
|
---|
| 2929 |
|
---|
| 2930 | ac_ext=c
|
---|
| 2931 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 2932 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2933 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2934 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 2935 |
|
---|
[25215] | 2936 | ac_ext=cpp
|
---|
[16589] | 2937 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 2938 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 2939 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 2940 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
[25215] | 2941 | if test -z "$CXX"; then
|
---|
| 2942 | if test -n "$CCC"; then
|
---|
| 2943 | CXX=$CCC
|
---|
| 2944 | else
|
---|
| 2945 | if test -n "$ac_tool_prefix"; then
|
---|
| 2946 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16589] | 2947 | do
|
---|
| 2948 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
---|
| 2949 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
---|
[28328] | 2950 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2951 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16589] | 2952 | if test "${ac_cv_prog_CXX+set}" = set; then
|
---|
[28328] | 2953 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 2954 | else
|
---|
| 2955 | if test -n "$CXX"; then
|
---|
| 2956 | ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
---|
| 2957 | else
|
---|
| 2958 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 2959 | for as_dir in $PATH
|
---|
| 2960 | do
|
---|
| 2961 | IFS=$as_save_IFS
|
---|
| 2962 | test -z "$as_dir" && as_dir=.
|
---|
| 2963 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25215] | 2964 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16589] | 2965 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
---|
[28328] | 2966 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16589] | 2967 | break 2
|
---|
| 2968 | fi
|
---|
| 2969 | done
|
---|
| 2970 | done
|
---|
[25215] | 2971 | IFS=$as_save_IFS
|
---|
[16589] | 2972 |
|
---|
| 2973 | fi
|
---|
| 2974 | fi
|
---|
| 2975 | CXX=$ac_cv_prog_CXX
|
---|
| 2976 | if test -n "$CXX"; then
|
---|
[28328] | 2977 | { echo "$as_me:$LINENO: result: $CXX" >&5
|
---|
| 2978 | echo "${ECHO_T}$CXX" >&6; }
|
---|
[16589] | 2979 | else
|
---|
[28328] | 2980 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 2981 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 2982 | fi
|
---|
| 2983 |
|
---|
[25215] | 2984 |
|
---|
[16589] | 2985 | test -n "$CXX" && break
|
---|
| 2986 | done
|
---|
| 2987 | fi
|
---|
| 2988 | if test -z "$CXX"; then
|
---|
| 2989 | ac_ct_CXX=$CXX
|
---|
[25215] | 2990 | for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
---|
[16589] | 2991 | do
|
---|
| 2992 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 2993 | set dummy $ac_prog; ac_word=$2
|
---|
[28328] | 2994 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 2995 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16589] | 2996 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
---|
[28328] | 2997 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 2998 | else
|
---|
| 2999 | if test -n "$ac_ct_CXX"; then
|
---|
| 3000 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
---|
| 3001 | else
|
---|
| 3002 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3003 | for as_dir in $PATH
|
---|
| 3004 | do
|
---|
| 3005 | IFS=$as_save_IFS
|
---|
| 3006 | test -z "$as_dir" && as_dir=.
|
---|
| 3007 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25215] | 3008 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16589] | 3009 | ac_cv_prog_ac_ct_CXX="$ac_prog"
|
---|
[28328] | 3010 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16589] | 3011 | break 2
|
---|
| 3012 | fi
|
---|
| 3013 | done
|
---|
| 3014 | done
|
---|
[25215] | 3015 | IFS=$as_save_IFS
|
---|
[16589] | 3016 |
|
---|
| 3017 | fi
|
---|
| 3018 | fi
|
---|
| 3019 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
---|
| 3020 | if test -n "$ac_ct_CXX"; then
|
---|
[28328] | 3021 | { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
---|
| 3022 | echo "${ECHO_T}$ac_ct_CXX" >&6; }
|
---|
[16589] | 3023 | else
|
---|
[28328] | 3024 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3025 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 3026 | fi
|
---|
| 3027 |
|
---|
[25215] | 3028 |
|
---|
[16589] | 3029 | test -n "$ac_ct_CXX" && break
|
---|
| 3030 | done
|
---|
| 3031 |
|
---|
[25215] | 3032 | if test "x$ac_ct_CXX" = x; then
|
---|
| 3033 | CXX="g++"
|
---|
| 3034 | else
|
---|
| 3035 | case $cross_compiling:$ac_tool_warned in
|
---|
| 3036 | yes:)
|
---|
[28328] | 3037 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 3038 | whose name does not start with the host triplet. If you think this
|
---|
| 3039 | configuration is useful to you, please write to [email protected]." >&5
|
---|
| 3040 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 3041 | whose name does not start with the host triplet. If you think this
|
---|
| 3042 | configuration is useful to you, please write to [email protected]." >&2;}
|
---|
[25215] | 3043 | ac_tool_warned=yes ;;
|
---|
| 3044 | esac
|
---|
| 3045 | CXX=$ac_ct_CXX
|
---|
| 3046 | fi
|
---|
[16589] | 3047 | fi
|
---|
| 3048 |
|
---|
[25215] | 3049 | fi
|
---|
| 3050 | fi
|
---|
[16589] | 3051 | # Provide some information about the compiler.
|
---|
[28328] | 3052 | echo "$as_me:$LINENO: checking for C++ compiler version" >&5
|
---|
| 3053 | ac_compiler=`set X $ac_compile; echo $2`
|
---|
[25215] | 3054 | { (ac_try="$ac_compiler --version >&5"
|
---|
| 3055 | case "(($ac_try" in
|
---|
| 3056 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3057 | *) ac_try_echo=$ac_try;;
|
---|
| 3058 | esac
|
---|
[28328] | 3059 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 3060 | (eval "$ac_compiler --version >&5") 2>&5
|
---|
[16589] | 3061 | ac_status=$?
|
---|
[28328] | 3062 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 3063 | (exit $ac_status); }
|
---|
[25215] | 3064 | { (ac_try="$ac_compiler -v >&5"
|
---|
| 3065 | case "(($ac_try" in
|
---|
| 3066 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3067 | *) ac_try_echo=$ac_try;;
|
---|
| 3068 | esac
|
---|
[28328] | 3069 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 3070 | (eval "$ac_compiler -v >&5") 2>&5
|
---|
[16589] | 3071 | ac_status=$?
|
---|
[28328] | 3072 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 3073 | (exit $ac_status); }
|
---|
[25215] | 3074 | { (ac_try="$ac_compiler -V >&5"
|
---|
| 3075 | case "(($ac_try" in
|
---|
| 3076 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3077 | *) ac_try_echo=$ac_try;;
|
---|
| 3078 | esac
|
---|
[28328] | 3079 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 3080 | (eval "$ac_compiler -V >&5") 2>&5
|
---|
[16589] | 3081 | ac_status=$?
|
---|
[28328] | 3082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 3083 | (exit $ac_status); }
|
---|
| 3084 |
|
---|
[28328] | 3085 | { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
---|
| 3086 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
|
---|
[16589] | 3087 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
---|
[28328] | 3088 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 3089 | else
|
---|
| 3090 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3091 | /* confdefs.h. */
|
---|
| 3092 | _ACEOF
|
---|
| 3093 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3094 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3095 | /* end confdefs.h. */
|
---|
| 3096 |
|
---|
| 3097 | int
|
---|
| 3098 | main ()
|
---|
| 3099 | {
|
---|
| 3100 | #ifndef __GNUC__
|
---|
| 3101 | choke me
|
---|
| 3102 | #endif
|
---|
| 3103 |
|
---|
| 3104 | ;
|
---|
| 3105 | return 0;
|
---|
| 3106 | }
|
---|
| 3107 | _ACEOF
|
---|
| 3108 | rm -f conftest.$ac_objext
|
---|
[25215] | 3109 | if { (ac_try="$ac_compile"
|
---|
| 3110 | case "(($ac_try" in
|
---|
| 3111 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3112 | *) ac_try_echo=$ac_try;;
|
---|
| 3113 | esac
|
---|
[28328] | 3114 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 3115 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 3116 | ac_status=$?
|
---|
| 3117 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3118 | rm -f conftest.er1
|
---|
| 3119 | cat conftest.err >&5
|
---|
[28328] | 3120 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 3121 | (exit $ac_status); } && {
|
---|
| 3122 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 3123 | test ! -s conftest.err
|
---|
| 3124 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 3125 | ac_compiler_gnu=yes
|
---|
| 3126 | else
|
---|
[28328] | 3127 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 3128 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3129 |
|
---|
[25215] | 3130 | ac_compiler_gnu=no
|
---|
[16589] | 3131 | fi
|
---|
[25215] | 3132 |
|
---|
| 3133 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 3134 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
---|
| 3135 |
|
---|
| 3136 | fi
|
---|
[28328] | 3137 | { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
---|
| 3138 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
|
---|
| 3139 | GXX=`test $ac_compiler_gnu = yes && echo yes`
|
---|
[16589] | 3140 | ac_test_CXXFLAGS=${CXXFLAGS+set}
|
---|
| 3141 | ac_save_CXXFLAGS=$CXXFLAGS
|
---|
[28328] | 3142 | { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
---|
| 3143 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
|
---|
[16589] | 3144 | if test "${ac_cv_prog_cxx_g+set}" = set; then
|
---|
[28328] | 3145 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 3146 | else
|
---|
[25215] | 3147 | ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
---|
| 3148 | ac_cxx_werror_flag=yes
|
---|
| 3149 | ac_cv_prog_cxx_g=no
|
---|
| 3150 | CXXFLAGS="-g"
|
---|
| 3151 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[16589] | 3152 | /* confdefs.h. */
|
---|
| 3153 | _ACEOF
|
---|
| 3154 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3155 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3156 | /* end confdefs.h. */
|
---|
| 3157 |
|
---|
| 3158 | int
|
---|
| 3159 | main ()
|
---|
| 3160 | {
|
---|
| 3161 |
|
---|
| 3162 | ;
|
---|
| 3163 | return 0;
|
---|
| 3164 | }
|
---|
| 3165 | _ACEOF
|
---|
| 3166 | rm -f conftest.$ac_objext
|
---|
[25215] | 3167 | if { (ac_try="$ac_compile"
|
---|
| 3168 | case "(($ac_try" in
|
---|
| 3169 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3170 | *) ac_try_echo=$ac_try;;
|
---|
| 3171 | esac
|
---|
[28328] | 3172 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 3173 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 3174 | ac_status=$?
|
---|
| 3175 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3176 | rm -f conftest.er1
|
---|
| 3177 | cat conftest.err >&5
|
---|
[28328] | 3178 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 3179 | (exit $ac_status); } && {
|
---|
| 3180 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 3181 | test ! -s conftest.err
|
---|
| 3182 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 3183 | ac_cv_prog_cxx_g=yes
|
---|
| 3184 | else
|
---|
[28328] | 3185 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 3186 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3187 |
|
---|
[25215] | 3188 | CXXFLAGS=""
|
---|
| 3189 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[16589] | 3190 | /* confdefs.h. */
|
---|
| 3191 | _ACEOF
|
---|
| 3192 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3193 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3194 | /* end confdefs.h. */
|
---|
[25215] | 3195 |
|
---|
[16589] | 3196 | int
|
---|
| 3197 | main ()
|
---|
| 3198 | {
|
---|
[25215] | 3199 |
|
---|
[16589] | 3200 | ;
|
---|
| 3201 | return 0;
|
---|
| 3202 | }
|
---|
| 3203 | _ACEOF
|
---|
| 3204 | rm -f conftest.$ac_objext
|
---|
[25215] | 3205 | if { (ac_try="$ac_compile"
|
---|
| 3206 | case "(($ac_try" in
|
---|
| 3207 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3208 | *) ac_try_echo=$ac_try;;
|
---|
| 3209 | esac
|
---|
[28328] | 3210 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 3211 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 3212 | ac_status=$?
|
---|
| 3213 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3214 | rm -f conftest.er1
|
---|
| 3215 | cat conftest.err >&5
|
---|
[28328] | 3216 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 3217 | (exit $ac_status); } && {
|
---|
| 3218 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 3219 | test ! -s conftest.err
|
---|
| 3220 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 3221 | :
|
---|
| 3222 | else
|
---|
[28328] | 3223 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 3224 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3225 |
|
---|
[25215] | 3226 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3227 | CXXFLAGS="-g"
|
---|
| 3228 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[16589] | 3229 | /* confdefs.h. */
|
---|
| 3230 | _ACEOF
|
---|
| 3231 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3232 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3233 | /* end confdefs.h. */
|
---|
[25215] | 3234 |
|
---|
[16589] | 3235 | int
|
---|
| 3236 | main ()
|
---|
| 3237 | {
|
---|
[25215] | 3238 |
|
---|
[16589] | 3239 | ;
|
---|
| 3240 | return 0;
|
---|
| 3241 | }
|
---|
| 3242 | _ACEOF
|
---|
| 3243 | rm -f conftest.$ac_objext
|
---|
[25215] | 3244 | if { (ac_try="$ac_compile"
|
---|
| 3245 | case "(($ac_try" in
|
---|
| 3246 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3247 | *) ac_try_echo=$ac_try;;
|
---|
| 3248 | esac
|
---|
[28328] | 3249 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 3250 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 3251 | ac_status=$?
|
---|
| 3252 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3253 | rm -f conftest.er1
|
---|
| 3254 | cat conftest.err >&5
|
---|
[28328] | 3255 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 3256 | (exit $ac_status); } && {
|
---|
| 3257 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 3258 | test ! -s conftest.err
|
---|
| 3259 | } && test -s conftest.$ac_objext; then
|
---|
| 3260 | ac_cv_prog_cxx_g=yes
|
---|
[16589] | 3261 | else
|
---|
[28328] | 3262 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 3263 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3264 |
|
---|
[25215] | 3265 |
|
---|
[16589] | 3266 | fi
|
---|
[25215] | 3267 |
|
---|
| 3268 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 3269 | fi
|
---|
| 3270 |
|
---|
[25215] | 3271 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3272 | fi
|
---|
| 3273 |
|
---|
| 3274 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 3275 | ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
---|
| 3276 | fi
|
---|
[28328] | 3277 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
---|
| 3278 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
|
---|
[25215] | 3279 | if test "$ac_test_CXXFLAGS" = set; then
|
---|
| 3280 | CXXFLAGS=$ac_save_CXXFLAGS
|
---|
| 3281 | elif test $ac_cv_prog_cxx_g = yes; then
|
---|
| 3282 | if test "$GXX" = yes; then
|
---|
| 3283 | CXXFLAGS="-g -O2"
|
---|
| 3284 | else
|
---|
| 3285 | CXXFLAGS="-g"
|
---|
| 3286 | fi
|
---|
| 3287 | else
|
---|
| 3288 | if test "$GXX" = yes; then
|
---|
| 3289 | CXXFLAGS="-O2"
|
---|
| 3290 | else
|
---|
| 3291 | CXXFLAGS=
|
---|
| 3292 | fi
|
---|
| 3293 | fi
|
---|
[16589] | 3294 | ac_ext=c
|
---|
| 3295 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3296 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3297 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3298 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 3299 |
|
---|
| 3300 | for ac_prog in gawk mawk nawk awk
|
---|
| 3301 | do
|
---|
| 3302 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3303 | set dummy $ac_prog; ac_word=$2
|
---|
[28328] | 3304 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3305 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16589] | 3306 | if test "${ac_cv_prog_AWK+set}" = set; then
|
---|
[28328] | 3307 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 3308 | else
|
---|
| 3309 | if test -n "$AWK"; then
|
---|
| 3310 | ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
---|
| 3311 | else
|
---|
| 3312 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3313 | for as_dir in $PATH
|
---|
| 3314 | do
|
---|
| 3315 | IFS=$as_save_IFS
|
---|
| 3316 | test -z "$as_dir" && as_dir=.
|
---|
| 3317 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25215] | 3318 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16589] | 3319 | ac_cv_prog_AWK="$ac_prog"
|
---|
[28328] | 3320 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16589] | 3321 | break 2
|
---|
| 3322 | fi
|
---|
| 3323 | done
|
---|
| 3324 | done
|
---|
[25215] | 3325 | IFS=$as_save_IFS
|
---|
[16589] | 3326 |
|
---|
| 3327 | fi
|
---|
| 3328 | fi
|
---|
| 3329 | AWK=$ac_cv_prog_AWK
|
---|
| 3330 | if test -n "$AWK"; then
|
---|
[28328] | 3331 | { echo "$as_me:$LINENO: result: $AWK" >&5
|
---|
| 3332 | echo "${ECHO_T}$AWK" >&6; }
|
---|
[16589] | 3333 | else
|
---|
[28328] | 3334 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3335 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 3336 | fi
|
---|
| 3337 |
|
---|
[25215] | 3338 |
|
---|
[16589] | 3339 | test -n "$AWK" && break
|
---|
| 3340 | done
|
---|
| 3341 |
|
---|
| 3342 | for ac_prog in 'bison -y' byacc
|
---|
| 3343 | do
|
---|
| 3344 | # Extract the first word of "$ac_prog", so it can be a program name with args.
|
---|
| 3345 | set dummy $ac_prog; ac_word=$2
|
---|
[28328] | 3346 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3347 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16589] | 3348 | if test "${ac_cv_prog_YACC+set}" = set; then
|
---|
[28328] | 3349 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 3350 | else
|
---|
| 3351 | if test -n "$YACC"; then
|
---|
| 3352 | ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
---|
| 3353 | else
|
---|
| 3354 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3355 | for as_dir in $PATH
|
---|
| 3356 | do
|
---|
| 3357 | IFS=$as_save_IFS
|
---|
| 3358 | test -z "$as_dir" && as_dir=.
|
---|
| 3359 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25215] | 3360 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16589] | 3361 | ac_cv_prog_YACC="$ac_prog"
|
---|
[28328] | 3362 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16589] | 3363 | break 2
|
---|
| 3364 | fi
|
---|
| 3365 | done
|
---|
| 3366 | done
|
---|
[25215] | 3367 | IFS=$as_save_IFS
|
---|
[16589] | 3368 |
|
---|
| 3369 | fi
|
---|
| 3370 | fi
|
---|
| 3371 | YACC=$ac_cv_prog_YACC
|
---|
| 3372 | if test -n "$YACC"; then
|
---|
[28328] | 3373 | { echo "$as_me:$LINENO: result: $YACC" >&5
|
---|
| 3374 | echo "${ECHO_T}$YACC" >&6; }
|
---|
[16589] | 3375 | else
|
---|
[28328] | 3376 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3377 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 3378 | fi
|
---|
| 3379 |
|
---|
[25215] | 3380 |
|
---|
[16589] | 3381 | test -n "$YACC" && break
|
---|
| 3382 | done
|
---|
| 3383 | test -n "$YACC" || YACC="yacc"
|
---|
| 3384 |
|
---|
| 3385 | ac_aux_dir=
|
---|
[25215] | 3386 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
---|
| 3387 | if test -f "$ac_dir/install-sh"; then
|
---|
[16589] | 3388 | ac_aux_dir=$ac_dir
|
---|
| 3389 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
---|
| 3390 | break
|
---|
[25215] | 3391 | elif test -f "$ac_dir/install.sh"; then
|
---|
[16589] | 3392 | ac_aux_dir=$ac_dir
|
---|
| 3393 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
---|
| 3394 | break
|
---|
[25215] | 3395 | elif test -f "$ac_dir/shtool"; then
|
---|
[16589] | 3396 | ac_aux_dir=$ac_dir
|
---|
| 3397 | ac_install_sh="$ac_aux_dir/shtool install -c"
|
---|
| 3398 | break
|
---|
| 3399 | fi
|
---|
| 3400 | done
|
---|
| 3401 | if test -z "$ac_aux_dir"; then
|
---|
[28328] | 3402 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
---|
| 3403 | echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
---|
[16589] | 3404 | { (exit 1); exit 1; }; }
|
---|
| 3405 | fi
|
---|
| 3406 |
|
---|
[25215] | 3407 | # These three variables are undocumented and unsupported,
|
---|
| 3408 | # and are intended to be withdrawn in a future Autoconf release.
|
---|
| 3409 | # They can cause serious problems if a builder's source tree is in a directory
|
---|
| 3410 | # whose full name contains unusual characters.
|
---|
| 3411 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
---|
| 3412 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
---|
| 3413 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
---|
| 3414 |
|
---|
| 3415 |
|
---|
[16589] | 3416 | # Make sure we can run config.sub.
|
---|
[25215] | 3417 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
---|
[28328] | 3418 | { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
---|
| 3419 | echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
---|
[16589] | 3420 | { (exit 1); exit 1; }; }
|
---|
| 3421 |
|
---|
[28328] | 3422 | { echo "$as_me:$LINENO: checking build system type" >&5
|
---|
| 3423 | echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
|
---|
[16589] | 3424 | if test "${ac_cv_build+set}" = set; then
|
---|
[28328] | 3425 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 3426 | else
|
---|
[25215] | 3427 | ac_build_alias=$build_alias
|
---|
| 3428 | test "x$ac_build_alias" = x &&
|
---|
| 3429 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
---|
| 3430 | test "x$ac_build_alias" = x &&
|
---|
[28328] | 3431 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
---|
| 3432 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
---|
[16589] | 3433 | { (exit 1); exit 1; }; }
|
---|
[25215] | 3434 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
---|
[28328] | 3435 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
|
---|
| 3436 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
---|
[16589] | 3437 | { (exit 1); exit 1; }; }
|
---|
| 3438 |
|
---|
| 3439 | fi
|
---|
[28328] | 3440 | { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
---|
| 3441 | echo "${ECHO_T}$ac_cv_build" >&6; }
|
---|
[25215] | 3442 | case $ac_cv_build in
|
---|
| 3443 | *-*-*) ;;
|
---|
[28328] | 3444 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
|
---|
| 3445 | echo "$as_me: error: invalid value of canonical build" >&2;}
|
---|
[25215] | 3446 | { (exit 1); exit 1; }; };;
|
---|
| 3447 | esac
|
---|
[16589] | 3448 | build=$ac_cv_build
|
---|
[25215] | 3449 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 3450 | set x $ac_cv_build
|
---|
| 3451 | shift
|
---|
| 3452 | build_cpu=$1
|
---|
| 3453 | build_vendor=$2
|
---|
| 3454 | shift; shift
|
---|
| 3455 | # Remember, the first character of IFS is used to create $*,
|
---|
| 3456 | # except with old shells:
|
---|
| 3457 | build_os=$*
|
---|
| 3458 | IFS=$ac_save_IFS
|
---|
| 3459 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
---|
[16589] | 3460 |
|
---|
| 3461 |
|
---|
[28328] | 3462 | { echo "$as_me:$LINENO: checking host system type" >&5
|
---|
| 3463 | echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
|
---|
[16589] | 3464 | if test "${ac_cv_host+set}" = set; then
|
---|
[28328] | 3465 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 3466 | else
|
---|
[25215] | 3467 | if test "x$host_alias" = x; then
|
---|
| 3468 | ac_cv_host=$ac_cv_build
|
---|
| 3469 | else
|
---|
| 3470 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
---|
[28328] | 3471 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
---|
| 3472 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
---|
[16589] | 3473 | { (exit 1); exit 1; }; }
|
---|
[25215] | 3474 | fi
|
---|
[16589] | 3475 |
|
---|
| 3476 | fi
|
---|
[28328] | 3477 | { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
---|
| 3478 | echo "${ECHO_T}$ac_cv_host" >&6; }
|
---|
[25215] | 3479 | case $ac_cv_host in
|
---|
| 3480 | *-*-*) ;;
|
---|
[28328] | 3481 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
---|
| 3482 | echo "$as_me: error: invalid value of canonical host" >&2;}
|
---|
[25215] | 3483 | { (exit 1); exit 1; }; };;
|
---|
| 3484 | esac
|
---|
[16589] | 3485 | host=$ac_cv_host
|
---|
[25215] | 3486 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 3487 | set x $ac_cv_host
|
---|
| 3488 | shift
|
---|
| 3489 | host_cpu=$1
|
---|
| 3490 | host_vendor=$2
|
---|
| 3491 | shift; shift
|
---|
| 3492 | # Remember, the first character of IFS is used to create $*,
|
---|
| 3493 | # except with old shells:
|
---|
| 3494 | host_os=$*
|
---|
| 3495 | IFS=$ac_save_IFS
|
---|
| 3496 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
---|
[16589] | 3497 |
|
---|
| 3498 |
|
---|
[28328] | 3499 | { echo "$as_me:$LINENO: checking target system type" >&5
|
---|
| 3500 | echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
|
---|
[16589] | 3501 | if test "${ac_cv_target+set}" = set; then
|
---|
[28328] | 3502 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 3503 | else
|
---|
[25215] | 3504 | if test "x$target_alias" = x; then
|
---|
| 3505 | ac_cv_target=$ac_cv_host
|
---|
| 3506 | else
|
---|
| 3507 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
---|
[28328] | 3508 | { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
|
---|
| 3509 | echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
|
---|
[16589] | 3510 | { (exit 1); exit 1; }; }
|
---|
[25215] | 3511 | fi
|
---|
[16589] | 3512 |
|
---|
| 3513 | fi
|
---|
[28328] | 3514 | { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
---|
| 3515 | echo "${ECHO_T}$ac_cv_target" >&6; }
|
---|
[25215] | 3516 | case $ac_cv_target in
|
---|
| 3517 | *-*-*) ;;
|
---|
[28328] | 3518 | *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
|
---|
| 3519 | echo "$as_me: error: invalid value of canonical target" >&2;}
|
---|
[25215] | 3520 | { (exit 1); exit 1; }; };;
|
---|
| 3521 | esac
|
---|
[16589] | 3522 | target=$ac_cv_target
|
---|
[25215] | 3523 | ac_save_IFS=$IFS; IFS='-'
|
---|
| 3524 | set x $ac_cv_target
|
---|
| 3525 | shift
|
---|
| 3526 | target_cpu=$1
|
---|
| 3527 | target_vendor=$2
|
---|
| 3528 | shift; shift
|
---|
| 3529 | # Remember, the first character of IFS is used to create $*,
|
---|
| 3530 | # except with old shells:
|
---|
| 3531 | target_os=$*
|
---|
| 3532 | IFS=$ac_save_IFS
|
---|
| 3533 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
---|
[16589] | 3534 |
|
---|
| 3535 |
|
---|
| 3536 | # The aliases save the names the user supplied, while $host etc.
|
---|
| 3537 | # will get canonicalized.
|
---|
| 3538 | test -n "$target_alias" &&
|
---|
| 3539 | test "$program_prefix$program_suffix$program_transform_name" = \
|
---|
| 3540 | NONENONEs,x,x, &&
|
---|
| 3541 | program_prefix=${target_alias}-
|
---|
| 3542 | # Find a good install program. We prefer a C program (faster),
|
---|
| 3543 | # so one script is as good as another. But avoid the broken or
|
---|
| 3544 | # incompatible versions:
|
---|
| 3545 | # SysV /etc/install, /usr/sbin/install
|
---|
| 3546 | # SunOS /usr/etc/install
|
---|
| 3547 | # IRIX /sbin/install
|
---|
| 3548 | # AIX /bin/install
|
---|
| 3549 | # AmigaOS /C/install, which installs bootblocks on floppy discs
|
---|
| 3550 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
---|
| 3551 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
---|
| 3552 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
---|
| 3553 | # OS/2's system install, which has a completely different semantic
|
---|
| 3554 | # ./install, which can be erroneously created by make from ./install.sh.
|
---|
[28328] | 3555 | { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
---|
| 3556 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
---|
[16589] | 3557 | if test -z "$INSTALL"; then
|
---|
| 3558 | if test "${ac_cv_path_install+set}" = set; then
|
---|
[28328] | 3559 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 3560 | else
|
---|
| 3561 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3562 | for as_dir in $PATH
|
---|
| 3563 | do
|
---|
| 3564 | IFS=$as_save_IFS
|
---|
| 3565 | test -z "$as_dir" && as_dir=.
|
---|
| 3566 | # Account for people who put trailing slashes in PATH elements.
|
---|
| 3567 | case $as_dir/ in
|
---|
| 3568 | ./ | .// | /cC/* | \
|
---|
| 3569 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
---|
| 3570 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
---|
| 3571 | /usr/ucb/* ) ;;
|
---|
| 3572 | *)
|
---|
| 3573 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
---|
| 3574 | # Don't use installbsd from OSF since it installs stuff as root
|
---|
| 3575 | # by default.
|
---|
| 3576 | for ac_prog in ginstall scoinst install; do
|
---|
| 3577 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25215] | 3578 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
---|
[16589] | 3579 | if test $ac_prog = install &&
|
---|
| 3580 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 3581 | # AIX install. It has an incompatible calling convention.
|
---|
| 3582 | :
|
---|
| 3583 | elif test $ac_prog = install &&
|
---|
| 3584 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
---|
| 3585 | # program-specific install script used by HP pwplus--don't use.
|
---|
| 3586 | :
|
---|
| 3587 | else
|
---|
[28328] | 3588 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
---|
| 3589 | break 3
|
---|
[16589] | 3590 | fi
|
---|
| 3591 | fi
|
---|
| 3592 | done
|
---|
| 3593 | done
|
---|
| 3594 | ;;
|
---|
| 3595 | esac
|
---|
| 3596 | done
|
---|
[25215] | 3597 | IFS=$as_save_IFS
|
---|
[16589] | 3598 |
|
---|
| 3599 |
|
---|
| 3600 | fi
|
---|
| 3601 | if test "${ac_cv_path_install+set}" = set; then
|
---|
| 3602 | INSTALL=$ac_cv_path_install
|
---|
| 3603 | else
|
---|
[25215] | 3604 | # As a last resort, use the slow shell script. Don't cache a
|
---|
| 3605 | # value for INSTALL within a source directory, because that will
|
---|
[16589] | 3606 | # break other packages using the cache if that directory is
|
---|
[25215] | 3607 | # removed, or if the value is a relative name.
|
---|
[16589] | 3608 | INSTALL=$ac_install_sh
|
---|
| 3609 | fi
|
---|
| 3610 | fi
|
---|
[28328] | 3611 | { echo "$as_me:$LINENO: result: $INSTALL" >&5
|
---|
| 3612 | echo "${ECHO_T}$INSTALL" >&6; }
|
---|
[16589] | 3613 |
|
---|
| 3614 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
---|
| 3615 | # It thinks the first close brace ends the variable substitution.
|
---|
| 3616 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
---|
| 3617 |
|
---|
| 3618 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
---|
| 3619 |
|
---|
| 3620 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
---|
| 3621 |
|
---|
[28328] | 3622 | { echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
---|
| 3623 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
|
---|
[16589] | 3624 | LN_S=$as_ln_s
|
---|
| 3625 | if test "$LN_S" = "ln -s"; then
|
---|
[28328] | 3626 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3627 | echo "${ECHO_T}yes" >&6; }
|
---|
[16589] | 3628 | else
|
---|
[28328] | 3629 | { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
---|
| 3630 | echo "${ECHO_T}no, using $LN_S" >&6; }
|
---|
[16589] | 3631 | fi
|
---|
| 3632 |
|
---|
[28328] | 3633 | { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
---|
| 3634 | echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
|
---|
| 3635 | set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
---|
[25215] | 3636 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[28328] | 3637 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 3638 | else
|
---|
| 3639 | cat >conftest.make <<\_ACEOF
|
---|
[25215] | 3640 | SHELL = /bin/sh
|
---|
[16589] | 3641 | all:
|
---|
[25215] | 3642 | @echo '@@@%%%=$(MAKE)=@@@%%%'
|
---|
[16589] | 3643 | _ACEOF
|
---|
| 3644 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
---|
[25215] | 3645 | case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
---|
| 3646 | *@@@%%%=?*=@@@%%%*)
|
---|
| 3647 | eval ac_cv_prog_make_${ac_make}_set=yes;;
|
---|
| 3648 | *)
|
---|
| 3649 | eval ac_cv_prog_make_${ac_make}_set=no;;
|
---|
| 3650 | esac
|
---|
[16589] | 3651 | rm -f conftest.make
|
---|
| 3652 | fi
|
---|
[25215] | 3653 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
---|
[28328] | 3654 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3655 | echo "${ECHO_T}yes" >&6; }
|
---|
[16589] | 3656 | SET_MAKE=
|
---|
| 3657 | else
|
---|
[28328] | 3658 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3659 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 3660 | SET_MAKE="MAKE=${MAKE-make}"
|
---|
| 3661 | fi
|
---|
| 3662 |
|
---|
| 3663 | if test -n "$ac_tool_prefix"; then
|
---|
| 3664 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
---|
| 3665 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
---|
[28328] | 3666 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3667 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16589] | 3668 | if test "${ac_cv_prog_RANLIB+set}" = set; then
|
---|
[28328] | 3669 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 3670 | else
|
---|
| 3671 | if test -n "$RANLIB"; then
|
---|
| 3672 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
---|
| 3673 | else
|
---|
| 3674 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3675 | for as_dir in $PATH
|
---|
| 3676 | do
|
---|
| 3677 | IFS=$as_save_IFS
|
---|
| 3678 | test -z "$as_dir" && as_dir=.
|
---|
| 3679 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25215] | 3680 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16589] | 3681 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
---|
[28328] | 3682 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16589] | 3683 | break 2
|
---|
| 3684 | fi
|
---|
| 3685 | done
|
---|
| 3686 | done
|
---|
[25215] | 3687 | IFS=$as_save_IFS
|
---|
[16589] | 3688 |
|
---|
| 3689 | fi
|
---|
| 3690 | fi
|
---|
| 3691 | RANLIB=$ac_cv_prog_RANLIB
|
---|
| 3692 | if test -n "$RANLIB"; then
|
---|
[28328] | 3693 | { echo "$as_me:$LINENO: result: $RANLIB" >&5
|
---|
| 3694 | echo "${ECHO_T}$RANLIB" >&6; }
|
---|
[16589] | 3695 | else
|
---|
[28328] | 3696 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3697 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 3698 | fi
|
---|
| 3699 |
|
---|
[25215] | 3700 |
|
---|
[16589] | 3701 | fi
|
---|
| 3702 | if test -z "$ac_cv_prog_RANLIB"; then
|
---|
| 3703 | ac_ct_RANLIB=$RANLIB
|
---|
| 3704 | # Extract the first word of "ranlib", so it can be a program name with args.
|
---|
| 3705 | set dummy ranlib; ac_word=$2
|
---|
[28328] | 3706 | { echo "$as_me:$LINENO: checking for $ac_word" >&5
|
---|
| 3707 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
---|
[16589] | 3708 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
---|
[28328] | 3709 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 3710 | else
|
---|
| 3711 | if test -n "$ac_ct_RANLIB"; then
|
---|
| 3712 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
---|
| 3713 | else
|
---|
| 3714 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 3715 | for as_dir in $PATH
|
---|
| 3716 | do
|
---|
| 3717 | IFS=$as_save_IFS
|
---|
| 3718 | test -z "$as_dir" && as_dir=.
|
---|
| 3719 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
[25215] | 3720 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
---|
[16589] | 3721 | ac_cv_prog_ac_ct_RANLIB="ranlib"
|
---|
[28328] | 3722 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
---|
[16589] | 3723 | break 2
|
---|
| 3724 | fi
|
---|
| 3725 | done
|
---|
| 3726 | done
|
---|
[25215] | 3727 | IFS=$as_save_IFS
|
---|
[16589] | 3728 |
|
---|
| 3729 | fi
|
---|
| 3730 | fi
|
---|
| 3731 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
---|
| 3732 | if test -n "$ac_ct_RANLIB"; then
|
---|
[28328] | 3733 | { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
---|
| 3734 | echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
|
---|
[16589] | 3735 | else
|
---|
[28328] | 3736 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3737 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 3738 | fi
|
---|
| 3739 |
|
---|
[25215] | 3740 | if test "x$ac_ct_RANLIB" = x; then
|
---|
| 3741 | RANLIB=":"
|
---|
| 3742 | else
|
---|
| 3743 | case $cross_compiling:$ac_tool_warned in
|
---|
| 3744 | yes:)
|
---|
[28328] | 3745 | { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 3746 | whose name does not start with the host triplet. If you think this
|
---|
| 3747 | configuration is useful to you, please write to [email protected]." >&5
|
---|
| 3748 | echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
---|
| 3749 | whose name does not start with the host triplet. If you think this
|
---|
| 3750 | configuration is useful to you, please write to [email protected]." >&2;}
|
---|
[25215] | 3751 | ac_tool_warned=yes ;;
|
---|
| 3752 | esac
|
---|
| 3753 | RANLIB=$ac_ct_RANLIB
|
---|
| 3754 | fi
|
---|
[16589] | 3755 | else
|
---|
| 3756 | RANLIB="$ac_cv_prog_RANLIB"
|
---|
| 3757 | fi
|
---|
| 3758 |
|
---|
| 3759 |
|
---|
[28328] | 3760 | { echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
|
---|
| 3761 | echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6; }
|
---|
[16589] | 3762 | arch_64bit=no
|
---|
| 3763 | case "$host_cpu" in
|
---|
| 3764 | x86_64) arch_64bit=yes ;;
|
---|
| 3765 | esac
|
---|
| 3766 |
|
---|
| 3767 | if test "$arch_64bit" = yes; then
|
---|
[28328] | 3768 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 3769 | echo "${ECHO_T}yes" >&6; }
|
---|
[25215] | 3770 | if test -z "$ARCH_DEP_FLAGS" ; then
|
---|
| 3771 | ARCH_DEP_FLAGS=-fPIC
|
---|
[16589] | 3772 | fi
|
---|
| 3773 | else
|
---|
[28328] | 3774 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 3775 | echo "${ECHO_T}no" >&6; }
|
---|
[25215] | 3776 | if test -z "$ARCH_DEP_FLAGS" ; then
|
---|
| 3777 | ARCH_DEP_FLAGS=
|
---|
[16589] | 3778 | fi
|
---|
| 3779 | fi
|
---|
[21434] | 3780 |
|
---|
[25215] | 3781 | export ARCH_DEP_FLAGS
|
---|
[21434] | 3782 |
|
---|
[16589] | 3783 |
|
---|
| 3784 | #moved CORBA MICO directory test to get version of MICO
|
---|
| 3785 | if test $USE_CORBA = 1; then
|
---|
| 3786 |
|
---|
| 3787 | if test $MICO_DIR = "default"; then
|
---|
| 3788 | #do something
|
---|
| 3789 | MICO_INC="-I packages/mico/mico/include"
|
---|
| 3790 | else
|
---|
| 3791 | #build the micotest program
|
---|
| 3792 | MICO_INC= ""
|
---|
| 3793 | if test $MICO_DIR != yes; then
|
---|
| 3794 | MICO_INC="-I $MICO_DIR"
|
---|
| 3795 | fi
|
---|
| 3796 | fi
|
---|
| 3797 |
|
---|
| 3798 | #get MICO_VER value
|
---|
| 3799 | sh -c "$CC -c micotest.cpp -o micotest.o $MICO_INC 2>&1" > /dev/null
|
---|
| 3800 | sh -c "$CC -o micotest micotest.o -lstdc++ 2>&1" > /dev/null
|
---|
| 3801 | MICO_VER=`./micotest` || MICO_VER=2.3.5
|
---|
| 3802 | sh -c "rm micotest"
|
---|
| 3803 | sh -c "rm micotest.o"
|
---|
| 3804 |
|
---|
| 3805 | #do test of MICO_VER
|
---|
| 3806 | if test MICO_VER != 0; then
|
---|
| 3807 | cat >>confdefs.h <<\_ACEOF
|
---|
| 3808 | #define MICO_VER 1
|
---|
| 3809 | _ACEOF
|
---|
| 3810 |
|
---|
| 3811 |
|
---|
| 3812 | fi
|
---|
| 3813 | #end USE_CORBA test
|
---|
| 3814 | fi
|
---|
| 3815 |
|
---|
| 3816 |
|
---|
| 3817 | ac_ext=c
|
---|
| 3818 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 3819 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 3820 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 3821 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
[28328] | 3822 | { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
---|
| 3823 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
|
---|
[16589] | 3824 | # On Suns, sometimes $CPP names a directory.
|
---|
| 3825 | if test -n "$CPP" && test -d "$CPP"; then
|
---|
| 3826 | CPP=
|
---|
| 3827 | fi
|
---|
| 3828 | if test -z "$CPP"; then
|
---|
| 3829 | if test "${ac_cv_prog_CPP+set}" = set; then
|
---|
[28328] | 3830 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 3831 | else
|
---|
| 3832 | # Double quotes because CPP needs to be expanded
|
---|
| 3833 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
---|
| 3834 | do
|
---|
| 3835 | ac_preproc_ok=false
|
---|
| 3836 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 3837 | do
|
---|
| 3838 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 3839 | # with a fresh cross-compiler works.
|
---|
| 3840 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 3841 | # <limits.h> exists even on freestanding compilers.
|
---|
| 3842 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 3843 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
| 3844 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3845 | /* confdefs.h. */
|
---|
| 3846 | _ACEOF
|
---|
| 3847 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3848 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3849 | /* end confdefs.h. */
|
---|
| 3850 | #ifdef __STDC__
|
---|
| 3851 | # include <limits.h>
|
---|
| 3852 | #else
|
---|
| 3853 | # include <assert.h>
|
---|
| 3854 | #endif
|
---|
| 3855 | Syntax error
|
---|
| 3856 | _ACEOF
|
---|
[25215] | 3857 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 3858 | case "(($ac_try" in
|
---|
| 3859 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3860 | *) ac_try_echo=$ac_try;;
|
---|
| 3861 | esac
|
---|
[28328] | 3862 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 3863 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
[16589] | 3864 | ac_status=$?
|
---|
| 3865 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3866 | rm -f conftest.er1
|
---|
| 3867 | cat conftest.err >&5
|
---|
[28328] | 3868 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 3869 | (exit $ac_status); } >/dev/null && {
|
---|
| 3870 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 3871 | test ! -s conftest.err
|
---|
| 3872 | }; then
|
---|
[16589] | 3873 | :
|
---|
| 3874 | else
|
---|
[28328] | 3875 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 3876 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3877 |
|
---|
| 3878 | # Broken: fails on valid input.
|
---|
| 3879 | continue
|
---|
| 3880 | fi
|
---|
[25215] | 3881 |
|
---|
[16589] | 3882 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3883 |
|
---|
[25215] | 3884 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16589] | 3885 | # can be detected and how.
|
---|
| 3886 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3887 | /* confdefs.h. */
|
---|
| 3888 | _ACEOF
|
---|
| 3889 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3890 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3891 | /* end confdefs.h. */
|
---|
| 3892 | #include <ac_nonexistent.h>
|
---|
| 3893 | _ACEOF
|
---|
[25215] | 3894 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 3895 | case "(($ac_try" in
|
---|
| 3896 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3897 | *) ac_try_echo=$ac_try;;
|
---|
| 3898 | esac
|
---|
[28328] | 3899 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 3900 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
[16589] | 3901 | ac_status=$?
|
---|
| 3902 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3903 | rm -f conftest.er1
|
---|
| 3904 | cat conftest.err >&5
|
---|
[28328] | 3905 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 3906 | (exit $ac_status); } >/dev/null && {
|
---|
| 3907 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 3908 | test ! -s conftest.err
|
---|
| 3909 | }; then
|
---|
[16589] | 3910 | # Broken: success on invalid input.
|
---|
| 3911 | continue
|
---|
| 3912 | else
|
---|
[28328] | 3913 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 3914 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3915 |
|
---|
| 3916 | # Passes both tests.
|
---|
| 3917 | ac_preproc_ok=:
|
---|
| 3918 | break
|
---|
| 3919 | fi
|
---|
[25215] | 3920 |
|
---|
[16589] | 3921 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3922 |
|
---|
| 3923 | done
|
---|
| 3924 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
| 3925 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3926 | if $ac_preproc_ok; then
|
---|
| 3927 | break
|
---|
| 3928 | fi
|
---|
| 3929 |
|
---|
| 3930 | done
|
---|
| 3931 | ac_cv_prog_CPP=$CPP
|
---|
| 3932 |
|
---|
| 3933 | fi
|
---|
| 3934 | CPP=$ac_cv_prog_CPP
|
---|
| 3935 | else
|
---|
| 3936 | ac_cv_prog_CPP=$CPP
|
---|
| 3937 | fi
|
---|
[28328] | 3938 | { echo "$as_me:$LINENO: result: $CPP" >&5
|
---|
| 3939 | echo "${ECHO_T}$CPP" >&6; }
|
---|
[16589] | 3940 | ac_preproc_ok=false
|
---|
| 3941 | for ac_c_preproc_warn_flag in '' yes
|
---|
| 3942 | do
|
---|
| 3943 | # Use a header file that comes with gcc, so configuring glibc
|
---|
| 3944 | # with a fresh cross-compiler works.
|
---|
| 3945 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 3946 | # <limits.h> exists even on freestanding compilers.
|
---|
| 3947 | # On the NeXT, cc -E runs the code through the compiler's parser,
|
---|
| 3948 | # not just through cpp. "Syntax error" is here to catch this case.
|
---|
| 3949 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3950 | /* confdefs.h. */
|
---|
| 3951 | _ACEOF
|
---|
| 3952 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3953 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3954 | /* end confdefs.h. */
|
---|
| 3955 | #ifdef __STDC__
|
---|
| 3956 | # include <limits.h>
|
---|
| 3957 | #else
|
---|
| 3958 | # include <assert.h>
|
---|
| 3959 | #endif
|
---|
| 3960 | Syntax error
|
---|
| 3961 | _ACEOF
|
---|
[25215] | 3962 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 3963 | case "(($ac_try" in
|
---|
| 3964 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 3965 | *) ac_try_echo=$ac_try;;
|
---|
| 3966 | esac
|
---|
[28328] | 3967 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 3968 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
[16589] | 3969 | ac_status=$?
|
---|
| 3970 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 3971 | rm -f conftest.er1
|
---|
| 3972 | cat conftest.err >&5
|
---|
[28328] | 3973 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 3974 | (exit $ac_status); } >/dev/null && {
|
---|
| 3975 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 3976 | test ! -s conftest.err
|
---|
| 3977 | }; then
|
---|
[16589] | 3978 | :
|
---|
| 3979 | else
|
---|
[28328] | 3980 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 3981 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 3982 |
|
---|
| 3983 | # Broken: fails on valid input.
|
---|
| 3984 | continue
|
---|
| 3985 | fi
|
---|
[25215] | 3986 |
|
---|
[16589] | 3987 | rm -f conftest.err conftest.$ac_ext
|
---|
| 3988 |
|
---|
[25215] | 3989 | # OK, works on sane cases. Now check whether nonexistent headers
|
---|
[16589] | 3990 | # can be detected and how.
|
---|
| 3991 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 3992 | /* confdefs.h. */
|
---|
| 3993 | _ACEOF
|
---|
| 3994 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 3995 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 3996 | /* end confdefs.h. */
|
---|
| 3997 | #include <ac_nonexistent.h>
|
---|
| 3998 | _ACEOF
|
---|
[25215] | 3999 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 4000 | case "(($ac_try" in
|
---|
| 4001 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4002 | *) ac_try_echo=$ac_try;;
|
---|
| 4003 | esac
|
---|
[28328] | 4004 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 4005 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
[16589] | 4006 | ac_status=$?
|
---|
| 4007 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4008 | rm -f conftest.er1
|
---|
| 4009 | cat conftest.err >&5
|
---|
[28328] | 4010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 4011 | (exit $ac_status); } >/dev/null && {
|
---|
| 4012 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 4013 | test ! -s conftest.err
|
---|
| 4014 | }; then
|
---|
[16589] | 4015 | # Broken: success on invalid input.
|
---|
| 4016 | continue
|
---|
| 4017 | else
|
---|
[28328] | 4018 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 4019 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4020 |
|
---|
| 4021 | # Passes both tests.
|
---|
| 4022 | ac_preproc_ok=:
|
---|
| 4023 | break
|
---|
| 4024 | fi
|
---|
[25215] | 4025 |
|
---|
[16589] | 4026 | rm -f conftest.err conftest.$ac_ext
|
---|
| 4027 |
|
---|
| 4028 | done
|
---|
| 4029 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
---|
| 4030 | rm -f conftest.err conftest.$ac_ext
|
---|
| 4031 | if $ac_preproc_ok; then
|
---|
| 4032 | :
|
---|
| 4033 | else
|
---|
[28328] | 4034 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
---|
[16589] | 4035 | See \`config.log' for more details." >&5
|
---|
[28328] | 4036 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
---|
[16589] | 4037 | See \`config.log' for more details." >&2;}
|
---|
[28328] | 4038 | { (exit 1); exit 1; }; }
|
---|
[16589] | 4039 | fi
|
---|
| 4040 |
|
---|
| 4041 | ac_ext=c
|
---|
| 4042 | ac_cpp='$CPP $CPPFLAGS'
|
---|
| 4043 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 4044 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 4045 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
---|
| 4046 |
|
---|
| 4047 |
|
---|
[28328] | 4048 | { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
---|
| 4049 | echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
---|
[25215] | 4050 | if test "${ac_cv_path_GREP+set}" = set; then
|
---|
[28328] | 4051 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 4052 | else
|
---|
[28328] | 4053 | # Extract the first word of "grep ggrep" to use in msg output
|
---|
| 4054 | if test -z "$GREP"; then
|
---|
| 4055 | set dummy grep ggrep; ac_prog_name=$2
|
---|
| 4056 | if test "${ac_cv_path_GREP+set}" = set; then
|
---|
| 4057 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4058 | else
|
---|
[25215] | 4059 | ac_path_GREP_found=false
|
---|
[28328] | 4060 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4061 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
[25215] | 4062 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4063 | do
|
---|
| 4064 | IFS=$as_save_IFS
|
---|
| 4065 | test -z "$as_dir" && as_dir=.
|
---|
| 4066 | for ac_prog in grep ggrep; do
|
---|
[28328] | 4067 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4068 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4069 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
---|
| 4070 | # Check for GNU ac_path_GREP and select it if it is found.
|
---|
[25215] | 4071 | # Check for GNU $ac_path_GREP
|
---|
| 4072 | case `"$ac_path_GREP" --version 2>&1` in
|
---|
| 4073 | *GNU*)
|
---|
| 4074 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
---|
| 4075 | *)
|
---|
| 4076 | ac_count=0
|
---|
[28328] | 4077 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
---|
[25215] | 4078 | while :
|
---|
| 4079 | do
|
---|
| 4080 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4081 | mv "conftest.tmp" "conftest.in"
|
---|
| 4082 | cp "conftest.in" "conftest.nl"
|
---|
[28328] | 4083 | echo 'GREP' >> "conftest.nl"
|
---|
[25215] | 4084 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4085 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 4086 | ac_count=`expr $ac_count + 1`
|
---|
| 4087 | if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
---|
| 4088 | # Best one so far, save it but keep looking for a better one
|
---|
| 4089 | ac_cv_path_GREP="$ac_path_GREP"
|
---|
| 4090 | ac_path_GREP_max=$ac_count
|
---|
[16589] | 4091 | fi
|
---|
[25215] | 4092 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4093 | test $ac_count -gt 10 && break
|
---|
| 4094 | done
|
---|
| 4095 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4096 | esac
|
---|
[16589] | 4097 |
|
---|
[28328] | 4098 |
|
---|
| 4099 | $ac_path_GREP_found && break 3
|
---|
[25215] | 4100 | done
|
---|
| 4101 | done
|
---|
[28328] | 4102 |
|
---|
| 4103 | done
|
---|
[25215] | 4104 | IFS=$as_save_IFS
|
---|
[28328] | 4105 |
|
---|
| 4106 |
|
---|
| 4107 | fi
|
---|
| 4108 |
|
---|
| 4109 | GREP="$ac_cv_path_GREP"
|
---|
| 4110 | if test -z "$GREP"; then
|
---|
| 4111 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
---|
| 4112 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
---|
[25215] | 4113 | { (exit 1); exit 1; }; }
|
---|
[28328] | 4114 | fi
|
---|
| 4115 |
|
---|
[16589] | 4116 | else
|
---|
[25215] | 4117 | ac_cv_path_GREP=$GREP
|
---|
[16589] | 4118 | fi
|
---|
| 4119 |
|
---|
[28328] | 4120 |
|
---|
[25215] | 4121 | fi
|
---|
[28328] | 4122 | { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
---|
| 4123 | echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
---|
[25215] | 4124 | GREP="$ac_cv_path_GREP"
|
---|
[16589] | 4125 |
|
---|
| 4126 |
|
---|
[28328] | 4127 | { echo "$as_me:$LINENO: checking for egrep" >&5
|
---|
| 4128 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
---|
[25215] | 4129 | if test "${ac_cv_path_EGREP+set}" = set; then
|
---|
[28328] | 4130 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 4131 | else
|
---|
[25215] | 4132 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
---|
| 4133 | then ac_cv_path_EGREP="$GREP -E"
|
---|
| 4134 | else
|
---|
[28328] | 4135 | # Extract the first word of "egrep" to use in msg output
|
---|
| 4136 | if test -z "$EGREP"; then
|
---|
| 4137 | set dummy egrep; ac_prog_name=$2
|
---|
| 4138 | if test "${ac_cv_path_EGREP+set}" = set; then
|
---|
| 4139 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4140 | else
|
---|
[25215] | 4141 | ac_path_EGREP_found=false
|
---|
[28328] | 4142 | # Loop through the user's path and test for each of PROGNAME-LIST
|
---|
| 4143 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
[25215] | 4144 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
---|
| 4145 | do
|
---|
| 4146 | IFS=$as_save_IFS
|
---|
| 4147 | test -z "$as_dir" && as_dir=.
|
---|
| 4148 | for ac_prog in egrep; do
|
---|
[28328] | 4149 | for ac_exec_ext in '' $ac_executable_extensions; do
|
---|
| 4150 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
---|
| 4151 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
---|
| 4152 | # Check for GNU ac_path_EGREP and select it if it is found.
|
---|
[25215] | 4153 | # Check for GNU $ac_path_EGREP
|
---|
| 4154 | case `"$ac_path_EGREP" --version 2>&1` in
|
---|
| 4155 | *GNU*)
|
---|
| 4156 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
---|
| 4157 | *)
|
---|
| 4158 | ac_count=0
|
---|
[28328] | 4159 | echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
---|
[25215] | 4160 | while :
|
---|
| 4161 | do
|
---|
| 4162 | cat "conftest.in" "conftest.in" >"conftest.tmp"
|
---|
| 4163 | mv "conftest.tmp" "conftest.in"
|
---|
| 4164 | cp "conftest.in" "conftest.nl"
|
---|
[28328] | 4165 | echo 'EGREP' >> "conftest.nl"
|
---|
[25215] | 4166 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
---|
| 4167 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
---|
| 4168 | ac_count=`expr $ac_count + 1`
|
---|
| 4169 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
---|
| 4170 | # Best one so far, save it but keep looking for a better one
|
---|
| 4171 | ac_cv_path_EGREP="$ac_path_EGREP"
|
---|
| 4172 | ac_path_EGREP_max=$ac_count
|
---|
| 4173 | fi
|
---|
| 4174 | # 10*(2^10) chars as input seems more than enough
|
---|
| 4175 | test $ac_count -gt 10 && break
|
---|
| 4176 | done
|
---|
| 4177 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
---|
| 4178 | esac
|
---|
[16589] | 4179 |
|
---|
[28328] | 4180 |
|
---|
| 4181 | $ac_path_EGREP_found && break 3
|
---|
[25215] | 4182 | done
|
---|
| 4183 | done
|
---|
[28328] | 4184 |
|
---|
| 4185 | done
|
---|
[25215] | 4186 | IFS=$as_save_IFS
|
---|
[28328] | 4187 |
|
---|
| 4188 |
|
---|
| 4189 | fi
|
---|
| 4190 |
|
---|
| 4191 | EGREP="$ac_cv_path_EGREP"
|
---|
| 4192 | if test -z "$EGREP"; then
|
---|
| 4193 | { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
---|
| 4194 | echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
---|
[25215] | 4195 | { (exit 1); exit 1; }; }
|
---|
[28328] | 4196 | fi
|
---|
| 4197 |
|
---|
[16589] | 4198 | else
|
---|
[25215] | 4199 | ac_cv_path_EGREP=$EGREP
|
---|
[16589] | 4200 | fi
|
---|
| 4201 |
|
---|
[28328] | 4202 |
|
---|
[25215] | 4203 | fi
|
---|
[16589] | 4204 | fi
|
---|
[28328] | 4205 | { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
---|
| 4206 | echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
|
---|
[25215] | 4207 | EGREP="$ac_cv_path_EGREP"
|
---|
[16589] | 4208 |
|
---|
[25215] | 4209 |
|
---|
[28328] | 4210 |
|
---|
| 4211 | { echo "$as_me:$LINENO: checking for AIX" >&5
|
---|
| 4212 | echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
|
---|
| 4213 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4214 | /* confdefs.h. */
|
---|
| 4215 | _ACEOF
|
---|
| 4216 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4217 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4218 | /* end confdefs.h. */
|
---|
| 4219 | #ifdef _AIX
|
---|
| 4220 | yes
|
---|
| 4221 | #endif
|
---|
| 4222 |
|
---|
| 4223 | _ACEOF
|
---|
| 4224 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 4225 | $EGREP "yes" >/dev/null 2>&1; then
|
---|
| 4226 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 4227 | echo "${ECHO_T}yes" >&6; }
|
---|
| 4228 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4229 | #define _ALL_SOURCE 1
|
---|
| 4230 | _ACEOF
|
---|
| 4231 |
|
---|
| 4232 | else
|
---|
| 4233 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 4234 | echo "${ECHO_T}no" >&6; }
|
---|
| 4235 | fi
|
---|
| 4236 | rm -f conftest*
|
---|
| 4237 |
|
---|
| 4238 |
|
---|
| 4239 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5
|
---|
| 4240 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
|
---|
| 4241 | if test "${ac_cv_search_strerror+set}" = set; then
|
---|
| 4242 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
| 4243 | else
|
---|
| 4244 | ac_func_search_save_LIBS=$LIBS
|
---|
| 4245 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4246 | /* confdefs.h. */
|
---|
| 4247 | _ACEOF
|
---|
| 4248 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4249 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4250 | /* end confdefs.h. */
|
---|
| 4251 |
|
---|
| 4252 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 4253 | Use char because int might match the return type of a GCC
|
---|
| 4254 | builtin and then its argument prototype would still apply. */
|
---|
| 4255 | #ifdef __cplusplus
|
---|
| 4256 | extern "C"
|
---|
| 4257 | #endif
|
---|
| 4258 | char strerror ();
|
---|
| 4259 | int
|
---|
| 4260 | main ()
|
---|
| 4261 | {
|
---|
| 4262 | return strerror ();
|
---|
| 4263 | ;
|
---|
| 4264 | return 0;
|
---|
| 4265 | }
|
---|
| 4266 | _ACEOF
|
---|
| 4267 | for ac_lib in '' cposix; do
|
---|
| 4268 | if test -z "$ac_lib"; then
|
---|
| 4269 | ac_res="none required"
|
---|
| 4270 | else
|
---|
| 4271 | ac_res=-l$ac_lib
|
---|
| 4272 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 4273 | fi
|
---|
| 4274 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 4275 | if { (ac_try="$ac_link"
|
---|
| 4276 | case "(($ac_try" in
|
---|
| 4277 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4278 | *) ac_try_echo=$ac_try;;
|
---|
| 4279 | esac
|
---|
| 4280 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
| 4281 | (eval "$ac_link") 2>conftest.er1
|
---|
| 4282 | ac_status=$?
|
---|
| 4283 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4284 | rm -f conftest.er1
|
---|
| 4285 | cat conftest.err >&5
|
---|
| 4286 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
| 4287 | (exit $ac_status); } && {
|
---|
| 4288 | test -z "$ac_c_werror_flag" ||
|
---|
| 4289 | test ! -s conftest.err
|
---|
| 4290 | } && test -s conftest$ac_exeext &&
|
---|
| 4291 | $as_test_x conftest$ac_exeext; then
|
---|
| 4292 | ac_cv_search_strerror=$ac_res
|
---|
| 4293 | else
|
---|
| 4294 | echo "$as_me: failed program was:" >&5
|
---|
| 4295 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4296 |
|
---|
| 4297 |
|
---|
| 4298 | fi
|
---|
| 4299 |
|
---|
| 4300 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 4301 | conftest$ac_exeext
|
---|
| 4302 | if test "${ac_cv_search_strerror+set}" = set; then
|
---|
| 4303 | break
|
---|
| 4304 | fi
|
---|
| 4305 | done
|
---|
| 4306 | if test "${ac_cv_search_strerror+set}" = set; then
|
---|
| 4307 | :
|
---|
| 4308 | else
|
---|
| 4309 | ac_cv_search_strerror=no
|
---|
| 4310 | fi
|
---|
| 4311 | rm conftest.$ac_ext
|
---|
| 4312 | LIBS=$ac_func_search_save_LIBS
|
---|
| 4313 | fi
|
---|
| 4314 | { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
|
---|
| 4315 | echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
|
---|
| 4316 | ac_res=$ac_cv_search_strerror
|
---|
| 4317 | if test "$ac_res" != no; then
|
---|
| 4318 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
| 4319 |
|
---|
| 4320 | fi
|
---|
| 4321 |
|
---|
| 4322 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
---|
| 4323 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
---|
[16589] | 4324 | if test "${ac_cv_header_stdc+set}" = set; then
|
---|
[28328] | 4325 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 4326 | else
|
---|
| 4327 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4328 | /* confdefs.h. */
|
---|
| 4329 | _ACEOF
|
---|
| 4330 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4331 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4332 | /* end confdefs.h. */
|
---|
| 4333 | #include <stdlib.h>
|
---|
| 4334 | #include <stdarg.h>
|
---|
| 4335 | #include <string.h>
|
---|
| 4336 | #include <float.h>
|
---|
| 4337 |
|
---|
| 4338 | int
|
---|
| 4339 | main ()
|
---|
| 4340 | {
|
---|
| 4341 |
|
---|
| 4342 | ;
|
---|
| 4343 | return 0;
|
---|
| 4344 | }
|
---|
| 4345 | _ACEOF
|
---|
| 4346 | rm -f conftest.$ac_objext
|
---|
[25215] | 4347 | if { (ac_try="$ac_compile"
|
---|
| 4348 | case "(($ac_try" in
|
---|
| 4349 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4350 | *) ac_try_echo=$ac_try;;
|
---|
| 4351 | esac
|
---|
[28328] | 4352 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 4353 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 4354 | ac_status=$?
|
---|
| 4355 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4356 | rm -f conftest.er1
|
---|
| 4357 | cat conftest.err >&5
|
---|
[28328] | 4358 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 4359 | (exit $ac_status); } && {
|
---|
| 4360 | test -z "$ac_c_werror_flag" ||
|
---|
| 4361 | test ! -s conftest.err
|
---|
| 4362 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 4363 | ac_cv_header_stdc=yes
|
---|
| 4364 | else
|
---|
[28328] | 4365 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 4366 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4367 |
|
---|
[25215] | 4368 | ac_cv_header_stdc=no
|
---|
[16589] | 4369 | fi
|
---|
| 4370 |
|
---|
[25215] | 4371 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 4372 |
|
---|
[16589] | 4373 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4374 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
| 4375 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4376 | /* confdefs.h. */
|
---|
| 4377 | _ACEOF
|
---|
| 4378 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4379 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4380 | /* end confdefs.h. */
|
---|
| 4381 | #include <string.h>
|
---|
| 4382 |
|
---|
| 4383 | _ACEOF
|
---|
| 4384 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 4385 | $EGREP "memchr" >/dev/null 2>&1; then
|
---|
| 4386 | :
|
---|
| 4387 | else
|
---|
| 4388 | ac_cv_header_stdc=no
|
---|
| 4389 | fi
|
---|
| 4390 | rm -f conftest*
|
---|
| 4391 |
|
---|
| 4392 | fi
|
---|
| 4393 |
|
---|
| 4394 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4395 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
| 4396 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4397 | /* confdefs.h. */
|
---|
| 4398 | _ACEOF
|
---|
| 4399 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4400 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4401 | /* end confdefs.h. */
|
---|
| 4402 | #include <stdlib.h>
|
---|
| 4403 |
|
---|
| 4404 | _ACEOF
|
---|
| 4405 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 4406 | $EGREP "free" >/dev/null 2>&1; then
|
---|
| 4407 | :
|
---|
| 4408 | else
|
---|
| 4409 | ac_cv_header_stdc=no
|
---|
| 4410 | fi
|
---|
| 4411 | rm -f conftest*
|
---|
| 4412 |
|
---|
| 4413 | fi
|
---|
| 4414 |
|
---|
| 4415 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4416 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
| 4417 | if test "$cross_compiling" = yes; then
|
---|
| 4418 | :
|
---|
| 4419 | else
|
---|
| 4420 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4421 | /* confdefs.h. */
|
---|
| 4422 | _ACEOF
|
---|
| 4423 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4424 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4425 | /* end confdefs.h. */
|
---|
| 4426 | #include <ctype.h>
|
---|
[25215] | 4427 | #include <stdlib.h>
|
---|
[16589] | 4428 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 4429 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 4430 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 4431 | #else
|
---|
| 4432 | # define ISLOWER(c) \
|
---|
| 4433 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 4434 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 4435 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 4436 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 4437 | #endif
|
---|
| 4438 |
|
---|
| 4439 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 4440 | int
|
---|
| 4441 | main ()
|
---|
| 4442 | {
|
---|
| 4443 | int i;
|
---|
| 4444 | for (i = 0; i < 256; i++)
|
---|
| 4445 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 4446 | || toupper (i) != TOUPPER (i))
|
---|
[25215] | 4447 | return 2;
|
---|
| 4448 | return 0;
|
---|
[16589] | 4449 | }
|
---|
| 4450 | _ACEOF
|
---|
| 4451 | rm -f conftest$ac_exeext
|
---|
[25215] | 4452 | if { (ac_try="$ac_link"
|
---|
| 4453 | case "(($ac_try" in
|
---|
| 4454 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4455 | *) ac_try_echo=$ac_try;;
|
---|
| 4456 | esac
|
---|
[28328] | 4457 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 4458 | (eval "$ac_link") 2>&5
|
---|
[16589] | 4459 | ac_status=$?
|
---|
[28328] | 4460 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 4461 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[25215] | 4462 | { (case "(($ac_try" in
|
---|
| 4463 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4464 | *) ac_try_echo=$ac_try;;
|
---|
| 4465 | esac
|
---|
[28328] | 4466 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 4467 | (eval "$ac_try") 2>&5
|
---|
[16589] | 4468 | ac_status=$?
|
---|
[28328] | 4469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 4470 | (exit $ac_status); }; }; then
|
---|
| 4471 | :
|
---|
| 4472 | else
|
---|
[28328] | 4473 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 4474 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 4475 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4476 |
|
---|
| 4477 | ( exit $ac_status )
|
---|
| 4478 | ac_cv_header_stdc=no
|
---|
| 4479 | fi
|
---|
[25215] | 4480 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 4481 | fi
|
---|
[25215] | 4482 |
|
---|
| 4483 |
|
---|
[16589] | 4484 | fi
|
---|
| 4485 | fi
|
---|
[28328] | 4486 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
---|
| 4487 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
---|
[16589] | 4488 | if test $ac_cv_header_stdc = yes; then
|
---|
| 4489 |
|
---|
| 4490 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4491 | #define STDC_HEADERS 1
|
---|
| 4492 | _ACEOF
|
---|
| 4493 |
|
---|
| 4494 | fi
|
---|
| 4495 |
|
---|
| 4496 | # On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
---|
| 4497 |
|
---|
| 4498 |
|
---|
| 4499 |
|
---|
| 4500 |
|
---|
| 4501 |
|
---|
| 4502 |
|
---|
| 4503 |
|
---|
| 4504 |
|
---|
| 4505 |
|
---|
| 4506 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
---|
| 4507 | inttypes.h stdint.h unistd.h
|
---|
| 4508 | do
|
---|
[28328] | 4509 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
| 4510 | { echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 4511 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
---|
[25215] | 4512 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[28328] | 4513 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 4514 | else
|
---|
| 4515 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4516 | /* confdefs.h. */
|
---|
| 4517 | _ACEOF
|
---|
| 4518 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4519 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4520 | /* end confdefs.h. */
|
---|
| 4521 | $ac_includes_default
|
---|
| 4522 |
|
---|
| 4523 | #include <$ac_header>
|
---|
| 4524 | _ACEOF
|
---|
| 4525 | rm -f conftest.$ac_objext
|
---|
[25215] | 4526 | if { (ac_try="$ac_compile"
|
---|
| 4527 | case "(($ac_try" in
|
---|
| 4528 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4529 | *) ac_try_echo=$ac_try;;
|
---|
| 4530 | esac
|
---|
[28328] | 4531 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 4532 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 4533 | ac_status=$?
|
---|
| 4534 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4535 | rm -f conftest.er1
|
---|
| 4536 | cat conftest.err >&5
|
---|
[28328] | 4537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 4538 | (exit $ac_status); } && {
|
---|
| 4539 | test -z "$ac_c_werror_flag" ||
|
---|
| 4540 | test ! -s conftest.err
|
---|
| 4541 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 4542 | eval "$as_ac_Header=yes"
|
---|
| 4543 | else
|
---|
[28328] | 4544 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 4545 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4546 |
|
---|
[25215] | 4547 | eval "$as_ac_Header=no"
|
---|
[16589] | 4548 | fi
|
---|
[25215] | 4549 |
|
---|
| 4550 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 4551 | fi
|
---|
[28328] | 4552 | ac_res=`eval echo '${'$as_ac_Header'}'`
|
---|
| 4553 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 4554 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
| 4555 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
[16589] | 4556 | cat >>confdefs.h <<_ACEOF
|
---|
[28328] | 4557 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
[16589] | 4558 | _ACEOF
|
---|
| 4559 |
|
---|
| 4560 | fi
|
---|
| 4561 |
|
---|
| 4562 | done
|
---|
| 4563 |
|
---|
| 4564 |
|
---|
| 4565 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
[28328] | 4566 | { echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 4567 | echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
|
---|
[25215] | 4568 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
[28328] | 4569 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[25215] | 4570 | fi
|
---|
[28328] | 4571 | { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 4572 | echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
|
---|
[25215] | 4573 | else
|
---|
| 4574 | # Is the header compilable?
|
---|
[28328] | 4575 | { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
|
---|
| 4576 | echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
|
---|
[25215] | 4577 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4578 | /* confdefs.h. */
|
---|
| 4579 | _ACEOF
|
---|
| 4580 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4581 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4582 | /* end confdefs.h. */
|
---|
| 4583 | $ac_includes_default
|
---|
| 4584 | #include <minix/config.h>
|
---|
| 4585 | _ACEOF
|
---|
| 4586 | rm -f conftest.$ac_objext
|
---|
| 4587 | if { (ac_try="$ac_compile"
|
---|
| 4588 | case "(($ac_try" in
|
---|
| 4589 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4590 | *) ac_try_echo=$ac_try;;
|
---|
| 4591 | esac
|
---|
[28328] | 4592 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 4593 | (eval "$ac_compile") 2>conftest.er1
|
---|
| 4594 | ac_status=$?
|
---|
| 4595 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4596 | rm -f conftest.er1
|
---|
| 4597 | cat conftest.err >&5
|
---|
[28328] | 4598 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 4599 | (exit $ac_status); } && {
|
---|
| 4600 | test -z "$ac_c_werror_flag" ||
|
---|
| 4601 | test ! -s conftest.err
|
---|
| 4602 | } && test -s conftest.$ac_objext; then
|
---|
| 4603 | ac_header_compiler=yes
|
---|
| 4604 | else
|
---|
[28328] | 4605 | echo "$as_me: failed program was:" >&5
|
---|
[25215] | 4606 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4607 |
|
---|
| 4608 | ac_header_compiler=no
|
---|
| 4609 | fi
|
---|
| 4610 |
|
---|
| 4611 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[28328] | 4612 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
---|
| 4613 | echo "${ECHO_T}$ac_header_compiler" >&6; }
|
---|
[25215] | 4614 |
|
---|
| 4615 | # Is the header present?
|
---|
[28328] | 4616 | { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
|
---|
| 4617 | echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
|
---|
[25215] | 4618 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4619 | /* confdefs.h. */
|
---|
| 4620 | _ACEOF
|
---|
| 4621 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4622 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4623 | /* end confdefs.h. */
|
---|
| 4624 | #include <minix/config.h>
|
---|
| 4625 | _ACEOF
|
---|
| 4626 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 4627 | case "(($ac_try" in
|
---|
| 4628 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4629 | *) ac_try_echo=$ac_try;;
|
---|
| 4630 | esac
|
---|
[28328] | 4631 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 4632 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
| 4633 | ac_status=$?
|
---|
| 4634 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4635 | rm -f conftest.er1
|
---|
| 4636 | cat conftest.err >&5
|
---|
[28328] | 4637 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 4638 | (exit $ac_status); } >/dev/null && {
|
---|
| 4639 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 4640 | test ! -s conftest.err
|
---|
| 4641 | }; then
|
---|
[16589] | 4642 | ac_header_preproc=yes
|
---|
| 4643 | else
|
---|
[28328] | 4644 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 4645 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4646 |
|
---|
| 4647 | ac_header_preproc=no
|
---|
| 4648 | fi
|
---|
[25215] | 4649 |
|
---|
[16589] | 4650 | rm -f conftest.err conftest.$ac_ext
|
---|
[28328] | 4651 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
---|
| 4652 | echo "${ECHO_T}$ac_header_preproc" >&6; }
|
---|
[16589] | 4653 |
|
---|
| 4654 | # So? What about this header?
|
---|
| 4655 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
---|
| 4656 | yes:no: )
|
---|
[28328] | 4657 | { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 4658 | echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 4659 | { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
|
---|
| 4660 | echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
|
---|
[16589] | 4661 | ac_header_preproc=yes
|
---|
| 4662 | ;;
|
---|
| 4663 | no:yes:* )
|
---|
[28328] | 4664 | { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
|
---|
| 4665 | echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
|
---|
| 4666 | { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
|
---|
| 4667 | echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
|
---|
| 4668 | { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
|
---|
| 4669 | echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
|
---|
| 4670 | { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 4671 | echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 4672 | { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
|
---|
| 4673 | echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
|
---|
| 4674 | { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
|
---|
| 4675 | echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
|
---|
[25215] | 4676 |
|
---|
[16589] | 4677 | ;;
|
---|
| 4678 | esac
|
---|
[28328] | 4679 | { echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
---|
| 4680 | echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
|
---|
[16589] | 4681 | if test "${ac_cv_header_minix_config_h+set}" = set; then
|
---|
[28328] | 4682 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 4683 | else
|
---|
| 4684 | ac_cv_header_minix_config_h=$ac_header_preproc
|
---|
| 4685 | fi
|
---|
[28328] | 4686 | { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
---|
| 4687 | echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
|
---|
[16589] | 4688 |
|
---|
| 4689 | fi
|
---|
[28328] | 4690 | if test $ac_cv_header_minix_config_h = yes; then
|
---|
[16589] | 4691 | MINIX=yes
|
---|
| 4692 | else
|
---|
| 4693 | MINIX=
|
---|
| 4694 | fi
|
---|
| 4695 |
|
---|
| 4696 |
|
---|
[28328] | 4697 | if test "$MINIX" = yes; then
|
---|
[16589] | 4698 |
|
---|
| 4699 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4700 | #define _POSIX_SOURCE 1
|
---|
| 4701 | _ACEOF
|
---|
| 4702 |
|
---|
| 4703 |
|
---|
| 4704 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4705 | #define _POSIX_1_SOURCE 2
|
---|
| 4706 | _ACEOF
|
---|
| 4707 |
|
---|
| 4708 |
|
---|
| 4709 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4710 | #define _MINIX 1
|
---|
| 4711 | _ACEOF
|
---|
| 4712 |
|
---|
| 4713 | fi
|
---|
| 4714 |
|
---|
[28328] | 4715 | { echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
|
---|
| 4716 | echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6; }
|
---|
[16598] | 4717 | if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
---|
[28328] | 4718 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16598] | 4719 | else
|
---|
| 4720 | ac_cv_prog_cc_stdc=no
|
---|
| 4721 | ac_save_CFLAGS="$CFLAGS"
|
---|
| 4722 | # Don't try gcc -ansi; that turns off useful extensions and
|
---|
| 4723 | # breaks some systems' header files.
|
---|
| 4724 | # AIX -qlanglvl=ansi
|
---|
| 4725 | # Ultrix and OSF/1 -std1
|
---|
| 4726 | # HP-UX -Aa -D_HPUX_SOURCE
|
---|
| 4727 | # SVR4 -Xc
|
---|
| 4728 | for ac_arg in "" -qlanglvl=ansi -std1 "-Aa -D_HPUX_SOURCE" -Xc
|
---|
| 4729 | do
|
---|
| 4730 | CFLAGS="$ac_save_CFLAGS $ac_arg"
|
---|
| 4731 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4732 | /* confdefs.h. */
|
---|
| 4733 | _ACEOF
|
---|
| 4734 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4735 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4736 | /* end confdefs.h. */
|
---|
| 4737 | #if !defined(__STDC__) || __STDC__ != 1
|
---|
| 4738 | choke me
|
---|
| 4739 | #endif
|
---|
| 4740 |
|
---|
| 4741 | int
|
---|
| 4742 | main ()
|
---|
| 4743 | {
|
---|
| 4744 | int test (int i, double x);
|
---|
| 4745 | struct s1 {int (*f) (int a);};
|
---|
| 4746 | struct s2 {int (*f) (double a);};
|
---|
| 4747 | ;
|
---|
| 4748 | return 0;
|
---|
| 4749 | }
|
---|
| 4750 | _ACEOF
|
---|
| 4751 | rm -f conftest.$ac_objext
|
---|
[25215] | 4752 | if { (ac_try="$ac_compile"
|
---|
| 4753 | case "(($ac_try" in
|
---|
| 4754 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4755 | *) ac_try_echo=$ac_try;;
|
---|
| 4756 | esac
|
---|
[28328] | 4757 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 4758 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16598] | 4759 | ac_status=$?
|
---|
| 4760 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4761 | rm -f conftest.er1
|
---|
| 4762 | cat conftest.err >&5
|
---|
[28328] | 4763 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 4764 | (exit $ac_status); } && {
|
---|
| 4765 | test -z "$ac_c_werror_flag" ||
|
---|
| 4766 | test ! -s conftest.err
|
---|
| 4767 | } && test -s conftest.$ac_objext; then
|
---|
[16598] | 4768 | ac_cv_prog_cc_stdc="$ac_arg"; break
|
---|
| 4769 | else
|
---|
[28328] | 4770 | echo "$as_me: failed program was:" >&5
|
---|
[16598] | 4771 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4772 |
|
---|
[25215] | 4773 |
|
---|
[16598] | 4774 | fi
|
---|
[25215] | 4775 |
|
---|
| 4776 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16598] | 4777 | done
|
---|
| 4778 | CFLAGS="$ac_save_CFLAGS"
|
---|
| 4779 |
|
---|
| 4780 | fi
|
---|
| 4781 |
|
---|
[28328] | 4782 | { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
---|
| 4783 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; }
|
---|
[16598] | 4784 | case "x$ac_cv_prog_cc_stdc" in
|
---|
| 4785 | x|xno) ;;
|
---|
| 4786 | *) CC="$CC $ac_cv_prog_cc_stdc" ;;
|
---|
| 4787 | esac
|
---|
| 4788 |
|
---|
| 4789 |
|
---|
[28328] | 4790 | { echo "$as_me:$LINENO: checking for function prototypes" >&5
|
---|
| 4791 | echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
|
---|
[16598] | 4792 | if test "$ac_cv_prog_cc_stdc" != no; then
|
---|
[28328] | 4793 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 4794 | echo "${ECHO_T}yes" >&6; }
|
---|
[16598] | 4795 | cat >>confdefs.h <<\_ACEOF
|
---|
| 4796 | #define PROTOTYPES 1
|
---|
| 4797 | _ACEOF
|
---|
| 4798 |
|
---|
| 4799 | U= ANSI2KNR=
|
---|
| 4800 | else
|
---|
[28328] | 4801 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 4802 | echo "${ECHO_T}no" >&6; }
|
---|
[16598] | 4803 | U=_ ANSI2KNR=ansi2knr
|
---|
| 4804 | fi
|
---|
| 4805 |
|
---|
[28328] | 4806 | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
---|
| 4807 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
|
---|
[16589] | 4808 | if test "${ac_cv_c_const+set}" = set; then
|
---|
[28328] | 4809 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 4810 | else
|
---|
| 4811 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 4812 | /* confdefs.h. */
|
---|
| 4813 | _ACEOF
|
---|
| 4814 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4815 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4816 | /* end confdefs.h. */
|
---|
| 4817 |
|
---|
| 4818 | int
|
---|
| 4819 | main ()
|
---|
| 4820 | {
|
---|
| 4821 | /* FIXME: Include the comments suggested by Paul. */
|
---|
| 4822 | #ifndef __cplusplus
|
---|
| 4823 | /* Ultrix mips cc rejects this. */
|
---|
| 4824 | typedef int charset[2];
|
---|
[25215] | 4825 | const charset cs;
|
---|
[16589] | 4826 | /* SunOS 4.1.1 cc rejects this. */
|
---|
[25215] | 4827 | char const *const *pcpcc;
|
---|
| 4828 | char **ppc;
|
---|
[16589] | 4829 | /* NEC SVR4.0.2 mips cc rejects this. */
|
---|
| 4830 | struct point {int x, y;};
|
---|
| 4831 | static struct point const zero = {0,0};
|
---|
| 4832 | /* AIX XL C 1.02.0.0 rejects this.
|
---|
| 4833 | It does not let you subtract one const X* pointer from another in
|
---|
| 4834 | an arm of an if-expression whose if-part is not a constant
|
---|
| 4835 | expression */
|
---|
| 4836 | const char *g = "string";
|
---|
[25215] | 4837 | pcpcc = &g + (g ? g-g : 0);
|
---|
[16589] | 4838 | /* HPUX 7.0 cc rejects these. */
|
---|
[25215] | 4839 | ++pcpcc;
|
---|
| 4840 | ppc = (char**) pcpcc;
|
---|
| 4841 | pcpcc = (char const *const *) ppc;
|
---|
[16589] | 4842 | { /* SCO 3.2v4 cc rejects this. */
|
---|
| 4843 | char *t;
|
---|
| 4844 | char const *s = 0 ? (char *) 0 : (char const *) 0;
|
---|
| 4845 |
|
---|
| 4846 | *t++ = 0;
|
---|
[25215] | 4847 | if (s) return 0;
|
---|
[16589] | 4848 | }
|
---|
| 4849 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
---|
| 4850 | int x[] = {25, 17};
|
---|
| 4851 | const int *foo = &x[0];
|
---|
| 4852 | ++foo;
|
---|
| 4853 | }
|
---|
| 4854 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
---|
| 4855 | typedef const int *iptr;
|
---|
| 4856 | iptr p = 0;
|
---|
| 4857 | ++p;
|
---|
| 4858 | }
|
---|
| 4859 | { /* AIX XL C 1.02.0.0 rejects this saying
|
---|
| 4860 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
---|
| 4861 | struct s { int j; const int *ap[3]; };
|
---|
| 4862 | struct s *b; b->j = 5;
|
---|
| 4863 | }
|
---|
| 4864 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
---|
| 4865 | const int foo = 10;
|
---|
[25215] | 4866 | if (!foo) return 0;
|
---|
[16589] | 4867 | }
|
---|
[25215] | 4868 | return !cs[0] && !zero.x;
|
---|
[16589] | 4869 | #endif
|
---|
| 4870 |
|
---|
| 4871 | ;
|
---|
| 4872 | return 0;
|
---|
| 4873 | }
|
---|
| 4874 | _ACEOF
|
---|
| 4875 | rm -f conftest.$ac_objext
|
---|
[25215] | 4876 | if { (ac_try="$ac_compile"
|
---|
| 4877 | case "(($ac_try" in
|
---|
| 4878 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4879 | *) ac_try_echo=$ac_try;;
|
---|
| 4880 | esac
|
---|
[28328] | 4881 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 4882 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 4883 | ac_status=$?
|
---|
| 4884 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4885 | rm -f conftest.er1
|
---|
| 4886 | cat conftest.err >&5
|
---|
[28328] | 4887 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 4888 | (exit $ac_status); } && {
|
---|
| 4889 | test -z "$ac_c_werror_flag" ||
|
---|
| 4890 | test ! -s conftest.err
|
---|
| 4891 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 4892 | ac_cv_c_const=yes
|
---|
| 4893 | else
|
---|
[28328] | 4894 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 4895 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4896 |
|
---|
[25215] | 4897 | ac_cv_c_const=no
|
---|
[16589] | 4898 | fi
|
---|
[25215] | 4899 |
|
---|
| 4900 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 4901 | fi
|
---|
[28328] | 4902 | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
---|
| 4903 | echo "${ECHO_T}$ac_cv_c_const" >&6; }
|
---|
[16589] | 4904 | if test $ac_cv_c_const = no; then
|
---|
| 4905 |
|
---|
| 4906 | cat >>confdefs.h <<\_ACEOF
|
---|
[28328] | 4907 | #define const
|
---|
[16589] | 4908 | _ACEOF
|
---|
| 4909 |
|
---|
| 4910 | fi
|
---|
| 4911 |
|
---|
[28328] | 4912 | { echo "$as_me:$LINENO: checking for off_t" >&5
|
---|
| 4913 | echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
|
---|
[16589] | 4914 | if test "${ac_cv_type_off_t+set}" = set; then
|
---|
[28328] | 4915 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 4916 | else
|
---|
[28328] | 4917 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[16589] | 4918 | /* confdefs.h. */
|
---|
| 4919 | _ACEOF
|
---|
| 4920 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4921 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4922 | /* end confdefs.h. */
|
---|
| 4923 | $ac_includes_default
|
---|
[28328] | 4924 | typedef off_t ac__type_new_;
|
---|
[16589] | 4925 | int
|
---|
| 4926 | main ()
|
---|
| 4927 | {
|
---|
[28328] | 4928 | if ((ac__type_new_ *) 0)
|
---|
[16589] | 4929 | return 0;
|
---|
[28328] | 4930 | if (sizeof (ac__type_new_))
|
---|
| 4931 | return 0;
|
---|
[16589] | 4932 | ;
|
---|
| 4933 | return 0;
|
---|
| 4934 | }
|
---|
| 4935 | _ACEOF
|
---|
| 4936 | rm -f conftest.$ac_objext
|
---|
[25215] | 4937 | if { (ac_try="$ac_compile"
|
---|
| 4938 | case "(($ac_try" in
|
---|
| 4939 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 4940 | *) ac_try_echo=$ac_try;;
|
---|
| 4941 | esac
|
---|
[28328] | 4942 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 4943 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 4944 | ac_status=$?
|
---|
| 4945 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 4946 | rm -f conftest.er1
|
---|
| 4947 | cat conftest.err >&5
|
---|
[28328] | 4948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 4949 | (exit $ac_status); } && {
|
---|
| 4950 | test -z "$ac_c_werror_flag" ||
|
---|
| 4951 | test ! -s conftest.err
|
---|
| 4952 | } && test -s conftest.$ac_objext; then
|
---|
[28328] | 4953 | ac_cv_type_off_t=yes
|
---|
[16589] | 4954 | else
|
---|
[28328] | 4955 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 4956 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 4957 |
|
---|
[28328] | 4958 | ac_cv_type_off_t=no
|
---|
[16589] | 4959 | fi
|
---|
[25215] | 4960 |
|
---|
| 4961 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 4962 | fi
|
---|
[28328] | 4963 | { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
|
---|
| 4964 | echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
|
---|
| 4965 | if test $ac_cv_type_off_t = yes; then
|
---|
[16589] | 4966 | :
|
---|
| 4967 | else
|
---|
| 4968 |
|
---|
| 4969 | cat >>confdefs.h <<_ACEOF
|
---|
[25215] | 4970 | #define off_t long int
|
---|
[16589] | 4971 | _ACEOF
|
---|
| 4972 |
|
---|
| 4973 | fi
|
---|
| 4974 |
|
---|
[28328] | 4975 | { echo "$as_me:$LINENO: checking for size_t" >&5
|
---|
| 4976 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
|
---|
[16589] | 4977 | if test "${ac_cv_type_size_t+set}" = set; then
|
---|
[28328] | 4978 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 4979 | else
|
---|
[28328] | 4980 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[16589] | 4981 | /* confdefs.h. */
|
---|
| 4982 | _ACEOF
|
---|
| 4983 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 4984 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 4985 | /* end confdefs.h. */
|
---|
| 4986 | $ac_includes_default
|
---|
[28328] | 4987 | typedef size_t ac__type_new_;
|
---|
[16589] | 4988 | int
|
---|
| 4989 | main ()
|
---|
| 4990 | {
|
---|
[28328] | 4991 | if ((ac__type_new_ *) 0)
|
---|
[16589] | 4992 | return 0;
|
---|
[28328] | 4993 | if (sizeof (ac__type_new_))
|
---|
| 4994 | return 0;
|
---|
[16589] | 4995 | ;
|
---|
| 4996 | return 0;
|
---|
| 4997 | }
|
---|
| 4998 | _ACEOF
|
---|
| 4999 | rm -f conftest.$ac_objext
|
---|
[25215] | 5000 | if { (ac_try="$ac_compile"
|
---|
| 5001 | case "(($ac_try" in
|
---|
| 5002 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5003 | *) ac_try_echo=$ac_try;;
|
---|
| 5004 | esac
|
---|
[28328] | 5005 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5006 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 5007 | ac_status=$?
|
---|
| 5008 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5009 | rm -f conftest.er1
|
---|
| 5010 | cat conftest.err >&5
|
---|
[28328] | 5011 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 5012 | (exit $ac_status); } && {
|
---|
| 5013 | test -z "$ac_c_werror_flag" ||
|
---|
| 5014 | test ! -s conftest.err
|
---|
| 5015 | } && test -s conftest.$ac_objext; then
|
---|
[28328] | 5016 | ac_cv_type_size_t=yes
|
---|
[16589] | 5017 | else
|
---|
[28328] | 5018 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5019 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5020 |
|
---|
[28328] | 5021 | ac_cv_type_size_t=no
|
---|
[16589] | 5022 | fi
|
---|
[25215] | 5023 |
|
---|
| 5024 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 5025 | fi
|
---|
[28328] | 5026 | { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
|
---|
| 5027 | echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
|
---|
| 5028 | if test $ac_cv_type_size_t = yes; then
|
---|
[16589] | 5029 | :
|
---|
| 5030 | else
|
---|
| 5031 |
|
---|
| 5032 | cat >>confdefs.h <<_ACEOF
|
---|
[25215] | 5033 | #define size_t unsigned int
|
---|
[16589] | 5034 | _ACEOF
|
---|
| 5035 |
|
---|
| 5036 | fi
|
---|
| 5037 |
|
---|
[28328] | 5038 | { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
|
---|
| 5039 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
|
---|
[16589] | 5040 | if test "${ac_cv_header_time+set}" = set; then
|
---|
[28328] | 5041 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 5042 | else
|
---|
| 5043 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5044 | /* confdefs.h. */
|
---|
| 5045 | _ACEOF
|
---|
| 5046 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5047 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5048 | /* end confdefs.h. */
|
---|
| 5049 | #include <sys/types.h>
|
---|
| 5050 | #include <sys/time.h>
|
---|
| 5051 | #include <time.h>
|
---|
| 5052 |
|
---|
| 5053 | int
|
---|
| 5054 | main ()
|
---|
| 5055 | {
|
---|
| 5056 | if ((struct tm *) 0)
|
---|
| 5057 | return 0;
|
---|
| 5058 | ;
|
---|
| 5059 | return 0;
|
---|
| 5060 | }
|
---|
| 5061 | _ACEOF
|
---|
| 5062 | rm -f conftest.$ac_objext
|
---|
[25215] | 5063 | if { (ac_try="$ac_compile"
|
---|
| 5064 | case "(($ac_try" in
|
---|
| 5065 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5066 | *) ac_try_echo=$ac_try;;
|
---|
| 5067 | esac
|
---|
[28328] | 5068 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5069 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 5070 | ac_status=$?
|
---|
| 5071 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5072 | rm -f conftest.er1
|
---|
| 5073 | cat conftest.err >&5
|
---|
[28328] | 5074 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 5075 | (exit $ac_status); } && {
|
---|
| 5076 | test -z "$ac_c_werror_flag" ||
|
---|
| 5077 | test ! -s conftest.err
|
---|
| 5078 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 5079 | ac_cv_header_time=yes
|
---|
| 5080 | else
|
---|
[28328] | 5081 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5082 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5083 |
|
---|
[25215] | 5084 | ac_cv_header_time=no
|
---|
[16589] | 5085 | fi
|
---|
[25215] | 5086 |
|
---|
| 5087 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 5088 | fi
|
---|
[28328] | 5089 | { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
|
---|
| 5090 | echo "${ECHO_T}$ac_cv_header_time" >&6; }
|
---|
[16589] | 5091 | if test $ac_cv_header_time = yes; then
|
---|
| 5092 |
|
---|
| 5093 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5094 | #define TIME_WITH_SYS_TIME 1
|
---|
| 5095 | _ACEOF
|
---|
| 5096 |
|
---|
| 5097 | fi
|
---|
| 5098 |
|
---|
[28328] | 5099 | { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
|
---|
| 5100 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
|
---|
[16589] | 5101 | if test "${ac_cv_struct_tm+set}" = set; then
|
---|
[28328] | 5102 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 5103 | else
|
---|
| 5104 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5105 | /* confdefs.h. */
|
---|
| 5106 | _ACEOF
|
---|
| 5107 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5108 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5109 | /* end confdefs.h. */
|
---|
| 5110 | #include <sys/types.h>
|
---|
| 5111 | #include <time.h>
|
---|
| 5112 |
|
---|
| 5113 | int
|
---|
| 5114 | main ()
|
---|
| 5115 | {
|
---|
[25215] | 5116 | struct tm tm;
|
---|
| 5117 | int *p = &tm.tm_sec;
|
---|
[28328] | 5118 | return !p;
|
---|
[16589] | 5119 | ;
|
---|
| 5120 | return 0;
|
---|
| 5121 | }
|
---|
| 5122 | _ACEOF
|
---|
| 5123 | rm -f conftest.$ac_objext
|
---|
[25215] | 5124 | if { (ac_try="$ac_compile"
|
---|
| 5125 | case "(($ac_try" in
|
---|
| 5126 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5127 | *) ac_try_echo=$ac_try;;
|
---|
| 5128 | esac
|
---|
[28328] | 5129 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5130 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 5131 | ac_status=$?
|
---|
| 5132 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5133 | rm -f conftest.er1
|
---|
| 5134 | cat conftest.err >&5
|
---|
[28328] | 5135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 5136 | (exit $ac_status); } && {
|
---|
| 5137 | test -z "$ac_c_werror_flag" ||
|
---|
| 5138 | test ! -s conftest.err
|
---|
| 5139 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 5140 | ac_cv_struct_tm=time.h
|
---|
| 5141 | else
|
---|
[28328] | 5142 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5143 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5144 |
|
---|
[25215] | 5145 | ac_cv_struct_tm=sys/time.h
|
---|
[16589] | 5146 | fi
|
---|
[25215] | 5147 |
|
---|
| 5148 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 5149 | fi
|
---|
[28328] | 5150 | { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
|
---|
| 5151 | echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
|
---|
[16589] | 5152 | if test $ac_cv_struct_tm = sys/time.h; then
|
---|
| 5153 |
|
---|
| 5154 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5155 | #define TM_IN_SYS_TIME 1
|
---|
| 5156 | _ACEOF
|
---|
| 5157 |
|
---|
| 5158 | fi
|
---|
| 5159 |
|
---|
| 5160 |
|
---|
| 5161 | if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
|
---|
| 5162 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5163 | /* confdefs.h. */
|
---|
| 5164 | _ACEOF
|
---|
| 5165 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5166 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5167 | /* end confdefs.h. */
|
---|
| 5168 | #include <stdio.h>
|
---|
| 5169 |
|
---|
| 5170 | int
|
---|
| 5171 | main ()
|
---|
| 5172 | {
|
---|
| 5173 | FILE *rubbish = popen("yes", "r");
|
---|
| 5174 | ;
|
---|
| 5175 | return 0;
|
---|
| 5176 | }
|
---|
| 5177 | _ACEOF
|
---|
| 5178 | rm -f conftest.$ac_objext
|
---|
[25215] | 5179 | if { (ac_try="$ac_compile"
|
---|
| 5180 | case "(($ac_try" in
|
---|
| 5181 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5182 | *) ac_try_echo=$ac_try;;
|
---|
| 5183 | esac
|
---|
[28328] | 5184 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5185 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 5186 | ac_status=$?
|
---|
| 5187 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5188 | rm -f conftest.er1
|
---|
| 5189 | cat conftest.err >&5
|
---|
[28328] | 5190 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 5191 | (exit $ac_status); } && {
|
---|
| 5192 | test -z "$ac_c_werror_flag" ||
|
---|
| 5193 | test ! -s conftest.err
|
---|
| 5194 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 5195 | :
|
---|
| 5196 | else
|
---|
[28328] | 5197 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5198 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5199 |
|
---|
[25215] | 5200 | CC="`echo $CC | sed 's/-Xc/-Xa/'`" ac_cv_prog_cc_stdc='-Xa'
|
---|
[16589] | 5201 | fi
|
---|
[25215] | 5202 |
|
---|
| 5203 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 5204 | fi
|
---|
| 5205 |
|
---|
| 5206 |
|
---|
| 5207 |
|
---|
[28328] | 5208 | { echo "$as_me:$LINENO: checking for main in -lg" >&5
|
---|
| 5209 | echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6; }
|
---|
[16589] | 5210 | if test "${ac_cv_lib_g_main+set}" = set; then
|
---|
[28328] | 5211 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 5212 | else
|
---|
| 5213 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5214 | LIBS="-lg $LIBS"
|
---|
| 5215 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5216 | /* confdefs.h. */
|
---|
| 5217 | _ACEOF
|
---|
| 5218 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5219 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5220 | /* end confdefs.h. */
|
---|
| 5221 |
|
---|
| 5222 |
|
---|
| 5223 | int
|
---|
| 5224 | main ()
|
---|
| 5225 | {
|
---|
[25215] | 5226 | return main ();
|
---|
[16589] | 5227 | ;
|
---|
| 5228 | return 0;
|
---|
| 5229 | }
|
---|
| 5230 | _ACEOF
|
---|
| 5231 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[25215] | 5232 | if { (ac_try="$ac_link"
|
---|
| 5233 | case "(($ac_try" in
|
---|
| 5234 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5235 | *) ac_try_echo=$ac_try;;
|
---|
| 5236 | esac
|
---|
[28328] | 5237 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5238 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 5239 | ac_status=$?
|
---|
| 5240 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5241 | rm -f conftest.er1
|
---|
| 5242 | cat conftest.err >&5
|
---|
[28328] | 5243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 5244 | (exit $ac_status); } && {
|
---|
| 5245 | test -z "$ac_c_werror_flag" ||
|
---|
| 5246 | test ! -s conftest.err
|
---|
[28328] | 5247 | } && test -s conftest$ac_exeext &&
|
---|
| 5248 | $as_test_x conftest$ac_exeext; then
|
---|
[16589] | 5249 | ac_cv_lib_g_main=yes
|
---|
| 5250 | else
|
---|
[28328] | 5251 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5252 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5253 |
|
---|
[25215] | 5254 | ac_cv_lib_g_main=no
|
---|
[16589] | 5255 | fi
|
---|
[25215] | 5256 |
|
---|
| 5257 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16589] | 5258 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5259 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5260 | fi
|
---|
[28328] | 5261 | { echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
|
---|
| 5262 | echo "${ECHO_T}$ac_cv_lib_g_main" >&6; }
|
---|
| 5263 | if test $ac_cv_lib_g_main = yes; then
|
---|
[16589] | 5264 | cat >>confdefs.h <<_ACEOF
|
---|
| 5265 | #define HAVE_LIBG 1
|
---|
| 5266 | _ACEOF
|
---|
| 5267 |
|
---|
| 5268 | LIBS="-lg $LIBS"
|
---|
| 5269 |
|
---|
| 5270 | fi
|
---|
| 5271 | ac_cv_lib_g=ac_cv_lib_g_main
|
---|
| 5272 |
|
---|
| 5273 |
|
---|
[28328] | 5274 | { echo "$as_me:$LINENO: checking for main in -lm" >&5
|
---|
| 5275 | echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; }
|
---|
[16589] | 5276 | if test "${ac_cv_lib_m_main+set}" = set; then
|
---|
[28328] | 5277 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 5278 | else
|
---|
| 5279 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5280 | LIBS="-lm $LIBS"
|
---|
| 5281 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5282 | /* confdefs.h. */
|
---|
| 5283 | _ACEOF
|
---|
| 5284 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5285 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5286 | /* end confdefs.h. */
|
---|
| 5287 |
|
---|
| 5288 |
|
---|
| 5289 | int
|
---|
| 5290 | main ()
|
---|
| 5291 | {
|
---|
[25215] | 5292 | return main ();
|
---|
[16589] | 5293 | ;
|
---|
| 5294 | return 0;
|
---|
| 5295 | }
|
---|
| 5296 | _ACEOF
|
---|
| 5297 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[25215] | 5298 | if { (ac_try="$ac_link"
|
---|
| 5299 | case "(($ac_try" in
|
---|
| 5300 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5301 | *) ac_try_echo=$ac_try;;
|
---|
| 5302 | esac
|
---|
[28328] | 5303 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5304 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 5305 | ac_status=$?
|
---|
| 5306 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5307 | rm -f conftest.er1
|
---|
| 5308 | cat conftest.err >&5
|
---|
[28328] | 5309 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 5310 | (exit $ac_status); } && {
|
---|
| 5311 | test -z "$ac_c_werror_flag" ||
|
---|
| 5312 | test ! -s conftest.err
|
---|
[28328] | 5313 | } && test -s conftest$ac_exeext &&
|
---|
| 5314 | $as_test_x conftest$ac_exeext; then
|
---|
[16589] | 5315 | ac_cv_lib_m_main=yes
|
---|
| 5316 | else
|
---|
[28328] | 5317 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5318 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5319 |
|
---|
[25215] | 5320 | ac_cv_lib_m_main=no
|
---|
[16589] | 5321 | fi
|
---|
[25215] | 5322 |
|
---|
| 5323 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16589] | 5324 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5325 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5326 | fi
|
---|
[28328] | 5327 | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
|
---|
| 5328 | echo "${ECHO_T}$ac_cv_lib_m_main" >&6; }
|
---|
| 5329 | if test $ac_cv_lib_m_main = yes; then
|
---|
[16589] | 5330 | cat >>confdefs.h <<_ACEOF
|
---|
| 5331 | #define HAVE_LIBM 1
|
---|
| 5332 | _ACEOF
|
---|
| 5333 |
|
---|
| 5334 | LIBS="-lm $LIBS"
|
---|
| 5335 |
|
---|
| 5336 | fi
|
---|
| 5337 | ac_cv_lib_m=ac_cv_lib_m_main
|
---|
| 5338 |
|
---|
| 5339 |
|
---|
[28328] | 5340 | { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
|
---|
| 5341 | echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
|
---|
[16589] | 5342 | if test "${ac_cv_lib_crypt_main+set}" = set; then
|
---|
[28328] | 5343 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 5344 | else
|
---|
| 5345 | ac_check_lib_save_LIBS=$LIBS
|
---|
| 5346 | LIBS="-lcrypt $LIBS"
|
---|
| 5347 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5348 | /* confdefs.h. */
|
---|
| 5349 | _ACEOF
|
---|
| 5350 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5351 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5352 | /* end confdefs.h. */
|
---|
| 5353 |
|
---|
| 5354 |
|
---|
| 5355 | int
|
---|
| 5356 | main ()
|
---|
| 5357 | {
|
---|
[25215] | 5358 | return main ();
|
---|
[16589] | 5359 | ;
|
---|
| 5360 | return 0;
|
---|
| 5361 | }
|
---|
| 5362 | _ACEOF
|
---|
| 5363 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[25215] | 5364 | if { (ac_try="$ac_link"
|
---|
| 5365 | case "(($ac_try" in
|
---|
| 5366 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5367 | *) ac_try_echo=$ac_try;;
|
---|
| 5368 | esac
|
---|
[28328] | 5369 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5370 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 5371 | ac_status=$?
|
---|
| 5372 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5373 | rm -f conftest.er1
|
---|
| 5374 | cat conftest.err >&5
|
---|
[28328] | 5375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 5376 | (exit $ac_status); } && {
|
---|
| 5377 | test -z "$ac_c_werror_flag" ||
|
---|
| 5378 | test ! -s conftest.err
|
---|
[28328] | 5379 | } && test -s conftest$ac_exeext &&
|
---|
| 5380 | $as_test_x conftest$ac_exeext; then
|
---|
[16589] | 5381 | ac_cv_lib_crypt_main=yes
|
---|
| 5382 | else
|
---|
[28328] | 5383 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5384 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5385 |
|
---|
[25215] | 5386 | ac_cv_lib_crypt_main=no
|
---|
[16589] | 5387 | fi
|
---|
[25215] | 5388 |
|
---|
| 5389 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16589] | 5390 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 5391 | LIBS=$ac_check_lib_save_LIBS
|
---|
| 5392 | fi
|
---|
[28328] | 5393 | { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
|
---|
| 5394 | echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
|
---|
| 5395 | if test $ac_cv_lib_crypt_main = yes; then
|
---|
[16589] | 5396 | cat >>confdefs.h <<_ACEOF
|
---|
| 5397 | #define HAVE_LIBCRYPT 1
|
---|
| 5398 | _ACEOF
|
---|
| 5399 |
|
---|
| 5400 | LIBS="-lcrypt $LIBS"
|
---|
| 5401 |
|
---|
| 5402 | fi
|
---|
| 5403 | ac_cv_lib_crypt=ac_cv_lib_crypt_main
|
---|
| 5404 |
|
---|
[21376] | 5405 | #if test $ENABLE_ACCENTFOLD = 1; then
|
---|
| 5406 | #AC_HAVE_LIBRARY(iconv)
|
---|
| 5407 | #fi
|
---|
[16589] | 5408 |
|
---|
| 5409 |
|
---|
| 5410 |
|
---|
| 5411 |
|
---|
| 5412 |
|
---|
| 5413 |
|
---|
| 5414 | ac_header_dirent=no
|
---|
| 5415 | for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
|
---|
[28328] | 5416 | as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
|
---|
| 5417 | { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
|
---|
| 5418 | echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
|
---|
[25215] | 5419 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[28328] | 5420 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 5421 | else
|
---|
| 5422 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5423 | /* confdefs.h. */
|
---|
| 5424 | _ACEOF
|
---|
| 5425 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5426 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5427 | /* end confdefs.h. */
|
---|
| 5428 | #include <sys/types.h>
|
---|
| 5429 | #include <$ac_hdr>
|
---|
| 5430 |
|
---|
| 5431 | int
|
---|
| 5432 | main ()
|
---|
| 5433 | {
|
---|
| 5434 | if ((DIR *) 0)
|
---|
| 5435 | return 0;
|
---|
| 5436 | ;
|
---|
| 5437 | return 0;
|
---|
| 5438 | }
|
---|
| 5439 | _ACEOF
|
---|
| 5440 | rm -f conftest.$ac_objext
|
---|
[25215] | 5441 | if { (ac_try="$ac_compile"
|
---|
| 5442 | case "(($ac_try" in
|
---|
| 5443 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5444 | *) ac_try_echo=$ac_try;;
|
---|
| 5445 | esac
|
---|
[28328] | 5446 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5447 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 5448 | ac_status=$?
|
---|
| 5449 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5450 | rm -f conftest.er1
|
---|
| 5451 | cat conftest.err >&5
|
---|
[28328] | 5452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 5453 | (exit $ac_status); } && {
|
---|
| 5454 | test -z "$ac_c_werror_flag" ||
|
---|
| 5455 | test ! -s conftest.err
|
---|
| 5456 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 5457 | eval "$as_ac_Header=yes"
|
---|
| 5458 | else
|
---|
[28328] | 5459 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5460 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5461 |
|
---|
[25215] | 5462 | eval "$as_ac_Header=no"
|
---|
[16589] | 5463 | fi
|
---|
[25215] | 5464 |
|
---|
| 5465 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 5466 | fi
|
---|
[28328] | 5467 | ac_res=`eval echo '${'$as_ac_Header'}'`
|
---|
| 5468 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 5469 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
| 5470 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
[16589] | 5471 | cat >>confdefs.h <<_ACEOF
|
---|
[28328] | 5472 | #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
|
---|
[16589] | 5473 | _ACEOF
|
---|
| 5474 |
|
---|
| 5475 | ac_header_dirent=$ac_hdr; break
|
---|
| 5476 | fi
|
---|
| 5477 |
|
---|
| 5478 | done
|
---|
| 5479 | # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
---|
| 5480 | if test $ac_header_dirent = dirent.h; then
|
---|
[28328] | 5481 | { echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
---|
| 5482 | echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
|
---|
[16589] | 5483 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
[28328] | 5484 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 5485 | else
|
---|
| 5486 | ac_func_search_save_LIBS=$LIBS
|
---|
| 5487 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5488 | /* confdefs.h. */
|
---|
| 5489 | _ACEOF
|
---|
| 5490 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5491 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5492 | /* end confdefs.h. */
|
---|
| 5493 |
|
---|
[25215] | 5494 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5495 | Use char because int might match the return type of a GCC
|
---|
| 5496 | builtin and then its argument prototype would still apply. */
|
---|
[16589] | 5497 | #ifdef __cplusplus
|
---|
| 5498 | extern "C"
|
---|
| 5499 | #endif
|
---|
| 5500 | char opendir ();
|
---|
| 5501 | int
|
---|
| 5502 | main ()
|
---|
| 5503 | {
|
---|
[25215] | 5504 | return opendir ();
|
---|
[16589] | 5505 | ;
|
---|
| 5506 | return 0;
|
---|
| 5507 | }
|
---|
| 5508 | _ACEOF
|
---|
[25215] | 5509 | for ac_lib in '' dir; do
|
---|
| 5510 | if test -z "$ac_lib"; then
|
---|
| 5511 | ac_res="none required"
|
---|
| 5512 | else
|
---|
| 5513 | ac_res=-l$ac_lib
|
---|
| 5514 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5515 | fi
|
---|
| 5516 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5517 | if { (ac_try="$ac_link"
|
---|
| 5518 | case "(($ac_try" in
|
---|
| 5519 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5520 | *) ac_try_echo=$ac_try;;
|
---|
| 5521 | esac
|
---|
[28328] | 5522 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5523 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 5524 | ac_status=$?
|
---|
| 5525 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5526 | rm -f conftest.er1
|
---|
| 5527 | cat conftest.err >&5
|
---|
[28328] | 5528 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 5529 | (exit $ac_status); } && {
|
---|
| 5530 | test -z "$ac_c_werror_flag" ||
|
---|
| 5531 | test ! -s conftest.err
|
---|
[28328] | 5532 | } && test -s conftest$ac_exeext &&
|
---|
| 5533 | $as_test_x conftest$ac_exeext; then
|
---|
[25215] | 5534 | ac_cv_search_opendir=$ac_res
|
---|
[16589] | 5535 | else
|
---|
[28328] | 5536 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5537 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5538 |
|
---|
[25215] | 5539 |
|
---|
[16589] | 5540 | fi
|
---|
| 5541 |
|
---|
[25215] | 5542 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 5543 | conftest$ac_exeext
|
---|
| 5544 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 5545 | break
|
---|
| 5546 | fi
|
---|
| 5547 | done
|
---|
| 5548 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 5549 | :
|
---|
[16589] | 5550 | else
|
---|
[25215] | 5551 | ac_cv_search_opendir=no
|
---|
[16589] | 5552 | fi
|
---|
[25215] | 5553 | rm conftest.$ac_ext
|
---|
[16589] | 5554 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5555 | fi
|
---|
[28328] | 5556 | { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
---|
| 5557 | echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
|
---|
[25215] | 5558 | ac_res=$ac_cv_search_opendir
|
---|
| 5559 | if test "$ac_res" != no; then
|
---|
| 5560 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16589] | 5561 |
|
---|
| 5562 | fi
|
---|
| 5563 |
|
---|
| 5564 | else
|
---|
[28328] | 5565 | { echo "$as_me:$LINENO: checking for library containing opendir" >&5
|
---|
| 5566 | echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
|
---|
[16589] | 5567 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
[28328] | 5568 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 5569 | else
|
---|
| 5570 | ac_func_search_save_LIBS=$LIBS
|
---|
| 5571 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5572 | /* confdefs.h. */
|
---|
| 5573 | _ACEOF
|
---|
| 5574 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5575 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5576 | /* end confdefs.h. */
|
---|
| 5577 |
|
---|
[25215] | 5578 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 5579 | Use char because int might match the return type of a GCC
|
---|
| 5580 | builtin and then its argument prototype would still apply. */
|
---|
[16589] | 5581 | #ifdef __cplusplus
|
---|
| 5582 | extern "C"
|
---|
| 5583 | #endif
|
---|
| 5584 | char opendir ();
|
---|
| 5585 | int
|
---|
| 5586 | main ()
|
---|
| 5587 | {
|
---|
[25215] | 5588 | return opendir ();
|
---|
[16589] | 5589 | ;
|
---|
| 5590 | return 0;
|
---|
| 5591 | }
|
---|
| 5592 | _ACEOF
|
---|
[25215] | 5593 | for ac_lib in '' x; do
|
---|
| 5594 | if test -z "$ac_lib"; then
|
---|
| 5595 | ac_res="none required"
|
---|
| 5596 | else
|
---|
| 5597 | ac_res=-l$ac_lib
|
---|
| 5598 | LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
---|
| 5599 | fi
|
---|
| 5600 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
| 5601 | if { (ac_try="$ac_link"
|
---|
| 5602 | case "(($ac_try" in
|
---|
| 5603 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5604 | *) ac_try_echo=$ac_try;;
|
---|
| 5605 | esac
|
---|
[28328] | 5606 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5607 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 5608 | ac_status=$?
|
---|
| 5609 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5610 | rm -f conftest.er1
|
---|
| 5611 | cat conftest.err >&5
|
---|
[28328] | 5612 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 5613 | (exit $ac_status); } && {
|
---|
| 5614 | test -z "$ac_c_werror_flag" ||
|
---|
| 5615 | test ! -s conftest.err
|
---|
[28328] | 5616 | } && test -s conftest$ac_exeext &&
|
---|
| 5617 | $as_test_x conftest$ac_exeext; then
|
---|
[25215] | 5618 | ac_cv_search_opendir=$ac_res
|
---|
[16589] | 5619 | else
|
---|
[28328] | 5620 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5621 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5622 |
|
---|
[25215] | 5623 |
|
---|
[16589] | 5624 | fi
|
---|
| 5625 |
|
---|
[25215] | 5626 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
| 5627 | conftest$ac_exeext
|
---|
| 5628 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 5629 | break
|
---|
| 5630 | fi
|
---|
| 5631 | done
|
---|
| 5632 | if test "${ac_cv_search_opendir+set}" = set; then
|
---|
| 5633 | :
|
---|
[16589] | 5634 | else
|
---|
[25215] | 5635 | ac_cv_search_opendir=no
|
---|
[16589] | 5636 | fi
|
---|
[25215] | 5637 | rm conftest.$ac_ext
|
---|
[16589] | 5638 | LIBS=$ac_func_search_save_LIBS
|
---|
| 5639 | fi
|
---|
[28328] | 5640 | { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
|
---|
| 5641 | echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
|
---|
[25215] | 5642 | ac_res=$ac_cv_search_opendir
|
---|
| 5643 | if test "$ac_res" != no; then
|
---|
| 5644 | test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
---|
[16589] | 5645 |
|
---|
| 5646 | fi
|
---|
| 5647 |
|
---|
| 5648 | fi
|
---|
| 5649 |
|
---|
[28328] | 5650 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
---|
| 5651 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
---|
[16589] | 5652 | if test "${ac_cv_header_stdc+set}" = set; then
|
---|
[28328] | 5653 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 5654 | else
|
---|
| 5655 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5656 | /* confdefs.h. */
|
---|
| 5657 | _ACEOF
|
---|
| 5658 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5659 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5660 | /* end confdefs.h. */
|
---|
| 5661 | #include <stdlib.h>
|
---|
| 5662 | #include <stdarg.h>
|
---|
| 5663 | #include <string.h>
|
---|
| 5664 | #include <float.h>
|
---|
| 5665 |
|
---|
| 5666 | int
|
---|
| 5667 | main ()
|
---|
| 5668 | {
|
---|
| 5669 |
|
---|
| 5670 | ;
|
---|
| 5671 | return 0;
|
---|
| 5672 | }
|
---|
| 5673 | _ACEOF
|
---|
| 5674 | rm -f conftest.$ac_objext
|
---|
[25215] | 5675 | if { (ac_try="$ac_compile"
|
---|
| 5676 | case "(($ac_try" in
|
---|
| 5677 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5678 | *) ac_try_echo=$ac_try;;
|
---|
| 5679 | esac
|
---|
[28328] | 5680 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5681 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 5682 | ac_status=$?
|
---|
| 5683 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5684 | rm -f conftest.er1
|
---|
| 5685 | cat conftest.err >&5
|
---|
[28328] | 5686 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 5687 | (exit $ac_status); } && {
|
---|
| 5688 | test -z "$ac_c_werror_flag" ||
|
---|
| 5689 | test ! -s conftest.err
|
---|
| 5690 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 5691 | ac_cv_header_stdc=yes
|
---|
| 5692 | else
|
---|
[28328] | 5693 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5694 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5695 |
|
---|
[25215] | 5696 | ac_cv_header_stdc=no
|
---|
[16589] | 5697 | fi
|
---|
| 5698 |
|
---|
[25215] | 5699 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 5700 |
|
---|
[16589] | 5701 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5702 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
---|
| 5703 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5704 | /* confdefs.h. */
|
---|
| 5705 | _ACEOF
|
---|
| 5706 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5707 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5708 | /* end confdefs.h. */
|
---|
| 5709 | #include <string.h>
|
---|
| 5710 |
|
---|
| 5711 | _ACEOF
|
---|
| 5712 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5713 | $EGREP "memchr" >/dev/null 2>&1; then
|
---|
| 5714 | :
|
---|
| 5715 | else
|
---|
| 5716 | ac_cv_header_stdc=no
|
---|
| 5717 | fi
|
---|
| 5718 | rm -f conftest*
|
---|
| 5719 |
|
---|
| 5720 | fi
|
---|
| 5721 |
|
---|
| 5722 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5723 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
---|
| 5724 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5725 | /* confdefs.h. */
|
---|
| 5726 | _ACEOF
|
---|
| 5727 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5728 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5729 | /* end confdefs.h. */
|
---|
| 5730 | #include <stdlib.h>
|
---|
| 5731 |
|
---|
| 5732 | _ACEOF
|
---|
| 5733 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5734 | $EGREP "free" >/dev/null 2>&1; then
|
---|
| 5735 | :
|
---|
| 5736 | else
|
---|
| 5737 | ac_cv_header_stdc=no
|
---|
| 5738 | fi
|
---|
| 5739 | rm -f conftest*
|
---|
| 5740 |
|
---|
| 5741 | fi
|
---|
| 5742 |
|
---|
| 5743 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5744 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
---|
| 5745 | if test "$cross_compiling" = yes; then
|
---|
| 5746 | :
|
---|
| 5747 | else
|
---|
| 5748 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5749 | /* confdefs.h. */
|
---|
| 5750 | _ACEOF
|
---|
| 5751 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5752 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5753 | /* end confdefs.h. */
|
---|
| 5754 | #include <ctype.h>
|
---|
[25215] | 5755 | #include <stdlib.h>
|
---|
[16589] | 5756 | #if ((' ' & 0x0FF) == 0x020)
|
---|
| 5757 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
---|
| 5758 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
---|
| 5759 | #else
|
---|
| 5760 | # define ISLOWER(c) \
|
---|
| 5761 | (('a' <= (c) && (c) <= 'i') \
|
---|
| 5762 | || ('j' <= (c) && (c) <= 'r') \
|
---|
| 5763 | || ('s' <= (c) && (c) <= 'z'))
|
---|
| 5764 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
---|
| 5765 | #endif
|
---|
| 5766 |
|
---|
| 5767 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
---|
| 5768 | int
|
---|
| 5769 | main ()
|
---|
| 5770 | {
|
---|
| 5771 | int i;
|
---|
| 5772 | for (i = 0; i < 256; i++)
|
---|
| 5773 | if (XOR (islower (i), ISLOWER (i))
|
---|
| 5774 | || toupper (i) != TOUPPER (i))
|
---|
[25215] | 5775 | return 2;
|
---|
| 5776 | return 0;
|
---|
[16589] | 5777 | }
|
---|
| 5778 | _ACEOF
|
---|
| 5779 | rm -f conftest$ac_exeext
|
---|
[25215] | 5780 | if { (ac_try="$ac_link"
|
---|
| 5781 | case "(($ac_try" in
|
---|
| 5782 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5783 | *) ac_try_echo=$ac_try;;
|
---|
| 5784 | esac
|
---|
[28328] | 5785 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5786 | (eval "$ac_link") 2>&5
|
---|
[16589] | 5787 | ac_status=$?
|
---|
[28328] | 5788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 5789 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[25215] | 5790 | { (case "(($ac_try" in
|
---|
| 5791 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5792 | *) ac_try_echo=$ac_try;;
|
---|
| 5793 | esac
|
---|
[28328] | 5794 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5795 | (eval "$ac_try") 2>&5
|
---|
[16589] | 5796 | ac_status=$?
|
---|
[28328] | 5797 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 5798 | (exit $ac_status); }; }; then
|
---|
| 5799 | :
|
---|
| 5800 | else
|
---|
[28328] | 5801 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 5802 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5803 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5804 |
|
---|
| 5805 | ( exit $ac_status )
|
---|
| 5806 | ac_cv_header_stdc=no
|
---|
| 5807 | fi
|
---|
[25215] | 5808 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 5809 | fi
|
---|
[25215] | 5810 |
|
---|
| 5811 |
|
---|
[16589] | 5812 | fi
|
---|
| 5813 | fi
|
---|
[28328] | 5814 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
---|
| 5815 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
---|
[16589] | 5816 | if test $ac_cv_header_stdc = yes; then
|
---|
| 5817 |
|
---|
| 5818 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5819 | #define STDC_HEADERS 1
|
---|
| 5820 | _ACEOF
|
---|
| 5821 |
|
---|
| 5822 | fi
|
---|
| 5823 |
|
---|
| 5824 |
|
---|
| 5825 |
|
---|
| 5826 |
|
---|
| 5827 |
|
---|
| 5828 |
|
---|
| 5829 |
|
---|
| 5830 |
|
---|
| 5831 |
|
---|
| 5832 |
|
---|
| 5833 | 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
|
---|
| 5834 | do
|
---|
[28328] | 5835 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
---|
[25215] | 5836 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[28328] | 5837 | { echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 5838 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
---|
[25215] | 5839 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[28328] | 5840 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 5841 | fi
|
---|
[28328] | 5842 | ac_res=`eval echo '${'$as_ac_Header'}'`
|
---|
| 5843 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 5844 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
[16589] | 5845 | else
|
---|
| 5846 | # Is the header compilable?
|
---|
[28328] | 5847 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
---|
| 5848 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
---|
[16589] | 5849 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5850 | /* confdefs.h. */
|
---|
| 5851 | _ACEOF
|
---|
| 5852 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5853 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5854 | /* end confdefs.h. */
|
---|
| 5855 | $ac_includes_default
|
---|
| 5856 | #include <$ac_header>
|
---|
| 5857 | _ACEOF
|
---|
| 5858 | rm -f conftest.$ac_objext
|
---|
[25215] | 5859 | if { (ac_try="$ac_compile"
|
---|
| 5860 | case "(($ac_try" in
|
---|
| 5861 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5862 | *) ac_try_echo=$ac_try;;
|
---|
| 5863 | esac
|
---|
[28328] | 5864 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5865 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 5866 | ac_status=$?
|
---|
| 5867 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5868 | rm -f conftest.er1
|
---|
| 5869 | cat conftest.err >&5
|
---|
[28328] | 5870 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 5871 | (exit $ac_status); } && {
|
---|
| 5872 | test -z "$ac_c_werror_flag" ||
|
---|
| 5873 | test ! -s conftest.err
|
---|
| 5874 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 5875 | ac_header_compiler=yes
|
---|
| 5876 | else
|
---|
[28328] | 5877 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5878 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5879 |
|
---|
[25215] | 5880 | ac_header_compiler=no
|
---|
[16589] | 5881 | fi
|
---|
| 5882 |
|
---|
[25215] | 5883 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[28328] | 5884 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
---|
| 5885 | echo "${ECHO_T}$ac_header_compiler" >&6; }
|
---|
[25215] | 5886 |
|
---|
[16589] | 5887 | # Is the header present?
|
---|
[28328] | 5888 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
---|
| 5889 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
---|
[16589] | 5890 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5891 | /* confdefs.h. */
|
---|
| 5892 | _ACEOF
|
---|
| 5893 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5894 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5895 | /* end confdefs.h. */
|
---|
| 5896 | #include <$ac_header>
|
---|
| 5897 | _ACEOF
|
---|
[25215] | 5898 | if { (ac_try="$ac_cpp conftest.$ac_ext"
|
---|
| 5899 | case "(($ac_try" in
|
---|
| 5900 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 5901 | *) ac_try_echo=$ac_try;;
|
---|
| 5902 | esac
|
---|
[28328] | 5903 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 5904 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
---|
[16589] | 5905 | ac_status=$?
|
---|
| 5906 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 5907 | rm -f conftest.er1
|
---|
| 5908 | cat conftest.err >&5
|
---|
[28328] | 5909 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 5910 | (exit $ac_status); } >/dev/null && {
|
---|
| 5911 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
---|
| 5912 | test ! -s conftest.err
|
---|
| 5913 | }; then
|
---|
[16589] | 5914 | ac_header_preproc=yes
|
---|
| 5915 | else
|
---|
[28328] | 5916 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 5917 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 5918 |
|
---|
| 5919 | ac_header_preproc=no
|
---|
| 5920 | fi
|
---|
[25215] | 5921 |
|
---|
[16589] | 5922 | rm -f conftest.err conftest.$ac_ext
|
---|
[28328] | 5923 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
---|
| 5924 | echo "${ECHO_T}$ac_header_preproc" >&6; }
|
---|
[16589] | 5925 |
|
---|
| 5926 | # So? What about this header?
|
---|
| 5927 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
---|
| 5928 | yes:no: )
|
---|
[28328] | 5929 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
---|
| 5930 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
---|
| 5931 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
---|
| 5932 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
---|
[16589] | 5933 | ac_header_preproc=yes
|
---|
| 5934 | ;;
|
---|
| 5935 | no:yes:* )
|
---|
[28328] | 5936 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
---|
| 5937 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
---|
| 5938 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
---|
| 5939 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
---|
| 5940 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
---|
| 5941 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
---|
| 5942 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
---|
| 5943 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
---|
| 5944 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
---|
| 5945 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
---|
| 5946 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
---|
| 5947 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
---|
[25215] | 5948 |
|
---|
[16589] | 5949 | ;;
|
---|
| 5950 | esac
|
---|
[28328] | 5951 | { echo "$as_me:$LINENO: checking for $ac_header" >&5
|
---|
| 5952 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
---|
[25215] | 5953 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[28328] | 5954 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 5955 | else
|
---|
| 5956 | eval "$as_ac_Header=\$ac_header_preproc"
|
---|
| 5957 | fi
|
---|
[28328] | 5958 | ac_res=`eval echo '${'$as_ac_Header'}'`
|
---|
| 5959 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 5960 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
[16589] | 5961 |
|
---|
| 5962 | fi
|
---|
[28328] | 5963 | if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
---|
[16589] | 5964 | cat >>confdefs.h <<_ACEOF
|
---|
[28328] | 5965 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
---|
[16589] | 5966 | _ACEOF
|
---|
| 5967 |
|
---|
| 5968 | fi
|
---|
| 5969 |
|
---|
| 5970 | done
|
---|
| 5971 |
|
---|
| 5972 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5973 | /* confdefs.h. */
|
---|
| 5974 | _ACEOF
|
---|
| 5975 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5976 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5977 | /* end confdefs.h. */
|
---|
| 5978 | #include <stdio.h>
|
---|
| 5979 |
|
---|
| 5980 | _ACEOF
|
---|
| 5981 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 5982 | $EGREP "fread" >/dev/null 2>&1; then
|
---|
| 5983 | cat >>confdefs.h <<\_ACEOF
|
---|
| 5984 | #define HAVE_FREAD_DECL 1
|
---|
| 5985 | _ACEOF
|
---|
| 5986 |
|
---|
| 5987 | fi
|
---|
| 5988 | rm -f conftest*
|
---|
| 5989 |
|
---|
| 5990 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 5991 | /* confdefs.h. */
|
---|
| 5992 | _ACEOF
|
---|
| 5993 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 5994 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 5995 | /* end confdefs.h. */
|
---|
| 5996 | #include <stdio.h>
|
---|
| 5997 |
|
---|
| 5998 | _ACEOF
|
---|
| 5999 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 6000 | $EGREP "fgetc" >/dev/null 2>&1; then
|
---|
| 6001 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6002 | #define HAVE_FGETC_DECL 1
|
---|
| 6003 | _ACEOF
|
---|
| 6004 |
|
---|
| 6005 | fi
|
---|
| 6006 | rm -f conftest*
|
---|
| 6007 |
|
---|
| 6008 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6009 | /* confdefs.h. */
|
---|
| 6010 | _ACEOF
|
---|
| 6011 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6012 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6013 | /* end confdefs.h. */
|
---|
| 6014 | #include <sys/procfs.h>
|
---|
| 6015 |
|
---|
| 6016 | _ACEOF
|
---|
| 6017 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 6018 | $EGREP "pr_brksize" >/dev/null 2>&1; then
|
---|
| 6019 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6020 | #define HAVE_PR_BRKSIZE 1
|
---|
| 6021 | _ACEOF
|
---|
| 6022 |
|
---|
| 6023 | fi
|
---|
| 6024 | rm -f conftest*
|
---|
| 6025 |
|
---|
| 6026 |
|
---|
| 6027 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
---|
| 6028 | # for constant arguments. Useless!
|
---|
[28328] | 6029 | { echo "$as_me:$LINENO: checking for working alloca.h" >&5
|
---|
| 6030 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
|
---|
[16589] | 6031 | if test "${ac_cv_working_alloca_h+set}" = set; then
|
---|
[28328] | 6032 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 6033 | else
|
---|
| 6034 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6035 | /* confdefs.h. */
|
---|
| 6036 | _ACEOF
|
---|
| 6037 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6038 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6039 | /* end confdefs.h. */
|
---|
| 6040 | #include <alloca.h>
|
---|
| 6041 | int
|
---|
| 6042 | main ()
|
---|
| 6043 | {
|
---|
| 6044 | char *p = (char *) alloca (2 * sizeof (int));
|
---|
[25215] | 6045 | if (p) return 0;
|
---|
[16589] | 6046 | ;
|
---|
| 6047 | return 0;
|
---|
| 6048 | }
|
---|
| 6049 | _ACEOF
|
---|
| 6050 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[25215] | 6051 | if { (ac_try="$ac_link"
|
---|
| 6052 | case "(($ac_try" in
|
---|
| 6053 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6054 | *) ac_try_echo=$ac_try;;
|
---|
| 6055 | esac
|
---|
[28328] | 6056 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 6057 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 6058 | ac_status=$?
|
---|
| 6059 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6060 | rm -f conftest.er1
|
---|
| 6061 | cat conftest.err >&5
|
---|
[28328] | 6062 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 6063 | (exit $ac_status); } && {
|
---|
| 6064 | test -z "$ac_c_werror_flag" ||
|
---|
| 6065 | test ! -s conftest.err
|
---|
[28328] | 6066 | } && test -s conftest$ac_exeext &&
|
---|
| 6067 | $as_test_x conftest$ac_exeext; then
|
---|
[16589] | 6068 | ac_cv_working_alloca_h=yes
|
---|
| 6069 | else
|
---|
[28328] | 6070 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 6071 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6072 |
|
---|
[25215] | 6073 | ac_cv_working_alloca_h=no
|
---|
[16589] | 6074 | fi
|
---|
[25215] | 6075 |
|
---|
| 6076 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16589] | 6077 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6078 | fi
|
---|
[28328] | 6079 | { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
|
---|
| 6080 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
|
---|
[16589] | 6081 | if test $ac_cv_working_alloca_h = yes; then
|
---|
| 6082 |
|
---|
| 6083 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6084 | #define HAVE_ALLOCA_H 1
|
---|
| 6085 | _ACEOF
|
---|
| 6086 |
|
---|
| 6087 | fi
|
---|
| 6088 |
|
---|
[28328] | 6089 | { echo "$as_me:$LINENO: checking for alloca" >&5
|
---|
| 6090 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
|
---|
[16589] | 6091 | if test "${ac_cv_func_alloca_works+set}" = set; then
|
---|
[28328] | 6092 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 6093 | else
|
---|
| 6094 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6095 | /* confdefs.h. */
|
---|
| 6096 | _ACEOF
|
---|
| 6097 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6098 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6099 | /* end confdefs.h. */
|
---|
| 6100 | #ifdef __GNUC__
|
---|
| 6101 | # define alloca __builtin_alloca
|
---|
| 6102 | #else
|
---|
| 6103 | # ifdef _MSC_VER
|
---|
| 6104 | # include <malloc.h>
|
---|
| 6105 | # define alloca _alloca
|
---|
| 6106 | # else
|
---|
[25215] | 6107 | # ifdef HAVE_ALLOCA_H
|
---|
[16589] | 6108 | # include <alloca.h>
|
---|
| 6109 | # else
|
---|
| 6110 | # ifdef _AIX
|
---|
| 6111 | #pragma alloca
|
---|
| 6112 | # else
|
---|
| 6113 | # ifndef alloca /* predefined by HP cc +Olibcalls */
|
---|
| 6114 | char *alloca ();
|
---|
| 6115 | # endif
|
---|
| 6116 | # endif
|
---|
| 6117 | # endif
|
---|
| 6118 | # endif
|
---|
| 6119 | #endif
|
---|
| 6120 |
|
---|
| 6121 | int
|
---|
| 6122 | main ()
|
---|
| 6123 | {
|
---|
| 6124 | char *p = (char *) alloca (1);
|
---|
[25215] | 6125 | if (p) return 0;
|
---|
[16589] | 6126 | ;
|
---|
| 6127 | return 0;
|
---|
| 6128 | }
|
---|
| 6129 | _ACEOF
|
---|
| 6130 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[25215] | 6131 | if { (ac_try="$ac_link"
|
---|
| 6132 | case "(($ac_try" in
|
---|
| 6133 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6134 | *) ac_try_echo=$ac_try;;
|
---|
| 6135 | esac
|
---|
[28328] | 6136 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 6137 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 6138 | ac_status=$?
|
---|
| 6139 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6140 | rm -f conftest.er1
|
---|
| 6141 | cat conftest.err >&5
|
---|
[28328] | 6142 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 6143 | (exit $ac_status); } && {
|
---|
| 6144 | test -z "$ac_c_werror_flag" ||
|
---|
| 6145 | test ! -s conftest.err
|
---|
[28328] | 6146 | } && test -s conftest$ac_exeext &&
|
---|
| 6147 | $as_test_x conftest$ac_exeext; then
|
---|
[16589] | 6148 | ac_cv_func_alloca_works=yes
|
---|
| 6149 | else
|
---|
[28328] | 6150 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 6151 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6152 |
|
---|
[25215] | 6153 | ac_cv_func_alloca_works=no
|
---|
[16589] | 6154 | fi
|
---|
[25215] | 6155 |
|
---|
| 6156 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16589] | 6157 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6158 | fi
|
---|
[28328] | 6159 | { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
|
---|
| 6160 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
|
---|
[16589] | 6161 |
|
---|
| 6162 | if test $ac_cv_func_alloca_works = yes; then
|
---|
| 6163 |
|
---|
| 6164 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6165 | #define HAVE_ALLOCA 1
|
---|
| 6166 | _ACEOF
|
---|
| 6167 |
|
---|
| 6168 | else
|
---|
| 6169 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
---|
| 6170 | # that cause trouble. Some versions do not even contain alloca or
|
---|
| 6171 | # contain a buggy version. If you still want to use their alloca,
|
---|
| 6172 | # use ar to extract alloca.o from them instead of compiling alloca.c.
|
---|
| 6173 |
|
---|
[25215] | 6174 | ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
---|
[16589] | 6175 |
|
---|
| 6176 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6177 | #define C_ALLOCA 1
|
---|
| 6178 | _ACEOF
|
---|
| 6179 |
|
---|
| 6180 |
|
---|
[28328] | 6181 | { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
|
---|
| 6182 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
|
---|
[16589] | 6183 | if test "${ac_cv_os_cray+set}" = set; then
|
---|
[28328] | 6184 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 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. */
|
---|
[25215] | 6192 | #if defined CRAY && ! defined CRAY2
|
---|
[16589] | 6193 | webecray
|
---|
| 6194 | #else
|
---|
| 6195 | wenotbecray
|
---|
| 6196 | #endif
|
---|
| 6197 |
|
---|
| 6198 | _ACEOF
|
---|
| 6199 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 6200 | $EGREP "webecray" >/dev/null 2>&1; then
|
---|
| 6201 | ac_cv_os_cray=yes
|
---|
| 6202 | else
|
---|
| 6203 | ac_cv_os_cray=no
|
---|
| 6204 | fi
|
---|
| 6205 | rm -f conftest*
|
---|
| 6206 |
|
---|
| 6207 | fi
|
---|
[28328] | 6208 | { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
|
---|
| 6209 | echo "${ECHO_T}$ac_cv_os_cray" >&6; }
|
---|
[16589] | 6210 | if test $ac_cv_os_cray = yes; then
|
---|
| 6211 | for ac_func in _getb67 GETB67 getb67; do
|
---|
[28328] | 6212 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 6213 | { echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6214 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
---|
[25215] | 6215 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[28328] | 6216 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 6217 | else
|
---|
| 6218 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6219 | /* confdefs.h. */
|
---|
| 6220 | _ACEOF
|
---|
| 6221 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6222 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6223 | /* end confdefs.h. */
|
---|
| 6224 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6225 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6226 | #define $ac_func innocuous_$ac_func
|
---|
| 6227 |
|
---|
| 6228 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6229 | which can conflict with char $ac_func (); below.
|
---|
| 6230 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6231 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6232 |
|
---|
| 6233 | #ifdef __STDC__
|
---|
| 6234 | # include <limits.h>
|
---|
| 6235 | #else
|
---|
| 6236 | # include <assert.h>
|
---|
| 6237 | #endif
|
---|
| 6238 |
|
---|
| 6239 | #undef $ac_func
|
---|
| 6240 |
|
---|
[25215] | 6241 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6242 | Use char because int might match the return type of a GCC
|
---|
| 6243 | builtin and then its argument prototype would still apply. */
|
---|
[16589] | 6244 | #ifdef __cplusplus
|
---|
| 6245 | extern "C"
|
---|
| 6246 | #endif
|
---|
| 6247 | char $ac_func ();
|
---|
| 6248 | /* The GNU C library defines this for functions which it implements
|
---|
| 6249 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6250 | something starting with __ and the normal name is an alias. */
|
---|
[25215] | 6251 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
[16589] | 6252 | choke me
|
---|
| 6253 | #endif
|
---|
| 6254 |
|
---|
| 6255 | int
|
---|
| 6256 | main ()
|
---|
| 6257 | {
|
---|
[25215] | 6258 | return $ac_func ();
|
---|
[16589] | 6259 | ;
|
---|
| 6260 | return 0;
|
---|
| 6261 | }
|
---|
| 6262 | _ACEOF
|
---|
| 6263 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[25215] | 6264 | if { (ac_try="$ac_link"
|
---|
| 6265 | case "(($ac_try" in
|
---|
| 6266 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6267 | *) ac_try_echo=$ac_try;;
|
---|
| 6268 | esac
|
---|
[28328] | 6269 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 6270 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 6271 | ac_status=$?
|
---|
| 6272 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6273 | rm -f conftest.er1
|
---|
| 6274 | cat conftest.err >&5
|
---|
[28328] | 6275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 6276 | (exit $ac_status); } && {
|
---|
| 6277 | test -z "$ac_c_werror_flag" ||
|
---|
| 6278 | test ! -s conftest.err
|
---|
[28328] | 6279 | } && test -s conftest$ac_exeext &&
|
---|
| 6280 | $as_test_x conftest$ac_exeext; then
|
---|
[16589] | 6281 | eval "$as_ac_var=yes"
|
---|
| 6282 | else
|
---|
[28328] | 6283 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 6284 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6285 |
|
---|
[25215] | 6286 | eval "$as_ac_var=no"
|
---|
[16589] | 6287 | fi
|
---|
[25215] | 6288 |
|
---|
| 6289 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16589] | 6290 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6291 | fi
|
---|
[28328] | 6292 | ac_res=`eval echo '${'$as_ac_var'}'`
|
---|
| 6293 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 6294 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
| 6295 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
[16589] | 6296 |
|
---|
| 6297 | cat >>confdefs.h <<_ACEOF
|
---|
| 6298 | #define CRAY_STACKSEG_END $ac_func
|
---|
| 6299 | _ACEOF
|
---|
| 6300 |
|
---|
| 6301 | break
|
---|
| 6302 | fi
|
---|
| 6303 |
|
---|
| 6304 | done
|
---|
| 6305 | fi
|
---|
| 6306 |
|
---|
[28328] | 6307 | { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
|
---|
| 6308 | echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
|
---|
[16589] | 6309 | if test "${ac_cv_c_stack_direction+set}" = set; then
|
---|
[28328] | 6310 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 6311 | else
|
---|
| 6312 | if test "$cross_compiling" = yes; then
|
---|
| 6313 | ac_cv_c_stack_direction=0
|
---|
| 6314 | else
|
---|
| 6315 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6316 | /* confdefs.h. */
|
---|
| 6317 | _ACEOF
|
---|
| 6318 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6319 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6320 | /* end confdefs.h. */
|
---|
[25215] | 6321 | $ac_includes_default
|
---|
[16589] | 6322 | int
|
---|
| 6323 | find_stack_direction ()
|
---|
| 6324 | {
|
---|
| 6325 | static char *addr = 0;
|
---|
| 6326 | auto char dummy;
|
---|
| 6327 | if (addr == 0)
|
---|
| 6328 | {
|
---|
| 6329 | addr = &dummy;
|
---|
| 6330 | return find_stack_direction ();
|
---|
| 6331 | }
|
---|
| 6332 | else
|
---|
| 6333 | return (&dummy > addr) ? 1 : -1;
|
---|
| 6334 | }
|
---|
| 6335 |
|
---|
| 6336 | int
|
---|
| 6337 | main ()
|
---|
| 6338 | {
|
---|
[25215] | 6339 | return find_stack_direction () < 0;
|
---|
[16589] | 6340 | }
|
---|
| 6341 | _ACEOF
|
---|
| 6342 | rm -f conftest$ac_exeext
|
---|
[25215] | 6343 | if { (ac_try="$ac_link"
|
---|
| 6344 | case "(($ac_try" in
|
---|
| 6345 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6346 | *) ac_try_echo=$ac_try;;
|
---|
| 6347 | esac
|
---|
[28328] | 6348 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 6349 | (eval "$ac_link") 2>&5
|
---|
[16589] | 6350 | ac_status=$?
|
---|
[28328] | 6351 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 6352 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[25215] | 6353 | { (case "(($ac_try" in
|
---|
| 6354 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6355 | *) ac_try_echo=$ac_try;;
|
---|
| 6356 | esac
|
---|
[28328] | 6357 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 6358 | (eval "$ac_try") 2>&5
|
---|
[16589] | 6359 | ac_status=$?
|
---|
[28328] | 6360 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 6361 | (exit $ac_status); }; }; then
|
---|
| 6362 | ac_cv_c_stack_direction=1
|
---|
| 6363 | else
|
---|
[28328] | 6364 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 6365 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 6366 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6367 |
|
---|
| 6368 | ( exit $ac_status )
|
---|
| 6369 | ac_cv_c_stack_direction=-1
|
---|
| 6370 | fi
|
---|
[25215] | 6371 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 6372 | fi
|
---|
[25215] | 6373 |
|
---|
| 6374 |
|
---|
[16589] | 6375 | fi
|
---|
[28328] | 6376 | { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
|
---|
| 6377 | echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
|
---|
[16589] | 6378 |
|
---|
| 6379 | cat >>confdefs.h <<_ACEOF
|
---|
| 6380 | #define STACK_DIRECTION $ac_cv_c_stack_direction
|
---|
| 6381 | _ACEOF
|
---|
| 6382 |
|
---|
| 6383 |
|
---|
| 6384 | fi
|
---|
| 6385 |
|
---|
| 6386 | if test $ac_cv_c_compiler_gnu = yes; then
|
---|
[28328] | 6387 | { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
|
---|
| 6388 | echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
|
---|
[16589] | 6389 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then
|
---|
[28328] | 6390 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 6391 | else
|
---|
| 6392 | ac_pattern="Autoconf.*'x'"
|
---|
| 6393 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6394 | /* confdefs.h. */
|
---|
| 6395 | _ACEOF
|
---|
| 6396 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6397 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6398 | /* end confdefs.h. */
|
---|
| 6399 | #include <sgtty.h>
|
---|
| 6400 | Autoconf TIOCGETP
|
---|
| 6401 | _ACEOF
|
---|
| 6402 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 6403 | $EGREP "$ac_pattern" >/dev/null 2>&1; then
|
---|
| 6404 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6405 | else
|
---|
| 6406 | ac_cv_prog_gcc_traditional=no
|
---|
| 6407 | fi
|
---|
| 6408 | rm -f conftest*
|
---|
| 6409 |
|
---|
| 6410 |
|
---|
| 6411 | if test $ac_cv_prog_gcc_traditional = no; then
|
---|
| 6412 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6413 | /* confdefs.h. */
|
---|
| 6414 | _ACEOF
|
---|
| 6415 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6416 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6417 | /* end confdefs.h. */
|
---|
| 6418 | #include <termio.h>
|
---|
| 6419 | Autoconf TCGETA
|
---|
| 6420 | _ACEOF
|
---|
| 6421 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
---|
| 6422 | $EGREP "$ac_pattern" >/dev/null 2>&1; then
|
---|
| 6423 | ac_cv_prog_gcc_traditional=yes
|
---|
| 6424 | fi
|
---|
| 6425 | rm -f conftest*
|
---|
| 6426 |
|
---|
| 6427 | fi
|
---|
| 6428 | fi
|
---|
[28328] | 6429 | { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
|
---|
| 6430 | echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
|
---|
[16589] | 6431 | if test $ac_cv_prog_gcc_traditional = yes; then
|
---|
| 6432 | CC="$CC -traditional"
|
---|
| 6433 | fi
|
---|
| 6434 | fi
|
---|
| 6435 |
|
---|
[28328] | 6436 | { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
|
---|
| 6437 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
|
---|
[16589] | 6438 | if test "${ac_cv_type_signal+set}" = set; then
|
---|
[28328] | 6439 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 6440 | else
|
---|
| 6441 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6442 | /* confdefs.h. */
|
---|
| 6443 | _ACEOF
|
---|
| 6444 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6445 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6446 | /* end confdefs.h. */
|
---|
| 6447 | #include <sys/types.h>
|
---|
| 6448 | #include <signal.h>
|
---|
| 6449 |
|
---|
| 6450 | int
|
---|
| 6451 | main ()
|
---|
| 6452 | {
|
---|
[25215] | 6453 | return *(signal (0, 0)) (0) == 1;
|
---|
[16589] | 6454 | ;
|
---|
| 6455 | return 0;
|
---|
| 6456 | }
|
---|
| 6457 | _ACEOF
|
---|
| 6458 | rm -f conftest.$ac_objext
|
---|
[25215] | 6459 | if { (ac_try="$ac_compile"
|
---|
| 6460 | case "(($ac_try" in
|
---|
| 6461 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6462 | *) ac_try_echo=$ac_try;;
|
---|
| 6463 | esac
|
---|
[28328] | 6464 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 6465 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 6466 | ac_status=$?
|
---|
| 6467 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6468 | rm -f conftest.er1
|
---|
| 6469 | cat conftest.err >&5
|
---|
[28328] | 6470 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 6471 | (exit $ac_status); } && {
|
---|
| 6472 | test -z "$ac_c_werror_flag" ||
|
---|
| 6473 | test ! -s conftest.err
|
---|
| 6474 | } && test -s conftest.$ac_objext; then
|
---|
| 6475 | ac_cv_type_signal=int
|
---|
[16589] | 6476 | else
|
---|
[28328] | 6477 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 6478 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6479 |
|
---|
[25215] | 6480 | ac_cv_type_signal=void
|
---|
[16589] | 6481 | fi
|
---|
[25215] | 6482 |
|
---|
| 6483 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 6484 | fi
|
---|
[28328] | 6485 | { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
|
---|
| 6486 | echo "${ECHO_T}$ac_cv_type_signal" >&6; }
|
---|
[16589] | 6487 |
|
---|
| 6488 | cat >>confdefs.h <<_ACEOF
|
---|
| 6489 | #define RETSIGTYPE $ac_cv_type_signal
|
---|
| 6490 | _ACEOF
|
---|
| 6491 |
|
---|
| 6492 |
|
---|
| 6493 |
|
---|
| 6494 | for ac_func in vprintf
|
---|
| 6495 | do
|
---|
[28328] | 6496 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 6497 | { echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6498 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
---|
[25215] | 6499 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[28328] | 6500 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 6501 | else
|
---|
| 6502 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6503 | /* confdefs.h. */
|
---|
| 6504 | _ACEOF
|
---|
| 6505 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6506 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6507 | /* end confdefs.h. */
|
---|
| 6508 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6509 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6510 | #define $ac_func innocuous_$ac_func
|
---|
| 6511 |
|
---|
| 6512 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6513 | which can conflict with char $ac_func (); below.
|
---|
| 6514 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6515 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6516 |
|
---|
| 6517 | #ifdef __STDC__
|
---|
| 6518 | # include <limits.h>
|
---|
| 6519 | #else
|
---|
| 6520 | # include <assert.h>
|
---|
| 6521 | #endif
|
---|
| 6522 |
|
---|
| 6523 | #undef $ac_func
|
---|
| 6524 |
|
---|
[25215] | 6525 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6526 | Use char because int might match the return type of a GCC
|
---|
| 6527 | builtin and then its argument prototype would still apply. */
|
---|
[16589] | 6528 | #ifdef __cplusplus
|
---|
| 6529 | extern "C"
|
---|
| 6530 | #endif
|
---|
| 6531 | char $ac_func ();
|
---|
| 6532 | /* The GNU C library defines this for functions which it implements
|
---|
| 6533 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6534 | something starting with __ and the normal name is an alias. */
|
---|
[25215] | 6535 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
[16589] | 6536 | choke me
|
---|
| 6537 | #endif
|
---|
| 6538 |
|
---|
| 6539 | int
|
---|
| 6540 | main ()
|
---|
| 6541 | {
|
---|
[25215] | 6542 | return $ac_func ();
|
---|
[16589] | 6543 | ;
|
---|
| 6544 | return 0;
|
---|
| 6545 | }
|
---|
| 6546 | _ACEOF
|
---|
| 6547 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[25215] | 6548 | if { (ac_try="$ac_link"
|
---|
| 6549 | case "(($ac_try" in
|
---|
| 6550 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6551 | *) ac_try_echo=$ac_try;;
|
---|
| 6552 | esac
|
---|
[28328] | 6553 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 6554 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 6555 | ac_status=$?
|
---|
| 6556 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6557 | rm -f conftest.er1
|
---|
| 6558 | cat conftest.err >&5
|
---|
[28328] | 6559 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 6560 | (exit $ac_status); } && {
|
---|
| 6561 | test -z "$ac_c_werror_flag" ||
|
---|
| 6562 | test ! -s conftest.err
|
---|
[28328] | 6563 | } && test -s conftest$ac_exeext &&
|
---|
| 6564 | $as_test_x conftest$ac_exeext; then
|
---|
[16589] | 6565 | eval "$as_ac_var=yes"
|
---|
| 6566 | else
|
---|
[28328] | 6567 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 6568 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6569 |
|
---|
[25215] | 6570 | eval "$as_ac_var=no"
|
---|
[16589] | 6571 | fi
|
---|
[25215] | 6572 |
|
---|
| 6573 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16589] | 6574 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6575 | fi
|
---|
[28328] | 6576 | ac_res=`eval echo '${'$as_ac_var'}'`
|
---|
| 6577 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 6578 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
| 6579 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
[16589] | 6580 | cat >>confdefs.h <<_ACEOF
|
---|
[28328] | 6581 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[16589] | 6582 | _ACEOF
|
---|
| 6583 |
|
---|
[28328] | 6584 | { echo "$as_me:$LINENO: checking for _doprnt" >&5
|
---|
| 6585 | echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
|
---|
[16589] | 6586 | if test "${ac_cv_func__doprnt+set}" = set; then
|
---|
[28328] | 6587 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 6588 | else
|
---|
| 6589 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6590 | /* confdefs.h. */
|
---|
| 6591 | _ACEOF
|
---|
| 6592 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6593 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6594 | /* end confdefs.h. */
|
---|
| 6595 | /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
|
---|
| 6596 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6597 | #define _doprnt innocuous__doprnt
|
---|
| 6598 |
|
---|
| 6599 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6600 | which can conflict with char _doprnt (); below.
|
---|
| 6601 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6602 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6603 |
|
---|
| 6604 | #ifdef __STDC__
|
---|
| 6605 | # include <limits.h>
|
---|
| 6606 | #else
|
---|
| 6607 | # include <assert.h>
|
---|
| 6608 | #endif
|
---|
| 6609 |
|
---|
| 6610 | #undef _doprnt
|
---|
| 6611 |
|
---|
[25215] | 6612 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6613 | Use char because int might match the return type of a GCC
|
---|
| 6614 | builtin and then its argument prototype would still apply. */
|
---|
[16589] | 6615 | #ifdef __cplusplus
|
---|
| 6616 | extern "C"
|
---|
| 6617 | #endif
|
---|
| 6618 | char _doprnt ();
|
---|
| 6619 | /* The GNU C library defines this for functions which it implements
|
---|
| 6620 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6621 | something starting with __ and the normal name is an alias. */
|
---|
[25215] | 6622 | #if defined __stub__doprnt || defined __stub____doprnt
|
---|
[16589] | 6623 | choke me
|
---|
| 6624 | #endif
|
---|
| 6625 |
|
---|
| 6626 | int
|
---|
| 6627 | main ()
|
---|
| 6628 | {
|
---|
[25215] | 6629 | return _doprnt ();
|
---|
[16589] | 6630 | ;
|
---|
| 6631 | return 0;
|
---|
| 6632 | }
|
---|
| 6633 | _ACEOF
|
---|
| 6634 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[25215] | 6635 | if { (ac_try="$ac_link"
|
---|
| 6636 | case "(($ac_try" in
|
---|
| 6637 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6638 | *) ac_try_echo=$ac_try;;
|
---|
| 6639 | esac
|
---|
[28328] | 6640 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 6641 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 6642 | ac_status=$?
|
---|
| 6643 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6644 | rm -f conftest.er1
|
---|
| 6645 | cat conftest.err >&5
|
---|
[28328] | 6646 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 6647 | (exit $ac_status); } && {
|
---|
| 6648 | test -z "$ac_c_werror_flag" ||
|
---|
| 6649 | test ! -s conftest.err
|
---|
[28328] | 6650 | } && test -s conftest$ac_exeext &&
|
---|
| 6651 | $as_test_x conftest$ac_exeext; then
|
---|
[16589] | 6652 | ac_cv_func__doprnt=yes
|
---|
| 6653 | else
|
---|
[28328] | 6654 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 6655 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6656 |
|
---|
[25215] | 6657 | ac_cv_func__doprnt=no
|
---|
[16589] | 6658 | fi
|
---|
[25215] | 6659 |
|
---|
| 6660 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16589] | 6661 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6662 | fi
|
---|
[28328] | 6663 | { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
|
---|
| 6664 | echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
|
---|
| 6665 | if test $ac_cv_func__doprnt = yes; then
|
---|
[16589] | 6666 |
|
---|
| 6667 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6668 | #define HAVE_DOPRNT 1
|
---|
| 6669 | _ACEOF
|
---|
| 6670 |
|
---|
| 6671 | fi
|
---|
| 6672 |
|
---|
| 6673 | fi
|
---|
| 6674 | done
|
---|
| 6675 |
|
---|
| 6676 |
|
---|
| 6677 |
|
---|
| 6678 |
|
---|
| 6679 |
|
---|
| 6680 |
|
---|
| 6681 |
|
---|
| 6682 |
|
---|
| 6683 |
|
---|
| 6684 |
|
---|
| 6685 |
|
---|
| 6686 |
|
---|
| 6687 | for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
|
---|
| 6688 | do
|
---|
[28328] | 6689 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 6690 | { echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6691 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
---|
[25215] | 6692 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[28328] | 6693 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 6694 | else
|
---|
| 6695 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6696 | /* confdefs.h. */
|
---|
| 6697 | _ACEOF
|
---|
| 6698 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6699 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6700 | /* end confdefs.h. */
|
---|
| 6701 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6702 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6703 | #define $ac_func innocuous_$ac_func
|
---|
| 6704 |
|
---|
| 6705 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6706 | which can conflict with char $ac_func (); below.
|
---|
| 6707 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6708 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6709 |
|
---|
| 6710 | #ifdef __STDC__
|
---|
| 6711 | # include <limits.h>
|
---|
| 6712 | #else
|
---|
| 6713 | # include <assert.h>
|
---|
| 6714 | #endif
|
---|
| 6715 |
|
---|
| 6716 | #undef $ac_func
|
---|
| 6717 |
|
---|
[25215] | 6718 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6719 | Use char because int might match the return type of a GCC
|
---|
| 6720 | builtin and then its argument prototype would still apply. */
|
---|
[16589] | 6721 | #ifdef __cplusplus
|
---|
| 6722 | extern "C"
|
---|
| 6723 | #endif
|
---|
| 6724 | char $ac_func ();
|
---|
| 6725 | /* The GNU C library defines this for functions which it implements
|
---|
| 6726 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6727 | something starting with __ and the normal name is an alias. */
|
---|
[25215] | 6728 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
[16589] | 6729 | choke me
|
---|
| 6730 | #endif
|
---|
| 6731 |
|
---|
| 6732 | int
|
---|
| 6733 | main ()
|
---|
| 6734 | {
|
---|
[25215] | 6735 | return $ac_func ();
|
---|
[16589] | 6736 | ;
|
---|
| 6737 | return 0;
|
---|
| 6738 | }
|
---|
| 6739 | _ACEOF
|
---|
| 6740 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[25215] | 6741 | if { (ac_try="$ac_link"
|
---|
| 6742 | case "(($ac_try" in
|
---|
| 6743 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6744 | *) ac_try_echo=$ac_try;;
|
---|
| 6745 | esac
|
---|
[28328] | 6746 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 6747 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 6748 | ac_status=$?
|
---|
| 6749 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6750 | rm -f conftest.er1
|
---|
| 6751 | cat conftest.err >&5
|
---|
[28328] | 6752 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 6753 | (exit $ac_status); } && {
|
---|
| 6754 | test -z "$ac_c_werror_flag" ||
|
---|
| 6755 | test ! -s conftest.err
|
---|
[28328] | 6756 | } && test -s conftest$ac_exeext &&
|
---|
| 6757 | $as_test_x conftest$ac_exeext; then
|
---|
[16589] | 6758 | eval "$as_ac_var=yes"
|
---|
| 6759 | else
|
---|
[28328] | 6760 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 6761 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6762 |
|
---|
[25215] | 6763 | eval "$as_ac_var=no"
|
---|
[16589] | 6764 | fi
|
---|
[25215] | 6765 |
|
---|
| 6766 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16589] | 6767 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6768 | fi
|
---|
[28328] | 6769 | ac_res=`eval echo '${'$as_ac_var'}'`
|
---|
| 6770 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 6771 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
| 6772 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
[16589] | 6773 | cat >>confdefs.h <<_ACEOF
|
---|
[28328] | 6774 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[16589] | 6775 | _ACEOF
|
---|
| 6776 |
|
---|
| 6777 | fi
|
---|
| 6778 | done
|
---|
| 6779 |
|
---|
| 6780 |
|
---|
| 6781 |
|
---|
| 6782 |
|
---|
| 6783 | for ac_func in ftruncate strstr strcasecmp
|
---|
| 6784 | do
|
---|
[28328] | 6785 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 6786 | { echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6787 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
---|
[25215] | 6788 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[28328] | 6789 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 6790 | else
|
---|
| 6791 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6792 | /* confdefs.h. */
|
---|
| 6793 | _ACEOF
|
---|
| 6794 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6795 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6796 | /* end confdefs.h. */
|
---|
| 6797 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 6798 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6799 | #define $ac_func innocuous_$ac_func
|
---|
| 6800 |
|
---|
| 6801 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6802 | which can conflict with char $ac_func (); below.
|
---|
| 6803 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6804 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6805 |
|
---|
| 6806 | #ifdef __STDC__
|
---|
| 6807 | # include <limits.h>
|
---|
| 6808 | #else
|
---|
| 6809 | # include <assert.h>
|
---|
| 6810 | #endif
|
---|
| 6811 |
|
---|
| 6812 | #undef $ac_func
|
---|
| 6813 |
|
---|
[25215] | 6814 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6815 | Use char because int might match the return type of a GCC
|
---|
| 6816 | builtin and then its argument prototype would still apply. */
|
---|
[16589] | 6817 | #ifdef __cplusplus
|
---|
| 6818 | extern "C"
|
---|
| 6819 | #endif
|
---|
| 6820 | char $ac_func ();
|
---|
| 6821 | /* The GNU C library defines this for functions which it implements
|
---|
| 6822 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6823 | something starting with __ and the normal name is an alias. */
|
---|
[25215] | 6824 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
[16589] | 6825 | choke me
|
---|
| 6826 | #endif
|
---|
| 6827 |
|
---|
| 6828 | int
|
---|
| 6829 | main ()
|
---|
| 6830 | {
|
---|
[25215] | 6831 | return $ac_func ();
|
---|
[16589] | 6832 | ;
|
---|
| 6833 | return 0;
|
---|
| 6834 | }
|
---|
| 6835 | _ACEOF
|
---|
| 6836 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[25215] | 6837 | if { (ac_try="$ac_link"
|
---|
| 6838 | case "(($ac_try" in
|
---|
| 6839 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6840 | *) ac_try_echo=$ac_try;;
|
---|
| 6841 | esac
|
---|
[28328] | 6842 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 6843 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 6844 | ac_status=$?
|
---|
| 6845 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6846 | rm -f conftest.er1
|
---|
| 6847 | cat conftest.err >&5
|
---|
[28328] | 6848 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 6849 | (exit $ac_status); } && {
|
---|
| 6850 | test -z "$ac_c_werror_flag" ||
|
---|
| 6851 | test ! -s conftest.err
|
---|
[28328] | 6852 | } && test -s conftest$ac_exeext &&
|
---|
| 6853 | $as_test_x conftest$ac_exeext; then
|
---|
[16589] | 6854 | eval "$as_ac_var=yes"
|
---|
| 6855 | else
|
---|
[28328] | 6856 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 6857 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6858 |
|
---|
[25215] | 6859 | eval "$as_ac_var=no"
|
---|
[16589] | 6860 | fi
|
---|
[25215] | 6861 |
|
---|
| 6862 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16589] | 6863 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6864 | fi
|
---|
[28328] | 6865 | ac_res=`eval echo '${'$as_ac_var'}'`
|
---|
| 6866 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 6867 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
| 6868 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
[16589] | 6869 | cat >>confdefs.h <<_ACEOF
|
---|
[28328] | 6870 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[16589] | 6871 | _ACEOF
|
---|
| 6872 |
|
---|
| 6873 | else
|
---|
[25215] | 6874 | case " $LIBOBJS " in
|
---|
[16589] | 6875 | *" $ac_func.$ac_objext "* ) ;;
|
---|
[25215] | 6876 | *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
|
---|
| 6877 | ;;
|
---|
[16589] | 6878 | esac
|
---|
| 6879 |
|
---|
| 6880 | fi
|
---|
| 6881 | done
|
---|
| 6882 |
|
---|
| 6883 |
|
---|
| 6884 |
|
---|
[28328] | 6885 | { echo "$as_me:$LINENO: checking for textdomain" >&5
|
---|
| 6886 | echo $ECHO_N "checking for textdomain... $ECHO_C" >&6; }
|
---|
[16589] | 6887 | if test "${ac_cv_func_textdomain+set}" = set; then
|
---|
[28328] | 6888 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 6889 | else
|
---|
| 6890 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 6891 | /* confdefs.h. */
|
---|
| 6892 | _ACEOF
|
---|
| 6893 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 6894 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 6895 | /* end confdefs.h. */
|
---|
| 6896 | /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain.
|
---|
| 6897 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 6898 | #define textdomain innocuous_textdomain
|
---|
| 6899 |
|
---|
| 6900 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 6901 | which can conflict with char textdomain (); below.
|
---|
| 6902 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 6903 | <limits.h> exists even on freestanding compilers. */
|
---|
| 6904 |
|
---|
| 6905 | #ifdef __STDC__
|
---|
| 6906 | # include <limits.h>
|
---|
| 6907 | #else
|
---|
| 6908 | # include <assert.h>
|
---|
| 6909 | #endif
|
---|
| 6910 |
|
---|
| 6911 | #undef textdomain
|
---|
| 6912 |
|
---|
[25215] | 6913 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 6914 | Use char because int might match the return type of a GCC
|
---|
| 6915 | builtin and then its argument prototype would still apply. */
|
---|
[16589] | 6916 | #ifdef __cplusplus
|
---|
| 6917 | extern "C"
|
---|
| 6918 | #endif
|
---|
| 6919 | char textdomain ();
|
---|
| 6920 | /* The GNU C library defines this for functions which it implements
|
---|
| 6921 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 6922 | something starting with __ and the normal name is an alias. */
|
---|
[25215] | 6923 | #if defined __stub_textdomain || defined __stub___textdomain
|
---|
[16589] | 6924 | choke me
|
---|
| 6925 | #endif
|
---|
| 6926 |
|
---|
| 6927 | int
|
---|
| 6928 | main ()
|
---|
| 6929 | {
|
---|
[25215] | 6930 | return textdomain ();
|
---|
[16589] | 6931 | ;
|
---|
| 6932 | return 0;
|
---|
| 6933 | }
|
---|
| 6934 | _ACEOF
|
---|
| 6935 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[25215] | 6936 | if { (ac_try="$ac_link"
|
---|
| 6937 | case "(($ac_try" in
|
---|
| 6938 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 6939 | *) ac_try_echo=$ac_try;;
|
---|
| 6940 | esac
|
---|
[28328] | 6941 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 6942 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 6943 | ac_status=$?
|
---|
| 6944 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 6945 | rm -f conftest.er1
|
---|
| 6946 | cat conftest.err >&5
|
---|
[28328] | 6947 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 6948 | (exit $ac_status); } && {
|
---|
| 6949 | test -z "$ac_c_werror_flag" ||
|
---|
| 6950 | test ! -s conftest.err
|
---|
[28328] | 6951 | } && test -s conftest$ac_exeext &&
|
---|
| 6952 | $as_test_x conftest$ac_exeext; then
|
---|
[16589] | 6953 | ac_cv_func_textdomain=yes
|
---|
| 6954 | else
|
---|
[28328] | 6955 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 6956 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 6957 |
|
---|
[25215] | 6958 | ac_cv_func_textdomain=no
|
---|
[16589] | 6959 | fi
|
---|
[25215] | 6960 |
|
---|
| 6961 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16589] | 6962 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 6963 | fi
|
---|
[28328] | 6964 | { echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
|
---|
| 6965 | echo "${ECHO_T}$ac_cv_func_textdomain" >&6; }
|
---|
| 6966 | if test $ac_cv_func_textdomain = yes; then
|
---|
[16589] | 6967 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6968 | #define ENABLE_NLS 1
|
---|
| 6969 | _ACEOF
|
---|
| 6970 |
|
---|
| 6971 | fi
|
---|
| 6972 |
|
---|
| 6973 |
|
---|
| 6974 | # *** Custom checking (based on GNU tar configure.in) ***
|
---|
| 6975 | # ---------------------------------------------------------------------------
|
---|
[28328] | 6976 | { echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
|
---|
| 6977 | echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6; }
|
---|
[16589] | 6978 | if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
|
---|
[28328] | 6979 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 6980 | echo "${ECHO_T}yes" >&6; }
|
---|
[25215] | 6981 | case " $LIBOBJS " in
|
---|
[16589] | 6982 | *" gmalloc.$ac_objext "* ) ;;
|
---|
[25215] | 6983 | *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
|
---|
| 6984 | ;;
|
---|
[16589] | 6985 | esac
|
---|
| 6986 |
|
---|
| 6987 | cat >>confdefs.h <<\_ACEOF
|
---|
| 6988 | #define HAVE_VALLOC 1
|
---|
| 6989 | _ACEOF
|
---|
| 6990 |
|
---|
| 6991 | else
|
---|
[28328] | 6992 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 6993 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 6994 |
|
---|
| 6995 | for ac_func in valloc
|
---|
| 6996 | do
|
---|
[28328] | 6997 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
---|
| 6998 | { echo "$as_me:$LINENO: checking for $ac_func" >&5
|
---|
| 6999 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
---|
[25215] | 7000 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
---|
[28328] | 7001 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 7002 | else
|
---|
| 7003 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7004 | /* confdefs.h. */
|
---|
| 7005 | _ACEOF
|
---|
| 7006 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7007 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7008 | /* end confdefs.h. */
|
---|
| 7009 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
---|
| 7010 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 7011 | #define $ac_func innocuous_$ac_func
|
---|
| 7012 |
|
---|
| 7013 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 7014 | which can conflict with char $ac_func (); below.
|
---|
| 7015 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 7016 | <limits.h> exists even on freestanding compilers. */
|
---|
| 7017 |
|
---|
| 7018 | #ifdef __STDC__
|
---|
| 7019 | # include <limits.h>
|
---|
| 7020 | #else
|
---|
| 7021 | # include <assert.h>
|
---|
| 7022 | #endif
|
---|
| 7023 |
|
---|
| 7024 | #undef $ac_func
|
---|
| 7025 |
|
---|
[25215] | 7026 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 7027 | Use char because int might match the return type of a GCC
|
---|
| 7028 | builtin and then its argument prototype would still apply. */
|
---|
[16589] | 7029 | #ifdef __cplusplus
|
---|
| 7030 | extern "C"
|
---|
| 7031 | #endif
|
---|
| 7032 | char $ac_func ();
|
---|
| 7033 | /* The GNU C library defines this for functions which it implements
|
---|
| 7034 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 7035 | something starting with __ and the normal name is an alias. */
|
---|
[25215] | 7036 | #if defined __stub_$ac_func || defined __stub___$ac_func
|
---|
[16589] | 7037 | choke me
|
---|
| 7038 | #endif
|
---|
| 7039 |
|
---|
| 7040 | int
|
---|
| 7041 | main ()
|
---|
| 7042 | {
|
---|
[25215] | 7043 | return $ac_func ();
|
---|
[16589] | 7044 | ;
|
---|
| 7045 | return 0;
|
---|
| 7046 | }
|
---|
| 7047 | _ACEOF
|
---|
| 7048 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[25215] | 7049 | if { (ac_try="$ac_link"
|
---|
| 7050 | case "(($ac_try" in
|
---|
| 7051 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7052 | *) ac_try_echo=$ac_try;;
|
---|
| 7053 | esac
|
---|
[28328] | 7054 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 7055 | (eval "$ac_link") 2>conftest.er1
|
---|
[16589] | 7056 | ac_status=$?
|
---|
| 7057 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7058 | rm -f conftest.er1
|
---|
| 7059 | cat conftest.err >&5
|
---|
[28328] | 7060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 7061 | (exit $ac_status); } && {
|
---|
| 7062 | test -z "$ac_c_werror_flag" ||
|
---|
| 7063 | test ! -s conftest.err
|
---|
[28328] | 7064 | } && test -s conftest$ac_exeext &&
|
---|
| 7065 | $as_test_x conftest$ac_exeext; then
|
---|
[16589] | 7066 | eval "$as_ac_var=yes"
|
---|
| 7067 | else
|
---|
[28328] | 7068 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 7069 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7070 |
|
---|
[25215] | 7071 | eval "$as_ac_var=no"
|
---|
[16589] | 7072 | fi
|
---|
[25215] | 7073 |
|
---|
| 7074 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16589] | 7075 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 7076 | fi
|
---|
[28328] | 7077 | ac_res=`eval echo '${'$as_ac_var'}'`
|
---|
| 7078 | { echo "$as_me:$LINENO: result: $ac_res" >&5
|
---|
| 7079 | echo "${ECHO_T}$ac_res" >&6; }
|
---|
| 7080 | if test `eval echo '${'$as_ac_var'}'` = yes; then
|
---|
[16589] | 7081 | cat >>confdefs.h <<_ACEOF
|
---|
[28328] | 7082 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
---|
[16589] | 7083 | _ACEOF
|
---|
| 7084 |
|
---|
| 7085 | fi
|
---|
| 7086 | done
|
---|
| 7087 |
|
---|
| 7088 | fi
|
---|
| 7089 |
|
---|
| 7090 | # we cannot generate static libraries under Darwin
|
---|
[28328] | 7091 | { echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
|
---|
| 7092 | echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6; }
|
---|
[16589] | 7093 | if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
|
---|
[28328] | 7094 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 7095 | echo "${ECHO_T}yes" >&6; }
|
---|
[16589] | 7096 | STATIC=""
|
---|
| 7097 | else
|
---|
[28328] | 7098 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 7099 | echo "${ECHO_T}no" >&6; }
|
---|
[16589] | 7100 | STATIC="-static "
|
---|
| 7101 | fi
|
---|
| 7102 |
|
---|
| 7103 |
|
---|
[28328] | 7104 | { echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
|
---|
| 7105 | echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6; }
|
---|
[16589] | 7106 |
|
---|
[25215] | 7107 | # Check whether --with-dmalloc was given.
|
---|
[16598] | 7108 | if test "${with_dmalloc+set}" = set; then
|
---|
[25215] | 7109 | withval=$with_dmalloc; if test "$withval" = yes; then
|
---|
[28328] | 7110 | { echo "$as_me:$LINENO: result: yes" >&5
|
---|
| 7111 | echo "${ECHO_T}yes" >&6; }
|
---|
[16598] | 7112 | cat >>confdefs.h <<\_ACEOF
|
---|
| 7113 | #define WITH_DMALLOC 1
|
---|
| 7114 | _ACEOF
|
---|
| 7115 |
|
---|
| 7116 | LIBS="$LIBS -ldmalloc"
|
---|
| 7117 | LDFLAGS="$LDFLAGS -g"
|
---|
| 7118 | else
|
---|
[28328] | 7119 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 7120 | echo "${ECHO_T}no" >&6; }
|
---|
[16598] | 7121 | fi
|
---|
| 7122 | else
|
---|
[28328] | 7123 | { echo "$as_me:$LINENO: result: no" >&5
|
---|
| 7124 | echo "${ECHO_T}no" >&6; }
|
---|
[25215] | 7125 | fi
|
---|
[16598] | 7126 |
|
---|
| 7127 |
|
---|
[28328] | 7128 | { echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
|
---|
| 7129 | echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6; }
|
---|
[25215] | 7130 |
|
---|
| 7131 | # Check whether --with-regex was given.
|
---|
[16598] | 7132 | if test "${with_regex+set}" = set; then
|
---|
[25215] | 7133 | withval=$with_regex; if test "$withval" = yes; then
|
---|
[16598] | 7134 | ac_with_regex=1
|
---|
[28328] | 7135 | { echo "$as_me:$LINENO: result: regex" >&5
|
---|
| 7136 | echo "${ECHO_T}regex" >&6; }
|
---|
[16598] | 7137 | cat >>confdefs.h <<\_ACEOF
|
---|
| 7138 | #define WITH_REGEX 1
|
---|
| 7139 | _ACEOF
|
---|
| 7140 |
|
---|
[25215] | 7141 | case " $LIBOBJS " in
|
---|
[16598] | 7142 | *" regex.$ac_objext "* ) ;;
|
---|
[25215] | 7143 | *) LIBOBJS="$LIBOBJS regex.$ac_objext"
|
---|
| 7144 | ;;
|
---|
[16598] | 7145 | esac
|
---|
| 7146 |
|
---|
| 7147 | fi
|
---|
[25215] | 7148 | fi
|
---|
| 7149 |
|
---|
[16598] | 7150 | if test -z "$ac_with_regex"; then
|
---|
[28328] | 7151 | { echo "$as_me:$LINENO: result: rx" >&5
|
---|
| 7152 | echo "${ECHO_T}rx" >&6; }
|
---|
| 7153 | { echo "$as_me:$LINENO: checking for re_rx_search" >&5
|
---|
| 7154 | echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6; }
|
---|
[16598] | 7155 | if test "${ac_cv_func_re_rx_search+set}" = set; then
|
---|
[28328] | 7156 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16598] | 7157 | else
|
---|
| 7158 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7159 | /* confdefs.h. */
|
---|
| 7160 | _ACEOF
|
---|
| 7161 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7162 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7163 | /* end confdefs.h. */
|
---|
| 7164 | /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search.
|
---|
| 7165 | For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
---|
| 7166 | #define re_rx_search innocuous_re_rx_search
|
---|
| 7167 |
|
---|
| 7168 | /* System header to define __stub macros and hopefully few prototypes,
|
---|
| 7169 | which can conflict with char re_rx_search (); below.
|
---|
| 7170 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
---|
| 7171 | <limits.h> exists even on freestanding compilers. */
|
---|
| 7172 |
|
---|
| 7173 | #ifdef __STDC__
|
---|
| 7174 | # include <limits.h>
|
---|
| 7175 | #else
|
---|
| 7176 | # include <assert.h>
|
---|
| 7177 | #endif
|
---|
| 7178 |
|
---|
| 7179 | #undef re_rx_search
|
---|
| 7180 |
|
---|
[25215] | 7181 | /* Override any GCC internal prototype to avoid an error.
|
---|
| 7182 | Use char because int might match the return type of a GCC
|
---|
| 7183 | builtin and then its argument prototype would still apply. */
|
---|
[16598] | 7184 | #ifdef __cplusplus
|
---|
| 7185 | extern "C"
|
---|
| 7186 | #endif
|
---|
| 7187 | char re_rx_search ();
|
---|
| 7188 | /* The GNU C library defines this for functions which it implements
|
---|
| 7189 | to always fail with ENOSYS. Some functions are actually named
|
---|
| 7190 | something starting with __ and the normal name is an alias. */
|
---|
[25215] | 7191 | #if defined __stub_re_rx_search || defined __stub___re_rx_search
|
---|
[16598] | 7192 | choke me
|
---|
| 7193 | #endif
|
---|
| 7194 |
|
---|
| 7195 | int
|
---|
| 7196 | main ()
|
---|
| 7197 | {
|
---|
[25215] | 7198 | return re_rx_search ();
|
---|
[16598] | 7199 | ;
|
---|
| 7200 | return 0;
|
---|
| 7201 | }
|
---|
| 7202 | _ACEOF
|
---|
| 7203 | rm -f conftest.$ac_objext conftest$ac_exeext
|
---|
[25215] | 7204 | if { (ac_try="$ac_link"
|
---|
| 7205 | case "(($ac_try" in
|
---|
| 7206 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7207 | *) ac_try_echo=$ac_try;;
|
---|
| 7208 | esac
|
---|
[28328] | 7209 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 7210 | (eval "$ac_link") 2>conftest.er1
|
---|
[16598] | 7211 | ac_status=$?
|
---|
| 7212 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7213 | rm -f conftest.er1
|
---|
| 7214 | cat conftest.err >&5
|
---|
[28328] | 7215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 7216 | (exit $ac_status); } && {
|
---|
| 7217 | test -z "$ac_c_werror_flag" ||
|
---|
| 7218 | test ! -s conftest.err
|
---|
[28328] | 7219 | } && test -s conftest$ac_exeext &&
|
---|
| 7220 | $as_test_x conftest$ac_exeext; then
|
---|
[16598] | 7221 | ac_cv_func_re_rx_search=yes
|
---|
| 7222 | else
|
---|
[28328] | 7223 | echo "$as_me: failed program was:" >&5
|
---|
[16598] | 7224 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7225 |
|
---|
[25215] | 7226 | ac_cv_func_re_rx_search=no
|
---|
[16598] | 7227 | fi
|
---|
[25215] | 7228 |
|
---|
| 7229 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
---|
[16598] | 7230 | conftest$ac_exeext conftest.$ac_ext
|
---|
| 7231 | fi
|
---|
[28328] | 7232 | { echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
|
---|
| 7233 | echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6; }
|
---|
| 7234 | if test $ac_cv_func_re_rx_search = yes; then
|
---|
[16598] | 7235 | :
|
---|
| 7236 | else
|
---|
[25215] | 7237 | case " $LIBOBJS " in
|
---|
[16598] | 7238 | *" rx.$ac_objext "* ) ;;
|
---|
[25215] | 7239 | *) LIBOBJS="$LIBOBJS rx.$ac_objext"
|
---|
| 7240 | ;;
|
---|
[16598] | 7241 | esac
|
---|
| 7242 |
|
---|
| 7243 | fi
|
---|
| 7244 |
|
---|
| 7245 | fi
|
---|
| 7246 |
|
---|
| 7247 |
|
---|
[16589] | 7248 | # ---------------------------------------------------------------------------
|
---|
| 7249 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[25215] | 7250 | case " $LIBOBJS " in
|
---|
[16589] | 7251 | *" xmalloc.$ac_objext "* ) ;;
|
---|
[25215] | 7252 | *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
|
---|
| 7253 | ;;
|
---|
[16589] | 7254 | esac
|
---|
| 7255 |
|
---|
[25215] | 7256 | case " $LIBOBJS " in
|
---|
[16589] | 7257 | *" error.$ac_objext "* ) ;;
|
---|
[25215] | 7258 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 7259 | ;;
|
---|
[16589] | 7260 | esac
|
---|
| 7261 |
|
---|
| 7262 | fi
|
---|
| 7263 |
|
---|
| 7264 |
|
---|
| 7265 | # ---------------------------------------------------------------------------
|
---|
| 7266 |
|
---|
[25215] | 7267 | ac_ext=cpp
|
---|
[16589] | 7268 | ac_cpp='$CXXCPP $CPPFLAGS'
|
---|
| 7269 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
---|
| 7270 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
---|
| 7271 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
---|
| 7272 |
|
---|
| 7273 |
|
---|
[28328] | 7274 | { echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
|
---|
| 7275 | echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6; }
|
---|
[21376] | 7276 | success="no"
|
---|
| 7277 | pl_path="$PATH"
|
---|
| 7278 | IFS="${IFS= }"; pl_save_ifs="$IFS"; IFS=":"
|
---|
| 7279 | for pl_dir in $pl_path; do
|
---|
| 7280 | test -z "$pl_dir" && pl_dir=.
|
---|
| 7281 | if test -x $pl_dir/perl; then
|
---|
| 7282 | success="yes"
|
---|
| 7283 | break
|
---|
| 7284 | fi
|
---|
| 7285 | done
|
---|
| 7286 | IFS="$pl_save_ifs"
|
---|
| 7287 |
|
---|
| 7288 | if test $success = "yes"; then
|
---|
| 7289 | try=`perl configtest.pl` || try="0"
|
---|
| 7290 | try=`expr $try \> 5.000`
|
---|
| 7291 | if test $try = "1"; then
|
---|
[28328] | 7292 | { echo "$as_me:$LINENO: result: \"yes\"" >&5
|
---|
| 7293 | echo "${ECHO_T}\"yes\"" >&6; }
|
---|
[21376] | 7294 | else
|
---|
| 7295 | success="no"
|
---|
| 7296 | fi
|
---|
| 7297 | fi
|
---|
| 7298 |
|
---|
| 7299 | if test $success = "no"; then
|
---|
[28328] | 7300 | { echo "$as_me:$LINENO: result: \"no\"" >&5
|
---|
| 7301 | echo "${ECHO_T}\"no\"" >&6; }
|
---|
| 7302 | { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5
|
---|
| 7303 | echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}
|
---|
[21376] | 7304 | { (exit 1); exit 1; }; }
|
---|
| 7305 | fi
|
---|
| 7306 |
|
---|
[16589] | 7307 | success=no
|
---|
[28328] | 7308 | { echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
|
---|
| 7309 | echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6; }
|
---|
[16589] | 7310 |
|
---|
[19840] | 7311 |
|
---|
[16589] | 7312 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7313 | /* confdefs.h. */
|
---|
| 7314 | _ACEOF
|
---|
| 7315 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7316 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7317 | /* end confdefs.h. */
|
---|
| 7318 | #include <vector>
|
---|
| 7319 |
|
---|
| 7320 | int
|
---|
| 7321 | main ()
|
---|
| 7322 | {
|
---|
| 7323 |
|
---|
| 7324 | ;
|
---|
| 7325 | return 0;
|
---|
| 7326 | }
|
---|
| 7327 | _ACEOF
|
---|
| 7328 | rm -f conftest.$ac_objext
|
---|
[25215] | 7329 | if { (ac_try="$ac_compile"
|
---|
| 7330 | case "(($ac_try" in
|
---|
| 7331 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7332 | *) ac_try_echo=$ac_try;;
|
---|
| 7333 | esac
|
---|
[28328] | 7334 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 7335 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 7336 | ac_status=$?
|
---|
| 7337 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7338 | rm -f conftest.er1
|
---|
| 7339 | cat conftest.err >&5
|
---|
[28328] | 7340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 7341 | (exit $ac_status); } && {
|
---|
| 7342 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 7343 | test ! -s conftest.err
|
---|
| 7344 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 7345 | success=yes
|
---|
| 7346 | else
|
---|
[28328] | 7347 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 7348 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7349 |
|
---|
[25215] | 7350 |
|
---|
[16589] | 7351 | fi
|
---|
| 7352 |
|
---|
[25215] | 7353 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 7354 |
|
---|
[16589] | 7355 | if test $success = "no"; then
|
---|
| 7356 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7357 | /* confdefs.h. */
|
---|
| 7358 | _ACEOF
|
---|
| 7359 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7360 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7361 | /* end confdefs.h. */
|
---|
| 7362 | #include <vector.h>
|
---|
| 7363 |
|
---|
| 7364 | int
|
---|
| 7365 | main ()
|
---|
| 7366 | {
|
---|
| 7367 |
|
---|
| 7368 | ;
|
---|
| 7369 | return 0;
|
---|
| 7370 | }
|
---|
| 7371 | _ACEOF
|
---|
| 7372 | rm -f conftest.$ac_objext
|
---|
[25215] | 7373 | if { (ac_try="$ac_compile"
|
---|
| 7374 | case "(($ac_try" in
|
---|
| 7375 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7376 | *) ac_try_echo=$ac_try;;
|
---|
| 7377 | esac
|
---|
[28328] | 7378 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 7379 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 7380 | ac_status=$?
|
---|
| 7381 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7382 | rm -f conftest.er1
|
---|
| 7383 | cat conftest.err >&5
|
---|
[28328] | 7384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 7385 | (exit $ac_status); } && {
|
---|
| 7386 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 7387 | test ! -s conftest.err
|
---|
| 7388 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 7389 | success="yes"
|
---|
| 7390 | else
|
---|
[28328] | 7391 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 7392 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7393 |
|
---|
[25215] | 7394 |
|
---|
[16589] | 7395 | fi
|
---|
[25215] | 7396 |
|
---|
| 7397 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 7398 | fi
|
---|
| 7399 |
|
---|
| 7400 | if test $success = "no"; then
|
---|
| 7401 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7402 | /* confdefs.h. */
|
---|
| 7403 | _ACEOF
|
---|
| 7404 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7405 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7406 | /* end confdefs.h. */
|
---|
| 7407 | #include <ospace\\std\\vector>
|
---|
| 7408 |
|
---|
| 7409 | int
|
---|
| 7410 | main ()
|
---|
| 7411 | {
|
---|
| 7412 |
|
---|
| 7413 | ;
|
---|
| 7414 | return 0;
|
---|
| 7415 | }
|
---|
| 7416 | _ACEOF
|
---|
| 7417 | rm -f conftest.$ac_objext
|
---|
[25215] | 7418 | if { (ac_try="$ac_compile"
|
---|
| 7419 | case "(($ac_try" in
|
---|
| 7420 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7421 | *) ac_try_echo=$ac_try;;
|
---|
| 7422 | esac
|
---|
[28328] | 7423 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 7424 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 7425 | ac_status=$?
|
---|
| 7426 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7427 | rm -f conftest.er1
|
---|
| 7428 | cat conftest.err >&5
|
---|
[28328] | 7429 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 7430 | (exit $ac_status); } && {
|
---|
| 7431 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 7432 | test ! -s conftest.err
|
---|
| 7433 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 7434 | success="yes"
|
---|
| 7435 | else
|
---|
[28328] | 7436 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 7437 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7438 |
|
---|
[25215] | 7439 |
|
---|
[16589] | 7440 | fi
|
---|
[25215] | 7441 |
|
---|
| 7442 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 7443 | fi
|
---|
| 7444 |
|
---|
| 7445 | if test $success = yes; then
|
---|
[28328] | 7446 | { echo "$as_me:$LINENO: result: \"no\"" >&5
|
---|
| 7447 | echo "${ECHO_T}\"no\"" >&6; }
|
---|
[16589] | 7448 | else
|
---|
[28328] | 7449 | { echo "$as_me:$LINENO: result: \"yes\"" >&5
|
---|
| 7450 | echo "${ECHO_T}\"yes\"" >&6; }
|
---|
| 7451 | { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
|
---|
| 7452 | echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
|
---|
[16589] | 7453 | { (exit 1); exit 1; }; }
|
---|
| 7454 | fi
|
---|
| 7455 |
|
---|
| 7456 | gsdlos=`uname | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
|
---|
| 7457 | # check for running bash under cygwin
|
---|
| 7458 | if test "`echo $gsdlos | sed 's/cygwin//'`" != "$gsdlos" ;
|
---|
| 7459 | then
|
---|
| 7460 | gsdlos=windows
|
---|
| 7461 | fi
|
---|
| 7462 |
|
---|
| 7463 |
|
---|
| 7464 | # check for endianness
|
---|
[28328] | 7465 | { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
|
---|
| 7466 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
|
---|
[16589] | 7467 | if test "${ac_cv_c_bigendian+set}" = set; then
|
---|
[28328] | 7468 | echo $ECHO_N "(cached) $ECHO_C" >&6
|
---|
[16589] | 7469 | else
|
---|
[28328] | 7470 | # See if sys/param.h defines the BYTE_ORDER macro.
|
---|
| 7471 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[16589] | 7472 | /* confdefs.h. */
|
---|
| 7473 | _ACEOF
|
---|
| 7474 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7475 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7476 | /* end confdefs.h. */
|
---|
| 7477 | #include <sys/types.h>
|
---|
[28328] | 7478 | #include <sys/param.h>
|
---|
[16589] | 7479 |
|
---|
| 7480 | int
|
---|
| 7481 | main ()
|
---|
| 7482 | {
|
---|
[28328] | 7483 | #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
|
---|
| 7484 | && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
|
---|
| 7485 | bogus endian macros
|
---|
| 7486 | #endif
|
---|
[16589] | 7487 |
|
---|
| 7488 | ;
|
---|
| 7489 | return 0;
|
---|
| 7490 | }
|
---|
| 7491 | _ACEOF
|
---|
| 7492 | rm -f conftest.$ac_objext
|
---|
[25215] | 7493 | if { (ac_try="$ac_compile"
|
---|
| 7494 | case "(($ac_try" in
|
---|
| 7495 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7496 | *) ac_try_echo=$ac_try;;
|
---|
| 7497 | esac
|
---|
[28328] | 7498 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 7499 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 7500 | ac_status=$?
|
---|
| 7501 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7502 | rm -f conftest.er1
|
---|
| 7503 | cat conftest.err >&5
|
---|
[28328] | 7504 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 7505 | (exit $ac_status); } && {
|
---|
| 7506 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 7507 | test ! -s conftest.err
|
---|
| 7508 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 7509 | # It does; now see whether it defined to BIG_ENDIAN or not.
|
---|
[28328] | 7510 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[16589] | 7511 | /* confdefs.h. */
|
---|
| 7512 | _ACEOF
|
---|
| 7513 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7514 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7515 | /* end confdefs.h. */
|
---|
| 7516 | #include <sys/types.h>
|
---|
[28328] | 7517 | #include <sys/param.h>
|
---|
[16589] | 7518 |
|
---|
| 7519 | int
|
---|
| 7520 | main ()
|
---|
| 7521 | {
|
---|
| 7522 | #if BYTE_ORDER != BIG_ENDIAN
|
---|
[28328] | 7523 | not big endian
|
---|
| 7524 | #endif
|
---|
[16589] | 7525 |
|
---|
| 7526 | ;
|
---|
| 7527 | return 0;
|
---|
| 7528 | }
|
---|
| 7529 | _ACEOF
|
---|
| 7530 | rm -f conftest.$ac_objext
|
---|
[25215] | 7531 | if { (ac_try="$ac_compile"
|
---|
| 7532 | case "(($ac_try" in
|
---|
| 7533 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7534 | *) ac_try_echo=$ac_try;;
|
---|
| 7535 | esac
|
---|
[28328] | 7536 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 7537 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 7538 | ac_status=$?
|
---|
| 7539 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7540 | rm -f conftest.er1
|
---|
| 7541 | cat conftest.err >&5
|
---|
[28328] | 7542 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 7543 | (exit $ac_status); } && {
|
---|
| 7544 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 7545 | test ! -s conftest.err
|
---|
| 7546 | } && test -s conftest.$ac_objext; then
|
---|
[16589] | 7547 | ac_cv_c_bigendian=yes
|
---|
| 7548 | else
|
---|
[28328] | 7549 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 7550 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7551 |
|
---|
[25215] | 7552 | ac_cv_c_bigendian=no
|
---|
[16589] | 7553 | fi
|
---|
[25215] | 7554 |
|
---|
| 7555 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 7556 | else
|
---|
[28328] | 7557 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 7558 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7559 |
|
---|
[28328] | 7560 | # It does not; compile a test program.
|
---|
| 7561 | if test "$cross_compiling" = yes; then
|
---|
| 7562 | # try to guess the endianness by grepping values into an object file
|
---|
| 7563 | ac_cv_c_bigendian=unknown
|
---|
| 7564 | cat >conftest.$ac_ext <<_ACEOF
|
---|
[16589] | 7565 | /* confdefs.h. */
|
---|
| 7566 | _ACEOF
|
---|
| 7567 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7568 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7569 | /* end confdefs.h. */
|
---|
[28328] | 7570 | short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
---|
| 7571 | short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
---|
| 7572 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
|
---|
| 7573 | short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
---|
| 7574 | short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
---|
| 7575 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
|
---|
[16589] | 7576 | int
|
---|
| 7577 | main ()
|
---|
| 7578 | {
|
---|
[28328] | 7579 | _ascii (); _ebcdic ();
|
---|
[16589] | 7580 | ;
|
---|
| 7581 | return 0;
|
---|
| 7582 | }
|
---|
| 7583 | _ACEOF
|
---|
| 7584 | rm -f conftest.$ac_objext
|
---|
[25215] | 7585 | if { (ac_try="$ac_compile"
|
---|
| 7586 | case "(($ac_try" in
|
---|
| 7587 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7588 | *) ac_try_echo=$ac_try;;
|
---|
| 7589 | esac
|
---|
[28328] | 7590 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 7591 | (eval "$ac_compile") 2>conftest.er1
|
---|
[16589] | 7592 | ac_status=$?
|
---|
| 7593 | grep -v '^ *+' conftest.er1 >conftest.err
|
---|
| 7594 | rm -f conftest.er1
|
---|
| 7595 | cat conftest.err >&5
|
---|
[28328] | 7596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[25215] | 7597 | (exit $ac_status); } && {
|
---|
| 7598 | test -z "$ac_cxx_werror_flag" ||
|
---|
| 7599 | test ! -s conftest.err
|
---|
| 7600 | } && test -s conftest.$ac_objext; then
|
---|
[28328] | 7601 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
|
---|
[16589] | 7602 | ac_cv_c_bigendian=yes
|
---|
| 7603 | fi
|
---|
[28328] | 7604 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
---|
| 7605 | if test "$ac_cv_c_bigendian" = unknown; then
|
---|
| 7606 | ac_cv_c_bigendian=no
|
---|
| 7607 | else
|
---|
| 7608 | # finding both strings is unlikely to happen, but who knows?
|
---|
| 7609 | ac_cv_c_bigendian=unknown
|
---|
| 7610 | fi
|
---|
[16589] | 7611 | fi
|
---|
| 7612 | else
|
---|
[28328] | 7613 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 7614 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7615 |
|
---|
[25215] | 7616 |
|
---|
[16589] | 7617 | fi
|
---|
[25215] | 7618 |
|
---|
| 7619 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 7620 | else
|
---|
| 7621 | cat >conftest.$ac_ext <<_ACEOF
|
---|
| 7622 | /* confdefs.h. */
|
---|
| 7623 | _ACEOF
|
---|
| 7624 | cat confdefs.h >>conftest.$ac_ext
|
---|
| 7625 | cat >>conftest.$ac_ext <<_ACEOF
|
---|
| 7626 | /* end confdefs.h. */
|
---|
[25215] | 7627 | $ac_includes_default
|
---|
[16589] | 7628 | int
|
---|
| 7629 | main ()
|
---|
| 7630 | {
|
---|
[25215] | 7631 |
|
---|
[28328] | 7632 | /* Are we little or big endian? From Harbison&Steele. */
|
---|
| 7633 | union
|
---|
| 7634 | {
|
---|
| 7635 | long int l;
|
---|
| 7636 | char c[sizeof (long int)];
|
---|
| 7637 | } u;
|
---|
| 7638 | u.l = 1;
|
---|
| 7639 | return u.c[sizeof (long int) - 1] == 1;
|
---|
[25215] | 7640 |
|
---|
| 7641 | ;
|
---|
| 7642 | return 0;
|
---|
[16589] | 7643 | }
|
---|
| 7644 | _ACEOF
|
---|
| 7645 | rm -f conftest$ac_exeext
|
---|
[25215] | 7646 | if { (ac_try="$ac_link"
|
---|
| 7647 | case "(($ac_try" in
|
---|
| 7648 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7649 | *) ac_try_echo=$ac_try;;
|
---|
| 7650 | esac
|
---|
[28328] | 7651 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 7652 | (eval "$ac_link") 2>&5
|
---|
[16589] | 7653 | ac_status=$?
|
---|
[28328] | 7654 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 7655 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
---|
[25215] | 7656 | { (case "(($ac_try" in
|
---|
| 7657 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
---|
| 7658 | *) ac_try_echo=$ac_try;;
|
---|
| 7659 | esac
|
---|
[28328] | 7660 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
---|
[25215] | 7661 | (eval "$ac_try") 2>&5
|
---|
[16589] | 7662 | ac_status=$?
|
---|
[28328] | 7663 | echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
---|
[16589] | 7664 | (exit $ac_status); }; }; then
|
---|
| 7665 | ac_cv_c_bigendian=no
|
---|
| 7666 | else
|
---|
[28328] | 7667 | echo "$as_me: program exited with status $ac_status" >&5
|
---|
| 7668 | echo "$as_me: failed program was:" >&5
|
---|
[16589] | 7669 | sed 's/^/| /' conftest.$ac_ext >&5
|
---|
| 7670 |
|
---|
| 7671 | ( exit $ac_status )
|
---|
| 7672 | ac_cv_c_bigendian=yes
|
---|
| 7673 | fi
|
---|
[25215] | 7674 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
---|
[16589] | 7675 | fi
|
---|
[25215] | 7676 |
|
---|
| 7677 |
|
---|
[16589] | 7678 | fi
|
---|
| 7679 |
|
---|
[28328] | 7680 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
---|
| 7681 | fi
|
---|
| 7682 | { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
|
---|
| 7683 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
|
---|
| 7684 | case $ac_cv_c_bigendian in
|
---|
| 7685 | yes)
|
---|
| 7686 |
|
---|
[16589] | 7687 | cat >>confdefs.h <<\_ACEOF
|
---|
[28328] | 7688 | #define WORDS_BIGENDIAN 1
|
---|
[16589] | 7689 | _ACEOF
|
---|
[28328] | 7690 | ;;
|
---|
| 7691 | no)
|
---|
| 7692 | ;;
|
---|
| 7693 | *)
|
---|
| 7694 | { { echo "$as_me:$LINENO: error: unknown endianness
|
---|
| 7695 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5
|
---|
| 7696 | echo "$as_me: error: unknown endianness
|
---|
| 7697 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
|
---|
[16589] | 7698 | { (exit 1); exit 1; }; } ;;
|
---|
[28328] | 7699 | esac
|
---|
[16589] | 7700 |
|
---|
| 7701 | # ---------------------------------------------------------------------------
|
---|
| 7702 | if test "$ac_cv_func_alloca" = 'no'; then
|
---|
[25215] | 7703 | case " $LIBOBJS " in
|
---|
[16589] | 7704 | *" xmalloc.o.$ac_objext "* ) ;;
|
---|
[25215] | 7705 | *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
|
---|
| 7706 | ;;
|
---|
[16589] | 7707 | esac
|
---|
| 7708 |
|
---|
[25215] | 7709 | case " $LIBOBJS " in
|
---|
[16589] | 7710 | *" error.$ac_objext "* ) ;;
|
---|
[25215] | 7711 | *) LIBOBJS="$LIBOBJS error.$ac_objext"
|
---|
| 7712 | ;;
|
---|
[16589] | 7713 | esac
|
---|
| 7714 |
|
---|
| 7715 | fi
|
---|
| 7716 |
|
---|
| 7717 | # ---------------------------------------------------------------------------
|
---|
| 7718 |
|
---|
| 7719 | moduleDirs=""
|
---|
| 7720 | MODULEDIRS=""
|
---|
[16598] | 7721 | if test -d modules ; then
|
---|
[16589] | 7722 | for x in `find modules -mindepth 1 -maxdepth 2`; do
|
---|
| 7723 | if test -d "$x"; then
|
---|
| 7724 | d="$x/Makefile.in"
|
---|
| 7725 | if test -e "$d"; then
|
---|
| 7726 | moduleDirs="$moduleDirs $x/Makefile"
|
---|
| 7727 | MODULEDIRS="$MODULEDIRS $x"
|
---|
| 7728 | fi
|
---|
| 7729 | fi
|
---|
| 7730 | done
|
---|
| 7731 | echo "Making $moduleDirs in modules directory"
|
---|
| 7732 |
|
---|
| 7733 | fi
|
---|
| 7734 |
|
---|
[28310] | 7735 | #----------------------------------------------------------------------------
|
---|
| 7736 | # GS2 uses this configure to set up gnome-lib env, GS3 uses the one in gs2build/build-src
|
---|
| 7737 | # For gnome-lib-minimal need to source its ./devel.bash before wvware can even be configured
|
---|
| 7738 | # For a gnome-lib that's already compiled, don't need to its source ./devel.bash to configure wvware
|
---|
| 7739 | # If a gnome-lib is not yet compiled, we compile it first with CASCADE-MAKE.sh
|
---|
[16589] | 7740 |
|
---|
[28310] | 7741 | if test -d ext/gnome-lib-minimal; then
|
---|
| 7742 | echo "*** gnome-lib (minimal) detected. Sourcing the gnomelib env for configuring wvware..."
|
---|
| 7743 | cd ext/gnome-lib-minimal
|
---|
| 7744 | source ./devel.bash
|
---|
| 7745 | cd ../..
|
---|
| 7746 | elif test -d ext/gnome-lib; then
|
---|
[28328] | 7747 | if test -d ext/gnome-lib/$gsdlos; then
|
---|
[28310] | 7748 | echo "*** gnome-lib already compiled up in ext/gnome-lib/$gsdlos"
|
---|
| 7749 | echo "*** Sourcing the gnomelib env for configuring wvware for GS2 (although it's not necessary)..."
|
---|
| 7750 | cd ext/gnome-lib
|
---|
| 7751 | source ./devel.bash
|
---|
| 7752 | cd ../..
|
---|
| 7753 | else
|
---|
| 7754 | echo "*** Compiling up gnome-lib..."
|
---|
| 7755 | cd ext/gnome-lib
|
---|
| 7756 | ./CASCADE-MAKE.sh
|
---|
| 7757 | gnomestatus=$?
|
---|
[28328] | 7758 | if test $gnomestatus != 0; then
|
---|
[28310] | 7759 | echo "****************************************"
|
---|
| 7760 | echo "@@@ Failed to compile up gnomelib successfully"
|
---|
| 7761 | echo "****************************************"
|
---|
| 7762 | exit -1
|
---|
| 7763 | fi
|
---|
| 7764 | cd ../..
|
---|
| 7765 | fi
|
---|
| 7766 | fi
|
---|
| 7767 |
|
---|
[16589] | 7768 | # ---------------------------------------------------------------------------
|
---|
| 7769 |
|
---|
| 7770 | # indexers needs a bindir option to get the binaries into the right place
|
---|
| 7771 | gsdlprefix=`pwd`
|
---|
[21376] | 7772 | ac_configure_args="$ac_configure_args --bindir=$gsdlprefix/bin/$gsdlos --libdir=$gsdlprefix/lib/$gsdlos"
|
---|
| 7773 | subdirs="$subdirs common-src"
|
---|
[16589] | 7774 |
|
---|
[21376] | 7775 | subdirs="$subdirs build-src"
|
---|
| 7776 |
|
---|
| 7777 |
|
---|
[16589] | 7778 | # the list of folders in the src folder
|
---|
| 7779 | srclist="common-src/Makefile \
|
---|
| 7780 | build-src/Makefile"
|
---|
| 7781 |
|
---|
[21376] | 7782 | if test -d runtime-src; then
|
---|
[25215] | 7783 | subdirs="$subdirs runtime-src"
|
---|
[21376] | 7784 |
|
---|
| 7785 | srclist="$srclist \
|
---|
| 7786 | runtime-src/Makefile"
|
---|
| 7787 | fi
|
---|
| 7788 |
|
---|
[25215] | 7789 | ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
|
---|
| 7790 |
|
---|
[16589] | 7791 | cat >confcache <<\_ACEOF
|
---|
| 7792 | # This file is a shell script that caches the results of configure
|
---|
| 7793 | # tests run on this system so they can be shared between configure
|
---|
| 7794 | # scripts and configure runs, see configure's option --config-cache.
|
---|
| 7795 | # It is not useful on other systems. If it contains results you don't
|
---|
| 7796 | # want to keep, you may remove or edit it.
|
---|
| 7797 | #
|
---|
| 7798 | # config.status only pays attention to the cache file if you give it
|
---|
| 7799 | # the --recheck option to rerun configure.
|
---|
| 7800 | #
|
---|
| 7801 | # `ac_cv_env_foo' variables (set or unset) will be overridden when
|
---|
| 7802 | # loading this file, other *unset* `ac_cv_foo' will be assigned the
|
---|
| 7803 | # following values.
|
---|
| 7804 |
|
---|
| 7805 | _ACEOF
|
---|
| 7806 |
|
---|
| 7807 | # The following way of writing the cache mishandles newlines in values,
|
---|
| 7808 | # but we know of no workaround that is simple, portable, and efficient.
|
---|
[25215] | 7809 | # So, we kill variables containing newlines.
|
---|
[16589] | 7810 | # Ultrix sh set writes to stderr and can't be redirected directly,
|
---|
| 7811 | # and sets the high bit in the cache file unless we assign to the vars.
|
---|
[25215] | 7812 | (
|
---|
| 7813 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
---|
| 7814 | eval ac_val=\$$ac_var
|
---|
| 7815 | case $ac_val in #(
|
---|
| 7816 | *${as_nl}*)
|
---|
| 7817 | case $ac_var in #(
|
---|
[28328] | 7818 | *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
---|
| 7819 | echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
---|
[25215] | 7820 | esac
|
---|
| 7821 | case $ac_var in #(
|
---|
| 7822 | _ | IFS | as_nl) ;; #(
|
---|
| 7823 | *) $as_unset $ac_var ;;
|
---|
| 7824 | esac ;;
|
---|
| 7825 | esac
|
---|
| 7826 | done
|
---|
| 7827 |
|
---|
[16589] | 7828 | (set) 2>&1 |
|
---|
[25215] | 7829 | case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
---|
| 7830 | *${as_nl}ac_space=\ *)
|
---|
[16589] | 7831 | # `set' does not quote correctly, so add quotes (double-quote
|
---|
| 7832 | # substitution turns \\\\ into \\, and sed turns \\ into \).
|
---|
| 7833 | sed -n \
|
---|
| 7834 | "s/'/'\\\\''/g;
|
---|
| 7835 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
---|
[25215] | 7836 | ;; #(
|
---|
[16589] | 7837 | *)
|
---|
| 7838 | # `set' quotes correctly as required by POSIX, so do not add quotes.
|
---|
[25215] | 7839 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
---|
[16589] | 7840 | ;;
|
---|
[25215] | 7841 | esac |
|
---|
| 7842 | sort
|
---|
| 7843 | ) |
|
---|
[16589] | 7844 | sed '
|
---|
[25215] | 7845 | /^ac_cv_env_/b end
|
---|
[16589] | 7846 | t clear
|
---|
[25215] | 7847 | :clear
|
---|
[16589] | 7848 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
---|
| 7849 | t end
|
---|
[25215] | 7850 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
---|
| 7851 | :end' >>confcache
|
---|
| 7852 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
---|
| 7853 | if test -w "$cache_file"; then
|
---|
| 7854 | test "x$cache_file" != "x/dev/null" &&
|
---|
[28328] | 7855 | { echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
---|
| 7856 | echo "$as_me: updating cache $cache_file" >&6;}
|
---|
[16589] | 7857 | cat confcache >$cache_file
|
---|
| 7858 | else
|
---|
[28328] | 7859 | { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
---|
| 7860 | echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
---|
[16589] | 7861 | fi
|
---|
| 7862 | fi
|
---|
| 7863 | rm -f confcache
|
---|
| 7864 |
|
---|
| 7865 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
---|
| 7866 | # Let make expand exec_prefix.
|
---|
| 7867 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
---|
| 7868 |
|
---|
| 7869 | DEFS=-DHAVE_CONFIG_H
|
---|
| 7870 |
|
---|
| 7871 | ac_libobjs=
|
---|
| 7872 | ac_ltlibobjs=
|
---|
| 7873 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
---|
| 7874 | # 1. Remove the extension, and $U if already installed.
|
---|
[25215] | 7875 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
---|
[28328] | 7876 | ac_i=`echo "$ac_i" | sed "$ac_script"`
|
---|
[25215] | 7877 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
---|
| 7878 | # will be set to the directory where LIBOBJS objects are built.
|
---|
| 7879 | ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
---|
| 7880 | ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
---|
[16589] | 7881 | done
|
---|
| 7882 | LIBOBJS=$ac_libobjs
|
---|
| 7883 |
|
---|
| 7884 | LTLIBOBJS=$ac_ltlibobjs
|
---|
| 7885 |
|
---|
| 7886 |
|
---|
| 7887 |
|
---|
| 7888 | : ${CONFIG_STATUS=./config.status}
|
---|
| 7889 | ac_clean_files_save=$ac_clean_files
|
---|
| 7890 | ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
---|
[28328] | 7891 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
---|
| 7892 | echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
---|
| 7893 | cat >$CONFIG_STATUS <<_ACEOF
|
---|
[16589] | 7894 | #! $SHELL
|
---|
| 7895 | # Generated by $as_me.
|
---|
| 7896 | # Run this file to recreate the current configuration.
|
---|
| 7897 | # Compiler output produced by configure, useful for debugging
|
---|
| 7898 | # configure, is in config.log if it exists.
|
---|
| 7899 |
|
---|
| 7900 | debug=false
|
---|
| 7901 | ac_cs_recheck=false
|
---|
| 7902 | ac_cs_silent=false
|
---|
| 7903 | SHELL=\${CONFIG_SHELL-$SHELL}
|
---|
| 7904 | _ACEOF
|
---|
| 7905 |
|
---|
[28328] | 7906 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[16589] | 7907 | ## --------------------- ##
|
---|
| 7908 | ## M4sh Initialization. ##
|
---|
| 7909 | ## --------------------- ##
|
---|
| 7910 |
|
---|
[25215] | 7911 | # Be more Bourne compatible
|
---|
| 7912 | DUALCASE=1; export DUALCASE # for MKS sh
|
---|
[16589] | 7913 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
---|
| 7914 | emulate sh
|
---|
| 7915 | NULLCMD=:
|
---|
[28328] | 7916 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
---|
[16589] | 7917 | # is contrary to our usage. Disable this feature.
|
---|
| 7918 | alias -g '${1+"$@"}'='"$@"'
|
---|
[25215] | 7919 | setopt NO_GLOB_SUBST
|
---|
| 7920 | else
|
---|
| 7921 | case `(set -o) 2>/dev/null` in
|
---|
| 7922 | *posix*) set -o posix ;;
|
---|
| 7923 | esac
|
---|
| 7924 |
|
---|
[16589] | 7925 | fi
|
---|
| 7926 |
|
---|
[25215] | 7927 |
|
---|
| 7928 |
|
---|
| 7929 |
|
---|
| 7930 | # PATH needs CR
|
---|
| 7931 | # Avoid depending upon Character Ranges.
|
---|
| 7932 | as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
---|
| 7933 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
---|
| 7934 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
---|
| 7935 | as_cr_digits='0123456789'
|
---|
| 7936 | as_cr_alnum=$as_cr_Letters$as_cr_digits
|
---|
| 7937 |
|
---|
[28328] | 7938 | # The user is always right.
|
---|
| 7939 | if test "${PATH_SEPARATOR+set}" != set; then
|
---|
| 7940 | echo "#! /bin/sh" >conf$$.sh
|
---|
| 7941 | echo "exit 0" >>conf$$.sh
|
---|
| 7942 | chmod +x conf$$.sh
|
---|
| 7943 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
---|
| 7944 | PATH_SEPARATOR=';'
|
---|
[25215] | 7945 | else
|
---|
[28328] | 7946 | PATH_SEPARATOR=:
|
---|
[25215] | 7947 | fi
|
---|
[28328] | 7948 | rm -f conf$$.sh
|
---|
[25215] | 7949 | fi
|
---|
| 7950 |
|
---|
[16589] | 7951 | # Support unset when possible.
|
---|
| 7952 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
---|
| 7953 | as_unset=unset
|
---|
| 7954 | else
|
---|
| 7955 | as_unset=false
|
---|
| 7956 | fi
|
---|
| 7957 |
|
---|
| 7958 |
|
---|
[25215] | 7959 | # IFS
|
---|
| 7960 | # We need space, tab and new line, in precisely that order. Quoting is
|
---|
| 7961 | # there to prevent editors from complaining about space-tab.
|
---|
| 7962 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
---|
| 7963 | # splitting by setting IFS to empty value.)
|
---|
[28328] | 7964 | as_nl='
|
---|
| 7965 | '
|
---|
[25215] | 7966 | IFS=" "" $as_nl"
|
---|
| 7967 |
|
---|
| 7968 | # Find who we are. Look in the path if we contain no directory separator.
|
---|
| 7969 | case $0 in
|
---|
| 7970 | *[\\/]* ) as_myself=$0 ;;
|
---|
| 7971 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
---|
| 7972 | for as_dir in $PATH
|
---|
| 7973 | do
|
---|
| 7974 | IFS=$as_save_IFS
|
---|
| 7975 | test -z "$as_dir" && as_dir=.
|
---|
| 7976 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
---|
| 7977 | done
|
---|
| 7978 | IFS=$as_save_IFS
|
---|
| 7979 |
|
---|
| 7980 | ;;
|
---|
| 7981 | esac
|
---|
| 7982 | # We did not find ourselves, most probably we were run as `sh COMMAND'
|
---|
| 7983 | # in which case we are not to be found in the path.
|
---|
| 7984 | if test "x$as_myself" = x; then
|
---|
| 7985 | as_myself=$0
|
---|
| 7986 | fi
|
---|
| 7987 | if test ! -f "$as_myself"; then
|
---|
[28328] | 7988 | echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
---|
[25215] | 7989 | { (exit 1); exit 1; }
|
---|
| 7990 | fi
|
---|
| 7991 |
|
---|
[16589] | 7992 | # Work around bugs in pre-3.0 UWIN ksh.
|
---|
[25215] | 7993 | for as_var in ENV MAIL MAILPATH
|
---|
| 7994 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
| 7995 | done
|
---|
[16589] | 7996 | PS1='$ '
|
---|
| 7997 | PS2='> '
|
---|
| 7998 | PS4='+ '
|
---|
| 7999 |
|
---|
| 8000 | # NLS nuisances.
|
---|
[28328] | 8001 | for as_var in \
|
---|
| 8002 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
---|
| 8003 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
---|
| 8004 | LC_TELEPHONE LC_TIME
|
---|
| 8005 | do
|
---|
| 8006 | if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
---|
| 8007 | eval $as_var=C; export $as_var
|
---|
| 8008 | else
|
---|
| 8009 | ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
---|
| 8010 | fi
|
---|
| 8011 | done
|
---|
[16589] | 8012 |
|
---|
| 8013 | # Required to use basename.
|
---|
[25215] | 8014 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 8015 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16589] | 8016 | as_expr=expr
|
---|
| 8017 | else
|
---|
| 8018 | as_expr=false
|
---|
| 8019 | fi
|
---|
| 8020 |
|
---|
[25215] | 8021 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
---|
[16589] | 8022 | as_basename=basename
|
---|
| 8023 | else
|
---|
| 8024 | as_basename=false
|
---|
| 8025 | fi
|
---|
| 8026 |
|
---|
| 8027 |
|
---|
| 8028 | # Name of the executable.
|
---|
[25215] | 8029 | as_me=`$as_basename -- "$0" ||
|
---|
[16589] | 8030 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
---|
| 8031 | X"$0" : 'X\(//\)$' \| \
|
---|
[25215] | 8032 | X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
[28328] | 8033 | echo X/"$0" |
|
---|
[25215] | 8034 | sed '/^.*\/\([^/][^/]*\)\/*$/{
|
---|
| 8035 | s//\1/
|
---|
| 8036 | q
|
---|
| 8037 | }
|
---|
| 8038 | /^X\/\(\/\/\)$/{
|
---|
| 8039 | s//\1/
|
---|
| 8040 | q
|
---|
| 8041 | }
|
---|
| 8042 | /^X\/\(\/\).*/{
|
---|
| 8043 | s//\1/
|
---|
| 8044 | q
|
---|
| 8045 | }
|
---|
| 8046 | s/.*/./; q'`
|
---|
[16589] | 8047 |
|
---|
[25215] | 8048 | # CDPATH.
|
---|
| 8049 | $as_unset CDPATH
|
---|
[16589] | 8050 |
|
---|
| 8051 |
|
---|
| 8052 |
|
---|
| 8053 | as_lineno_1=$LINENO
|
---|
| 8054 | as_lineno_2=$LINENO
|
---|
| 8055 | test "x$as_lineno_1" != "x$as_lineno_2" &&
|
---|
[25215] | 8056 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
---|
[16589] | 8057 |
|
---|
| 8058 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
---|
| 8059 | # uniformly replaced by the line number. The first 'sed' inserts a
|
---|
[25215] | 8060 | # line-number line after each line using $LINENO; the second 'sed'
|
---|
| 8061 | # does the real work. The second script uses 'N' to pair each
|
---|
| 8062 | # line-number line with the line containing $LINENO, and appends
|
---|
| 8063 | # trailing '-' during substitution so that $LINENO is not a special
|
---|
| 8064 | # case at line end.
|
---|
[16589] | 8065 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
---|
[25215] | 8066 | # scripts with optimization help from Paolo Bonzini. Blame Lee
|
---|
| 8067 | # E. McMahon (1931-1989) for sed's syntax. :-)
|
---|
| 8068 | sed -n '
|
---|
| 8069 | p
|
---|
| 8070 | /[$]LINENO/=
|
---|
| 8071 | ' <$as_myself |
|
---|
[16589] | 8072 | sed '
|
---|
[25215] | 8073 | s/[$]LINENO.*/&-/
|
---|
| 8074 | t lineno
|
---|
| 8075 | b
|
---|
| 8076 | :lineno
|
---|
[16589] | 8077 | N
|
---|
[25215] | 8078 | :loop
|
---|
| 8079 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
---|
[16589] | 8080 | t loop
|
---|
[25215] | 8081 | s/-\n.*//
|
---|
[16589] | 8082 | ' >$as_me.lineno &&
|
---|
[25215] | 8083 | chmod +x "$as_me.lineno" ||
|
---|
[28328] | 8084 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
---|
[16589] | 8085 | { (exit 1); exit 1; }; }
|
---|
| 8086 |
|
---|
| 8087 | # Don't try to exec as it changes $[0], causing all sort of problems
|
---|
| 8088 | # (the dirname of $[0] is not the place where we might find the
|
---|
[25215] | 8089 | # original and so on. Autoconf is especially sensitive to this).
|
---|
| 8090 | . "./$as_me.lineno"
|
---|
[16589] | 8091 | # Exit status is that of the last command.
|
---|
| 8092 | exit
|
---|
| 8093 | }
|
---|
| 8094 |
|
---|
| 8095 |
|
---|
[25215] | 8096 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
---|
| 8097 | as_dirname=dirname
|
---|
| 8098 | else
|
---|
| 8099 | as_dirname=false
|
---|
| 8100 | fi
|
---|
| 8101 |
|
---|
| 8102 | ECHO_C= ECHO_N= ECHO_T=
|
---|
| 8103 | case `echo -n x` in
|
---|
| 8104 | -n*)
|
---|
| 8105 | case `echo 'x\c'` in
|
---|
| 8106 | *c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
---|
| 8107 | *) ECHO_C='\c';;
|
---|
| 8108 | esac;;
|
---|
| 8109 | *)
|
---|
| 8110 | ECHO_N='-n';;
|
---|
[16589] | 8111 | esac
|
---|
[28328] | 8112 |
|
---|
[25215] | 8113 | if expr a : '\(a\)' >/dev/null 2>&1 &&
|
---|
| 8114 | test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
---|
[16589] | 8115 | as_expr=expr
|
---|
| 8116 | else
|
---|
| 8117 | as_expr=false
|
---|
| 8118 | fi
|
---|
| 8119 |
|
---|
| 8120 | rm -f conf$$ conf$$.exe conf$$.file
|
---|
[25215] | 8121 | if test -d conf$$.dir; then
|
---|
| 8122 | rm -f conf$$.dir/conf$$.file
|
---|
| 8123 | else
|
---|
| 8124 | rm -f conf$$.dir
|
---|
[28328] | 8125 | mkdir conf$$.dir
|
---|
[25215] | 8126 | fi
|
---|
[28328] | 8127 | echo >conf$$.file
|
---|
| 8128 | if ln -s conf$$.file conf$$ 2>/dev/null; then
|
---|
| 8129 | as_ln_s='ln -s'
|
---|
| 8130 | # ... but there are two gotchas:
|
---|
| 8131 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
---|
| 8132 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
---|
| 8133 | # In both cases, we have to default to `cp -p'.
|
---|
| 8134 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
---|
[16589] | 8135 | as_ln_s='cp -p'
|
---|
[28328] | 8136 | elif ln conf$$.file conf$$ 2>/dev/null; then
|
---|
| 8137 | as_ln_s=ln
|
---|
[16589] | 8138 | else
|
---|
| 8139 | as_ln_s='cp -p'
|
---|
| 8140 | fi
|
---|
[25215] | 8141 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
---|
| 8142 | rmdir conf$$.dir 2>/dev/null
|
---|
[16589] | 8143 |
|
---|
| 8144 | if mkdir -p . 2>/dev/null; then
|
---|
| 8145 | as_mkdir_p=:
|
---|
| 8146 | else
|
---|
| 8147 | test -d ./-p && rmdir ./-p
|
---|
| 8148 | as_mkdir_p=false
|
---|
| 8149 | fi
|
---|
| 8150 |
|
---|
[25215] | 8151 | if test -x / >/dev/null 2>&1; then
|
---|
| 8152 | as_test_x='test -x'
|
---|
| 8153 | else
|
---|
| 8154 | if ls -dL / >/dev/null 2>&1; then
|
---|
| 8155 | as_ls_L_option=L
|
---|
| 8156 | else
|
---|
| 8157 | as_ls_L_option=
|
---|
| 8158 | fi
|
---|
| 8159 | as_test_x='
|
---|
| 8160 | eval sh -c '\''
|
---|
| 8161 | if test -d "$1"; then
|
---|
[28328] | 8162 | test -d "$1/.";
|
---|
[25215] | 8163 | else
|
---|
| 8164 | case $1 in
|
---|
[28328] | 8165 | -*)set "./$1";;
|
---|
[25215] | 8166 | esac;
|
---|
| 8167 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
---|
| 8168 | ???[sx]*):;;*)false;;esac;fi
|
---|
| 8169 | '\'' sh
|
---|
| 8170 | '
|
---|
| 8171 | fi
|
---|
| 8172 | as_executable_p=$as_test_x
|
---|
[16589] | 8173 |
|
---|
| 8174 | # Sed expression to map a string onto a valid CPP name.
|
---|
| 8175 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 8176 |
|
---|
| 8177 | # Sed expression to map a string onto a valid variable name.
|
---|
| 8178 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
---|
| 8179 |
|
---|
| 8180 |
|
---|
| 8181 | exec 6>&1
|
---|
| 8182 |
|
---|
[25215] | 8183 | # Save the log message, to keep $[0] and so on meaningful, and to
|
---|
[16589] | 8184 | # report actual input values of CONFIG_FILES etc. instead of their
|
---|
[25215] | 8185 | # values after options handling.
|
---|
| 8186 | ac_log="
|
---|
[16589] | 8187 | This file was extended by $as_me, which was
|
---|
[28328] | 8188 | generated by GNU Autoconf 2.61. Invocation command line was
|
---|
[16589] | 8189 |
|
---|
| 8190 | CONFIG_FILES = $CONFIG_FILES
|
---|
| 8191 | CONFIG_HEADERS = $CONFIG_HEADERS
|
---|
| 8192 | CONFIG_LINKS = $CONFIG_LINKS
|
---|
| 8193 | CONFIG_COMMANDS = $CONFIG_COMMANDS
|
---|
| 8194 | $ $0 $@
|
---|
| 8195 |
|
---|
[25215] | 8196 | on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
---|
| 8197 | "
|
---|
| 8198 |
|
---|
[16589] | 8199 | _ACEOF
|
---|
| 8200 |
|
---|
[28328] | 8201 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
[25215] | 8202 | # Files that config.status was made for.
|
---|
| 8203 | config_files="$ac_config_files"
|
---|
| 8204 | config_headers="$ac_config_headers"
|
---|
[16589] | 8205 |
|
---|
[25215] | 8206 | _ACEOF
|
---|
[16589] | 8207 |
|
---|
[28328] | 8208 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[16589] | 8209 | ac_cs_usage="\
|
---|
| 8210 | \`$as_me' instantiates files from templates according to the
|
---|
| 8211 | current configuration.
|
---|
| 8212 |
|
---|
[28328] | 8213 | Usage: $0 [OPTIONS] [FILE]...
|
---|
[16589] | 8214 |
|
---|
| 8215 | -h, --help print this help, then exit
|
---|
[25215] | 8216 | -V, --version print version number and configuration settings, then exit
|
---|
[28328] | 8217 | -q, --quiet do not print progress messages
|
---|
[16589] | 8218 | -d, --debug don't remove temporary files
|
---|
| 8219 | --recheck update $as_me by reconfiguring in the same conditions
|
---|
[28328] | 8220 | --file=FILE[:TEMPLATE]
|
---|
| 8221 | instantiate the configuration file FILE
|
---|
| 8222 | --header=FILE[:TEMPLATE]
|
---|
| 8223 | instantiate the configuration header FILE
|
---|
[16589] | 8224 |
|
---|
| 8225 | Configuration files:
|
---|
| 8226 | $config_files
|
---|
| 8227 |
|
---|
| 8228 | Configuration headers:
|
---|
| 8229 | $config_headers
|
---|
| 8230 |
|
---|
| 8231 | Report bugs to <[email protected]>."
|
---|
[25215] | 8232 |
|
---|
[16589] | 8233 | _ACEOF
|
---|
[28328] | 8234 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
[16589] | 8235 | ac_cs_version="\\
|
---|
| 8236 | config.status
|
---|
[28328] | 8237 | configured by $0, generated by GNU Autoconf 2.61,
|
---|
| 8238 | with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
---|
[16589] | 8239 |
|
---|
[28328] | 8240 | Copyright (C) 2006 Free Software Foundation, Inc.
|
---|
[16589] | 8241 | This config.status script is free software; the Free Software Foundation
|
---|
| 8242 | gives unlimited permission to copy, distribute and modify it."
|
---|
[25215] | 8243 |
|
---|
| 8244 | ac_pwd='$ac_pwd'
|
---|
| 8245 | srcdir='$srcdir'
|
---|
| 8246 | INSTALL='$INSTALL'
|
---|
[16589] | 8247 | _ACEOF
|
---|
| 8248 |
|
---|
[28328] | 8249 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
| 8250 | # If no file are specified by the user, then we need to provide default
|
---|
| 8251 | # value. By we need to know if files were specified by the user.
|
---|
[16589] | 8252 | ac_need_defaults=:
|
---|
| 8253 | while test $# != 0
|
---|
| 8254 | do
|
---|
| 8255 | case $1 in
|
---|
| 8256 | --*=*)
|
---|
[25215] | 8257 | ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
---|
| 8258 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
---|
[16589] | 8259 | ac_shift=:
|
---|
| 8260 | ;;
|
---|
[25215] | 8261 | *)
|
---|
[16589] | 8262 | ac_option=$1
|
---|
| 8263 | ac_optarg=$2
|
---|
| 8264 | ac_shift=shift
|
---|
| 8265 | ;;
|
---|
| 8266 | esac
|
---|
| 8267 |
|
---|
| 8268 | case $ac_option in
|
---|
| 8269 | # Handling of the options.
|
---|
| 8270 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
---|
| 8271 | ac_cs_recheck=: ;;
|
---|
[25215] | 8272 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
---|
[28328] | 8273 | echo "$ac_cs_version"; exit ;;
|
---|
[25215] | 8274 | --debug | --debu | --deb | --de | --d | -d )
|
---|
[16589] | 8275 | debug=: ;;
|
---|
| 8276 | --file | --fil | --fi | --f )
|
---|
| 8277 | $ac_shift
|
---|
[28328] | 8278 | CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
---|
[16589] | 8279 | ac_need_defaults=false;;
|
---|
| 8280 | --header | --heade | --head | --hea )
|
---|
| 8281 | $ac_shift
|
---|
[28328] | 8282 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
---|
[16589] | 8283 | ac_need_defaults=false;;
|
---|
[25215] | 8284 | --he | --h)
|
---|
| 8285 | # Conflict between --help and --header
|
---|
[28328] | 8286 | { echo "$as_me: error: ambiguous option: $1
|
---|
[25215] | 8287 | Try \`$0 --help' for more information." >&2
|
---|
| 8288 | { (exit 1); exit 1; }; };;
|
---|
| 8289 | --help | --hel | -h )
|
---|
[28328] | 8290 | echo "$ac_cs_usage"; exit ;;
|
---|
[16589] | 8291 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
---|
| 8292 | | -silent | --silent | --silen | --sile | --sil | --si | --s)
|
---|
| 8293 | ac_cs_silent=: ;;
|
---|
| 8294 |
|
---|
| 8295 | # This is an error.
|
---|
[28328] | 8296 | -*) { echo "$as_me: error: unrecognized option: $1
|
---|
[25215] | 8297 | Try \`$0 --help' for more information." >&2
|
---|
[16589] | 8298 | { (exit 1); exit 1; }; } ;;
|
---|
| 8299 |
|
---|
[25215] | 8300 | *) ac_config_targets="$ac_config_targets $1"
|
---|
| 8301 | ac_need_defaults=false ;;
|
---|
[16589] | 8302 |
|
---|
| 8303 | esac
|
---|
| 8304 | shift
|
---|
| 8305 | done
|
---|
| 8306 |
|
---|
| 8307 | ac_configure_extra_args=
|
---|
| 8308 |
|
---|
| 8309 | if $ac_cs_silent; then
|
---|
| 8310 | exec 6>/dev/null
|
---|
| 8311 | ac_configure_extra_args="$ac_configure_extra_args --silent"
|
---|
| 8312 | fi
|
---|
| 8313 |
|
---|
| 8314 | _ACEOF
|
---|
[28328] | 8315 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
[16589] | 8316 | if \$ac_cs_recheck; then
|
---|
[28328] | 8317 | echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
---|
| 8318 | CONFIG_SHELL=$SHELL
|
---|
[25215] | 8319 | export CONFIG_SHELL
|
---|
[28328] | 8320 | exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
---|
[16589] | 8321 | fi
|
---|
| 8322 |
|
---|
| 8323 | _ACEOF
|
---|
[28328] | 8324 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[25215] | 8325 | exec 5>>config.log
|
---|
| 8326 | {
|
---|
| 8327 | echo
|
---|
| 8328 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
---|
| 8329 | ## Running $as_me. ##
|
---|
| 8330 | _ASBOX
|
---|
[28328] | 8331 | echo "$ac_log"
|
---|
[25215] | 8332 | } >&5
|
---|
[16589] | 8333 |
|
---|
[25215] | 8334 | _ACEOF
|
---|
[28328] | 8335 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
[25215] | 8336 | _ACEOF
|
---|
[16589] | 8337 |
|
---|
[28328] | 8338 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[16589] | 8339 |
|
---|
[25215] | 8340 | # Handling of arguments.
|
---|
[16589] | 8341 | for ac_config_target in $ac_config_targets
|
---|
| 8342 | do
|
---|
[25215] | 8343 | case $ac_config_target in
|
---|
| 8344 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
---|
| 8345 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
---|
| 8346 | "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
|
---|
| 8347 | "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
|
---|
| 8348 |
|
---|
[28328] | 8349 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
---|
| 8350 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
---|
[16589] | 8351 | { (exit 1); exit 1; }; };;
|
---|
| 8352 | esac
|
---|
| 8353 | done
|
---|
| 8354 |
|
---|
[25215] | 8355 |
|
---|
[16589] | 8356 | # If the user did not use the arguments to specify the items to instantiate,
|
---|
| 8357 | # then the envvar interface is used. Set only those that are not.
|
---|
| 8358 | # We use the long form for the default assignment because of an extremely
|
---|
| 8359 | # bizarre bug on SunOS 4.1.3.
|
---|
| 8360 | if $ac_need_defaults; then
|
---|
| 8361 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
---|
| 8362 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
---|
| 8363 | fi
|
---|
| 8364 |
|
---|
| 8365 | # Have a temporary directory for convenience. Make it in the build tree
|
---|
[25215] | 8366 | # simply because there is no reason against having it here, and in addition,
|
---|
[16589] | 8367 | # creating and moving files from /tmp can sometimes cause problems.
|
---|
[25215] | 8368 | # Hook for its removal unless debugging.
|
---|
| 8369 | # Note that there is a small window in which the directory will not be cleaned:
|
---|
| 8370 | # after its creation but before its name has been assigned to `$tmp'.
|
---|
[16589] | 8371 | $debug ||
|
---|
| 8372 | {
|
---|
[25215] | 8373 | tmp=
|
---|
| 8374 | trap 'exit_status=$?
|
---|
| 8375 | { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
---|
| 8376 | ' 0
|
---|
[16589] | 8377 | trap '{ (exit 1); exit 1; }' 1 2 13 15
|
---|
| 8378 | }
|
---|
| 8379 | # Create a (secure) tmp directory for tmp files.
|
---|
| 8380 |
|
---|
| 8381 | {
|
---|
[25215] | 8382 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
---|
[16589] | 8383 | test -n "$tmp" && test -d "$tmp"
|
---|
| 8384 | } ||
|
---|
| 8385 | {
|
---|
[25215] | 8386 | tmp=./conf$$-$RANDOM
|
---|
| 8387 | (umask 077 && mkdir "$tmp")
|
---|
[16589] | 8388 | } ||
|
---|
| 8389 | {
|
---|
[28328] | 8390 | echo "$me: cannot create a temporary directory in ." >&2
|
---|
[16589] | 8391 | { (exit 1); exit 1; }
|
---|
| 8392 | }
|
---|
| 8393 |
|
---|
[28328] | 8394 | #
|
---|
| 8395 | # Set up the sed scripts for CONFIG_FILES section.
|
---|
| 8396 | #
|
---|
| 8397 |
|
---|
| 8398 | # No need to generate the scripts if there are no CONFIG_FILES.
|
---|
| 8399 | # This happens for instance when ./config.status config.h
|
---|
[25215] | 8400 | if test -n "$CONFIG_FILES"; then
|
---|
| 8401 |
|
---|
[28328] | 8402 | _ACEOF
|
---|
[25215] | 8403 |
|
---|
| 8404 |
|
---|
[16589] | 8405 |
|
---|
[25215] | 8406 | ac_delim='%!_!# '
|
---|
| 8407 | for ac_last_try in false false false false false :; do
|
---|
[28328] | 8408 | cat >conf$$subs.sed <<_ACEOF
|
---|
| 8409 | SHELL!$SHELL$ac_delim
|
---|
| 8410 | PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
|
---|
| 8411 | PACKAGE_NAME!$PACKAGE_NAME$ac_delim
|
---|
| 8412 | PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
|
---|
| 8413 | PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
|
---|
| 8414 | PACKAGE_STRING!$PACKAGE_STRING$ac_delim
|
---|
| 8415 | PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
|
---|
| 8416 | exec_prefix!$exec_prefix$ac_delim
|
---|
| 8417 | prefix!$prefix$ac_delim
|
---|
| 8418 | program_transform_name!$program_transform_name$ac_delim
|
---|
| 8419 | bindir!$bindir$ac_delim
|
---|
| 8420 | sbindir!$sbindir$ac_delim
|
---|
| 8421 | libexecdir!$libexecdir$ac_delim
|
---|
| 8422 | datarootdir!$datarootdir$ac_delim
|
---|
| 8423 | datadir!$datadir$ac_delim
|
---|
| 8424 | sysconfdir!$sysconfdir$ac_delim
|
---|
| 8425 | sharedstatedir!$sharedstatedir$ac_delim
|
---|
| 8426 | localstatedir!$localstatedir$ac_delim
|
---|
| 8427 | includedir!$includedir$ac_delim
|
---|
| 8428 | oldincludedir!$oldincludedir$ac_delim
|
---|
| 8429 | docdir!$docdir$ac_delim
|
---|
| 8430 | infodir!$infodir$ac_delim
|
---|
| 8431 | htmldir!$htmldir$ac_delim
|
---|
| 8432 | dvidir!$dvidir$ac_delim
|
---|
| 8433 | pdfdir!$pdfdir$ac_delim
|
---|
| 8434 | psdir!$psdir$ac_delim
|
---|
| 8435 | libdir!$libdir$ac_delim
|
---|
| 8436 | localedir!$localedir$ac_delim
|
---|
| 8437 | mandir!$mandir$ac_delim
|
---|
| 8438 | DEFS!$DEFS$ac_delim
|
---|
| 8439 | ECHO_C!$ECHO_C$ac_delim
|
---|
| 8440 | ECHO_N!$ECHO_N$ac_delim
|
---|
| 8441 | ECHO_T!$ECHO_T$ac_delim
|
---|
| 8442 | LIBS!$LIBS$ac_delim
|
---|
| 8443 | build_alias!$build_alias$ac_delim
|
---|
| 8444 | host_alias!$host_alias$ac_delim
|
---|
| 8445 | target_alias!$target_alias$ac_delim
|
---|
| 8446 | PACKAGE!$PACKAGE$ac_delim
|
---|
| 8447 | VERSION!$VERSION$ac_delim
|
---|
| 8448 | USE_FASTCGI!$USE_FASTCGI$ac_delim
|
---|
| 8449 | USE_LANGACTION!$USE_LANGACTION$ac_delim
|
---|
| 8450 | USE_CORBA!$USE_CORBA$ac_delim
|
---|
| 8451 | MICO_DIR!$MICO_DIR$ac_delim
|
---|
| 8452 | USE_Z3950!$USE_Z3950$ac_delim
|
---|
| 8453 | USE_YAZ!$USE_YAZ$ac_delim
|
---|
| 8454 | ENABLE_ACCENTFOLD!$ENABLE_ACCENTFOLD$ac_delim
|
---|
| 8455 | USE_SQLITE!$USE_SQLITE$ac_delim
|
---|
| 8456 | USE_APACHE_HTTPD!$USE_APACHE_HTTPD$ac_delim
|
---|
| 8457 | ENABLE_JNI!$ENABLE_JNI$ac_delim
|
---|
| 8458 | ENABLE_MG!$ENABLE_MG$ac_delim
|
---|
| 8459 | ENABLE_MGPP!$ENABLE_MGPP$ac_delim
|
---|
| 8460 | ENABLE_LUCENE!$ENABLE_LUCENE$ac_delim
|
---|
| 8461 | ENABLE_GNOMELIB_EXT!$ENABLE_GNOMELIB_EXT$ac_delim
|
---|
| 8462 | LDFLAGS!$LDFLAGS$ac_delim
|
---|
| 8463 | CFLAGS!$CFLAGS$ac_delim
|
---|
| 8464 | CC!$CC$ac_delim
|
---|
| 8465 | CPPFLAGS!$CPPFLAGS$ac_delim
|
---|
| 8466 | ac_ct_CC!$ac_ct_CC$ac_delim
|
---|
| 8467 | EXEEXT!$EXEEXT$ac_delim
|
---|
| 8468 | OBJEXT!$OBJEXT$ac_delim
|
---|
| 8469 | CXX!$CXX$ac_delim
|
---|
| 8470 | CXXFLAGS!$CXXFLAGS$ac_delim
|
---|
| 8471 | ac_ct_CXX!$ac_ct_CXX$ac_delim
|
---|
| 8472 | AWK!$AWK$ac_delim
|
---|
| 8473 | YACC!$YACC$ac_delim
|
---|
| 8474 | YFLAGS!$YFLAGS$ac_delim
|
---|
| 8475 | build!$build$ac_delim
|
---|
| 8476 | build_cpu!$build_cpu$ac_delim
|
---|
| 8477 | build_vendor!$build_vendor$ac_delim
|
---|
| 8478 | build_os!$build_os$ac_delim
|
---|
| 8479 | host!$host$ac_delim
|
---|
| 8480 | host_cpu!$host_cpu$ac_delim
|
---|
| 8481 | host_vendor!$host_vendor$ac_delim
|
---|
| 8482 | host_os!$host_os$ac_delim
|
---|
| 8483 | target!$target$ac_delim
|
---|
| 8484 | target_cpu!$target_cpu$ac_delim
|
---|
| 8485 | target_vendor!$target_vendor$ac_delim
|
---|
| 8486 | target_os!$target_os$ac_delim
|
---|
| 8487 | INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
---|
| 8488 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
|
---|
| 8489 | INSTALL_DATA!$INSTALL_DATA$ac_delim
|
---|
| 8490 | LN_S!$LN_S$ac_delim
|
---|
| 8491 | SET_MAKE!$SET_MAKE$ac_delim
|
---|
| 8492 | RANLIB!$RANLIB$ac_delim
|
---|
| 8493 | ARCH_DEP_FLAGS!$ARCH_DEP_FLAGS$ac_delim
|
---|
| 8494 | MICO_VER!$MICO_VER$ac_delim
|
---|
| 8495 | CPP!$CPP$ac_delim
|
---|
| 8496 | GREP!$GREP$ac_delim
|
---|
| 8497 | EGREP!$EGREP$ac_delim
|
---|
| 8498 | U!$U$ac_delim
|
---|
| 8499 | ANSI2KNR!$ANSI2KNR$ac_delim
|
---|
| 8500 | ALLOCA!$ALLOCA$ac_delim
|
---|
| 8501 | LIBOBJS!$LIBOBJS$ac_delim
|
---|
| 8502 | STATIC!$STATIC$ac_delim
|
---|
| 8503 | gsdlos!$gsdlos$ac_delim
|
---|
| 8504 | MODULEDIRS!$MODULEDIRS$ac_delim
|
---|
| 8505 | subdirs!$subdirs$ac_delim
|
---|
| 8506 | _ACEOF
|
---|
[16589] | 8507 |
|
---|
[28328] | 8508 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
|
---|
[25215] | 8509 | break
|
---|
| 8510 | elif $ac_last_try; then
|
---|
[28328] | 8511 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
---|
| 8512 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
---|
[25215] | 8513 | { (exit 1); exit 1; }; }
|
---|
| 8514 | else
|
---|
| 8515 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 8516 | fi
|
---|
| 8517 | done
|
---|
[16589] | 8518 |
|
---|
[28328] | 8519 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
---|
| 8520 | if test -n "$ac_eof"; then
|
---|
| 8521 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
---|
| 8522 | ac_eof=`expr $ac_eof + 1`
|
---|
| 8523 | fi
|
---|
| 8524 |
|
---|
| 8525 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8526 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
|
---|
| 8527 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[16589] | 8528 | _ACEOF
|
---|
[28328] | 8529 | sed '
|
---|
| 8530 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
---|
| 8531 | s/^/s,@/; s/!/@,|#_!!_#|/
|
---|
| 8532 | :n
|
---|
| 8533 | t n
|
---|
| 8534 | s/'"$ac_delim"'$/,g/; t
|
---|
| 8535 | s/$/\\/; p
|
---|
| 8536 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
---|
| 8537 | ' >>$CONFIG_STATUS <conf$$subs.sed
|
---|
| 8538 | rm -f conf$$subs.sed
|
---|
| 8539 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8540 | CEOF$ac_eof
|
---|
| 8541 | _ACEOF
|
---|
[16589] | 8542 |
|
---|
[25215] | 8543 |
|
---|
[28328] | 8544 | ac_delim='%!_!# '
|
---|
| 8545 | for ac_last_try in false false false false false :; do
|
---|
| 8546 | cat >conf$$subs.sed <<_ACEOF
|
---|
| 8547 | LTLIBOBJS!$LTLIBOBJS$ac_delim
|
---|
| 8548 | _ACEOF
|
---|
[25215] | 8549 |
|
---|
[28328] | 8550 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 1; then
|
---|
| 8551 | break
|
---|
| 8552 | elif $ac_last_try; then
|
---|
| 8553 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
---|
| 8554 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
---|
[25215] | 8555 | { (exit 1); exit 1; }; }
|
---|
[28328] | 8556 | else
|
---|
| 8557 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
---|
| 8558 | fi
|
---|
| 8559 | done
|
---|
| 8560 |
|
---|
| 8561 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
---|
| 8562 | if test -n "$ac_eof"; then
|
---|
| 8563 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
---|
| 8564 | ac_eof=`expr $ac_eof + 1`
|
---|
| 8565 | fi
|
---|
| 8566 |
|
---|
| 8567 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8568 | cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
|
---|
| 8569 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
---|
[25215] | 8570 | _ACEOF
|
---|
[28328] | 8571 | sed '
|
---|
| 8572 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
---|
| 8573 | s/^/s,@/; s/!/@,|#_!!_#|/
|
---|
| 8574 | :n
|
---|
| 8575 | t n
|
---|
| 8576 | s/'"$ac_delim"'$/,g/; t
|
---|
| 8577 | s/$/\\/; p
|
---|
| 8578 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
---|
| 8579 | ' >>$CONFIG_STATUS <conf$$subs.sed
|
---|
| 8580 | rm -f conf$$subs.sed
|
---|
| 8581 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8582 | :end
|
---|
| 8583 | s/|#_!!_#|//g
|
---|
| 8584 | CEOF$ac_eof
|
---|
| 8585 | _ACEOF
|
---|
[25215] | 8586 |
|
---|
[28328] | 8587 |
|
---|
[25215] | 8588 | # VPATH may cause trouble with some makes, so we remove $(srcdir),
|
---|
| 8589 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
---|
| 8590 | # trailing colons and then remove the whole line if VPATH becomes empty
|
---|
| 8591 | # (actually we leave an empty line to preserve line numbers).
|
---|
| 8592 | if test "x$srcdir" = x.; then
|
---|
| 8593 | ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
---|
| 8594 | s/:*\$(srcdir):*/:/
|
---|
| 8595 | s/:*\${srcdir}:*/:/
|
---|
| 8596 | s/:*@srcdir@:*/:/
|
---|
| 8597 | s/^\([^=]*=[ ]*\):*/\1/
|
---|
| 8598 | s/:*$//
|
---|
| 8599 | s/^[^=]*=[ ]*$//
|
---|
| 8600 | }'
|
---|
| 8601 | fi
|
---|
| 8602 |
|
---|
[28328] | 8603 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[16589] | 8604 | fi # test -n "$CONFIG_FILES"
|
---|
| 8605 |
|
---|
[25215] | 8606 |
|
---|
[28328] | 8607 | for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
|
---|
[25215] | 8608 | do
|
---|
| 8609 | case $ac_tag in
|
---|
| 8610 | :[FHLC]) ac_mode=$ac_tag; continue;;
|
---|
[16589] | 8611 | esac
|
---|
[25215] | 8612 | case $ac_mode$ac_tag in
|
---|
| 8613 | :[FHL]*:*);;
|
---|
[28328] | 8614 | :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
---|
| 8615 | echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
---|
[25215] | 8616 | { (exit 1); exit 1; }; };;
|
---|
| 8617 | :[FH]-) ac_tag=-:-;;
|
---|
| 8618 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
---|
| 8619 | esac
|
---|
| 8620 | ac_save_IFS=$IFS
|
---|
| 8621 | IFS=:
|
---|
| 8622 | set x $ac_tag
|
---|
| 8623 | IFS=$ac_save_IFS
|
---|
| 8624 | shift
|
---|
| 8625 | ac_file=$1
|
---|
| 8626 | shift
|
---|
[16589] | 8627 |
|
---|
[25215] | 8628 | case $ac_mode in
|
---|
| 8629 | :L) ac_source=$1;;
|
---|
| 8630 | :[FH])
|
---|
| 8631 | ac_file_inputs=
|
---|
| 8632 | for ac_f
|
---|
| 8633 | do
|
---|
| 8634 | case $ac_f in
|
---|
| 8635 | -) ac_f="$tmp/stdin";;
|
---|
| 8636 | *) # Look for the file first in the build tree, then in the source tree
|
---|
| 8637 | # (if the path is not absolute). The absolute path cannot be DOS-style,
|
---|
| 8638 | # because $ac_f cannot contain `:'.
|
---|
| 8639 | test -f "$ac_f" ||
|
---|
| 8640 | case $ac_f in
|
---|
| 8641 | [\\/$]*) false;;
|
---|
| 8642 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
---|
| 8643 | esac ||
|
---|
[28328] | 8644 | { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
---|
| 8645 | echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
---|
[25215] | 8646 | { (exit 1); exit 1; }; };;
|
---|
| 8647 | esac
|
---|
[28328] | 8648 | ac_file_inputs="$ac_file_inputs $ac_f"
|
---|
[25215] | 8649 | done
|
---|
| 8650 |
|
---|
| 8651 | # Let's still pretend it is `configure' which instantiates (i.e., don't
|
---|
| 8652 | # use $as_me), people would be surprised to read:
|
---|
| 8653 | # /* config.h. Generated by config.status. */
|
---|
[28328] | 8654 | configure_input="Generated from "`IFS=:
|
---|
| 8655 | echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
|
---|
[25215] | 8656 | if test x"$ac_file" != x-; then
|
---|
| 8657 | configure_input="$ac_file. $configure_input"
|
---|
[28328] | 8658 | { echo "$as_me:$LINENO: creating $ac_file" >&5
|
---|
| 8659 | echo "$as_me: creating $ac_file" >&6;}
|
---|
[25215] | 8660 | fi
|
---|
| 8661 |
|
---|
| 8662 | case $ac_tag in
|
---|
[28328] | 8663 | *:-:* | *:-) cat >"$tmp/stdin";;
|
---|
[25215] | 8664 | esac
|
---|
| 8665 | ;;
|
---|
| 8666 | esac
|
---|
| 8667 |
|
---|
| 8668 | ac_dir=`$as_dirname -- "$ac_file" ||
|
---|
[16589] | 8669 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 8670 | X"$ac_file" : 'X\(//\)[^/]' \| \
|
---|
| 8671 | X"$ac_file" : 'X\(//\)$' \| \
|
---|
[25215] | 8672 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
[28328] | 8673 | echo X"$ac_file" |
|
---|
[25215] | 8674 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 8675 | s//\1/
|
---|
| 8676 | q
|
---|
| 8677 | }
|
---|
| 8678 | /^X\(\/\/\)[^/].*/{
|
---|
| 8679 | s//\1/
|
---|
| 8680 | q
|
---|
| 8681 | }
|
---|
| 8682 | /^X\(\/\/\)$/{
|
---|
| 8683 | s//\1/
|
---|
| 8684 | q
|
---|
| 8685 | }
|
---|
| 8686 | /^X\(\/\).*/{
|
---|
| 8687 | s//\1/
|
---|
| 8688 | q
|
---|
| 8689 | }
|
---|
| 8690 | s/.*/./; q'`
|
---|
| 8691 | { as_dir="$ac_dir"
|
---|
| 8692 | case $as_dir in #(
|
---|
| 8693 | -*) as_dir=./$as_dir;;
|
---|
| 8694 | esac
|
---|
| 8695 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
---|
[16589] | 8696 | as_dirs=
|
---|
[25215] | 8697 | while :; do
|
---|
| 8698 | case $as_dir in #(
|
---|
[28328] | 8699 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
---|
[25215] | 8700 | *) as_qdir=$as_dir;;
|
---|
| 8701 | esac
|
---|
| 8702 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 8703 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
[16589] | 8704 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 8705 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 8706 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
[25215] | 8707 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
[28328] | 8708 | echo X"$as_dir" |
|
---|
[25215] | 8709 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 8710 | s//\1/
|
---|
| 8711 | q
|
---|
| 8712 | }
|
---|
| 8713 | /^X\(\/\/\)[^/].*/{
|
---|
| 8714 | s//\1/
|
---|
| 8715 | q
|
---|
| 8716 | }
|
---|
| 8717 | /^X\(\/\/\)$/{
|
---|
| 8718 | s//\1/
|
---|
| 8719 | q
|
---|
| 8720 | }
|
---|
| 8721 | /^X\(\/\).*/{
|
---|
| 8722 | s//\1/
|
---|
| 8723 | q
|
---|
| 8724 | }
|
---|
| 8725 | s/.*/./; q'`
|
---|
| 8726 | test -d "$as_dir" && break
|
---|
[16589] | 8727 | done
|
---|
[25215] | 8728 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
[28328] | 8729 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
---|
| 8730 | echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
---|
[16589] | 8731 | { (exit 1); exit 1; }; }; }
|
---|
| 8732 | ac_builddir=.
|
---|
| 8733 |
|
---|
[25215] | 8734 | case "$ac_dir" in
|
---|
| 8735 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8736 | *)
|
---|
[28328] | 8737 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
[25215] | 8738 | # A ".." for each directory in $ac_dir_suffix.
|
---|
[28328] | 8739 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
---|
[25215] | 8740 | case $ac_top_builddir_sub in
|
---|
| 8741 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 8742 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 8743 | esac ;;
|
---|
| 8744 | esac
|
---|
| 8745 | ac_abs_top_builddir=$ac_pwd
|
---|
| 8746 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 8747 | # for backward compatibility:
|
---|
| 8748 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16589] | 8749 |
|
---|
| 8750 | case $srcdir in
|
---|
[25215] | 8751 | .) # We are building in place.
|
---|
[16589] | 8752 | ac_srcdir=.
|
---|
[25215] | 8753 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 8754 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 8755 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16589] | 8756 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25215] | 8757 | ac_top_srcdir=$srcdir
|
---|
| 8758 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 8759 | *) # Relative name.
|
---|
| 8760 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 8761 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 8762 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16589] | 8763 | esac
|
---|
[25215] | 8764 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16589] | 8765 |
|
---|
| 8766 |
|
---|
[25215] | 8767 | case $ac_mode in
|
---|
| 8768 | :F)
|
---|
| 8769 | #
|
---|
| 8770 | # CONFIG_FILE
|
---|
| 8771 | #
|
---|
[16589] | 8772 |
|
---|
| 8773 | case $INSTALL in
|
---|
| 8774 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
---|
[25215] | 8775 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
---|
[16589] | 8776 | esac
|
---|
[25215] | 8777 | _ACEOF
|
---|
[16589] | 8778 |
|
---|
[28328] | 8779 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[25215] | 8780 | # If the template does not know about datarootdir, expand it.
|
---|
| 8781 | # FIXME: This hack should be removed a few years after 2.60.
|
---|
| 8782 | ac_datarootdir_hack=; ac_datarootdir_seen=
|
---|
[16589] | 8783 |
|
---|
[28328] | 8784 | case `sed -n '/datarootdir/ {
|
---|
[25215] | 8785 | p
|
---|
| 8786 | q
|
---|
| 8787 | }
|
---|
| 8788 | /@datadir@/p
|
---|
| 8789 | /@docdir@/p
|
---|
| 8790 | /@infodir@/p
|
---|
| 8791 | /@localedir@/p
|
---|
| 8792 | /@mandir@/p
|
---|
[28328] | 8793 | ' $ac_file_inputs` in
|
---|
[25215] | 8794 | *datarootdir*) ac_datarootdir_seen=yes;;
|
---|
| 8795 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
---|
[28328] | 8796 | { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
---|
| 8797 | echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
---|
[16589] | 8798 | _ACEOF
|
---|
[28328] | 8799 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
[25215] | 8800 | ac_datarootdir_hack='
|
---|
| 8801 | s&@datadir@&$datadir&g
|
---|
| 8802 | s&@docdir@&$docdir&g
|
---|
| 8803 | s&@infodir@&$infodir&g
|
---|
| 8804 | s&@localedir@&$localedir&g
|
---|
| 8805 | s&@mandir@&$mandir&g
|
---|
| 8806 | s&\\\${datarootdir}&$datarootdir&g' ;;
|
---|
| 8807 | esac
|
---|
| 8808 | _ACEOF
|
---|
| 8809 |
|
---|
| 8810 | # Neutralize VPATH when `$srcdir' = `.'.
|
---|
| 8811 | # Shell code in configure.ac might set extrasub.
|
---|
| 8812 | # FIXME: do we really want to maintain this feature?
|
---|
[28328] | 8813 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8814 | sed "$ac_vpsub
|
---|
[16589] | 8815 | $extrasub
|
---|
| 8816 | _ACEOF
|
---|
[28328] | 8817 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[16589] | 8818 | :t
|
---|
| 8819 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
---|
[28328] | 8820 | s&@configure_input@&$configure_input&;t t
|
---|
[25215] | 8821 | s&@top_builddir@&$ac_top_builddir_sub&;t t
|
---|
| 8822 | s&@srcdir@&$ac_srcdir&;t t
|
---|
| 8823 | s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
---|
| 8824 | s&@top_srcdir@&$ac_top_srcdir&;t t
|
---|
| 8825 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
---|
| 8826 | s&@builddir@&$ac_builddir&;t t
|
---|
| 8827 | s&@abs_builddir@&$ac_abs_builddir&;t t
|
---|
| 8828 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
---|
| 8829 | s&@INSTALL@&$ac_INSTALL&;t t
|
---|
| 8830 | $ac_datarootdir_hack
|
---|
[28328] | 8831 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
|
---|
[16589] | 8832 |
|
---|
[25215] | 8833 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
---|
| 8834 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
---|
| 8835 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
---|
[28328] | 8836 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
[25215] | 8837 | which seems to be undefined. Please make sure it is defined." >&5
|
---|
[28328] | 8838 | echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
---|
[25215] | 8839 | which seems to be undefined. Please make sure it is defined." >&2;}
|
---|
[16589] | 8840 |
|
---|
[25215] | 8841 | rm -f "$tmp/stdin"
|
---|
[16589] | 8842 | case $ac_file in
|
---|
[28328] | 8843 | -) cat "$tmp/out"; rm -f "$tmp/out";;
|
---|
| 8844 | *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
|
---|
| 8845 | esac
|
---|
[25215] | 8846 | ;;
|
---|
| 8847 | :H)
|
---|
| 8848 | #
|
---|
| 8849 | # CONFIG_HEADER
|
---|
| 8850 | #
|
---|
[28328] | 8851 | _ACEOF
|
---|
| 8852 |
|
---|
| 8853 | # Transform confdefs.h into a sed script `conftest.defines', that
|
---|
| 8854 | # substitutes the proper values into config.h.in to produce config.h.
|
---|
| 8855 | rm -f conftest.defines conftest.tail
|
---|
| 8856 | # First, append a space to every undef/define line, to ease matching.
|
---|
| 8857 | echo 's/$/ /' >conftest.defines
|
---|
| 8858 | # Then, protect against being on the right side of a sed subst, or in
|
---|
| 8859 | # an unquoted here document, in config.status. If some macros were
|
---|
| 8860 | # called several times there might be several #defines for the same
|
---|
| 8861 | # symbol, which is useless. But do not sort them, since the last
|
---|
| 8862 | # AC_DEFINE must be honored.
|
---|
| 8863 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
---|
| 8864 | # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
|
---|
| 8865 | # NAME is the cpp macro being defined, VALUE is the value it is being given.
|
---|
| 8866 | # PARAMS is the parameter list in the macro definition--in most cases, it's
|
---|
| 8867 | # just an empty string.
|
---|
| 8868 | ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
|
---|
| 8869 | ac_dB='\\)[ (].*,\\1define\\2'
|
---|
| 8870 | ac_dC=' '
|
---|
| 8871 | ac_dD=' ,'
|
---|
| 8872 |
|
---|
| 8873 | uniq confdefs.h |
|
---|
| 8874 | sed -n '
|
---|
| 8875 | t rset
|
---|
| 8876 | :rset
|
---|
| 8877 | s/^[ ]*#[ ]*define[ ][ ]*//
|
---|
| 8878 | t ok
|
---|
| 8879 | d
|
---|
| 8880 | :ok
|
---|
| 8881 | s/[\\&,]/\\&/g
|
---|
| 8882 | s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
|
---|
| 8883 | s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
|
---|
| 8884 | ' >>conftest.defines
|
---|
| 8885 |
|
---|
| 8886 | # Remove the space that was appended to ease matching.
|
---|
| 8887 | # Then replace #undef with comments. This is necessary, for
|
---|
| 8888 | # example, in the case of _POSIX_SOURCE, which is predefined and required
|
---|
| 8889 | # on some systems where configure will not decide to define it.
|
---|
| 8890 | # (The regexp can be short, since the line contains either #define or #undef.)
|
---|
| 8891 | echo 's/ $//
|
---|
| 8892 | s,^[ #]*u.*,/* & */,' >>conftest.defines
|
---|
| 8893 |
|
---|
| 8894 | # Break up conftest.defines:
|
---|
| 8895 | ac_max_sed_lines=50
|
---|
| 8896 |
|
---|
| 8897 | # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
|
---|
| 8898 | # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
|
---|
| 8899 | # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
|
---|
| 8900 | # et cetera.
|
---|
| 8901 | ac_in='$ac_file_inputs'
|
---|
| 8902 | ac_out='"$tmp/out1"'
|
---|
| 8903 | ac_nxt='"$tmp/out2"'
|
---|
| 8904 |
|
---|
| 8905 | while :
|
---|
| 8906 | do
|
---|
| 8907 | # Write a here document:
|
---|
| 8908 | cat >>$CONFIG_STATUS <<_ACEOF
|
---|
| 8909 | # First, check the format of the line:
|
---|
| 8910 | cat >"\$tmp/defines.sed" <<\\CEOF
|
---|
| 8911 | /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
|
---|
| 8912 | /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
|
---|
| 8913 | b
|
---|
| 8914 | :def
|
---|
| 8915 | _ACEOF
|
---|
| 8916 | sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
|
---|
| 8917 | echo 'CEOF
|
---|
| 8918 | sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
|
---|
| 8919 | ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
|
---|
| 8920 | sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
|
---|
| 8921 | grep . conftest.tail >/dev/null || break
|
---|
| 8922 | rm -f conftest.defines
|
---|
| 8923 | mv conftest.tail conftest.defines
|
---|
| 8924 | done
|
---|
| 8925 | rm -f conftest.defines conftest.tail
|
---|
| 8926 |
|
---|
| 8927 | echo "ac_result=$ac_in" >>$CONFIG_STATUS
|
---|
| 8928 | cat >>$CONFIG_STATUS <<\_ACEOF
|
---|
[25215] | 8929 | if test x"$ac_file" != x-; then
|
---|
[28328] | 8930 | echo "/* $configure_input */" >"$tmp/config.h"
|
---|
| 8931 | cat "$ac_result" >>"$tmp/config.h"
|
---|
| 8932 | if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
|
---|
| 8933 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
---|
| 8934 | echo "$as_me: $ac_file is unchanged" >&6;}
|
---|
[16589] | 8935 | else
|
---|
[28328] | 8936 | rm -f $ac_file
|
---|
| 8937 | mv "$tmp/config.h" $ac_file
|
---|
[16589] | 8938 | fi
|
---|
| 8939 | else
|
---|
[28328] | 8940 | echo "/* $configure_input */"
|
---|
| 8941 | cat "$ac_result"
|
---|
[16589] | 8942 | fi
|
---|
[28328] | 8943 | rm -f "$tmp/out12"
|
---|
[25215] | 8944 | ;;
|
---|
[16589] | 8945 |
|
---|
| 8946 |
|
---|
[25215] | 8947 | esac
|
---|
| 8948 |
|
---|
| 8949 | done # for ac_tag
|
---|
| 8950 |
|
---|
| 8951 |
|
---|
[16589] | 8952 | { (exit 0); exit 0; }
|
---|
| 8953 | _ACEOF
|
---|
| 8954 | chmod +x $CONFIG_STATUS
|
---|
| 8955 | ac_clean_files=$ac_clean_files_save
|
---|
| 8956 |
|
---|
| 8957 |
|
---|
| 8958 | # configure is writing to config.log, and then calls config.status.
|
---|
| 8959 | # config.status does its own redirection, appending to config.log.
|
---|
| 8960 | # Unfortunately, on DOS this fails, as config.log is still kept open
|
---|
| 8961 | # by configure, so config.status won't be able to write to it; its
|
---|
| 8962 | # output is simply discarded. So we exec the FD to /dev/null,
|
---|
| 8963 | # effectively closing config.log, so it can be properly (re)opened and
|
---|
| 8964 | # appended to by config.status. When coming back to configure, we
|
---|
| 8965 | # need to make the FD available again.
|
---|
| 8966 | if test "$no_create" != yes; then
|
---|
| 8967 | ac_cs_success=:
|
---|
| 8968 | ac_config_status_args=
|
---|
| 8969 | test "$silent" = yes &&
|
---|
| 8970 | ac_config_status_args="$ac_config_status_args --quiet"
|
---|
| 8971 | exec 5>/dev/null
|
---|
| 8972 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
---|
| 8973 | exec 5>>config.log
|
---|
| 8974 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
---|
| 8975 | # would make configure fail if this is the last instruction.
|
---|
| 8976 | $ac_cs_success || { (exit 1); exit 1; }
|
---|
| 8977 | fi
|
---|
| 8978 |
|
---|
| 8979 | #
|
---|
| 8980 | # CONFIG_SUBDIRS section.
|
---|
| 8981 | #
|
---|
| 8982 | if test "$no_recursion" != yes; then
|
---|
| 8983 |
|
---|
[28328] | 8984 | # Remove --cache-file and --srcdir arguments so they do not pile up.
|
---|
[16589] | 8985 | ac_sub_configure_args=
|
---|
| 8986 | ac_prev=
|
---|
[25215] | 8987 | eval "set x $ac_configure_args"
|
---|
| 8988 | shift
|
---|
| 8989 | for ac_arg
|
---|
| 8990 | do
|
---|
[16589] | 8991 | if test -n "$ac_prev"; then
|
---|
| 8992 | ac_prev=
|
---|
| 8993 | continue
|
---|
| 8994 | fi
|
---|
| 8995 | case $ac_arg in
|
---|
| 8996 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
---|
| 8997 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
---|
| 8998 | ac_prev=cache_file ;;
|
---|
| 8999 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
---|
| 9000 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
|
---|
| 9001 | | --c=*)
|
---|
| 9002 | ;;
|
---|
| 9003 | --config-cache | -C)
|
---|
| 9004 | ;;
|
---|
| 9005 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
---|
| 9006 | ac_prev=srcdir ;;
|
---|
| 9007 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
---|
| 9008 | ;;
|
---|
| 9009 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
---|
| 9010 | ac_prev=prefix ;;
|
---|
| 9011 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
---|
| 9012 | ;;
|
---|
[25215] | 9013 | *)
|
---|
| 9014 | case $ac_arg in
|
---|
[28328] | 9015 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[25215] | 9016 | esac
|
---|
| 9017 | ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
|
---|
[16589] | 9018 | esac
|
---|
| 9019 | done
|
---|
| 9020 |
|
---|
| 9021 | # Always prepend --prefix to ensure using the same prefix
|
---|
| 9022 | # in subdir configurations.
|
---|
[25215] | 9023 | ac_arg="--prefix=$prefix"
|
---|
| 9024 | case $ac_arg in
|
---|
[28328] | 9025 | *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
---|
[25215] | 9026 | esac
|
---|
| 9027 | ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
|
---|
[16589] | 9028 |
|
---|
[25215] | 9029 | # Pass --silent
|
---|
| 9030 | if test "$silent" = yes; then
|
---|
| 9031 | ac_sub_configure_args="--silent $ac_sub_configure_args"
|
---|
| 9032 | fi
|
---|
| 9033 |
|
---|
[16589] | 9034 | ac_popdir=`pwd`
|
---|
| 9035 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
|
---|
| 9036 |
|
---|
| 9037 | # Do not complain, so a configure script can configure whichever
|
---|
| 9038 | # parts of a large source tree are present.
|
---|
[25215] | 9039 | test -d "$srcdir/$ac_dir" || continue
|
---|
[16589] | 9040 |
|
---|
[25215] | 9041 | ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
|
---|
[28328] | 9042 | echo "$as_me:$LINENO: $ac_msg" >&5
|
---|
| 9043 | echo "$ac_msg" >&6
|
---|
[25215] | 9044 | { as_dir="$ac_dir"
|
---|
| 9045 | case $as_dir in #(
|
---|
| 9046 | -*) as_dir=./$as_dir;;
|
---|
| 9047 | esac
|
---|
| 9048 | test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
---|
[16589] | 9049 | as_dirs=
|
---|
[25215] | 9050 | while :; do
|
---|
| 9051 | case $as_dir in #(
|
---|
[28328] | 9052 | *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
---|
[25215] | 9053 | *) as_qdir=$as_dir;;
|
---|
| 9054 | esac
|
---|
| 9055 | as_dirs="'$as_qdir' $as_dirs"
|
---|
| 9056 | as_dir=`$as_dirname -- "$as_dir" ||
|
---|
[16589] | 9057 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
---|
| 9058 | X"$as_dir" : 'X\(//\)[^/]' \| \
|
---|
| 9059 | X"$as_dir" : 'X\(//\)$' \| \
|
---|
[25215] | 9060 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
---|
[28328] | 9061 | echo X"$as_dir" |
|
---|
[25215] | 9062 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
---|
| 9063 | s//\1/
|
---|
| 9064 | q
|
---|
| 9065 | }
|
---|
| 9066 | /^X\(\/\/\)[^/].*/{
|
---|
| 9067 | s//\1/
|
---|
| 9068 | q
|
---|
| 9069 | }
|
---|
| 9070 | /^X\(\/\/\)$/{
|
---|
| 9071 | s//\1/
|
---|
| 9072 | q
|
---|
| 9073 | }
|
---|
| 9074 | /^X\(\/\).*/{
|
---|
| 9075 | s//\1/
|
---|
| 9076 | q
|
---|
| 9077 | }
|
---|
| 9078 | s/.*/./; q'`
|
---|
| 9079 | test -d "$as_dir" && break
|
---|
[16589] | 9080 | done
|
---|
[25215] | 9081 | test -z "$as_dirs" || eval "mkdir $as_dirs"
|
---|
[28328] | 9082 | } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
---|
| 9083 | echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
---|
[16589] | 9084 | { (exit 1); exit 1; }; }; }
|
---|
| 9085 | ac_builddir=.
|
---|
| 9086 |
|
---|
[25215] | 9087 | case "$ac_dir" in
|
---|
| 9088 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 9089 | *)
|
---|
[28328] | 9090 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
---|
[25215] | 9091 | # A ".." for each directory in $ac_dir_suffix.
|
---|
[28328] | 9092 | ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
---|
[25215] | 9093 | case $ac_top_builddir_sub in
|
---|
| 9094 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
---|
| 9095 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
---|
| 9096 | esac ;;
|
---|
| 9097 | esac
|
---|
| 9098 | ac_abs_top_builddir=$ac_pwd
|
---|
| 9099 | ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
---|
| 9100 | # for backward compatibility:
|
---|
| 9101 | ac_top_builddir=$ac_top_build_prefix
|
---|
[16589] | 9102 |
|
---|
| 9103 | case $srcdir in
|
---|
[25215] | 9104 | .) # We are building in place.
|
---|
[16589] | 9105 | ac_srcdir=.
|
---|
[25215] | 9106 | ac_top_srcdir=$ac_top_builddir_sub
|
---|
| 9107 | ac_abs_top_srcdir=$ac_pwd ;;
|
---|
| 9108 | [\\/]* | ?:[\\/]* ) # Absolute name.
|
---|
[16589] | 9109 | ac_srcdir=$srcdir$ac_dir_suffix;
|
---|
[25215] | 9110 | ac_top_srcdir=$srcdir
|
---|
| 9111 | ac_abs_top_srcdir=$srcdir ;;
|
---|
| 9112 | *) # Relative name.
|
---|
| 9113 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
---|
| 9114 | ac_top_srcdir=$ac_top_build_prefix$srcdir
|
---|
| 9115 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
---|
[16589] | 9116 | esac
|
---|
[25215] | 9117 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
---|
[16589] | 9118 |
|
---|
| 9119 |
|
---|
[25215] | 9120 | cd "$ac_dir"
|
---|
[16589] | 9121 |
|
---|
| 9122 | # Check for guested configure; otherwise get Cygnus style configure.
|
---|
[25215] | 9123 | if test -f "$ac_srcdir/configure.gnu"; then
|
---|
| 9124 | ac_sub_configure=$ac_srcdir/configure.gnu
|
---|
| 9125 | elif test -f "$ac_srcdir/configure"; then
|
---|
| 9126 | ac_sub_configure=$ac_srcdir/configure
|
---|
| 9127 | elif test -f "$ac_srcdir/configure.in"; then
|
---|
| 9128 | # This should be Cygnus configure.
|
---|
| 9129 | ac_sub_configure=$ac_aux_dir/configure
|
---|
[16589] | 9130 | else
|
---|
[28328] | 9131 | { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
|
---|
| 9132 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
|
---|
[16589] | 9133 | ac_sub_configure=
|
---|
| 9134 | fi
|
---|
| 9135 |
|
---|
| 9136 | # The recursion is here.
|
---|
| 9137 | if test -n "$ac_sub_configure"; then
|
---|
| 9138 | # Make the cache file name correct relative to the subdirectory.
|
---|
| 9139 | case $cache_file in
|
---|
| 9140 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
|
---|
[25215] | 9141 | *) # Relative name.
|
---|
| 9142 | ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
|
---|
[16589] | 9143 | esac
|
---|
| 9144 |
|
---|
[28328] | 9145 | { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
|
---|
| 9146 | echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
|
---|
[16589] | 9147 | # The eval makes quoting arguments work.
|
---|
[25215] | 9148 | eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
|
---|
| 9149 | --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
|
---|
[28328] | 9150 | { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
|
---|
| 9151 | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
|
---|
[16589] | 9152 | { (exit 1); exit 1; }; }
|
---|
| 9153 | fi
|
---|
| 9154 |
|
---|
[25215] | 9155 | cd "$ac_popdir"
|
---|
[16589] | 9156 | done
|
---|
| 9157 | fi
|
---|
| 9158 |
|
---|
| 9159 |
|
---|
| 9160 |
|
---|