- Timestamp:
- Nov 13, 2014, 3:09:54 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- c8ffe20b
- Parents:
- 134b86a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r134b86a r8c17ab0 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by Autoconf 2.52for cfa-cc 1.0.3 # Generated by GNU Autoconf 2.68 for cfa-cc 1.0. 4 4 # 5 5 # Report bugs to <cforall@plg.uwaterloo.ca>. 6 6 # 7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 8 # Free Software Foundation, Inc. 7 # 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10 # Foundation, Inc. 11 # 12 # 9 13 # This configure script is free software; the Free Software Foundation 10 14 # gives unlimited permission to copy, distribute and modify it. 15 ## -------------------- ## 16 ## M4sh Initialization. ## 17 ## -------------------- ## 18 19 # Be more Bourne compatible 20 DUALCASE=1; export DUALCASE # for MKS sh 21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28 else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34 esac 35 fi 36 37 38 as_nl=' 39 ' 40 export as_nl 41 # Printing a long string crashes Solaris 7 /usr/bin/printf. 42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45 # Prefer a ksh shell builtin over an external printf program on Solaris, 46 # but without wasting forks for bash or zsh. 47 if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54 else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74 fi 75 76 # The user is always right. 77 if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83 fi 84 85 86 # IFS 87 # We need space, tab and new line, in precisely that order. Quoting is 88 # there to prevent editors from complaining about space-tab. 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 90 # splitting by setting IFS to empty value.) 91 IFS=" "" $as_nl" 92 93 # Find who we are. Look in the path if we contain no directory separator. 94 as_myself= 95 case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98 for as_dir in $PATH 99 do 100 IFS=$as_save_IFS 101 test -z "$as_dir" && as_dir=. 102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 104 IFS=$as_save_IFS 105 106 ;; 107 esac 108 # We did not find ourselves, most probably we were run as `sh COMMAND' 109 # in which case we are not to be found in the path. 110 if test "x$as_myself" = x; then 111 as_myself=$0 112 fi 113 if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116 fi 117 118 # Unset variables that we do not need and which cause bugs (e.g. in 119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120 # suppresses any "Segmentation fault" message there. '((' could 121 # trigger a bug in pdksh 5.2.14. 122 for as_var in BASH_ENV ENV MAIL MAILPATH 123 do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125 done 126 PS1='$ ' 127 PS2='> ' 128 PS4='+ ' 129 130 # NLS nuisances. 131 LC_ALL=C 132 export LC_ALL 133 LANGUAGE=C 134 export LANGUAGE 135 136 # CDPATH. 137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139 if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147 else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153 esac 154 fi 155 " 156 as_required="as_fn_return () { (exit \$1); } 157 as_fn_success () { as_fn_return 0; } 158 as_fn_failure () { as_fn_return 1; } 159 as_fn_ret_success () { return 0; } 160 as_fn_ret_failure () { return 1; } 161 162 exitcode=0 163 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169 else 170 exitcode=1; echo positional parameters were not saved. 171 fi 172 test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177 test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180 else 181 as_have_required=no 182 fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185 else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187 as_found=false 188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189 do 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203 fi 204 fi 205 done;; 206 esac 207 as_found=false 208 done 209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212 fi; } 213 IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232 fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242 $0: cforall@plg.uwaterloo.ca about your system, including 243 $0: any error possibly output before this message. Then 244 $0: install a modern shell, or manually run the script 245 $0: under such a shell if you do have one." 246 fi 247 exit 1 248 fi 249 fi 250 fi 251 SHELL=${CONFIG_SHELL-/bin/sh} 252 export SHELL 253 # Unset more variables known to interfere with behavior of common tools. 254 CLICOLOR_FORCE= GREP_OPTIONS= 255 unset CLICOLOR_FORCE GREP_OPTIONS 256 257 ## --------------------- ## 258 ## M4sh Shell Functions. ## 259 ## --------------------- ## 260 # as_fn_unset VAR 261 # --------------- 262 # Portably unset VAR. 263 as_fn_unset () 264 { 265 { eval $1=; unset $1;} 266 } 267 as_unset=as_fn_unset 268 269 # as_fn_set_status STATUS 270 # ----------------------- 271 # Set $? to STATUS, without forking. 272 as_fn_set_status () 273 { 274 return $1 275 } # as_fn_set_status 276 277 # as_fn_exit STATUS 278 # ----------------- 279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280 as_fn_exit () 281 { 282 set +e 283 as_fn_set_status $1 284 exit $1 285 } # as_fn_exit 286 287 # as_fn_mkdir_p 288 # ------------- 289 # Create "$as_dir" as a directory, including parents if necessary. 290 as_fn_mkdir_p () 291 { 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309 $as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333 } # as_fn_mkdir_p 334 # as_fn_append VAR VALUE 335 # ---------------------- 336 # Append the text in VALUE to the end of the definition contained in VAR. Take 337 # advantage of any shell optimizations that allow amortized linear growth over 338 # repeated appends, instead of the typical quadratic growth present in naive 339 # implementations. 340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345 else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350 fi # as_fn_append 351 352 # as_fn_arith ARG... 353 # ------------------ 354 # Perform arithmetic evaluation on the ARGs, and store the result in the 355 # global $as_val. Take advantage of shells that can avoid forks. The arguments 356 # must be portable across $(()) and expr. 357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362 else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367 fi # as_fn_arith 368 369 370 # as_fn_error STATUS ERROR [LINENO LOG_FD] 371 # ---------------------------------------- 372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374 # script with STATUS, using 1 if that was 0. 375 as_fn_error () 376 { 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384 } # as_fn_error 385 386 if expr a : '\(a\)' >/dev/null 2>&1 && 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then 388 as_expr=expr 389 else 390 as_expr=false 391 fi 392 393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 394 as_basename=basename 395 else 396 as_basename=false 397 fi 398 399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401 else 402 as_dirname=false 403 fi 404 405 as_me=`$as_basename -- "$0" || 406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 407 X"$0" : 'X\(//\)$' \| \ 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || 409 $as_echo X/"$0" | 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ 411 s//\1/ 412 q 413 } 414 /^X\/\(\/\/\)$/{ 415 s//\1/ 416 q 417 } 418 /^X\/\(\/\).*/{ 419 s//\1/ 420 q 421 } 422 s/.*/./; q'` 11 423 12 424 # Avoid depending upon Character Ranges. … … 17 429 as_cr_alnum=$as_cr_Letters$as_cr_digits 18 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 437 sed -n ' 438 p 439 /[$]LINENO/= 440 ' <$as_myself | 441 sed ' 442 s/[$]LINENO.*/&-/ 443 t lineno 444 b 445 :lineno 446 N 447 :loop 448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 449 t loop 450 s/-\n.*// 451 ' >$as_me.lineno && 452 chmod +x "$as_me.lineno" || 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 454 455 # Don't try to exec as it changes $[0], causing all sort of problems 456 # (the dirname of $[0] is not the place where we might find the 457 # original and so on. Autoconf is especially sensitive to this). 458 . "./$as_me.lineno" 459 # Exit status is that of the last command. 460 exit 461 } 462 463 ECHO_C= ECHO_N= ECHO_T= 464 case `echo -n x` in #((((( 465 -n*) 466 case `echo 'xy\c'` in 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 471 esac;; 472 *) 473 ECHO_N='-n';; 474 esac 475 476 rm -f conf$$ conf$$.exe conf$$.file 477 if test -d conf$$.dir; then 478 rm -f conf$$.dir/conf$$.file 479 else 480 rm -f conf$$.dir 481 mkdir conf$$.dir 2>/dev/null 482 fi 483 if (echo >conf$$.file) 2>/dev/null; then 484 if ln -s conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s='ln -s' 486 # ... but there are two gotchas: 487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 489 # In both cases, we have to default to `cp -p'. 490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 491 as_ln_s='cp -p' 492 elif ln conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s=ln 494 else 495 as_ln_s='cp -p' 496 fi 497 else 498 as_ln_s='cp -p' 499 fi 500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 501 rmdir conf$$.dir 2>/dev/null 502 503 if mkdir -p . 2>/dev/null; then 504 as_mkdir_p='mkdir -p "$as_dir"' 505 else 506 test -d ./-p && rmdir ./-p 507 as_mkdir_p=false 508 fi 509 510 if test -x / >/dev/null 2>&1; then 511 as_test_x='test -x' 512 else 513 if ls -dL / >/dev/null 2>&1; then 514 as_ls_L_option=L 515 else 516 as_ls_L_option= 517 fi 518 as_test_x=' 519 eval sh -c '\'' 520 if test -d "$1"; then 521 test -d "$1/."; 522 else 523 case $1 in #( 524 -*)set "./$1";; 525 esac; 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 527 ???[sx]*):;;*)false;;esac;fi 528 '\'' sh 529 ' 530 fi 531 as_executable_p=$as_test_x 532 533 # Sed expression to map a string onto a valid CPP name. 534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 535 19 536 # Sed expression to map a string onto a valid variable name. 20 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 21 22 # Sed expression to map a string onto a valid CPP name. 23 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 24 25 # Be Bourne compatible 26 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 27 emulate sh 28 NULLCMD=: 29 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 30 set -o posix 31 fi 32 33 # Name of the executable. 34 as_me=`echo "$0" |sed 's,.*[\\/],,'` 35 36 if expr a : '\(a\)' >/dev/null 2>&1; then 37 as_expr=expr 38 else 39 as_expr=false 40 fi 41 42 rm -f conf$$ conf$$.exe conf$$.file 43 echo >conf$$.file 44 if ln -s conf$$.file conf$$ 2>/dev/null; then 45 # We could just check for DJGPP; but this test a) works b) is more generic 46 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 47 if test -f conf$$.exe; then 48 # Don't use ln at all; we don't have any links 49 as_ln_s='cp -p' 50 else 51 as_ln_s='ln -s' 52 fi 53 elif ln conf$$.file conf$$ 2>/dev/null; then 54 as_ln_s=ln 55 else 56 as_ln_s='cp -p' 57 fi 58 rm -f conf$$ conf$$.exe conf$$.file 59 60 as_executable_p="test -f" 61 62 # Support unset when possible. 63 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 64 as_unset=unset 65 else 66 as_unset=false 67 fi 68 69 # NLS nuisances. 70 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 71 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 72 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 73 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 74 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 75 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 76 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 77 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 78 79 # IFS 80 # We need space, tab and new line, in precisely that order. 81 as_nl=' 82 ' 83 IFS=" $as_nl" 84 85 # CDPATH. 86 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 538 539 540 test -n "$DJDIR" || exec 7<&0 </dev/null 541 exec 6>&1 87 542 88 543 # Name of the host. 89 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 90 545 # so uname gets run too. 91 546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 92 93 exec 6>&194 547 95 548 # … … 97 550 # 98 551 ac_default_prefix=/usr/local 552 ac_clean_files= 553 ac_config_libobj_dir=. 554 LIBOBJS= 99 555 cross_compiling=no 100 556 subdirs= 101 MFLAGS= MAKEFLAGS= 102 SHELL=${CONFIG_SHELL-/bin/sh} 103 104 # Maximum number of lines to put in a shell here document. 105 # This variable seems obsolete. It should probably be removed, and 106 # only ac_max_sed_lines should be used. 107 : ${ac_max_here_lines=38} 557 MFLAGS= 558 MAKEFLAGS= 559 560 # Identity of this package. 561 PACKAGE_NAME='cfa-cc' 562 PACKAGE_TARNAME='cfa-cc' 563 PACKAGE_VERSION='1.0' 564 PACKAGE_STRING='cfa-cc 1.0' 565 PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca' 566 PACKAGE_URL='' 108 567 109 568 ac_unique_file="translator/main.cc" 569 # Factoring default headers for most tests. 570 ac_includes_default="\ 571 #include <stdio.h> 572 #ifdef HAVE_SYS_TYPES_H 573 # include <sys/types.h> 574 #endif 575 #ifdef HAVE_SYS_STAT_H 576 # include <sys/stat.h> 577 #endif 578 #ifdef STDC_HEADERS 579 # include <stdlib.h> 580 # include <stddef.h> 581 #else 582 # ifdef HAVE_STDLIB_H 583 # include <stdlib.h> 584 # endif 585 #endif 586 #ifdef HAVE_STRING_H 587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H 588 # include <memory.h> 589 # endif 590 # include <string.h> 591 #endif 592 #ifdef HAVE_STRINGS_H 593 # include <strings.h> 594 #endif 595 #ifdef HAVE_INTTYPES_H 596 # include <inttypes.h> 597 #endif 598 #ifdef HAVE_STDINT_H 599 # include <stdint.h> 600 #endif 601 #ifdef HAVE_UNISTD_H 602 # include <unistd.h> 603 #endif" 604 605 ac_subst_vars='am__EXEEXT_FALSE 606 am__EXEEXT_TRUE 607 LTLIBOBJS 608 LIBOBJS 609 CFA_LIBDIR 610 CFA_BINDIR 611 CFA_INCDIR 612 CFA_PREFIX 613 CPP_PATH 614 BACKEND_CC 615 GCC_PATH 616 preludedir 617 EGREP 618 GREP 619 CPP 620 LEXLIB 621 LEX_OUTPUT_ROOT 622 LEX 623 am__fastdepCC_FALSE 624 am__fastdepCC_TRUE 625 CCDEPMODE 626 ac_ct_CC 627 CFLAGS 628 CC 629 am__fastdepCXX_FALSE 630 am__fastdepCXX_TRUE 631 CXXDEPMODE 632 am__nodep 633 AMDEPBACKSLASH 634 AMDEP_FALSE 635 AMDEP_TRUE 636 am__quote 637 am__include 638 DEPDIR 639 OBJEXT 640 EXEEXT 641 ac_ct_CXX 642 CPPFLAGS 643 LDFLAGS 644 CXXFLAGS 645 CXX 646 YFLAGS 647 YACC 648 am__untar 649 am__tar 650 AMTAR 651 am__leading_dot 652 SET_MAKE 653 AWK 654 mkdir_p 655 MKDIR_P 656 INSTALL_STRIP_PROGRAM 657 STRIP 658 install_sh 659 MAKEINFO 660 AUTOHEADER 661 AUTOMAKE 662 AUTOCONF 663 ACLOCAL 664 VERSION 665 PACKAGE 666 CYGPATH_W 667 am__isrc 668 INSTALL_DATA 669 INSTALL_SCRIPT 670 INSTALL_PROGRAM 671 target_alias 672 host_alias 673 build_alias 674 LIBS 675 ECHO_T 676 ECHO_N 677 ECHO_C 678 DEFS 679 mandir 680 localedir 681 libdir 682 psdir 683 pdfdir 684 dvidir 685 htmldir 686 infodir 687 docdir 688 oldincludedir 689 includedir 690 localstatedir 691 sharedstatedir 692 sysconfdir 693 datadir 694 datarootdir 695 libexecdir 696 sbindir 697 bindir 698 program_transform_name 699 prefix 700 exec_prefix 701 PACKAGE_URL 702 PACKAGE_BUGREPORT 703 PACKAGE_STRING 704 PACKAGE_VERSION 705 PACKAGE_TARNAME 706 PACKAGE_NAME 707 PATH_SEPARATOR 708 SHELL' 709 ac_subst_files='' 710 ac_user_opts=' 711 enable_option_checking 712 enable_dependency_tracking 713 with_preludedir 714 with_backend_compiler 715 ' 716 ac_precious_vars='build_alias 717 host_alias 718 target_alias 719 YACC 720 YFLAGS 721 CXX 722 CXXFLAGS 723 LDFLAGS 724 LIBS 725 CPPFLAGS 726 CCC 727 CC 728 CFLAGS 729 CPP' 730 110 731 111 732 # Initialize some variables set by options. 112 733 ac_init_help= 113 734 ac_init_version=false 735 ac_unrecognized_opts= 736 ac_unrecognized_sep= 114 737 # The variables have the same names as the options, with 115 738 # dashes changed to underlines. … … 134 757 # by default will actually change. 135 758 # Use braces instead of parens because sh, perl, etc. also accept them. 759 # (The list follows the same order as the GNU Coding Standards.) 136 760 bindir='${exec_prefix}/bin' 137 761 sbindir='${exec_prefix}/sbin' 138 762 libexecdir='${exec_prefix}/libexec' 139 datadir='${prefix}/share' 763 datarootdir='${prefix}/share' 764 datadir='${datarootdir}' 140 765 sysconfdir='${prefix}/etc' 141 766 sharedstatedir='${prefix}/com' 142 767 localstatedir='${prefix}/var' 143 libdir='${exec_prefix}/lib'144 768 includedir='${prefix}/include' 145 769 oldincludedir='/usr/include' 146 infodir='${prefix}/info'147 mandir='${prefix}/man'148 149 # Identity of this package. 150 PACKAGE_NAME='cfa-cc'151 PACKAGE_TARNAME='cfa-cc'152 PACKAGE_VERSION='1.0'153 PACKAGE_STRING='cfa-cc 1.0'154 PACKAGE_BUGREPORT='cforall@plg.uwaterloo.ca'770 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 771 infodir='${datarootdir}/info' 772 htmldir='${docdir}' 773 dvidir='${docdir}' 774 pdfdir='${docdir}' 775 psdir='${docdir}' 776 libdir='${exec_prefix}/lib' 777 localedir='${datarootdir}/locale' 778 mandir='${datarootdir}/man' 155 779 156 780 ac_prev= 781 ac_dashdash= 157 782 for ac_option 158 783 do 159 784 # If the previous option needs an argument, assign it. 160 785 if test -n "$ac_prev"; then 161 eval "$ac_prev=\$ac_option"786 eval $ac_prev=\$ac_option 162 787 ac_prev= 163 788 continue 164 789 fi 165 790 166 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 791 case $ac_option in 792 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 793 *=) ac_optarg= ;; 794 *) ac_optarg=yes ;; 795 esac 167 796 168 797 # Accept the important Cygnus configure options, so we can diagnose typos. 169 798 170 case $ac_option in 799 case $ac_dashdash$ac_option in 800 --) 801 ac_dashdash=yes ;; 171 802 172 803 -bindir | --bindir | --bindi | --bind | --bin | --bi) … … 190 821 cache_file=config.cache ;; 191 822 192 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)823 -datadir | --datadir | --datadi | --datad) 193 824 ac_prev=datadir ;; 194 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 195 | --da=*) 825 -datadir=* | --datadir=* | --datadi=* | --datad=*) 196 826 datadir=$ac_optarg ;; 197 827 828 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 829 | --dataroo | --dataro | --datar) 830 ac_prev=datarootdir ;; 831 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 832 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 833 datarootdir=$ac_optarg ;; 834 198 835 -disable-* | --disable-*) 199 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`836 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 200 837 # Reject names that are not valid shell variable names. 201 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 202 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 203 { (exit 1); exit 1; }; } 204 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 205 eval "enable_$ac_feature=no" ;; 838 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 839 as_fn_error $? "invalid feature name: $ac_useropt" 840 ac_useropt_orig=$ac_useropt 841 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 842 case $ac_user_opts in 843 *" 844 "enable_$ac_useropt" 845 "*) ;; 846 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 847 ac_unrecognized_sep=', ';; 848 esac 849 eval enable_$ac_useropt=no ;; 850 851 -docdir | --docdir | --docdi | --doc | --do) 852 ac_prev=docdir ;; 853 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 854 docdir=$ac_optarg ;; 855 856 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 857 ac_prev=dvidir ;; 858 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 859 dvidir=$ac_optarg ;; 206 860 207 861 -enable-* | --enable-*) 208 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`862 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 209 863 # Reject names that are not valid shell variable names. 210 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 211 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 212 { (exit 1); exit 1; }; } 213 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 214 case $ac_option in 215 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 216 *) ac_optarg=yes ;; 864 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 865 as_fn_error $? "invalid feature name: $ac_useropt" 866 ac_useropt_orig=$ac_useropt 867 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 868 case $ac_user_opts in 869 *" 870 "enable_$ac_useropt" 871 "*) ;; 872 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 873 ac_unrecognized_sep=', ';; 217 874 esac 218 eval "enable_$ac_feature='$ac_optarg'";;875 eval enable_$ac_useropt=\$ac_optarg ;; 219 876 220 877 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 243 900 host_alias=$ac_optarg ;; 244 901 902 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 903 ac_prev=htmldir ;; 904 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 905 | --ht=*) 906 htmldir=$ac_optarg ;; 907 245 908 -includedir | --includedir | --includedi | --included | --include \ 246 909 | --includ | --inclu | --incl | --inc) … … 267 930 libexecdir=$ac_optarg ;; 268 931 932 -localedir | --localedir | --localedi | --localed | --locale) 933 ac_prev=localedir ;; 934 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 935 localedir=$ac_optarg ;; 936 269 937 -localstatedir | --localstatedir | --localstatedi | --localstated \ 270 | --localstate | --localstat | --localsta | --localst \ 271 | --locals | --local | --loca | --loc | --lo) 938 | --localstate | --localstat | --localsta | --localst | --locals) 272 939 ac_prev=localstatedir ;; 273 940 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 274 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 275 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 941 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 276 942 localstatedir=$ac_optarg ;; 277 943 … … 286 952 287 953 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 288 | --no-cr | --no-c )954 | --no-cr | --no-c | -n) 289 955 no_create=yes ;; 290 956 … … 338 1004 program_transform_name=$ac_optarg ;; 339 1005 1006 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1007 ac_prev=pdfdir ;; 1008 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1009 pdfdir=$ac_optarg ;; 1010 1011 -psdir | --psdir | --psdi | --psd | --ps) 1012 ac_prev=psdir ;; 1013 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1014 psdir=$ac_optarg ;; 1015 340 1016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 341 1017 | -silent | --silent | --silen | --sile | --sil) … … 388 1064 389 1065 -with-* | --with-*) 390 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1066 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 391 1067 # Reject names that are not valid shell variable names. 392 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 393 { echo "$as_me: error: invalid package name: $ac_package" >&2 394 { (exit 1); exit 1; }; } 395 ac_package=`echo $ac_package| sed 's/-/_/g'` 396 case $ac_option in 397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 398 *) ac_optarg=yes ;; 1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1069 as_fn_error $? "invalid package name: $ac_useropt" 1070 ac_useropt_orig=$ac_useropt 1071 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1072 case $ac_user_opts in 1073 *" 1074 "with_$ac_useropt" 1075 "*) ;; 1076 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1077 ac_unrecognized_sep=', ';; 399 1078 esac 400 eval "with_$ac_package='$ac_optarg'";;1079 eval with_$ac_useropt=\$ac_optarg ;; 401 1080 402 1081 -without-* | --without-*) 403 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`1082 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 404 1083 # Reject names that are not valid shell variable names. 405 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 406 { echo "$as_me: error: invalid package name: $ac_package" >&2 407 { (exit 1); exit 1; }; } 408 ac_package=`echo $ac_package | sed 's/-/_/g'` 409 eval "with_$ac_package=no" ;; 1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1085 as_fn_error $? "invalid package name: $ac_useropt" 1086 ac_useropt_orig=$ac_useropt 1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1088 case $ac_user_opts in 1089 *" 1090 "with_$ac_useropt" 1091 "*) ;; 1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1093 ac_unrecognized_sep=', ';; 1094 esac 1095 eval with_$ac_useropt=no ;; 410 1096 411 1097 --x) … … 427 1113 x_libraries=$ac_optarg ;; 428 1114 429 -*) { echo "$as_me: error: unrecognized option: $ac_option 430 Try \`$0 --help' for more information." >&2 431 { (exit 1); exit 1; }; } 1115 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1116 Try \`$0 --help' for more information" 432 1117 ;; 433 1118 … … 435 1120 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 436 1121 # Reject names that are not valid shell variable names. 437 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&438 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2439 { (exit 1); exit 1; }; }440 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`441 eval "$ac_envvar='$ac_optarg'"1122 case $ac_envvar in #( 1123 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1124 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1125 esac 1126 eval $ac_envvar=\$ac_optarg 442 1127 export $ac_envvar ;; 443 1128 444 1129 *) 445 1130 # FIXME: should be removed in autoconf 3.0. 446 echo "$as_me: WARNING: you should use --build, --host, --target" >&21131 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 447 1132 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 448 echo "$as_me: WARNING: invalid host type: $ac_option" >&2449 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1133 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1134 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 450 1135 ;; 451 1136 … … 455 1140 if test -n "$ac_prev"; then 456 1141 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 457 { echo "$as_me: error: missing argument to $ac_option" >&2 458 { (exit 1); exit 1; }; } 459 fi 460 461 # Be sure to have absolute paths. 462 for ac_var in exec_prefix prefix 1142 as_fn_error $? "missing argument to $ac_option" 1143 fi 1144 1145 if test -n "$ac_unrecognized_opts"; then 1146 case $enable_option_checking in 1147 no) ;; 1148 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1149 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1150 esac 1151 fi 1152 1153 # Check all directory arguments for consistency. 1154 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1155 datadir sysconfdir sharedstatedir localstatedir includedir \ 1156 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1157 libdir localedir mandir 463 1158 do 464 eval ac_val=$`echo $ac_var` 1159 eval ac_val=\$$ac_var 1160 # Remove trailing slashes. 465 1161 case $ac_val in 466 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;467 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2468 { (exit 1); exit 1; }; };;1162 */ ) 1163 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1164 eval $ac_var=\$ac_val;; 469 1165 esac 470 done 471 472 # Be sure to have absolute paths. 473 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 474 localstatedir libdir includedir oldincludedir infodir mandir 475 do 476 eval ac_val=$`echo $ac_var` 1166 # Be sure to have absolute directory names. 477 1167 case $ac_val in 478 [\\/$]* | ?:[\\/]* ) ;; 479 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 480 { (exit 1); exit 1; }; };; 1168 [\\/$]* | ?:[\\/]* ) continue;; 1169 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 481 1170 esac 1171 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 482 1172 done 483 1173 484 1174 # There might be people who depend on the old broken behavior: `$host' 485 1175 # used to hold the argument of --host etc. 1176 # FIXME: To remove some day. 486 1177 build=$build_alias 487 1178 host=$host_alias 488 1179 target=$target_alias 489 1180 490 # FIXME: should be removed in autoconf 3.0.1181 # FIXME: To remove some day. 491 1182 if test "x$host_alias" != x; then 492 1183 if test "x$build_alias" = x; then 493 1184 cross_compiling=maybe 494 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.495 If a cross compiler is detected then cross compile mode will be used ." >&21185 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1186 If a cross compiler is detected then cross compile mode will be used" >&2 496 1187 elif test "x$build_alias" != "x$host_alias"; then 497 1188 cross_compiling=yes … … 504 1195 test "$silent" = yes && exec 6>/dev/null 505 1196 1197 1198 ac_pwd=`pwd` && test -n "$ac_pwd" && 1199 ac_ls_di=`ls -di .` && 1200 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1201 as_fn_error $? "working directory cannot be determined" 1202 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1203 as_fn_error $? "pwd does not report name of working directory" 1204 1205 506 1206 # Find the source files, if location was not specified. 507 1207 if test -z "$srcdir"; then 508 1208 ac_srcdir_defaulted=yes 509 # Try the directory containing this script, then its parent. 510 ac_prog=$0 511 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 512 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 1209 # Try the directory containing this script, then the parent directory. 1210 ac_confdir=`$as_dirname -- "$as_myself" || 1211 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1212 X"$as_myself" : 'X\(//\)[^/]' \| \ 1213 X"$as_myself" : 'X\(//\)$' \| \ 1214 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1215 $as_echo X"$as_myself" | 1216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1217 s//\1/ 1218 q 1219 } 1220 /^X\(\/\/\)[^/].*/{ 1221 s//\1/ 1222 q 1223 } 1224 /^X\(\/\/\)$/{ 1225 s//\1/ 1226 q 1227 } 1228 /^X\(\/\).*/{ 1229 s//\1/ 1230 q 1231 } 1232 s/.*/./; q'` 513 1233 srcdir=$ac_confdir 514 if test ! -r $srcdir/$ac_unique_file; then1234 if test ! -r "$srcdir/$ac_unique_file"; then 515 1235 srcdir=.. 516 1236 fi … … 518 1238 ac_srcdir_defaulted=no 519 1239 fi 520 if test ! -r $srcdir/$ac_unique_file; then 521 if test "$ac_srcdir_defaulted" = yes; then 522 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 523 { (exit 1); exit 1; }; } 524 else 525 { echo "$as_me: error: cannot find sources in $srcdir" >&2 526 { (exit 1); exit 1; }; } 527 fi 528 fi 529 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 530 ac_env_build_alias_set=${build_alias+set} 531 ac_env_build_alias_value=$build_alias 532 ac_cv_env_build_alias_set=${build_alias+set} 533 ac_cv_env_build_alias_value=$build_alias 534 ac_env_host_alias_set=${host_alias+set} 535 ac_env_host_alias_value=$host_alias 536 ac_cv_env_host_alias_set=${host_alias+set} 537 ac_cv_env_host_alias_value=$host_alias 538 ac_env_target_alias_set=${target_alias+set} 539 ac_env_target_alias_value=$target_alias 540 ac_cv_env_target_alias_set=${target_alias+set} 541 ac_cv_env_target_alias_value=$target_alias 542 ac_env_CXX_set=${CXX+set} 543 ac_env_CXX_value=$CXX 544 ac_cv_env_CXX_set=${CXX+set} 545 ac_cv_env_CXX_value=$CXX 546 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 547 ac_env_CXXFLAGS_value=$CXXFLAGS 548 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 549 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 550 ac_env_LDFLAGS_set=${LDFLAGS+set} 551 ac_env_LDFLAGS_value=$LDFLAGS 552 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 553 ac_cv_env_LDFLAGS_value=$LDFLAGS 554 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 555 ac_env_CPPFLAGS_value=$CPPFLAGS 556 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 557 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 558 ac_env_CC_set=${CC+set} 559 ac_env_CC_value=$CC 560 ac_cv_env_CC_set=${CC+set} 561 ac_cv_env_CC_value=$CC 562 ac_env_CFLAGS_set=${CFLAGS+set} 563 ac_env_CFLAGS_value=$CFLAGS 564 ac_cv_env_CFLAGS_set=${CFLAGS+set} 565 ac_cv_env_CFLAGS_value=$CFLAGS 566 ac_env_CPP_set=${CPP+set} 567 ac_env_CPP_value=$CPP 568 ac_cv_env_CPP_set=${CPP+set} 569 ac_cv_env_CPP_value=$CPP 1240 if test ! -r "$srcdir/$ac_unique_file"; then 1241 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1242 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1243 fi 1244 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1245 ac_abs_confdir=`( 1246 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1247 pwd)` 1248 # When building in place, set srcdir=. 1249 if test "$ac_abs_confdir" = "$ac_pwd"; then 1250 srcdir=. 1251 fi 1252 # Remove unnecessary trailing slashes from srcdir. 1253 # Double slashes in file names in object file debugging info 1254 # mess up M-x gdb in Emacs. 1255 case $srcdir in 1256 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1257 esac 1258 for ac_var in $ac_precious_vars; do 1259 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1260 eval ac_env_${ac_var}_value=\$${ac_var} 1261 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1262 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1263 done 570 1264 571 1265 # … … 575 1269 # Omit some internal or obsolete options to make the list less imposing. 576 1270 # This message is too long to be a string in the A/UX 3.1 sh. 577 cat << EOF1271 cat <<_ACEOF 578 1272 \`configure' configures cfa-cc 1.0 to adapt to many kinds of systems. 579 1273 … … 590 1284 --help=recursive display the short help of all the included packages 591 1285 -V, --version display version information and exit 592 -q, --quiet, --silent do not print \`checking ...' messages1286 -q, --quiet, --silent do not print \`checking ...' messages 593 1287 --cache-file=FILE cache test results in FILE [disabled] 594 1288 -C, --config-cache alias for \`--cache-file=config.cache' … … 596 1290 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 597 1291 598 EOF599 600 cat <<EOF601 1292 Installation directories: 602 1293 --prefix=PREFIX install architecture-independent files in PREFIX … … 613 1304 614 1305 Fine tuning of the installation directories: 615 --bindir=DIR user executables [EPREFIX/bin] 616 --sbindir=DIR system admin executables [EPREFIX/sbin] 617 --libexecdir=DIR program executables [EPREFIX/libexec] 618 --datadir=DIR read-only architecture-independent data [PREFIX/share] 619 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 620 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 621 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 622 --libdir=DIR object code libraries [EPREFIX/lib] 623 --includedir=DIR C header files [PREFIX/include] 624 --oldincludedir=DIR C header files for non-gcc [/usr/include] 625 --infodir=DIR info documentation [PREFIX/info] 626 --mandir=DIR man documentation [PREFIX/man] 627 EOF 628 629 cat <<\EOF 1306 --bindir=DIR user executables [EPREFIX/bin] 1307 --sbindir=DIR system admin executables [EPREFIX/sbin] 1308 --libexecdir=DIR program executables [EPREFIX/libexec] 1309 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1310 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1311 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1312 --libdir=DIR object code libraries [EPREFIX/lib] 1313 --includedir=DIR C header files [PREFIX/include] 1314 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1315 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1316 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1317 --infodir=DIR info documentation [DATAROOTDIR/info] 1318 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1319 --mandir=DIR man documentation [DATAROOTDIR/man] 1320 --docdir=DIR documentation root [DATAROOTDIR/doc/cfa-cc] 1321 --htmldir=DIR html documentation [DOCDIR] 1322 --dvidir=DIR dvi documentation [DOCDIR] 1323 --pdfdir=DIR pdf documentation [DOCDIR] 1324 --psdir=DIR ps documentation [DOCDIR] 1325 _ACEOF 1326 1327 cat <<\_ACEOF 630 1328 631 1329 Program names: … … 633 1331 --program-suffix=SUFFIX append SUFFIX to installed program names 634 1332 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 635 EOF1333 _ACEOF 636 1334 fi 637 1335 … … 640 1338 short | recursive ) echo "Configuration of cfa-cc 1.0:";; 641 1339 esac 642 cat <<\ EOF1340 cat <<\_ACEOF 643 1341 644 1342 Optional Features: 1343 --disable-option-checking ignore unrecognized --enable/--with options 645 1344 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 646 1345 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 647 --disable-dependency-tracking Speeds up one-time builds648 --enable-dependency-tracking Do not reject slow dependency extractors1346 --disable-dependency-tracking speeds up one-time build 1347 --enable-dependency-tracking do not reject slow dependency extractors 649 1348 650 1349 Optional Packages: … … 655 1354 656 1355 Some influential environment variables: 1356 YACC The `Yet Another Compiler Compiler' implementation to use. 1357 Defaults to the first program found out of: `bison -y', `byacc', 1358 `yacc'. 1359 YFLAGS The list of arguments that will be passed by default to $YACC. 1360 This script will default YFLAGS to the empty string to avoid a 1361 default value of `-d' given by some make applications. 657 1362 CXX C++ compiler command 658 1363 CXXFLAGS C++ compiler flags 659 1364 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 660 1365 nonstandard directory <lib dir> 661 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 662 headers in a nonstandard directory <include dir> 1366 LIBS libraries to pass to the linker, e.g. -l<library> 1367 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1368 you have headers in a nonstandard directory <include dir> 663 1369 CC C compiler command 664 1370 CFLAGS C compiler flags … … 669 1375 670 1376 Report bugs to <cforall@plg.uwaterloo.ca>. 671 EOF 1377 _ACEOF 1378 ac_status=$? 672 1379 fi 673 1380 674 1381 if test "$ac_init_help" = "recursive"; then 675 1382 # If there are subdirs, report their specific --help. 676 ac_popdir=`pwd` 677 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 678 cd $ac_subdir 679 # A "../" for each directory in /$ac_subdir. 680 ac_dots=`echo $ac_subdir | 681 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 682 683 case $srcdir in 684 .) # No --srcdir option. We are building in place. 685 ac_sub_srcdir=$srcdir ;; 686 [\\/]* | ?:[\\/]* ) # Absolute path. 687 ac_sub_srcdir=$srcdir/$ac_subdir ;; 688 *) # Relative path. 689 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 690 esac 691 692 # Check for guested configure; otherwise get Cygnus style configure. 693 if test -f $ac_sub_srcdir/configure.gnu; then 694 echo 695 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive 696 elif test -f $ac_sub_srcdir/configure; then 697 echo 698 $SHELL $ac_sub_srcdir/configure --help=recursive 699 elif test -f $ac_sub_srcdir/configure.ac || 700 test -f $ac_sub_srcdir/configure.in; then 701 echo 702 $ac_configure --help 1383 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1384 test -d "$ac_dir" || 1385 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1386 continue 1387 ac_builddir=. 1388 1389 case "$ac_dir" in 1390 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1391 *) 1392 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1393 # A ".." for each directory in $ac_dir_suffix. 1394 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1395 case $ac_top_builddir_sub in 1396 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1397 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1398 esac ;; 1399 esac 1400 ac_abs_top_builddir=$ac_pwd 1401 ac_abs_builddir=$ac_pwd$ac_dir_suffix 1402 # for backward compatibility: 1403 ac_top_builddir=$ac_top_build_prefix 1404 1405 case $srcdir in 1406 .) # We are building in place. 1407 ac_srcdir=. 1408 ac_top_srcdir=$ac_top_builddir_sub 1409 ac_abs_top_srcdir=$ac_pwd ;; 1410 [\\/]* | ?:[\\/]* ) # Absolute name. 1411 ac_srcdir=$srcdir$ac_dir_suffix; 1412 ac_top_srcdir=$srcdir 1413 ac_abs_top_srcdir=$srcdir ;; 1414 *) # Relative name. 1415 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1416 ac_top_srcdir=$ac_top_build_prefix$srcdir 1417 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1418 esac 1419 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1420 1421 cd "$ac_dir" || { ac_status=$?; continue; } 1422 # Check for guested configure. 1423 if test -f "$ac_srcdir/configure.gnu"; then 1424 echo && 1425 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1426 elif test -f "$ac_srcdir/configure"; then 1427 echo && 1428 $SHELL "$ac_srcdir/configure" --help=recursive 703 1429 else 704 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2705 fi 706 cd $ac_popdir1430 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1431 fi || ac_status=$? 1432 cd "$ac_pwd" || { ac_status=$?; break; } 707 1433 done 708 1434 fi 709 1435 710 test -n "$ac_init_help" && exit 01436 test -n "$ac_init_help" && exit $ac_status 711 1437 if $ac_init_version; then 712 cat <<\ EOF1438 cat <<\_ACEOF 713 1439 cfa-cc configure 1.0 714 generated by GNU Autoconf 2.52 715 716 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 717 Free Software Foundation, Inc. 1440 generated by GNU Autoconf 2.68 1441 1442 Copyright (C) 2010 Free Software Foundation, Inc. 718 1443 This configure script is free software; the Free Software Foundation 719 1444 gives unlimited permission to copy, distribute and modify it. 720 EOF 721 exit 0 722 fi 723 exec 5>config.log 724 cat >&5 <<EOF 1445 _ACEOF 1446 exit 1447 fi 1448 1449 ## ------------------------ ## 1450 ## Autoconf initialization. ## 1451 ## ------------------------ ## 1452 1453 # ac_fn_cxx_try_compile LINENO 1454 # ---------------------------- 1455 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1456 ac_fn_cxx_try_compile () 1457 { 1458 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1459 rm -f conftest.$ac_objext 1460 if { { ac_try="$ac_compile" 1461 case "(($ac_try" in 1462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1463 *) ac_try_echo=$ac_try;; 1464 esac 1465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1466 $as_echo "$ac_try_echo"; } >&5 1467 (eval "$ac_compile") 2>conftest.err 1468 ac_status=$? 1469 if test -s conftest.err; then 1470 grep -v '^ *+' conftest.err >conftest.er1 1471 cat conftest.er1 >&5 1472 mv -f conftest.er1 conftest.err 1473 fi 1474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1475 test $ac_status = 0; } && { 1476 test -z "$ac_cxx_werror_flag" || 1477 test ! -s conftest.err 1478 } && test -s conftest.$ac_objext; then : 1479 ac_retval=0 1480 else 1481 $as_echo "$as_me: failed program was:" >&5 1482 sed 's/^/| /' conftest.$ac_ext >&5 1483 1484 ac_retval=1 1485 fi 1486 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1487 as_fn_set_status $ac_retval 1488 1489 } # ac_fn_cxx_try_compile 1490 1491 # ac_fn_c_try_compile LINENO 1492 # -------------------------- 1493 # Try to compile conftest.$ac_ext, and return whether this succeeded. 1494 ac_fn_c_try_compile () 1495 { 1496 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1497 rm -f conftest.$ac_objext 1498 if { { ac_try="$ac_compile" 1499 case "(($ac_try" in 1500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1501 *) ac_try_echo=$ac_try;; 1502 esac 1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1504 $as_echo "$ac_try_echo"; } >&5 1505 (eval "$ac_compile") 2>conftest.err 1506 ac_status=$? 1507 if test -s conftest.err; then 1508 grep -v '^ *+' conftest.err >conftest.er1 1509 cat conftest.er1 >&5 1510 mv -f conftest.er1 conftest.err 1511 fi 1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1513 test $ac_status = 0; } && { 1514 test -z "$ac_c_werror_flag" || 1515 test ! -s conftest.err 1516 } && test -s conftest.$ac_objext; then : 1517 ac_retval=0 1518 else 1519 $as_echo "$as_me: failed program was:" >&5 1520 sed 's/^/| /' conftest.$ac_ext >&5 1521 1522 ac_retval=1 1523 fi 1524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1525 as_fn_set_status $ac_retval 1526 1527 } # ac_fn_c_try_compile 1528 1529 # ac_fn_c_try_link LINENO 1530 # ----------------------- 1531 # Try to link conftest.$ac_ext, and return whether this succeeded. 1532 ac_fn_c_try_link () 1533 { 1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1535 rm -f conftest.$ac_objext conftest$ac_exeext 1536 if { { ac_try="$ac_link" 1537 case "(($ac_try" in 1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1539 *) ac_try_echo=$ac_try;; 1540 esac 1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1542 $as_echo "$ac_try_echo"; } >&5 1543 (eval "$ac_link") 2>conftest.err 1544 ac_status=$? 1545 if test -s conftest.err; then 1546 grep -v '^ *+' conftest.err >conftest.er1 1547 cat conftest.er1 >&5 1548 mv -f conftest.er1 conftest.err 1549 fi 1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1551 test $ac_status = 0; } && { 1552 test -z "$ac_c_werror_flag" || 1553 test ! -s conftest.err 1554 } && test -s conftest$ac_exeext && { 1555 test "$cross_compiling" = yes || 1556 $as_test_x conftest$ac_exeext 1557 }; then : 1558 ac_retval=0 1559 else 1560 $as_echo "$as_me: failed program was:" >&5 1561 sed 's/^/| /' conftest.$ac_ext >&5 1562 1563 ac_retval=1 1564 fi 1565 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1566 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1567 # interfere with the next link command; also delete a directory that is 1568 # left behind by Apple's compiler. We do this before executing the actions. 1569 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1571 as_fn_set_status $ac_retval 1572 1573 } # ac_fn_c_try_link 1574 1575 # ac_fn_c_try_cpp LINENO 1576 # ---------------------- 1577 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1578 ac_fn_c_try_cpp () 1579 { 1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1581 if { { ac_try="$ac_cpp conftest.$ac_ext" 1582 case "(($ac_try" in 1583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1584 *) ac_try_echo=$ac_try;; 1585 esac 1586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1587 $as_echo "$ac_try_echo"; } >&5 1588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1589 ac_status=$? 1590 if test -s conftest.err; then 1591 grep -v '^ *+' conftest.err >conftest.er1 1592 cat conftest.er1 >&5 1593 mv -f conftest.er1 conftest.err 1594 fi 1595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1596 test $ac_status = 0; } > conftest.i && { 1597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1598 test ! -s conftest.err 1599 }; then : 1600 ac_retval=0 1601 else 1602 $as_echo "$as_me: failed program was:" >&5 1603 sed 's/^/| /' conftest.$ac_ext >&5 1604 1605 ac_retval=1 1606 fi 1607 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1608 as_fn_set_status $ac_retval 1609 1610 } # ac_fn_c_try_cpp 1611 1612 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1613 # ------------------------------------------------------- 1614 # Tests whether HEADER exists, giving a warning if it cannot be compiled using 1615 # the include files in INCLUDES and setting the cache variable VAR 1616 # accordingly. 1617 ac_fn_c_check_header_mongrel () 1618 { 1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1620 if eval \${$3+:} false; then : 1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1622 $as_echo_n "checking for $2... " >&6; } 1623 if eval \${$3+:} false; then : 1624 $as_echo_n "(cached) " >&6 1625 fi 1626 eval ac_res=\$$3 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1628 $as_echo "$ac_res" >&6; } 1629 else 1630 # Is the header compilable? 1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1632 $as_echo_n "checking $2 usability... " >&6; } 1633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1634 /* end confdefs.h. */ 1635 $4 1636 #include <$2> 1637 _ACEOF 1638 if ac_fn_c_try_compile "$LINENO"; then : 1639 ac_header_compiler=yes 1640 else 1641 ac_header_compiler=no 1642 fi 1643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1645 $as_echo "$ac_header_compiler" >&6; } 1646 1647 # Is the header present? 1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1649 $as_echo_n "checking $2 presence... " >&6; } 1650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1651 /* end confdefs.h. */ 1652 #include <$2> 1653 _ACEOF 1654 if ac_fn_c_try_cpp "$LINENO"; then : 1655 ac_header_preproc=yes 1656 else 1657 ac_header_preproc=no 1658 fi 1659 rm -f conftest.err conftest.i conftest.$ac_ext 1660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1661 $as_echo "$ac_header_preproc" >&6; } 1662 1663 # So? What about this header? 1664 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1665 yes:no: ) 1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1667 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1669 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1670 ;; 1671 no:yes:* ) 1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1673 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1675 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1677 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1679 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1681 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1682 ( $as_echo "## --------------------------------------- ## 1683 ## Report this to cforall@plg.uwaterloo.ca ## 1684 ## --------------------------------------- ##" 1685 ) | sed "s/^/$as_me: WARNING: /" >&2 1686 ;; 1687 esac 1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1689 $as_echo_n "checking for $2... " >&6; } 1690 if eval \${$3+:} false; then : 1691 $as_echo_n "(cached) " >&6 1692 else 1693 eval "$3=\$ac_header_compiler" 1694 fi 1695 eval ac_res=\$$3 1696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1697 $as_echo "$ac_res" >&6; } 1698 fi 1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1700 1701 } # ac_fn_c_check_header_mongrel 1702 1703 # ac_fn_c_try_run LINENO 1704 # ---------------------- 1705 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1706 # that executables *can* be run. 1707 ac_fn_c_try_run () 1708 { 1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1710 if { { ac_try="$ac_link" 1711 case "(($ac_try" in 1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1713 *) ac_try_echo=$ac_try;; 1714 esac 1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1716 $as_echo "$ac_try_echo"; } >&5 1717 (eval "$ac_link") 2>&5 1718 ac_status=$? 1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1720 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1721 { { case "(($ac_try" in 1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1723 *) ac_try_echo=$ac_try;; 1724 esac 1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1726 $as_echo "$ac_try_echo"; } >&5 1727 (eval "$ac_try") 2>&5 1728 ac_status=$? 1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1730 test $ac_status = 0; }; }; then : 1731 ac_retval=0 1732 else 1733 $as_echo "$as_me: program exited with status $ac_status" >&5 1734 $as_echo "$as_me: failed program was:" >&5 1735 sed 's/^/| /' conftest.$ac_ext >&5 1736 1737 ac_retval=$ac_status 1738 fi 1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1741 as_fn_set_status $ac_retval 1742 1743 } # ac_fn_c_try_run 1744 1745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1746 # ------------------------------------------------------- 1747 # Tests whether HEADER exists and can be compiled using the include files in 1748 # INCLUDES, setting the cache variable VAR accordingly. 1749 ac_fn_c_check_header_compile () 1750 { 1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1753 $as_echo_n "checking for $2... " >&6; } 1754 if eval \${$3+:} false; then : 1755 $as_echo_n "(cached) " >&6 1756 else 1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1758 /* end confdefs.h. */ 1759 $4 1760 #include <$2> 1761 _ACEOF 1762 if ac_fn_c_try_compile "$LINENO"; then : 1763 eval "$3=yes" 1764 else 1765 eval "$3=no" 1766 fi 1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1768 fi 1769 eval ac_res=\$$3 1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1771 $as_echo "$ac_res" >&6; } 1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1773 1774 } # ac_fn_c_check_header_compile 1775 cat >config.log <<_ACEOF 725 1776 This file contains any messages produced by compilers while 726 1777 running configure, to aid debugging if configure makes a mistake. 727 1778 728 1779 It was created by cfa-cc $as_me 1.0, which was 729 generated by GNU Autoconf 2. 52. Invocation command line was1780 generated by GNU Autoconf 2.68. Invocation command line was 730 1781 731 1782 $ $0 $@ 732 1783 733 EOF 1784 _ACEOF 1785 exec 5>>config.log 734 1786 { 735 1787 cat <<_ASUNAME 736 ## --------- -##737 ## Platform. 738 ## --------- -##1788 ## --------- ## 1789 ## Platform. ## 1790 ## --------- ## 739 1791 740 1792 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` … … 750 1802 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 751 1803 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 752 hostinfo = `(hostinfo) 2>/dev/null|| echo unknown`1804 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 753 1805 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 754 1806 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 755 1807 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 756 1808 757 PATH = $PATH758 759 1809 _ASUNAME 1810 1811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1812 for as_dir in $PATH 1813 do 1814 IFS=$as_save_IFS 1815 test -z "$as_dir" && as_dir=. 1816 $as_echo "PATH: $as_dir" 1817 done 1818 IFS=$as_save_IFS 1819 760 1820 } >&5 761 1821 762 cat >&5 <<EOF 763 ## ------------ ## 764 ## Core tests. ## 765 ## ------------ ## 766 767 EOF 1822 cat >&5 <<_ACEOF 1823 1824 1825 ## ----------- ## 1826 ## Core tests. ## 1827 ## ----------- ## 1828 1829 _ACEOF 1830 768 1831 769 1832 # Keep a trace of the command line. 770 1833 # Strip out --no-create and --no-recursion so they do not pile up. 1834 # Strip out --silent because we don't want to record it for future runs. 771 1835 # Also quote any args containing shell meta-characters. 1836 # Make two passes to allow for proper duplicate-argument suppression. 772 1837 ac_configure_args= 773 ac_sep= 774 for ac_arg 1838 ac_configure_args0= 1839 ac_configure_args1= 1840 ac_must_keep_next=false 1841 for ac_pass in 1 2 775 1842 do 776 case $ac_arg in 777 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 778 | --no-cr | --no-c) ;; 779 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 780 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 781 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 782 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 783 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 784 ac_sep=" " ;; 785 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 786 ac_sep=" " ;; 787 esac 788 # Get rid of the leading space. 1843 for ac_arg 1844 do 1845 case $ac_arg in 1846 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1847 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1848 | -silent | --silent | --silen | --sile | --sil) 1849 continue ;; 1850 *\'*) 1851 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1852 esac 1853 case $ac_pass in 1854 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1855 2) 1856 as_fn_append ac_configure_args1 " '$ac_arg'" 1857 if test $ac_must_keep_next = true; then 1858 ac_must_keep_next=false # Got value, back to normal. 1859 else 1860 case $ac_arg in 1861 *=* | --config-cache | -C | -disable-* | --disable-* \ 1862 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1863 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1864 | -with-* | --with-* | -without-* | --without-* | --x) 1865 case "$ac_configure_args0 " in 1866 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1867 esac 1868 ;; 1869 -* ) ac_must_keep_next=true ;; 1870 esac 1871 fi 1872 as_fn_append ac_configure_args " '$ac_arg'" 1873 ;; 1874 esac 1875 done 789 1876 done 1877 { ac_configure_args0=; unset ac_configure_args0;} 1878 { ac_configure_args1=; unset ac_configure_args1;} 790 1879 791 1880 # When interrupted or exit'd, cleanup temporary files, and complete 792 1881 # config.log. We remove comments because anyway the quotes in there 793 1882 # would cause problems or look ugly. 1883 # WARNING: Use '\'' to represent an apostrophe within the trap. 1884 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 794 1885 trap 'exit_status=$? 795 1886 # Save into config.log some information that might help in debugging. 796 echo >&5 797 echo "## ----------------- ##" >&5 798 echo "## Cache variables. ##" >&5 799 echo "## ----------------- ##" >&5 800 echo >&5 801 # The following way of writing the cache mishandles newlines in values, 802 { 1887 { 1888 echo 1889 1890 $as_echo "## ---------------- ## 1891 ## Cache variables. ## 1892 ## ---------------- ##" 1893 echo 1894 # The following way of writing the cache mishandles newlines in values, 1895 ( 1896 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1897 eval ac_val=\$$ac_var 1898 case $ac_val in #( 1899 *${as_nl}*) 1900 case $ac_var in #( 1901 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1902 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1903 esac 1904 case $ac_var in #( 1905 _ | IFS | as_nl) ;; #( 1906 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1907 *) { eval $ac_var=; unset $ac_var;} ;; 1908 esac ;; 1909 esac 1910 done 803 1911 (set) 2>&1 | 804 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in805 * ac_space=\ *)1912 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1913 *${as_nl}ac_space=\ *) 806 1914 sed -n \ 807 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 808 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1915 "s/'\''/'\''\\\\'\'''\''/g; 1916 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1917 ;; #( 1918 *) 1919 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 809 1920 ;; 810 *) 811 sed -n \ 812 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 813 ;; 814 esac; 815 } >&5 816 sed "/^$/d" confdefs.h >conftest.log 817 if test -s conftest.log; then 818 echo >&5 819 echo "## ------------ ##" >&5 820 echo "## confdefs.h. ##" >&5 821 echo "## ------------ ##" >&5 822 echo >&5 823 cat conftest.log >&5 824 fi 825 (echo; echo) >&5 826 test "$ac_signal" != 0 && 827 echo "$as_me: caught signal $ac_signal" >&5 828 echo "$as_me: exit $exit_status" >&5 829 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 1921 esac | 1922 sort 1923 ) 1924 echo 1925 1926 $as_echo "## ----------------- ## 1927 ## Output variables. ## 1928 ## ----------------- ##" 1929 echo 1930 for ac_var in $ac_subst_vars 1931 do 1932 eval ac_val=\$$ac_var 1933 case $ac_val in 1934 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1935 esac 1936 $as_echo "$ac_var='\''$ac_val'\''" 1937 done | sort 1938 echo 1939 1940 if test -n "$ac_subst_files"; then 1941 $as_echo "## ------------------- ## 1942 ## File substitutions. ## 1943 ## ------------------- ##" 1944 echo 1945 for ac_var in $ac_subst_files 1946 do 1947 eval ac_val=\$$ac_var 1948 case $ac_val in 1949 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1950 esac 1951 $as_echo "$ac_var='\''$ac_val'\''" 1952 done | sort 1953 echo 1954 fi 1955 1956 if test -s confdefs.h; then 1957 $as_echo "## ----------- ## 1958 ## confdefs.h. ## 1959 ## ----------- ##" 1960 echo 1961 cat confdefs.h 1962 echo 1963 fi 1964 test "$ac_signal" != 0 && 1965 $as_echo "$as_me: caught signal $ac_signal" 1966 $as_echo "$as_me: exit $exit_status" 1967 } >&5 1968 rm -f core *.core core.conftest.* && 1969 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 830 1970 exit $exit_status 831 1971 ' 0 832 1972 for ac_signal in 1 2 13 15; do 833 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal1973 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 834 1974 done 835 1975 ac_signal=0 836 1976 837 1977 # confdefs.h avoids OS command line length limits that DEFS can exceed. 838 rm -rf conftest* confdefs.h 839 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 840 echo >confdefs.h 1978 rm -f -r conftest* confdefs.h 1979 1980 $as_echo "/* confdefs.h */" > confdefs.h 1981 1982 # Predefined preprocessor variables. 1983 1984 cat >>confdefs.h <<_ACEOF 1985 #define PACKAGE_NAME "$PACKAGE_NAME" 1986 _ACEOF 1987 1988 cat >>confdefs.h <<_ACEOF 1989 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1990 _ACEOF 1991 1992 cat >>confdefs.h <<_ACEOF 1993 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1994 _ACEOF 1995 1996 cat >>confdefs.h <<_ACEOF 1997 #define PACKAGE_STRING "$PACKAGE_STRING" 1998 _ACEOF 1999 2000 cat >>confdefs.h <<_ACEOF 2001 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2002 _ACEOF 2003 2004 cat >>confdefs.h <<_ACEOF 2005 #define PACKAGE_URL "$PACKAGE_URL" 2006 _ACEOF 2007 841 2008 842 2009 # Let the site file select an alternate cache file if it wants to. 843 # Prefer explicitly selected file to automatically selected ones. 844 if test -z "$CONFIG_SITE"; then 845 if test "x$prefix" != xNONE; then 846 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 847 else 848 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 849 fi 850 fi 851 for ac_site_file in $CONFIG_SITE; do 852 if test -r "$ac_site_file"; then 853 { echo "$as_me:853: loading site script $ac_site_file" >&5 854 echo "$as_me: loading site script $ac_site_file" >&6;} 855 cat "$ac_site_file" >&5 856 . "$ac_site_file" 2010 # Prefer an explicitly selected file to automatically selected ones. 2011 ac_site_file1=NONE 2012 ac_site_file2=NONE 2013 if test -n "$CONFIG_SITE"; then 2014 # We do not want a PATH search for config.site. 2015 case $CONFIG_SITE in #(( 2016 -*) ac_site_file1=./$CONFIG_SITE;; 2017 */*) ac_site_file1=$CONFIG_SITE;; 2018 *) ac_site_file1=./$CONFIG_SITE;; 2019 esac 2020 elif test "x$prefix" != xNONE; then 2021 ac_site_file1=$prefix/share/config.site 2022 ac_site_file2=$prefix/etc/config.site 2023 else 2024 ac_site_file1=$ac_default_prefix/share/config.site 2025 ac_site_file2=$ac_default_prefix/etc/config.site 2026 fi 2027 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2028 do 2029 test "x$ac_site_file" = xNONE && continue 2030 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2031 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2032 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 2033 sed 's/^/| /' "$ac_site_file" >&5 2034 . "$ac_site_file" \ 2035 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2037 as_fn_error $? "failed to load site script $ac_site_file 2038 See \`config.log' for more details" "$LINENO" 5; } 857 2039 fi 858 2040 done 859 2041 860 2042 if test -r "$cache_file"; then 861 # Some versions of bash will fail to source /dev/null (special 862 # files actually), so we avoid doing that.863 if test -f "$cache_file"; then864 { echo "$as_me:864: loading cache $cache_file" >&5865 echo "$as_me: loading cache $cache_file" >&6;}2043 # Some versions of bash will fail to source /dev/null (special files 2044 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2045 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2046 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2047 $as_echo "$as_me: loading cache $cache_file" >&6;} 866 2048 case $cache_file in 867 [\\/]* | ?:[\\/]* ) . $cache_file;;868 *) . ./$cache_file;;2049 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2050 *) . "./$cache_file";; 869 2051 esac 870 2052 fi 871 2053 else 872 { echo "$as_me:872: creating cache $cache_file" >&5873 echo "$as_me: creating cache $cache_file" >&6;}2054 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2055 $as_echo "$as_me: creating cache $cache_file" >&6;} 874 2056 >$cache_file 875 2057 fi … … 878 2060 # value. 879 2061 ac_cache_corrupted=false 880 for ac_var in `(set) 2>&1 | 881 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 2062 for ac_var in $ac_precious_vars; do 882 2063 eval ac_old_set=\$ac_cv_env_${ac_var}_set 883 2064 eval ac_new_set=\$ac_env_${ac_var}_set 884 eval ac_old_val= "\$ac_cv_env_${ac_var}_value"885 eval ac_new_val= "\$ac_env_${ac_var}_value"2065 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2066 eval ac_new_val=\$ac_env_${ac_var}_value 886 2067 case $ac_old_set,$ac_new_set in 887 2068 set,) 888 { echo "$as_me:888: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5889 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2069 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2070 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 890 2071 ac_cache_corrupted=: ;; 891 2072 ,set) 892 { echo "$as_me:892: error: \`$ac_var' was not set in the previous run" >&5893 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2073 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2074 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 894 2075 ac_cache_corrupted=: ;; 895 2076 ,);; 896 2077 *) 897 2078 if test "x$ac_old_val" != "x$ac_new_val"; then 898 { echo "$as_me:898: error: \`$ac_var' has changed since the previous run:" >&5 899 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 900 { echo "$as_me:900: former value: $ac_old_val" >&5 901 echo "$as_me: former value: $ac_old_val" >&2;} 902 { echo "$as_me:902: current value: $ac_new_val" >&5 903 echo "$as_me: current value: $ac_new_val" >&2;} 904 ac_cache_corrupted=: 2079 # differences in whitespace do not lead to failure. 2080 ac_old_val_w=`echo x $ac_old_val` 2081 ac_new_val_w=`echo x $ac_new_val` 2082 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2083 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2084 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2085 ac_cache_corrupted=: 2086 else 2087 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2088 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2089 eval $ac_var=\$ac_old_val 2090 fi 2091 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2092 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2093 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2094 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 905 2095 fi;; 906 2096 esac 907 # Pass precious variables to config.status. It doesn't matter if 908 # we pass some twice (in addition to the command line arguments). 2097 # Pass precious variables to config.status. 909 2098 if test "$ac_new_set" = set; then 910 2099 case $ac_new_val in 911 * " "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)912 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`913 ac_configure_args="$ac_configure_args '$ac_arg'"914 ;;915 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"916 ;;2100 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2101 *) ac_arg=$ac_var=$ac_new_val ;; 2102 esac 2103 case " $ac_configure_args " in 2104 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2105 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 917 2106 esac 918 2107 fi 919 2108 done 920 2109 if $ac_cache_corrupted; then 921 { echo "$as_me:921: error: changes in the environment can compromise the build" >&5 922 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 923 { { echo "$as_me:923: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 924 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 925 { (exit 1); exit 1; }; } 926 fi 2110 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2112 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2113 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2114 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2115 fi 2116 ## -------------------- ## 2117 ## Main body of script. ## 2118 ## -------------------- ## 927 2119 928 2120 ac_ext=c … … 932 2124 ac_compiler_gnu=$ac_cv_c_compiler_gnu 933 2125 934 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 935 *c*,-n*) ECHO_N= ECHO_C=' 936 ' ECHO_T=' ' ;; 937 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 938 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 939 esac 940 echo "#! $SHELL" >conftest.sh 941 echo "exit 0" >>conftest.sh 942 chmod +x conftest.sh 943 if { (echo "$as_me:943: PATH=\".;.\"; conftest.sh") >&5 944 (PATH=".;."; conftest.sh) 2>&5 945 ac_status=$? 946 echo "$as_me:946: \$? = $ac_status" >&5 947 (exit $ac_status); }; then 948 ac_path_separator=';' 949 else 950 ac_path_separator=: 951 fi 952 PATH_SEPARATOR="$ac_path_separator" 953 rm -f conftest.sh 954 955 am__api_version="1.6" 2126 2127 2128 2129 am__api_version='1.11' 2130 956 2131 ac_aux_dir= 957 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do958 if test -f $ac_dir/install-sh; then2132 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2133 if test -f "$ac_dir/install-sh"; then 959 2134 ac_aux_dir=$ac_dir 960 2135 ac_install_sh="$ac_aux_dir/install-sh -c" 961 2136 break 962 elif test -f $ac_dir/install.sh; then2137 elif test -f "$ac_dir/install.sh"; then 963 2138 ac_aux_dir=$ac_dir 964 2139 ac_install_sh="$ac_aux_dir/install.sh -c" 965 2140 break 966 elif test -f $ac_dir/shtool; then2141 elif test -f "$ac_dir/shtool"; then 967 2142 ac_aux_dir=$ac_dir 968 2143 ac_install_sh="$ac_aux_dir/shtool install -c" … … 971 2146 done 972 2147 if test -z "$ac_aux_dir"; then 973 { { echo "$as_me:973: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 974 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 975 { (exit 1); exit 1; }; } 976 fi 977 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 978 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 979 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2148 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2149 fi 2150 2151 # These three variables are undocumented and unsupported, 2152 # and are intended to be withdrawn in a future Autoconf release. 2153 # They can cause serious problems if a builder's source tree is in a directory 2154 # whose full name contains unusual characters. 2155 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2156 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2157 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2158 980 2159 981 2160 # Find a good install program. We prefer a C program (faster), … … 990 2169 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 991 2170 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2171 # OS/2's system install, which has a completely different semantic 992 2172 # ./install, which can be erroneously created by make from ./install.sh. 993 echo "$as_me:993: checking for a BSD compatible install" >&5 994 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 2173 # Reject install programs that cannot install multiple files. 2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2175 $as_echo_n "checking for a BSD-compatible install... " >&6; } 995 2176 if test -z "$INSTALL"; then 996 if test "${ac_cv_path_install+set}" = set; then 997 echo $ECHO_N "(cached) $ECHO_C" >&6 998 else 999 ac_save_IFS=$IFS; IFS=$ac_path_separator 1000 for ac_dir in $PATH; do 1001 IFS=$ac_save_IFS 2177 if ${ac_cv_path_install+:} false; then : 2178 $as_echo_n "(cached) " >&6 2179 else 2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2181 for as_dir in $PATH 2182 do 2183 IFS=$as_save_IFS 2184 test -z "$as_dir" && as_dir=. 1002 2185 # Account for people who put trailing slashes in PATH elements. 1003 case $ac_dir/ in 1004 / | ./ | .// | /cC/* \ 1005 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 1006 | /usr/ucb/* ) ;; 1007 *) 1008 # OSF1 and SCO ODT 3.0 have their own names for install. 1009 # Don't use installbsd from OSF since it installs stuff as root 1010 # by default. 1011 for ac_prog in ginstall scoinst install; do 1012 if $as_executable_p "$ac_dir/$ac_prog"; then 2186 case $as_dir/ in #(( 2187 ./ | .// | /[cC]/* | \ 2188 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2189 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2190 /usr/ucb/* ) ;; 2191 *) 2192 # OSF1 and SCO ODT 3.0 have their own names for install. 2193 # Don't use installbsd from OSF since it installs stuff as root 2194 # by default. 2195 for ac_prog in ginstall scoinst install; do 2196 for ac_exec_ext in '' $ac_executable_extensions; do 2197 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1013 2198 if test $ac_prog = install && 1014 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then2199 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1015 2200 # AIX install. It has an incompatible calling convention. 1016 2201 : 1017 2202 elif test $ac_prog = install && 1018 grep pwplus "$a c_dir/$ac_prog" >/dev/null 2>&1; then2203 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1019 2204 # program-specific install script used by HP pwplus--don't use. 1020 2205 : 1021 2206 else 1022 ac_cv_path_install="$ac_dir/$ac_prog -c" 1023 break 2 2207 rm -rf conftest.one conftest.two conftest.dir 2208 echo one > conftest.one 2209 echo two > conftest.two 2210 mkdir conftest.dir 2211 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2212 test -s conftest.one && test -s conftest.two && 2213 test -s conftest.dir/conftest.one && 2214 test -s conftest.dir/conftest.two 2215 then 2216 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2217 break 3 2218 fi 1024 2219 fi 1025 2220 fi 1026 2221 done 1027 ;; 1028 esac 2222 done 2223 ;; 2224 esac 2225 1029 2226 done 2227 IFS=$as_save_IFS 2228 2229 rm -rf conftest.one conftest.two conftest.dir 1030 2230 1031 2231 fi … … 1033 2233 INSTALL=$ac_cv_path_install 1034 2234 else 1035 # As a last resort, use the slow shell script. We don't cache a1036 # pathfor INSTALL within a source directory, because that will2235 # As a last resort, use the slow shell script. Don't cache a 2236 # value for INSTALL within a source directory, because that will 1037 2237 # break other packages using the cache if that directory is 1038 # removed, or if the path is relative.2238 # removed, or if the value is a relative name. 1039 2239 INSTALL=$ac_install_sh 1040 2240 fi 1041 2241 fi 1042 echo "$as_me:1042: result: $INSTALL" >&51043 echo "${ECHO_T}$INSTALL" >&6 2242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2243 $as_echo "$INSTALL" >&6; } 1044 2244 1045 2245 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1051 2251 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1052 2252 1053 echo "$as_me:1053: checking whether build environment is sane" >&51054 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2254 $as_echo_n "checking whether build environment is sane... " >&6; } 1055 2255 # Just in case 1056 2256 sleep 1 1057 2257 echo timestamp > conftest.file 2258 # Reject unsafe characters in $srcdir or the absolute working directory 2259 # name. Accept space and tab only in the latter. 2260 am_lf=' 2261 ' 2262 case `pwd` in 2263 *[\\\"\#\$\&\'\`$am_lf]*) 2264 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2265 esac 2266 case $srcdir in 2267 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2268 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2269 esac 2270 1058 2271 # Do `set' in a subshell so we don't clobber the current shell's 1059 2272 # arguments. Must try -L first in case configure is actually a … … 1062 2275 # directory). 1063 2276 if ( 1064 set X `ls -Lt $srcdir/configureconftest.file 2> /dev/null`2277 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 1065 2278 if test "$*" = "X"; then 1066 2279 # -L didn't work. 1067 set X `ls -t $srcdir/configureconftest.file`2280 set X `ls -t "$srcdir/configure" conftest.file` 1068 2281 fi 1069 2282 rm -f conftest.file … … 1075 2288 # broken ls alias from the environment. This has actually 1076 2289 # happened. Such a system could not be considered "sane". 1077 { { echo "$as_me:1077: error: ls -t appears to fail. Make sure there is not a broken 1078 alias in your environment" >&5 1079 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1080 alias in your environment" >&2;} 1081 { (exit 1); exit 1; }; } 2290 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2291 alias in your environment" "$LINENO" 5 1082 2292 fi 1083 2293 … … 1088 2298 : 1089 2299 else 1090 { { echo "$as_me:1090: error: newly created file is older than distributed files! 1091 Check your system clock" >&5 1092 echo "$as_me: error: newly created file is older than distributed files! 1093 Check your system clock" >&2;} 1094 { (exit 1); exit 1; }; } 1095 fi 1096 echo "$as_me:1096: result: yes" >&5 1097 echo "${ECHO_T}yes" >&6 2300 as_fn_error $? "newly created file is older than distributed files! 2301 Check your system clock" "$LINENO" 5 2302 fi 2303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2304 $as_echo "yes" >&6; } 1098 2305 test "$program_prefix" != NONE && 1099 program_transform_name="s ,^,$program_prefix,;$program_transform_name"2306 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1100 2307 # Use a double $ so make ignores it. 1101 2308 test "$program_suffix" != NONE && 1102 program_transform_name="s ,\$,$program_suffix,;$program_transform_name"1103 # Double any \ or $. echo might interpret backslashes.2309 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2310 # Double any \ or $. 1104 2311 # By default was `s,x,x', remove it if useless. 1105 cat <<\_ACEOF >conftest.sed 1106 s/[\\$]/&&/g;s/;s,x,x,$// 1107 _ACEOF 1108 program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1109 rm conftest.sed 2312 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2313 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 1110 2314 1111 2315 # expand $ac_aux_dir to an absolute path 1112 2316 am_aux_dir=`cd $ac_aux_dir && pwd` 1113 2317 1114 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2318 if test x"${MISSING+set}" != xset; then 2319 case $am_aux_dir in 2320 *\ * | *\ *) 2321 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2322 *) 2323 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2324 esac 2325 fi 1115 2326 # Use eval to expand $SHELL 1116 2327 if eval "$MISSING --run true"; then … … 1118 2329 else 1119 2330 am_missing_run= 1120 { echo "$as_me:1120: WARNING: \`missing' script is too old or missing" >&5 1121 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1122 fi 1123 1124 for ac_prog in mawk gawk nawk awk 1125 do 1126 # Extract the first word of "$ac_prog", so it can be a program name with args. 1127 set dummy $ac_prog; ac_word=$2 1128 echo "$as_me:1128: checking for $ac_word" >&5 1129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1130 if test "${ac_cv_prog_AWK+set}" = set; then 1131 echo $ECHO_N "(cached) $ECHO_C" >&6 1132 else 1133 if test -n "$AWK"; then 1134 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1135 else 1136 ac_save_IFS=$IFS; IFS=$ac_path_separator 1137 ac_dummy="$PATH" 1138 for ac_dir in $ac_dummy; do 1139 IFS=$ac_save_IFS 1140 test -z "$ac_dir" && ac_dir=. 1141 $as_executable_p "$ac_dir/$ac_word" || continue 1142 ac_cv_prog_AWK="$ac_prog" 1143 echo "$as_me:1143: found $ac_dir/$ac_word" >&5 1144 break 1145 done 1146 1147 fi 1148 fi 1149 AWK=$ac_cv_prog_AWK 1150 if test -n "$AWK"; then 1151 echo "$as_me:1151: result: $AWK" >&5 1152 echo "${ECHO_T}$AWK" >&6 1153 else 1154 echo "$as_me:1154: result: no" >&5 1155 echo "${ECHO_T}no" >&6 1156 fi 1157 1158 test -n "$AWK" && break 1159 done 1160 1161 echo "$as_me:1161: checking whether ${MAKE-make} sets \${MAKE}" >&5 1162 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 1163 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1164 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1165 echo $ECHO_N "(cached) $ECHO_C" >&6 1166 else 1167 cat >conftest.make <<\EOF 1168 all: 1169 @echo 'ac_maketemp="${MAKE}"' 1170 EOF 1171 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1172 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1173 if test -n "$ac_maketemp"; then 1174 eval ac_cv_prog_make_${ac_make}_set=yes 1175 else 1176 eval ac_cv_prog_make_${ac_make}_set=no 1177 fi 1178 rm -f conftest.make 1179 fi 1180 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1181 echo "$as_me:1181: result: yes" >&5 1182 echo "${ECHO_T}yes" >&6 1183 SET_MAKE= 1184 else 1185 echo "$as_me:1185: result: no" >&5 1186 echo "${ECHO_T}no" >&6 1187 SET_MAKE="MAKE=${MAKE-make}" 1188 fi 1189 1190 # test to see if srcdir already configured 1191 if test "`cd $srcdir && pwd`" != "`pwd`" && 1192 test -f $srcdir/config.status; then 1193 { { echo "$as_me:1193: error: source directory already configured; run \"make distclean\" there first" >&5 1194 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1195 { (exit 1); exit 1; }; } 1196 fi 1197 1198 # Define the identity of the package. 1199 PACKAGE=cfa 1200 VERSION=1.0 1201 1202 cat >>confdefs.h <<EOF 1203 #define PACKAGE "$PACKAGE" 1204 EOF 1205 1206 cat >>confdefs.h <<EOF 1207 #define VERSION "$VERSION" 1208 EOF 1209 1210 # Some tools Automake needs. 1211 1212 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1213 1214 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1215 1216 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1217 1218 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1219 1220 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1221 1222 AMTAR=${AMTAR-"${am_missing_run}tar"} 1223 1224 install_sh=${install_sh-"$am_aux_dir/install-sh"} 2331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2332 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2333 fi 2334 2335 if test x"${install_sh}" != xset; then 2336 case $am_aux_dir in 2337 *\ * | *\ *) 2338 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2339 *) 2340 install_sh="\${SHELL} $am_aux_dir/install-sh" 2341 esac 2342 fi 1225 2343 1226 2344 # Installed binaries are usually stripped using `strip' when the user … … 1232 2350 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1233 2351 set dummy ${ac_tool_prefix}strip; ac_word=$2 1234 echo "$as_me:1234: checking for $ac_word" >&51235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1236 if test "${ac_cv_prog_STRIP+set}" = set; then1237 echo $ECHO_N "(cached) $ECHO_C" >&62352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2353 $as_echo_n "checking for $ac_word... " >&6; } 2354 if ${ac_cv_prog_STRIP+:} false; then : 2355 $as_echo_n "(cached) " >&6 1238 2356 else 1239 2357 if test -n "$STRIP"; then 1240 2358 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1241 2359 else 1242 ac_save_IFS=$IFS; IFS=$ac_path_separator 1243 ac_dummy="$PATH" 1244 for ac_dir in $ac_dummy; do 1245 IFS=$ac_save_IFS 1246 test -z "$ac_dir" && ac_dir=. 1247 $as_executable_p "$ac_dir/$ac_word" || continue 1248 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1249 echo "$as_me:1249: found $ac_dir/$ac_word" >&5 1250 break 2360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2361 for as_dir in $PATH 2362 do 2363 IFS=$as_save_IFS 2364 test -z "$as_dir" && as_dir=. 2365 for ac_exec_ext in '' $ac_executable_extensions; do 2366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2367 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2369 break 2 2370 fi 1251 2371 done 2372 done 2373 IFS=$as_save_IFS 1252 2374 1253 2375 fi … … 1255 2377 STRIP=$ac_cv_prog_STRIP 1256 2378 if test -n "$STRIP"; then 1257 echo "$as_me:1257: result: $STRIP" >&5 1258 echo "${ECHO_T}$STRIP" >&6 1259 else 1260 echo "$as_me:1260: result: no" >&5 1261 echo "${ECHO_T}no" >&6 1262 fi 2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2380 $as_echo "$STRIP" >&6; } 2381 else 2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2383 $as_echo "no" >&6; } 2384 fi 2385 1263 2386 1264 2387 fi … … 1267 2390 # Extract the first word of "strip", so it can be a program name with args. 1268 2391 set dummy strip; ac_word=$2 1269 echo "$as_me:1269: checking for $ac_word" >&51270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1271 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then1272 echo $ECHO_N "(cached) $ECHO_C" >&62392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2393 $as_echo_n "checking for $ac_word... " >&6; } 2394 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2395 $as_echo_n "(cached) " >&6 1273 2396 else 1274 2397 if test -n "$ac_ct_STRIP"; then 1275 2398 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1276 2399 else 1277 ac_save_IFS=$IFS; IFS=$ac_path_separator 1278 ac_dummy="$PATH" 1279 for ac_dir in $ac_dummy; do 1280 IFS=$ac_save_IFS 1281 test -z "$ac_dir" && ac_dir=. 1282 $as_executable_p "$ac_dir/$ac_word" || continue 1283 ac_cv_prog_ac_ct_STRIP="strip" 1284 echo "$as_me:1284: found $ac_dir/$ac_word" >&5 1285 break 2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2401 for as_dir in $PATH 2402 do 2403 IFS=$as_save_IFS 2404 test -z "$as_dir" && as_dir=. 2405 for ac_exec_ext in '' $ac_executable_extensions; do 2406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2407 ac_cv_prog_ac_ct_STRIP="strip" 2408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2409 break 2 2410 fi 1286 2411 done 1287 1288 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 2412 done 2413 IFS=$as_save_IFS 2414 1289 2415 fi 1290 2416 fi 1291 2417 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1292 2418 if test -n "$ac_ct_STRIP"; then 1293 echo "$as_me:1293: result: $ac_ct_STRIP" >&5 1294 echo "${ECHO_T}$ac_ct_STRIP" >&6 1295 else 1296 echo "$as_me:1296: result: no" >&5 1297 echo "${ECHO_T}no" >&6 1298 fi 1299 1300 STRIP=$ac_ct_STRIP 2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2420 $as_echo "$ac_ct_STRIP" >&6; } 2421 else 2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2423 $as_echo "no" >&6; } 2424 fi 2425 2426 if test "x$ac_ct_STRIP" = x; then 2427 STRIP=":" 2428 else 2429 case $cross_compiling:$ac_tool_warned in 2430 yes:) 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2433 ac_tool_warned=yes ;; 2434 esac 2435 STRIP=$ac_ct_STRIP 2436 fi 1301 2437 else 1302 2438 STRIP="$ac_cv_prog_STRIP" … … 1304 2440 1305 2441 fi 1306 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 2442 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2443 2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2445 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2446 if test -z "$MKDIR_P"; then 2447 if ${ac_cv_path_mkdir+:} false; then : 2448 $as_echo_n "(cached) " >&6 2449 else 2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2451 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2452 do 2453 IFS=$as_save_IFS 2454 test -z "$as_dir" && as_dir=. 2455 for ac_prog in mkdir gmkdir; do 2456 for ac_exec_ext in '' $ac_executable_extensions; do 2457 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2458 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2459 'mkdir (GNU coreutils) '* | \ 2460 'mkdir (coreutils) '* | \ 2461 'mkdir (fileutils) '4.1*) 2462 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2463 break 3;; 2464 esac 2465 done 2466 done 2467 done 2468 IFS=$as_save_IFS 2469 2470 fi 2471 2472 test -d ./--version && rmdir ./--version 2473 if test "${ac_cv_path_mkdir+set}" = set; then 2474 MKDIR_P="$ac_cv_path_mkdir -p" 2475 else 2476 # As a last resort, use the slow shell script. Don't cache a 2477 # value for MKDIR_P within a source directory, because that will 2478 # break other packages using the cache if that directory is 2479 # removed, or if the value is a relative name. 2480 MKDIR_P="$ac_install_sh -d" 2481 fi 2482 fi 2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2484 $as_echo "$MKDIR_P" >&6; } 2485 2486 mkdir_p="$MKDIR_P" 2487 case $mkdir_p in 2488 [\\/$]* | ?:[\\/]*) ;; 2489 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2490 esac 2491 2492 for ac_prog in gawk mawk nawk awk 2493 do 2494 # Extract the first word of "$ac_prog", so it can be a program name with args. 2495 set dummy $ac_prog; ac_word=$2 2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2497 $as_echo_n "checking for $ac_word... " >&6; } 2498 if ${ac_cv_prog_AWK+:} false; then : 2499 $as_echo_n "(cached) " >&6 2500 else 2501 if test -n "$AWK"; then 2502 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2503 else 2504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2505 for as_dir in $PATH 2506 do 2507 IFS=$as_save_IFS 2508 test -z "$as_dir" && as_dir=. 2509 for ac_exec_ext in '' $ac_executable_extensions; do 2510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2511 ac_cv_prog_AWK="$ac_prog" 2512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2513 break 2 2514 fi 2515 done 2516 done 2517 IFS=$as_save_IFS 2518 2519 fi 2520 fi 2521 AWK=$ac_cv_prog_AWK 2522 if test -n "$AWK"; then 2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2524 $as_echo "$AWK" >&6; } 2525 else 2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2527 $as_echo "no" >&6; } 2528 fi 2529 2530 2531 test -n "$AWK" && break 2532 done 2533 2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2535 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2536 set x ${MAKE-make} 2537 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2538 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2539 $as_echo_n "(cached) " >&6 2540 else 2541 cat >conftest.make <<\_ACEOF 2542 SHELL = /bin/sh 2543 all: 2544 @echo '@@@%%%=$(MAKE)=@@@%%%' 2545 _ACEOF 2546 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2547 case `${MAKE-make} -f conftest.make 2>/dev/null` in 2548 *@@@%%%=?*=@@@%%%*) 2549 eval ac_cv_prog_make_${ac_make}_set=yes;; 2550 *) 2551 eval ac_cv_prog_make_${ac_make}_set=no;; 2552 esac 2553 rm -f conftest.make 2554 fi 2555 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2557 $as_echo "yes" >&6; } 2558 SET_MAKE= 2559 else 2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2561 $as_echo "no" >&6; } 2562 SET_MAKE="MAKE=${MAKE-make}" 2563 fi 2564 2565 rm -rf .tst 2>/dev/null 2566 mkdir .tst 2>/dev/null 2567 if test -d .tst; then 2568 am__leading_dot=. 2569 else 2570 am__leading_dot=_ 2571 fi 2572 rmdir .tst 2>/dev/null 2573 2574 if test "`cd $srcdir && pwd`" != "`pwd`"; then 2575 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2576 # is not polluted with repeated "-I." 2577 am__isrc=' -I$(srcdir)' 2578 # test to see if srcdir already configured 2579 if test -f $srcdir/config.status; then 2580 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2581 fi 2582 fi 2583 2584 # test whether we have cygpath 2585 if test -z "$CYGPATH_W"; then 2586 if (cygpath --version) >/dev/null 2>/dev/null; then 2587 CYGPATH_W='cygpath -w' 2588 else 2589 CYGPATH_W=echo 2590 fi 2591 fi 2592 2593 2594 # Define the identity of the package. 2595 PACKAGE=cfa 2596 VERSION=1.0 2597 2598 2599 cat >>confdefs.h <<_ACEOF 2600 #define PACKAGE "$PACKAGE" 2601 _ACEOF 2602 2603 2604 cat >>confdefs.h <<_ACEOF 2605 #define VERSION "$VERSION" 2606 _ACEOF 2607 2608 # Some tools Automake needs. 2609 2610 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2611 2612 2613 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2614 2615 2616 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2617 2618 2619 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2620 2621 2622 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1307 2623 1308 2624 # We need awk for the "check" target. The system "awk" is bad on 1309 2625 # some platforms. 1310 1311 # Add the stamp file to the list of files AC keeps track of, 1312 # along with our hook. 2626 # Always define AMTAR for backward compatibility. Yes, it's still used 2627 # in the wild :-( We should find a proper way to deprecate it ... 2628 AMTAR='$${TAR-tar}' 2629 2630 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2631 2632 2633 2634 2635 1313 2636 ac_config_headers="$ac_config_headers config.h" 2637 1314 2638 1315 2639 for ac_prog in 'bison -y' byacc … … 1317 2641 # Extract the first word of "$ac_prog", so it can be a program name with args. 1318 2642 set dummy $ac_prog; ac_word=$2 1319 echo "$as_me:1319: checking for $ac_word" >&51320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1321 if test "${ac_cv_prog_YACC+set}" = set; then1322 echo $ECHO_N "(cached) $ECHO_C" >&62643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2644 $as_echo_n "checking for $ac_word... " >&6; } 2645 if ${ac_cv_prog_YACC+:} false; then : 2646 $as_echo_n "(cached) " >&6 1323 2647 else 1324 2648 if test -n "$YACC"; then 1325 2649 ac_cv_prog_YACC="$YACC" # Let the user override the test. 1326 2650 else 1327 ac_save_IFS=$IFS; IFS=$ac_path_separator 1328 ac_dummy="$PATH" 1329 for ac_dir in $ac_dummy; do 1330 IFS=$ac_save_IFS 1331 test -z "$ac_dir" && ac_dir=. 1332 $as_executable_p "$ac_dir/$ac_word" || continue 1333 ac_cv_prog_YACC="$ac_prog" 1334 echo "$as_me:1334: found $ac_dir/$ac_word" >&5 1335 break 2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2652 for as_dir in $PATH 2653 do 2654 IFS=$as_save_IFS 2655 test -z "$as_dir" && as_dir=. 2656 for ac_exec_ext in '' $ac_executable_extensions; do 2657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2658 ac_cv_prog_YACC="$ac_prog" 2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2660 break 2 2661 fi 1336 2662 done 2663 done 2664 IFS=$as_save_IFS 1337 2665 1338 2666 fi … … 1340 2668 YACC=$ac_cv_prog_YACC 1341 2669 if test -n "$YACC"; then 1342 echo "$as_me:1342: result: $YACC" >&5 1343 echo "${ECHO_T}$YACC" >&6 1344 else 1345 echo "$as_me:1345: result: no" >&5 1346 echo "${ECHO_T}no" >&6 1347 fi 2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5 2671 $as_echo "$YACC" >&6; } 2672 else 2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2674 $as_echo "no" >&6; } 2675 fi 2676 1348 2677 1349 2678 test -n "$YACC" && break … … 1351 2680 test -n "$YACC" || YACC="yacc" 1352 2681 1353 ac_ext=c c2682 ac_ext=cpp 1354 2683 ac_cpp='$CXXCPP $CPPFLAGS' 1355 2684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1356 2685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1357 2686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1358 if test -n "$ac_tool_prefix"; then 1359 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2687 if test -z "$CXX"; then 2688 if test -n "$CCC"; then 2689 CXX=$CCC 2690 else 2691 if test -n "$ac_tool_prefix"; then 2692 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1360 2693 do 1361 2694 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1362 2695 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1363 echo "$as_me:1363: checking for $ac_word" >&51364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1365 if test "${ac_cv_prog_CXX+set}" = set; then1366 echo $ECHO_N "(cached) $ECHO_C" >&62696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2697 $as_echo_n "checking for $ac_word... " >&6; } 2698 if ${ac_cv_prog_CXX+:} false; then : 2699 $as_echo_n "(cached) " >&6 1367 2700 else 1368 2701 if test -n "$CXX"; then 1369 2702 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1370 2703 else 1371 ac_save_IFS=$IFS; IFS=$ac_path_separator 1372 ac_dummy="$PATH" 1373 for ac_dir in $ac_dummy; do 1374 IFS=$ac_save_IFS 1375 test -z "$ac_dir" && ac_dir=. 1376 $as_executable_p "$ac_dir/$ac_word" || continue 1377 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1378 echo "$as_me:1378: found $ac_dir/$ac_word" >&5 1379 break 2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2705 for as_dir in $PATH 2706 do 2707 IFS=$as_save_IFS 2708 test -z "$as_dir" && as_dir=. 2709 for ac_exec_ext in '' $ac_executable_extensions; do 2710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2711 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2713 break 2 2714 fi 1380 2715 done 2716 done 2717 IFS=$as_save_IFS 1381 2718 1382 2719 fi … … 1384 2721 CXX=$ac_cv_prog_CXX 1385 2722 if test -n "$CXX"; then 1386 echo "$as_me:1386: result: $CXX" >&5 1387 echo "${ECHO_T}$CXX" >&6 1388 else 1389 echo "$as_me:1389: result: no" >&5 1390 echo "${ECHO_T}no" >&6 1391 fi 2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 2724 $as_echo "$CXX" >&6; } 2725 else 2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2727 $as_echo "no" >&6; } 2728 fi 2729 1392 2730 1393 2731 test -n "$CXX" && break … … 1396 2734 if test -z "$CXX"; then 1397 2735 ac_ct_CXX=$CXX 1398 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ clFCC KCC RCC xlC_r xlC2736 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1399 2737 do 1400 2738 # Extract the first word of "$ac_prog", so it can be a program name with args. 1401 2739 set dummy $ac_prog; ac_word=$2 1402 echo "$as_me:1402: checking for $ac_word" >&51403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1404 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then1405 echo $ECHO_N "(cached) $ECHO_C" >&62740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2741 $as_echo_n "checking for $ac_word... " >&6; } 2742 if ${ac_cv_prog_ac_ct_CXX+:} false; then : 2743 $as_echo_n "(cached) " >&6 1406 2744 else 1407 2745 if test -n "$ac_ct_CXX"; then 1408 2746 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1409 2747 else 1410 ac_save_IFS=$IFS; IFS=$ac_path_separator 1411 ac_dummy="$PATH" 1412 for ac_dir in $ac_dummy; do 1413 IFS=$ac_save_IFS 1414 test -z "$ac_dir" && ac_dir=. 1415 $as_executable_p "$ac_dir/$ac_word" || continue 1416 ac_cv_prog_ac_ct_CXX="$ac_prog" 1417 echo "$as_me:1417: found $ac_dir/$ac_word" >&5 1418 break 2748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2749 for as_dir in $PATH 2750 do 2751 IFS=$as_save_IFS 2752 test -z "$as_dir" && as_dir=. 2753 for ac_exec_ext in '' $ac_executable_extensions; do 2754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2755 ac_cv_prog_ac_ct_CXX="$ac_prog" 2756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2757 break 2 2758 fi 1419 2759 done 2760 done 2761 IFS=$as_save_IFS 1420 2762 1421 2763 fi … … 1423 2765 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1424 2766 if test -n "$ac_ct_CXX"; then 1425 echo "$as_me:1425: result: $ac_ct_CXX" >&5 1426 echo "${ECHO_T}$ac_ct_CXX" >&6 1427 else 1428 echo "$as_me:1428: result: no" >&5 1429 echo "${ECHO_T}no" >&6 1430 fi 2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 2768 $as_echo "$ac_ct_CXX" >&6; } 2769 else 2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2771 $as_echo "no" >&6; } 2772 fi 2773 1431 2774 1432 2775 test -n "$ac_ct_CXX" && break 1433 2776 done 1434 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 1435 1436 CXX=$ac_ct_CXX 1437 fi 1438 2777 2778 if test "x$ac_ct_CXX" = x; then 2779 CXX="g++" 2780 else 2781 case $cross_compiling:$ac_tool_warned in 2782 yes:) 2783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2785 ac_tool_warned=yes ;; 2786 esac 2787 CXX=$ac_ct_CXX 2788 fi 2789 fi 2790 2791 fi 2792 fi 1439 2793 # Provide some information about the compiler. 1440 echo "$as_me:1440:" \ 1441 "checking for C++ compiler version" >&5 1442 ac_compiler=`set X $ac_compile; echo $2` 1443 { (eval echo "$as_me:1443: \"$ac_compiler --version </dev/null >&5\"") >&5 1444 (eval $ac_compiler --version </dev/null >&5) 2>&5 2794 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 2795 set X $ac_compile 2796 ac_compiler=$2 2797 for ac_option in --version -v -V -qversion; do 2798 { { ac_try="$ac_compiler $ac_option >&5" 2799 case "(($ac_try" in 2800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2801 *) ac_try_echo=$ac_try;; 2802 esac 2803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2804 $as_echo "$ac_try_echo"; } >&5 2805 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1445 2806 ac_status=$? 1446 echo "$as_me:1446: \$? = $ac_status" >&5 1447 (exit $ac_status); } 1448 { (eval echo "$as_me:1448: \"$ac_compiler -v </dev/null >&5\"") >&5 1449 (eval $ac_compiler -v </dev/null >&5) 2>&5 1450 ac_status=$? 1451 echo "$as_me:1451: \$? = $ac_status" >&5 1452 (exit $ac_status); } 1453 { (eval echo "$as_me:1453: \"$ac_compiler -V </dev/null >&5\"") >&5 1454 (eval $ac_compiler -V </dev/null >&5) 2>&5 1455 ac_status=$? 1456 echo "$as_me:1456: \$? = $ac_status" >&5 1457 (exit $ac_status); } 1458 1459 cat >conftest.$ac_ext <<_ACEOF 1460 #line 1460 "configure" 1461 #include "confdefs.h" 2807 if test -s conftest.err; then 2808 sed '10a\ 2809 ... rest of stderr output deleted ... 2810 10q' conftest.err >conftest.er1 2811 cat conftest.er1 >&5 2812 fi 2813 rm -f conftest.er1 conftest.err 2814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2815 test $ac_status = 0; } 2816 done 2817 2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2819 /* end confdefs.h. */ 1462 2820 1463 2821 int … … 1470 2828 _ACEOF 1471 2829 ac_clean_files_save=$ac_clean_files 1472 ac_clean_files="$ac_clean_files a.out a. exe"2830 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1473 2831 # Try to create an executable without -o first, disregard a.out. 1474 2832 # It will help us diagnose broken compilers, and finding out an intuition 1475 2833 # of exeext. 1476 echo "$as_me:1476: checking for C++ compiler default output" >&5 1477 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6 1478 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1479 if { (eval echo "$as_me:1479: \"$ac_link_default\"") >&5 1480 (eval $ac_link_default) 2>&5 2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 2835 $as_echo_n "checking whether the C++ compiler works... " >&6; } 2836 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2837 2838 # The possible output files: 2839 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2840 2841 ac_rmfiles= 2842 for ac_file in $ac_files 2843 do 2844 case $ac_file in 2845 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2846 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2847 esac 2848 done 2849 rm -f $ac_rmfiles 2850 2851 if { { ac_try="$ac_link_default" 2852 case "(($ac_try" in 2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2854 *) ac_try_echo=$ac_try;; 2855 esac 2856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2857 $as_echo "$ac_try_echo"; } >&5 2858 (eval "$ac_link_default") 2>&5 1481 2859 ac_status=$? 1482 echo "$as_me:1482: \$? = $ac_status" >&5 1483 (exit $ac_status); }; then 1484 # Find the output, starting from the most likely. This scheme is 1485 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1486 # resort. 1487 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 1488 ls a.out conftest 2>/dev/null; 1489 ls a.* conftest.* 2>/dev/null`; do 2860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2861 test $ac_status = 0; }; then : 2862 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2863 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2864 # in a Makefile. We should not override ac_cv_exeext if it was cached, 2865 # so that the user can short-circuit this test for compilers unknown to 2866 # Autoconf. 2867 for ac_file in $ac_files '' 2868 do 2869 test -f "$ac_file" || continue 1490 2870 case $ac_file in 1491 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1492 a.out ) # We found the default executable, but exeext='' is most 1493 # certainly right. 1494 break;; 2871 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2872 ;; 2873 [ab].out ) 2874 # We found the default executable, but exeext='' is most 2875 # certainly right. 2876 break;; 2877 *.* ) 2878 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2879 then :; else 2880 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2881 fi 2882 # We set ac_cv_exeext here because the later test for it is not 2883 # safe: cross compilers may not add the suffix if given an `-o' 2884 # argument, so we may need to know it at that point already. 2885 # Even if this section looks crufty: it has the advantage of 2886 # actually working. 2887 break;; 2888 * ) 2889 break;; 2890 esac 2891 done 2892 test "$ac_cv_exeext" = no && ac_cv_exeext= 2893 2894 else 2895 ac_file='' 2896 fi 2897 if test -z "$ac_file"; then : 2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2899 $as_echo "no" >&6; } 2900 $as_echo "$as_me: failed program was:" >&5 2901 sed 's/^/| /' conftest.$ac_ext >&5 2902 2903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2905 as_fn_error 77 "C++ compiler cannot create executables 2906 See \`config.log' for more details" "$LINENO" 5; } 2907 else 2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2909 $as_echo "yes" >&6; } 2910 fi 2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 2912 $as_echo_n "checking for C++ compiler default output file name... " >&6; } 2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2914 $as_echo "$ac_file" >&6; } 2915 ac_exeext=$ac_cv_exeext 2916 2917 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2918 ac_clean_files=$ac_clean_files_save 2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2920 $as_echo_n "checking for suffix of executables... " >&6; } 2921 if { { ac_try="$ac_link" 2922 case "(($ac_try" in 2923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2924 *) ac_try_echo=$ac_try;; 2925 esac 2926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2927 $as_echo "$ac_try_echo"; } >&5 2928 (eval "$ac_link") 2>&5 2929 ac_status=$? 2930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2931 test $ac_status = 0; }; then : 2932 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2933 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2934 # work properly (i.e., refer to `conftest.exe'), while it won't with 2935 # `rm'. 2936 for ac_file in conftest.exe conftest conftest.*; do 2937 test -f "$ac_file" || continue 2938 case $ac_file in 2939 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 1495 2940 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1496 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1497 export ac_cv_exeext 1498 break;; 2941 break;; 1499 2942 * ) break;; 1500 2943 esac 1501 2944 done 1502 2945 else 1503 echo "$as_me: failed program was:" >&5 1504 cat conftest.$ac_ext >&5 1505 { { echo "$as_me:1505: error: C++ compiler cannot create executables" >&5 1506 echo "$as_me: error: C++ compiler cannot create executables" >&2;} 1507 { (exit 77); exit 77; }; } 1508 fi 1509 1510 ac_exeext=$ac_cv_exeext 1511 echo "$as_me:1511: result: $ac_file" >&5 1512 echo "${ECHO_T}$ac_file" >&6 1513 1514 # Check the compiler produces executables we can run. If not, either 2946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2948 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2949 See \`config.log' for more details" "$LINENO" 5; } 2950 fi 2951 rm -f conftest conftest$ac_cv_exeext 2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2953 $as_echo "$ac_cv_exeext" >&6; } 2954 2955 rm -f conftest.$ac_ext 2956 EXEEXT=$ac_cv_exeext 2957 ac_exeext=$EXEEXT 2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2959 /* end confdefs.h. */ 2960 #include <stdio.h> 2961 int 2962 main () 2963 { 2964 FILE *f = fopen ("conftest.out", "w"); 2965 return ferror (f) || fclose (f) != 0; 2966 2967 ; 2968 return 0; 2969 } 2970 _ACEOF 2971 ac_clean_files="$ac_clean_files conftest.out" 2972 # Check that the compiler produces executables we can run. If not, either 1515 2973 # the compiler is broken, or we cross compile. 1516 echo "$as_me:1516: checking whether the C++ compiler works" >&5 1517 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 1518 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1519 # If not cross compiling, check that we can run a simple program. 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2975 $as_echo_n "checking whether we are cross compiling... " >&6; } 1520 2976 if test "$cross_compiling" != yes; then 1521 if { ac_try='./$ac_file' 1522 { (eval echo "$as_me:1522: \"$ac_try\"") >&5 1523 (eval $ac_try) 2>&5 2977 { { ac_try="$ac_link" 2978 case "(($ac_try" in 2979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2980 *) ac_try_echo=$ac_try;; 2981 esac 2982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2983 $as_echo "$ac_try_echo"; } >&5 2984 (eval "$ac_link") 2>&5 1524 2985 ac_status=$? 1525 echo "$as_me:1525: \$? = $ac_status" >&5 1526 (exit $ac_status); }; }; then 2986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2987 test $ac_status = 0; } 2988 if { ac_try='./conftest$ac_cv_exeext' 2989 { { case "(($ac_try" in 2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2991 *) ac_try_echo=$ac_try;; 2992 esac 2993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2994 $as_echo "$ac_try_echo"; } >&5 2995 (eval "$ac_try") 2>&5 2996 ac_status=$? 2997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2998 test $ac_status = 0; }; }; then 1527 2999 cross_compiling=no 1528 3000 else … … 1530 3002 cross_compiling=yes 1531 3003 else 1532 { { echo "$as_me:1532: error: cannot run C++ compiled programs.1533 If you meant to cross compile, use \`--host'." >&5 1534 echo "$as_me: error:cannot run C++ compiled programs.1535 If you meant to cross compile, use \`--host'. " >&2;}1536 { (exit 1); exit 1; }; }3004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3006 as_fn_error $? "cannot run C++ compiled programs. 3007 If you meant to cross compile, use \`--host'. 3008 See \`config.log' for more details" "$LINENO" 5; } 1537 3009 fi 1538 3010 fi 1539 3011 fi 1540 echo "$as_me:1540: result: yes" >&51541 echo "${ECHO_T}yes" >&6 1542 1543 rm -f a.out a.exe conftest$ac_cv_exeext3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3013 $as_echo "$cross_compiling" >&6; } 3014 3015 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 1544 3016 ac_clean_files=$ac_clean_files_save 1545 # Check the compiler produces executables we can run. If not, either 1546 # the compiler is broken, or we cross compile. 1547 echo "$as_me:1547: checking whether we are cross compiling" >&5 1548 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1549 echo "$as_me:1549: result: $cross_compiling" >&5 1550 echo "${ECHO_T}$cross_compiling" >&6 1551 1552 echo "$as_me:1552: checking for executable suffix" >&5 1553 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 1554 if { (eval echo "$as_me:1554: \"$ac_link\"") >&5 1555 (eval $ac_link) 2>&5 1556 ac_status=$? 1557 echo "$as_me:1557: \$? = $ac_status" >&5 1558 (exit $ac_status); }; then 1559 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1560 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1561 # work properly (i.e., refer to `conftest.exe'), while it won't with 1562 # `rm'. 1563 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1564 case $ac_file in 1565 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1566 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1567 export ac_cv_exeext 1568 break;; 1569 * ) break;; 1570 esac 1571 done 1572 else 1573 { { echo "$as_me:1573: error: cannot compute EXEEXT: cannot compile and link" >&5 1574 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1575 { (exit 1); exit 1; }; } 1576 fi 1577 1578 rm -f conftest$ac_cv_exeext 1579 echo "$as_me:1579: result: $ac_cv_exeext" >&5 1580 echo "${ECHO_T}$ac_cv_exeext" >&6 1581 1582 rm -f conftest.$ac_ext 1583 EXEEXT=$ac_cv_exeext 1584 ac_exeext=$EXEEXT 1585 echo "$as_me:1585: checking for object suffix" >&5 1586 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 1587 if test "${ac_cv_objext+set}" = set; then 1588 echo $ECHO_N "(cached) $ECHO_C" >&6 1589 else 1590 cat >conftest.$ac_ext <<_ACEOF 1591 #line 1591 "configure" 1592 #include "confdefs.h" 3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3018 $as_echo_n "checking for suffix of object files... " >&6; } 3019 if ${ac_cv_objext+:} false; then : 3020 $as_echo_n "(cached) " >&6 3021 else 3022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3023 /* end confdefs.h. */ 1593 3024 1594 3025 int … … 1601 3032 _ACEOF 1602 3033 rm -f conftest.o conftest.obj 1603 if { (eval echo "$as_me:1603: \"$ac_compile\"") >&5 1604 (eval $ac_compile) 2>&5 3034 if { { ac_try="$ac_compile" 3035 case "(($ac_try" in 3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3037 *) ac_try_echo=$ac_try;; 3038 esac 3039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3040 $as_echo "$ac_try_echo"; } >&5 3041 (eval "$ac_compile") 2>&5 1605 3042 ac_status=$? 1606 echo "$as_me:1606: \$? = $ac_status" >&5 1607 (exit $ac_status); }; then 1608 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 3043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3044 test $ac_status = 0; }; then : 3045 for ac_file in conftest.o conftest.obj conftest.*; do 3046 test -f "$ac_file" || continue; 1609 3047 case $ac_file in 1610 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;3048 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 1611 3049 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1612 3050 break;; … … 1614 3052 done 1615 3053 else 1616 echo "$as_me: failed program was:" >&5 1617 cat conftest.$ac_ext >&5 1618 { { echo "$as_me:1618: error: cannot compute OBJEXT: cannot compile" >&5 1619 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1620 { (exit 1); exit 1; }; } 1621 fi 1622 3054 $as_echo "$as_me: failed program was:" >&5 3055 sed 's/^/| /' conftest.$ac_ext >&5 3056 3057 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3058 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3059 as_fn_error $? "cannot compute suffix of object files: cannot compile 3060 See \`config.log' for more details" "$LINENO" 5; } 3061 fi 1623 3062 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1624 3063 fi 1625 echo "$as_me:1625: result: $ac_cv_objext" >&51626 echo "${ECHO_T}$ac_cv_objext" >&6 3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3065 $as_echo "$ac_cv_objext" >&6; } 1627 3066 OBJEXT=$ac_cv_objext 1628 3067 ac_objext=$OBJEXT 1629 echo "$as_me:1629: checking whether we are using the GNU C++ compiler" >&5 1630 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 1631 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 1632 echo $ECHO_N "(cached) $ECHO_C" >&6 1633 else 1634 cat >conftest.$ac_ext <<_ACEOF 1635 #line 1635 "configure" 1636 #include "confdefs.h" 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3069 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3070 if ${ac_cv_cxx_compiler_gnu+:} false; then : 3071 $as_echo_n "(cached) " >&6 3072 else 3073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3074 /* end confdefs.h. */ 1637 3075 1638 3076 int … … 1647 3085 } 1648 3086 _ACEOF 1649 rm -f conftest.$ac_objext 1650 if { (eval echo "$as_me:1650: \"$ac_compile\"") >&5 1651 (eval $ac_compile) 2>&5 1652 ac_status=$? 1653 echo "$as_me:1653: \$? = $ac_status" >&5 1654 (exit $ac_status); } && 1655 { ac_try='test -s conftest.$ac_objext' 1656 { (eval echo "$as_me:1656: \"$ac_try\"") >&5 1657 (eval $ac_try) 2>&5 1658 ac_status=$? 1659 echo "$as_me:1659: \$? = $ac_status" >&5 1660 (exit $ac_status); }; }; then 3087 if ac_fn_cxx_try_compile "$LINENO"; then : 1661 3088 ac_compiler_gnu=yes 1662 3089 else 1663 echo "$as_me: failed program was:" >&5 1664 cat conftest.$ac_ext >&5 1665 ac_compiler_gnu=no 1666 fi 1667 rm -f conftest.$ac_objext conftest.$ac_ext 3090 ac_compiler_gnu=no 3091 fi 3092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1668 3093 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1669 3094 1670 3095 fi 1671 echo "$as_me:1671: result: $ac_cv_cxx_compiler_gnu" >&5 1672 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 1673 GXX=`test $ac_compiler_gnu = yes && echo yes` 3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3097 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3098 if test $ac_compiler_gnu = yes; then 3099 GXX=yes 3100 else 3101 GXX= 3102 fi 1674 3103 ac_test_CXXFLAGS=${CXXFLAGS+set} 1675 3104 ac_save_CXXFLAGS=$CXXFLAGS 1676 CXXFLAGS="-g" 1677 echo "$as_me:1677: checking whether $CXX accepts -g" >&5 1678 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 1679 if test "${ac_cv_prog_cxx_g+set}" = set; then 1680 echo $ECHO_N "(cached) $ECHO_C" >&6 1681 else 1682 cat >conftest.$ac_ext <<_ACEOF 1683 #line 1683 "configure" 1684 #include "confdefs.h" 3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3106 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3107 if ${ac_cv_prog_cxx_g+:} false; then : 3108 $as_echo_n "(cached) " >&6 3109 else 3110 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3111 ac_cxx_werror_flag=yes 3112 ac_cv_prog_cxx_g=no 3113 CXXFLAGS="-g" 3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3115 /* end confdefs.h. */ 1685 3116 1686 3117 int … … 1692 3123 } 1693 3124 _ACEOF 1694 rm -f conftest.$ac_objext 1695 if { (eval echo "$as_me:1695: \"$ac_compile\"") >&5 1696 (eval $ac_compile) 2>&5 1697 ac_status=$? 1698 echo "$as_me:1698: \$? = $ac_status" >&5 1699 (exit $ac_status); } && 1700 { ac_try='test -s conftest.$ac_objext' 1701 { (eval echo "$as_me:1701: \"$ac_try\"") >&5 1702 (eval $ac_try) 2>&5 1703 ac_status=$? 1704 echo "$as_me:1704: \$? = $ac_status" >&5 1705 (exit $ac_status); }; }; then 3125 if ac_fn_cxx_try_compile "$LINENO"; then : 1706 3126 ac_cv_prog_cxx_g=yes 1707 3127 else 1708 echo "$as_me: failed program was:" >&5 1709 cat conftest.$ac_ext >&5 1710 ac_cv_prog_cxx_g=no 1711 fi 1712 rm -f conftest.$ac_objext conftest.$ac_ext 1713 fi 1714 echo "$as_me:1714: result: $ac_cv_prog_cxx_g" >&5 1715 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 3128 CXXFLAGS="" 3129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3130 /* end confdefs.h. */ 3131 3132 int 3133 main () 3134 { 3135 3136 ; 3137 return 0; 3138 } 3139 _ACEOF 3140 if ac_fn_cxx_try_compile "$LINENO"; then : 3141 3142 else 3143 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3144 CXXFLAGS="-g" 3145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3146 /* end confdefs.h. */ 3147 3148 int 3149 main () 3150 { 3151 3152 ; 3153 return 0; 3154 } 3155 _ACEOF 3156 if ac_fn_cxx_try_compile "$LINENO"; then : 3157 ac_cv_prog_cxx_g=yes 3158 fi 3159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3160 fi 3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3162 fi 3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3164 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3165 fi 3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3167 $as_echo "$ac_cv_prog_cxx_g" >&6; } 1716 3168 if test "$ac_test_CXXFLAGS" = set; then 1717 3169 CXXFLAGS=$ac_save_CXXFLAGS … … 1729 3181 fi 1730 3182 fi 1731 for ac_declaration in \1732 ''\1733 '#include <stdlib.h>' \1734 'extern "C" void std::exit (int) throw (); using std::exit;' \1735 'extern "C" void std::exit (int); using std::exit;' \1736 'extern "C" void exit (int) throw ();' \1737 'extern "C" void exit (int);' \1738 'void exit (int);'1739 do1740 cat >conftest.$ac_ext <<_ACEOF1741 #line 1741 "configure"1742 #include "confdefs.h"1743 #include <stdlib.h>1744 $ac_declaration1745 int1746 main ()1747 {1748 exit (42);1749 ;1750 return 0;1751 }1752 _ACEOF1753 rm -f conftest.$ac_objext1754 if { (eval echo "$as_me:1754: \"$ac_compile\"") >&51755 (eval $ac_compile) 2>&51756 ac_status=$?1757 echo "$as_me:1757: \$? = $ac_status" >&51758 (exit $ac_status); } &&1759 { ac_try='test -s conftest.$ac_objext'1760 { (eval echo "$as_me:1760: \"$ac_try\"") >&51761 (eval $ac_try) 2>&51762 ac_status=$?1763 echo "$as_me:1763: \$? = $ac_status" >&51764 (exit $ac_status); }; }; then1765 :1766 else1767 echo "$as_me: failed program was:" >&51768 cat conftest.$ac_ext >&51769 continue1770 fi1771 rm -f conftest.$ac_objext conftest.$ac_ext1772 cat >conftest.$ac_ext <<_ACEOF1773 #line 1773 "configure"1774 #include "confdefs.h"1775 $ac_declaration1776 int1777 main ()1778 {1779 exit (42);1780 ;1781 return 0;1782 }1783 _ACEOF1784 rm -f conftest.$ac_objext1785 if { (eval echo "$as_me:1785: \"$ac_compile\"") >&51786 (eval $ac_compile) 2>&51787 ac_status=$?1788 echo "$as_me:1788: \$? = $ac_status" >&51789 (exit $ac_status); } &&1790 { ac_try='test -s conftest.$ac_objext'1791 { (eval echo "$as_me:1791: \"$ac_try\"") >&51792 (eval $ac_try) 2>&51793 ac_status=$?1794 echo "$as_me:1794: \$? = $ac_status" >&51795 (exit $ac_status); }; }; then1796 break1797 else1798 echo "$as_me: failed program was:" >&51799 cat conftest.$ac_ext >&51800 fi1801 rm -f conftest.$ac_objext conftest.$ac_ext1802 done1803 rm -f conftest*1804 if test -n "$ac_declaration"; then1805 echo '#ifdef __cplusplus' >>confdefs.h1806 echo $ac_declaration >>confdefs.h1807 echo '#endif' >>confdefs.h1808 fi1809 1810 3183 ac_ext=c 1811 3184 ac_cpp='$CPP $CPPFLAGS' … … 1813 3186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1814 3187 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1815 rm -f .deps 2>/dev/null 1816 mkdir .deps 2>/dev/null 1817 if test -d .deps; then 1818 DEPDIR=.deps 1819 else 1820 # MS-DOS does not allow filenames that begin with a dot. 1821 DEPDIR=_deps 1822 fi 1823 rmdir .deps 2>/dev/null 3188 DEPDIR="${am__leading_dot}deps" 1824 3189 1825 3190 ac_config_commands="$ac_config_commands depfiles" 3191 1826 3192 1827 3193 am_make=${MAKE-make} 1828 3194 cat > confinc << 'END' 1829 doit: 1830 @echo done 3195 am__doit: 3196 @echo this is the am__doit target 3197 .PHONY: am__doit 1831 3198 END 1832 3199 # If we don't find an include directive, just comment out the code. 1833 echo "$as_me:1833: checking for style of include used by $am_make" >&51834 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3201 $as_echo_n "checking for style of include used by $am_make... " >&6; } 1835 3202 am__include="#" 1836 3203 am__quote= … … 1838 3205 # First try GNU make style include. 1839 3206 echo "include confinc" > confmf 1840 # We grep out `Entering directory' and `Leaving directory' 1841 # messages which can occur if `w' ends up in MAKEFLAGS. 1842 # In particular we don't look at `^make:' because GNU make might 1843 # be invoked under some other name (usually "gmake"), in which 1844 # case it prints its new name instead of `make'. 1845 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then 1846 am__include=include 1847 am__quote= 1848 _am_result=GNU 1849 fi 3207 # Ignore all kinds of additional output from `make'. 3208 case `$am_make -s -f confmf 2> /dev/null` in #( 3209 *the\ am__doit\ target*) 3210 am__include=include 3211 am__quote= 3212 _am_result=GNU 3213 ;; 3214 esac 1850 3215 # Now try BSD make style include. 1851 3216 if test "$am__include" = "#"; then 1852 3217 echo '.include "confinc"' > confmf 1853 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 1854 am__include=.include 1855 am__quote="\"" 1856 _am_result=BSD 1857 fi 1858 fi 1859 1860 echo "$as_me:1860: result: $_am_result" >&5 1861 echo "${ECHO_T}$_am_result" >&6 3218 case `$am_make -s -f confmf 2> /dev/null` in #( 3219 *the\ am__doit\ target*) 3220 am__include=.include 3221 am__quote="\"" 3222 _am_result=BSD 3223 ;; 3224 esac 3225 fi 3226 3227 3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3229 $as_echo "$_am_result" >&6; } 1862 3230 rm -f confinc confmf 1863 3231 1864 # Check whether --enable-dependency-tracking or --disable-dependency-trackingwas given.1865 if test "${enable_dependency_tracking+set}" = set; then 1866 enableval= "$enable_dependency_tracking"1867 1868 fi; 3232 # Check whether --enable-dependency-tracking was given. 3233 if test "${enable_dependency_tracking+set}" = set; then : 3234 enableval=$enable_dependency_tracking; 3235 fi 3236 1869 3237 if test "x$enable_dependency_tracking" != xno; then 1870 3238 am_depcomp="$ac_aux_dir/depcomp" 1871 3239 AMDEPBACKSLASH='\' 1872 fi 1873 1874 if test "x$enable_dependency_tracking" != xno; then3240 am__nodep='_no' 3241 fi 3242 if test "x$enable_dependency_tracking" != xno; then 1875 3243 AMDEP_TRUE= 1876 3244 AMDEP_FALSE='#' … … 1880 3248 fi 1881 3249 3250 3251 1882 3252 depcc="$CXX" am_compiler_list= 1883 3253 1884 echo "$as_me:1884: checking dependency style of $depcc" >&51885 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 1886 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then1887 echo $ECHO_N "(cached) $ECHO_C" >&63254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3255 $as_echo_n "checking dependency style of $depcc... " >&6; } 3256 if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 3257 $as_echo_n "(cached) " >&6 1888 3258 else 1889 3259 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then … … 1893 3263 # making a dummy file named `D' -- because `-MD' means `put the output 1894 3264 # in D'. 3265 rm -rf conftest.dir 1895 3266 mkdir conftest.dir 1896 3267 # Copy depcomp to subdir because otherwise we won't find it if we're … … 1898 3269 cp "$am_depcomp" conftest.dir 1899 3270 cd conftest.dir 3271 # We will build objects and dependencies in a subdirectory because 3272 # it helps to detect inapplicable dependency modes. For instance 3273 # both Tru64's cc and ICC support -MD to output dependencies as a 3274 # side effect of compilation, but ICC will put the dependencies in 3275 # the current directory while Tru64 will put them in the object 3276 # directory. 3277 mkdir sub 1900 3278 1901 3279 am_cv_CXX_dependencies_compiler_type=none … … 1903 3281 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 1904 3282 fi 3283 am__universal=false 3284 case " $depcc " in #( 3285 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3286 esac 3287 1905 3288 for depmode in $am_compiler_list; do 3289 # Setup a source with many dependencies, because some compilers 3290 # like to wrap large dependency lists on column 80 (with \), and 3291 # we should not choose a depcomp mode which is confused by this. 3292 # 1906 3293 # We need to recreate these files for each test, as the compiler may 1907 3294 # overwrite some of them when testing with obscure command lines. 1908 3295 # This happens at least with the AIX C compiler. 1909 echo '#include "conftest.h"' > conftest.c 1910 echo 'int i;' > conftest.h 1911 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 1912 3296 : > sub/conftest.c 3297 for i in 1 2 3 4 5 6; do 3298 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3299 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3300 # Solaris 8's {/usr,}/bin/sh. 3301 touch sub/conftst$i.h 3302 done 3303 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3304 3305 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3306 # mode. It turns out that the SunPro C++ compiler does not properly 3307 # handle `-M -o', and we need to detect this. Also, some Intel 3308 # versions had trouble with output in subdirs 3309 am__obj=sub/conftest.${OBJEXT-o} 3310 am__minus_obj="-o $am__obj" 1913 3311 case $depmode in 3312 gcc) 3313 # This depmode causes a compiler race in universal mode. 3314 test "$am__universal" = false || continue 3315 ;; 1914 3316 nosideeffect) 1915 3317 # after this tag, mechanisms are not by side-effect, so they'll … … 1921 3323 fi 1922 3324 ;; 3325 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3326 # This compiler won't grok `-c -o', but also, the minuso test has 3327 # not run yet. These depmodes are late enough in the game, and 3328 # so weak that their functioning should not be impacted. 3329 am__obj=conftest.${OBJEXT-o} 3330 am__minus_obj= 3331 ;; 1923 3332 none) break ;; 1924 3333 esac 1925 # We check with `-c' and `-o' for the sake of the "dashmstdout"1926 # mode. It turns out that the SunPro C++ compiler does not properly1927 # handle `-M -o', and we need to detect this.1928 3334 if depmode=$depmode \ 1929 source=conftest.c object=conftest.o \ 1930 depfile=conftest.Po tmpdepfile=conftest.TPo \ 1931 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && 1932 grep conftest.h conftest.Po > /dev/null 2>&1 && 3335 source=sub/conftest.c object=$am__obj \ 3336 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3337 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3338 >/dev/null 2>conftest.err && 3339 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3340 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3341 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 1933 3342 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 1934 am_cv_CXX_dependencies_compiler_type=$depmode 1935 break 3343 # icc doesn't choke on unknown options, it will just issue warnings 3344 # or remarks (even with -Werror). So we grep stderr for any message 3345 # that says an option was ignored or not supported. 3346 # When given -MP, icc 7.0 and 7.1 complain thusly: 3347 # icc: Command line warning: ignoring option '-M'; no argument required 3348 # The diagnosis changed in icc 8.0: 3349 # icc: Command line remark: option '-MP' not supported 3350 if (grep 'ignoring option' conftest.err || 3351 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3352 am_cv_CXX_dependencies_compiler_type=$depmode 3353 break 3354 fi 1936 3355 fi 1937 3356 done … … 1944 3363 1945 3364 fi 1946 echo "$as_me:1946: result: $am_cv_CXX_dependencies_compiler_type" >&51947 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 3365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 3366 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 1948 3367 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 3368 3369 if 3370 test "x$enable_dependency_tracking" != xno \ 3371 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 3372 am__fastdepCXX_TRUE= 3373 am__fastdepCXX_FALSE='#' 3374 else 3375 am__fastdepCXX_TRUE='#' 3376 am__fastdepCXX_FALSE= 3377 fi 3378 1949 3379 1950 3380 ac_ext=c … … 1956 3386 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1957 3387 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1958 echo "$as_me:1958: checking for $ac_word" >&51959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1960 if test "${ac_cv_prog_CC+set}" = set; then1961 echo $ECHO_N "(cached) $ECHO_C" >&63388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3389 $as_echo_n "checking for $ac_word... " >&6; } 3390 if ${ac_cv_prog_CC+:} false; then : 3391 $as_echo_n "(cached) " >&6 1962 3392 else 1963 3393 if test -n "$CC"; then 1964 3394 ac_cv_prog_CC="$CC" # Let the user override the test. 1965 3395 else 1966 ac_save_IFS=$IFS; IFS=$ac_path_separator 1967 ac_dummy="$PATH" 1968 for ac_dir in $ac_dummy; do 1969 IFS=$ac_save_IFS 1970 test -z "$ac_dir" && ac_dir=. 1971 $as_executable_p "$ac_dir/$ac_word" || continue 1972 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1973 echo "$as_me:1973: found $ac_dir/$ac_word" >&5 1974 break 3396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3397 for as_dir in $PATH 3398 do 3399 IFS=$as_save_IFS 3400 test -z "$as_dir" && as_dir=. 3401 for ac_exec_ext in '' $ac_executable_extensions; do 3402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3403 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3405 break 2 3406 fi 1975 3407 done 3408 done 3409 IFS=$as_save_IFS 1976 3410 1977 3411 fi … … 1979 3413 CC=$ac_cv_prog_CC 1980 3414 if test -n "$CC"; then 1981 echo "$as_me:1981: result: $CC" >&5 1982 echo "${ECHO_T}$CC" >&6 1983 else 1984 echo "$as_me:1984: result: no" >&5 1985 echo "${ECHO_T}no" >&6 1986 fi 3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3416 $as_echo "$CC" >&6; } 3417 else 3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3419 $as_echo "no" >&6; } 3420 fi 3421 1987 3422 1988 3423 fi … … 1991 3426 # Extract the first word of "gcc", so it can be a program name with args. 1992 3427 set dummy gcc; ac_word=$2 1993 echo "$as_me:1993: checking for $ac_word" >&51994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1995 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then1996 echo $ECHO_N "(cached) $ECHO_C" >&63428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3429 $as_echo_n "checking for $ac_word... " >&6; } 3430 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3431 $as_echo_n "(cached) " >&6 1997 3432 else 1998 3433 if test -n "$ac_ct_CC"; then 1999 3434 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2000 3435 else 2001 ac_save_IFS=$IFS; IFS=$ac_path_separator 2002 ac_dummy="$PATH" 2003 for ac_dir in $ac_dummy; do 2004 IFS=$ac_save_IFS 2005 test -z "$ac_dir" && ac_dir=. 2006 $as_executable_p "$ac_dir/$ac_word" || continue 2007 ac_cv_prog_ac_ct_CC="gcc" 2008 echo "$as_me:2008: found $ac_dir/$ac_word" >&5 2009 break 3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3437 for as_dir in $PATH 3438 do 3439 IFS=$as_save_IFS 3440 test -z "$as_dir" && as_dir=. 3441 for ac_exec_ext in '' $ac_executable_extensions; do 3442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3443 ac_cv_prog_ac_ct_CC="gcc" 3444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3445 break 2 3446 fi 2010 3447 done 3448 done 3449 IFS=$as_save_IFS 2011 3450 2012 3451 fi … … 2014 3453 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2015 3454 if test -n "$ac_ct_CC"; then 2016 echo "$as_me:2016: result: $ac_ct_CC" >&5 2017 echo "${ECHO_T}$ac_ct_CC" >&6 2018 else 2019 echo "$as_me:2019: result: no" >&5 2020 echo "${ECHO_T}no" >&6 2021 fi 2022 2023 CC=$ac_ct_CC 3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3456 $as_echo "$ac_ct_CC" >&6; } 3457 else 3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3459 $as_echo "no" >&6; } 3460 fi 3461 3462 if test "x$ac_ct_CC" = x; then 3463 CC="" 3464 else 3465 case $cross_compiling:$ac_tool_warned in 3466 yes:) 3467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3469 ac_tool_warned=yes ;; 3470 esac 3471 CC=$ac_ct_CC 3472 fi 2024 3473 else 2025 3474 CC="$ac_cv_prog_CC" … … 2027 3476 2028 3477 if test -z "$CC"; then 2029 if test -n "$ac_tool_prefix"; then2030 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.3478 if test -n "$ac_tool_prefix"; then 3479 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2031 3480 set dummy ${ac_tool_prefix}cc; ac_word=$2 2032 echo "$as_me:2032: checking for $ac_word" >&52033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2034 if test "${ac_cv_prog_CC+set}" = set; then2035 echo $ECHO_N "(cached) $ECHO_C" >&63481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3482 $as_echo_n "checking for $ac_word... " >&6; } 3483 if ${ac_cv_prog_CC+:} false; then : 3484 $as_echo_n "(cached) " >&6 2036 3485 else 2037 3486 if test -n "$CC"; then 2038 3487 ac_cv_prog_CC="$CC" # Let the user override the test. 2039 3488 else 2040 ac_save_IFS=$IFS; IFS=$ac_path_separator 2041 ac_dummy="$PATH" 2042 for ac_dir in $ac_dummy; do 2043 IFS=$ac_save_IFS 2044 test -z "$ac_dir" && ac_dir=. 2045 $as_executable_p "$ac_dir/$ac_word" || continue 2046 ac_cv_prog_CC="${ac_tool_prefix}cc" 2047 echo "$as_me:2047: found $ac_dir/$ac_word" >&5 2048 break 3489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3490 for as_dir in $PATH 3491 do 3492 IFS=$as_save_IFS 3493 test -z "$as_dir" && as_dir=. 3494 for ac_exec_ext in '' $ac_executable_extensions; do 3495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3496 ac_cv_prog_CC="${ac_tool_prefix}cc" 3497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3498 break 2 3499 fi 2049 3500 done 3501 done 3502 IFS=$as_save_IFS 2050 3503 2051 3504 fi … … 2053 3506 CC=$ac_cv_prog_CC 2054 3507 if test -n "$CC"; then 2055 echo "$as_me:2055: result: $CC" >&5 2056 echo "${ECHO_T}$CC" >&6 2057 else 2058 echo "$as_me:2058: result: no" >&5 2059 echo "${ECHO_T}no" >&6 2060 fi 2061 2062 fi 2063 if test -z "$ac_cv_prog_CC"; then 2064 ac_ct_CC=$CC 2065 # Extract the first word of "cc", so it can be a program name with args. 2066 set dummy cc; ac_word=$2 2067 echo "$as_me:2067: checking for $ac_word" >&5 2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2069 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2070 echo $ECHO_N "(cached) $ECHO_C" >&6 2071 else 2072 if test -n "$ac_ct_CC"; then 2073 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2074 else 2075 ac_save_IFS=$IFS; IFS=$ac_path_separator 2076 ac_dummy="$PATH" 2077 for ac_dir in $ac_dummy; do 2078 IFS=$ac_save_IFS 2079 test -z "$ac_dir" && ac_dir=. 2080 $as_executable_p "$ac_dir/$ac_word" || continue 2081 ac_cv_prog_ac_ct_CC="cc" 2082 echo "$as_me:2082: found $ac_dir/$ac_word" >&5 2083 break 2084 done 2085 2086 fi 2087 fi 2088 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2089 if test -n "$ac_ct_CC"; then 2090 echo "$as_me:2090: result: $ac_ct_CC" >&5 2091 echo "${ECHO_T}$ac_ct_CC" >&6 2092 else 2093 echo "$as_me:2093: result: no" >&5 2094 echo "${ECHO_T}no" >&6 2095 fi 2096 2097 CC=$ac_ct_CC 2098 else 2099 CC="$ac_cv_prog_CC" 2100 fi 2101 3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3509 $as_echo "$CC" >&6; } 3510 else 3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3512 $as_echo "no" >&6; } 3513 fi 3514 3515 3516 fi 2102 3517 fi 2103 3518 if test -z "$CC"; then 2104 3519 # Extract the first word of "cc", so it can be a program name with args. 2105 3520 set dummy cc; ac_word=$2 2106 echo "$as_me:2106: checking for $ac_word" >&52107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2108 if test "${ac_cv_prog_CC+set}" = set; then2109 echo $ECHO_N "(cached) $ECHO_C" >&63521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3522 $as_echo_n "checking for $ac_word... " >&6; } 3523 if ${ac_cv_prog_CC+:} false; then : 3524 $as_echo_n "(cached) " >&6 2110 3525 else 2111 3526 if test -n "$CC"; then … … 2113 3528 else 2114 3529 ac_prog_rejected=no 2115 ac_save_IFS=$IFS; IFS=$ac_path_separator 2116 ac_dummy="$PATH" 2117 for ac_dir in $ac_dummy; do 2118 IFS=$ac_save_IFS 2119 test -z "$ac_dir" && ac_dir=. 2120 $as_executable_p "$ac_dir/$ac_word" || continue 2121 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 2122 ac_prog_rejected=yes 2123 continue 2124 fi 2125 ac_cv_prog_CC="cc" 2126 echo "$as_me:2126: found $ac_dir/$ac_word" >&5 2127 break 3530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3531 for as_dir in $PATH 3532 do 3533 IFS=$as_save_IFS 3534 test -z "$as_dir" && as_dir=. 3535 for ac_exec_ext in '' $ac_executable_extensions; do 3536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3537 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3538 ac_prog_rejected=yes 3539 continue 3540 fi 3541 ac_cv_prog_CC="cc" 3542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3543 break 2 3544 fi 2128 3545 done 3546 done 3547 IFS=$as_save_IFS 2129 3548 2130 3549 if test $ac_prog_rejected = yes; then … … 2137 3556 # first if we set CC to just the basename; use the full file name. 2138 3557 shift 2139 set dummy "$ac_dir/$ac_word" ${1+"$@"} 2140 shift 2141 ac_cv_prog_CC="$@" 3558 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2142 3559 fi 2143 3560 fi … … 2146 3563 CC=$ac_cv_prog_CC 2147 3564 if test -n "$CC"; then 2148 echo "$as_me:2148: result: $CC" >&5 2149 echo "${ECHO_T}$CC" >&6 2150 else 2151 echo "$as_me:2151: result: no" >&5 2152 echo "${ECHO_T}no" >&6 2153 fi 3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3566 $as_echo "$CC" >&6; } 3567 else 3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3569 $as_echo "no" >&6; } 3570 fi 3571 2154 3572 2155 3573 fi 2156 3574 if test -z "$CC"; then 2157 3575 if test -n "$ac_tool_prefix"; then 2158 for ac_prog in cl 3576 for ac_prog in cl.exe 2159 3577 do 2160 3578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2161 3579 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2162 echo "$as_me:2162: checking for $ac_word" >&52163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2164 if test "${ac_cv_prog_CC+set}" = set; then2165 echo $ECHO_N "(cached) $ECHO_C" >&63580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3581 $as_echo_n "checking for $ac_word... " >&6; } 3582 if ${ac_cv_prog_CC+:} false; then : 3583 $as_echo_n "(cached) " >&6 2166 3584 else 2167 3585 if test -n "$CC"; then 2168 3586 ac_cv_prog_CC="$CC" # Let the user override the test. 2169 3587 else 2170 ac_save_IFS=$IFS; IFS=$ac_path_separator 2171 ac_dummy="$PATH" 2172 for ac_dir in $ac_dummy; do 2173 IFS=$ac_save_IFS 2174 test -z "$ac_dir" && ac_dir=. 2175 $as_executable_p "$ac_dir/$ac_word" || continue 2176 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2177 echo "$as_me:2177: found $ac_dir/$ac_word" >&5 2178 break 3588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3589 for as_dir in $PATH 3590 do 3591 IFS=$as_save_IFS 3592 test -z "$as_dir" && as_dir=. 3593 for ac_exec_ext in '' $ac_executable_extensions; do 3594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3595 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3597 break 2 3598 fi 2179 3599 done 3600 done 3601 IFS=$as_save_IFS 2180 3602 2181 3603 fi … … 2183 3605 CC=$ac_cv_prog_CC 2184 3606 if test -n "$CC"; then 2185 echo "$as_me:2185: result: $CC" >&5 2186 echo "${ECHO_T}$CC" >&6 2187 else 2188 echo "$as_me:2188: result: no" >&5 2189 echo "${ECHO_T}no" >&6 2190 fi 3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3608 $as_echo "$CC" >&6; } 3609 else 3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3611 $as_echo "no" >&6; } 3612 fi 3613 2191 3614 2192 3615 test -n "$CC" && break … … 2195 3618 if test -z "$CC"; then 2196 3619 ac_ct_CC=$CC 2197 for ac_prog in cl 3620 for ac_prog in cl.exe 2198 3621 do 2199 3622 # Extract the first word of "$ac_prog", so it can be a program name with args. 2200 3623 set dummy $ac_prog; ac_word=$2 2201 echo "$as_me:2201: checking for $ac_word" >&52202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2203 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then2204 echo $ECHO_N "(cached) $ECHO_C" >&63624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3625 $as_echo_n "checking for $ac_word... " >&6; } 3626 if ${ac_cv_prog_ac_ct_CC+:} false; then : 3627 $as_echo_n "(cached) " >&6 2205 3628 else 2206 3629 if test -n "$ac_ct_CC"; then 2207 3630 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2208 3631 else 2209 ac_save_IFS=$IFS; IFS=$ac_path_separator 2210 ac_dummy="$PATH" 2211 for ac_dir in $ac_dummy; do 2212 IFS=$ac_save_IFS 2213 test -z "$ac_dir" && ac_dir=. 2214 $as_executable_p "$ac_dir/$ac_word" || continue 2215 ac_cv_prog_ac_ct_CC="$ac_prog" 2216 echo "$as_me:2216: found $ac_dir/$ac_word" >&5 2217 break 3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3633 for as_dir in $PATH 3634 do 3635 IFS=$as_save_IFS 3636 test -z "$as_dir" && as_dir=. 3637 for ac_exec_ext in '' $ac_executable_extensions; do 3638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3639 ac_cv_prog_ac_ct_CC="$ac_prog" 3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3641 break 2 3642 fi 2218 3643 done 3644 done 3645 IFS=$as_save_IFS 2219 3646 2220 3647 fi … … 2222 3649 ac_ct_CC=$ac_cv_prog_ac_ct_CC 2223 3650 if test -n "$ac_ct_CC"; then 2224 echo "$as_me:2224: result: $ac_ct_CC" >&5 2225 echo "${ECHO_T}$ac_ct_CC" >&6 2226 else 2227 echo "$as_me:2227: result: no" >&5 2228 echo "${ECHO_T}no" >&6 2229 fi 3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3652 $as_echo "$ac_ct_CC" >&6; } 3653 else 3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3655 $as_echo "no" >&6; } 3656 fi 3657 2230 3658 2231 3659 test -n "$ac_ct_CC" && break 2232 3660 done 2233 3661 2234 CC=$ac_ct_CC 2235 fi 2236 2237 fi 2238 2239 test -z "$CC" && { { echo "$as_me:2239: error: no acceptable cc found in \$PATH" >&5 2240 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 2241 { (exit 1); exit 1; }; } 3662 if test "x$ac_ct_CC" = x; then 3663 CC="" 3664 else 3665 case $cross_compiling:$ac_tool_warned in 3666 yes:) 3667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3669 ac_tool_warned=yes ;; 3670 esac 3671 CC=$ac_ct_CC 3672 fi 3673 fi 3674 3675 fi 3676 3677 3678 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3679 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3680 as_fn_error $? "no acceptable C compiler found in \$PATH 3681 See \`config.log' for more details" "$LINENO" 5; } 2242 3682 2243 3683 # Provide some information about the compiler. 2244 echo "$as_me:2244:" \ 2245 "checking for C compiler version" >&5 2246 ac_compiler=`set X $ac_compile; echo $2` 2247 { (eval echo "$as_me:2247: \"$ac_compiler --version </dev/null >&5\"") >&5 2248 (eval $ac_compiler --version </dev/null >&5) 2>&5 3684 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3685 set X $ac_compile 3686 ac_compiler=$2 3687 for ac_option in --version -v -V -qversion; do 3688 { { ac_try="$ac_compiler $ac_option >&5" 3689 case "(($ac_try" in 3690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3691 *) ac_try_echo=$ac_try;; 3692 esac 3693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3694 $as_echo "$ac_try_echo"; } >&5 3695 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2249 3696 ac_status=$? 2250 echo "$as_me:2250: \$? = $ac_status" >&5 2251 (exit $ac_status); } 2252 { (eval echo "$as_me:2252: \"$ac_compiler -v </dev/null >&5\"") >&5 2253 (eval $ac_compiler -v </dev/null >&5) 2>&5 2254 ac_status=$? 2255 echo "$as_me:2255: \$? = $ac_status" >&5 2256 (exit $ac_status); } 2257 { (eval echo "$as_me:2257: \"$ac_compiler -V </dev/null >&5\"") >&5 2258 (eval $ac_compiler -V </dev/null >&5) 2>&5 2259 ac_status=$? 2260 echo "$as_me:2260: \$? = $ac_status" >&5 2261 (exit $ac_status); } 2262 2263 echo "$as_me:2263: checking whether we are using the GNU C compiler" >&5 2264 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2265 if test "${ac_cv_c_compiler_gnu+set}" = set; then 2266 echo $ECHO_N "(cached) $ECHO_C" >&6 2267 else 2268 cat >conftest.$ac_ext <<_ACEOF 2269 #line 2269 "configure" 2270 #include "confdefs.h" 3697 if test -s conftest.err; then 3698 sed '10a\ 3699 ... rest of stderr output deleted ... 3700 10q' conftest.err >conftest.er1 3701 cat conftest.er1 >&5 3702 fi 3703 rm -f conftest.er1 conftest.err 3704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3705 test $ac_status = 0; } 3706 done 3707 3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3709 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3710 if ${ac_cv_c_compiler_gnu+:} false; then : 3711 $as_echo_n "(cached) " >&6 3712 else 3713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3714 /* end confdefs.h. */ 2271 3715 2272 3716 int … … 2281 3725 } 2282 3726 _ACEOF 2283 rm -f conftest.$ac_objext 2284 if { (eval echo "$as_me:2284: \"$ac_compile\"") >&5 2285 (eval $ac_compile) 2>&5 2286 ac_status=$? 2287 echo "$as_me:2287: \$? = $ac_status" >&5 2288 (exit $ac_status); } && 2289 { ac_try='test -s conftest.$ac_objext' 2290 { (eval echo "$as_me:2290: \"$ac_try\"") >&5 2291 (eval $ac_try) 2>&5 2292 ac_status=$? 2293 echo "$as_me:2293: \$? = $ac_status" >&5 2294 (exit $ac_status); }; }; then 3727 if ac_fn_c_try_compile "$LINENO"; then : 2295 3728 ac_compiler_gnu=yes 2296 3729 else 2297 echo "$as_me: failed program was:" >&5 2298 cat conftest.$ac_ext >&5 2299 ac_compiler_gnu=no 2300 fi 2301 rm -f conftest.$ac_objext conftest.$ac_ext 3730 ac_compiler_gnu=no 3731 fi 3732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2302 3733 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2303 3734 2304 3735 fi 2305 echo "$as_me:2305: result: $ac_cv_c_compiler_gnu" >&5 2306 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2307 GCC=`test $ac_compiler_gnu = yes && echo yes` 3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3737 $as_echo "$ac_cv_c_compiler_gnu" >&6; } 3738 if test $ac_compiler_gnu = yes; then 3739 GCC=yes 3740 else 3741 GCC= 3742 fi 2308 3743 ac_test_CFLAGS=${CFLAGS+set} 2309 3744 ac_save_CFLAGS=$CFLAGS 2310 CFLAGS="-g" 2311 echo "$as_me:2311: checking whether $CC accepts -g" >&5 2312 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2313 if test "${ac_cv_prog_cc_g+set}" = set; then 2314 echo $ECHO_N "(cached) $ECHO_C" >&6 2315 else 2316 cat >conftest.$ac_ext <<_ACEOF 2317 #line 2317 "configure" 2318 #include "confdefs.h" 3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3746 $as_echo_n "checking whether $CC accepts -g... " >&6; } 3747 if ${ac_cv_prog_cc_g+:} false; then : 3748 $as_echo_n "(cached) " >&6 3749 else 3750 ac_save_c_werror_flag=$ac_c_werror_flag 3751 ac_c_werror_flag=yes 3752 ac_cv_prog_cc_g=no 3753 CFLAGS="-g" 3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3755 /* end confdefs.h. */ 2319 3756 2320 3757 int … … 2326 3763 } 2327 3764 _ACEOF 2328 rm -f conftest.$ac_objext 2329 if { (eval echo "$as_me:2329: \"$ac_compile\"") >&5 2330 (eval $ac_compile) 2>&5 2331 ac_status=$? 2332 echo "$as_me:2332: \$? = $ac_status" >&5 2333 (exit $ac_status); } && 2334 { ac_try='test -s conftest.$ac_objext' 2335 { (eval echo "$as_me:2335: \"$ac_try\"") >&5 2336 (eval $ac_try) 2>&5 2337 ac_status=$? 2338 echo "$as_me:2338: \$? = $ac_status" >&5 2339 (exit $ac_status); }; }; then 3765 if ac_fn_c_try_compile "$LINENO"; then : 2340 3766 ac_cv_prog_cc_g=yes 2341 3767 else 2342 echo "$as_me: failed program was:" >&5 2343 cat conftest.$ac_ext >&5 2344 ac_cv_prog_cc_g=no 2345 fi 2346 rm -f conftest.$ac_objext conftest.$ac_ext 2347 fi 2348 echo "$as_me:2348: result: $ac_cv_prog_cc_g" >&5 2349 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3768 CFLAGS="" 3769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3770 /* end confdefs.h. */ 3771 3772 int 3773 main () 3774 { 3775 3776 ; 3777 return 0; 3778 } 3779 _ACEOF 3780 if ac_fn_c_try_compile "$LINENO"; then : 3781 3782 else 3783 ac_c_werror_flag=$ac_save_c_werror_flag 3784 CFLAGS="-g" 3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3786 /* end confdefs.h. */ 3787 3788 int 3789 main () 3790 { 3791 3792 ; 3793 return 0; 3794 } 3795 _ACEOF 3796 if ac_fn_c_try_compile "$LINENO"; then : 3797 ac_cv_prog_cc_g=yes 3798 fi 3799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3800 fi 3801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3802 fi 3803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3804 ac_c_werror_flag=$ac_save_c_werror_flag 3805 fi 3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3807 $as_echo "$ac_cv_prog_cc_g" >&6; } 2350 3808 if test "$ac_test_CFLAGS" = set; then 2351 3809 CFLAGS=$ac_save_CFLAGS … … 2363 3821 fi 2364 3822 fi 2365 # Some people use a C++ compiler to compile C. Since we use `exit', 2366 # in C++ we need to declare it. In case someone uses the same compiler 2367 # for both compiling C and C++ we need to have the C++ compiler decide 2368 # the declaration of exit, since it's the most demanding environment. 2369 cat >conftest.$ac_ext <<_ACEOF 2370 #ifndef __cplusplus 2371 choke me 2372 #endif 2373 _ACEOF 2374 rm -f conftest.$ac_objext 2375 if { (eval echo "$as_me:2375: \"$ac_compile\"") >&5 2376 (eval $ac_compile) 2>&5 2377 ac_status=$? 2378 echo "$as_me:2378: \$? = $ac_status" >&5 2379 (exit $ac_status); } && 2380 { ac_try='test -s conftest.$ac_objext' 2381 { (eval echo "$as_me:2381: \"$ac_try\"") >&5 2382 (eval $ac_try) 2>&5 2383 ac_status=$? 2384 echo "$as_me:2384: \$? = $ac_status" >&5 2385 (exit $ac_status); }; }; then 2386 for ac_declaration in \ 2387 ''\ 2388 '#include <stdlib.h>' \ 2389 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2390 'extern "C" void std::exit (int); using std::exit;' \ 2391 'extern "C" void exit (int) throw ();' \ 2392 'extern "C" void exit (int);' \ 2393 'void exit (int);' 2394 do 2395 cat >conftest.$ac_ext <<_ACEOF 2396 #line 2396 "configure" 2397 #include "confdefs.h" 2398 #include <stdlib.h> 2399 $ac_declaration 2400 int 2401 main () 2402 { 2403 exit (42); 2404 ; 2405 return 0; 2406 } 2407 _ACEOF 2408 rm -f conftest.$ac_objext 2409 if { (eval echo "$as_me:2409: \"$ac_compile\"") >&5 2410 (eval $ac_compile) 2>&5 2411 ac_status=$? 2412 echo "$as_me:2412: \$? = $ac_status" >&5 2413 (exit $ac_status); } && 2414 { ac_try='test -s conftest.$ac_objext' 2415 { (eval echo "$as_me:2415: \"$ac_try\"") >&5 2416 (eval $ac_try) 2>&5 2417 ac_status=$? 2418 echo "$as_me:2418: \$? = $ac_status" >&5 2419 (exit $ac_status); }; }; then 2420 : 2421 else 2422 echo "$as_me: failed program was:" >&5 2423 cat conftest.$ac_ext >&5 2424 continue 2425 fi 2426 rm -f conftest.$ac_objext conftest.$ac_ext 2427 cat >conftest.$ac_ext <<_ACEOF 2428 #line 2428 "configure" 2429 #include "confdefs.h" 2430 $ac_declaration 2431 int 2432 main () 2433 { 2434 exit (42); 2435 ; 2436 return 0; 2437 } 2438 _ACEOF 2439 rm -f conftest.$ac_objext 2440 if { (eval echo "$as_me:2440: \"$ac_compile\"") >&5 2441 (eval $ac_compile) 2>&5 2442 ac_status=$? 2443 echo "$as_me:2443: \$? = $ac_status" >&5 2444 (exit $ac_status); } && 2445 { ac_try='test -s conftest.$ac_objext' 2446 { (eval echo "$as_me:2446: \"$ac_try\"") >&5 2447 (eval $ac_try) 2>&5 2448 ac_status=$? 2449 echo "$as_me:2449: \$? = $ac_status" >&5 2450 (exit $ac_status); }; }; then 2451 break 2452 else 2453 echo "$as_me: failed program was:" >&5 2454 cat conftest.$ac_ext >&5 2455 fi 2456 rm -f conftest.$ac_objext conftest.$ac_ext 2457 done 2458 rm -f conftest* 2459 if test -n "$ac_declaration"; then 2460 echo '#ifdef __cplusplus' >>confdefs.h 2461 echo $ac_declaration >>confdefs.h 2462 echo '#endif' >>confdefs.h 2463 fi 2464 2465 else 2466 echo "$as_me: failed program was:" >&5 2467 cat conftest.$ac_ext >&5 2468 fi 2469 rm -f conftest.$ac_objext conftest.$ac_ext 2470 ac_ext=c 2471 ac_cpp='$CPP $CPPFLAGS' 2472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2474 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2475 2476 depcc="$CC" am_compiler_list= 2477 2478 echo "$as_me:2478: checking dependency style of $depcc" >&5 2479 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2480 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2481 echo $ECHO_N "(cached) $ECHO_C" >&6 2482 else 2483 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2484 # We make a subdir and do the tests there. Otherwise we can end up 2485 # making bogus files that we don't know about and never remove. For 2486 # instance it was reported that on HP-UX the gcc test will end up 2487 # making a dummy file named `D' -- because `-MD' means `put the output 2488 # in D'. 2489 mkdir conftest.dir 2490 # Copy depcomp to subdir because otherwise we won't find it if we're 2491 # using a relative directory. 2492 cp "$am_depcomp" conftest.dir 2493 cd conftest.dir 2494 2495 am_cv_CC_dependencies_compiler_type=none 2496 if test "$am_compiler_list" = ""; then 2497 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2498 fi 2499 for depmode in $am_compiler_list; do 2500 # We need to recreate these files for each test, as the compiler may 2501 # overwrite some of them when testing with obscure command lines. 2502 # This happens at least with the AIX C compiler. 2503 echo '#include "conftest.h"' > conftest.c 2504 echo 'int i;' > conftest.h 2505 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 2506 2507 case $depmode in 2508 nosideeffect) 2509 # after this tag, mechanisms are not by side-effect, so they'll 2510 # only be used when explicitly requested 2511 if test "x$enable_dependency_tracking" = xyes; then 2512 continue 2513 else 2514 break 2515 fi 2516 ;; 2517 none) break ;; 2518 esac 2519 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2520 # mode. It turns out that the SunPro C++ compiler does not properly 2521 # handle `-M -o', and we need to detect this. 2522 if depmode=$depmode \ 2523 source=conftest.c object=conftest.o \ 2524 depfile=conftest.Po tmpdepfile=conftest.TPo \ 2525 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && 2526 grep conftest.h conftest.Po > /dev/null 2>&1 && 2527 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2528 am_cv_CC_dependencies_compiler_type=$depmode 2529 break 2530 fi 2531 done 2532 2533 cd .. 2534 rm -rf conftest.dir 2535 else 2536 am_cv_CC_dependencies_compiler_type=none 2537 fi 2538 2539 fi 2540 echo "$as_me:2540: result: $am_cv_CC_dependencies_compiler_type" >&5 2541 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2542 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2543 2544 # ??? 2545 2546 for ac_prog in flex lex 2547 do 2548 # Extract the first word of "$ac_prog", so it can be a program name with args. 2549 set dummy $ac_prog; ac_word=$2 2550 echo "$as_me:2550: checking for $ac_word" >&5 2551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2552 if test "${ac_cv_prog_LEX+set}" = set; then 2553 echo $ECHO_N "(cached) $ECHO_C" >&6 2554 else 2555 if test -n "$LEX"; then 2556 ac_cv_prog_LEX="$LEX" # Let the user override the test. 2557 else 2558 ac_save_IFS=$IFS; IFS=$ac_path_separator 2559 ac_dummy="$PATH" 2560 for ac_dir in $ac_dummy; do 2561 IFS=$ac_save_IFS 2562 test -z "$ac_dir" && ac_dir=. 2563 $as_executable_p "$ac_dir/$ac_word" || continue 2564 ac_cv_prog_LEX="$ac_prog" 2565 echo "$as_me:2565: found $ac_dir/$ac_word" >&5 2566 break 2567 done 2568 2569 fi 2570 fi 2571 LEX=$ac_cv_prog_LEX 2572 if test -n "$LEX"; then 2573 echo "$as_me:2573: result: $LEX" >&5 2574 echo "${ECHO_T}$LEX" >&6 2575 else 2576 echo "$as_me:2576: result: no" >&5 2577 echo "${ECHO_T}no" >&6 2578 fi 2579 2580 test -n "$LEX" && break 2581 done 2582 test -n "$LEX" || LEX=":" 2583 2584 if test -z "$LEXLIB" 2585 then 2586 echo "$as_me:2586: checking for yywrap in -lfl" >&5 2587 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 2588 if test "${ac_cv_lib_fl_yywrap+set}" = set; then 2589 echo $ECHO_N "(cached) $ECHO_C" >&6 2590 else 2591 ac_check_lib_save_LIBS=$LIBS 2592 LIBS="-lfl $LIBS" 2593 cat >conftest.$ac_ext <<_ACEOF 2594 #line 2594 "configure" 2595 #include "confdefs.h" 2596 2597 /* Override any gcc2 internal prototype to avoid an error. */ 2598 #ifdef __cplusplus 2599 extern "C" 2600 #endif 2601 /* We use char because int might match the return type of a gcc2 2602 builtin and then its argument prototype would still apply. */ 2603 char yywrap (); 2604 int 2605 main () 2606 { 2607 yywrap (); 2608 ; 2609 return 0; 2610 } 2611 _ACEOF 2612 rm -f conftest.$ac_objext conftest$ac_exeext 2613 if { (eval echo "$as_me:2613: \"$ac_link\"") >&5 2614 (eval $ac_link) 2>&5 2615 ac_status=$? 2616 echo "$as_me:2616: \$? = $ac_status" >&5 2617 (exit $ac_status); } && 2618 { ac_try='test -s conftest$ac_exeext' 2619 { (eval echo "$as_me:2619: \"$ac_try\"") >&5 2620 (eval $ac_try) 2>&5 2621 ac_status=$? 2622 echo "$as_me:2622: \$? = $ac_status" >&5 2623 (exit $ac_status); }; }; then 2624 ac_cv_lib_fl_yywrap=yes 2625 else 2626 echo "$as_me: failed program was:" >&5 2627 cat conftest.$ac_ext >&5 2628 ac_cv_lib_fl_yywrap=no 2629 fi 2630 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2631 LIBS=$ac_check_lib_save_LIBS 2632 fi 2633 echo "$as_me:2633: result: $ac_cv_lib_fl_yywrap" >&5 2634 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 2635 if test $ac_cv_lib_fl_yywrap = yes; then 2636 LEXLIB="-lfl" 2637 else 2638 echo "$as_me:2638: checking for yywrap in -ll" >&5 2639 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 2640 if test "${ac_cv_lib_l_yywrap+set}" = set; then 2641 echo $ECHO_N "(cached) $ECHO_C" >&6 2642 else 2643 ac_check_lib_save_LIBS=$LIBS 2644 LIBS="-ll $LIBS" 2645 cat >conftest.$ac_ext <<_ACEOF 2646 #line 2646 "configure" 2647 #include "confdefs.h" 2648 2649 /* Override any gcc2 internal prototype to avoid an error. */ 2650 #ifdef __cplusplus 2651 extern "C" 2652 #endif 2653 /* We use char because int might match the return type of a gcc2 2654 builtin and then its argument prototype would still apply. */ 2655 char yywrap (); 2656 int 2657 main () 2658 { 2659 yywrap (); 2660 ; 2661 return 0; 2662 } 2663 _ACEOF 2664 rm -f conftest.$ac_objext conftest$ac_exeext 2665 if { (eval echo "$as_me:2665: \"$ac_link\"") >&5 2666 (eval $ac_link) 2>&5 2667 ac_status=$? 2668 echo "$as_me:2668: \$? = $ac_status" >&5 2669 (exit $ac_status); } && 2670 { ac_try='test -s conftest$ac_exeext' 2671 { (eval echo "$as_me:2671: \"$ac_try\"") >&5 2672 (eval $ac_try) 2>&5 2673 ac_status=$? 2674 echo "$as_me:2674: \$? = $ac_status" >&5 2675 (exit $ac_status); }; }; then 2676 ac_cv_lib_l_yywrap=yes 2677 else 2678 echo "$as_me: failed program was:" >&5 2679 cat conftest.$ac_ext >&5 2680 ac_cv_lib_l_yywrap=no 2681 fi 2682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2683 LIBS=$ac_check_lib_save_LIBS 2684 fi 2685 echo "$as_me:2685: result: $ac_cv_lib_l_yywrap" >&5 2686 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 2687 if test $ac_cv_lib_l_yywrap = yes; then 2688 LEXLIB="-ll" 2689 fi 2690 2691 fi 2692 2693 fi 2694 2695 if test "x$LEX" != "x:"; then 2696 echo "$as_me:2696: checking lex output file root" >&5 2697 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 2698 if test "${ac_cv_prog_lex_root+set}" = set; then 2699 echo $ECHO_N "(cached) $ECHO_C" >&6 2700 else 2701 # The minimal lex program is just a single line: %%. But some broken lexes 2702 # (Solaris, I think it was) want two %% lines, so accommodate them. 2703 echo '%% 2704 %%' | $LEX 2705 if test -f lex.yy.c; then 2706 ac_cv_prog_lex_root=lex.yy 2707 elif test -f lexyy.c; then 2708 ac_cv_prog_lex_root=lexyy 2709 else 2710 { { echo "$as_me:2710: error: cannot find output from $LEX; giving up" >&5 2711 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} 2712 { (exit 1); exit 1; }; } 2713 fi 2714 fi 2715 echo "$as_me:2715: result: $ac_cv_prog_lex_root" >&5 2716 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 2717 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 2718 2719 echo "$as_me:2719: checking whether yytext is a pointer" >&5 2720 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 2721 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then 2722 echo $ECHO_N "(cached) $ECHO_C" >&6 2723 else 2724 # POSIX says lex can declare yytext either as a pointer or an array; the 2725 # default is implementation-dependent. Figure out which it is, since 2726 # not all implementations provide the %pointer and %array declarations. 2727 ac_cv_prog_lex_yytext_pointer=no 2728 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c 2729 ac_save_LIBS=$LIBS 2730 LIBS="$LIBS $LEXLIB" 2731 cat >conftest.$ac_ext <<_ACEOF 2732 `cat $LEX_OUTPUT_ROOT.c` 2733 _ACEOF 2734 rm -f conftest.$ac_objext conftest$ac_exeext 2735 if { (eval echo "$as_me:2735: \"$ac_link\"") >&5 2736 (eval $ac_link) 2>&5 2737 ac_status=$? 2738 echo "$as_me:2738: \$? = $ac_status" >&5 2739 (exit $ac_status); } && 2740 { ac_try='test -s conftest$ac_exeext' 2741 { (eval echo "$as_me:2741: \"$ac_try\"") >&5 2742 (eval $ac_try) 2>&5 2743 ac_status=$? 2744 echo "$as_me:2744: \$? = $ac_status" >&5 2745 (exit $ac_status); }; }; then 2746 ac_cv_prog_lex_yytext_pointer=yes 2747 else 2748 echo "$as_me: failed program was:" >&5 2749 cat conftest.$ac_ext >&5 2750 fi 2751 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2752 LIBS=$ac_save_LIBS 2753 rm -f "${LEX_OUTPUT_ROOT}.c" 2754 2755 fi 2756 echo "$as_me:2756: result: $ac_cv_prog_lex_yytext_pointer" >&5 2757 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 2758 if test $ac_cv_prog_lex_yytext_pointer = yes; then 2759 2760 cat >>confdefs.h <<\EOF 2761 #define YYTEXT_POINTER 1 2762 EOF 2763 2764 fi 2765 2766 fi 2767 if test "$LEX" = :; then 2768 LEX=${am_missing_run}flex 2769 fi 2770 echo "$as_me:2770: checking whether ${MAKE-make} sets \${MAKE}" >&5 2771 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 2772 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 2773 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 2774 echo $ECHO_N "(cached) $ECHO_C" >&6 2775 else 2776 cat >conftest.make <<\EOF 2777 all: 2778 @echo 'ac_maketemp="${MAKE}"' 2779 EOF 2780 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2781 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 2782 if test -n "$ac_maketemp"; then 2783 eval ac_cv_prog_make_${ac_make}_set=yes 2784 else 2785 eval ac_cv_prog_make_${ac_make}_set=no 2786 fi 2787 rm -f conftest.make 2788 fi 2789 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 2790 echo "$as_me:2790: result: yes" >&5 2791 echo "${ECHO_T}yes" >&6 2792 SET_MAKE= 2793 else 2794 echo "$as_me:2794: result: no" >&5 2795 echo "${ECHO_T}no" >&6 2796 SET_MAKE="MAKE=${MAKE-make}" 2797 fi 2798 2799 # Find a good install program. We prefer a C program (faster), 2800 # so one script is as good as another. But avoid the broken or 2801 # incompatible versions: 2802 # SysV /etc/install, /usr/sbin/install 2803 # SunOS /usr/etc/install 2804 # IRIX /sbin/install 2805 # AIX /bin/install 2806 # AmigaOS /C/install, which installs bootblocks on floppy discs 2807 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2808 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2809 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2810 # ./install, which can be erroneously created by make from ./install.sh. 2811 echo "$as_me:2811: checking for a BSD compatible install" >&5 2812 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 2813 if test -z "$INSTALL"; then 2814 if test "${ac_cv_path_install+set}" = set; then 2815 echo $ECHO_N "(cached) $ECHO_C" >&6 2816 else 2817 ac_save_IFS=$IFS; IFS=$ac_path_separator 2818 for ac_dir in $PATH; do 2819 IFS=$ac_save_IFS 2820 # Account for people who put trailing slashes in PATH elements. 2821 case $ac_dir/ in 2822 / | ./ | .// | /cC/* \ 2823 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 2824 | /usr/ucb/* ) ;; 2825 *) 2826 # OSF1 and SCO ODT 3.0 have their own names for install. 2827 # Don't use installbsd from OSF since it installs stuff as root 2828 # by default. 2829 for ac_prog in ginstall scoinst install; do 2830 if $as_executable_p "$ac_dir/$ac_prog"; then 2831 if test $ac_prog = install && 2832 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then 2833 # AIX install. It has an incompatible calling convention. 2834 : 2835 elif test $ac_prog = install && 2836 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then 2837 # program-specific install script used by HP pwplus--don't use. 2838 : 2839 else 2840 ac_cv_path_install="$ac_dir/$ac_prog -c" 2841 break 2 2842 fi 2843 fi 2844 done 2845 ;; 2846 esac 2847 done 2848 2849 fi 2850 if test "${ac_cv_path_install+set}" = set; then 2851 INSTALL=$ac_cv_path_install 2852 else 2853 # As a last resort, use the slow shell script. We don't cache a 2854 # path for INSTALL within a source directory, because that will 2855 # break other packages using the cache if that directory is 2856 # removed, or if the path is relative. 2857 INSTALL=$ac_install_sh 2858 fi 2859 fi 2860 echo "$as_me:2860: result: $INSTALL" >&5 2861 echo "${ECHO_T}$INSTALL" >&6 2862 2863 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2864 # It thinks the first close brace ends the variable substitution. 2865 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2866 2867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2868 2869 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2870 2871 ac_ext=c 2872 ac_cpp='$CPP $CPPFLAGS' 2873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2875 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2876 echo "$as_me:2876: checking how to run the C preprocessor" >&5 2877 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2878 # On Suns, sometimes $CPP names a directory. 2879 if test -n "$CPP" && test -d "$CPP"; then 2880 CPP= 2881 fi 2882 if test -z "$CPP"; then 2883 if test "${ac_cv_prog_CPP+set}" = set; then 2884 echo $ECHO_N "(cached) $ECHO_C" >&6 2885 else 2886 # Double quotes because CPP needs to be expanded 2887 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2888 do 2889 ac_preproc_ok=false 2890 for ac_c_preproc_warn_flag in '' yes 2891 do 2892 # Use a header file that comes with gcc, so configuring glibc 2893 # with a fresh cross-compiler works. 2894 # On the NeXT, cc -E runs the code through the compiler's parser, 2895 # not just through cpp. "Syntax error" is here to catch this case. 2896 cat >conftest.$ac_ext <<_ACEOF 2897 #line 2897 "configure" 2898 #include "confdefs.h" 2899 #include <assert.h> 2900 Syntax error 2901 _ACEOF 2902 if { (eval echo "$as_me:2902: \"$ac_cpp conftest.$ac_ext\"") >&5 2903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2904 ac_status=$? 2905 egrep -v '^ *\+' conftest.er1 >conftest.err 2906 rm -f conftest.er1 2907 cat conftest.err >&5 2908 echo "$as_me:2908: \$? = $ac_status" >&5 2909 (exit $ac_status); } >/dev/null; then 2910 if test -s conftest.err; then 2911 ac_cpp_err=$ac_c_preproc_warn_flag 2912 else 2913 ac_cpp_err= 2914 fi 2915 else 2916 ac_cpp_err=yes 2917 fi 2918 if test -z "$ac_cpp_err"; then 2919 : 2920 else 2921 echo "$as_me: failed program was:" >&5 2922 cat conftest.$ac_ext >&5 2923 # Broken: fails on valid input. 2924 continue 2925 fi 2926 rm -f conftest.err conftest.$ac_ext 2927 2928 # OK, works on sane cases. Now check whether non-existent headers 2929 # can be detected and how. 2930 cat >conftest.$ac_ext <<_ACEOF 2931 #line 2931 "configure" 2932 #include "confdefs.h" 2933 #include <ac_nonexistent.h> 2934 _ACEOF 2935 if { (eval echo "$as_me:2935: \"$ac_cpp conftest.$ac_ext\"") >&5 2936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2937 ac_status=$? 2938 egrep -v '^ *\+' conftest.er1 >conftest.err 2939 rm -f conftest.er1 2940 cat conftest.err >&5 2941 echo "$as_me:2941: \$? = $ac_status" >&5 2942 (exit $ac_status); } >/dev/null; then 2943 if test -s conftest.err; then 2944 ac_cpp_err=$ac_c_preproc_warn_flag 2945 else 2946 ac_cpp_err= 2947 fi 2948 else 2949 ac_cpp_err=yes 2950 fi 2951 if test -z "$ac_cpp_err"; then 2952 # Broken: success on invalid input. 2953 continue 2954 else 2955 echo "$as_me: failed program was:" >&5 2956 cat conftest.$ac_ext >&5 2957 # Passes both tests. 2958 ac_preproc_ok=: 2959 break 2960 fi 2961 rm -f conftest.err conftest.$ac_ext 2962 2963 done 2964 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2965 rm -f conftest.err conftest.$ac_ext 2966 if $ac_preproc_ok; then 2967 break 2968 fi 2969 2970 done 2971 ac_cv_prog_CPP=$CPP 2972 2973 fi 2974 CPP=$ac_cv_prog_CPP 2975 else 2976 ac_cv_prog_CPP=$CPP 2977 fi 2978 echo "$as_me:2978: result: $CPP" >&5 2979 echo "${ECHO_T}$CPP" >&6 2980 ac_preproc_ok=false 2981 for ac_c_preproc_warn_flag in '' yes 2982 do 2983 # Use a header file that comes with gcc, so configuring glibc 2984 # with a fresh cross-compiler works. 2985 # On the NeXT, cc -E runs the code through the compiler's parser, 2986 # not just through cpp. "Syntax error" is here to catch this case. 2987 cat >conftest.$ac_ext <<_ACEOF 2988 #line 2988 "configure" 2989 #include "confdefs.h" 2990 #include <assert.h> 2991 Syntax error 2992 _ACEOF 2993 if { (eval echo "$as_me:2993: \"$ac_cpp conftest.$ac_ext\"") >&5 2994 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2995 ac_status=$? 2996 egrep -v '^ *\+' conftest.er1 >conftest.err 2997 rm -f conftest.er1 2998 cat conftest.err >&5 2999 echo "$as_me:2999: \$? = $ac_status" >&5 3000 (exit $ac_status); } >/dev/null; then 3001 if test -s conftest.err; then 3002 ac_cpp_err=$ac_c_preproc_warn_flag 3003 else 3004 ac_cpp_err= 3005 fi 3006 else 3007 ac_cpp_err=yes 3008 fi 3009 if test -z "$ac_cpp_err"; then 3010 : 3011 else 3012 echo "$as_me: failed program was:" >&5 3013 cat conftest.$ac_ext >&5 3014 # Broken: fails on valid input. 3015 continue 3016 fi 3017 rm -f conftest.err conftest.$ac_ext 3018 3019 # OK, works on sane cases. Now check whether non-existent headers 3020 # can be detected and how. 3021 cat >conftest.$ac_ext <<_ACEOF 3022 #line 3022 "configure" 3023 #include "confdefs.h" 3024 #include <ac_nonexistent.h> 3025 _ACEOF 3026 if { (eval echo "$as_me:3026: \"$ac_cpp conftest.$ac_ext\"") >&5 3027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3028 ac_status=$? 3029 egrep -v '^ *\+' conftest.er1 >conftest.err 3030 rm -f conftest.er1 3031 cat conftest.err >&5 3032 echo "$as_me:3032: \$? = $ac_status" >&5 3033 (exit $ac_status); } >/dev/null; then 3034 if test -s conftest.err; then 3035 ac_cpp_err=$ac_c_preproc_warn_flag 3036 else 3037 ac_cpp_err= 3038 fi 3039 else 3040 ac_cpp_err=yes 3041 fi 3042 if test -z "$ac_cpp_err"; then 3043 # Broken: success on invalid input. 3044 continue 3045 else 3046 echo "$as_me: failed program was:" >&5 3047 cat conftest.$ac_ext >&5 3048 # Passes both tests. 3049 ac_preproc_ok=: 3050 break 3051 fi 3052 rm -f conftest.err conftest.$ac_ext 3053 3054 done 3055 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3056 rm -f conftest.err conftest.$ac_ext 3057 if $ac_preproc_ok; then 3058 : 3059 else 3060 { { echo "$as_me:3060: error: C preprocessor \"$CPP\" fails sanity check" >&5 3061 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 3062 { (exit 1); exit 1; }; } 3063 fi 3064 3065 ac_ext=c 3066 ac_cpp='$CPP $CPPFLAGS' 3067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3069 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3070 3071 for ac_header in malloc.h unistd.h 3072 do 3073 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3074 echo "$as_me:3074: checking for $ac_header" >&5 3075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3076 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3077 echo $ECHO_N "(cached) $ECHO_C" >&6 3078 else 3079 cat >conftest.$ac_ext <<_ACEOF 3080 #line 3080 "configure" 3081 #include "confdefs.h" 3082 #include <$ac_header> 3083 _ACEOF 3084 if { (eval echo "$as_me:3084: \"$ac_cpp conftest.$ac_ext\"") >&5 3085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3086 ac_status=$? 3087 egrep -v '^ *\+' conftest.er1 >conftest.err 3088 rm -f conftest.er1 3089 cat conftest.err >&5 3090 echo "$as_me:3090: \$? = $ac_status" >&5 3091 (exit $ac_status); } >/dev/null; then 3092 if test -s conftest.err; then 3093 ac_cpp_err=$ac_c_preproc_warn_flag 3094 else 3095 ac_cpp_err= 3096 fi 3097 else 3098 ac_cpp_err=yes 3099 fi 3100 if test -z "$ac_cpp_err"; then 3101 eval "$as_ac_Header=yes" 3102 else 3103 echo "$as_me: failed program was:" >&5 3104 cat conftest.$ac_ext >&5 3105 eval "$as_ac_Header=no" 3106 fi 3107 rm -f conftest.err conftest.$ac_ext 3108 fi 3109 echo "$as_me:3109: result: `eval echo '${'$as_ac_Header'}'`" >&5 3110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3111 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3112 cat >>confdefs.h <<EOF 3113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3114 EOF 3115 3116 fi 3117 done 3118 3119 echo "$as_me:3119: checking for $CC option to accept ANSI C" >&5 3120 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 3121 if test "${ac_cv_prog_cc_stdc+set}" = set; then 3122 echo $ECHO_N "(cached) $ECHO_C" >&6 3123 else 3124 ac_cv_prog_cc_stdc=no 3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3824 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3825 if ${ac_cv_prog_cc_c89+:} false; then : 3826 $as_echo_n "(cached) " >&6 3827 else 3828 ac_cv_prog_cc_c89=no 3125 3829 ac_save_CC=$CC 3126 cat >conftest.$ac_ext <<_ACEOF 3127 #line 3127 "configure" 3128 #include "confdefs.h" 3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3831 /* end confdefs.h. */ 3129 3832 #include <stdarg.h> 3130 3833 #include <stdio.h> … … 3149 3852 return s; 3150 3853 } 3854 3855 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3856 function prototypes and stuff, but not '\xHH' hex character constants. 3857 These don't provoke an error unfortunately, instead are silently treated 3858 as 'x'. The following induces an error, until -std is added to get 3859 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3860 array size at least. It's necessary to write '\x00'==0 to get something 3861 that's true only with -std. */ 3862 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3863 3864 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3865 inside strings and character constants. */ 3866 #define FOO(x) 'x' 3867 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3868 3151 3869 int test (int i, double x); 3152 3870 struct s1 {int (*f) (int a);}; … … 3163 3881 } 3164 3882 _ACEOF 3165 # Don't try gcc -ansi; that turns off useful extensions and 3166 # breaks some systems' header files. 3167 # AIX -qlanglvl=ansi 3168 # Ultrix and OSF/1 -std1 3169 # HP-UX 10.20 and later -Ae 3170 # HP-UX older versions -Aa -D_HPUX_SOURCE 3171 # SVR4 -Xc -D__EXTENSIONS__ 3172 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3883 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3884 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3173 3885 do 3174 3886 CC="$ac_save_CC $ac_arg" 3175 rm -f conftest.$ac_objext 3176 if { (eval echo "$as_me:3176: \"$ac_compile\"") >&5 3177 (eval $ac_compile) 2>&5 3887 if ac_fn_c_try_compile "$LINENO"; then : 3888 ac_cv_prog_cc_c89=$ac_arg 3889 fi 3890 rm -f core conftest.err conftest.$ac_objext 3891 test "x$ac_cv_prog_cc_c89" != "xno" && break 3892 done 3893 rm -f conftest.$ac_ext 3894 CC=$ac_save_CC 3895 3896 fi 3897 # AC_CACHE_VAL 3898 case "x$ac_cv_prog_cc_c89" in 3899 x) 3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3901 $as_echo "none needed" >&6; } ;; 3902 xno) 3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3904 $as_echo "unsupported" >&6; } ;; 3905 *) 3906 CC="$CC $ac_cv_prog_cc_c89" 3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3908 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3909 esac 3910 if test "x$ac_cv_prog_cc_c89" != xno; then : 3911 3912 fi 3913 3914 ac_ext=c 3915 ac_cpp='$CPP $CPPFLAGS' 3916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3918 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3919 3920 depcc="$CC" am_compiler_list= 3921 3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3923 $as_echo_n "checking dependency style of $depcc... " >&6; } 3924 if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3925 $as_echo_n "(cached) " >&6 3926 else 3927 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3928 # We make a subdir and do the tests there. Otherwise we can end up 3929 # making bogus files that we don't know about and never remove. For 3930 # instance it was reported that on HP-UX the gcc test will end up 3931 # making a dummy file named `D' -- because `-MD' means `put the output 3932 # in D'. 3933 rm -rf conftest.dir 3934 mkdir conftest.dir 3935 # Copy depcomp to subdir because otherwise we won't find it if we're 3936 # using a relative directory. 3937 cp "$am_depcomp" conftest.dir 3938 cd conftest.dir 3939 # We will build objects and dependencies in a subdirectory because 3940 # it helps to detect inapplicable dependency modes. For instance 3941 # both Tru64's cc and ICC support -MD to output dependencies as a 3942 # side effect of compilation, but ICC will put the dependencies in 3943 # the current directory while Tru64 will put them in the object 3944 # directory. 3945 mkdir sub 3946 3947 am_cv_CC_dependencies_compiler_type=none 3948 if test "$am_compiler_list" = ""; then 3949 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3950 fi 3951 am__universal=false 3952 case " $depcc " in #( 3953 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3954 esac 3955 3956 for depmode in $am_compiler_list; do 3957 # Setup a source with many dependencies, because some compilers 3958 # like to wrap large dependency lists on column 80 (with \), and 3959 # we should not choose a depcomp mode which is confused by this. 3960 # 3961 # We need to recreate these files for each test, as the compiler may 3962 # overwrite some of them when testing with obscure command lines. 3963 # This happens at least with the AIX C compiler. 3964 : > sub/conftest.c 3965 for i in 1 2 3 4 5 6; do 3966 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3967 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3968 # Solaris 8's {/usr,}/bin/sh. 3969 touch sub/conftst$i.h 3970 done 3971 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3972 3973 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3974 # mode. It turns out that the SunPro C++ compiler does not properly 3975 # handle `-M -o', and we need to detect this. Also, some Intel 3976 # versions had trouble with output in subdirs 3977 am__obj=sub/conftest.${OBJEXT-o} 3978 am__minus_obj="-o $am__obj" 3979 case $depmode in 3980 gcc) 3981 # This depmode causes a compiler race in universal mode. 3982 test "$am__universal" = false || continue 3983 ;; 3984 nosideeffect) 3985 # after this tag, mechanisms are not by side-effect, so they'll 3986 # only be used when explicitly requested 3987 if test "x$enable_dependency_tracking" = xyes; then 3988 continue 3989 else 3990 break 3991 fi 3992 ;; 3993 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3994 # This compiler won't grok `-c -o', but also, the minuso test has 3995 # not run yet. These depmodes are late enough in the game, and 3996 # so weak that their functioning should not be impacted. 3997 am__obj=conftest.${OBJEXT-o} 3998 am__minus_obj= 3999 ;; 4000 none) break ;; 4001 esac 4002 if depmode=$depmode \ 4003 source=sub/conftest.c object=$am__obj \ 4004 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4005 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4006 >/dev/null 2>conftest.err && 4007 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4008 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4009 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4010 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4011 # icc doesn't choke on unknown options, it will just issue warnings 4012 # or remarks (even with -Werror). So we grep stderr for any message 4013 # that says an option was ignored or not supported. 4014 # When given -MP, icc 7.0 and 7.1 complain thusly: 4015 # icc: Command line warning: ignoring option '-M'; no argument required 4016 # The diagnosis changed in icc 8.0: 4017 # icc: Command line remark: option '-MP' not supported 4018 if (grep 'ignoring option' conftest.err || 4019 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4020 am_cv_CC_dependencies_compiler_type=$depmode 4021 break 4022 fi 4023 fi 4024 done 4025 4026 cd .. 4027 rm -rf conftest.dir 4028 else 4029 am_cv_CC_dependencies_compiler_type=none 4030 fi 4031 4032 fi 4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4034 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4035 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4036 4037 if 4038 test "x$enable_dependency_tracking" != xno \ 4039 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4040 am__fastdepCC_TRUE= 4041 am__fastdepCC_FALSE='#' 4042 else 4043 am__fastdepCC_TRUE='#' 4044 am__fastdepCC_FALSE= 4045 fi 4046 4047 # ??? 4048 4049 for ac_prog in flex lex 4050 do 4051 # Extract the first word of "$ac_prog", so it can be a program name with args. 4052 set dummy $ac_prog; ac_word=$2 4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4054 $as_echo_n "checking for $ac_word... " >&6; } 4055 if ${ac_cv_prog_LEX+:} false; then : 4056 $as_echo_n "(cached) " >&6 4057 else 4058 if test -n "$LEX"; then 4059 ac_cv_prog_LEX="$LEX" # Let the user override the test. 4060 else 4061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4062 for as_dir in $PATH 4063 do 4064 IFS=$as_save_IFS 4065 test -z "$as_dir" && as_dir=. 4066 for ac_exec_ext in '' $ac_executable_extensions; do 4067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4068 ac_cv_prog_LEX="$ac_prog" 4069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4070 break 2 4071 fi 4072 done 4073 done 4074 IFS=$as_save_IFS 4075 4076 fi 4077 fi 4078 LEX=$ac_cv_prog_LEX 4079 if test -n "$LEX"; then 4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5 4081 $as_echo "$LEX" >&6; } 4082 else 4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4084 $as_echo "no" >&6; } 4085 fi 4086 4087 4088 test -n "$LEX" && break 4089 done 4090 test -n "$LEX" || LEX=":" 4091 4092 if test "x$LEX" != "x:"; then 4093 cat >conftest.l <<_ACEOF 4094 %% 4095 a { ECHO; } 4096 b { REJECT; } 4097 c { yymore (); } 4098 d { yyless (1); } 4099 e { yyless (input () != 0); } 4100 f { unput (yytext[0]); } 4101 . { BEGIN INITIAL; } 4102 %% 4103 #ifdef YYTEXT_POINTER 4104 extern char *yytext; 4105 #endif 4106 int 4107 main (void) 4108 { 4109 return ! yylex () + ! yywrap (); 4110 } 4111 _ACEOF 4112 { { ac_try="$LEX conftest.l" 4113 case "(($ac_try" in 4114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4115 *) ac_try_echo=$ac_try;; 4116 esac 4117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4118 $as_echo "$ac_try_echo"; } >&5 4119 (eval "$LEX conftest.l") 2>&5 3178 4120 ac_status=$? 3179 echo "$as_me:3179: \$? = $ac_status" >&5 3180 (exit $ac_status); } && 3181 { ac_try='test -s conftest.$ac_objext' 3182 { (eval echo "$as_me:3182: \"$ac_try\"") >&5 3183 (eval $ac_try) 2>&5 3184 ac_status=$? 3185 echo "$as_me:3185: \$? = $ac_status" >&5 3186 (exit $ac_status); }; }; then 3187 ac_cv_prog_cc_stdc=$ac_arg 4121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4122 test $ac_status = 0; } 4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5 4124 $as_echo_n "checking lex output file root... " >&6; } 4125 if ${ac_cv_prog_lex_root+:} false; then : 4126 $as_echo_n "(cached) " >&6 4127 else 4128 4129 if test -f lex.yy.c; then 4130 ac_cv_prog_lex_root=lex.yy 4131 elif test -f lexyy.c; then 4132 ac_cv_prog_lex_root=lexyy 4133 else 4134 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5 4135 fi 4136 fi 4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5 4138 $as_echo "$ac_cv_prog_lex_root" >&6; } 4139 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root 4140 4141 if test -z "${LEXLIB+set}"; then 4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5 4143 $as_echo_n "checking lex library... " >&6; } 4144 if ${ac_cv_lib_lex+:} false; then : 4145 $as_echo_n "(cached) " >&6 4146 else 4147 4148 ac_save_LIBS=$LIBS 4149 ac_cv_lib_lex='none needed' 4150 for ac_lib in '' -lfl -ll; do 4151 LIBS="$ac_lib $ac_save_LIBS" 4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4153 /* end confdefs.h. */ 4154 `cat $LEX_OUTPUT_ROOT.c` 4155 _ACEOF 4156 if ac_fn_c_try_link "$LINENO"; then : 4157 ac_cv_lib_lex=$ac_lib 4158 fi 4159 rm -f core conftest.err conftest.$ac_objext \ 4160 conftest$ac_exeext conftest.$ac_ext 4161 test "$ac_cv_lib_lex" != 'none needed' && break 4162 done 4163 LIBS=$ac_save_LIBS 4164 4165 fi 4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5 4167 $as_echo "$ac_cv_lib_lex" >&6; } 4168 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex 4169 fi 4170 4171 4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5 4173 $as_echo_n "checking whether yytext is a pointer... " >&6; } 4174 if ${ac_cv_prog_lex_yytext_pointer+:} false; then : 4175 $as_echo_n "(cached) " >&6 4176 else 4177 # POSIX says lex can declare yytext either as a pointer or an array; the 4178 # default is implementation-dependent. Figure out which it is, since 4179 # not all implementations provide the %pointer and %array declarations. 4180 ac_cv_prog_lex_yytext_pointer=no 4181 ac_save_LIBS=$LIBS 4182 LIBS="$LEXLIB $ac_save_LIBS" 4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4184 /* end confdefs.h. */ 4185 4186 #define YYTEXT_POINTER 1 4187 `cat $LEX_OUTPUT_ROOT.c` 4188 _ACEOF 4189 if ac_fn_c_try_link "$LINENO"; then : 4190 ac_cv_prog_lex_yytext_pointer=yes 4191 fi 4192 rm -f core conftest.err conftest.$ac_objext \ 4193 conftest$ac_exeext conftest.$ac_ext 4194 LIBS=$ac_save_LIBS 4195 4196 fi 4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5 4198 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; } 4199 if test $ac_cv_prog_lex_yytext_pointer = yes; then 4200 4201 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h 4202 4203 fi 4204 rm -f conftest.l $LEX_OUTPUT_ROOT.c 4205 4206 fi 4207 if test "$LEX" = :; then 4208 LEX=${am_missing_run}flex 4209 fi 4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4211 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4212 set x ${MAKE-make} 4213 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4214 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4215 $as_echo_n "(cached) " >&6 4216 else 4217 cat >conftest.make <<\_ACEOF 4218 SHELL = /bin/sh 4219 all: 4220 @echo '@@@%%%=$(MAKE)=@@@%%%' 4221 _ACEOF 4222 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4223 case `${MAKE-make} -f conftest.make 2>/dev/null` in 4224 *@@@%%%=?*=@@@%%%*) 4225 eval ac_cv_prog_make_${ac_make}_set=yes;; 4226 *) 4227 eval ac_cv_prog_make_${ac_make}_set=no;; 4228 esac 4229 rm -f conftest.make 4230 fi 4231 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4233 $as_echo "yes" >&6; } 4234 SET_MAKE= 4235 else 4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4237 $as_echo "no" >&6; } 4238 SET_MAKE="MAKE=${MAKE-make}" 4239 fi 4240 4241 4242 4243 4244 ac_ext=c 4245 ac_cpp='$CPP $CPPFLAGS' 4246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4248 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4250 $as_echo_n "checking how to run the C preprocessor... " >&6; } 4251 # On Suns, sometimes $CPP names a directory. 4252 if test -n "$CPP" && test -d "$CPP"; then 4253 CPP= 4254 fi 4255 if test -z "$CPP"; then 4256 if ${ac_cv_prog_CPP+:} false; then : 4257 $as_echo_n "(cached) " >&6 4258 else 4259 # Double quotes because CPP needs to be expanded 4260 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4261 do 4262 ac_preproc_ok=false 4263 for ac_c_preproc_warn_flag in '' yes 4264 do 4265 # Use a header file that comes with gcc, so configuring glibc 4266 # with a fresh cross-compiler works. 4267 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4268 # <limits.h> exists even on freestanding compilers. 4269 # On the NeXT, cc -E runs the code through the compiler's parser, 4270 # not just through cpp. "Syntax error" is here to catch this case. 4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4272 /* end confdefs.h. */ 4273 #ifdef __STDC__ 4274 # include <limits.h> 4275 #else 4276 # include <assert.h> 4277 #endif 4278 Syntax error 4279 _ACEOF 4280 if ac_fn_c_try_cpp "$LINENO"; then : 4281 4282 else 4283 # Broken: fails on valid input. 4284 continue 4285 fi 4286 rm -f conftest.err conftest.i conftest.$ac_ext 4287 4288 # OK, works on sane cases. Now check whether nonexistent headers 4289 # can be detected and how. 4290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4291 /* end confdefs.h. */ 4292 #include <ac_nonexistent.h> 4293 _ACEOF 4294 if ac_fn_c_try_cpp "$LINENO"; then : 4295 # Broken: success on invalid input. 4296 continue 4297 else 4298 # Passes both tests. 4299 ac_preproc_ok=: 3188 4300 break 3189 else 3190 echo "$as_me: failed program was:" >&5 3191 cat conftest.$ac_ext >&5 3192 fi 3193 rm -f conftest.$ac_objext 4301 fi 4302 rm -f conftest.err conftest.i conftest.$ac_ext 4303 3194 4304 done 3195 rm -f conftest.$ac_ext conftest.$ac_objext 3196 CC=$ac_save_CC 3197 3198 fi 3199 3200 case "x$ac_cv_prog_cc_stdc" in 3201 x|xno) 3202 echo "$as_me:3202: result: none needed" >&5 3203 echo "${ECHO_T}none needed" >&6 ;; 3204 *) 3205 echo "$as_me:3205: result: $ac_cv_prog_cc_stdc" >&5 3206 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 3207 CC="$CC $ac_cv_prog_cc_stdc" ;; 4305 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4306 rm -f conftest.i conftest.err conftest.$ac_ext 4307 if $ac_preproc_ok; then : 4308 break 4309 fi 4310 4311 done 4312 ac_cv_prog_CPP=$CPP 4313 4314 fi 4315 CPP=$ac_cv_prog_CPP 4316 else 4317 ac_cv_prog_CPP=$CPP 4318 fi 4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4320 $as_echo "$CPP" >&6; } 4321 ac_preproc_ok=false 4322 for ac_c_preproc_warn_flag in '' yes 4323 do 4324 # Use a header file that comes with gcc, so configuring glibc 4325 # with a fresh cross-compiler works. 4326 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4327 # <limits.h> exists even on freestanding compilers. 4328 # On the NeXT, cc -E runs the code through the compiler's parser, 4329 # not just through cpp. "Syntax error" is here to catch this case. 4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4331 /* end confdefs.h. */ 4332 #ifdef __STDC__ 4333 # include <limits.h> 4334 #else 4335 # include <assert.h> 4336 #endif 4337 Syntax error 4338 _ACEOF 4339 if ac_fn_c_try_cpp "$LINENO"; then : 4340 4341 else 4342 # Broken: fails on valid input. 4343 continue 4344 fi 4345 rm -f conftest.err conftest.i conftest.$ac_ext 4346 4347 # OK, works on sane cases. Now check whether nonexistent headers 4348 # can be detected and how. 4349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4350 /* end confdefs.h. */ 4351 #include <ac_nonexistent.h> 4352 _ACEOF 4353 if ac_fn_c_try_cpp "$LINENO"; then : 4354 # Broken: success on invalid input. 4355 continue 4356 else 4357 # Passes both tests. 4358 ac_preproc_ok=: 4359 break 4360 fi 4361 rm -f conftest.err conftest.i conftest.$ac_ext 4362 4363 done 4364 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4365 rm -f conftest.i conftest.err conftest.$ac_ext 4366 if $ac_preproc_ok; then : 4367 4368 else 4369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4371 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4372 See \`config.log' for more details" "$LINENO" 5; } 4373 fi 4374 4375 ac_ext=c 4376 ac_cpp='$CPP $CPPFLAGS' 4377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4379 ac_compiler_gnu=$ac_cv_c_compiler_gnu 4380 4381 4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4383 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4384 if ${ac_cv_path_GREP+:} false; then : 4385 $as_echo_n "(cached) " >&6 4386 else 4387 if test -z "$GREP"; then 4388 ac_path_GREP_found=false 4389 # Loop through the user's path and test for each of PROGNAME-LIST 4390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4391 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4392 do 4393 IFS=$as_save_IFS 4394 test -z "$as_dir" && as_dir=. 4395 for ac_prog in grep ggrep; do 4396 for ac_exec_ext in '' $ac_executable_extensions; do 4397 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4398 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4399 # Check for GNU ac_path_GREP and select it if it is found. 4400 # Check for GNU $ac_path_GREP 4401 case `"$ac_path_GREP" --version 2>&1` in 4402 *GNU*) 4403 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4404 *) 4405 ac_count=0 4406 $as_echo_n 0123456789 >"conftest.in" 4407 while : 4408 do 4409 cat "conftest.in" "conftest.in" >"conftest.tmp" 4410 mv "conftest.tmp" "conftest.in" 4411 cp "conftest.in" "conftest.nl" 4412 $as_echo 'GREP' >> "conftest.nl" 4413 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4414 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4415 as_fn_arith $ac_count + 1 && ac_count=$as_val 4416 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4417 # Best one so far, save it but keep looking for a better one 4418 ac_cv_path_GREP="$ac_path_GREP" 4419 ac_path_GREP_max=$ac_count 4420 fi 4421 # 10*(2^10) chars as input seems more than enough 4422 test $ac_count -gt 10 && break 4423 done 4424 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3208 4425 esac 3209 4426 3210 echo "$as_me:3210: checking for an ANSI C-conforming const" >&5 3211 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 3212 if test "${ac_cv_c_const+set}" = set; then 3213 echo $ECHO_N "(cached) $ECHO_C" >&6 3214 else 3215 cat >conftest.$ac_ext <<_ACEOF 3216 #line 3216 "configure" 3217 #include "confdefs.h" 4427 $ac_path_GREP_found && break 3 4428 done 4429 done 4430 done 4431 IFS=$as_save_IFS 4432 if test -z "$ac_cv_path_GREP"; then 4433 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4434 fi 4435 else 4436 ac_cv_path_GREP=$GREP 4437 fi 4438 4439 fi 4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4441 $as_echo "$ac_cv_path_GREP" >&6; } 4442 GREP="$ac_cv_path_GREP" 4443 4444 4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4446 $as_echo_n "checking for egrep... " >&6; } 4447 if ${ac_cv_path_EGREP+:} false; then : 4448 $as_echo_n "(cached) " >&6 4449 else 4450 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4451 then ac_cv_path_EGREP="$GREP -E" 4452 else 4453 if test -z "$EGREP"; then 4454 ac_path_EGREP_found=false 4455 # Loop through the user's path and test for each of PROGNAME-LIST 4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4457 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4458 do 4459 IFS=$as_save_IFS 4460 test -z "$as_dir" && as_dir=. 4461 for ac_prog in egrep; do 4462 for ac_exec_ext in '' $ac_executable_extensions; do 4463 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4464 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4465 # Check for GNU ac_path_EGREP and select it if it is found. 4466 # Check for GNU $ac_path_EGREP 4467 case `"$ac_path_EGREP" --version 2>&1` in 4468 *GNU*) 4469 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4470 *) 4471 ac_count=0 4472 $as_echo_n 0123456789 >"conftest.in" 4473 while : 4474 do 4475 cat "conftest.in" "conftest.in" >"conftest.tmp" 4476 mv "conftest.tmp" "conftest.in" 4477 cp "conftest.in" "conftest.nl" 4478 $as_echo 'EGREP' >> "conftest.nl" 4479 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4480 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4481 as_fn_arith $ac_count + 1 && ac_count=$as_val 4482 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4483 # Best one so far, save it but keep looking for a better one 4484 ac_cv_path_EGREP="$ac_path_EGREP" 4485 ac_path_EGREP_max=$ac_count 4486 fi 4487 # 10*(2^10) chars as input seems more than enough 4488 test $ac_count -gt 10 && break 4489 done 4490 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4491 esac 4492 4493 $ac_path_EGREP_found && break 3 4494 done 4495 done 4496 done 4497 IFS=$as_save_IFS 4498 if test -z "$ac_cv_path_EGREP"; then 4499 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4500 fi 4501 else 4502 ac_cv_path_EGREP=$EGREP 4503 fi 4504 4505 fi 4506 fi 4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4508 $as_echo "$ac_cv_path_EGREP" >&6; } 4509 EGREP="$ac_cv_path_EGREP" 4510 4511 4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4513 $as_echo_n "checking for ANSI C header files... " >&6; } 4514 if ${ac_cv_header_stdc+:} false; then : 4515 $as_echo_n "(cached) " >&6 4516 else 4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4518 /* end confdefs.h. */ 4519 #include <stdlib.h> 4520 #include <stdarg.h> 4521 #include <string.h> 4522 #include <float.h> 4523 4524 int 4525 main () 4526 { 4527 4528 ; 4529 return 0; 4530 } 4531 _ACEOF 4532 if ac_fn_c_try_compile "$LINENO"; then : 4533 ac_cv_header_stdc=yes 4534 else 4535 ac_cv_header_stdc=no 4536 fi 4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4538 4539 if test $ac_cv_header_stdc = yes; then 4540 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4542 /* end confdefs.h. */ 4543 #include <string.h> 4544 4545 _ACEOF 4546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4547 $EGREP "memchr" >/dev/null 2>&1; then : 4548 4549 else 4550 ac_cv_header_stdc=no 4551 fi 4552 rm -f conftest* 4553 4554 fi 4555 4556 if test $ac_cv_header_stdc = yes; then 4557 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4559 /* end confdefs.h. */ 4560 #include <stdlib.h> 4561 4562 _ACEOF 4563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4564 $EGREP "free" >/dev/null 2>&1; then : 4565 4566 else 4567 ac_cv_header_stdc=no 4568 fi 4569 rm -f conftest* 4570 4571 fi 4572 4573 if test $ac_cv_header_stdc = yes; then 4574 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4575 if test "$cross_compiling" = yes; then : 4576 : 4577 else 4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4579 /* end confdefs.h. */ 4580 #include <ctype.h> 4581 #include <stdlib.h> 4582 #if ((' ' & 0x0FF) == 0x020) 4583 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4584 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4585 #else 4586 # define ISLOWER(c) \ 4587 (('a' <= (c) && (c) <= 'i') \ 4588 || ('j' <= (c) && (c) <= 'r') \ 4589 || ('s' <= (c) && (c) <= 'z')) 4590 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4591 #endif 4592 4593 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4594 int 4595 main () 4596 { 4597 int i; 4598 for (i = 0; i < 256; i++) 4599 if (XOR (islower (i), ISLOWER (i)) 4600 || toupper (i) != TOUPPER (i)) 4601 return 2; 4602 return 0; 4603 } 4604 _ACEOF 4605 if ac_fn_c_try_run "$LINENO"; then : 4606 4607 else 4608 ac_cv_header_stdc=no 4609 fi 4610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4611 conftest.$ac_objext conftest.beam conftest.$ac_ext 4612 fi 4613 4614 fi 4615 fi 4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4617 $as_echo "$ac_cv_header_stdc" >&6; } 4618 if test $ac_cv_header_stdc = yes; then 4619 4620 $as_echo "#define STDC_HEADERS 1" >>confdefs.h 4621 4622 fi 4623 4624 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4625 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4626 inttypes.h stdint.h unistd.h 4627 do : 4628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4629 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4630 " 4631 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4632 cat >>confdefs.h <<_ACEOF 4633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4634 _ACEOF 4635 4636 fi 4637 4638 done 4639 4640 4641 for ac_header in malloc.h unistd.h 4642 do : 4643 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4644 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4645 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4646 cat >>confdefs.h <<_ACEOF 4647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4648 _ACEOF 4649 4650 fi 4651 4652 done 4653 4654 4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 4656 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4657 if ${ac_cv_c_const+:} false; then : 4658 $as_echo_n "(cached) " >&6 4659 else 4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4661 /* end confdefs.h. */ 3218 4662 3219 4663 int … … 3224 4668 /* Ultrix mips cc rejects this. */ 3225 4669 typedef int charset[2]; 3226 const charset x;4670 const charset cs; 3227 4671 /* SunOS 4.1.1 cc rejects this. */ 3228 char const *const * ccp;3229 char **p ;4672 char const *const *pcpcc; 4673 char **ppc; 3230 4674 /* NEC SVR4.0.2 mips cc rejects this. */ 3231 4675 struct point {int x, y;}; … … 3236 4680 expression */ 3237 4681 const char *g = "string"; 3238 ccp= &g + (g ? g-g : 0);4682 pcpcc = &g + (g ? g-g : 0); 3239 4683 /* HPUX 7.0 cc rejects these. */ 3240 ++ ccp;3241 p = (char**) ccp;3242 ccp = (char const *const *) p;4684 ++pcpcc; 4685 ppc = (char**) pcpcc; 4686 pcpcc = (char const *const *) ppc; 3243 4687 { /* SCO 3.2v4 cc rejects this. */ 3244 4688 char *t; … … 3246 4690 3247 4691 *t++ = 0; 4692 if (s) return 0; 3248 4693 } 3249 4694 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ … … 3264 4709 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 3265 4710 const int foo = 10; 4711 if (!foo) return 0; 3266 4712 } 4713 return !cs[0] && !zero.x; 3267 4714 #endif 3268 4715 … … 3271 4718 } 3272 4719 _ACEOF 3273 rm -f conftest.$ac_objext 3274 if { (eval echo "$as_me:3274: \"$ac_compile\"") >&5 3275 (eval $ac_compile) 2>&5 3276 ac_status=$? 3277 echo "$as_me:3277: \$? = $ac_status" >&5 3278 (exit $ac_status); } && 3279 { ac_try='test -s conftest.$ac_objext' 3280 { (eval echo "$as_me:3280: \"$ac_try\"") >&5 3281 (eval $ac_try) 2>&5 3282 ac_status=$? 3283 echo "$as_me:3283: \$? = $ac_status" >&5 3284 (exit $ac_status); }; }; then 4720 if ac_fn_c_try_compile "$LINENO"; then : 3285 4721 ac_cv_c_const=yes 3286 4722 else 3287 echo "$as_me: failed program was:" >&5 3288 cat conftest.$ac_ext >&5 3289 ac_cv_c_const=no 3290 fi 3291 rm -f conftest.$ac_objext conftest.$ac_ext 3292 fi 3293 echo "$as_me:3293: result: $ac_cv_c_const" >&5 3294 echo "${ECHO_T}$ac_cv_c_const" >&6 4723 ac_cv_c_const=no 4724 fi 4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4726 fi 4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 4728 $as_echo "$ac_cv_c_const" >&6; } 3295 4729 if test $ac_cv_c_const = no; then 3296 4730 3297 cat >>confdefs.h <<\EOF 3298 #define const 3299 EOF 3300 3301 fi 3302 3303 echo "$as_me:3303: checking for inline" >&5 3304 echo $ECHO_N "checking for inline... $ECHO_C" >&6 3305 if test "${ac_cv_c_inline+set}" = set; then 3306