1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.64. 4# 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 7# Foundation, Inc. 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90case $0 in #(( 91 *[\\/]* ) as_myself=$0 ;; 92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 93for as_dir in $PATH 94do 95 IFS=$as_save_IFS 96 test -z "$as_dir" && as_dir=. 97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 98 done 99IFS=$as_save_IFS 100 101 ;; 102esac 103# We did not find ourselves, most probably we were run as `sh COMMAND' 104# in which case we are not to be found in the path. 105if test "x$as_myself" = x; then 106 as_myself=$0 107fi 108if test ! -f "$as_myself"; then 109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 110 exit 1 111fi 112 113# Unset variables that we do not need and which cause bugs (e.g. in 114# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 115# suppresses any "Segmentation fault" message there. '((' could 116# trigger a bug in pdksh 5.2.14. 117for as_var in BASH_ENV ENV MAIL MAILPATH 118do eval test x\${$as_var+set} = xset \ 119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 120done 121PS1='$ ' 122PS2='> ' 123PS4='+ ' 124 125# NLS nuisances. 126LC_ALL=C 127export LC_ALL 128LANGUAGE=C 129export LANGUAGE 130 131# CDPATH. 132(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 133 134if test "x$CONFIG_SHELL" = x; then 135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 136 emulate sh 137 NULLCMD=: 138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 139 # is contrary to our usage. Disable this feature. 140 alias -g '\${1+\"\$@\"}'='\"\$@\"' 141 setopt NO_GLOB_SUBST 142else 143 case \`(set -o) 2>/dev/null\` in #( 144 *posix*) : 145 set -o posix ;; #( 146 *) : 147 ;; 148esac 149fi 150" 151 as_required="as_fn_return () { (exit \$1); } 152as_fn_success () { as_fn_return 0; } 153as_fn_failure () { as_fn_return 1; } 154as_fn_ret_success () { return 0; } 155as_fn_ret_failure () { return 1; } 156 157exitcode=0 158as_fn_success || { exitcode=1; echo as_fn_success failed.; } 159as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 160as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 161as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 162if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 163 164else 165 exitcode=1; echo positional parameters were not saved. 166fi 167test x\$exitcode = x0 || exit 1" 168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 172test \$(( 1 + 1 )) = 2 || exit 1" 173 if (eval "$as_required") 2>/dev/null; then : 174 as_have_required=yes 175else 176 as_have_required=no 177fi 178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 179 180else 181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 182as_found=false 183for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 184do 185 IFS=$as_save_IFS 186 test -z "$as_dir" && as_dir=. 187 as_found=: 188 case $as_dir in #( 189 /*) 190 for as_base in sh bash ksh sh5; do 191 # Try only shells that exist, to save several forks. 192 as_shell=$as_dir/$as_base 193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 195 CONFIG_SHELL=$as_shell as_have_required=yes 196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 break 2 198fi 199fi 200 done;; 201 esac 202 as_found=false 203done 204$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 206 CONFIG_SHELL=$SHELL as_have_required=yes 207fi; } 208IFS=$as_save_IFS 209 210 211 if test "x$CONFIG_SHELL" != x; then : 212 # We cannot yet assume a decent shell, so we have to provide a 213 # neutralization value for shells without unset; and this also 214 # works around shells that cannot unset nonexistent variables. 215 BASH_ENV=/dev/null 216 ENV=/dev/null 217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 218 export CONFIG_SHELL 219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 220fi 221 222 if test x$as_have_required = xno; then : 223 $as_echo "$0: This script requires a shell more modern than all" 224 $as_echo "$0: the shells that I found on your system." 225 if test x${ZSH_VERSION+set} = xset ; then 226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 227 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 228 else 229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 230$0: including any error possibly output before this 231$0: message. Then install a modern shell, or manually run 232$0: the script under such a shell if you do have one." 233 fi 234 exit 1 235fi 236fi 237fi 238SHELL=${CONFIG_SHELL-/bin/sh} 239export SHELL 240# Unset more variables known to interfere with behavior of common tools. 241CLICOLOR_FORCE= GREP_OPTIONS= 242unset CLICOLOR_FORCE GREP_OPTIONS 243 244## --------------------- ## 245## M4sh Shell Functions. ## 246## --------------------- ## 247# as_fn_unset VAR 248# --------------- 249# Portably unset VAR. 250as_fn_unset () 251{ 252 { eval $1=; unset $1;} 253} 254as_unset=as_fn_unset 255 256# as_fn_set_status STATUS 257# ----------------------- 258# Set $? to STATUS, without forking. 259as_fn_set_status () 260{ 261 return $1 262} # as_fn_set_status 263 264# as_fn_exit STATUS 265# ----------------- 266# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 267as_fn_exit () 268{ 269 set +e 270 as_fn_set_status $1 271 exit $1 272} # as_fn_exit 273 274# as_fn_mkdir_p 275# ------------- 276# Create "$as_dir" as a directory, including parents if necessary. 277as_fn_mkdir_p () 278{ 279 280 case $as_dir in #( 281 -*) as_dir=./$as_dir;; 282 esac 283 test -d "$as_dir" || eval $as_mkdir_p || { 284 as_dirs= 285 while :; do 286 case $as_dir in #( 287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 288 *) as_qdir=$as_dir;; 289 esac 290 as_dirs="'$as_qdir' $as_dirs" 291 as_dir=`$as_dirname -- "$as_dir" || 292$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 293 X"$as_dir" : 'X\(//\)[^/]' \| \ 294 X"$as_dir" : 'X\(//\)$' \| \ 295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 296$as_echo X"$as_dir" | 297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 298 s//\1/ 299 q 300 } 301 /^X\(\/\/\)[^/].*/{ 302 s//\1/ 303 q 304 } 305 /^X\(\/\/\)$/{ 306 s//\1/ 307 q 308 } 309 /^X\(\/\).*/{ 310 s//\1/ 311 q 312 } 313 s/.*/./; q'` 314 test -d "$as_dir" && break 315 done 316 test -z "$as_dirs" || eval "mkdir $as_dirs" 317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 318 319 320} # as_fn_mkdir_p 321# as_fn_append VAR VALUE 322# ---------------------- 323# Append the text in VALUE to the end of the definition contained in VAR. Take 324# advantage of any shell optimizations that allow amortized linear growth over 325# repeated appends, instead of the typical quadratic growth present in naive 326# implementations. 327if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 328 eval 'as_fn_append () 329 { 330 eval $1+=\$2 331 }' 332else 333 as_fn_append () 334 { 335 eval $1=\$$1\$2 336 } 337fi # as_fn_append 338 339# as_fn_arith ARG... 340# ------------------ 341# Perform arithmetic evaluation on the ARGs, and store the result in the 342# global $as_val. Take advantage of shells that can avoid forks. The arguments 343# must be portable across $(()) and expr. 344if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 345 eval 'as_fn_arith () 346 { 347 as_val=$(( $* )) 348 }' 349else 350 as_fn_arith () 351 { 352 as_val=`expr "$@" || test $? -eq 1` 353 } 354fi # as_fn_arith 355 356 357# as_fn_error ERROR [LINENO LOG_FD] 358# --------------------------------- 359# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 360# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 361# script with status $?, using 1 if that was 0. 362as_fn_error () 363{ 364 as_status=$?; test $as_status -eq 0 && as_status=1 365 if test "$3"; then 366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 368 fi 369 $as_echo "$as_me: error: $1" >&2 370 as_fn_exit $as_status 371} # as_fn_error 372 373if expr a : '\(a\)' >/dev/null 2>&1 && 374 test "X`expr 00001 : '.*\(...\)'`" = X001; then 375 as_expr=expr 376else 377 as_expr=false 378fi 379 380if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 381 as_basename=basename 382else 383 as_basename=false 384fi 385 386if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 387 as_dirname=dirname 388else 389 as_dirname=false 390fi 391 392as_me=`$as_basename -- "$0" || 393$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 394 X"$0" : 'X\(//\)$' \| \ 395 X"$0" : 'X\(/\)' \| . 2>/dev/null || 396$as_echo X/"$0" | 397 sed '/^.*\/\([^/][^/]*\)\/*$/{ 398 s//\1/ 399 q 400 } 401 /^X\/\(\/\/\)$/{ 402 s//\1/ 403 q 404 } 405 /^X\/\(\/\).*/{ 406 s//\1/ 407 q 408 } 409 s/.*/./; q'` 410 411# Avoid depending upon Character Ranges. 412as_cr_letters='abcdefghijklmnopqrstuvwxyz' 413as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 414as_cr_Letters=$as_cr_letters$as_cr_LETTERS 415as_cr_digits='0123456789' 416as_cr_alnum=$as_cr_Letters$as_cr_digits 417 418 419 as_lineno_1=$LINENO as_lineno_1a=$LINENO 420 as_lineno_2=$LINENO as_lineno_2a=$LINENO 421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 424 sed -n ' 425 p 426 /[$]LINENO/= 427 ' <$as_myself | 428 sed ' 429 s/[$]LINENO.*/&-/ 430 t lineno 431 b 432 :lineno 433 N 434 :loop 435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 436 t loop 437 s/-\n.*// 438 ' >$as_me.lineno && 439 chmod +x "$as_me.lineno" || 440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 441 442 # Don't try to exec as it changes $[0], causing all sort of problems 443 # (the dirname of $[0] is not the place where we might find the 444 # original and so on. Autoconf is especially sensitive to this). 445 . "./$as_me.lineno" 446 # Exit status is that of the last command. 447 exit 448} 449 450ECHO_C= ECHO_N= ECHO_T= 451case `echo -n x` in #((((( 452-n*) 453 case `echo 'xy\c'` in 454 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 455 xy) ECHO_C='\c';; 456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 457 ECHO_T=' ';; 458 esac;; 459*) 460 ECHO_N='-n';; 461esac 462 463rm -f conf$$ conf$$.exe conf$$.file 464if test -d conf$$.dir; then 465 rm -f conf$$.dir/conf$$.file 466else 467 rm -f conf$$.dir 468 mkdir conf$$.dir 2>/dev/null 469fi 470if (echo >conf$$.file) 2>/dev/null; then 471 if ln -s conf$$.file conf$$ 2>/dev/null; then 472 as_ln_s='ln -s' 473 # ... but there are two gotchas: 474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 476 # In both cases, we have to default to `cp -p'. 477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 478 as_ln_s='cp -p' 479 elif ln conf$$.file conf$$ 2>/dev/null; then 480 as_ln_s=ln 481 else 482 as_ln_s='cp -p' 483 fi 484else 485 as_ln_s='cp -p' 486fi 487rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 488rmdir conf$$.dir 2>/dev/null 489 490if mkdir -p . 2>/dev/null; then 491 as_mkdir_p='mkdir -p "$as_dir"' 492else 493 test -d ./-p && rmdir ./-p 494 as_mkdir_p=false 495fi 496 497if test -x / >/dev/null 2>&1; then 498 as_test_x='test -x' 499else 500 if ls -dL / >/dev/null 2>&1; then 501 as_ls_L_option=L 502 else 503 as_ls_L_option= 504 fi 505 as_test_x=' 506 eval sh -c '\'' 507 if test -d "$1"; then 508 test -d "$1/."; 509 else 510 case $1 in #( 511 -*)set "./$1";; 512 esac; 513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 514 ???[sx]*):;;*)false;;esac;fi 515 '\'' sh 516 ' 517fi 518as_executable_p=$as_test_x 519 520# Sed expression to map a string onto a valid CPP name. 521as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 522 523# Sed expression to map a string onto a valid variable name. 524as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 525 526 527exec 7<&0 </dev/null 6>&1 528 529# Name of the host. 530# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 531# so uname gets run too. 532ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 533 534# 535# Initializations. 536# 537ac_default_prefix=/usr/local 538ac_clean_files= 539ac_config_libobj_dir=. 540LIBOBJS= 541cross_compiling=no 542subdirs= 543MFLAGS= 544MAKEFLAGS= 545 546# Identity of this package. 547PACKAGE_NAME= 548PACKAGE_TARNAME= 549PACKAGE_VERSION= 550PACKAGE_STRING= 551PACKAGE_BUGREPORT= 552PACKAGE_URL= 553 554ac_unique_file="crlibm.h" 555# Factoring default headers for most tests. 556ac_includes_default="\ 557#include <stdio.h> 558#ifdef HAVE_SYS_TYPES_H 559# include <sys/types.h> 560#endif 561#ifdef HAVE_SYS_STAT_H 562# include <sys/stat.h> 563#endif 564#ifdef STDC_HEADERS 565# include <stdlib.h> 566# include <stddef.h> 567#else 568# ifdef HAVE_STDLIB_H 569# include <stdlib.h> 570# endif 571#endif 572#ifdef HAVE_STRING_H 573# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 574# include <memory.h> 575# endif 576# include <string.h> 577#endif 578#ifdef HAVE_STRINGS_H 579# include <strings.h> 580#endif 581#ifdef HAVE_INTTYPES_H 582# include <inttypes.h> 583#endif 584#ifdef HAVE_STDINT_H 585# include <stdint.h> 586#endif 587#ifdef HAVE_UNISTD_H 588# include <unistd.h> 589#endif" 590 591ac_subst_vars='am__EXEEXT_FALSE 592am__EXEEXT_TRUE 593LTLIBOBJS 594LIBOBJS 595USE_HARDWARE_DE_FALSE 596USE_HARDWARE_DE_TRUE 597USE_INTERVAL_FUNCTIONS_FALSE 598USE_INTERVAL_FUNCTIONS_TRUE 599USE_SSE2_FALSE 600USE_SSE2_TRUE 601HAS_FPU_CONTROL_FALSE 602HAS_FPU_CONTROL_TRUE 603EGREP 604GREP 605CPP 606LN_S 607RANLIB 608COMPILER_ICC_FALSE 609COMPILER_ICC_TRUE 610am__fastdepCC_FALSE 611am__fastdepCC_TRUE 612CCDEPMODE 613AMDEPBACKSLASH 614AMDEP_FALSE 615AMDEP_TRUE 616am__quote 617am__include 618DEPDIR 619OBJEXT 620EXEEXT 621ac_ct_CC 622CPPFLAGS 623LDFLAGS 624CFLAGS 625CC 626host_os 627host_vendor 628host_cpu 629host 630build_os 631build_vendor 632build_cpu 633build 634ISODATE 635am__untar 636am__tar 637AMTAR 638am__leading_dot 639SET_MAKE 640AWK 641mkdir_p 642MKDIR_P 643INSTALL_STRIP_PROGRAM 644STRIP 645install_sh 646MAKEINFO 647AUTOHEADER 648AUTOMAKE 649AUTOCONF 650ACLOCAL 651VERSION 652PACKAGE 653CYGPATH_W 654am__isrc 655INSTALL_DATA 656INSTALL_SCRIPT 657INSTALL_PROGRAM 658target_alias 659host_alias 660build_alias 661LIBS 662ECHO_T 663ECHO_N 664ECHO_C 665DEFS 666mandir 667localedir 668libdir 669psdir 670pdfdir 671dvidir 672htmldir 673infodir 674docdir 675oldincludedir 676includedir 677localstatedir 678sharedstatedir 679sysconfdir 680datadir 681datarootdir 682libexecdir 683sbindir 684bindir 685program_transform_name 686prefix 687exec_prefix 688PACKAGE_URL 689PACKAGE_BUGREPORT 690PACKAGE_STRING 691PACKAGE_VERSION 692PACKAGE_TARNAME 693PACKAGE_NAME 694PATH_SEPARATOR 695SHELL' 696ac_subst_files='' 697ac_user_opts=' 698enable_option_checking 699enable_dependency_tracking 700enable_sse2 701enable_interval_functions 702enable_double_extended 703enable_nbdigits 704enable_digitsize 705enable_mpfr 706enable_gmp 707enable_ultim 708enable_mcr 709with_gmp_include 710with_gmp_lib 711with_gmp 712with_mpfr_include 713with_mpfr_lib 714with_mpfr 715with_ultim_include 716with_ultim_lib 717with_ultim 718with_mcr_include 719with_mcr_lib 720with_mcr 721' 722 ac_precious_vars='build_alias 723host_alias 724target_alias 725CC 726CFLAGS 727LDFLAGS 728LIBS 729CPPFLAGS 730CPP' 731 732 733# Initialize some variables set by options. 734ac_init_help= 735ac_init_version=false 736ac_unrecognized_opts= 737ac_unrecognized_sep= 738# The variables have the same names as the options, with 739# dashes changed to underlines. 740cache_file=/dev/null 741exec_prefix=NONE 742no_create= 743no_recursion= 744prefix=NONE 745program_prefix=NONE 746program_suffix=NONE 747program_transform_name=s,x,x, 748silent= 749site= 750srcdir= 751verbose= 752x_includes=NONE 753x_libraries=NONE 754 755# Installation directory options. 756# These are left unexpanded so users can "make install exec_prefix=/foo" 757# and all the variables that are supposed to be based on exec_prefix 758# by default will actually change. 759# Use braces instead of parens because sh, perl, etc. also accept them. 760# (The list follows the same order as the GNU Coding Standards.) 761bindir='${exec_prefix}/bin' 762sbindir='${exec_prefix}/sbin' 763libexecdir='${exec_prefix}/libexec' 764datarootdir='${prefix}/share' 765datadir='${datarootdir}' 766sysconfdir='${prefix}/etc' 767sharedstatedir='${prefix}/com' 768localstatedir='${prefix}/var' 769includedir='${prefix}/include' 770oldincludedir='/usr/include' 771docdir='${datarootdir}/doc/${PACKAGE}' 772infodir='${datarootdir}/info' 773htmldir='${docdir}' 774dvidir='${docdir}' 775pdfdir='${docdir}' 776psdir='${docdir}' 777libdir='${exec_prefix}/lib' 778localedir='${datarootdir}/locale' 779mandir='${datarootdir}/man' 780 781ac_prev= 782ac_dashdash= 783for ac_option 784do 785 # If the previous option needs an argument, assign it. 786 if test -n "$ac_prev"; then 787 eval $ac_prev=\$ac_option 788 ac_prev= 789 continue 790 fi 791 792 case $ac_option in 793 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 794 *) ac_optarg=yes ;; 795 esac 796 797 # Accept the important Cygnus configure options, so we can diagnose typos. 798 799 case $ac_dashdash$ac_option in 800 --) 801 ac_dashdash=yes ;; 802 803 -bindir | --bindir | --bindi | --bind | --bin | --bi) 804 ac_prev=bindir ;; 805 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 806 bindir=$ac_optarg ;; 807 808 -build | --build | --buil | --bui | --bu) 809 ac_prev=build_alias ;; 810 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 811 build_alias=$ac_optarg ;; 812 813 -cache-file | --cache-file | --cache-fil | --cache-fi \ 814 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 815 ac_prev=cache_file ;; 816 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 817 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 818 cache_file=$ac_optarg ;; 819 820 --config-cache | -C) 821 cache_file=config.cache ;; 822 823 -datadir | --datadir | --datadi | --datad) 824 ac_prev=datadir ;; 825 -datadir=* | --datadir=* | --datadi=* | --datad=*) 826 datadir=$ac_optarg ;; 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 835 -disable-* | --disable-*) 836 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 837 # Reject names that are not valid shell variable names. 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 ;; 860 861 -enable-* | --enable-*) 862 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 863 # Reject names that are not valid shell variable names. 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=', ';; 874 esac 875 eval enable_$ac_useropt=\$ac_optarg ;; 876 877 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 878 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 879 | --exec | --exe | --ex) 880 ac_prev=exec_prefix ;; 881 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 882 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 883 | --exec=* | --exe=* | --ex=*) 884 exec_prefix=$ac_optarg ;; 885 886 -gas | --gas | --ga | --g) 887 # Obsolete; use --with-gas. 888 with_gas=yes ;; 889 890 -help | --help | --hel | --he | -h) 891 ac_init_help=long ;; 892 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 893 ac_init_help=recursive ;; 894 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 895 ac_init_help=short ;; 896 897 -host | --host | --hos | --ho) 898 ac_prev=host_alias ;; 899 -host=* | --host=* | --hos=* | --ho=*) 900 host_alias=$ac_optarg ;; 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 908 -includedir | --includedir | --includedi | --included | --include \ 909 | --includ | --inclu | --incl | --inc) 910 ac_prev=includedir ;; 911 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 912 | --includ=* | --inclu=* | --incl=* | --inc=*) 913 includedir=$ac_optarg ;; 914 915 -infodir | --infodir | --infodi | --infod | --info | --inf) 916 ac_prev=infodir ;; 917 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 918 infodir=$ac_optarg ;; 919 920 -libdir | --libdir | --libdi | --libd) 921 ac_prev=libdir ;; 922 -libdir=* | --libdir=* | --libdi=* | --libd=*) 923 libdir=$ac_optarg ;; 924 925 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 926 | --libexe | --libex | --libe) 927 ac_prev=libexecdir ;; 928 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 929 | --libexe=* | --libex=* | --libe=*) 930 libexecdir=$ac_optarg ;; 931 932 -localedir | --localedir | --localedi | --localed | --locale) 933 ac_prev=localedir ;; 934 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 935 localedir=$ac_optarg ;; 936 937 -localstatedir | --localstatedir | --localstatedi | --localstated \ 938 | --localstate | --localstat | --localsta | --localst | --locals) 939 ac_prev=localstatedir ;; 940 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 941 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 942 localstatedir=$ac_optarg ;; 943 944 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 945 ac_prev=mandir ;; 946 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 947 mandir=$ac_optarg ;; 948 949 -nfp | --nfp | --nf) 950 # Obsolete; use --without-fp. 951 with_fp=no ;; 952 953 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 954 | --no-cr | --no-c | -n) 955 no_create=yes ;; 956 957 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 958 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 959 no_recursion=yes ;; 960 961 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 962 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 963 | --oldin | --oldi | --old | --ol | --o) 964 ac_prev=oldincludedir ;; 965 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 966 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 967 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 968 oldincludedir=$ac_optarg ;; 969 970 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 971 ac_prev=prefix ;; 972 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 973 prefix=$ac_optarg ;; 974 975 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 976 | --program-pre | --program-pr | --program-p) 977 ac_prev=program_prefix ;; 978 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 979 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 980 program_prefix=$ac_optarg ;; 981 982 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 983 | --program-suf | --program-su | --program-s) 984 ac_prev=program_suffix ;; 985 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 986 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 987 program_suffix=$ac_optarg ;; 988 989 -program-transform-name | --program-transform-name \ 990 | --program-transform-nam | --program-transform-na \ 991 | --program-transform-n | --program-transform- \ 992 | --program-transform | --program-transfor \ 993 | --program-transfo | --program-transf \ 994 | --program-trans | --program-tran \ 995 | --progr-tra | --program-tr | --program-t) 996 ac_prev=program_transform_name ;; 997 -program-transform-name=* | --program-transform-name=* \ 998 | --program-transform-nam=* | --program-transform-na=* \ 999 | --program-transform-n=* | --program-transform-=* \ 1000 | --program-transform=* | --program-transfor=* \ 1001 | --program-transfo=* | --program-transf=* \ 1002 | --program-trans=* | --program-tran=* \ 1003 | --progr-tra=* | --program-tr=* | --program-t=*) 1004 program_transform_name=$ac_optarg ;; 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 1016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1017 | -silent | --silent | --silen | --sile | --sil) 1018 silent=yes ;; 1019 1020 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1021 ac_prev=sbindir ;; 1022 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1023 | --sbi=* | --sb=*) 1024 sbindir=$ac_optarg ;; 1025 1026 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1027 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1028 | --sharedst | --shareds | --shared | --share | --shar \ 1029 | --sha | --sh) 1030 ac_prev=sharedstatedir ;; 1031 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1032 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1033 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1034 | --sha=* | --sh=*) 1035 sharedstatedir=$ac_optarg ;; 1036 1037 -site | --site | --sit) 1038 ac_prev=site ;; 1039 -site=* | --site=* | --sit=*) 1040 site=$ac_optarg ;; 1041 1042 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1043 ac_prev=srcdir ;; 1044 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1045 srcdir=$ac_optarg ;; 1046 1047 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1048 | --syscon | --sysco | --sysc | --sys | --sy) 1049 ac_prev=sysconfdir ;; 1050 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1051 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1052 sysconfdir=$ac_optarg ;; 1053 1054 -target | --target | --targe | --targ | --tar | --ta | --t) 1055 ac_prev=target_alias ;; 1056 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1057 target_alias=$ac_optarg ;; 1058 1059 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1060 verbose=yes ;; 1061 1062 -version | --version | --versio | --versi | --vers | -V) 1063 ac_init_version=: ;; 1064 1065 -with-* | --with-*) 1066 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1067 # Reject names that are not valid shell variable names. 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=', ';; 1078 esac 1079 eval with_$ac_useropt=\$ac_optarg ;; 1080 1081 -without-* | --without-*) 1082 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1083 # Reject names that are not valid shell variable names. 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 ;; 1096 1097 --x) 1098 # Obsolete; use --with-x. 1099 with_x=yes ;; 1100 1101 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1102 | --x-incl | --x-inc | --x-in | --x-i) 1103 ac_prev=x_includes ;; 1104 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1105 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1106 x_includes=$ac_optarg ;; 1107 1108 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1109 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1110 ac_prev=x_libraries ;; 1111 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1112 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1113 x_libraries=$ac_optarg ;; 1114 1115 -*) as_fn_error "unrecognized option: \`$ac_option' 1116Try \`$0 --help' for more information." 1117 ;; 1118 1119 *=*) 1120 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1121 # Reject names that are not valid shell variable names. 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 1127 export $ac_envvar ;; 1128 1129 *) 1130 # FIXME: should be removed in autoconf 3.0. 1131 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1132 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 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} 1135 ;; 1136 1137 esac 1138done 1139 1140if test -n "$ac_prev"; then 1141 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1142 as_fn_error "missing argument to $ac_option" 1143fi 1144 1145if 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 1151fi 1152 1153# Check all directory arguments for consistency. 1154for 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 1158do 1159 eval ac_val=\$$ac_var 1160 # Remove trailing slashes. 1161 case $ac_val in 1162 */ ) 1163 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1164 eval $ac_var=\$ac_val;; 1165 esac 1166 # Be sure to have absolute directory names. 1167 case $ac_val in 1168 [\\/$]* | ?:[\\/]* ) continue;; 1169 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1170 esac 1171 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1172done 1173 1174# There might be people who depend on the old broken behavior: `$host' 1175# used to hold the argument of --host etc. 1176# FIXME: To remove some day. 1177build=$build_alias 1178host=$host_alias 1179target=$target_alias 1180 1181# FIXME: To remove some day. 1182if test "x$host_alias" != x; then 1183 if test "x$build_alias" = x; then 1184 cross_compiling=maybe 1185 $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 1187 elif test "x$build_alias" != "x$host_alias"; then 1188 cross_compiling=yes 1189 fi 1190fi 1191 1192ac_tool_prefix= 1193test -n "$host_alias" && ac_tool_prefix=$host_alias- 1194 1195test "$silent" = yes && exec 6>/dev/null 1196 1197 1198ac_pwd=`pwd` && test -n "$ac_pwd" && 1199ac_ls_di=`ls -di .` && 1200ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1201 as_fn_error "working directory cannot be determined" 1202test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1203 as_fn_error "pwd does not report name of working directory" 1204 1205 1206# Find the source files, if location was not specified. 1207if test -z "$srcdir"; then 1208 ac_srcdir_defaulted=yes 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'` 1233 srcdir=$ac_confdir 1234 if test ! -r "$srcdir/$ac_unique_file"; then 1235 srcdir=.. 1236 fi 1237else 1238 ac_srcdir_defaulted=no 1239fi 1240if 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" 1243fi 1244ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1245ac_abs_confdir=`( 1246 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1247 pwd)` 1248# When building in place, set srcdir=. 1249if test "$ac_abs_confdir" = "$ac_pwd"; then 1250 srcdir=. 1251fi 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. 1255case $srcdir in 1256*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1257esac 1258for 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} 1263done 1264 1265# 1266# Report the --help message. 1267# 1268if test "$ac_init_help" = "long"; then 1269 # Omit some internal or obsolete options to make the list less imposing. 1270 # This message is too long to be a string in the A/UX 3.1 sh. 1271 cat <<_ACEOF 1272\`configure' configures this package to adapt to many kinds of systems. 1273 1274Usage: $0 [OPTION]... [VAR=VALUE]... 1275 1276To assign environment variables (e.g., CC, CFLAGS...), specify them as 1277VAR=VALUE. See below for descriptions of some of the useful variables. 1278 1279Defaults for the options are specified in brackets. 1280 1281Configuration: 1282 -h, --help display this help and exit 1283 --help=short display options specific to this package 1284 --help=recursive display the short help of all the included packages 1285 -V, --version display version information and exit 1286 -q, --quiet, --silent do not print \`checking...' messages 1287 --cache-file=FILE cache test results in FILE [disabled] 1288 -C, --config-cache alias for \`--cache-file=config.cache' 1289 -n, --no-create do not create output files 1290 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1291 1292Installation directories: 1293 --prefix=PREFIX install architecture-independent files in PREFIX 1294 [$ac_default_prefix] 1295 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1296 [PREFIX] 1297 1298By default, \`make install' will install all the files in 1299\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1300an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1301for instance \`--prefix=\$HOME'. 1302 1303For better control, use the options below. 1304 1305Fine tuning of the installation directories: 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/PACKAGE] 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 1328 1329Program names: 1330 --program-prefix=PREFIX prepend PREFIX to installed program names 1331 --program-suffix=SUFFIX append SUFFIX to installed program names 1332 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1333 1334System types: 1335 --build=BUILD configure for building on BUILD [guessed] 1336 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1337_ACEOF 1338fi 1339 1340if test -n "$ac_init_help"; then 1341 1342 cat <<\_ACEOF 1343 1344Optional Features: 1345 --disable-option-checking ignore unrecognized --enable/--with options 1346 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1347 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1348 --disable-dependency-tracking speeds up one-time build 1349 --enable-dependency-tracking do not reject slow dependency extractors 1350 --enable-sse2 forces the use of sse2 arith [default=no] 1351 --enable-interval-functions enables filib-compatible interval functions (DOES NOT WORK YET) [default=no] 1352 --enable-double-extended enable double-extended optimised versions of functions if hardware supports it [default=yes] 1353 --enable-nbdigits=N set the number of digits in the SCS structure to N [default=8] 1354 --enable-digitsize=N set the size of a digit to N bits [default=30] 1355 --enable-mpfr enable MPFR function [default=no] 1356 --enable-gmp enable GMP function [default=no] 1357 --enable-ultim enable comparison with libultim, IBM's Accurate Portable Math Library [default=no] 1358 --enable-mcr enable comparison with Sun's LIBMCR [default=no] 1359 1360Optional Packages: 1361 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1362 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1363 --with-gmp-include=DIR GMP include directory 1364 --with-gmp-lib=DIR GMP lib directory 1365 --with-gmp=DIR GMP directory 1366 --with-mpfr-include=DIR MPFR include directory 1367 --with-mpfr-lib=DIR MPFR lib directory 1368 --with-mpfr=DIR MPFR directory 1369 --with-ultim-include=DIR ULTIM include directory 1370 --with-ultim-lib=DIR ULTIM lib directory 1371 --with-ultim=DIR ULTIM directory 1372 --with-mcr-include=DIR LIBMCR include directory 1373 --with-mcr-lib=DIR LIBMCR lib directory 1374 --with-mcr=DIR LIBMCR directory 1375 1376Some influential environment variables: 1377 CC C compiler command 1378 CFLAGS C compiler flags 1379 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1380 nonstandard directory <lib dir> 1381 LIBS libraries to pass to the linker, e.g. -l<library> 1382 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 1383 you have headers in a nonstandard directory <include dir> 1384 CPP C preprocessor 1385 1386Use these variables to override the choices made by `configure' or to help 1387it to find libraries and programs with nonstandard names/locations. 1388 1389Report bugs to the package provider. 1390_ACEOF 1391ac_status=$? 1392fi 1393 1394if test "$ac_init_help" = "recursive"; then 1395 # If there are subdirs, report their specific --help. 1396 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1397 test -d "$ac_dir" || 1398 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1399 continue 1400 ac_builddir=. 1401 1402case "$ac_dir" in 1403.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1404*) 1405 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1406 # A ".." for each directory in $ac_dir_suffix. 1407 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1408 case $ac_top_builddir_sub in 1409 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1410 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1411 esac ;; 1412esac 1413ac_abs_top_builddir=$ac_pwd 1414ac_abs_builddir=$ac_pwd$ac_dir_suffix 1415# for backward compatibility: 1416ac_top_builddir=$ac_top_build_prefix 1417 1418case $srcdir in 1419 .) # We are building in place. 1420 ac_srcdir=. 1421 ac_top_srcdir=$ac_top_builddir_sub 1422 ac_abs_top_srcdir=$ac_pwd ;; 1423 [\\/]* | ?:[\\/]* ) # Absolute name. 1424 ac_srcdir=$srcdir$ac_dir_suffix; 1425 ac_top_srcdir=$srcdir 1426 ac_abs_top_srcdir=$srcdir ;; 1427 *) # Relative name. 1428 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1429 ac_top_srcdir=$ac_top_build_prefix$srcdir 1430 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1431esac 1432ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1433 1434 cd "$ac_dir" || { ac_status=$?; continue; } 1435 # Check for guested configure. 1436 if test -f "$ac_srcdir/configure.gnu"; then 1437 echo && 1438 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1439 elif test -f "$ac_srcdir/configure"; then 1440 echo && 1441 $SHELL "$ac_srcdir/configure" --help=recursive 1442 else 1443 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1444 fi || ac_status=$? 1445 cd "$ac_pwd" || { ac_status=$?; break; } 1446 done 1447fi 1448 1449test -n "$ac_init_help" && exit $ac_status 1450if $ac_init_version; then 1451 cat <<\_ACEOF 1452configure 1453generated by GNU Autoconf 2.64 1454 1455Copyright (C) 2009 Free Software Foundation, Inc. 1456This configure script is free software; the Free Software Foundation 1457gives unlimited permission to copy, distribute and modify it. 1458_ACEOF 1459 exit 1460fi 1461 1462## ------------------------ ## 1463## Autoconf initialization. ## 1464## ------------------------ ## 1465 1466# ac_fn_c_try_compile LINENO 1467# -------------------------- 1468# Try to compile conftest.$ac_ext, and return whether this succeeded. 1469ac_fn_c_try_compile () 1470{ 1471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1472 rm -f conftest.$ac_objext 1473 if { { ac_try="$ac_compile" 1474case "(($ac_try" in 1475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1476 *) ac_try_echo=$ac_try;; 1477esac 1478eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1479$as_echo "$ac_try_echo"; } >&5 1480 (eval "$ac_compile") 2>conftest.err 1481 ac_status=$? 1482 if test -s conftest.err; then 1483 grep -v '^ *+' conftest.err >conftest.er1 1484 cat conftest.er1 >&5 1485 mv -f conftest.er1 conftest.err 1486 fi 1487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1488 test $ac_status = 0; } && { 1489 test -z "$ac_c_werror_flag" || 1490 test ! -s conftest.err 1491 } && test -s conftest.$ac_objext; then : 1492 ac_retval=0 1493else 1494 $as_echo "$as_me: failed program was:" >&5 1495sed 's/^/| /' conftest.$ac_ext >&5 1496 1497 ac_retval=1 1498fi 1499 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1500 return $ac_retval 1501 1502} # ac_fn_c_try_compile 1503 1504# ac_fn_c_try_cpp LINENO 1505# ---------------------- 1506# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1507ac_fn_c_try_cpp () 1508{ 1509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1510 if { { ac_try="$ac_cpp conftest.$ac_ext" 1511case "(($ac_try" in 1512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1513 *) ac_try_echo=$ac_try;; 1514esac 1515eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1516$as_echo "$ac_try_echo"; } >&5 1517 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1518 ac_status=$? 1519 if test -s conftest.err; then 1520 grep -v '^ *+' conftest.err >conftest.er1 1521 cat conftest.er1 >&5 1522 mv -f conftest.er1 conftest.err 1523 fi 1524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1525 test $ac_status = 0; } >/dev/null && { 1526 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1527 test ! -s conftest.err 1528 }; then : 1529 ac_retval=0 1530else 1531 $as_echo "$as_me: failed program was:" >&5 1532sed 's/^/| /' conftest.$ac_ext >&5 1533 1534 ac_retval=1 1535fi 1536 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1537 return $ac_retval 1538 1539} # ac_fn_c_try_cpp 1540 1541# ac_fn_c_try_run LINENO 1542# ---------------------- 1543# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1544# that executables *can* be run. 1545ac_fn_c_try_run () 1546{ 1547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1548 if { { ac_try="$ac_link" 1549case "(($ac_try" in 1550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1551 *) ac_try_echo=$ac_try;; 1552esac 1553eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1554$as_echo "$ac_try_echo"; } >&5 1555 (eval "$ac_link") 2>&5 1556 ac_status=$? 1557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1558 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1559 { { case "(($ac_try" in 1560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1561 *) ac_try_echo=$ac_try;; 1562esac 1563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1564$as_echo "$ac_try_echo"; } >&5 1565 (eval "$ac_try") 2>&5 1566 ac_status=$? 1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1568 test $ac_status = 0; }; }; then : 1569 ac_retval=0 1570else 1571 $as_echo "$as_me: program exited with status $ac_status" >&5 1572 $as_echo "$as_me: failed program was:" >&5 1573sed 's/^/| /' conftest.$ac_ext >&5 1574 1575 ac_retval=$ac_status 1576fi 1577 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1578 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1579 return $ac_retval 1580 1581} # ac_fn_c_try_run 1582 1583# ac_fn_c_try_link LINENO 1584# ----------------------- 1585# Try to link conftest.$ac_ext, and return whether this succeeded. 1586ac_fn_c_try_link () 1587{ 1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1589 rm -f conftest.$ac_objext conftest$ac_exeext 1590 if { { ac_try="$ac_link" 1591case "(($ac_try" in 1592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1593 *) ac_try_echo=$ac_try;; 1594esac 1595eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1596$as_echo "$ac_try_echo"; } >&5 1597 (eval "$ac_link") 2>conftest.err 1598 ac_status=$? 1599 if test -s conftest.err; then 1600 grep -v '^ *+' conftest.err >conftest.er1 1601 cat conftest.er1 >&5 1602 mv -f conftest.er1 conftest.err 1603 fi 1604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1605 test $ac_status = 0; } && { 1606 test -z "$ac_c_werror_flag" || 1607 test ! -s conftest.err 1608 } && test -s conftest$ac_exeext && { 1609 test "$cross_compiling" = yes || 1610 $as_test_x conftest$ac_exeext 1611 }; then : 1612 ac_retval=0 1613else 1614 $as_echo "$as_me: failed program was:" >&5 1615sed 's/^/| /' conftest.$ac_ext >&5 1616 1617 ac_retval=1 1618fi 1619 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1620 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1621 # interfere with the next link command; also delete a directory that is 1622 # left behind by Apple's compiler. We do this before executing the actions. 1623 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1624 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1625 return $ac_retval 1626 1627} # ac_fn_c_try_link 1628 1629# ac_fn_c_check_func LINENO FUNC VAR 1630# ---------------------------------- 1631# Tests whether FUNC exists, setting the cache variable VAR accordingly 1632ac_fn_c_check_func () 1633{ 1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1636$as_echo_n "checking for $2... " >&6; } 1637if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1638 $as_echo_n "(cached) " >&6 1639else 1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1641/* end confdefs.h. */ 1642/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1643 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1644#define $2 innocuous_$2 1645 1646/* System header to define __stub macros and hopefully few prototypes, 1647 which can conflict with char $2 (); below. 1648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1649 <limits.h> exists even on freestanding compilers. */ 1650 1651#ifdef __STDC__ 1652# include <limits.h> 1653#else 1654# include <assert.h> 1655#endif 1656 1657#undef $2 1658 1659/* Override any GCC internal prototype to avoid an error. 1660 Use char because int might match the return type of a GCC 1661 builtin and then its argument prototype would still apply. */ 1662#ifdef __cplusplus 1663extern "C" 1664#endif 1665char $2 (); 1666/* The GNU C library defines this for functions which it implements 1667 to always fail with ENOSYS. Some functions are actually named 1668 something starting with __ and the normal name is an alias. */ 1669#if defined __stub_$2 || defined __stub___$2 1670choke me 1671#endif 1672 1673int 1674main () 1675{ 1676return $2 (); 1677 ; 1678 return 0; 1679} 1680_ACEOF 1681if ac_fn_c_try_link "$LINENO"; then : 1682 eval "$3=yes" 1683else 1684 eval "$3=no" 1685fi 1686rm -f core conftest.err conftest.$ac_objext \ 1687 conftest$ac_exeext conftest.$ac_ext 1688fi 1689eval ac_res=\$$3 1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1691$as_echo "$ac_res" >&6; } 1692 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1693 1694} # ac_fn_c_check_func 1695 1696# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1697# ------------------------------------------------------- 1698# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1699# the include files in INCLUDES and setting the cache variable VAR 1700# accordingly. 1701ac_fn_c_check_header_mongrel () 1702{ 1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1704 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1706$as_echo_n "checking for $2... " >&6; } 1707if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1708 $as_echo_n "(cached) " >&6 1709fi 1710eval ac_res=\$$3 1711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1712$as_echo "$ac_res" >&6; } 1713else 1714 # Is the header compilable? 1715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1716$as_echo_n "checking $2 usability... " >&6; } 1717cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1718/* end confdefs.h. */ 1719$4 1720#include <$2> 1721_ACEOF 1722if ac_fn_c_try_compile "$LINENO"; then : 1723 ac_header_compiler=yes 1724else 1725 ac_header_compiler=no 1726fi 1727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1729$as_echo "$ac_header_compiler" >&6; } 1730 1731# Is the header present? 1732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1733$as_echo_n "checking $2 presence... " >&6; } 1734cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1735/* end confdefs.h. */ 1736#include <$2> 1737_ACEOF 1738if ac_fn_c_try_cpp "$LINENO"; then : 1739 ac_header_preproc=yes 1740else 1741 ac_header_preproc=no 1742fi 1743rm -f conftest.err conftest.$ac_ext 1744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1745$as_echo "$ac_header_preproc" >&6; } 1746 1747# So? What about this header? 1748case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1749 yes:no: ) 1750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1751$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1753$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1754 ;; 1755 no:yes:* ) 1756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1757$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1759$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1761$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1763$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1765$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1766 ;; 1767esac 1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1769$as_echo_n "checking for $2... " >&6; } 1770if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1771 $as_echo_n "(cached) " >&6 1772else 1773 eval "$3=\$ac_header_compiler" 1774fi 1775eval ac_res=\$$3 1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1777$as_echo "$ac_res" >&6; } 1778fi 1779 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1780 1781} # ac_fn_c_check_header_mongrel 1782 1783# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1784# ------------------------------------------------------- 1785# Tests whether HEADER exists and can be compiled using the include files in 1786# INCLUDES, setting the cache variable VAR accordingly. 1787ac_fn_c_check_header_compile () 1788{ 1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1791$as_echo_n "checking for $2... " >&6; } 1792if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 1793 $as_echo_n "(cached) " >&6 1794else 1795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1796/* end confdefs.h. */ 1797$4 1798#include <$2> 1799_ACEOF 1800if ac_fn_c_try_compile "$LINENO"; then : 1801 eval "$3=yes" 1802else 1803 eval "$3=no" 1804fi 1805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1806fi 1807eval ac_res=\$$3 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1809$as_echo "$ac_res" >&6; } 1810 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1811 1812} # ac_fn_c_check_header_compile 1813 1814# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 1815# -------------------------------------------- 1816# Tries to find the compile-time value of EXPR in a program that includes 1817# INCLUDES, setting VAR accordingly. Returns whether the value could be 1818# computed 1819ac_fn_c_compute_int () 1820{ 1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1822 if test "$cross_compiling" = yes; then 1823 # Depending upon the size, compute the lo and hi bounds. 1824cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1825/* end confdefs.h. */ 1826$4 1827int 1828main () 1829{ 1830static int test_array [1 - 2 * !(($2) >= 0)]; 1831test_array [0] = 0 1832 1833 ; 1834 return 0; 1835} 1836_ACEOF 1837if ac_fn_c_try_compile "$LINENO"; then : 1838 ac_lo=0 ac_mid=0 1839 while :; do 1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1841/* end confdefs.h. */ 1842$4 1843int 1844main () 1845{ 1846static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1847test_array [0] = 0 1848 1849 ; 1850 return 0; 1851} 1852_ACEOF 1853if ac_fn_c_try_compile "$LINENO"; then : 1854 ac_hi=$ac_mid; break 1855else 1856 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 1857 if test $ac_lo -le $ac_mid; then 1858 ac_lo= ac_hi= 1859 break 1860 fi 1861 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 1862fi 1863rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1864 done 1865else 1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1867/* end confdefs.h. */ 1868$4 1869int 1870main () 1871{ 1872static int test_array [1 - 2 * !(($2) < 0)]; 1873test_array [0] = 0 1874 1875 ; 1876 return 0; 1877} 1878_ACEOF 1879if ac_fn_c_try_compile "$LINENO"; then : 1880 ac_hi=-1 ac_mid=-1 1881 while :; do 1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1883/* end confdefs.h. */ 1884$4 1885int 1886main () 1887{ 1888static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 1889test_array [0] = 0 1890 1891 ; 1892 return 0; 1893} 1894_ACEOF 1895if ac_fn_c_try_compile "$LINENO"; then : 1896 ac_lo=$ac_mid; break 1897else 1898 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 1899 if test $ac_mid -le $ac_hi; then 1900 ac_lo= ac_hi= 1901 break 1902 fi 1903 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 1904fi 1905rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1906 done 1907else 1908 ac_lo= ac_hi= 1909fi 1910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1911fi 1912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1913# Binary search between lo and hi bounds. 1914while test "x$ac_lo" != "x$ac_hi"; do 1915 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1917/* end confdefs.h. */ 1918$4 1919int 1920main () 1921{ 1922static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 1923test_array [0] = 0 1924 1925 ; 1926 return 0; 1927} 1928_ACEOF 1929if ac_fn_c_try_compile "$LINENO"; then : 1930 ac_hi=$ac_mid 1931else 1932 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 1933fi 1934rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1935done 1936case $ac_lo in #(( 1937?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 1938'') ac_retval=1 ;; 1939esac 1940 else 1941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1942/* end confdefs.h. */ 1943$4 1944static long int longval () { return $2; } 1945static unsigned long int ulongval () { return $2; } 1946#include <stdio.h> 1947#include <stdlib.h> 1948int 1949main () 1950{ 1951 1952 FILE *f = fopen ("conftest.val", "w"); 1953 if (! f) 1954 return 1; 1955 if (($2) < 0) 1956 { 1957 long int i = longval (); 1958 if (i != ($2)) 1959 return 1; 1960 fprintf (f, "%ld", i); 1961 } 1962 else 1963 { 1964 unsigned long int i = ulongval (); 1965 if (i != ($2)) 1966 return 1; 1967 fprintf (f, "%lu", i); 1968 } 1969 /* Do not output a trailing newline, as this causes \r\n confusion 1970 on some platforms. */ 1971 return ferror (f) || fclose (f) != 0; 1972 1973 ; 1974 return 0; 1975} 1976_ACEOF 1977if ac_fn_c_try_run "$LINENO"; then : 1978 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 1979else 1980 ac_retval=1 1981fi 1982rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 1983 conftest.$ac_objext conftest.beam conftest.$ac_ext 1984rm -f conftest.val 1985 1986 fi 1987 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1988 return $ac_retval 1989 1990} # ac_fn_c_compute_int 1991cat >config.log <<_ACEOF 1992This file contains any messages produced by compilers while 1993running configure, to aid debugging if configure makes a mistake. 1994 1995It was created by $as_me, which was 1996generated by GNU Autoconf 2.64. Invocation command line was 1997 1998 $ $0 $@ 1999 2000_ACEOF 2001exec 5>>config.log 2002{ 2003cat <<_ASUNAME 2004## --------- ## 2005## Platform. ## 2006## --------- ## 2007 2008hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2009uname -m = `(uname -m) 2>/dev/null || echo unknown` 2010uname -r = `(uname -r) 2>/dev/null || echo unknown` 2011uname -s = `(uname -s) 2>/dev/null || echo unknown` 2012uname -v = `(uname -v) 2>/dev/null || echo unknown` 2013 2014/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2015/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2016 2017/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2018/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2019/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2020/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2021/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2022/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2023/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2024 2025_ASUNAME 2026 2027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2028for as_dir in $PATH 2029do 2030 IFS=$as_save_IFS 2031 test -z "$as_dir" && as_dir=. 2032 $as_echo "PATH: $as_dir" 2033 done 2034IFS=$as_save_IFS 2035 2036} >&5 2037 2038cat >&5 <<_ACEOF 2039 2040 2041## ----------- ## 2042## Core tests. ## 2043## ----------- ## 2044 2045_ACEOF 2046 2047 2048# Keep a trace of the command line. 2049# Strip out --no-create and --no-recursion so they do not pile up. 2050# Strip out --silent because we don't want to record it for future runs. 2051# Also quote any args containing shell meta-characters. 2052# Make two passes to allow for proper duplicate-argument suppression. 2053ac_configure_args= 2054ac_configure_args0= 2055ac_configure_args1= 2056ac_must_keep_next=false 2057for ac_pass in 1 2 2058do 2059 for ac_arg 2060 do 2061 case $ac_arg in 2062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2064 | -silent | --silent | --silen | --sile | --sil) 2065 continue ;; 2066 *\'*) 2067 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2068 esac 2069 case $ac_pass in 2070 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2071 2) 2072 as_fn_append ac_configure_args1 " '$ac_arg'" 2073 if test $ac_must_keep_next = true; then 2074 ac_must_keep_next=false # Got value, back to normal. 2075 else 2076 case $ac_arg in 2077 *=* | --config-cache | -C | -disable-* | --disable-* \ 2078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2080 | -with-* | --with-* | -without-* | --without-* | --x) 2081 case "$ac_configure_args0 " in 2082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2083 esac 2084 ;; 2085 -* ) ac_must_keep_next=true ;; 2086 esac 2087 fi 2088 as_fn_append ac_configure_args " '$ac_arg'" 2089 ;; 2090 esac 2091 done 2092done 2093{ ac_configure_args0=; unset ac_configure_args0;} 2094{ ac_configure_args1=; unset ac_configure_args1;} 2095 2096# When interrupted or exit'd, cleanup temporary files, and complete 2097# config.log. We remove comments because anyway the quotes in there 2098# would cause problems or look ugly. 2099# WARNING: Use '\'' to represent an apostrophe within the trap. 2100# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2101trap 'exit_status=$? 2102 # Save into config.log some information that might help in debugging. 2103 { 2104 echo 2105 2106 cat <<\_ASBOX 2107## ---------------- ## 2108## Cache variables. ## 2109## ---------------- ## 2110_ASBOX 2111 echo 2112 # The following way of writing the cache mishandles newlines in values, 2113( 2114 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2115 eval ac_val=\$$ac_var 2116 case $ac_val in #( 2117 *${as_nl}*) 2118 case $ac_var in #( 2119 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2120$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2121 esac 2122 case $ac_var in #( 2123 _ | IFS | as_nl) ;; #( 2124 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2125 *) { eval $ac_var=; unset $ac_var;} ;; 2126 esac ;; 2127 esac 2128 done 2129 (set) 2>&1 | 2130 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2131 *${as_nl}ac_space=\ *) 2132 sed -n \ 2133 "s/'\''/'\''\\\\'\'''\''/g; 2134 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2135 ;; #( 2136 *) 2137 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2138 ;; 2139 esac | 2140 sort 2141) 2142 echo 2143 2144 cat <<\_ASBOX 2145## ----------------- ## 2146## Output variables. ## 2147## ----------------- ## 2148_ASBOX 2149 echo 2150 for ac_var in $ac_subst_vars 2151 do 2152 eval ac_val=\$$ac_var 2153 case $ac_val in 2154 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2155 esac 2156 $as_echo "$ac_var='\''$ac_val'\''" 2157 done | sort 2158 echo 2159 2160 if test -n "$ac_subst_files"; then 2161 cat <<\_ASBOX 2162## ------------------- ## 2163## File substitutions. ## 2164## ------------------- ## 2165_ASBOX 2166 echo 2167 for ac_var in $ac_subst_files 2168 do 2169 eval ac_val=\$$ac_var 2170 case $ac_val in 2171 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2172 esac 2173 $as_echo "$ac_var='\''$ac_val'\''" 2174 done | sort 2175 echo 2176 fi 2177 2178 if test -s confdefs.h; then 2179 cat <<\_ASBOX 2180## ----------- ## 2181## confdefs.h. ## 2182## ----------- ## 2183_ASBOX 2184 echo 2185 cat confdefs.h 2186 echo 2187 fi 2188 test "$ac_signal" != 0 && 2189 $as_echo "$as_me: caught signal $ac_signal" 2190 $as_echo "$as_me: exit $exit_status" 2191 } >&5 2192 rm -f core *.core core.conftest.* && 2193 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2194 exit $exit_status 2195' 0 2196for ac_signal in 1 2 13 15; do 2197 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2198done 2199ac_signal=0 2200 2201# confdefs.h avoids OS command line length limits that DEFS can exceed. 2202rm -f -r conftest* confdefs.h 2203 2204$as_echo "/* confdefs.h */" > confdefs.h 2205 2206# Predefined preprocessor variables. 2207 2208cat >>confdefs.h <<_ACEOF 2209#define PACKAGE_NAME "$PACKAGE_NAME" 2210_ACEOF 2211 2212cat >>confdefs.h <<_ACEOF 2213#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2214_ACEOF 2215 2216cat >>confdefs.h <<_ACEOF 2217#define PACKAGE_VERSION "$PACKAGE_VERSION" 2218_ACEOF 2219 2220cat >>confdefs.h <<_ACEOF 2221#define PACKAGE_STRING "$PACKAGE_STRING" 2222_ACEOF 2223 2224cat >>confdefs.h <<_ACEOF 2225#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2226_ACEOF 2227 2228cat >>confdefs.h <<_ACEOF 2229#define PACKAGE_URL "$PACKAGE_URL" 2230_ACEOF 2231 2232 2233# Let the site file select an alternate cache file if it wants to. 2234# Prefer an explicitly selected file to automatically selected ones. 2235ac_site_file1=NONE 2236ac_site_file2=NONE 2237if test -n "$CONFIG_SITE"; then 2238 ac_site_file1=$CONFIG_SITE 2239elif test "x$prefix" != xNONE; then 2240 ac_site_file1=$prefix/share/config.site 2241 ac_site_file2=$prefix/etc/config.site 2242else 2243 ac_site_file1=$ac_default_prefix/share/config.site 2244 ac_site_file2=$ac_default_prefix/etc/config.site 2245fi 2246for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2247do 2248 test "x$ac_site_file" = xNONE && continue 2249 if test -r "$ac_site_file"; then 2250 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2251$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2252 sed 's/^/| /' "$ac_site_file" >&5 2253 . "$ac_site_file" 2254 fi 2255done 2256 2257if test -r "$cache_file"; then 2258 # Some versions of bash will fail to source /dev/null (special 2259 # files actually), so we avoid doing that. 2260 if test -f "$cache_file"; then 2261 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2262$as_echo "$as_me: loading cache $cache_file" >&6;} 2263 case $cache_file in 2264 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2265 *) . "./$cache_file";; 2266 esac 2267 fi 2268else 2269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2270$as_echo "$as_me: creating cache $cache_file" >&6;} 2271 >$cache_file 2272fi 2273 2274# Check that the precious variables saved in the cache have kept the same 2275# value. 2276ac_cache_corrupted=false 2277for ac_var in $ac_precious_vars; do 2278 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2279 eval ac_new_set=\$ac_env_${ac_var}_set 2280 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2281 eval ac_new_val=\$ac_env_${ac_var}_value 2282 case $ac_old_set,$ac_new_set in 2283 set,) 2284 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2285$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2286 ac_cache_corrupted=: ;; 2287 ,set) 2288 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2289$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2290 ac_cache_corrupted=: ;; 2291 ,);; 2292 *) 2293 if test "x$ac_old_val" != "x$ac_new_val"; then 2294 # differences in whitespace do not lead to failure. 2295 ac_old_val_w=`echo x $ac_old_val` 2296 ac_new_val_w=`echo x $ac_new_val` 2297 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2298 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2299$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2300 ac_cache_corrupted=: 2301 else 2302 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2303$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2304 eval $ac_var=\$ac_old_val 2305 fi 2306 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2307$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2308 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2309$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2310 fi;; 2311 esac 2312 # Pass precious variables to config.status. 2313 if test "$ac_new_set" = set; then 2314 case $ac_new_val in 2315 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2316 *) ac_arg=$ac_var=$ac_new_val ;; 2317 esac 2318 case " $ac_configure_args " in 2319 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2320 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2321 esac 2322 fi 2323done 2324if $ac_cache_corrupted; then 2325 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2326$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2328$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2329 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2330fi 2331## -------------------- ## 2332## Main body of script. ## 2333## -------------------- ## 2334 2335ac_ext=c 2336ac_cpp='$CPP $CPPFLAGS' 2337ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2338ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2339ac_compiler_gnu=$ac_cv_c_compiler_gnu 2340 2341 2342 2343crlibm_version=`cat $srcdir/VERSION` 2344am__api_version='1.11' 2345 2346ac_aux_dir= 2347for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2348 for ac_t in install-sh install.sh shtool; do 2349 if test -f "$ac_dir/$ac_t"; then 2350 ac_aux_dir=$ac_dir 2351 ac_install_sh="$ac_aux_dir/$ac_t -c" 2352 break 2 2353 fi 2354 done 2355done 2356if test -z "$ac_aux_dir"; then 2357 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2358fi 2359 2360# These three variables are undocumented and unsupported, 2361# and are intended to be withdrawn in a future Autoconf release. 2362# They can cause serious problems if a builder's source tree is in a directory 2363# whose full name contains unusual characters. 2364ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2365ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2366ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2367 2368 2369# Find a good install program. We prefer a C program (faster), 2370# so one script is as good as another. But avoid the broken or 2371# incompatible versions: 2372# SysV /etc/install, /usr/sbin/install 2373# SunOS /usr/etc/install 2374# IRIX /sbin/install 2375# AIX /bin/install 2376# AmigaOS /C/install, which installs bootblocks on floppy discs 2377# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2378# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2379# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2380# OS/2's system install, which has a completely different semantic 2381# ./install, which can be erroneously created by make from ./install.sh. 2382# Reject install programs that cannot install multiple files. 2383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2384$as_echo_n "checking for a BSD-compatible install... " >&6; } 2385if test -z "$INSTALL"; then 2386if test "${ac_cv_path_install+set}" = set; then : 2387 $as_echo_n "(cached) " >&6 2388else 2389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2390for as_dir in $PATH 2391do 2392 IFS=$as_save_IFS 2393 test -z "$as_dir" && as_dir=. 2394 # Account for people who put trailing slashes in PATH elements. 2395case $as_dir/ in #(( 2396 ./ | .// | /[cC]/* | \ 2397 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2398 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2399 /usr/ucb/* ) ;; 2400 *) 2401 # OSF1 and SCO ODT 3.0 have their own names for install. 2402 # Don't use installbsd from OSF since it installs stuff as root 2403 # by default. 2404 for ac_prog in ginstall scoinst install; do 2405 for ac_exec_ext in '' $ac_executable_extensions; do 2406 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2407 if test $ac_prog = install && 2408 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2409 # AIX install. It has an incompatible calling convention. 2410 : 2411 elif test $ac_prog = install && 2412 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2413 # program-specific install script used by HP pwplus--don't use. 2414 : 2415 else 2416 rm -rf conftest.one conftest.two conftest.dir 2417 echo one > conftest.one 2418 echo two > conftest.two 2419 mkdir conftest.dir 2420 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2421 test -s conftest.one && test -s conftest.two && 2422 test -s conftest.dir/conftest.one && 2423 test -s conftest.dir/conftest.two 2424 then 2425 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2426 break 3 2427 fi 2428 fi 2429 fi 2430 done 2431 done 2432 ;; 2433esac 2434 2435 done 2436IFS=$as_save_IFS 2437 2438rm -rf conftest.one conftest.two conftest.dir 2439 2440fi 2441 if test "${ac_cv_path_install+set}" = set; then 2442 INSTALL=$ac_cv_path_install 2443 else 2444 # As a last resort, use the slow shell script. Don't cache a 2445 # value for INSTALL within a source directory, because that will 2446 # break other packages using the cache if that directory is 2447 # removed, or if the value is a relative name. 2448 INSTALL=$ac_install_sh 2449 fi 2450fi 2451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2452$as_echo "$INSTALL" >&6; } 2453 2454# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2455# It thinks the first close brace ends the variable substitution. 2456test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2457 2458test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2459 2460test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2461 2462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2463$as_echo_n "checking whether build environment is sane... " >&6; } 2464# Just in case 2465sleep 1 2466echo timestamp > conftest.file 2467# Reject unsafe characters in $srcdir or the absolute working directory 2468# name. Accept space and tab only in the latter. 2469am_lf=' 2470' 2471case `pwd` in 2472 *[\\\"\#\$\&\'\`$am_lf]*) 2473 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; 2474esac 2475case $srcdir in 2476 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2477 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2478esac 2479 2480# Do `set' in a subshell so we don't clobber the current shell's 2481# arguments. Must try -L first in case configure is actually a 2482# symlink; some systems play weird games with the mod time of symlinks 2483# (eg FreeBSD returns the mod time of the symlink's containing 2484# directory). 2485if ( 2486 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2487 if test "$*" = "X"; then 2488 # -L didn't work. 2489 set X `ls -t "$srcdir/configure" conftest.file` 2490 fi 2491 rm -f conftest.file 2492 if test "$*" != "X $srcdir/configure conftest.file" \ 2493 && test "$*" != "X conftest.file $srcdir/configure"; then 2494 2495 # If neither matched, then we have a broken ls. This can happen 2496 # if, for instance, CONFIG_SHELL is bash and it inherits a 2497 # broken ls alias from the environment. This has actually 2498 # happened. Such a system could not be considered "sane". 2499 as_fn_error "ls -t appears to fail. Make sure there is not a broken 2500alias in your environment" "$LINENO" 5 2501 fi 2502 2503 test "$2" = conftest.file 2504 ) 2505then 2506 # Ok. 2507 : 2508else 2509 as_fn_error "newly created file is older than distributed files! 2510Check your system clock" "$LINENO" 5 2511fi 2512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2513$as_echo "yes" >&6; } 2514test "$program_prefix" != NONE && 2515 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2516# Use a double $ so make ignores it. 2517test "$program_suffix" != NONE && 2518 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2519# Double any \ or $. 2520# By default was `s,x,x', remove it if useless. 2521ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2522program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2523 2524# expand $ac_aux_dir to an absolute path 2525am_aux_dir=`cd $ac_aux_dir && pwd` 2526 2527if test x"${MISSING+set}" != xset; then 2528 case $am_aux_dir in 2529 *\ * | *\ *) 2530 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2531 *) 2532 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2533 esac 2534fi 2535# Use eval to expand $SHELL 2536if eval "$MISSING --run true"; then 2537 am_missing_run="$MISSING --run " 2538else 2539 am_missing_run= 2540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2541$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2542fi 2543 2544if test x"${install_sh}" != xset; then 2545 case $am_aux_dir in 2546 *\ * | *\ *) 2547 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2548 *) 2549 install_sh="\${SHELL} $am_aux_dir/install-sh" 2550 esac 2551fi 2552 2553# Installed binaries are usually stripped using `strip' when the user 2554# run `make install-strip'. However `strip' might not be the right 2555# tool to use in cross-compilation environments, therefore Automake 2556# will honor the `STRIP' environment variable to overrule this program. 2557if test "$cross_compiling" != no; then 2558 if test -n "$ac_tool_prefix"; then 2559 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2560set dummy ${ac_tool_prefix}strip; ac_word=$2 2561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2562$as_echo_n "checking for $ac_word... " >&6; } 2563if test "${ac_cv_prog_STRIP+set}" = set; then : 2564 $as_echo_n "(cached) " >&6 2565else 2566 if test -n "$STRIP"; then 2567 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2568else 2569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2570for as_dir in $PATH 2571do 2572 IFS=$as_save_IFS 2573 test -z "$as_dir" && as_dir=. 2574 for ac_exec_ext in '' $ac_executable_extensions; do 2575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2576 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2578 break 2 2579 fi 2580done 2581 done 2582IFS=$as_save_IFS 2583 2584fi 2585fi 2586STRIP=$ac_cv_prog_STRIP 2587if test -n "$STRIP"; then 2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2589$as_echo "$STRIP" >&6; } 2590else 2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2592$as_echo "no" >&6; } 2593fi 2594 2595 2596fi 2597if test -z "$ac_cv_prog_STRIP"; then 2598 ac_ct_STRIP=$STRIP 2599 # Extract the first word of "strip", so it can be a program name with args. 2600set dummy strip; ac_word=$2 2601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2602$as_echo_n "checking for $ac_word... " >&6; } 2603if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2604 $as_echo_n "(cached) " >&6 2605else 2606 if test -n "$ac_ct_STRIP"; then 2607 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2608else 2609as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2610for as_dir in $PATH 2611do 2612 IFS=$as_save_IFS 2613 test -z "$as_dir" && as_dir=. 2614 for ac_exec_ext in '' $ac_executable_extensions; do 2615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2616 ac_cv_prog_ac_ct_STRIP="strip" 2617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2618 break 2 2619 fi 2620done 2621 done 2622IFS=$as_save_IFS 2623 2624fi 2625fi 2626ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2627if test -n "$ac_ct_STRIP"; then 2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2629$as_echo "$ac_ct_STRIP" >&6; } 2630else 2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2632$as_echo "no" >&6; } 2633fi 2634 2635 if test "x$ac_ct_STRIP" = x; then 2636 STRIP=":" 2637 else 2638 case $cross_compiling:$ac_tool_warned in 2639yes:) 2640{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2641$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2642ac_tool_warned=yes ;; 2643esac 2644 STRIP=$ac_ct_STRIP 2645 fi 2646else 2647 STRIP="$ac_cv_prog_STRIP" 2648fi 2649 2650fi 2651INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2652 2653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2654$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2655if test -z "$MKDIR_P"; then 2656 if test "${ac_cv_path_mkdir+set}" = set; then : 2657 $as_echo_n "(cached) " >&6 2658else 2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2660for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2661do 2662 IFS=$as_save_IFS 2663 test -z "$as_dir" && as_dir=. 2664 for ac_prog in mkdir gmkdir; do 2665 for ac_exec_ext in '' $ac_executable_extensions; do 2666 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2667 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2668 'mkdir (GNU coreutils) '* | \ 2669 'mkdir (coreutils) '* | \ 2670 'mkdir (fileutils) '4.1*) 2671 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2672 break 3;; 2673 esac 2674 done 2675 done 2676 done 2677IFS=$as_save_IFS 2678 2679fi 2680 2681 if test "${ac_cv_path_mkdir+set}" = set; then 2682 MKDIR_P="$ac_cv_path_mkdir -p" 2683 else 2684 # As a last resort, use the slow shell script. Don't cache a 2685 # value for MKDIR_P within a source directory, because that will 2686 # break other packages using the cache if that directory is 2687 # removed, or if the value is a relative name. 2688 test -d ./--version && rmdir ./--version 2689 MKDIR_P="$ac_install_sh -d" 2690 fi 2691fi 2692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2693$as_echo "$MKDIR_P" >&6; } 2694 2695mkdir_p="$MKDIR_P" 2696case $mkdir_p in 2697 [\\/$]* | ?:[\\/]*) ;; 2698 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2699esac 2700 2701for ac_prog in gawk mawk nawk awk 2702do 2703 # Extract the first word of "$ac_prog", so it can be a program name with args. 2704set dummy $ac_prog; ac_word=$2 2705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2706$as_echo_n "checking for $ac_word... " >&6; } 2707if test "${ac_cv_prog_AWK+set}" = set; then : 2708 $as_echo_n "(cached) " >&6 2709else 2710 if test -n "$AWK"; then 2711 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2712else 2713as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2714for as_dir in $PATH 2715do 2716 IFS=$as_save_IFS 2717 test -z "$as_dir" && as_dir=. 2718 for ac_exec_ext in '' $ac_executable_extensions; do 2719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2720 ac_cv_prog_AWK="$ac_prog" 2721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2722 break 2 2723 fi 2724done 2725 done 2726IFS=$as_save_IFS 2727 2728fi 2729fi 2730AWK=$ac_cv_prog_AWK 2731if test -n "$AWK"; then 2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2733$as_echo "$AWK" >&6; } 2734else 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2736$as_echo "no" >&6; } 2737fi 2738 2739 2740 test -n "$AWK" && break 2741done 2742 2743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2744$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2745set x ${MAKE-make} 2746ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2747if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2748 $as_echo_n "(cached) " >&6 2749else 2750 cat >conftest.make <<\_ACEOF 2751SHELL = /bin/sh 2752all: 2753 @echo '@@@%%%=$(MAKE)=@@@%%%' 2754_ACEOF 2755# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2756case `${MAKE-make} -f conftest.make 2>/dev/null` in 2757 *@@@%%%=?*=@@@%%%*) 2758 eval ac_cv_prog_make_${ac_make}_set=yes;; 2759 *) 2760 eval ac_cv_prog_make_${ac_make}_set=no;; 2761esac 2762rm -f conftest.make 2763fi 2764if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2766$as_echo "yes" >&6; } 2767 SET_MAKE= 2768else 2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2770$as_echo "no" >&6; } 2771 SET_MAKE="MAKE=${MAKE-make}" 2772fi 2773 2774rm -rf .tst 2>/dev/null 2775mkdir .tst 2>/dev/null 2776if test -d .tst; then 2777 am__leading_dot=. 2778else 2779 am__leading_dot=_ 2780fi 2781rmdir .tst 2>/dev/null 2782 2783if test "`cd $srcdir && pwd`" != "`pwd`"; then 2784 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2785 # is not polluted with repeated "-I." 2786 am__isrc=' -I$(srcdir)' 2787 # test to see if srcdir already configured 2788 if test -f $srcdir/config.status; then 2789 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2790 fi 2791fi 2792 2793# test whether we have cygpath 2794if test -z "$CYGPATH_W"; then 2795 if (cygpath --version) >/dev/null 2>/dev/null; then 2796 CYGPATH_W='cygpath -w' 2797 else 2798 CYGPATH_W=echo 2799 fi 2800fi 2801 2802 2803# Define the identity of the package. 2804 PACKAGE=crlibm 2805 VERSION=$crlibm_version 2806 2807 2808cat >>confdefs.h <<_ACEOF 2809#define PACKAGE "$PACKAGE" 2810_ACEOF 2811 2812 2813cat >>confdefs.h <<_ACEOF 2814#define VERSION "$VERSION" 2815_ACEOF 2816 2817# Some tools Automake needs. 2818 2819ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2820 2821 2822AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2823 2824 2825AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2826 2827 2828AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2829 2830 2831MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2832 2833# We need awk for the "check" target. The system "awk" is bad on 2834# some platforms. 2835# Always define AMTAR for backward compatibility. 2836 2837AMTAR=${AMTAR-"${am_missing_run}tar"} 2838 2839am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2840 2841 2842 2843 2844 2845 2846ac_config_headers="$ac_config_headers crlibm_config.h" 2847 2848 2849 2850 2851 2852ISODATE=`date +%Y-%m-%d` 2853 2854 2855# Make sure we can run config.sub. 2856$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2857 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2858 2859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2860$as_echo_n "checking build system type... " >&6; } 2861if test "${ac_cv_build+set}" = set; then : 2862 $as_echo_n "(cached) " >&6 2863else 2864 ac_build_alias=$build_alias 2865test "x$ac_build_alias" = x && 2866 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2867test "x$ac_build_alias" = x && 2868 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 2869ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2870 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2871 2872fi 2873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2874$as_echo "$ac_cv_build" >&6; } 2875case $ac_cv_build in 2876*-*-*) ;; 2877*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 2878esac 2879build=$ac_cv_build 2880ac_save_IFS=$IFS; IFS='-' 2881set x $ac_cv_build 2882shift 2883build_cpu=$1 2884build_vendor=$2 2885shift; shift 2886# Remember, the first character of IFS is used to create $*, 2887# except with old shells: 2888build_os=$* 2889IFS=$ac_save_IFS 2890case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2891 2892 2893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2894$as_echo_n "checking host system type... " >&6; } 2895if test "${ac_cv_host+set}" = set; then : 2896 $as_echo_n "(cached) " >&6 2897else 2898 if test "x$host_alias" = x; then 2899 ac_cv_host=$ac_cv_build 2900else 2901 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2902 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2903fi 2904 2905fi 2906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2907$as_echo "$ac_cv_host" >&6; } 2908case $ac_cv_host in 2909*-*-*) ;; 2910*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; 2911esac 2912host=$ac_cv_host 2913ac_save_IFS=$IFS; IFS='-' 2914set x $ac_cv_host 2915shift 2916host_cpu=$1 2917host_vendor=$2 2918shift; shift 2919# Remember, the first character of IFS is used to create $*, 2920# except with old shells: 2921host_os=$* 2922IFS=$ac_save_IFS 2923case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2924 2925 2926case $host_os in 2927hpux*) 2928 2929cat >>confdefs.h <<_ACEOF 2930#define CRLIBM_TYPEOS_HPUX 1 2931_ACEOF 2932;; 2933*cygwin* | *mingw* | *uwin* | *djgpp | *emx*) 2934 2935cat >>confdefs.h <<_ACEOF 2936#define CRLIBM_TYPEOS_CYGWIN 1 2937_ACEOF 2938;; 2939freebsd*|dragonfly*|netbsd*|darwin*) 2940 2941cat >>confdefs.h <<_ACEOF 2942#define CRLIBM_TYPEOS_BSD 1 2943_ACEOF 2944;; 2945esac; 2946 2947 2948case $host_cpu in 2949alpha) 2950 2951cat >>confdefs.h <<_ACEOF 2952#define CRLIBM_TYPECPU_ALPHA 1 2953_ACEOF 2954 ;; 2955sparc) 2956 2957cat >>confdefs.h <<_ACEOF 2958#define CRLIBM_TYPECPU_SPARC 1 2959_ACEOF 2960 ;; 2961powerpc*) 2962 2963cat >>confdefs.h <<_ACEOF 2964#define CRLIBM_TYPECPU_POWERPC 1 2965_ACEOF 2966;; 2967i*86|k6|k7|pentium*|athlon*) 2968 2969cat >>confdefs.h <<_ACEOF 2970#define CRLIBM_TYPECPU_X86 1 2971_ACEOF 2972 2973 has_ia32_de=true;; 2974x86_64|amd64) 2975 2976cat >>confdefs.h <<_ACEOF 2977#define CRLIBM_TYPECPU_AMD64 1 2978_ACEOF 2979 2980 has_ia32_de=true;; 2981ia64) 2982 2983cat >>confdefs.h <<_ACEOF 2984#define CRLIBM_TYPECPU_ITANIUM 1 2985_ACEOF 2986 2987 has_ia64_de=true;; 2988esac; 2989 2990 2991 2992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2993$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2994set x ${MAKE-make} 2995ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2996if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 2997 $as_echo_n "(cached) " >&6 2998else 2999 cat >conftest.make <<\_ACEOF 3000SHELL = /bin/sh 3001all: 3002 @echo '@@@%%%=$(MAKE)=@@@%%%' 3003_ACEOF 3004# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3005case `${MAKE-make} -f conftest.make 2>/dev/null` in 3006 *@@@%%%=?*=@@@%%%*) 3007 eval ac_cv_prog_make_${ac_make}_set=yes;; 3008 *) 3009 eval ac_cv_prog_make_${ac_make}_set=no;; 3010esac 3011rm -f conftest.make 3012fi 3013if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3015$as_echo "yes" >&6; } 3016 SET_MAKE= 3017else 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3019$as_echo "no" >&6; } 3020 SET_MAKE="MAKE=${MAKE-make}" 3021fi 3022 3023 3024 3025ac_ext=c 3026ac_cpp='$CPP $CPPFLAGS' 3027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3029ac_compiler_gnu=$ac_cv_c_compiler_gnu 3030if test -n "$ac_tool_prefix"; then 3031 for ac_prog in gcc icc cc 3032 do 3033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3034set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3036$as_echo_n "checking for $ac_word... " >&6; } 3037if test "${ac_cv_prog_CC+set}" = set; then : 3038 $as_echo_n "(cached) " >&6 3039else 3040 if test -n "$CC"; then 3041 ac_cv_prog_CC="$CC" # Let the user override the test. 3042else 3043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3044for as_dir in $PATH 3045do 3046 IFS=$as_save_IFS 3047 test -z "$as_dir" && as_dir=. 3048 for ac_exec_ext in '' $ac_executable_extensions; do 3049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3050 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3052 break 2 3053 fi 3054done 3055 done 3056IFS=$as_save_IFS 3057 3058fi 3059fi 3060CC=$ac_cv_prog_CC 3061if test -n "$CC"; then 3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3063$as_echo "$CC" >&6; } 3064else 3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3066$as_echo "no" >&6; } 3067fi 3068 3069 3070 test -n "$CC" && break 3071 done 3072fi 3073if test -z "$CC"; then 3074 ac_ct_CC=$CC 3075 for ac_prog in gcc icc cc 3076do 3077 # Extract the first word of "$ac_prog", so it can be a program name with args. 3078set dummy $ac_prog; ac_word=$2 3079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3080$as_echo_n "checking for $ac_word... " >&6; } 3081if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3082 $as_echo_n "(cached) " >&6 3083else 3084 if test -n "$ac_ct_CC"; then 3085 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3086else 3087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3088for as_dir in $PATH 3089do 3090 IFS=$as_save_IFS 3091 test -z "$as_dir" && as_dir=. 3092 for ac_exec_ext in '' $ac_executable_extensions; do 3093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3094 ac_cv_prog_ac_ct_CC="$ac_prog" 3095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3096 break 2 3097 fi 3098done 3099 done 3100IFS=$as_save_IFS 3101 3102fi 3103fi 3104ac_ct_CC=$ac_cv_prog_ac_ct_CC 3105if test -n "$ac_ct_CC"; then 3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3107$as_echo "$ac_ct_CC" >&6; } 3108else 3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3110$as_echo "no" >&6; } 3111fi 3112 3113 3114 test -n "$ac_ct_CC" && break 3115done 3116 3117 if test "x$ac_ct_CC" = x; then 3118 CC="" 3119 else 3120 case $cross_compiling:$ac_tool_warned in 3121yes:) 3122{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3123$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3124ac_tool_warned=yes ;; 3125esac 3126 CC=$ac_ct_CC 3127 fi 3128fi 3129 3130 3131test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3132$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3133as_fn_error "no acceptable C compiler found in \$PATH 3134See \`config.log' for more details." "$LINENO" 5; } 3135 3136# Provide some information about the compiler. 3137$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3138set X $ac_compile 3139ac_compiler=$2 3140for ac_option in --version -v -V -qversion; do 3141 { { ac_try="$ac_compiler $ac_option >&5" 3142case "(($ac_try" in 3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3144 *) ac_try_echo=$ac_try;; 3145esac 3146eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3147$as_echo "$ac_try_echo"; } >&5 3148 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3149 ac_status=$? 3150 if test -s conftest.err; then 3151 sed '10a\ 3152... rest of stderr output deleted ... 3153 10q' conftest.err >conftest.er1 3154 cat conftest.er1 >&5 3155 rm -f conftest.er1 conftest.err 3156 fi 3157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3158 test $ac_status = 0; } 3159done 3160 3161cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3162/* end confdefs.h. */ 3163#include <stdio.h> 3164int 3165main () 3166{ 3167FILE *f = fopen ("conftest.out", "w"); 3168 return ferror (f) || fclose (f) != 0; 3169 3170 ; 3171 return 0; 3172} 3173_ACEOF 3174ac_clean_files_save=$ac_clean_files 3175ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 3176# Try to create an executable without -o first, disregard a.out. 3177# It will help us diagnose broken compilers, and finding out an intuition 3178# of exeext. 3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3180$as_echo_n "checking for C compiler default output file name... " >&6; } 3181ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3182 3183# The possible output files: 3184ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3185 3186ac_rmfiles= 3187for ac_file in $ac_files 3188do 3189 case $ac_file in 3190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3191 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3192 esac 3193done 3194rm -f $ac_rmfiles 3195 3196if { { ac_try="$ac_link_default" 3197case "(($ac_try" in 3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3199 *) ac_try_echo=$ac_try;; 3200esac 3201eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3202$as_echo "$ac_try_echo"; } >&5 3203 (eval "$ac_link_default") 2>&5 3204 ac_status=$? 3205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3206 test $ac_status = 0; }; then : 3207 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3208# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3209# in a Makefile. We should not override ac_cv_exeext if it was cached, 3210# so that the user can short-circuit this test for compilers unknown to 3211# Autoconf. 3212for ac_file in $ac_files '' 3213do 3214 test -f "$ac_file" || continue 3215 case $ac_file in 3216 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3217 ;; 3218 [ab].out ) 3219 # We found the default executable, but exeext='' is most 3220 # certainly right. 3221 break;; 3222 *.* ) 3223 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3224 then :; else 3225 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3226 fi 3227 # We set ac_cv_exeext here because the later test for it is not 3228 # safe: cross compilers may not add the suffix if given an `-o' 3229 # argument, so we may need to know it at that point already. 3230 # Even if this section looks crufty: it has the advantage of 3231 # actually working. 3232 break;; 3233 * ) 3234 break;; 3235 esac 3236done 3237test "$ac_cv_exeext" = no && ac_cv_exeext= 3238 3239else 3240 ac_file='' 3241fi 3242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3243$as_echo "$ac_file" >&6; } 3244if test -z "$ac_file"; then : 3245 $as_echo "$as_me: failed program was:" >&5 3246sed 's/^/| /' conftest.$ac_ext >&5 3247 3248{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3249$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3250{ as_fn_set_status 77 3251as_fn_error "C compiler cannot create executables 3252See \`config.log' for more details." "$LINENO" 5; }; } 3253fi 3254ac_exeext=$ac_cv_exeext 3255 3256# Check that the compiler produces executables we can run. If not, either 3257# the compiler is broken, or we cross compile. 3258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3259$as_echo_n "checking whether the C compiler works... " >&6; } 3260# If not cross compiling, check that we can run a simple program. 3261if test "$cross_compiling" != yes; then 3262 if { ac_try='./$ac_file' 3263 { { case "(($ac_try" in 3264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3265 *) ac_try_echo=$ac_try;; 3266esac 3267eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3268$as_echo "$ac_try_echo"; } >&5 3269 (eval "$ac_try") 2>&5 3270 ac_status=$? 3271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3272 test $ac_status = 0; }; }; then 3273 cross_compiling=no 3274 else 3275 if test "$cross_compiling" = maybe; then 3276 cross_compiling=yes 3277 else 3278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3280as_fn_error "cannot run C compiled programs. 3281If you meant to cross compile, use \`--host'. 3282See \`config.log' for more details." "$LINENO" 5; } 3283 fi 3284 fi 3285fi 3286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3287$as_echo "yes" >&6; } 3288 3289rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out 3290ac_clean_files=$ac_clean_files_save 3291# Check that the compiler produces executables we can run. If not, either 3292# the compiler is broken, or we cross compile. 3293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3294$as_echo_n "checking whether we are cross compiling... " >&6; } 3295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3296$as_echo "$cross_compiling" >&6; } 3297 3298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3299$as_echo_n "checking for suffix of executables... " >&6; } 3300if { { ac_try="$ac_link" 3301case "(($ac_try" in 3302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3303 *) ac_try_echo=$ac_try;; 3304esac 3305eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3306$as_echo "$ac_try_echo"; } >&5 3307 (eval "$ac_link") 2>&5 3308 ac_status=$? 3309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3310 test $ac_status = 0; }; then : 3311 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3312# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3313# work properly (i.e., refer to `conftest.exe'), while it won't with 3314# `rm'. 3315for ac_file in conftest.exe conftest conftest.*; do 3316 test -f "$ac_file" || continue 3317 case $ac_file in 3318 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3319 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3320 break;; 3321 * ) break;; 3322 esac 3323done 3324else 3325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3326$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3327as_fn_error "cannot compute suffix of executables: cannot compile and link 3328See \`config.log' for more details." "$LINENO" 5; } 3329fi 3330rm -f conftest$ac_cv_exeext 3331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3332$as_echo "$ac_cv_exeext" >&6; } 3333 3334rm -f conftest.$ac_ext 3335EXEEXT=$ac_cv_exeext 3336ac_exeext=$EXEEXT 3337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3338$as_echo_n "checking for suffix of object files... " >&6; } 3339if test "${ac_cv_objext+set}" = set; then : 3340 $as_echo_n "(cached) " >&6 3341else 3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3343/* end confdefs.h. */ 3344 3345int 3346main () 3347{ 3348 3349 ; 3350 return 0; 3351} 3352_ACEOF 3353rm -f conftest.o conftest.obj 3354if { { ac_try="$ac_compile" 3355case "(($ac_try" in 3356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3357 *) ac_try_echo=$ac_try;; 3358esac 3359eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3360$as_echo "$ac_try_echo"; } >&5 3361 (eval "$ac_compile") 2>&5 3362 ac_status=$? 3363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3364 test $ac_status = 0; }; then : 3365 for ac_file in conftest.o conftest.obj conftest.*; do 3366 test -f "$ac_file" || continue; 3367 case $ac_file in 3368 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3369 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3370 break;; 3371 esac 3372done 3373else 3374 $as_echo "$as_me: failed program was:" >&5 3375sed 's/^/| /' conftest.$ac_ext >&5 3376 3377{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3378$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3379as_fn_error "cannot compute suffix of object files: cannot compile 3380See \`config.log' for more details." "$LINENO" 5; } 3381fi 3382rm -f conftest.$ac_cv_objext conftest.$ac_ext 3383fi 3384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3385$as_echo "$ac_cv_objext" >&6; } 3386OBJEXT=$ac_cv_objext 3387ac_objext=$OBJEXT 3388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3389$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3390if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3391 $as_echo_n "(cached) " >&6 3392else 3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3394/* end confdefs.h. */ 3395 3396int 3397main () 3398{ 3399#ifndef __GNUC__ 3400 choke me 3401#endif 3402 3403 ; 3404 return 0; 3405} 3406_ACEOF 3407if ac_fn_c_try_compile "$LINENO"; then : 3408 ac_compiler_gnu=yes 3409else 3410 ac_compiler_gnu=no 3411fi 3412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3413ac_cv_c_compiler_gnu=$ac_compiler_gnu 3414 3415fi 3416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3417$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3418if test $ac_compiler_gnu = yes; then 3419 GCC=yes 3420else 3421 GCC= 3422fi 3423ac_test_CFLAGS=${CFLAGS+set} 3424ac_save_CFLAGS=$CFLAGS 3425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3426$as_echo_n "checking whether $CC accepts -g... " >&6; } 3427if test "${ac_cv_prog_cc_g+set}" = set; then : 3428 $as_echo_n "(cached) " >&6 3429else 3430 ac_save_c_werror_flag=$ac_c_werror_flag 3431 ac_c_werror_flag=yes 3432 ac_cv_prog_cc_g=no 3433 CFLAGS="-g" 3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3435/* end confdefs.h. */ 3436 3437int 3438main () 3439{ 3440 3441 ; 3442 return 0; 3443} 3444_ACEOF 3445if ac_fn_c_try_compile "$LINENO"; then : 3446 ac_cv_prog_cc_g=yes 3447else 3448 CFLAGS="" 3449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3450/* end confdefs.h. */ 3451 3452int 3453main () 3454{ 3455 3456 ; 3457 return 0; 3458} 3459_ACEOF 3460if ac_fn_c_try_compile "$LINENO"; then : 3461 3462else 3463 ac_c_werror_flag=$ac_save_c_werror_flag 3464 CFLAGS="-g" 3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3466/* end confdefs.h. */ 3467 3468int 3469main () 3470{ 3471 3472 ; 3473 return 0; 3474} 3475_ACEOF 3476if ac_fn_c_try_compile "$LINENO"; then : 3477 ac_cv_prog_cc_g=yes 3478fi 3479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3480fi 3481rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3482fi 3483rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3484 ac_c_werror_flag=$ac_save_c_werror_flag 3485fi 3486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3487$as_echo "$ac_cv_prog_cc_g" >&6; } 3488if test "$ac_test_CFLAGS" = set; then 3489 CFLAGS=$ac_save_CFLAGS 3490elif test $ac_cv_prog_cc_g = yes; then 3491 if test "$GCC" = yes; then 3492 CFLAGS="-g -O2" 3493 else 3494 CFLAGS="-g" 3495 fi 3496else 3497 if test "$GCC" = yes; then 3498 CFLAGS="-O2" 3499 else 3500 CFLAGS= 3501 fi 3502fi 3503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3504$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3505if test "${ac_cv_prog_cc_c89+set}" = set; then : 3506 $as_echo_n "(cached) " >&6 3507else 3508 ac_cv_prog_cc_c89=no 3509ac_save_CC=$CC 3510cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3511/* end confdefs.h. */ 3512#include <stdarg.h> 3513#include <stdio.h> 3514#include <sys/types.h> 3515#include <sys/stat.h> 3516/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3517struct buf { int x; }; 3518FILE * (*rcsopen) (struct buf *, struct stat *, int); 3519static char *e (p, i) 3520 char **p; 3521 int i; 3522{ 3523 return p[i]; 3524} 3525static char *f (char * (*g) (char **, int), char **p, ...) 3526{ 3527 char *s; 3528 va_list v; 3529 va_start (v,p); 3530 s = g (p, va_arg (v,int)); 3531 va_end (v); 3532 return s; 3533} 3534 3535/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3536 function prototypes and stuff, but not '\xHH' hex character constants. 3537 These don't provoke an error unfortunately, instead are silently treated 3538 as 'x'. The following induces an error, until -std is added to get 3539 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3540 array size at least. It's necessary to write '\x00'==0 to get something 3541 that's true only with -std. */ 3542int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3543 3544/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3545 inside strings and character constants. */ 3546#define FOO(x) 'x' 3547int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3548 3549int test (int i, double x); 3550struct s1 {int (*f) (int a);}; 3551struct s2 {int (*f) (double a);}; 3552int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3553int argc; 3554char **argv; 3555int 3556main () 3557{ 3558return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3559 ; 3560 return 0; 3561} 3562_ACEOF 3563for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3564 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3565do 3566 CC="$ac_save_CC $ac_arg" 3567 if ac_fn_c_try_compile "$LINENO"; then : 3568 ac_cv_prog_cc_c89=$ac_arg 3569fi 3570rm -f core conftest.err conftest.$ac_objext 3571 test "x$ac_cv_prog_cc_c89" != "xno" && break 3572done 3573rm -f conftest.$ac_ext 3574CC=$ac_save_CC 3575 3576fi 3577# AC_CACHE_VAL 3578case "x$ac_cv_prog_cc_c89" in 3579 x) 3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3581$as_echo "none needed" >&6; } ;; 3582 xno) 3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3584$as_echo "unsupported" >&6; } ;; 3585 *) 3586 CC="$CC $ac_cv_prog_cc_c89" 3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3588$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3589esac 3590if test "x$ac_cv_prog_cc_c89" != xno; then : 3591 3592fi 3593 3594ac_ext=c 3595ac_cpp='$CPP $CPPFLAGS' 3596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3598ac_compiler_gnu=$ac_cv_c_compiler_gnu 3599DEPDIR="${am__leading_dot}deps" 3600 3601ac_config_commands="$ac_config_commands depfiles" 3602 3603 3604am_make=${MAKE-make} 3605cat > confinc << 'END' 3606am__doit: 3607 @echo this is the am__doit target 3608.PHONY: am__doit 3609END 3610# If we don't find an include directive, just comment out the code. 3611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3612$as_echo_n "checking for style of include used by $am_make... " >&6; } 3613am__include="#" 3614am__quote= 3615_am_result=none 3616# First try GNU make style include. 3617echo "include confinc" > confmf 3618# Ignore all kinds of additional output from `make'. 3619case `$am_make -s -f confmf 2> /dev/null` in #( 3620*the\ am__doit\ target*) 3621 am__include=include 3622 am__quote= 3623 _am_result=GNU 3624 ;; 3625esac 3626# Now try BSD make style include. 3627if test "$am__include" = "#"; then 3628 echo '.include "confinc"' > confmf 3629 case `$am_make -s -f confmf 2> /dev/null` in #( 3630 *the\ am__doit\ target*) 3631 am__include=.include 3632 am__quote="\"" 3633 _am_result=BSD 3634 ;; 3635 esac 3636fi 3637 3638 3639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3640$as_echo "$_am_result" >&6; } 3641rm -f confinc confmf 3642 3643# Check whether --enable-dependency-tracking was given. 3644if test "${enable_dependency_tracking+set}" = set; then : 3645 enableval=$enable_dependency_tracking; 3646fi 3647 3648if test "x$enable_dependency_tracking" != xno; then 3649 am_depcomp="$ac_aux_dir/depcomp" 3650 AMDEPBACKSLASH='\' 3651fi 3652 if test "x$enable_dependency_tracking" != xno; then 3653 AMDEP_TRUE= 3654 AMDEP_FALSE='#' 3655else 3656 AMDEP_TRUE='#' 3657 AMDEP_FALSE= 3658fi 3659 3660 3661 3662depcc="$CC" am_compiler_list= 3663 3664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3665$as_echo_n "checking dependency style of $depcc... " >&6; } 3666if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3667 $as_echo_n "(cached) " >&6 3668else 3669 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3670 # We make a subdir and do the tests there. Otherwise we can end up 3671 # making bogus files that we don't know about and never remove. For 3672 # instance it was reported that on HP-UX the gcc test will end up 3673 # making a dummy file named `D' -- because `-MD' means `put the output 3674 # in D'. 3675 mkdir conftest.dir 3676 # Copy depcomp to subdir because otherwise we won't find it if we're 3677 # using a relative directory. 3678 cp "$am_depcomp" conftest.dir 3679 cd conftest.dir 3680 # We will build objects and dependencies in a subdirectory because 3681 # it helps to detect inapplicable dependency modes. For instance 3682 # both Tru64's cc and ICC support -MD to output dependencies as a 3683 # side effect of compilation, but ICC will put the dependencies in 3684 # the current directory while Tru64 will put them in the object 3685 # directory. 3686 mkdir sub 3687 3688 am_cv_CC_dependencies_compiler_type=none 3689 if test "$am_compiler_list" = ""; then 3690 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3691 fi 3692 am__universal=false 3693 case " $depcc " in #( 3694 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3695 esac 3696 3697 for depmode in $am_compiler_list; do 3698 # Setup a source with many dependencies, because some compilers 3699 # like to wrap large dependency lists on column 80 (with \), and 3700 # we should not choose a depcomp mode which is confused by this. 3701 # 3702 # We need to recreate these files for each test, as the compiler may 3703 # overwrite some of them when testing with obscure command lines. 3704 # This happens at least with the AIX C compiler. 3705 : > sub/conftest.c 3706 for i in 1 2 3 4 5 6; do 3707 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3708 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3709 # Solaris 8's {/usr,}/bin/sh. 3710 touch sub/conftst$i.h 3711 done 3712 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3713 3714 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3715 # mode. It turns out that the SunPro C++ compiler does not properly 3716 # handle `-M -o', and we need to detect this. Also, some Intel 3717 # versions had trouble with output in subdirs 3718 am__obj=sub/conftest.${OBJEXT-o} 3719 am__minus_obj="-o $am__obj" 3720 case $depmode in 3721 gcc) 3722 # This depmode causes a compiler race in universal mode. 3723 test "$am__universal" = false || continue 3724 ;; 3725 nosideeffect) 3726 # after this tag, mechanisms are not by side-effect, so they'll 3727 # only be used when explicitly requested 3728 if test "x$enable_dependency_tracking" = xyes; then 3729 continue 3730 else 3731 break 3732 fi 3733 ;; 3734 msvisualcpp | msvcmsys) 3735 # This compiler won't grok `-c -o', but also, the minuso test has 3736 # not run yet. These depmodes are late enough in the game, and 3737 # so weak that their functioning should not be impacted. 3738 am__obj=conftest.${OBJEXT-o} 3739 am__minus_obj= 3740 ;; 3741 none) break ;; 3742 esac 3743 if depmode=$depmode \ 3744 source=sub/conftest.c object=$am__obj \ 3745 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3746 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3747 >/dev/null 2>conftest.err && 3748 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3749 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3750 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3751 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3752 # icc doesn't choke on unknown options, it will just issue warnings 3753 # or remarks (even with -Werror). So we grep stderr for any message 3754 # that says an option was ignored or not supported. 3755 # When given -MP, icc 7.0 and 7.1 complain thusly: 3756 # icc: Command line warning: ignoring option '-M'; no argument required 3757 # The diagnosis changed in icc 8.0: 3758 # icc: Command line remark: option '-MP' not supported 3759 if (grep 'ignoring option' conftest.err || 3760 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3761 am_cv_CC_dependencies_compiler_type=$depmode 3762 break 3763 fi 3764 fi 3765 done 3766 3767 cd .. 3768 rm -rf conftest.dir 3769else 3770 am_cv_CC_dependencies_compiler_type=none 3771fi 3772 3773fi 3774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3775$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3776CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3777 3778 if 3779 test "x$enable_dependency_tracking" != xno \ 3780 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3781 am__fastdepCC_TRUE= 3782 am__fastdepCC_FALSE='#' 3783else 3784 am__fastdepCC_TRUE='#' 3785 am__fastdepCC_FALSE= 3786fi 3787 3788 3789 3790# Try to set compiler flags to get floating point arithmetics 3791# to work. This is an old heritage and should become useless within 30 years 3792# 3793if test "${GCC}" != "yes" ; then 3794 case "${build}" in 3795 *-*-hpux* ) 3796 AM_CFLAGS="${AM_CFLAGS} -Wp,-H30000" 3797 ;; 3798 *-dec-osf* ) 3799 AM_CFLAGS="${AM_CFLAGS} -ieee" 3800 ;; 3801 *-apple-darwin* ) 3802 AM_CFLAGS="${AM_CFLAGS} -fno-common" 3803 ;; 3804 *-sgi-irix* ) 3805 ;; 3806 esac 3807else 3808 case "${CC}" in 3809 *icc* ) 3810 # -Wall causes relocation errors with icc. 3811 AM_CFLAGS="${AM_CFLAGS} -wd269" 3812 ;; 3813 * ) 3814 case "${build}" in 3815 *-dec-osf* ) 3816 AM_CFLAGS="${AM_CFLAGS} -mieee -Wall" 3817 ;; 3818 *alpha*-*-linux* ) 3819 AM_CFLAGS="${AM_CFLAGS} -mieee -Wall" 3820 ;; 3821 *alpha*-*-freebsd* ) 3822 AM_CFLAGS="${AM_CFLAGS} -mieee -Wall" 3823 ;; 3824 *-apple-darwin* ) 3825 AM_CFLAGS="${AM_CFLAGS} -fno-common -Wall" 3826 ;; 3827 * ) 3828 AM_CFLAGS="${AM_CFLAGS} -Wall" 3829 ;; 3830 esac 3831 ;; 3832 esac 3833fi 3834 3835 3836 3837 3838 3839 3840 if test x$CC = xicc; then 3841 COMPILER_ICC_TRUE= 3842 COMPILER_ICC_FALSE='#' 3843else 3844 COMPILER_ICC_TRUE='#' 3845 COMPILER_ICC_FALSE= 3846fi 3847 3848 3849 3850if test -n "$ac_tool_prefix"; then 3851 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3852set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3854$as_echo_n "checking for $ac_word... " >&6; } 3855if test "${ac_cv_prog_RANLIB+set}" = set; then : 3856 $as_echo_n "(cached) " >&6 3857else 3858 if test -n "$RANLIB"; then 3859 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3860else 3861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3862for as_dir in $PATH 3863do 3864 IFS=$as_save_IFS 3865 test -z "$as_dir" && as_dir=. 3866 for ac_exec_ext in '' $ac_executable_extensions; do 3867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3868 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3870 break 2 3871 fi 3872done 3873 done 3874IFS=$as_save_IFS 3875 3876fi 3877fi 3878RANLIB=$ac_cv_prog_RANLIB 3879if test -n "$RANLIB"; then 3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3881$as_echo "$RANLIB" >&6; } 3882else 3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3884$as_echo "no" >&6; } 3885fi 3886 3887 3888fi 3889if test -z "$ac_cv_prog_RANLIB"; then 3890 ac_ct_RANLIB=$RANLIB 3891 # Extract the first word of "ranlib", so it can be a program name with args. 3892set dummy ranlib; ac_word=$2 3893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3894$as_echo_n "checking for $ac_word... " >&6; } 3895if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 3896 $as_echo_n "(cached) " >&6 3897else 3898 if test -n "$ac_ct_RANLIB"; then 3899 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3900else 3901as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3902for as_dir in $PATH 3903do 3904 IFS=$as_save_IFS 3905 test -z "$as_dir" && as_dir=. 3906 for ac_exec_ext in '' $ac_executable_extensions; do 3907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3908 ac_cv_prog_ac_ct_RANLIB="ranlib" 3909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3910 break 2 3911 fi 3912done 3913 done 3914IFS=$as_save_IFS 3915 3916fi 3917fi 3918ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3919if test -n "$ac_ct_RANLIB"; then 3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3921$as_echo "$ac_ct_RANLIB" >&6; } 3922else 3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3924$as_echo "no" >&6; } 3925fi 3926 3927 if test "x$ac_ct_RANLIB" = x; then 3928 RANLIB=":" 3929 else 3930 case $cross_compiling:$ac_tool_warned in 3931yes:) 3932{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3933$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3934ac_tool_warned=yes ;; 3935esac 3936 RANLIB=$ac_ct_RANLIB 3937 fi 3938else 3939 RANLIB="$ac_cv_prog_RANLIB" 3940fi 3941 3942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3943$as_echo_n "checking whether ln -s works... " >&6; } 3944LN_S=$as_ln_s 3945if test "$LN_S" = "ln -s"; then 3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3947$as_echo "yes" >&6; } 3948else 3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3950$as_echo "no, using $LN_S" >&6; } 3951fi 3952 3953 3954 3955ac_ext=c 3956ac_cpp='$CPP $CPPFLAGS' 3957ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3958ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3959ac_compiler_gnu=$ac_cv_c_compiler_gnu 3960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3961$as_echo_n "checking how to run the C preprocessor... " >&6; } 3962# On Suns, sometimes $CPP names a directory. 3963if test -n "$CPP" && test -d "$CPP"; then 3964 CPP= 3965fi 3966if test -z "$CPP"; then 3967 if test "${ac_cv_prog_CPP+set}" = set; then : 3968 $as_echo_n "(cached) " >&6 3969else 3970 # Double quotes because CPP needs to be expanded 3971 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3972 do 3973 ac_preproc_ok=false 3974for ac_c_preproc_warn_flag in '' yes 3975do 3976 # Use a header file that comes with gcc, so configuring glibc 3977 # with a fresh cross-compiler works. 3978 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3979 # <limits.h> exists even on freestanding compilers. 3980 # On the NeXT, cc -E runs the code through the compiler's parser, 3981 # not just through cpp. "Syntax error" is here to catch this case. 3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3983/* end confdefs.h. */ 3984#ifdef __STDC__ 3985# include <limits.h> 3986#else 3987# include <assert.h> 3988#endif 3989 Syntax error 3990_ACEOF 3991if ac_fn_c_try_cpp "$LINENO"; then : 3992 3993else 3994 # Broken: fails on valid input. 3995continue 3996fi 3997rm -f conftest.err conftest.$ac_ext 3998 3999 # OK, works on sane cases. Now check whether nonexistent headers 4000 # can be detected and how. 4001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4002/* end confdefs.h. */ 4003#include <ac_nonexistent.h> 4004_ACEOF 4005if ac_fn_c_try_cpp "$LINENO"; then : 4006 # Broken: success on invalid input. 4007continue 4008else 4009 # Passes both tests. 4010ac_preproc_ok=: 4011break 4012fi 4013rm -f conftest.err conftest.$ac_ext 4014 4015done 4016# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4017rm -f conftest.err conftest.$ac_ext 4018if $ac_preproc_ok; then : 4019 break 4020fi 4021 4022 done 4023 ac_cv_prog_CPP=$CPP 4024 4025fi 4026 CPP=$ac_cv_prog_CPP 4027else 4028 ac_cv_prog_CPP=$CPP 4029fi 4030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4031$as_echo "$CPP" >&6; } 4032ac_preproc_ok=false 4033for ac_c_preproc_warn_flag in '' yes 4034do 4035 # Use a header file that comes with gcc, so configuring glibc 4036 # with a fresh cross-compiler works. 4037 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4038 # <limits.h> exists even on freestanding compilers. 4039 # On the NeXT, cc -E runs the code through the compiler's parser, 4040 # not just through cpp. "Syntax error" is here to catch this case. 4041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4042/* end confdefs.h. */ 4043#ifdef __STDC__ 4044# include <limits.h> 4045#else 4046# include <assert.h> 4047#endif 4048 Syntax error 4049_ACEOF 4050if ac_fn_c_try_cpp "$LINENO"; then : 4051 4052else 4053 # Broken: fails on valid input. 4054continue 4055fi 4056rm -f conftest.err conftest.$ac_ext 4057 4058 # OK, works on sane cases. Now check whether nonexistent headers 4059 # can be detected and how. 4060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4061/* end confdefs.h. */ 4062#include <ac_nonexistent.h> 4063_ACEOF 4064if ac_fn_c_try_cpp "$LINENO"; then : 4065 # Broken: success on invalid input. 4066continue 4067else 4068 # Passes both tests. 4069ac_preproc_ok=: 4070break 4071fi 4072rm -f conftest.err conftest.$ac_ext 4073 4074done 4075# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4076rm -f conftest.err conftest.$ac_ext 4077if $ac_preproc_ok; then : 4078 4079else 4080 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4081$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4082as_fn_error "C preprocessor \"$CPP\" fails sanity check 4083See \`config.log' for more details." "$LINENO" 5; } 4084fi 4085 4086ac_ext=c 4087ac_cpp='$CPP $CPPFLAGS' 4088ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4089ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4090ac_compiler_gnu=$ac_cv_c_compiler_gnu 4091 4092 4093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4094$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4095if test "${ac_cv_path_GREP+set}" = set; then : 4096 $as_echo_n "(cached) " >&6 4097else 4098 if test -z "$GREP"; then 4099 ac_path_GREP_found=false 4100 # Loop through the user's path and test for each of PROGNAME-LIST 4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4102for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4103do 4104 IFS=$as_save_IFS 4105 test -z "$as_dir" && as_dir=. 4106 for ac_prog in grep ggrep; do 4107 for ac_exec_ext in '' $ac_executable_extensions; do 4108 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4109 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4110# Check for GNU ac_path_GREP and select it if it is found. 4111 # Check for GNU $ac_path_GREP 4112case `"$ac_path_GREP" --version 2>&1` in 4113*GNU*) 4114 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4115*) 4116 ac_count=0 4117 $as_echo_n 0123456789 >"conftest.in" 4118 while : 4119 do 4120 cat "conftest.in" "conftest.in" >"conftest.tmp" 4121 mv "conftest.tmp" "conftest.in" 4122 cp "conftest.in" "conftest.nl" 4123 $as_echo 'GREP' >> "conftest.nl" 4124 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4125 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4126 as_fn_arith $ac_count + 1 && ac_count=$as_val 4127 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4128 # Best one so far, save it but keep looking for a better one 4129 ac_cv_path_GREP="$ac_path_GREP" 4130 ac_path_GREP_max=$ac_count 4131 fi 4132 # 10*(2^10) chars as input seems more than enough 4133 test $ac_count -gt 10 && break 4134 done 4135 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4136esac 4137 4138 $ac_path_GREP_found && break 3 4139 done 4140 done 4141 done 4142IFS=$as_save_IFS 4143 if test -z "$ac_cv_path_GREP"; then 4144 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4145 fi 4146else 4147 ac_cv_path_GREP=$GREP 4148fi 4149 4150fi 4151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4152$as_echo "$ac_cv_path_GREP" >&6; } 4153 GREP="$ac_cv_path_GREP" 4154 4155 4156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4157$as_echo_n "checking for egrep... " >&6; } 4158if test "${ac_cv_path_EGREP+set}" = set; then : 4159 $as_echo_n "(cached) " >&6 4160else 4161 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4162 then ac_cv_path_EGREP="$GREP -E" 4163 else 4164 if test -z "$EGREP"; then 4165 ac_path_EGREP_found=false 4166 # Loop through the user's path and test for each of PROGNAME-LIST 4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4168for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4169do 4170 IFS=$as_save_IFS 4171 test -z "$as_dir" && as_dir=. 4172 for ac_prog in egrep; do 4173 for ac_exec_ext in '' $ac_executable_extensions; do 4174 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4175 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4176# Check for GNU ac_path_EGREP and select it if it is found. 4177 # Check for GNU $ac_path_EGREP 4178case `"$ac_path_EGREP" --version 2>&1` in 4179*GNU*) 4180 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4181*) 4182 ac_count=0 4183 $as_echo_n 0123456789 >"conftest.in" 4184 while : 4185 do 4186 cat "conftest.in" "conftest.in" >"conftest.tmp" 4187 mv "conftest.tmp" "conftest.in" 4188 cp "conftest.in" "conftest.nl" 4189 $as_echo 'EGREP' >> "conftest.nl" 4190 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4191 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4192 as_fn_arith $ac_count + 1 && ac_count=$as_val 4193 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4194 # Best one so far, save it but keep looking for a better one 4195 ac_cv_path_EGREP="$ac_path_EGREP" 4196 ac_path_EGREP_max=$ac_count 4197 fi 4198 # 10*(2^10) chars as input seems more than enough 4199 test $ac_count -gt 10 && break 4200 done 4201 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4202esac 4203 4204 $ac_path_EGREP_found && break 3 4205 done 4206 done 4207 done 4208IFS=$as_save_IFS 4209 if test -z "$ac_cv_path_EGREP"; then 4210 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4211 fi 4212else 4213 ac_cv_path_EGREP=$EGREP 4214fi 4215 4216 fi 4217fi 4218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4219$as_echo "$ac_cv_path_EGREP" >&6; } 4220 EGREP="$ac_cv_path_EGREP" 4221 4222 4223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4224$as_echo_n "checking for ANSI C header files... " >&6; } 4225if test "${ac_cv_header_stdc+set}" = set; then : 4226 $as_echo_n "(cached) " >&6 4227else 4228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4229/* end confdefs.h. */ 4230#include <stdlib.h> 4231#include <stdarg.h> 4232#include <string.h> 4233#include <float.h> 4234 4235int 4236main () 4237{ 4238 4239 ; 4240 return 0; 4241} 4242_ACEOF 4243if ac_fn_c_try_compile "$LINENO"; then : 4244 ac_cv_header_stdc=yes 4245else 4246 ac_cv_header_stdc=no 4247fi 4248rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4249 4250if test $ac_cv_header_stdc = yes; then 4251 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4253/* end confdefs.h. */ 4254#include <string.h> 4255 4256_ACEOF 4257if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4258 $EGREP "memchr" >/dev/null 2>&1; then : 4259 4260else 4261 ac_cv_header_stdc=no 4262fi 4263rm -f conftest* 4264 4265fi 4266 4267if test $ac_cv_header_stdc = yes; then 4268 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4270/* end confdefs.h. */ 4271#include <stdlib.h> 4272 4273_ACEOF 4274if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4275 $EGREP "free" >/dev/null 2>&1; then : 4276 4277else 4278 ac_cv_header_stdc=no 4279fi 4280rm -f conftest* 4281 4282fi 4283 4284if test $ac_cv_header_stdc = yes; then 4285 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4286 if test "$cross_compiling" = yes; then : 4287 : 4288else 4289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4290/* end confdefs.h. */ 4291#include <ctype.h> 4292#include <stdlib.h> 4293#if ((' ' & 0x0FF) == 0x020) 4294# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4295# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4296#else 4297# define ISLOWER(c) \ 4298 (('a' <= (c) && (c) <= 'i') \ 4299 || ('j' <= (c) && (c) <= 'r') \ 4300 || ('s' <= (c) && (c) <= 'z')) 4301# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4302#endif 4303 4304#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4305int 4306main () 4307{ 4308 int i; 4309 for (i = 0; i < 256; i++) 4310 if (XOR (islower (i), ISLOWER (i)) 4311 || toupper (i) != TOUPPER (i)) 4312 return 2; 4313 return 0; 4314} 4315_ACEOF 4316if ac_fn_c_try_run "$LINENO"; then : 4317 4318else 4319 ac_cv_header_stdc=no 4320fi 4321rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4322 conftest.$ac_objext conftest.beam conftest.$ac_ext 4323fi 4324 4325fi 4326fi 4327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4328$as_echo "$ac_cv_header_stdc" >&6; } 4329if test $ac_cv_header_stdc = yes; then 4330 4331$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4332 4333fi 4334 4335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 4336$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4337if test "${ac_cv_c_const+set}" = set; then : 4338 $as_echo_n "(cached) " >&6 4339else 4340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4341/* end confdefs.h. */ 4342 4343int 4344main () 4345{ 4346/* FIXME: Include the comments suggested by Paul. */ 4347#ifndef __cplusplus 4348 /* Ultrix mips cc rejects this. */ 4349 typedef int charset[2]; 4350 const charset cs; 4351 /* SunOS 4.1.1 cc rejects this. */ 4352 char const *const *pcpcc; 4353 char **ppc; 4354 /* NEC SVR4.0.2 mips cc rejects this. */ 4355 struct point {int x, y;}; 4356 static struct point const zero = {0,0}; 4357 /* AIX XL C 1.02.0.0 rejects this. 4358 It does not let you subtract one const X* pointer from another in 4359 an arm of an if-expression whose if-part is not a constant 4360 expression */ 4361 const char *g = "string"; 4362 pcpcc = &g + (g ? g-g : 0); 4363 /* HPUX 7.0 cc rejects these. */ 4364 ++pcpcc; 4365 ppc = (char**) pcpcc; 4366 pcpcc = (char const *const *) ppc; 4367 { /* SCO 3.2v4 cc rejects this. */ 4368 char *t; 4369 char const *s = 0 ? (char *) 0 : (char const *) 0; 4370 4371 *t++ = 0; 4372 if (s) return 0; 4373 } 4374 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 4375 int x[] = {25, 17}; 4376 const int *foo = &x[0]; 4377 ++foo; 4378 } 4379 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 4380 typedef const int *iptr; 4381 iptr p = 0; 4382 ++p; 4383 } 4384 { /* AIX XL C 1.02.0.0 rejects this saying 4385 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 4386 struct s { int j; const int *ap[3]; }; 4387 struct s *b; b->j = 5; 4388 } 4389 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4390 const int foo = 10; 4391 if (!foo) return 0; 4392 } 4393 return !cs[0] && !zero.x; 4394#endif 4395 4396 ; 4397 return 0; 4398} 4399_ACEOF 4400if ac_fn_c_try_compile "$LINENO"; then : 4401 ac_cv_c_const=yes 4402else 4403 ac_cv_c_const=no 4404fi 4405rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4406fi 4407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 4408$as_echo "$ac_cv_c_const" >&6; } 4409if test $ac_cv_c_const = no; then 4410 4411$as_echo "#define const /**/" >>confdefs.h 4412 4413fi 4414 4415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 4416$as_echo_n "checking for inline... " >&6; } 4417if test "${ac_cv_c_inline+set}" = set; then : 4418 $as_echo_n "(cached) " >&6 4419else 4420 ac_cv_c_inline=no 4421for ac_kw in inline __inline__ __inline; do 4422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4423/* end confdefs.h. */ 4424#ifndef __cplusplus 4425typedef int foo_t; 4426static $ac_kw foo_t static_foo () {return 0; } 4427$ac_kw foo_t foo () {return 0; } 4428#endif 4429 4430_ACEOF 4431if ac_fn_c_try_compile "$LINENO"; then : 4432 ac_cv_c_inline=$ac_kw 4433fi 4434rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4435 test "$ac_cv_c_inline" != no && break 4436done 4437 4438fi 4439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 4440$as_echo "$ac_cv_c_inline" >&6; } 4441 4442case $ac_cv_c_inline in 4443 inline | yes) ;; 4444 *) 4445 case $ac_cv_c_inline in 4446 no) ac_val=;; 4447 *) ac_val=$ac_cv_c_inline;; 4448 esac 4449 cat >>confdefs.h <<_ACEOF 4450#ifndef __cplusplus 4451#define inline $ac_val 4452#endif 4453_ACEOF 4454 ;; 4455esac 4456 4457 4458 4459for ac_func in sqrt 4460do : 4461 ac_fn_c_check_func "$LINENO" "sqrt" "ac_cv_func_sqrt" 4462if test "x$ac_cv_func_sqrt" = x""yes; then : 4463 cat >>confdefs.h <<_ACEOF 4464#define HAVE_SQRT 1 4465_ACEOF 4466 4467fi 4468done 4469 4470# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4471for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4472 inttypes.h stdint.h unistd.h 4473do : 4474 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4475ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4476" 4477eval as_val=\$$as_ac_Header 4478 if test "x$as_val" = x""yes; then : 4479 cat >>confdefs.h <<_ACEOF 4480#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4481_ACEOF 4482 4483fi 4484 4485done 4486 4487 4488for ac_header in fenv.h 4489do : 4490 ac_fn_c_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default" 4491if test "x$ac_cv_header_fenv_h" = x""yes; then : 4492 cat >>confdefs.h <<_ACEOF 4493#define HAVE_FENV_H 1 4494_ACEOF 4495 4496fi 4497 4498done 4499 4500for ac_header in float.h 4501do : 4502 ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default" 4503if test "x$ac_cv_header_float_h" = x""yes; then : 4504 cat >>confdefs.h <<_ACEOF 4505#define HAVE_FLOAT_H 1 4506_ACEOF 4507 4508fi 4509 4510done 4511 4512ac_fn_c_check_header_mongrel "$LINENO" "fpu_control.h" "ac_cv_header_fpu_control_h" "$ac_includes_default" 4513if test "x$ac_cv_header_fpu_control_h" = x""yes; then : 4514 has_fpu_control=yes 4515else 4516 has_fpu_control=no 4517fi 4518 4519 4520 4521 if test x$has_fpu_control = xyes; then 4522 HAS_FPU_CONTROL_TRUE= 4523 HAS_FPU_CONTROL_FALSE='#' 4524else 4525 HAS_FPU_CONTROL_TRUE='#' 4526 HAS_FPU_CONTROL_FALSE= 4527fi 4528 4529 4530if test x$has_fpu_control = xyes ; then 4531 4532cat >>confdefs.h <<_ACEOF 4533#define CRLIBM_HAS_FPU_CONTROL 1 4534_ACEOF 4535 4536fi 4537 4538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5 4539$as_echo_n "checking for log in -lm... " >&6; } 4540if test "${ac_cv_lib_m_log+set}" = set; then : 4541 $as_echo_n "(cached) " >&6 4542else 4543 ac_check_lib_save_LIBS=$LIBS 4544LIBS="-lm $LIBS" 4545cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4546/* end confdefs.h. */ 4547 4548/* Override any GCC internal prototype to avoid an error. 4549 Use char because int might match the return type of a GCC 4550 builtin and then its argument prototype would still apply. */ 4551#ifdef __cplusplus 4552extern "C" 4553#endif 4554char log (); 4555int 4556main () 4557{ 4558return log (); 4559 ; 4560 return 0; 4561} 4562_ACEOF 4563if ac_fn_c_try_link "$LINENO"; then : 4564 ac_cv_lib_m_log=yes 4565else 4566 ac_cv_lib_m_log=no 4567fi 4568rm -f core conftest.err conftest.$ac_objext \ 4569 conftest$ac_exeext conftest.$ac_ext 4570LIBS=$ac_check_lib_save_LIBS 4571fi 4572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5 4573$as_echo "$ac_cv_lib_m_log" >&6; } 4574if test "x$ac_cv_lib_m_log" = x""yes; then : 4575 cat >>confdefs.h <<_ACEOF 4576#define HAVE_LIBM 1 4577_ACEOF 4578 4579 LIBS="-lm $LIBS" 4580 4581fi 4582 4583 4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 4585$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 4586if test "${ac_cv_c_bigendian+set}" = set; then : 4587 $as_echo_n "(cached) " >&6 4588else 4589 ac_cv_c_bigendian=unknown 4590 # See if we're dealing with a universal compiler. 4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4592/* end confdefs.h. */ 4593#ifndef __APPLE_CC__ 4594 not a universal capable compiler 4595 #endif 4596 typedef int dummy; 4597 4598_ACEOF 4599if ac_fn_c_try_compile "$LINENO"; then : 4600 4601 # Check for potential -arch flags. It is not universal unless 4602 # there are at least two -arch flags with different values. 4603 ac_arch= 4604 ac_prev= 4605 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 4606 if test -n "$ac_prev"; then 4607 case $ac_word in 4608 i?86 | x86_64 | ppc | ppc64) 4609 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 4610 ac_arch=$ac_word 4611 else 4612 ac_cv_c_bigendian=universal 4613 break 4614 fi 4615 ;; 4616 esac 4617 ac_prev= 4618 elif test "x$ac_word" = "x-arch"; then 4619 ac_prev=arch 4620 fi 4621 done 4622fi 4623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4624 if test $ac_cv_c_bigendian = unknown; then 4625 # See if sys/param.h defines the BYTE_ORDER macro. 4626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4627/* end confdefs.h. */ 4628#include <sys/types.h> 4629 #include <sys/param.h> 4630 4631int 4632main () 4633{ 4634#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 4635 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 4636 && LITTLE_ENDIAN) 4637 bogus endian macros 4638 #endif 4639 4640 ; 4641 return 0; 4642} 4643_ACEOF 4644if ac_fn_c_try_compile "$LINENO"; then : 4645 # It does; now see whether it defined to BIG_ENDIAN or not. 4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4647/* end confdefs.h. */ 4648#include <sys/types.h> 4649 #include <sys/param.h> 4650 4651int 4652main () 4653{ 4654#if BYTE_ORDER != BIG_ENDIAN 4655 not big endian 4656 #endif 4657 4658 ; 4659 return 0; 4660} 4661_ACEOF 4662if ac_fn_c_try_compile "$LINENO"; then : 4663 ac_cv_c_bigendian=yes 4664else 4665 ac_cv_c_bigendian=no 4666fi 4667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4668fi 4669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4670 fi 4671 if test $ac_cv_c_bigendian = unknown; then 4672 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4674/* end confdefs.h. */ 4675#include <limits.h> 4676 4677int 4678main () 4679{ 4680#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 4681 bogus endian macros 4682 #endif 4683 4684 ; 4685 return 0; 4686} 4687_ACEOF 4688if ac_fn_c_try_compile "$LINENO"; then : 4689 # It does; now see whether it defined to _BIG_ENDIAN or not. 4690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4691/* end confdefs.h. */ 4692#include <limits.h> 4693 4694int 4695main () 4696{ 4697#ifndef _BIG_ENDIAN 4698 not big endian 4699 #endif 4700 4701 ; 4702 return 0; 4703} 4704_ACEOF 4705if ac_fn_c_try_compile "$LINENO"; then : 4706 ac_cv_c_bigendian=yes 4707else 4708 ac_cv_c_bigendian=no 4709fi 4710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4711fi 4712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4713 fi 4714 if test $ac_cv_c_bigendian = unknown; then 4715 # Compile a test program. 4716 if test "$cross_compiling" = yes; then : 4717 # Try to guess by grepping values from an object file. 4718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4719/* end confdefs.h. */ 4720short int ascii_mm[] = 4721 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 4722 short int ascii_ii[] = 4723 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 4724 int use_ascii (int i) { 4725 return ascii_mm[i] + ascii_ii[i]; 4726 } 4727 short int ebcdic_ii[] = 4728 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 4729 short int ebcdic_mm[] = 4730 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 4731 int use_ebcdic (int i) { 4732 return ebcdic_mm[i] + ebcdic_ii[i]; 4733 } 4734 extern int foo; 4735 4736int 4737main () 4738{ 4739return use_ascii (foo) == use_ebcdic (foo); 4740 ; 4741 return 0; 4742} 4743_ACEOF 4744if ac_fn_c_try_compile "$LINENO"; then : 4745 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 4746 ac_cv_c_bigendian=yes 4747 fi 4748 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 4749 if test "$ac_cv_c_bigendian" = unknown; then 4750 ac_cv_c_bigendian=no 4751 else 4752 # finding both strings is unlikely to happen, but who knows? 4753 ac_cv_c_bigendian=unknown 4754 fi 4755 fi 4756fi 4757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4758else 4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4760/* end confdefs.h. */ 4761$ac_includes_default 4762int 4763main () 4764{ 4765 4766 /* Are we little or big endian? From Harbison&Steele. */ 4767 union 4768 { 4769 long int l; 4770 char c[sizeof (long int)]; 4771 } u; 4772 u.l = 1; 4773 return u.c[sizeof (long int) - 1] == 1; 4774 4775 ; 4776 return 0; 4777} 4778_ACEOF 4779if ac_fn_c_try_run "$LINENO"; then : 4780 ac_cv_c_bigendian=no 4781else 4782 ac_cv_c_bigendian=yes 4783fi 4784rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4785 conftest.$ac_objext conftest.beam conftest.$ac_ext 4786fi 4787 4788 fi 4789fi 4790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 4791$as_echo "$ac_cv_c_bigendian" >&6; } 4792 case $ac_cv_c_bigendian in #( 4793 yes) 4794 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h 4795;; #( 4796 no) 4797 ;; #( 4798 universal) 4799 4800$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 4801 4802 ;; #( 4803 *) 4804 as_fn_error "unknown endianness 4805 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 4806 esac 4807 4808 4809 4810 4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double with more range or precision than double" >&5 4812$as_echo_n "checking for long double with more range or precision than double... " >&6; } 4813if test "${ac_cv_type_long_double_wider+set}" = set; then : 4814 $as_echo_n "(cached) " >&6 4815else 4816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4817/* end confdefs.h. */ 4818#include <float.h> 4819 long double const a[] = 4820 { 4821 0.0L, DBL_MIN, DBL_MAX, DBL_EPSILON, 4822 LDBL_MIN, LDBL_MAX, LDBL_EPSILON 4823 }; 4824 long double 4825 f (long double x) 4826 { 4827 return ((x + (unsigned long int) 10) * (-1 / x) + a[0] 4828 + (x ? f (x) : 'c')); 4829 } 4830 4831int 4832main () 4833{ 4834static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP < LDBL_MAX_EXP) 4835 + (DBL_MANT_DIG < LDBL_MANT_DIG) 4836 - (LDBL_MAX_EXP < DBL_MAX_EXP) 4837 - (LDBL_MANT_DIG < DBL_MANT_DIG))) 4838 && (int) LDBL_EPSILON == 0 4839 )]; 4840test_array [0] = 0 4841 4842 ; 4843 return 0; 4844} 4845_ACEOF 4846if ac_fn_c_try_compile "$LINENO"; then : 4847 ac_cv_type_long_double_wider=yes 4848else 4849 ac_cv_type_long_double_wider=no 4850fi 4851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4852fi 4853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double_wider" >&5 4854$as_echo "$ac_cv_type_long_double_wider" >&6; } 4855 if test $ac_cv_type_long_double_wider = yes; then 4856 4857$as_echo "#define HAVE_LONG_DOUBLE_WIDER 1" >>confdefs.h 4858 4859 fi 4860 4861 ac_cv_c_long_double=$ac_cv_type_long_double_wider 4862 if test $ac_cv_c_long_double = yes; then 4863 4864$as_echo "#define HAVE_LONG_DOUBLE 1" >>confdefs.h 4865 4866 fi 4867 4868 4869 4870# The cast to long int works around a bug in the HP C Compiler 4871# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 4872# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 4873# This bug is HP SR number 8606223364. 4874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 4875$as_echo_n "checking size of int... " >&6; } 4876if test "${ac_cv_sizeof_int+set}" = set; then : 4877 $as_echo_n "(cached) " >&6 4878else 4879 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 4880 4881else 4882 if test "$ac_cv_type_int" = yes; then 4883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4884$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4885{ as_fn_set_status 77 4886as_fn_error "cannot compute sizeof (int) 4887See \`config.log' for more details." "$LINENO" 5; }; } 4888 else 4889 ac_cv_sizeof_int=0 4890 fi 4891fi 4892 4893fi 4894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 4895$as_echo "$ac_cv_sizeof_int" >&6; } 4896 4897 4898 4899cat >>confdefs.h <<_ACEOF 4900#define SIZEOF_INT $ac_cv_sizeof_int 4901_ACEOF 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918# Check whether --enable-sse2 was given. 4919if test "${enable_sse2+set}" = set; then : 4920 enableval=$enable_sse2; case $enableval in 4921 yes) 4922 4923cat >>confdefs.h <<_ACEOF 4924#define HAS_SSE2 1 4925_ACEOF 4926;; 4927 no) ;; 4928 *) as_fn_error "bad value $enableval for --enable-sse2, need yes or no" "$LINENO" 5 ;; 4929 esac 4930else 4931 enable_sse2=no 4932fi 4933 4934 if test x$enable_sse2 = xyes ; then 4935 USE_SSE2_TRUE= 4936 USE_SSE2_FALSE='#' 4937else 4938 USE_SSE2_TRUE='#' 4939 USE_SSE2_FALSE= 4940fi 4941 4942 4943 4944 4945 4946# Check whether --enable-interval-functions was given. 4947if test "${enable_interval_functions+set}" = set; then : 4948 enableval=$enable_interval_functions; case $enableval in 4949 yes) 4950 4951cat >>confdefs.h <<_ACEOF 4952#define BUILD_INTERVAL_FUNCTIONS 1 4953_ACEOF 4954;; 4955 no) ;; 4956 *) as_fn_error "bad value $enableval for --enable-interval-functions, need yes or no" "$LINENO" 5 ;; 4957 esac 4958else 4959 enable_interval_functions=no 4960fi 4961 4962 if test x$enable_interval_functions = xyes ; then 4963 USE_INTERVAL_FUNCTIONS_TRUE= 4964 USE_INTERVAL_FUNCTIONS_FALSE='#' 4965else 4966 USE_INTERVAL_FUNCTIONS_TRUE='#' 4967 USE_INTERVAL_FUNCTIONS_FALSE= 4968fi 4969 4970 4971 4972 4973# Check whether --enable-double-extended was given. 4974if test "${enable_double_extended+set}" = set; then : 4975 enableval=$enable_double_extended; case $enableval in 4976 yes|no) ;; 4977 *) as_fn_error "bad value $enableval for --enable-double-extended, need yes or no" "$LINENO" 5 ;; 4978 esac 4979else 4980 enable_double_extended=yes 4981fi 4982 4983 4984 4985 if test x$has_ia32_de = xtrue -a x$has_fpu_control = xyes -a x$enable_double_extended = xyes -a x$enable_interval_functions = xno ; then 4986 USE_HARDWARE_DE_TRUE= 4987 USE_HARDWARE_DE_FALSE='#' 4988else 4989 USE_HARDWARE_DE_TRUE='#' 4990 USE_HARDWARE_DE_FALSE= 4991fi 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002# Check whether --enable-nbdigits was given. 5003if test "${enable_nbdigits+set}" = set; then : 5004 enableval=$enable_nbdigits; case $enableval in 5005 *[0-9]) 5006cat >>confdefs.h <<_ACEOF 5007#define SCS_NB_WORDS $enableval 5008_ACEOF 5009;; 5010 *) as_fn_error "bad value $enableval for --enable-nbdigits, number expected" "$LINENO" 5 ;; 5011 esac 5012else 5013 5014cat >>confdefs.h <<_ACEOF 5015#define SCS_NB_WORDS 8 5016_ACEOF 5017 5018 5019fi 5020 5021 5022# Check whether --enable-digitsize was given. 5023if test "${enable_digitsize+set}" = set; then : 5024 enableval=$enable_digitsize; case $enableval in 5025 *[0-9]) 5026cat >>confdefs.h <<_ACEOF 5027#define SCS_NB_BITS $enableval 5028_ACEOF 5029;; 5030 *) as_fn_error "bad value $enableval for --enable-digitsize, number expected" "$LINENO" 5 ;; 5031 esac 5032else 5033 5034cat >>confdefs.h <<_ACEOF 5035#define SCS_NB_BITS 30 5036_ACEOF 5037 5038 5039fi 5040 5041 5042 5043# Check whether --enable-mpfr was given. 5044if test "${enable_mpfr+set}" = set; then : 5045 enableval=$enable_mpfr; case $enableval in 5046 yes|no) ;; 5047 *) as_fn_error "bad value $enableval for --enable-mpfr, need yes or no" "$LINENO" 5 ;; 5048 esac 5049else 5050 enable_mpfr=no 5051fi 5052 5053 5054 5055# Check whether --enable-gmp was given. 5056if test "${enable_gmp+set}" = set; then : 5057 enableval=$enable_gmp; case $enableval in 5058 yes|no) ;; 5059 *) as_fn_error "bad value $enableval for --enable-gmp, need yes or no" "$LINENO" 5 ;; 5060 esac 5061else 5062 enable_gmp=no 5063fi 5064 5065 5066 5067# Check whether --enable-ultim was given. 5068if test "${enable_ultim+set}" = set; then : 5069 enableval=$enable_ultim; case $enableval in 5070 yes|no) ;; 5071 *) as_fn_error "bad value $enableval for --enable-ultim, need yes or no" "$LINENO" 5 ;; 5072 esac 5073else 5074 enable_ultim=no 5075fi 5076 5077 5078 5079# Check whether --enable-mcr was given. 5080if test "${enable_mcr+set}" = set; then : 5081 enableval=$enable_mcr; case $enableval in 5082 yes|no) ;; 5083 *) as_fn_error "bad value $enableval for --enable-mcr, need yes or no" "$LINENO" 5 ;; 5084 esac 5085else 5086 enable_mcr=no 5087fi 5088 5089 5090 5091 5092 5093if test "$enable_gmp" = "yes" -o "$enable_mpfr" = "yes"; then 5094 5095 5096# Check whether --with-gmp_include was given. 5097if test "${with_gmp_include+set}" = set; then : 5098 withval=$with_gmp_include; with_gmp_include=$withval 5099fi 5100 5101 5102# Check whether --with-gmp_lib was given. 5103if test "${with_gmp_lib+set}" = set; then : 5104 withval=$with_gmp_lib; with_gmp_lib=$withval 5105fi 5106 5107 5108# Check whether --with-gmp was given. 5109if test "${with_gmp+set}" = set; then : 5110 withval=$with_gmp; with_gmp_include=$withval/include with_gmp_lib=$withval/lib 5111fi 5112 5113 5114if test -d "$with_gmp_include"; then 5115 CPPFLAGS="$CPPFLAGS -I$with_gmp_include" 5116else 5117 with_gmp_include= 5118fi 5119 5120if ` test "$with_gmp_lib" ` 5121then 5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gmp library" >&5 5123$as_echo_n "checking gmp library... " >&6; } 5124 if test -r "$with_gmp_lib/libgmp.a" -o -r "$with_gmp_lib/libgmp.so" 5125 then 5126 LDFLAGS="$LDFLAGS -L$with_gmp_lib" 5127 LIBS ="$LIBS -lgmp" 5128 else 5129 as_fn_error "gmp not found" "$LINENO" 5 5130 fi 5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5132$as_echo "yes" >&6; } 5133else 5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 5135$as_echo_n "checking for main in -lgmp... " >&6; } 5136if test "${ac_cv_lib_gmp_main+set}" = set; then : 5137 $as_echo_n "(cached) " >&6 5138else 5139 ac_check_lib_save_LIBS=$LIBS 5140LIBS="-lgmp $LIBS" 5141cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5142/* end confdefs.h. */ 5143 5144 5145int 5146main () 5147{ 5148return main (); 5149 ; 5150 return 0; 5151} 5152_ACEOF 5153if ac_fn_c_try_link "$LINENO"; then : 5154 ac_cv_lib_gmp_main=yes 5155else 5156 ac_cv_lib_gmp_main=no 5157fi 5158rm -f core conftest.err conftest.$ac_objext \ 5159 conftest$ac_exeext conftest.$ac_ext 5160LIBS=$ac_check_lib_save_LIBS 5161fi 5162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 5163$as_echo "$ac_cv_lib_gmp_main" >&6; } 5164if test "x$ac_cv_lib_gmp_main" = x""yes; then : 5165 cat >>confdefs.h <<_ACEOF 5166#define HAVE_LIBGMP 1 5167_ACEOF 5168 5169 LIBS="-lgmp $LIBS" 5170 5171else 5172 as_fn_error "gmp not found" "$LINENO" 5 5173fi 5174 5175fi 5176 5177 5178 5179for ac_header in gmp.h 5180do : 5181 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" 5182if test "x$ac_cv_header_gmp_h" = x""yes; then : 5183 cat >>confdefs.h <<_ACEOF 5184#define HAVE_GMP_H 1 5185_ACEOF 5186 5187fi 5188 5189done 5190 5191 5192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgmp" >&5 5193$as_echo_n "checking for main in -lgmp... " >&6; } 5194if test "${ac_cv_lib_gmp_main+set}" = set; then : 5195 $as_echo_n "(cached) " >&6 5196else 5197 ac_check_lib_save_LIBS=$LIBS 5198LIBS="-lgmp $LIBS" 5199cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5200/* end confdefs.h. */ 5201 5202 5203int 5204main () 5205{ 5206return main (); 5207 ; 5208 return 0; 5209} 5210_ACEOF 5211if ac_fn_c_try_link "$LINENO"; then : 5212 ac_cv_lib_gmp_main=yes 5213else 5214 ac_cv_lib_gmp_main=no 5215fi 5216rm -f core conftest.err conftest.$ac_objext \ 5217 conftest$ac_exeext conftest.$ac_ext 5218LIBS=$ac_check_lib_save_LIBS 5219fi 5220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp_main" >&5 5221$as_echo "$ac_cv_lib_gmp_main" >&6; } 5222if test "x$ac_cv_lib_gmp_main" = x""yes; then : 5223 cat >>confdefs.h <<_ACEOF 5224#define HAVE_LIBGMP 1 5225_ACEOF 5226 5227 LIBS="-lgmp $LIBS" 5228 5229fi 5230 5231 5232fi 5233 5234 5235 5236 5237if test "$enable_mpfr" = "yes"; then 5238 5239# Check whether --with-mpfr_include was given. 5240if test "${with_mpfr_include+set}" = set; then : 5241 withval=$with_mpfr_include; with_mpfr_include=$withval 5242fi 5243 5244 5245# Check whether --with-mpfr_lib was given. 5246if test "${with_mpfr_lib+set}" = set; then : 5247 withval=$with_mpfr_lib; with_mpfr_lib=$withval 5248fi 5249 5250 5251# Check whether --with-mpfr was given. 5252if test "${with_mpfr+set}" = set; then : 5253 withval=$with_mpfr; with_mpfr_include=$withval/include with_mpfr_lib=$withval/lib 5254fi 5255 5256 5257if test -d "$with_mpfr_include"; then 5258 CPPFLAGS="$CPPFLAGS -I$with_mpfr_include" 5259else 5260 with_mpfr_include= 5261fi 5262 5263if ` test "$with_mpfr_lib" ` 5264then 5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mpfr library" >&5 5266$as_echo_n "checking mpfr library... " >&6; } 5267 if test -r "$with_mpfr_lib/libmpfr.a" -o -r "$with_mpfr_lib/libmpfr.so" 5268 then 5269 LDFLAGS="$LDFLAGS -L$with_mpfr_lib" 5270 LIBS ="$LIBS -lmpfr" 5271 else 5272 as_fn_error "mpfr not found" "$LINENO" 5 5273 fi 5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5275$as_echo "yes" >&6; } 5276else 5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmpfr" >&5 5278$as_echo_n "checking for main in -lmpfr... " >&6; } 5279if test "${ac_cv_lib_mpfr_main+set}" = set; then : 5280 $as_echo_n "(cached) " >&6 5281else 5282 ac_check_lib_save_LIBS=$LIBS 5283LIBS="-lmpfr $LIBS" 5284cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5285/* end confdefs.h. */ 5286 5287 5288int 5289main () 5290{ 5291return main (); 5292 ; 5293 return 0; 5294} 5295_ACEOF 5296if ac_fn_c_try_link "$LINENO"; then : 5297 ac_cv_lib_mpfr_main=yes 5298else 5299 ac_cv_lib_mpfr_main=no 5300fi 5301rm -f core conftest.err conftest.$ac_objext \ 5302 conftest$ac_exeext conftest.$ac_ext 5303LIBS=$ac_check_lib_save_LIBS 5304fi 5305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpfr_main" >&5 5306$as_echo "$ac_cv_lib_mpfr_main" >&6; } 5307if test "x$ac_cv_lib_mpfr_main" = x""yes; then : 5308 cat >>confdefs.h <<_ACEOF 5309#define HAVE_LIBMPFR 1 5310_ACEOF 5311 5312 LIBS="-lmpfr $LIBS" 5313 5314else 5315 as_fn_error "mpfr not found" "$LINENO" 5 5316fi 5317 5318fi 5319 5320 5321 5322 5323for ac_header in mpfr.h 5324do : 5325 ac_fn_c_check_header_compile "$LINENO" "mpfr.h" "ac_cv_header_mpfr_h" "#include<gmp.h> 5326" 5327if test "x$ac_cv_header_mpfr_h" = x""yes; then : 5328 cat >>confdefs.h <<_ACEOF 5329#define HAVE_MPFR_H 1 5330_ACEOF 5331 5332fi 5333 5334done 5335 5336 5337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmpfr" >&5 5338$as_echo_n "checking for main in -lmpfr... " >&6; } 5339if test "${ac_cv_lib_mpfr_main+set}" = set; then : 5340 $as_echo_n "(cached) " >&6 5341else 5342 ac_check_lib_save_LIBS=$LIBS 5343LIBS="-lmpfr $LIBS" 5344cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5345/* end confdefs.h. */ 5346 5347 5348int 5349main () 5350{ 5351return main (); 5352 ; 5353 return 0; 5354} 5355_ACEOF 5356if ac_fn_c_try_link "$LINENO"; then : 5357 ac_cv_lib_mpfr_main=yes 5358else 5359 ac_cv_lib_mpfr_main=no 5360fi 5361rm -f core conftest.err conftest.$ac_objext \ 5362 conftest$ac_exeext conftest.$ac_ext 5363LIBS=$ac_check_lib_save_LIBS 5364fi 5365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpfr_main" >&5 5366$as_echo "$ac_cv_lib_mpfr_main" >&6; } 5367if test "x$ac_cv_lib_mpfr_main" = x""yes; then : 5368 cat >>confdefs.h <<_ACEOF 5369#define HAVE_LIBMPFR 1 5370_ACEOF 5371 5372 LIBS="-lmpfr $LIBS" 5373 5374fi 5375 5376 5377fi 5378 5379 5380 5381if test "$enable_ultim" = "yes"; then 5382 5383 5384# Check whether --with-ultim_include was given. 5385if test "${with_ultim_include+set}" = set; then : 5386 withval=$with_ultim_include; with_ultim_include=$withval 5387fi 5388 5389 5390# Check whether --with-ultim_lib was given. 5391if test "${with_ultim_lib+set}" = set; then : 5392 withval=$with_ultim_lib; with_ultim_lib=$withval 5393fi 5394 5395 5396# Check whether --with-ultim was given. 5397if test "${with_ultim+set}" = set; then : 5398 withval=$with_ultim; with_ultim_include=$withval/include with_ultim_lib=$withval/lib 5399fi 5400 5401 5402if test -d "$with_ultim_include"; then 5403 CPPFLAGS="$CPPFLAGS -I$with_ultim_include" 5404else 5405 with_ultim_include= 5406fi 5407 5408if ` test "$with_ultim_lib" ` 5409then 5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ultim library" >&5 5411$as_echo_n "checking ultim library... " >&6; } 5412 if test -r "$with_ultim_lib/libultim.a" -o -r "$with_ultim_lib/libultim.so" 5413 then 5414 LDFLAGS="$LDFLAGS -L$with_ultim_lib" 5415 LIBS ="$LIBS -lultim" 5416 else 5417 as_fn_error "ultim not found" "$LINENO" 5 5418 fi 5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5420$as_echo "yes" >&6; } 5421else 5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lultim" >&5 5423$as_echo_n "checking for main in -lultim... " >&6; } 5424if test "${ac_cv_lib_ultim_main+set}" = set; then : 5425 $as_echo_n "(cached) " >&6 5426else 5427 ac_check_lib_save_LIBS=$LIBS 5428LIBS="-lultim $LIBS" 5429cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5430/* end confdefs.h. */ 5431 5432 5433int 5434main () 5435{ 5436return main (); 5437 ; 5438 return 0; 5439} 5440_ACEOF 5441if ac_fn_c_try_link "$LINENO"; then : 5442 ac_cv_lib_ultim_main=yes 5443else 5444 ac_cv_lib_ultim_main=no 5445fi 5446rm -f core conftest.err conftest.$ac_objext \ 5447 conftest$ac_exeext conftest.$ac_ext 5448LIBS=$ac_check_lib_save_LIBS 5449fi 5450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ultim_main" >&5 5451$as_echo "$ac_cv_lib_ultim_main" >&6; } 5452if test "x$ac_cv_lib_ultim_main" = x""yes; then : 5453 cat >>confdefs.h <<_ACEOF 5454#define HAVE_LIBULTIM 1 5455_ACEOF 5456 5457 LIBS="-lultim $LIBS" 5458 5459else 5460 as_fn_error "ultim not found" "$LINENO" 5 5461fi 5462 5463fi 5464 5465 5466 5467for ac_header in MathLib.h 5468do : 5469 ac_fn_c_check_header_mongrel "$LINENO" "MathLib.h" "ac_cv_header_MathLib_h" "$ac_includes_default" 5470if test "x$ac_cv_header_MathLib_h" = x""yes; then : 5471 cat >>confdefs.h <<_ACEOF 5472#define HAVE_MATHLIB_H 1 5473_ACEOF 5474 5475fi 5476 5477done 5478 5479 5480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lultim" >&5 5481$as_echo_n "checking for main in -lultim... " >&6; } 5482if test "${ac_cv_lib_ultim_main+set}" = set; then : 5483 $as_echo_n "(cached) " >&6 5484else 5485 ac_check_lib_save_LIBS=$LIBS 5486LIBS="-lultim $LIBS" 5487cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5488/* end confdefs.h. */ 5489 5490 5491int 5492main () 5493{ 5494return main (); 5495 ; 5496 return 0; 5497} 5498_ACEOF 5499if ac_fn_c_try_link "$LINENO"; then : 5500 ac_cv_lib_ultim_main=yes 5501else 5502 ac_cv_lib_ultim_main=no 5503fi 5504rm -f core conftest.err conftest.$ac_objext \ 5505 conftest$ac_exeext conftest.$ac_ext 5506LIBS=$ac_check_lib_save_LIBS 5507fi 5508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ultim_main" >&5 5509$as_echo "$ac_cv_lib_ultim_main" >&6; } 5510if test "x$ac_cv_lib_ultim_main" = x""yes; then : 5511 cat >>confdefs.h <<_ACEOF 5512#define HAVE_LIBULTIM 1 5513_ACEOF 5514 5515 LIBS="-lultim $LIBS" 5516 5517fi 5518 5519 5520fi 5521 5522 5523 5524if test "$enable_mcr" = "yes"; then 5525 5526 5527# Check whether --with-mcr_include was given. 5528if test "${with_mcr_include+set}" = set; then : 5529 withval=$with_mcr_include; with_mcr_include=$withval 5530fi 5531 5532 5533# Check whether --with-mcr_lib was given. 5534if test "${with_mcr_lib+set}" = set; then : 5535 withval=$with_mcr_lib; with_mcr_lib=$withval 5536fi 5537 5538 5539# Check whether --with-mcr was given. 5540if test "${with_mcr+set}" = set; then : 5541 withval=$with_mcr; with_mcr_include=$withval/include with_mcr_lib=$withval/lib 5542fi 5543 5544 5545if test -d "$with_mcr_include"; then 5546 CPPFLAGS="$CPPFLAGS -I$with_mcr_include" 5547else 5548 with_mcr_include= 5549fi 5550 5551if ` test "$with_mcr_lib" ` 5552then 5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mcr library" >&5 5554$as_echo_n "checking mcr library... " >&6; } 5555 if test -r "$with_mcr_lib/libmcr.a" -o -r "$with_mcr_lib/libmcr.so" 5556 then 5557 LDFLAGS="$LDFLAGS -L$with_mcr_lib" 5558 LIBS ="$LIBS -lmcr" 5559 else 5560 as_fn_error "mcr not found" "$LINENO" 5 5561 fi 5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5563$as_echo "yes" >&6; } 5564else 5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmcr" >&5 5566$as_echo_n "checking for main in -lmcr... " >&6; } 5567if test "${ac_cv_lib_mcr_main+set}" = set; then : 5568 $as_echo_n "(cached) " >&6 5569else 5570 ac_check_lib_save_LIBS=$LIBS 5571LIBS="-lmcr $LIBS" 5572cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5573/* end confdefs.h. */ 5574 5575 5576int 5577main () 5578{ 5579return main (); 5580 ; 5581 return 0; 5582} 5583_ACEOF 5584if ac_fn_c_try_link "$LINENO"; then : 5585 ac_cv_lib_mcr_main=yes 5586else 5587 ac_cv_lib_mcr_main=no 5588fi 5589rm -f core conftest.err conftest.$ac_objext \ 5590 conftest$ac_exeext conftest.$ac_ext 5591LIBS=$ac_check_lib_save_LIBS 5592fi 5593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mcr_main" >&5 5594$as_echo "$ac_cv_lib_mcr_main" >&6; } 5595if test "x$ac_cv_lib_mcr_main" = x""yes; then : 5596 cat >>confdefs.h <<_ACEOF 5597#define HAVE_LIBMCR 1 5598_ACEOF 5599 5600 LIBS="-lmcr $LIBS" 5601 5602else 5603 as_fn_error "mcr not found" "$LINENO" 5 5604fi 5605 5606fi 5607 5608 5609 5610for ac_header in libmcr.h 5611do : 5612 ac_fn_c_check_header_mongrel "$LINENO" "libmcr.h" "ac_cv_header_libmcr_h" "$ac_includes_default" 5613if test "x$ac_cv_header_libmcr_h" = x""yes; then : 5614 cat >>confdefs.h <<_ACEOF 5615#define HAVE_LIBMCR_H 1 5616_ACEOF 5617 5618fi 5619 5620done 5621 5622 5623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmcr" >&5 5624$as_echo_n "checking for main in -lmcr... " >&6; } 5625if test "${ac_cv_lib_mcr_main+set}" = set; then : 5626 $as_echo_n "(cached) " >&6 5627else 5628 ac_check_lib_save_LIBS=$LIBS 5629LIBS="-lmcr $LIBS" 5630cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5631/* end confdefs.h. */ 5632 5633 5634int 5635main () 5636{ 5637return main (); 5638 ; 5639 return 0; 5640} 5641_ACEOF 5642if ac_fn_c_try_link "$LINENO"; then : 5643 ac_cv_lib_mcr_main=yes 5644else 5645 ac_cv_lib_mcr_main=no 5646fi 5647rm -f core conftest.err conftest.$ac_objext \ 5648 conftest$ac_exeext conftest.$ac_ext 5649LIBS=$ac_check_lib_save_LIBS 5650fi 5651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mcr_main" >&5 5652$as_echo "$ac_cv_lib_mcr_main" >&6; } 5653if test "x$ac_cv_lib_mcr_main" = x""yes; then : 5654 cat >>confdefs.h <<_ACEOF 5655#define HAVE_LIBMCR 1 5656_ACEOF 5657 5658 LIBS="-lmcr $LIBS" 5659 5660fi 5661 5662 5663fi 5664 5665 5666#AC_CONFIG_SUBDIRS([scs_lib]) 5667 5668 5669 5670ac_config_files="$ac_config_files Makefile tests/Makefile scs_lib/Makefile" 5671 5672cat >confcache <<\_ACEOF 5673# This file is a shell script that caches the results of configure 5674# tests run on this system so they can be shared between configure 5675# scripts and configure runs, see configure's option --config-cache. 5676# It is not useful on other systems. If it contains results you don't 5677# want to keep, you may remove or edit it. 5678# 5679# config.status only pays attention to the cache file if you give it 5680# the --recheck option to rerun configure. 5681# 5682# `ac_cv_env_foo' variables (set or unset) will be overridden when 5683# loading this file, other *unset* `ac_cv_foo' will be assigned the 5684# following values. 5685 5686_ACEOF 5687 5688# The following way of writing the cache mishandles newlines in values, 5689# but we know of no workaround that is simple, portable, and efficient. 5690# So, we kill variables containing newlines. 5691# Ultrix sh set writes to stderr and can't be redirected directly, 5692# and sets the high bit in the cache file unless we assign to the vars. 5693( 5694 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 5695 eval ac_val=\$$ac_var 5696 case $ac_val in #( 5697 *${as_nl}*) 5698 case $ac_var in #( 5699 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 5700$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 5701 esac 5702 case $ac_var in #( 5703 _ | IFS | as_nl) ;; #( 5704 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 5705 *) { eval $ac_var=; unset $ac_var;} ;; 5706 esac ;; 5707 esac 5708 done 5709 5710 (set) 2>&1 | 5711 case $as_nl`(ac_space=' '; set) 2>&1` in #( 5712 *${as_nl}ac_space=\ *) 5713 # `set' does not quote correctly, so add quotes: double-quote 5714 # substitution turns \\\\ into \\, and sed turns \\ into \. 5715 sed -n \ 5716 "s/'/'\\\\''/g; 5717 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5718 ;; #( 5719 *) 5720 # `set' quotes correctly as required by POSIX, so do not add quotes. 5721 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 5722 ;; 5723 esac | 5724 sort 5725) | 5726 sed ' 5727 /^ac_cv_env_/b end 5728 t clear 5729 :clear 5730 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5731 t end 5732 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5733 :end' >>confcache 5734if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 5735 if test -w "$cache_file"; then 5736 test "x$cache_file" != "x/dev/null" && 5737 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 5738$as_echo "$as_me: updating cache $cache_file" >&6;} 5739 cat confcache >$cache_file 5740 else 5741 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 5742$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 5743 fi 5744fi 5745rm -f confcache 5746 5747test "x$prefix" = xNONE && prefix=$ac_default_prefix 5748# Let make expand exec_prefix. 5749test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5750 5751DEFS=-DHAVE_CONFIG_H 5752 5753ac_libobjs= 5754ac_ltlibobjs= 5755for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5756 # 1. Remove the extension, and $U if already installed. 5757 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5758 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 5759 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5760 # will be set to the directory where LIBOBJS objects are built. 5761 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5762 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 5763done 5764LIBOBJS=$ac_libobjs 5765 5766LTLIBOBJS=$ac_ltlibobjs 5767 5768 5769 if test -n "$EXEEXT"; then 5770 am__EXEEXT_TRUE= 5771 am__EXEEXT_FALSE='#' 5772else 5773 am__EXEEXT_TRUE='#' 5774 am__EXEEXT_FALSE= 5775fi 5776 5777if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5778 as_fn_error "conditional \"AMDEP\" was never defined. 5779Usually this means the macro was only invoked conditionally." "$LINENO" 5 5780fi 5781if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5782 as_fn_error "conditional \"am__fastdepCC\" was never defined. 5783Usually this means the macro was only invoked conditionally." "$LINENO" 5 5784fi 5785if test -z "${COMPILER_ICC_TRUE}" && test -z "${COMPILER_ICC_FALSE}"; then 5786 as_fn_error "conditional \"COMPILER_ICC\" was never defined. 5787Usually this means the macro was only invoked conditionally." "$LINENO" 5 5788fi 5789if test -z "${HAS_FPU_CONTROL_TRUE}" && test -z "${HAS_FPU_CONTROL_FALSE}"; then 5790 as_fn_error "conditional \"HAS_FPU_CONTROL\" was never defined. 5791Usually this means the macro was only invoked conditionally." "$LINENO" 5 5792fi 5793 5794if test -z "${USE_SSE2_TRUE}" && test -z "${USE_SSE2_FALSE}"; then 5795 as_fn_error "conditional \"USE_SSE2\" was never defined. 5796Usually this means the macro was only invoked conditionally." "$LINENO" 5 5797fi 5798if test -z "${USE_INTERVAL_FUNCTIONS_TRUE}" && test -z "${USE_INTERVAL_FUNCTIONS_FALSE}"; then 5799 as_fn_error "conditional \"USE_INTERVAL_FUNCTIONS\" was never defined. 5800Usually this means the macro was only invoked conditionally." "$LINENO" 5 5801fi 5802if test -z "${USE_HARDWARE_DE_TRUE}" && test -z "${USE_HARDWARE_DE_FALSE}"; then 5803 as_fn_error "conditional \"USE_HARDWARE_DE\" was never defined. 5804Usually this means the macro was only invoked conditionally." "$LINENO" 5 5805fi 5806 5807: ${CONFIG_STATUS=./config.status} 5808ac_write_fail=0 5809ac_clean_files_save=$ac_clean_files 5810ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5811{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 5812$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5813as_write_fail=0 5814cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 5815#! $SHELL 5816# Generated by $as_me. 5817# Run this file to recreate the current configuration. 5818# Compiler output produced by configure, useful for debugging 5819# configure, is in config.log if it exists. 5820 5821debug=false 5822ac_cs_recheck=false 5823ac_cs_silent=false 5824 5825SHELL=\${CONFIG_SHELL-$SHELL} 5826export SHELL 5827_ASEOF 5828cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 5829## -------------------- ## 5830## M4sh Initialization. ## 5831## -------------------- ## 5832 5833# Be more Bourne compatible 5834DUALCASE=1; export DUALCASE # for MKS sh 5835if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 5836 emulate sh 5837 NULLCMD=: 5838 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5839 # is contrary to our usage. Disable this feature. 5840 alias -g '${1+"$@"}'='"$@"' 5841 setopt NO_GLOB_SUBST 5842else 5843 case `(set -o) 2>/dev/null` in #( 5844 *posix*) : 5845 set -o posix ;; #( 5846 *) : 5847 ;; 5848esac 5849fi 5850 5851 5852as_nl=' 5853' 5854export as_nl 5855# Printing a long string crashes Solaris 7 /usr/bin/printf. 5856as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5857as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5858as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5859# Prefer a ksh shell builtin over an external printf program on Solaris, 5860# but without wasting forks for bash or zsh. 5861if test -z "$BASH_VERSION$ZSH_VERSION" \ 5862 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 5863 as_echo='print -r --' 5864 as_echo_n='print -rn --' 5865elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5866 as_echo='printf %s\n' 5867 as_echo_n='printf %s' 5868else 5869 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5870 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5871 as_echo_n='/usr/ucb/echo -n' 5872 else 5873 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5874 as_echo_n_body='eval 5875 arg=$1; 5876 case $arg in #( 5877 *"$as_nl"*) 5878 expr "X$arg" : "X\\(.*\\)$as_nl"; 5879 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5880 esac; 5881 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5882 ' 5883 export as_echo_n_body 5884 as_echo_n='sh -c $as_echo_n_body as_echo' 5885 fi 5886 export as_echo_body 5887 as_echo='sh -c $as_echo_body as_echo' 5888fi 5889 5890# The user is always right. 5891if test "${PATH_SEPARATOR+set}" != set; then 5892 PATH_SEPARATOR=: 5893 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5894 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5895 PATH_SEPARATOR=';' 5896 } 5897fi 5898 5899 5900# IFS 5901# We need space, tab and new line, in precisely that order. Quoting is 5902# there to prevent editors from complaining about space-tab. 5903# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5904# splitting by setting IFS to empty value.) 5905IFS=" "" $as_nl" 5906 5907# Find who we are. Look in the path if we contain no directory separator. 5908case $0 in #(( 5909 *[\\/]* ) as_myself=$0 ;; 5910 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5911for as_dir in $PATH 5912do 5913 IFS=$as_save_IFS 5914 test -z "$as_dir" && as_dir=. 5915 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5916 done 5917IFS=$as_save_IFS 5918 5919 ;; 5920esac 5921# We did not find ourselves, most probably we were run as `sh COMMAND' 5922# in which case we are not to be found in the path. 5923if test "x$as_myself" = x; then 5924 as_myself=$0 5925fi 5926if test ! -f "$as_myself"; then 5927 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5928 exit 1 5929fi 5930 5931# Unset variables that we do not need and which cause bugs (e.g. in 5932# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5933# suppresses any "Segmentation fault" message there. '((' could 5934# trigger a bug in pdksh 5.2.14. 5935for as_var in BASH_ENV ENV MAIL MAILPATH 5936do eval test x\${$as_var+set} = xset \ 5937 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 5938done 5939PS1='$ ' 5940PS2='> ' 5941PS4='+ ' 5942 5943# NLS nuisances. 5944LC_ALL=C 5945export LC_ALL 5946LANGUAGE=C 5947export LANGUAGE 5948 5949# CDPATH. 5950(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5951 5952 5953# as_fn_error ERROR [LINENO LOG_FD] 5954# --------------------------------- 5955# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5956# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5957# script with status $?, using 1 if that was 0. 5958as_fn_error () 5959{ 5960 as_status=$?; test $as_status -eq 0 && as_status=1 5961 if test "$3"; then 5962 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5963 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 5964 fi 5965 $as_echo "$as_me: error: $1" >&2 5966 as_fn_exit $as_status 5967} # as_fn_error 5968 5969 5970# as_fn_set_status STATUS 5971# ----------------------- 5972# Set $? to STATUS, without forking. 5973as_fn_set_status () 5974{ 5975 return $1 5976} # as_fn_set_status 5977 5978# as_fn_exit STATUS 5979# ----------------- 5980# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5981as_fn_exit () 5982{ 5983 set +e 5984 as_fn_set_status $1 5985 exit $1 5986} # as_fn_exit 5987 5988# as_fn_unset VAR 5989# --------------- 5990# Portably unset VAR. 5991as_fn_unset () 5992{ 5993 { eval $1=; unset $1;} 5994} 5995as_unset=as_fn_unset 5996# as_fn_append VAR VALUE 5997# ---------------------- 5998# Append the text in VALUE to the end of the definition contained in VAR. Take 5999# advantage of any shell optimizations that allow amortized linear growth over 6000# repeated appends, instead of the typical quadratic growth present in naive 6001# implementations. 6002if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6003 eval 'as_fn_append () 6004 { 6005 eval $1+=\$2 6006 }' 6007else 6008 as_fn_append () 6009 { 6010 eval $1=\$$1\$2 6011 } 6012fi # as_fn_append 6013 6014# as_fn_arith ARG... 6015# ------------------ 6016# Perform arithmetic evaluation on the ARGs, and store the result in the 6017# global $as_val. Take advantage of shells that can avoid forks. The arguments 6018# must be portable across $(()) and expr. 6019if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6020 eval 'as_fn_arith () 6021 { 6022 as_val=$(( $* )) 6023 }' 6024else 6025 as_fn_arith () 6026 { 6027 as_val=`expr "$@" || test $? -eq 1` 6028 } 6029fi # as_fn_arith 6030 6031 6032if expr a : '\(a\)' >/dev/null 2>&1 && 6033 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6034 as_expr=expr 6035else 6036 as_expr=false 6037fi 6038 6039if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6040 as_basename=basename 6041else 6042 as_basename=false 6043fi 6044 6045if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6046 as_dirname=dirname 6047else 6048 as_dirname=false 6049fi 6050 6051as_me=`$as_basename -- "$0" || 6052$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6053 X"$0" : 'X\(//\)$' \| \ 6054 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6055$as_echo X/"$0" | 6056 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6057 s//\1/ 6058 q 6059 } 6060 /^X\/\(\/\/\)$/{ 6061 s//\1/ 6062 q 6063 } 6064 /^X\/\(\/\).*/{ 6065 s//\1/ 6066 q 6067 } 6068 s/.*/./; q'` 6069 6070# Avoid depending upon Character Ranges. 6071as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6072as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6073as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6074as_cr_digits='0123456789' 6075as_cr_alnum=$as_cr_Letters$as_cr_digits 6076 6077ECHO_C= ECHO_N= ECHO_T= 6078case `echo -n x` in #((((( 6079-n*) 6080 case `echo 'xy\c'` in 6081 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6082 xy) ECHO_C='\c';; 6083 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6084 ECHO_T=' ';; 6085 esac;; 6086*) 6087 ECHO_N='-n';; 6088esac 6089 6090rm -f conf$$ conf$$.exe conf$$.file 6091if test -d conf$$.dir; then 6092 rm -f conf$$.dir/conf$$.file 6093else 6094 rm -f conf$$.dir 6095 mkdir conf$$.dir 2>/dev/null 6096fi 6097if (echo >conf$$.file) 2>/dev/null; then 6098 if ln -s conf$$.file conf$$ 2>/dev/null; then 6099 as_ln_s='ln -s' 6100 # ... but there are two gotchas: 6101 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6102 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6103 # In both cases, we have to default to `cp -p'. 6104 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6105 as_ln_s='cp -p' 6106 elif ln conf$$.file conf$$ 2>/dev/null; then 6107 as_ln_s=ln 6108 else 6109 as_ln_s='cp -p' 6110 fi 6111else 6112 as_ln_s='cp -p' 6113fi 6114rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6115rmdir conf$$.dir 2>/dev/null 6116 6117 6118# as_fn_mkdir_p 6119# ------------- 6120# Create "$as_dir" as a directory, including parents if necessary. 6121as_fn_mkdir_p () 6122{ 6123 6124 case $as_dir in #( 6125 -*) as_dir=./$as_dir;; 6126 esac 6127 test -d "$as_dir" || eval $as_mkdir_p || { 6128 as_dirs= 6129 while :; do 6130 case $as_dir in #( 6131 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6132 *) as_qdir=$as_dir;; 6133 esac 6134 as_dirs="'$as_qdir' $as_dirs" 6135 as_dir=`$as_dirname -- "$as_dir" || 6136$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6137 X"$as_dir" : 'X\(//\)[^/]' \| \ 6138 X"$as_dir" : 'X\(//\)$' \| \ 6139 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6140$as_echo X"$as_dir" | 6141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6142 s//\1/ 6143 q 6144 } 6145 /^X\(\/\/\)[^/].*/{ 6146 s//\1/ 6147 q 6148 } 6149 /^X\(\/\/\)$/{ 6150 s//\1/ 6151 q 6152 } 6153 /^X\(\/\).*/{ 6154 s//\1/ 6155 q 6156 } 6157 s/.*/./; q'` 6158 test -d "$as_dir" && break 6159 done 6160 test -z "$as_dirs" || eval "mkdir $as_dirs" 6161 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 6162 6163 6164} # as_fn_mkdir_p 6165if mkdir -p . 2>/dev/null; then 6166 as_mkdir_p='mkdir -p "$as_dir"' 6167else 6168 test -d ./-p && rmdir ./-p 6169 as_mkdir_p=false 6170fi 6171 6172if test -x / >/dev/null 2>&1; then 6173 as_test_x='test -x' 6174else 6175 if ls -dL / >/dev/null 2>&1; then 6176 as_ls_L_option=L 6177 else 6178 as_ls_L_option= 6179 fi 6180 as_test_x=' 6181 eval sh -c '\'' 6182 if test -d "$1"; then 6183 test -d "$1/."; 6184 else 6185 case $1 in #( 6186 -*)set "./$1";; 6187 esac; 6188 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 6189 ???[sx]*):;;*)false;;esac;fi 6190 '\'' sh 6191 ' 6192fi 6193as_executable_p=$as_test_x 6194 6195# Sed expression to map a string onto a valid CPP name. 6196as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6197 6198# Sed expression to map a string onto a valid variable name. 6199as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6200 6201 6202exec 6>&1 6203## ----------------------------------- ## 6204## Main body of $CONFIG_STATUS script. ## 6205## ----------------------------------- ## 6206_ASEOF 6207test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6208 6209cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6210# Save the log message, to keep $0 and so on meaningful, and to 6211# report actual input values of CONFIG_FILES etc. instead of their 6212# values after options handling. 6213ac_log=" 6214This file was extended by $as_me, which was 6215generated by GNU Autoconf 2.64. Invocation command line was 6216 6217 CONFIG_FILES = $CONFIG_FILES 6218 CONFIG_HEADERS = $CONFIG_HEADERS 6219 CONFIG_LINKS = $CONFIG_LINKS 6220 CONFIG_COMMANDS = $CONFIG_COMMANDS 6221 $ $0 $@ 6222 6223on `(hostname || uname -n) 2>/dev/null | sed 1q` 6224" 6225 6226_ACEOF 6227 6228case $ac_config_files in *" 6229"*) set x $ac_config_files; shift; ac_config_files=$*;; 6230esac 6231 6232case $ac_config_headers in *" 6233"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 6234esac 6235 6236 6237cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6238# Files that config.status was made for. 6239config_files="$ac_config_files" 6240config_headers="$ac_config_headers" 6241config_commands="$ac_config_commands" 6242 6243_ACEOF 6244 6245cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6246ac_cs_usage="\ 6247\`$as_me' instantiates files and other configuration actions 6248from templates according to the current configuration. Unless the files 6249and actions are specified as TAGs, all are instantiated by default. 6250 6251Usage: $0 [OPTION]... [TAG]... 6252 6253 -h, --help print this help, then exit 6254 -V, --version print version number and configuration settings, then exit 6255 -q, --quiet, --silent 6256 do not print progress messages 6257 -d, --debug don't remove temporary files 6258 --recheck update $as_me by reconfiguring in the same conditions 6259 --file=FILE[:TEMPLATE] 6260 instantiate the configuration file FILE 6261 --header=FILE[:TEMPLATE] 6262 instantiate the configuration header FILE 6263 6264Configuration files: 6265$config_files 6266 6267Configuration headers: 6268$config_headers 6269 6270Configuration commands: 6271$config_commands 6272 6273Report bugs to the package provider." 6274 6275_ACEOF 6276cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6277ac_cs_version="\\ 6278config.status 6279configured by $0, generated by GNU Autoconf 2.64, 6280 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 6281 6282Copyright (C) 2009 Free Software Foundation, Inc. 6283This config.status script is free software; the Free Software Foundation 6284gives unlimited permission to copy, distribute and modify it." 6285 6286ac_pwd='$ac_pwd' 6287srcdir='$srcdir' 6288INSTALL='$INSTALL' 6289MKDIR_P='$MKDIR_P' 6290AWK='$AWK' 6291test -n "\$AWK" || AWK=awk 6292_ACEOF 6293 6294cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6295# The default lists apply if the user does not specify any file. 6296ac_need_defaults=: 6297while test $# != 0 6298do 6299 case $1 in 6300 --*=*) 6301 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6302 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6303 ac_shift=: 6304 ;; 6305 *) 6306 ac_option=$1 6307 ac_optarg=$2 6308 ac_shift=shift 6309 ;; 6310 esac 6311 6312 case $ac_option in 6313 # Handling of the options. 6314 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6315 ac_cs_recheck=: ;; 6316 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6317 $as_echo "$ac_cs_version"; exit ;; 6318 --debug | --debu | --deb | --de | --d | -d ) 6319 debug=: ;; 6320 --file | --fil | --fi | --f ) 6321 $ac_shift 6322 case $ac_optarg in 6323 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6324 esac 6325 as_fn_append CONFIG_FILES " '$ac_optarg'" 6326 ac_need_defaults=false;; 6327 --header | --heade | --head | --hea ) 6328 $ac_shift 6329 case $ac_optarg in 6330 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6331 esac 6332 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 6333 ac_need_defaults=false;; 6334 --he | --h) 6335 # Conflict between --help and --header 6336 as_fn_error "ambiguous option: \`$1' 6337Try \`$0 --help' for more information.";; 6338 --help | --hel | -h ) 6339 $as_echo "$ac_cs_usage"; exit ;; 6340 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6341 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6342 ac_cs_silent=: ;; 6343 6344 # This is an error. 6345 -*) as_fn_error "unrecognized option: \`$1' 6346Try \`$0 --help' for more information." ;; 6347 6348 *) as_fn_append ac_config_targets " $1" 6349 ac_need_defaults=false ;; 6350 6351 esac 6352 shift 6353done 6354 6355ac_configure_extra_args= 6356 6357if $ac_cs_silent; then 6358 exec 6>/dev/null 6359 ac_configure_extra_args="$ac_configure_extra_args --silent" 6360fi 6361 6362_ACEOF 6363cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6364if \$ac_cs_recheck; then 6365 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6366 shift 6367 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 6368 CONFIG_SHELL='$SHELL' 6369 export CONFIG_SHELL 6370 exec "\$@" 6371fi 6372 6373_ACEOF 6374cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6375exec 5>>config.log 6376{ 6377 echo 6378 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6379## Running $as_me. ## 6380_ASBOX 6381 $as_echo "$ac_log" 6382} >&5 6383 6384_ACEOF 6385cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6386# 6387# INIT-COMMANDS 6388# 6389AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 6390 6391_ACEOF 6392 6393cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6394 6395# Handling of arguments. 6396for ac_config_target in $ac_config_targets 6397do 6398 case $ac_config_target in 6399 "crlibm_config.h") CONFIG_HEADERS="$CONFIG_HEADERS crlibm_config.h" ;; 6400 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 6401 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6402 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 6403 "scs_lib/Makefile") CONFIG_FILES="$CONFIG_FILES scs_lib/Makefile" ;; 6404 6405 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 6406 esac 6407done 6408 6409 6410# If the user did not use the arguments to specify the items to instantiate, 6411# then the envvar interface is used. Set only those that are not. 6412# We use the long form for the default assignment because of an extremely 6413# bizarre bug on SunOS 4.1.3. 6414if $ac_need_defaults; then 6415 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 6416 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 6417 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 6418fi 6419 6420# Have a temporary directory for convenience. Make it in the build tree 6421# simply because there is no reason against having it here, and in addition, 6422# creating and moving files from /tmp can sometimes cause problems. 6423# Hook for its removal unless debugging. 6424# Note that there is a small window in which the directory will not be cleaned: 6425# after its creation but before its name has been assigned to `$tmp'. 6426$debug || 6427{ 6428 tmp= 6429 trap 'exit_status=$? 6430 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 6431' 0 6432 trap 'as_fn_exit 1' 1 2 13 15 6433} 6434# Create a (secure) tmp directory for tmp files. 6435 6436{ 6437 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 6438 test -n "$tmp" && test -d "$tmp" 6439} || 6440{ 6441 tmp=./conf$$-$RANDOM 6442 (umask 077 && mkdir "$tmp") 6443} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 6444 6445# Set up the scripts for CONFIG_FILES section. 6446# No need to generate them if there are no CONFIG_FILES. 6447# This happens for instance with `./config.status config.h'. 6448if test -n "$CONFIG_FILES"; then 6449 6450 6451ac_cr=`echo X | tr X '\015'` 6452# On cygwin, bash can eat \r inside `` if the user requested igncr. 6453# But we know of no other shell where ac_cr would be empty at this 6454# point, so we can use a bashism as a fallback. 6455if test "x$ac_cr" = x; then 6456 eval ac_cr=\$\'\\r\' 6457fi 6458ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 6459if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 6460 ac_cs_awk_cr='\r' 6461else 6462 ac_cs_awk_cr=$ac_cr 6463fi 6464 6465echo 'BEGIN {' >"$tmp/subs1.awk" && 6466_ACEOF 6467 6468 6469{ 6470 echo "cat >conf$$subs.awk <<_ACEOF" && 6471 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 6472 echo "_ACEOF" 6473} >conf$$subs.sh || 6474 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6475ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 6476ac_delim='%!_!# ' 6477for ac_last_try in false false false false false :; do 6478 . ./conf$$subs.sh || 6479 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6480 6481 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 6482 if test $ac_delim_n = $ac_delim_num; then 6483 break 6484 elif $ac_last_try; then 6485 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 6486 else 6487 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6488 fi 6489done 6490rm -f conf$$subs.sh 6491 6492cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6493cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 6494_ACEOF 6495sed -n ' 6496h 6497s/^/S["/; s/!.*/"]=/ 6498p 6499g 6500s/^[^!]*!// 6501:repl 6502t repl 6503s/'"$ac_delim"'$// 6504t delim 6505:nl 6506h 6507s/\(.\{148\}\).*/\1/ 6508t more1 6509s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 6510p 6511n 6512b repl 6513:more1 6514s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6515p 6516g 6517s/.\{148\}// 6518t nl 6519:delim 6520h 6521s/\(.\{148\}\).*/\1/ 6522t more2 6523s/["\\]/\\&/g; s/^/"/; s/$/"/ 6524p 6525b 6526:more2 6527s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 6528p 6529g 6530s/.\{148\}// 6531t delim 6532' <conf$$subs.awk | sed ' 6533/^[^""]/{ 6534 N 6535 s/\n// 6536} 6537' >>$CONFIG_STATUS || ac_write_fail=1 6538rm -f conf$$subs.awk 6539cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6540_ACAWK 6541cat >>"\$tmp/subs1.awk" <<_ACAWK && 6542 for (key in S) S_is_set[key] = 1 6543 FS = "" 6544 6545} 6546{ 6547 line = $ 0 6548 nfields = split(line, field, "@") 6549 substed = 0 6550 len = length(field[1]) 6551 for (i = 2; i < nfields; i++) { 6552 key = field[i] 6553 keylen = length(key) 6554 if (S_is_set[key]) { 6555 value = S[key] 6556 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 6557 len += length(value) + length(field[++i]) 6558 substed = 1 6559 } else 6560 len += 1 + keylen 6561 } 6562 6563 print line 6564} 6565 6566_ACAWK 6567_ACEOF 6568cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6569if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 6570 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 6571else 6572 cat 6573fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 6574 || as_fn_error "could not setup config files machinery" "$LINENO" 5 6575_ACEOF 6576 6577# VPATH may cause trouble with some makes, so we remove $(srcdir), 6578# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6579# trailing colons and then remove the whole line if VPATH becomes empty 6580# (actually we leave an empty line to preserve line numbers). 6581if test "x$srcdir" = x.; then 6582 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6583s/:*\$(srcdir):*/:/ 6584s/:*\${srcdir}:*/:/ 6585s/:*@srcdir@:*/:/ 6586s/^\([^=]*=[ ]*\):*/\1/ 6587s/:*$// 6588s/^[^=]*=[ ]*$// 6589}' 6590fi 6591 6592cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6593fi # test -n "$CONFIG_FILES" 6594 6595# Set up the scripts for CONFIG_HEADERS section. 6596# No need to generate them if there are no CONFIG_HEADERS. 6597# This happens for instance with `./config.status Makefile'. 6598if test -n "$CONFIG_HEADERS"; then 6599cat >"$tmp/defines.awk" <<\_ACAWK || 6600BEGIN { 6601_ACEOF 6602 6603# Transform confdefs.h into an awk script `defines.awk', embedded as 6604# here-document in config.status, that substitutes the proper values into 6605# config.h.in to produce config.h. 6606 6607# Create a delimiter string that does not exist in confdefs.h, to ease 6608# handling of long lines. 6609ac_delim='%!_!# ' 6610for ac_last_try in false false :; do 6611 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 6612 if test -z "$ac_t"; then 6613 break 6614 elif $ac_last_try; then 6615 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 6616 else 6617 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 6618 fi 6619done 6620 6621# For the awk script, D is an array of macro values keyed by name, 6622# likewise P contains macro parameters if any. Preserve backslash 6623# newline sequences. 6624 6625ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 6626sed -n ' 6627s/.\{148\}/&'"$ac_delim"'/g 6628t rset 6629:rset 6630s/^[ ]*#[ ]*define[ ][ ]*/ / 6631t def 6632d 6633:def 6634s/\\$// 6635t bsnl 6636s/["\\]/\\&/g 6637s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6638D["\1"]=" \3"/p 6639s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 6640d 6641:bsnl 6642s/["\\]/\\&/g 6643s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 6644D["\1"]=" \3\\\\\\n"\\/p 6645t cont 6646s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 6647t cont 6648d 6649:cont 6650n 6651s/.\{148\}/&'"$ac_delim"'/g 6652t clear 6653:clear 6654s/\\$// 6655t bsnlc 6656s/["\\]/\\&/g; s/^/"/; s/$/"/p 6657d 6658:bsnlc 6659s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 6660b cont 6661' <confdefs.h | sed ' 6662s/'"$ac_delim"'/"\\\ 6663"/g' >>$CONFIG_STATUS || ac_write_fail=1 6664 6665cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6666 for (key in D) D_is_set[key] = 1 6667 FS = "" 6668} 6669/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 6670 line = \$ 0 6671 split(line, arg, " ") 6672 if (arg[1] == "#") { 6673 defundef = arg[2] 6674 mac1 = arg[3] 6675 } else { 6676 defundef = substr(arg[1], 2) 6677 mac1 = arg[2] 6678 } 6679 split(mac1, mac2, "(") #) 6680 macro = mac2[1] 6681 prefix = substr(line, 1, index(line, defundef) - 1) 6682 if (D_is_set[macro]) { 6683 # Preserve the white space surrounding the "#". 6684 print prefix "define", macro P[macro] D[macro] 6685 next 6686 } else { 6687 # Replace #undef with comments. This is necessary, for example, 6688 # in the case of _POSIX_SOURCE, which is predefined and required 6689 # on some systems where configure will not decide to define it. 6690 if (defundef == "undef") { 6691 print "/*", prefix defundef, macro, "*/" 6692 next 6693 } 6694 } 6695} 6696{ print } 6697_ACAWK 6698_ACEOF 6699cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6700 as_fn_error "could not setup config headers machinery" "$LINENO" 5 6701fi # test -n "$CONFIG_HEADERS" 6702 6703 6704eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 6705shift 6706for ac_tag 6707do 6708 case $ac_tag in 6709 :[FHLC]) ac_mode=$ac_tag; continue;; 6710 esac 6711 case $ac_mode$ac_tag in 6712 :[FHL]*:*);; 6713 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 6714 :[FH]-) ac_tag=-:-;; 6715 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 6716 esac 6717 ac_save_IFS=$IFS 6718 IFS=: 6719 set x $ac_tag 6720 IFS=$ac_save_IFS 6721 shift 6722 ac_file=$1 6723 shift 6724 6725 case $ac_mode in 6726 :L) ac_source=$1;; 6727 :[FH]) 6728 ac_file_inputs= 6729 for ac_f 6730 do 6731 case $ac_f in 6732 -) ac_f="$tmp/stdin";; 6733 *) # Look for the file first in the build tree, then in the source tree 6734 # (if the path is not absolute). The absolute path cannot be DOS-style, 6735 # because $ac_f cannot contain `:'. 6736 test -f "$ac_f" || 6737 case $ac_f in 6738 [\\/$]*) false;; 6739 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 6740 esac || 6741 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 6742 esac 6743 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 6744 as_fn_append ac_file_inputs " '$ac_f'" 6745 done 6746 6747 # Let's still pretend it is `configure' which instantiates (i.e., don't 6748 # use $as_me), people would be surprised to read: 6749 # /* config.h. Generated by config.status. */ 6750 configure_input='Generated from '` 6751 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 6752 `' by configure.' 6753 if test x"$ac_file" != x-; then 6754 configure_input="$ac_file. $configure_input" 6755 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 6756$as_echo "$as_me: creating $ac_file" >&6;} 6757 fi 6758 # Neutralize special characters interpreted by sed in replacement strings. 6759 case $configure_input in #( 6760 *\&* | *\|* | *\\* ) 6761 ac_sed_conf_input=`$as_echo "$configure_input" | 6762 sed 's/[\\\\&|]/\\\\&/g'`;; #( 6763 *) ac_sed_conf_input=$configure_input;; 6764 esac 6765 6766 case $ac_tag in 6767 *:-:* | *:-) cat >"$tmp/stdin" \ 6768 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 6769 esac 6770 ;; 6771 esac 6772 6773 ac_dir=`$as_dirname -- "$ac_file" || 6774$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6775 X"$ac_file" : 'X\(//\)[^/]' \| \ 6776 X"$ac_file" : 'X\(//\)$' \| \ 6777 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 6778$as_echo X"$ac_file" | 6779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6780 s//\1/ 6781 q 6782 } 6783 /^X\(\/\/\)[^/].*/{ 6784 s//\1/ 6785 q 6786 } 6787 /^X\(\/\/\)$/{ 6788 s//\1/ 6789 q 6790 } 6791 /^X\(\/\).*/{ 6792 s//\1/ 6793 q 6794 } 6795 s/.*/./; q'` 6796 as_dir="$ac_dir"; as_fn_mkdir_p 6797 ac_builddir=. 6798 6799case "$ac_dir" in 6800.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 6801*) 6802 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 6803 # A ".." for each directory in $ac_dir_suffix. 6804 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 6805 case $ac_top_builddir_sub in 6806 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 6807 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 6808 esac ;; 6809esac 6810ac_abs_top_builddir=$ac_pwd 6811ac_abs_builddir=$ac_pwd$ac_dir_suffix 6812# for backward compatibility: 6813ac_top_builddir=$ac_top_build_prefix 6814 6815case $srcdir in 6816 .) # We are building in place. 6817 ac_srcdir=. 6818 ac_top_srcdir=$ac_top_builddir_sub 6819 ac_abs_top_srcdir=$ac_pwd ;; 6820 [\\/]* | ?:[\\/]* ) # Absolute name. 6821 ac_srcdir=$srcdir$ac_dir_suffix; 6822 ac_top_srcdir=$srcdir 6823 ac_abs_top_srcdir=$srcdir ;; 6824 *) # Relative name. 6825 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 6826 ac_top_srcdir=$ac_top_build_prefix$srcdir 6827 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 6828esac 6829ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 6830 6831 6832 case $ac_mode in 6833 :F) 6834 # 6835 # CONFIG_FILE 6836 # 6837 6838 case $INSTALL in 6839 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 6840 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 6841 esac 6842 ac_MKDIR_P=$MKDIR_P 6843 case $MKDIR_P in 6844 [\\/$]* | ?:[\\/]* ) ;; 6845 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 6846 esac 6847_ACEOF 6848 6849cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6850# If the template does not know about datarootdir, expand it. 6851# FIXME: This hack should be removed a few years after 2.60. 6852ac_datarootdir_hack=; ac_datarootdir_seen= 6853ac_sed_dataroot=' 6854/datarootdir/ { 6855 p 6856 q 6857} 6858/@datadir@/p 6859/@docdir@/p 6860/@infodir@/p 6861/@localedir@/p 6862/@mandir@/p' 6863case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 6864*datarootdir*) ac_datarootdir_seen=yes;; 6865*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 6866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 6867$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 6868_ACEOF 6869cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6870 ac_datarootdir_hack=' 6871 s&@datadir@&$datadir&g 6872 s&@docdir@&$docdir&g 6873 s&@infodir@&$infodir&g 6874 s&@localedir@&$localedir&g 6875 s&@mandir@&$mandir&g 6876 s&\\\${datarootdir}&$datarootdir&g' ;; 6877esac 6878_ACEOF 6879 6880# Neutralize VPATH when `$srcdir' = `.'. 6881# Shell code in configure.ac might set extrasub. 6882# FIXME: do we really want to maintain this feature? 6883cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6884ac_sed_extra="$ac_vpsub 6885$extrasub 6886_ACEOF 6887cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6888:t 6889/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6890s|@configure_input@|$ac_sed_conf_input|;t t 6891s&@top_builddir@&$ac_top_builddir_sub&;t t 6892s&@top_build_prefix@&$ac_top_build_prefix&;t t 6893s&@srcdir@&$ac_srcdir&;t t 6894s&@abs_srcdir@&$ac_abs_srcdir&;t t 6895s&@top_srcdir@&$ac_top_srcdir&;t t 6896s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6897s&@builddir@&$ac_builddir&;t t 6898s&@abs_builddir@&$ac_abs_builddir&;t t 6899s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6900s&@INSTALL@&$ac_INSTALL&;t t 6901s&@MKDIR_P@&$ac_MKDIR_P&;t t 6902$ac_datarootdir_hack 6903" 6904eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 6905 || as_fn_error "could not create $ac_file" "$LINENO" 5 6906 6907test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6908 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 6909 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 6910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6911which seems to be undefined. Please make sure it is defined." >&5 6912$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6913which seems to be undefined. Please make sure it is defined." >&2;} 6914 6915 rm -f "$tmp/stdin" 6916 case $ac_file in 6917 -) cat "$tmp/out" && rm -f "$tmp/out";; 6918 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 6919 esac \ 6920 || as_fn_error "could not create $ac_file" "$LINENO" 5 6921 ;; 6922 :H) 6923 # 6924 # CONFIG_HEADER 6925 # 6926 if test x"$ac_file" != x-; then 6927 { 6928 $as_echo "/* $configure_input */" \ 6929 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 6930 } >"$tmp/config.h" \ 6931 || as_fn_error "could not create $ac_file" "$LINENO" 5 6932 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 6933 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 6934$as_echo "$as_me: $ac_file is unchanged" >&6;} 6935 else 6936 rm -f "$ac_file" 6937 mv "$tmp/config.h" "$ac_file" \ 6938 || as_fn_error "could not create $ac_file" "$LINENO" 5 6939 fi 6940 else 6941 $as_echo "/* $configure_input */" \ 6942 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 6943 || as_fn_error "could not create -" "$LINENO" 5 6944 fi 6945# Compute "$ac_file"'s index in $config_headers. 6946_am_arg="$ac_file" 6947_am_stamp_count=1 6948for _am_header in $config_headers :; do 6949 case $_am_header in 6950 $_am_arg | $_am_arg:* ) 6951 break ;; 6952 * ) 6953 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6954 esac 6955done 6956echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 6957$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6958 X"$_am_arg" : 'X\(//\)[^/]' \| \ 6959 X"$_am_arg" : 'X\(//\)$' \| \ 6960 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 6961$as_echo X"$_am_arg" | 6962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6963 s//\1/ 6964 q 6965 } 6966 /^X\(\/\/\)[^/].*/{ 6967 s//\1/ 6968 q 6969 } 6970 /^X\(\/\/\)$/{ 6971 s//\1/ 6972 q 6973 } 6974 /^X\(\/\).*/{ 6975 s//\1/ 6976 q 6977 } 6978 s/.*/./; q'`/stamp-h$_am_stamp_count 6979 ;; 6980 6981 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 6982$as_echo "$as_me: executing $ac_file commands" >&6;} 6983 ;; 6984 esac 6985 6986 6987 case $ac_file$ac_mode in 6988 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6989 # Autoconf 2.62 quotes --file arguments for eval, but not when files 6990 # are listed without --file. Let's play safe and only enable the eval 6991 # if we detect the quoting. 6992 case $CONFIG_FILES in 6993 *\'*) eval set x "$CONFIG_FILES" ;; 6994 *) set x $CONFIG_FILES ;; 6995 esac 6996 shift 6997 for mf 6998 do 6999 # Strip MF so we end up with the name of the file. 7000 mf=`echo "$mf" | sed -e 's/:.*$//'` 7001 # Check whether this is an Automake generated Makefile or not. 7002 # We used to match only the files named `Makefile.in', but 7003 # some people rename them; so instead we look at the file content. 7004 # Grep'ing the first line is not enough: some people post-process 7005 # each Makefile.in and add a new line on top of each file to say so. 7006 # Grep'ing the whole file is not good either: AIX grep has a line 7007 # limit of 2048, but all sed's we know have understand at least 4000. 7008 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 7009 dirpart=`$as_dirname -- "$mf" || 7010$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7011 X"$mf" : 'X\(//\)[^/]' \| \ 7012 X"$mf" : 'X\(//\)$' \| \ 7013 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 7014$as_echo X"$mf" | 7015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7016 s//\1/ 7017 q 7018 } 7019 /^X\(\/\/\)[^/].*/{ 7020 s//\1/ 7021 q 7022 } 7023 /^X\(\/\/\)$/{ 7024 s//\1/ 7025 q 7026 } 7027 /^X\(\/\).*/{ 7028 s//\1/ 7029 q 7030 } 7031 s/.*/./; q'` 7032 else 7033 continue 7034 fi 7035 # Extract the definition of DEPDIR, am__include, and am__quote 7036 # from the Makefile without running `make'. 7037 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7038 test -z "$DEPDIR" && continue 7039 am__include=`sed -n 's/^am__include = //p' < "$mf"` 7040 test -z "am__include" && continue 7041 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 7042 # When using ansi2knr, U may be empty or an underscore; expand it 7043 U=`sed -n 's/^U = //p' < "$mf"` 7044 # Find all dependency output files, they are included files with 7045 # $(DEPDIR) in their names. We invoke sed twice because it is the 7046 # simplest approach to changing $(DEPDIR) to its actual value in the 7047 # expansion. 7048 for file in `sed -n " 7049 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 7050 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 7051 # Make sure the directory exists. 7052 test -f "$dirpart/$file" && continue 7053 fdir=`$as_dirname -- "$file" || 7054$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7055 X"$file" : 'X\(//\)[^/]' \| \ 7056 X"$file" : 'X\(//\)$' \| \ 7057 X"$file" : 'X\(/\)' \| . 2>/dev/null || 7058$as_echo X"$file" | 7059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7060 s//\1/ 7061 q 7062 } 7063 /^X\(\/\/\)[^/].*/{ 7064 s//\1/ 7065 q 7066 } 7067 /^X\(\/\/\)$/{ 7068 s//\1/ 7069 q 7070 } 7071 /^X\(\/\).*/{ 7072 s//\1/ 7073 q 7074 } 7075 s/.*/./; q'` 7076 as_dir=$dirpart/$fdir; as_fn_mkdir_p 7077 # echo "creating $dirpart/$file" 7078 echo '# dummy' > "$dirpart/$file" 7079 done 7080 done 7081} 7082 ;; 7083 7084 esac 7085done # for ac_tag 7086 7087 7088as_fn_exit 0 7089_ACEOF 7090ac_clean_files=$ac_clean_files_save 7091 7092test $ac_write_fail = 0 || 7093 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 7094 7095 7096# configure is writing to config.log, and then calls config.status. 7097# config.status does its own redirection, appending to config.log. 7098# Unfortunately, on DOS this fails, as config.log is still kept open 7099# by configure, so config.status won't be able to write to it; its 7100# output is simply discarded. So we exec the FD to /dev/null, 7101# effectively closing config.log, so it can be properly (re)opened and 7102# appended to by config.status. When coming back to configure, we 7103# need to make the FD available again. 7104if test "$no_create" != yes; then 7105 ac_cs_success=: 7106 ac_config_status_args= 7107 test "$silent" = yes && 7108 ac_config_status_args="$ac_config_status_args --quiet" 7109 exec 5>/dev/null 7110 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7111 exec 5>>config.log 7112 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7113 # would make configure fail if this is the last instruction. 7114 $ac_cs_success || as_fn_exit $? 7115fi 7116if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7118$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7119fi 7120 7121 7122 7123