1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 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. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199test \$(( 1 + 1 )) = 2 || exit 1" 200 if (eval "$as_required") 2>/dev/null; then : 201 as_have_required=yes 202else 203 as_have_required=no 204fi 205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 206 207else 208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 209as_found=false 210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 211do 212 IFS=$as_save_IFS 213 test -z "$as_dir" && as_dir=. 214 as_found=: 215 case $as_dir in #( 216 /*) 217 for as_base in sh bash ksh sh5; do 218 # Try only shells that exist, to save several forks. 219 as_shell=$as_dir/$as_base 220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 222 CONFIG_SHELL=$as_shell as_have_required=yes 223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 break 2 225fi 226fi 227 done;; 228 esac 229 as_found=false 230done 231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 233 CONFIG_SHELL=$SHELL as_have_required=yes 234fi; } 235IFS=$as_save_IFS 236 237 238 if test "x$CONFIG_SHELL" != x; then : 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241# neutralization value for shells without unset; and this also 242# works around shells that cannot unset nonexistent variables. 243# Preserve -v and -x to the replacement shell. 244BASH_ENV=/dev/null 245ENV=/dev/null 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252esac 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254# Admittedly, this is quite paranoid, since all the known shells bail 255# out after a failed `exec'. 256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257exit 255 258fi 259 260 if test x$as_have_required = xno; then : 261 $as_echo "$0: This script requires a shell more modern than all" 262 $as_echo "$0: the shells that I found on your system." 263 if test x${ZSH_VERSION+set} = xset ; then 264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 266 else 267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 268$0: including any error possibly output before this 269$0: message. Then install a modern shell, or manually run 270$0: the script under such a shell if you do have one." 271 fi 272 exit 1 273fi 274fi 275fi 276SHELL=${CONFIG_SHELL-/bin/sh} 277export SHELL 278# Unset more variables known to interfere with behavior of common tools. 279CLICOLOR_FORCE= GREP_OPTIONS= 280unset CLICOLOR_FORCE GREP_OPTIONS 281 282## --------------------- ## 283## M4sh Shell Functions. ## 284## --------------------- ## 285# as_fn_unset VAR 286# --------------- 287# Portably unset VAR. 288as_fn_unset () 289{ 290 { eval $1=; unset $1;} 291} 292as_unset=as_fn_unset 293 294# as_fn_set_status STATUS 295# ----------------------- 296# Set $? to STATUS, without forking. 297as_fn_set_status () 298{ 299 return $1 300} # as_fn_set_status 301 302# as_fn_exit STATUS 303# ----------------- 304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 305as_fn_exit () 306{ 307 set +e 308 as_fn_set_status $1 309 exit $1 310} # as_fn_exit 311 312# as_fn_mkdir_p 313# ------------- 314# Create "$as_dir" as a directory, including parents if necessary. 315as_fn_mkdir_p () 316{ 317 318 case $as_dir in #( 319 -*) as_dir=./$as_dir;; 320 esac 321 test -d "$as_dir" || eval $as_mkdir_p || { 322 as_dirs= 323 while :; do 324 case $as_dir in #( 325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 326 *) as_qdir=$as_dir;; 327 esac 328 as_dirs="'$as_qdir' $as_dirs" 329 as_dir=`$as_dirname -- "$as_dir" || 330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 331 X"$as_dir" : 'X\(//\)[^/]' \| \ 332 X"$as_dir" : 'X\(//\)$' \| \ 333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 334$as_echo X"$as_dir" | 335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 336 s//\1/ 337 q 338 } 339 /^X\(\/\/\)[^/].*/{ 340 s//\1/ 341 q 342 } 343 /^X\(\/\/\)$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\).*/{ 348 s//\1/ 349 q 350 } 351 s/.*/./; q'` 352 test -d "$as_dir" && break 353 done 354 test -z "$as_dirs" || eval "mkdir $as_dirs" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 356 357 358} # as_fn_mkdir_p 359 360# as_fn_executable_p FILE 361# ----------------------- 362# Test if FILE is an executable regular file. 363as_fn_executable_p () 364{ 365 test -f "$1" && test -x "$1" 366} # as_fn_executable_p 367# as_fn_append VAR VALUE 368# ---------------------- 369# Append the text in VALUE to the end of the definition contained in VAR. Take 370# advantage of any shell optimizations that allow amortized linear growth over 371# repeated appends, instead of the typical quadratic growth present in naive 372# implementations. 373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 374 eval 'as_fn_append () 375 { 376 eval $1+=\$2 377 }' 378else 379 as_fn_append () 380 { 381 eval $1=\$$1\$2 382 } 383fi # as_fn_append 384 385# as_fn_arith ARG... 386# ------------------ 387# Perform arithmetic evaluation on the ARGs, and store the result in the 388# global $as_val. Take advantage of shells that can avoid forks. The arguments 389# must be portable across $(()) and expr. 390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 391 eval 'as_fn_arith () 392 { 393 as_val=$(( $* )) 394 }' 395else 396 as_fn_arith () 397 { 398 as_val=`expr "$@" || test $? -eq 1` 399 } 400fi # as_fn_arith 401 402 403# as_fn_error STATUS ERROR [LINENO LOG_FD] 404# ---------------------------------------- 405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 407# script with STATUS, using 1 if that was 0. 408as_fn_error () 409{ 410 as_status=$1; test $as_status -eq 0 && as_status=1 411 if test "$4"; then 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 414 fi 415 $as_echo "$as_me: error: $2" >&2 416 as_fn_exit $as_status 417} # as_fn_error 418 419if expr a : '\(a\)' >/dev/null 2>&1 && 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then 421 as_expr=expr 422else 423 as_expr=false 424fi 425 426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 427 as_basename=basename 428else 429 as_basename=false 430fi 431 432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 433 as_dirname=dirname 434else 435 as_dirname=false 436fi 437 438as_me=`$as_basename -- "$0" || 439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 440 X"$0" : 'X\(//\)$' \| \ 441 X"$0" : 'X\(/\)' \| . 2>/dev/null || 442$as_echo X/"$0" | 443 sed '/^.*\/\([^/][^/]*\)\/*$/{ 444 s//\1/ 445 q 446 } 447 /^X\/\(\/\/\)$/{ 448 s//\1/ 449 q 450 } 451 /^X\/\(\/\).*/{ 452 s//\1/ 453 q 454 } 455 s/.*/./; q'` 456 457# Avoid depending upon Character Ranges. 458as_cr_letters='abcdefghijklmnopqrstuvwxyz' 459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 460as_cr_Letters=$as_cr_letters$as_cr_LETTERS 461as_cr_digits='0123456789' 462as_cr_alnum=$as_cr_Letters$as_cr_digits 463 464 465 as_lineno_1=$LINENO as_lineno_1a=$LINENO 466 as_lineno_2=$LINENO as_lineno_2a=$LINENO 467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 470 sed -n ' 471 p 472 /[$]LINENO/= 473 ' <$as_myself | 474 sed ' 475 s/[$]LINENO.*/&-/ 476 t lineno 477 b 478 :lineno 479 N 480 :loop 481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 482 t loop 483 s/-\n.*// 484 ' >$as_me.lineno && 485 chmod +x "$as_me.lineno" || 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 487 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 # already done that, so ensure we don't try to do so again and fall 490 # in an infinite loop. This has already happened in practice. 491 _as_can_reexec=no; export _as_can_reexec 492 # Don't try to exec as it changes $[0], causing all sort of problems 493 # (the dirname of $[0] is not the place where we might find the 494 # original and so on. Autoconf is especially sensitive to this). 495 . "./$as_me.lineno" 496 # Exit status is that of the last command. 497 exit 498} 499 500ECHO_C= ECHO_N= ECHO_T= 501case `echo -n x` in #((((( 502-n*) 503 case `echo 'xy\c'` in 504 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 505 xy) ECHO_C='\c';; 506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 507 ECHO_T=' ';; 508 esac;; 509*) 510 ECHO_N='-n';; 511esac 512 513rm -f conf$$ conf$$.exe conf$$.file 514if test -d conf$$.dir; then 515 rm -f conf$$.dir/conf$$.file 516else 517 rm -f conf$$.dir 518 mkdir conf$$.dir 2>/dev/null 519fi 520if (echo >conf$$.file) 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then 522 as_ln_s='ln -s' 523 # ... but there are two gotchas: 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 526 # In both cases, we have to default to `cp -pR'. 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 528 as_ln_s='cp -pR' 529 elif ln conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s=ln 531 else 532 as_ln_s='cp -pR' 533 fi 534else 535 as_ln_s='cp -pR' 536fi 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 538rmdir conf$$.dir 2>/dev/null 539 540if mkdir -p . 2>/dev/null; then 541 as_mkdir_p='mkdir -p "$as_dir"' 542else 543 test -d ./-p && rmdir ./-p 544 as_mkdir_p=false 545fi 546 547as_test_x='test -x' 548as_executable_p=as_fn_executable_p 549 550# Sed expression to map a string onto a valid CPP name. 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 552 553# Sed expression to map a string onto a valid variable name. 554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 555 556 557test -n "$DJDIR" || exec 7<&0 </dev/null 558exec 6>&1 559 560# Name of the host. 561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 562# so uname gets run too. 563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 564 565# 566# Initializations. 567# 568ac_default_prefix=/usr/local 569ac_clean_files= 570ac_config_libobj_dir=. 571LIBOBJS= 572cross_compiling=no 573subdirs= 574MFLAGS= 575MAKEFLAGS= 576 577# Identity of this package. 578PACKAGE_NAME= 579PACKAGE_TARNAME= 580PACKAGE_VERSION= 581PACKAGE_STRING= 582PACKAGE_BUGREPORT= 583PACKAGE_URL= 584 585ac_unique_file="main.c" 586# Factoring default headers for most tests. 587ac_includes_default="\ 588#include <stdio.h> 589#ifdef HAVE_SYS_TYPES_H 590# include <sys/types.h> 591#endif 592#ifdef HAVE_SYS_STAT_H 593# include <sys/stat.h> 594#endif 595#ifdef STDC_HEADERS 596# include <stdlib.h> 597# include <stddef.h> 598#else 599# ifdef HAVE_STDLIB_H 600# include <stdlib.h> 601# endif 602#endif 603#ifdef HAVE_STRING_H 604# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 605# include <memory.h> 606# endif 607# include <string.h> 608#endif 609#ifdef HAVE_STRINGS_H 610# include <strings.h> 611#endif 612#ifdef HAVE_INTTYPES_H 613# include <inttypes.h> 614#endif 615#ifdef HAVE_STDINT_H 616# include <stdint.h> 617#endif 618#ifdef HAVE_UNISTD_H 619# include <unistd.h> 620#endif" 621 622ac_subst_vars='LTLIBOBJS 623LIBOBJS 624PAPERFORMAT 625MT_FILES 626HARDWARECFLAGS 627HAVE_ZNZ 628NOZLIB 629ZLIBHARUINCL 630ZLIBINCL 631ZLIBDIR 632ZLIB 633ZLIBTARGET 634SYSTEMVERSION 635MACOSVERSION 636ARCH 637EGREP 638GREP 639CPP 640MPICC 641THREADLIB 642THREADCFLAGS 643TAR 644RANDOMLIBS 645RANDOMCFLAGS 646INSTALL_DATA 647INSTALL_SCRIPT 648INSTALL_PROGRAM 649ac_ct_CXX 650CXXFLAGS 651CXX 652OBJEXT 653EXEEXT 654ac_ct_CC 655CPPFLAGS 656LDFLAGS 657CC 658STDCPLUS 659EXCEPTION 660CPUINFO 661SYSTEM 662GMAKE 663CFLAGS 664MIGRATESUBVERSION 665OSTYPE 666CPUTYPE 667target_os 668target_vendor 669target_cpu 670target 671host_os 672host_vendor 673host_cpu 674host 675build_os 676build_vendor 677build_cpu 678build 679target_alias 680host_alias 681build_alias 682LIBS 683ECHO_T 684ECHO_N 685ECHO_C 686DEFS 687mandir 688localedir 689libdir 690psdir 691pdfdir 692dvidir 693htmldir 694infodir 695docdir 696oldincludedir 697includedir 698localstatedir 699sharedstatedir 700sysconfdir 701datadir 702datarootdir 703libexecdir 704sbindir 705bindir 706program_transform_name 707prefix 708exec_prefix 709PACKAGE_URL 710PACKAGE_BUGREPORT 711PACKAGE_STRING 712PACKAGE_VERSION 713PACKAGE_TARNAME 714PACKAGE_NAME 715PATH_SEPARATOR 716SHELL' 717ac_subst_files='' 718ac_user_opts=' 719enable_option_checking 720enable_allmac 721enable_macintel 722with_zlib 723enable_sse2 724enable_altivec 725enable_A4 726' 727 ac_precious_vars='build_alias 728host_alias 729target_alias 730CC 731CFLAGS 732LDFLAGS 733LIBS 734CPPFLAGS 735CXX 736CXXFLAGS 737CCC 738CPP' 739 740 741# Initialize some variables set by options. 742ac_init_help= 743ac_init_version=false 744ac_unrecognized_opts= 745ac_unrecognized_sep= 746# The variables have the same names as the options, with 747# dashes changed to underlines. 748cache_file=/dev/null 749exec_prefix=NONE 750no_create= 751no_recursion= 752prefix=NONE 753program_prefix=NONE 754program_suffix=NONE 755program_transform_name=s,x,x, 756silent= 757site= 758srcdir= 759verbose= 760x_includes=NONE 761x_libraries=NONE 762 763# Installation directory options. 764# These are left unexpanded so users can "make install exec_prefix=/foo" 765# and all the variables that are supposed to be based on exec_prefix 766# by default will actually change. 767# Use braces instead of parens because sh, perl, etc. also accept them. 768# (The list follows the same order as the GNU Coding Standards.) 769bindir='${exec_prefix}/bin' 770sbindir='${exec_prefix}/sbin' 771libexecdir='${exec_prefix}/libexec' 772datarootdir='${prefix}/share' 773datadir='${datarootdir}' 774sysconfdir='${prefix}/etc' 775sharedstatedir='${prefix}/com' 776localstatedir='${prefix}/var' 777includedir='${prefix}/include' 778oldincludedir='/usr/include' 779docdir='${datarootdir}/doc/${PACKAGE}' 780infodir='${datarootdir}/info' 781htmldir='${docdir}' 782dvidir='${docdir}' 783pdfdir='${docdir}' 784psdir='${docdir}' 785libdir='${exec_prefix}/lib' 786localedir='${datarootdir}/locale' 787mandir='${datarootdir}/man' 788 789ac_prev= 790ac_dashdash= 791for ac_option 792do 793 # If the previous option needs an argument, assign it. 794 if test -n "$ac_prev"; then 795 eval $ac_prev=\$ac_option 796 ac_prev= 797 continue 798 fi 799 800 case $ac_option in 801 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 802 *=) ac_optarg= ;; 803 *) ac_optarg=yes ;; 804 esac 805 806 # Accept the important Cygnus configure options, so we can diagnose typos. 807 808 case $ac_dashdash$ac_option in 809 --) 810 ac_dashdash=yes ;; 811 812 -bindir | --bindir | --bindi | --bind | --bin | --bi) 813 ac_prev=bindir ;; 814 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 815 bindir=$ac_optarg ;; 816 817 -build | --build | --buil | --bui | --bu) 818 ac_prev=build_alias ;; 819 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 820 build_alias=$ac_optarg ;; 821 822 -cache-file | --cache-file | --cache-fil | --cache-fi \ 823 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 824 ac_prev=cache_file ;; 825 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 826 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 827 cache_file=$ac_optarg ;; 828 829 --config-cache | -C) 830 cache_file=config.cache ;; 831 832 -datadir | --datadir | --datadi | --datad) 833 ac_prev=datadir ;; 834 -datadir=* | --datadir=* | --datadi=* | --datad=*) 835 datadir=$ac_optarg ;; 836 837 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 838 | --dataroo | --dataro | --datar) 839 ac_prev=datarootdir ;; 840 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 841 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 842 datarootdir=$ac_optarg ;; 843 844 -disable-* | --disable-*) 845 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 846 # Reject names that are not valid shell variable names. 847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 848 as_fn_error $? "invalid feature name: $ac_useropt" 849 ac_useropt_orig=$ac_useropt 850 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 851 case $ac_user_opts in 852 *" 853"enable_$ac_useropt" 854"*) ;; 855 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 856 ac_unrecognized_sep=', ';; 857 esac 858 eval enable_$ac_useropt=no ;; 859 860 -docdir | --docdir | --docdi | --doc | --do) 861 ac_prev=docdir ;; 862 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 863 docdir=$ac_optarg ;; 864 865 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 866 ac_prev=dvidir ;; 867 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 868 dvidir=$ac_optarg ;; 869 870 -enable-* | --enable-*) 871 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 872 # Reject names that are not valid shell variable names. 873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 874 as_fn_error $? "invalid feature name: $ac_useropt" 875 ac_useropt_orig=$ac_useropt 876 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 877 case $ac_user_opts in 878 *" 879"enable_$ac_useropt" 880"*) ;; 881 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 882 ac_unrecognized_sep=', ';; 883 esac 884 eval enable_$ac_useropt=\$ac_optarg ;; 885 886 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 887 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 888 | --exec | --exe | --ex) 889 ac_prev=exec_prefix ;; 890 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 891 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 892 | --exec=* | --exe=* | --ex=*) 893 exec_prefix=$ac_optarg ;; 894 895 -gas | --gas | --ga | --g) 896 # Obsolete; use --with-gas. 897 with_gas=yes ;; 898 899 -help | --help | --hel | --he | -h) 900 ac_init_help=long ;; 901 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 902 ac_init_help=recursive ;; 903 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 904 ac_init_help=short ;; 905 906 -host | --host | --hos | --ho) 907 ac_prev=host_alias ;; 908 -host=* | --host=* | --hos=* | --ho=*) 909 host_alias=$ac_optarg ;; 910 911 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 912 ac_prev=htmldir ;; 913 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 914 | --ht=*) 915 htmldir=$ac_optarg ;; 916 917 -includedir | --includedir | --includedi | --included | --include \ 918 | --includ | --inclu | --incl | --inc) 919 ac_prev=includedir ;; 920 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 921 | --includ=* | --inclu=* | --incl=* | --inc=*) 922 includedir=$ac_optarg ;; 923 924 -infodir | --infodir | --infodi | --infod | --info | --inf) 925 ac_prev=infodir ;; 926 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 927 infodir=$ac_optarg ;; 928 929 -libdir | --libdir | --libdi | --libd) 930 ac_prev=libdir ;; 931 -libdir=* | --libdir=* | --libdi=* | --libd=*) 932 libdir=$ac_optarg ;; 933 934 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 935 | --libexe | --libex | --libe) 936 ac_prev=libexecdir ;; 937 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 938 | --libexe=* | --libex=* | --libe=*) 939 libexecdir=$ac_optarg ;; 940 941 -localedir | --localedir | --localedi | --localed | --locale) 942 ac_prev=localedir ;; 943 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 944 localedir=$ac_optarg ;; 945 946 -localstatedir | --localstatedir | --localstatedi | --localstated \ 947 | --localstate | --localstat | --localsta | --localst | --locals) 948 ac_prev=localstatedir ;; 949 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 950 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 951 localstatedir=$ac_optarg ;; 952 953 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 954 ac_prev=mandir ;; 955 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 956 mandir=$ac_optarg ;; 957 958 -nfp | --nfp | --nf) 959 # Obsolete; use --without-fp. 960 with_fp=no ;; 961 962 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 963 | --no-cr | --no-c | -n) 964 no_create=yes ;; 965 966 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 967 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 968 no_recursion=yes ;; 969 970 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 971 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 972 | --oldin | --oldi | --old | --ol | --o) 973 ac_prev=oldincludedir ;; 974 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 975 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 976 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 977 oldincludedir=$ac_optarg ;; 978 979 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 980 ac_prev=prefix ;; 981 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 982 prefix=$ac_optarg ;; 983 984 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 985 | --program-pre | --program-pr | --program-p) 986 ac_prev=program_prefix ;; 987 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 988 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 989 program_prefix=$ac_optarg ;; 990 991 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 992 | --program-suf | --program-su | --program-s) 993 ac_prev=program_suffix ;; 994 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 995 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 996 program_suffix=$ac_optarg ;; 997 998 -program-transform-name | --program-transform-name \ 999 | --program-transform-nam | --program-transform-na \ 1000 | --program-transform-n | --program-transform- \ 1001 | --program-transform | --program-transfor \ 1002 | --program-transfo | --program-transf \ 1003 | --program-trans | --program-tran \ 1004 | --progr-tra | --program-tr | --program-t) 1005 ac_prev=program_transform_name ;; 1006 -program-transform-name=* | --program-transform-name=* \ 1007 | --program-transform-nam=* | --program-transform-na=* \ 1008 | --program-transform-n=* | --program-transform-=* \ 1009 | --program-transform=* | --program-transfor=* \ 1010 | --program-transfo=* | --program-transf=* \ 1011 | --program-trans=* | --program-tran=* \ 1012 | --progr-tra=* | --program-tr=* | --program-t=*) 1013 program_transform_name=$ac_optarg ;; 1014 1015 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1016 ac_prev=pdfdir ;; 1017 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1018 pdfdir=$ac_optarg ;; 1019 1020 -psdir | --psdir | --psdi | --psd | --ps) 1021 ac_prev=psdir ;; 1022 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1023 psdir=$ac_optarg ;; 1024 1025 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1026 | -silent | --silent | --silen | --sile | --sil) 1027 silent=yes ;; 1028 1029 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1030 ac_prev=sbindir ;; 1031 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1032 | --sbi=* | --sb=*) 1033 sbindir=$ac_optarg ;; 1034 1035 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1036 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1037 | --sharedst | --shareds | --shared | --share | --shar \ 1038 | --sha | --sh) 1039 ac_prev=sharedstatedir ;; 1040 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1041 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1042 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1043 | --sha=* | --sh=*) 1044 sharedstatedir=$ac_optarg ;; 1045 1046 -site | --site | --sit) 1047 ac_prev=site ;; 1048 -site=* | --site=* | --sit=*) 1049 site=$ac_optarg ;; 1050 1051 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1052 ac_prev=srcdir ;; 1053 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1054 srcdir=$ac_optarg ;; 1055 1056 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1057 | --syscon | --sysco | --sysc | --sys | --sy) 1058 ac_prev=sysconfdir ;; 1059 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1060 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1061 sysconfdir=$ac_optarg ;; 1062 1063 -target | --target | --targe | --targ | --tar | --ta | --t) 1064 ac_prev=target_alias ;; 1065 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1066 target_alias=$ac_optarg ;; 1067 1068 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1069 verbose=yes ;; 1070 1071 -version | --version | --versio | --versi | --vers | -V) 1072 ac_init_version=: ;; 1073 1074 -with-* | --with-*) 1075 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1076 # Reject names that are not valid shell variable names. 1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1078 as_fn_error $? "invalid package name: $ac_useropt" 1079 ac_useropt_orig=$ac_useropt 1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1081 case $ac_user_opts in 1082 *" 1083"with_$ac_useropt" 1084"*) ;; 1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1086 ac_unrecognized_sep=', ';; 1087 esac 1088 eval with_$ac_useropt=\$ac_optarg ;; 1089 1090 -without-* | --without-*) 1091 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1092 # Reject names that are not valid shell variable names. 1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1094 as_fn_error $? "invalid package name: $ac_useropt" 1095 ac_useropt_orig=$ac_useropt 1096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1097 case $ac_user_opts in 1098 *" 1099"with_$ac_useropt" 1100"*) ;; 1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1102 ac_unrecognized_sep=', ';; 1103 esac 1104 eval with_$ac_useropt=no ;; 1105 1106 --x) 1107 # Obsolete; use --with-x. 1108 with_x=yes ;; 1109 1110 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1111 | --x-incl | --x-inc | --x-in | --x-i) 1112 ac_prev=x_includes ;; 1113 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1114 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1115 x_includes=$ac_optarg ;; 1116 1117 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1118 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1119 ac_prev=x_libraries ;; 1120 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1121 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1122 x_libraries=$ac_optarg ;; 1123 1124 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1125Try \`$0 --help' for more information" 1126 ;; 1127 1128 *=*) 1129 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1130 # Reject names that are not valid shell variable names. 1131 case $ac_envvar in #( 1132 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1133 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1134 esac 1135 eval $ac_envvar=\$ac_optarg 1136 export $ac_envvar ;; 1137 1138 *) 1139 # FIXME: should be removed in autoconf 3.0. 1140 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1141 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1142 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1143 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1144 ;; 1145 1146 esac 1147done 1148 1149if test -n "$ac_prev"; then 1150 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1151 as_fn_error $? "missing argument to $ac_option" 1152fi 1153 1154if test -n "$ac_unrecognized_opts"; then 1155 case $enable_option_checking in 1156 no) ;; 1157 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1158 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1159 esac 1160fi 1161 1162# Check all directory arguments for consistency. 1163for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1164 datadir sysconfdir sharedstatedir localstatedir includedir \ 1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1166 libdir localedir mandir 1167do 1168 eval ac_val=\$$ac_var 1169 # Remove trailing slashes. 1170 case $ac_val in 1171 */ ) 1172 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1173 eval $ac_var=\$ac_val;; 1174 esac 1175 # Be sure to have absolute directory names. 1176 case $ac_val in 1177 [\\/$]* | ?:[\\/]* ) continue;; 1178 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1179 esac 1180 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1181done 1182 1183# There might be people who depend on the old broken behavior: `$host' 1184# used to hold the argument of --host etc. 1185# FIXME: To remove some day. 1186build=$build_alias 1187host=$host_alias 1188target=$target_alias 1189 1190# FIXME: To remove some day. 1191if test "x$host_alias" != x; then 1192 if test "x$build_alias" = x; then 1193 cross_compiling=maybe 1194 elif test "x$build_alias" != "x$host_alias"; then 1195 cross_compiling=yes 1196 fi 1197fi 1198 1199ac_tool_prefix= 1200test -n "$host_alias" && ac_tool_prefix=$host_alias- 1201 1202test "$silent" = yes && exec 6>/dev/null 1203 1204 1205ac_pwd=`pwd` && test -n "$ac_pwd" && 1206ac_ls_di=`ls -di .` && 1207ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1208 as_fn_error $? "working directory cannot be determined" 1209test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1210 as_fn_error $? "pwd does not report name of working directory" 1211 1212 1213# Find the source files, if location was not specified. 1214if test -z "$srcdir"; then 1215 ac_srcdir_defaulted=yes 1216 # Try the directory containing this script, then the parent directory. 1217 ac_confdir=`$as_dirname -- "$as_myself" || 1218$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1219 X"$as_myself" : 'X\(//\)[^/]' \| \ 1220 X"$as_myself" : 'X\(//\)$' \| \ 1221 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1222$as_echo X"$as_myself" | 1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1224 s//\1/ 1225 q 1226 } 1227 /^X\(\/\/\)[^/].*/{ 1228 s//\1/ 1229 q 1230 } 1231 /^X\(\/\/\)$/{ 1232 s//\1/ 1233 q 1234 } 1235 /^X\(\/\).*/{ 1236 s//\1/ 1237 q 1238 } 1239 s/.*/./; q'` 1240 srcdir=$ac_confdir 1241 if test ! -r "$srcdir/$ac_unique_file"; then 1242 srcdir=.. 1243 fi 1244else 1245 ac_srcdir_defaulted=no 1246fi 1247if test ! -r "$srcdir/$ac_unique_file"; then 1248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1249 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1250fi 1251ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1252ac_abs_confdir=`( 1253 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1254 pwd)` 1255# When building in place, set srcdir=. 1256if test "$ac_abs_confdir" = "$ac_pwd"; then 1257 srcdir=. 1258fi 1259# Remove unnecessary trailing slashes from srcdir. 1260# Double slashes in file names in object file debugging info 1261# mess up M-x gdb in Emacs. 1262case $srcdir in 1263*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1264esac 1265for ac_var in $ac_precious_vars; do 1266 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1267 eval ac_env_${ac_var}_value=\$${ac_var} 1268 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1269 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1270done 1271 1272# 1273# Report the --help message. 1274# 1275if test "$ac_init_help" = "long"; then 1276 # Omit some internal or obsolete options to make the list less imposing. 1277 # This message is too long to be a string in the A/UX 3.1 sh. 1278 cat <<_ACEOF 1279\`configure' configures this package to adapt to many kinds of systems. 1280 1281Usage: $0 [OPTION]... [VAR=VALUE]... 1282 1283To assign environment variables (e.g., CC, CFLAGS...), specify them as 1284VAR=VALUE. See below for descriptions of some of the useful variables. 1285 1286Defaults for the options are specified in brackets. 1287 1288Configuration: 1289 -h, --help display this help and exit 1290 --help=short display options specific to this package 1291 --help=recursive display the short help of all the included packages 1292 -V, --version display version information and exit 1293 -q, --quiet, --silent do not print \`checking ...' messages 1294 --cache-file=FILE cache test results in FILE [disabled] 1295 -C, --config-cache alias for \`--cache-file=config.cache' 1296 -n, --no-create do not create output files 1297 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1298 1299Installation directories: 1300 --prefix=PREFIX install architecture-independent files in PREFIX 1301 [$ac_default_prefix] 1302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1303 [PREFIX] 1304 1305By default, \`make install' will install all the files in 1306\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1307an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1308for instance \`--prefix=\$HOME'. 1309 1310For better control, use the options below. 1311 1312Fine tuning of the installation directories: 1313 --bindir=DIR user executables [EPREFIX/bin] 1314 --sbindir=DIR system admin executables [EPREFIX/sbin] 1315 --libexecdir=DIR program executables [EPREFIX/libexec] 1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1319 --libdir=DIR object code libraries [EPREFIX/lib] 1320 --includedir=DIR C header files [PREFIX/include] 1321 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1322 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1323 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1324 --infodir=DIR info documentation [DATAROOTDIR/info] 1325 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1326 --mandir=DIR man documentation [DATAROOTDIR/man] 1327 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1328 --htmldir=DIR html documentation [DOCDIR] 1329 --dvidir=DIR dvi documentation [DOCDIR] 1330 --pdfdir=DIR pdf documentation [DOCDIR] 1331 --psdir=DIR ps documentation [DOCDIR] 1332_ACEOF 1333 1334 cat <<\_ACEOF 1335 1336System types: 1337 --build=BUILD configure for building on BUILD [guessed] 1338 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1339 --target=TARGET configure for building compilers for TARGET [HOST] 1340_ACEOF 1341fi 1342 1343if test -n "$ac_init_help"; then 1344 1345 cat <<\_ACEOF 1346 1347Optional Features: 1348 --disable-option-checking ignore unrecognized --enable/--with options 1349 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1350 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1351 --enable-allmac enable Macintosh architectures: intel, intel64 1352 --enable-macintel enable Macintosh architectures: intel, intel64 1353 --enable-sse2 enable SSE2 optimizations for random number 1354 generator 1355 --enable-altivec enable Altivec optimizations for random number 1356 generator 1357 --enable-A4 use A4 paper format for PDF outputfile -- Default is 1358 Letter paper format 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-zlib=shipped|system|no 1364 Specify the zlib to use, shipped or system. Default 1365 is to autodetect system and fallback to shipped. 1366 1367Some influential environment variables: 1368 CC C compiler command 1369 CFLAGS C compiler flags 1370 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1371 nonstandard directory <lib dir> 1372 LIBS libraries to pass to the linker, e.g. -l<library> 1373 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1374 you have headers in a nonstandard directory <include dir> 1375 CXX C++ compiler command 1376 CXXFLAGS C++ compiler flags 1377 CPP C preprocessor 1378 1379Use these variables to override the choices made by `configure' or to help 1380it to find libraries and programs with nonstandard names/locations. 1381 1382Report bugs to the package provider. 1383_ACEOF 1384ac_status=$? 1385fi 1386 1387if test "$ac_init_help" = "recursive"; then 1388 # If there are subdirs, report their specific --help. 1389 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1390 test -d "$ac_dir" || 1391 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1392 continue 1393 ac_builddir=. 1394 1395case "$ac_dir" in 1396.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1397*) 1398 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1399 # A ".." for each directory in $ac_dir_suffix. 1400 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1401 case $ac_top_builddir_sub in 1402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1403 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1404 esac ;; 1405esac 1406ac_abs_top_builddir=$ac_pwd 1407ac_abs_builddir=$ac_pwd$ac_dir_suffix 1408# for backward compatibility: 1409ac_top_builddir=$ac_top_build_prefix 1410 1411case $srcdir in 1412 .) # We are building in place. 1413 ac_srcdir=. 1414 ac_top_srcdir=$ac_top_builddir_sub 1415 ac_abs_top_srcdir=$ac_pwd ;; 1416 [\\/]* | ?:[\\/]* ) # Absolute name. 1417 ac_srcdir=$srcdir$ac_dir_suffix; 1418 ac_top_srcdir=$srcdir 1419 ac_abs_top_srcdir=$srcdir ;; 1420 *) # Relative name. 1421 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1422 ac_top_srcdir=$ac_top_build_prefix$srcdir 1423 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1424esac 1425ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1426 1427 cd "$ac_dir" || { ac_status=$?; continue; } 1428 # Check for guested configure. 1429 if test -f "$ac_srcdir/configure.gnu"; then 1430 echo && 1431 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1432 elif test -f "$ac_srcdir/configure"; then 1433 echo && 1434 $SHELL "$ac_srcdir/configure" --help=recursive 1435 else 1436 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1437 fi || ac_status=$? 1438 cd "$ac_pwd" || { ac_status=$?; break; } 1439 done 1440fi 1441 1442test -n "$ac_init_help" && exit $ac_status 1443if $ac_init_version; then 1444 cat <<\_ACEOF 1445configure 1446generated by GNU Autoconf 2.69 1447 1448Copyright (C) 2012 Free Software Foundation, Inc. 1449This configure script is free software; the Free Software Foundation 1450gives unlimited permission to copy, distribute and modify it. 1451_ACEOF 1452 exit 1453fi 1454 1455## ------------------------ ## 1456## Autoconf initialization. ## 1457## ------------------------ ## 1458 1459# ac_fn_c_try_compile LINENO 1460# -------------------------- 1461# Try to compile conftest.$ac_ext, and return whether this succeeded. 1462ac_fn_c_try_compile () 1463{ 1464 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1465 rm -f conftest.$ac_objext 1466 if { { ac_try="$ac_compile" 1467case "(($ac_try" in 1468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1469 *) ac_try_echo=$ac_try;; 1470esac 1471eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1472$as_echo "$ac_try_echo"; } >&5 1473 (eval "$ac_compile") 2>conftest.err 1474 ac_status=$? 1475 if test -s conftest.err; then 1476 grep -v '^ *+' conftest.err >conftest.er1 1477 cat conftest.er1 >&5 1478 mv -f conftest.er1 conftest.err 1479 fi 1480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1481 test $ac_status = 0; } && { 1482 test -z "$ac_c_werror_flag" || 1483 test ! -s conftest.err 1484 } && test -s conftest.$ac_objext; then : 1485 ac_retval=0 1486else 1487 $as_echo "$as_me: failed program was:" >&5 1488sed 's/^/| /' conftest.$ac_ext >&5 1489 1490 ac_retval=1 1491fi 1492 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1493 as_fn_set_status $ac_retval 1494 1495} # ac_fn_c_try_compile 1496 1497# ac_fn_cxx_try_compile LINENO 1498# ---------------------------- 1499# Try to compile conftest.$ac_ext, and return whether this succeeded. 1500ac_fn_cxx_try_compile () 1501{ 1502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1503 rm -f conftest.$ac_objext 1504 if { { ac_try="$ac_compile" 1505case "(($ac_try" in 1506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1507 *) ac_try_echo=$ac_try;; 1508esac 1509eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1510$as_echo "$ac_try_echo"; } >&5 1511 (eval "$ac_compile") 2>conftest.err 1512 ac_status=$? 1513 if test -s conftest.err; then 1514 grep -v '^ *+' conftest.err >conftest.er1 1515 cat conftest.er1 >&5 1516 mv -f conftest.er1 conftest.err 1517 fi 1518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1519 test $ac_status = 0; } && { 1520 test -z "$ac_cxx_werror_flag" || 1521 test ! -s conftest.err 1522 } && test -s conftest.$ac_objext; then : 1523 ac_retval=0 1524else 1525 $as_echo "$as_me: failed program was:" >&5 1526sed 's/^/| /' conftest.$ac_ext >&5 1527 1528 ac_retval=1 1529fi 1530 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1531 as_fn_set_status $ac_retval 1532 1533} # ac_fn_cxx_try_compile 1534 1535# ac_fn_c_try_link LINENO 1536# ----------------------- 1537# Try to link conftest.$ac_ext, and return whether this succeeded. 1538ac_fn_c_try_link () 1539{ 1540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1541 rm -f conftest.$ac_objext conftest$ac_exeext 1542 if { { ac_try="$ac_link" 1543case "(($ac_try" in 1544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1545 *) ac_try_echo=$ac_try;; 1546esac 1547eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1548$as_echo "$ac_try_echo"; } >&5 1549 (eval "$ac_link") 2>conftest.err 1550 ac_status=$? 1551 if test -s conftest.err; then 1552 grep -v '^ *+' conftest.err >conftest.er1 1553 cat conftest.er1 >&5 1554 mv -f conftest.er1 conftest.err 1555 fi 1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1557 test $ac_status = 0; } && { 1558 test -z "$ac_c_werror_flag" || 1559 test ! -s conftest.err 1560 } && test -s conftest$ac_exeext && { 1561 test "$cross_compiling" = yes || 1562 test -x conftest$ac_exeext 1563 }; then : 1564 ac_retval=0 1565else 1566 $as_echo "$as_me: failed program was:" >&5 1567sed 's/^/| /' conftest.$ac_ext >&5 1568 1569 ac_retval=1 1570fi 1571 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1572 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1573 # interfere with the next link command; also delete a directory that is 1574 # left behind by Apple's compiler. We do this before executing the actions. 1575 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1577 as_fn_set_status $ac_retval 1578 1579} # ac_fn_c_try_link 1580 1581# ac_fn_c_try_cpp LINENO 1582# ---------------------- 1583# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1584ac_fn_c_try_cpp () 1585{ 1586 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1587 if { { ac_try="$ac_cpp conftest.$ac_ext" 1588case "(($ac_try" in 1589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1590 *) ac_try_echo=$ac_try;; 1591esac 1592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1593$as_echo "$ac_try_echo"; } >&5 1594 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1595 ac_status=$? 1596 if test -s conftest.err; then 1597 grep -v '^ *+' conftest.err >conftest.er1 1598 cat conftest.er1 >&5 1599 mv -f conftest.er1 conftest.err 1600 fi 1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1602 test $ac_status = 0; } > conftest.i && { 1603 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1604 test ! -s conftest.err 1605 }; then : 1606 ac_retval=0 1607else 1608 $as_echo "$as_me: failed program was:" >&5 1609sed 's/^/| /' conftest.$ac_ext >&5 1610 1611 ac_retval=1 1612fi 1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1614 as_fn_set_status $ac_retval 1615 1616} # ac_fn_c_try_cpp 1617 1618# ac_fn_c_try_run LINENO 1619# ---------------------- 1620# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1621# that executables *can* be run. 1622ac_fn_c_try_run () 1623{ 1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1625 if { { ac_try="$ac_link" 1626case "(($ac_try" in 1627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1628 *) ac_try_echo=$ac_try;; 1629esac 1630eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1631$as_echo "$ac_try_echo"; } >&5 1632 (eval "$ac_link") 2>&5 1633 ac_status=$? 1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1635 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1636 { { case "(($ac_try" in 1637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1638 *) ac_try_echo=$ac_try;; 1639esac 1640eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1641$as_echo "$ac_try_echo"; } >&5 1642 (eval "$ac_try") 2>&5 1643 ac_status=$? 1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1645 test $ac_status = 0; }; }; then : 1646 ac_retval=0 1647else 1648 $as_echo "$as_me: program exited with status $ac_status" >&5 1649 $as_echo "$as_me: failed program was:" >&5 1650sed 's/^/| /' conftest.$ac_ext >&5 1651 1652 ac_retval=$ac_status 1653fi 1654 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1656 as_fn_set_status $ac_retval 1657 1658} # ac_fn_c_try_run 1659 1660# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1661# ------------------------------------------------------- 1662# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1663# the include files in INCLUDES and setting the cache variable VAR 1664# accordingly. 1665ac_fn_c_check_header_mongrel () 1666{ 1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1668 if eval \${$3+:} false; then : 1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1670$as_echo_n "checking for $2... " >&6; } 1671if eval \${$3+:} false; then : 1672 $as_echo_n "(cached) " >&6 1673fi 1674eval ac_res=\$$3 1675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1676$as_echo "$ac_res" >&6; } 1677else 1678 # Is the header compilable? 1679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1680$as_echo_n "checking $2 usability... " >&6; } 1681cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1682/* end confdefs.h. */ 1683$4 1684#include <$2> 1685_ACEOF 1686if ac_fn_c_try_compile "$LINENO"; then : 1687 ac_header_compiler=yes 1688else 1689 ac_header_compiler=no 1690fi 1691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1693$as_echo "$ac_header_compiler" >&6; } 1694 1695# Is the header present? 1696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1697$as_echo_n "checking $2 presence... " >&6; } 1698cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1699/* end confdefs.h. */ 1700#include <$2> 1701_ACEOF 1702if ac_fn_c_try_cpp "$LINENO"; then : 1703 ac_header_preproc=yes 1704else 1705 ac_header_preproc=no 1706fi 1707rm -f conftest.err conftest.i conftest.$ac_ext 1708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1709$as_echo "$ac_header_preproc" >&6; } 1710 1711# So? What about this header? 1712case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1713 yes:no: ) 1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1715$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1717$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1718 ;; 1719 no:yes:* ) 1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1721$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1723$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1725$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1727$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1729$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1730 ;; 1731esac 1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1733$as_echo_n "checking for $2... " >&6; } 1734if eval \${$3+:} false; then : 1735 $as_echo_n "(cached) " >&6 1736else 1737 eval "$3=\$ac_header_compiler" 1738fi 1739eval ac_res=\$$3 1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1741$as_echo "$ac_res" >&6; } 1742fi 1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1744 1745} # ac_fn_c_check_header_mongrel 1746 1747# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1748# ------------------------------------------------------- 1749# Tests whether HEADER exists and can be compiled using the include files in 1750# INCLUDES, setting the cache variable VAR accordingly. 1751ac_fn_c_check_header_compile () 1752{ 1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1755$as_echo_n "checking for $2... " >&6; } 1756if eval \${$3+:} false; then : 1757 $as_echo_n "(cached) " >&6 1758else 1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1760/* end confdefs.h. */ 1761$4 1762#include <$2> 1763_ACEOF 1764if ac_fn_c_try_compile "$LINENO"; then : 1765 eval "$3=yes" 1766else 1767 eval "$3=no" 1768fi 1769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1770fi 1771eval ac_res=\$$3 1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1773$as_echo "$ac_res" >&6; } 1774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1775 1776} # ac_fn_c_check_header_compile 1777 1778# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1779# ------------------------------------------- 1780# Tests whether TYPE exists after having included INCLUDES, setting cache 1781# variable VAR accordingly. 1782ac_fn_c_check_type () 1783{ 1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1786$as_echo_n "checking for $2... " >&6; } 1787if eval \${$3+:} false; then : 1788 $as_echo_n "(cached) " >&6 1789else 1790 eval "$3=no" 1791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1792/* end confdefs.h. */ 1793$4 1794int 1795main () 1796{ 1797if (sizeof ($2)) 1798 return 0; 1799 ; 1800 return 0; 1801} 1802_ACEOF 1803if ac_fn_c_try_compile "$LINENO"; then : 1804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1805/* end confdefs.h. */ 1806$4 1807int 1808main () 1809{ 1810if (sizeof (($2))) 1811 return 0; 1812 ; 1813 return 0; 1814} 1815_ACEOF 1816if ac_fn_c_try_compile "$LINENO"; then : 1817 1818else 1819 eval "$3=yes" 1820fi 1821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1822fi 1823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1824fi 1825eval ac_res=\$$3 1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1827$as_echo "$ac_res" >&6; } 1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1829 1830} # ac_fn_c_check_type 1831 1832# ac_fn_c_check_func LINENO FUNC VAR 1833# ---------------------------------- 1834# Tests whether FUNC exists, setting the cache variable VAR accordingly 1835ac_fn_c_check_func () 1836{ 1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1839$as_echo_n "checking for $2... " >&6; } 1840if eval \${$3+:} false; then : 1841 $as_echo_n "(cached) " >&6 1842else 1843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1844/* end confdefs.h. */ 1845/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1846 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1847#define $2 innocuous_$2 1848 1849/* System header to define __stub macros and hopefully few prototypes, 1850 which can conflict with char $2 (); below. 1851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1852 <limits.h> exists even on freestanding compilers. */ 1853 1854#ifdef __STDC__ 1855# include <limits.h> 1856#else 1857# include <assert.h> 1858#endif 1859 1860#undef $2 1861 1862/* Override any GCC internal prototype to avoid an error. 1863 Use char because int might match the return type of a GCC 1864 builtin and then its argument prototype would still apply. */ 1865#ifdef __cplusplus 1866extern "C" 1867#endif 1868char $2 (); 1869/* The GNU C library defines this for functions which it implements 1870 to always fail with ENOSYS. Some functions are actually named 1871 something starting with __ and the normal name is an alias. */ 1872#if defined __stub_$2 || defined __stub___$2 1873choke me 1874#endif 1875 1876int 1877main () 1878{ 1879return $2 (); 1880 ; 1881 return 0; 1882} 1883_ACEOF 1884if ac_fn_c_try_link "$LINENO"; then : 1885 eval "$3=yes" 1886else 1887 eval "$3=no" 1888fi 1889rm -f core conftest.err conftest.$ac_objext \ 1890 conftest$ac_exeext conftest.$ac_ext 1891fi 1892eval ac_res=\$$3 1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1894$as_echo "$ac_res" >&6; } 1895 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1896 1897} # ac_fn_c_check_func 1898cat >config.log <<_ACEOF 1899This file contains any messages produced by compilers while 1900running configure, to aid debugging if configure makes a mistake. 1901 1902It was created by $as_me, which was 1903generated by GNU Autoconf 2.69. Invocation command line was 1904 1905 $ $0 $@ 1906 1907_ACEOF 1908exec 5>>config.log 1909{ 1910cat <<_ASUNAME 1911## --------- ## 1912## Platform. ## 1913## --------- ## 1914 1915hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1916uname -m = `(uname -m) 2>/dev/null || echo unknown` 1917uname -r = `(uname -r) 2>/dev/null || echo unknown` 1918uname -s = `(uname -s) 2>/dev/null || echo unknown` 1919uname -v = `(uname -v) 2>/dev/null || echo unknown` 1920 1921/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1922/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1923 1924/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1925/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1926/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1927/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1928/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1929/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1930/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1931 1932_ASUNAME 1933 1934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1935for as_dir in $PATH 1936do 1937 IFS=$as_save_IFS 1938 test -z "$as_dir" && as_dir=. 1939 $as_echo "PATH: $as_dir" 1940 done 1941IFS=$as_save_IFS 1942 1943} >&5 1944 1945cat >&5 <<_ACEOF 1946 1947 1948## ----------- ## 1949## Core tests. ## 1950## ----------- ## 1951 1952_ACEOF 1953 1954 1955# Keep a trace of the command line. 1956# Strip out --no-create and --no-recursion so they do not pile up. 1957# Strip out --silent because we don't want to record it for future runs. 1958# Also quote any args containing shell meta-characters. 1959# Make two passes to allow for proper duplicate-argument suppression. 1960ac_configure_args= 1961ac_configure_args0= 1962ac_configure_args1= 1963ac_must_keep_next=false 1964for ac_pass in 1 2 1965do 1966 for ac_arg 1967 do 1968 case $ac_arg in 1969 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1970 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1971 | -silent | --silent | --silen | --sile | --sil) 1972 continue ;; 1973 *\'*) 1974 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1975 esac 1976 case $ac_pass in 1977 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1978 2) 1979 as_fn_append ac_configure_args1 " '$ac_arg'" 1980 if test $ac_must_keep_next = true; then 1981 ac_must_keep_next=false # Got value, back to normal. 1982 else 1983 case $ac_arg in 1984 *=* | --config-cache | -C | -disable-* | --disable-* \ 1985 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1986 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1987 | -with-* | --with-* | -without-* | --without-* | --x) 1988 case "$ac_configure_args0 " in 1989 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1990 esac 1991 ;; 1992 -* ) ac_must_keep_next=true ;; 1993 esac 1994 fi 1995 as_fn_append ac_configure_args " '$ac_arg'" 1996 ;; 1997 esac 1998 done 1999done 2000{ ac_configure_args0=; unset ac_configure_args0;} 2001{ ac_configure_args1=; unset ac_configure_args1;} 2002 2003# When interrupted or exit'd, cleanup temporary files, and complete 2004# config.log. We remove comments because anyway the quotes in there 2005# would cause problems or look ugly. 2006# WARNING: Use '\'' to represent an apostrophe within the trap. 2007# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2008trap 'exit_status=$? 2009 # Save into config.log some information that might help in debugging. 2010 { 2011 echo 2012 2013 $as_echo "## ---------------- ## 2014## Cache variables. ## 2015## ---------------- ##" 2016 echo 2017 # The following way of writing the cache mishandles newlines in values, 2018( 2019 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2020 eval ac_val=\$$ac_var 2021 case $ac_val in #( 2022 *${as_nl}*) 2023 case $ac_var in #( 2024 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2025$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2026 esac 2027 case $ac_var in #( 2028 _ | IFS | as_nl) ;; #( 2029 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2030 *) { eval $ac_var=; unset $ac_var;} ;; 2031 esac ;; 2032 esac 2033 done 2034 (set) 2>&1 | 2035 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2036 *${as_nl}ac_space=\ *) 2037 sed -n \ 2038 "s/'\''/'\''\\\\'\'''\''/g; 2039 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2040 ;; #( 2041 *) 2042 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2043 ;; 2044 esac | 2045 sort 2046) 2047 echo 2048 2049 $as_echo "## ----------------- ## 2050## Output variables. ## 2051## ----------------- ##" 2052 echo 2053 for ac_var in $ac_subst_vars 2054 do 2055 eval ac_val=\$$ac_var 2056 case $ac_val in 2057 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2058 esac 2059 $as_echo "$ac_var='\''$ac_val'\''" 2060 done | sort 2061 echo 2062 2063 if test -n "$ac_subst_files"; then 2064 $as_echo "## ------------------- ## 2065## File substitutions. ## 2066## ------------------- ##" 2067 echo 2068 for ac_var in $ac_subst_files 2069 do 2070 eval ac_val=\$$ac_var 2071 case $ac_val in 2072 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2073 esac 2074 $as_echo "$ac_var='\''$ac_val'\''" 2075 done | sort 2076 echo 2077 fi 2078 2079 if test -s confdefs.h; then 2080 $as_echo "## ----------- ## 2081## confdefs.h. ## 2082## ----------- ##" 2083 echo 2084 cat confdefs.h 2085 echo 2086 fi 2087 test "$ac_signal" != 0 && 2088 $as_echo "$as_me: caught signal $ac_signal" 2089 $as_echo "$as_me: exit $exit_status" 2090 } >&5 2091 rm -f core *.core core.conftest.* && 2092 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2093 exit $exit_status 2094' 0 2095for ac_signal in 1 2 13 15; do 2096 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2097done 2098ac_signal=0 2099 2100# confdefs.h avoids OS command line length limits that DEFS can exceed. 2101rm -f -r conftest* confdefs.h 2102 2103$as_echo "/* confdefs.h */" > confdefs.h 2104 2105# Predefined preprocessor variables. 2106 2107cat >>confdefs.h <<_ACEOF 2108#define PACKAGE_NAME "$PACKAGE_NAME" 2109_ACEOF 2110 2111cat >>confdefs.h <<_ACEOF 2112#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2113_ACEOF 2114 2115cat >>confdefs.h <<_ACEOF 2116#define PACKAGE_VERSION "$PACKAGE_VERSION" 2117_ACEOF 2118 2119cat >>confdefs.h <<_ACEOF 2120#define PACKAGE_STRING "$PACKAGE_STRING" 2121_ACEOF 2122 2123cat >>confdefs.h <<_ACEOF 2124#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2125_ACEOF 2126 2127cat >>confdefs.h <<_ACEOF 2128#define PACKAGE_URL "$PACKAGE_URL" 2129_ACEOF 2130 2131 2132# Let the site file select an alternate cache file if it wants to. 2133# Prefer an explicitly selected file to automatically selected ones. 2134ac_site_file1=NONE 2135ac_site_file2=NONE 2136if test -n "$CONFIG_SITE"; then 2137 # We do not want a PATH search for config.site. 2138 case $CONFIG_SITE in #(( 2139 -*) ac_site_file1=./$CONFIG_SITE;; 2140 */*) ac_site_file1=$CONFIG_SITE;; 2141 *) ac_site_file1=./$CONFIG_SITE;; 2142 esac 2143elif test "x$prefix" != xNONE; then 2144 ac_site_file1=$prefix/share/config.site 2145 ac_site_file2=$prefix/etc/config.site 2146else 2147 ac_site_file1=$ac_default_prefix/share/config.site 2148 ac_site_file2=$ac_default_prefix/etc/config.site 2149fi 2150for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2151do 2152 test "x$ac_site_file" = xNONE && continue 2153 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2154 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2155$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2156 sed 's/^/| /' "$ac_site_file" >&5 2157 . "$ac_site_file" \ 2158 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2159$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2160as_fn_error $? "failed to load site script $ac_site_file 2161See \`config.log' for more details" "$LINENO" 5; } 2162 fi 2163done 2164 2165if test -r "$cache_file"; then 2166 # Some versions of bash will fail to source /dev/null (special files 2167 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2168 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2169 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2170$as_echo "$as_me: loading cache $cache_file" >&6;} 2171 case $cache_file in 2172 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2173 *) . "./$cache_file";; 2174 esac 2175 fi 2176else 2177 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2178$as_echo "$as_me: creating cache $cache_file" >&6;} 2179 >$cache_file 2180fi 2181 2182# Check that the precious variables saved in the cache have kept the same 2183# value. 2184ac_cache_corrupted=false 2185for ac_var in $ac_precious_vars; do 2186 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2187 eval ac_new_set=\$ac_env_${ac_var}_set 2188 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2189 eval ac_new_val=\$ac_env_${ac_var}_value 2190 case $ac_old_set,$ac_new_set in 2191 set,) 2192 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2193$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2194 ac_cache_corrupted=: ;; 2195 ,set) 2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2197$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2198 ac_cache_corrupted=: ;; 2199 ,);; 2200 *) 2201 if test "x$ac_old_val" != "x$ac_new_val"; then 2202 # differences in whitespace do not lead to failure. 2203 ac_old_val_w=`echo x $ac_old_val` 2204 ac_new_val_w=`echo x $ac_new_val` 2205 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2207$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2208 ac_cache_corrupted=: 2209 else 2210 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2211$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2212 eval $ac_var=\$ac_old_val 2213 fi 2214 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2215$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2216 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2217$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2218 fi;; 2219 esac 2220 # Pass precious variables to config.status. 2221 if test "$ac_new_set" = set; then 2222 case $ac_new_val in 2223 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2224 *) ac_arg=$ac_var=$ac_new_val ;; 2225 esac 2226 case " $ac_configure_args " in 2227 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2228 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2229 esac 2230 fi 2231done 2232if $ac_cache_corrupted; then 2233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2234$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2236$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2237 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2238fi 2239## -------------------- ## 2240## Main body of script. ## 2241## -------------------- ## 2242 2243ac_ext=c 2244ac_cpp='$CPP $CPPFLAGS' 2245ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2246ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2247ac_compiler_gnu=$ac_cv_c_compiler_gnu 2248 2249 2250ac_aux_dir= 2251for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2252 if test -f "$ac_dir/install-sh"; then 2253 ac_aux_dir=$ac_dir 2254 ac_install_sh="$ac_aux_dir/install-sh -c" 2255 break 2256 elif test -f "$ac_dir/install.sh"; then 2257 ac_aux_dir=$ac_dir 2258 ac_install_sh="$ac_aux_dir/install.sh -c" 2259 break 2260 elif test -f "$ac_dir/shtool"; then 2261 ac_aux_dir=$ac_dir 2262 ac_install_sh="$ac_aux_dir/shtool install -c" 2263 break 2264 fi 2265done 2266if test -z "$ac_aux_dir"; then 2267 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2268fi 2269 2270# These three variables are undocumented and unsupported, 2271# and are intended to be withdrawn in a future Autoconf release. 2272# They can cause serious problems if a builder's source tree is in a directory 2273# whose full name contains unusual characters. 2274ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2275ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2276ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2277 2278 2279# Make sure we can run config.sub. 2280$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2281 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2282 2283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2284$as_echo_n "checking build system type... " >&6; } 2285if ${ac_cv_build+:} false; then : 2286 $as_echo_n "(cached) " >&6 2287else 2288 ac_build_alias=$build_alias 2289test "x$ac_build_alias" = x && 2290 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2291test "x$ac_build_alias" = x && 2292 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2293ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2294 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2295 2296fi 2297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2298$as_echo "$ac_cv_build" >&6; } 2299case $ac_cv_build in 2300*-*-*) ;; 2301*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2302esac 2303build=$ac_cv_build 2304ac_save_IFS=$IFS; IFS='-' 2305set x $ac_cv_build 2306shift 2307build_cpu=$1 2308build_vendor=$2 2309shift; shift 2310# Remember, the first character of IFS is used to create $*, 2311# except with old shells: 2312build_os=$* 2313IFS=$ac_save_IFS 2314case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2315 2316 2317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2318$as_echo_n "checking host system type... " >&6; } 2319if ${ac_cv_host+:} false; then : 2320 $as_echo_n "(cached) " >&6 2321else 2322 if test "x$host_alias" = x; then 2323 ac_cv_host=$ac_cv_build 2324else 2325 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2326 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2327fi 2328 2329fi 2330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2331$as_echo "$ac_cv_host" >&6; } 2332case $ac_cv_host in 2333*-*-*) ;; 2334*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2335esac 2336host=$ac_cv_host 2337ac_save_IFS=$IFS; IFS='-' 2338set x $ac_cv_host 2339shift 2340host_cpu=$1 2341host_vendor=$2 2342shift; shift 2343# Remember, the first character of IFS is used to create $*, 2344# except with old shells: 2345host_os=$* 2346IFS=$ac_save_IFS 2347case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2348 2349 2350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 2351$as_echo_n "checking target system type... " >&6; } 2352if ${ac_cv_target+:} false; then : 2353 $as_echo_n "(cached) " >&6 2354else 2355 if test "x$target_alias" = x; then 2356 ac_cv_target=$ac_cv_host 2357else 2358 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 2359 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2360fi 2361 2362fi 2363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2364$as_echo "$ac_cv_target" >&6; } 2365case $ac_cv_target in 2366*-*-*) ;; 2367*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2368esac 2369target=$ac_cv_target 2370ac_save_IFS=$IFS; IFS='-' 2371set x $ac_cv_target 2372shift 2373target_cpu=$1 2374target_vendor=$2 2375shift; shift 2376# Remember, the first character of IFS is used to create $*, 2377# except with old shells: 2378target_os=$* 2379IFS=$ac_save_IFS 2380case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2381 2382 2383# The aliases save the names the user supplied, while $host etc. 2384# will get canonicalized. 2385test -n "$target_alias" && 2386 test "$program_prefix$program_suffix$program_transform_name" = \ 2387 NONENONEs,x,x, && 2388 program_prefix=${target_alias}- 2389 2390 2391CPUTYPE="$host_cpu" 2392 2393OSTYPE="$host_os" 2394 2395 2396`(svn info | grep Revision | awk '{printf "%s\n",\$2}' > MIGRATE_SUBVERSION) 2>1 > /dev/null` 2397MIGRATESUBVERSION=`head -1 MIGRATE_SUBVERSION`; 2398# 2399#MIGRATESUBVERSION=`svn info | grep Revision | awk '{printf "%s",\$2}'`; 2400#echo "If the svn call fails no action needs to be taken, " 2401#echo "it checks the migrate subversion number" 2402#echo "on my system when I produce binaries" 2403#echo "Migrate subversion = $MIGRATESUBVERSION" 2404USERFLAGS=" " 2405USERFLAGS+=$CFLAGS 2406#echo "Userflags = $USERFLAGS" 2407 2408 2409# Extract the first word of "gmake", so it can be a program name with args. 2410set dummy gmake; ac_word=$2 2411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2412$as_echo_n "checking for $ac_word... " >&6; } 2413if ${ac_cv_prog_GMAKE+:} false; then : 2414 $as_echo_n "(cached) " >&6 2415else 2416 if test -n "$GMAKE"; then 2417 ac_cv_prog_GMAKE="$GMAKE" # Let the user override the test. 2418else 2419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2420for as_dir in $PATH 2421do 2422 IFS=$as_save_IFS 2423 test -z "$as_dir" && as_dir=. 2424 for ac_exec_ext in '' $ac_executable_extensions; do 2425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2426 ac_cv_prog_GMAKE="gmake" 2427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2428 break 2 2429 fi 2430done 2431 done 2432IFS=$as_save_IFS 2433 2434 test -z "$ac_cv_prog_GMAKE" && ac_cv_prog_GMAKE="make" 2435fi 2436fi 2437GMAKE=$ac_cv_prog_GMAKE 2438if test -n "$GMAKE"; then 2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMAKE" >&5 2440$as_echo "$GMAKE" >&6; } 2441else 2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2443$as_echo "no" >&6; } 2444fi 2445 2446 2447 2448OS=`uname -s` 2449#echo $OS 2450case $OS in 2451 Linux) SYSTEM="gcc"; 2452 SYSTEMVERSION=""; 2453 CPUINFO="egrep 'name|GHz|MHz' /proc/cpuinfo";; 2454 Darwin) SYSTEM="osx"; 2455 CPUINFO="sysctl machdep.cpu.brand_string"; 2456 SYSTEMVERSION=`sw_vers | grep ProductVersion | awk '{ printf "%s", $2 }' | tr -d "." | awk '{if(substr($1,1,3)+0.0 > 105) { printf "-DGRANDCENTRAL"}}'`;; 2457esac 2458 2459 2460 2461echo "======================================================================="; 2462echo "Migrate subversion: $MIGRATESUBVERSION" 2463echo "Hardware: $host_vendor" 2464echo "System OS: $host_os $OS $SYSTEMVERSION" 2465echo "System CPU: $host_cpu" 2466echo "-----------------------------------------------------------------------" 2467 2468 2469 2470ac_ext=c 2471ac_cpp='$CPP $CPPFLAGS' 2472ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2473ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2474ac_compiler_gnu=$ac_cv_c_compiler_gnu 2475if test -n "$ac_tool_prefix"; then 2476 for ac_prog in gcc icc pgcc cc 2477 do 2478 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2479set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2481$as_echo_n "checking for $ac_word... " >&6; } 2482if ${ac_cv_prog_CC+:} false; then : 2483 $as_echo_n "(cached) " >&6 2484else 2485 if test -n "$CC"; then 2486 ac_cv_prog_CC="$CC" # Let the user override the test. 2487else 2488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2489for as_dir in $PATH 2490do 2491 IFS=$as_save_IFS 2492 test -z "$as_dir" && as_dir=. 2493 for ac_exec_ext in '' $ac_executable_extensions; do 2494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2495 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2497 break 2 2498 fi 2499done 2500 done 2501IFS=$as_save_IFS 2502 2503fi 2504fi 2505CC=$ac_cv_prog_CC 2506if test -n "$CC"; then 2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2508$as_echo "$CC" >&6; } 2509else 2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2511$as_echo "no" >&6; } 2512fi 2513 2514 2515 test -n "$CC" && break 2516 done 2517fi 2518if test -z "$CC"; then 2519 ac_ct_CC=$CC 2520 for ac_prog in gcc icc pgcc cc 2521do 2522 # Extract the first word of "$ac_prog", so it can be a program name with args. 2523set dummy $ac_prog; ac_word=$2 2524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2525$as_echo_n "checking for $ac_word... " >&6; } 2526if ${ac_cv_prog_ac_ct_CC+:} false; then : 2527 $as_echo_n "(cached) " >&6 2528else 2529 if test -n "$ac_ct_CC"; then 2530 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2531else 2532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2533for as_dir in $PATH 2534do 2535 IFS=$as_save_IFS 2536 test -z "$as_dir" && as_dir=. 2537 for ac_exec_ext in '' $ac_executable_extensions; do 2538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2539 ac_cv_prog_ac_ct_CC="$ac_prog" 2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2541 break 2 2542 fi 2543done 2544 done 2545IFS=$as_save_IFS 2546 2547fi 2548fi 2549ac_ct_CC=$ac_cv_prog_ac_ct_CC 2550if test -n "$ac_ct_CC"; then 2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2552$as_echo "$ac_ct_CC" >&6; } 2553else 2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2555$as_echo "no" >&6; } 2556fi 2557 2558 2559 test -n "$ac_ct_CC" && break 2560done 2561 2562 if test "x$ac_ct_CC" = x; then 2563 CC="" 2564 else 2565 case $cross_compiling:$ac_tool_warned in 2566yes:) 2567{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2568$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2569ac_tool_warned=yes ;; 2570esac 2571 CC=$ac_ct_CC 2572 fi 2573fi 2574 2575 2576test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2578as_fn_error $? "no acceptable C compiler found in \$PATH 2579See \`config.log' for more details" "$LINENO" 5; } 2580 2581# Provide some information about the compiler. 2582$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2583set X $ac_compile 2584ac_compiler=$2 2585for ac_option in --version -v -V -qversion; do 2586 { { ac_try="$ac_compiler $ac_option >&5" 2587case "(($ac_try" in 2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2589 *) ac_try_echo=$ac_try;; 2590esac 2591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2592$as_echo "$ac_try_echo"; } >&5 2593 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2594 ac_status=$? 2595 if test -s conftest.err; then 2596 sed '10a\ 2597... rest of stderr output deleted ... 2598 10q' conftest.err >conftest.er1 2599 cat conftest.er1 >&5 2600 fi 2601 rm -f conftest.er1 conftest.err 2602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2603 test $ac_status = 0; } 2604done 2605 2606cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2607/* end confdefs.h. */ 2608 2609int 2610main () 2611{ 2612 2613 ; 2614 return 0; 2615} 2616_ACEOF 2617ac_clean_files_save=$ac_clean_files 2618ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2619# Try to create an executable without -o first, disregard a.out. 2620# It will help us diagnose broken compilers, and finding out an intuition 2621# of exeext. 2622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2623$as_echo_n "checking whether the C compiler works... " >&6; } 2624ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2625 2626# The possible output files: 2627ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2628 2629ac_rmfiles= 2630for ac_file in $ac_files 2631do 2632 case $ac_file in 2633 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2634 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2635 esac 2636done 2637rm -f $ac_rmfiles 2638 2639if { { ac_try="$ac_link_default" 2640case "(($ac_try" in 2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2642 *) ac_try_echo=$ac_try;; 2643esac 2644eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2645$as_echo "$ac_try_echo"; } >&5 2646 (eval "$ac_link_default") 2>&5 2647 ac_status=$? 2648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2649 test $ac_status = 0; }; then : 2650 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2651# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2652# in a Makefile. We should not override ac_cv_exeext if it was cached, 2653# so that the user can short-circuit this test for compilers unknown to 2654# Autoconf. 2655for ac_file in $ac_files '' 2656do 2657 test -f "$ac_file" || continue 2658 case $ac_file in 2659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2660 ;; 2661 [ab].out ) 2662 # We found the default executable, but exeext='' is most 2663 # certainly right. 2664 break;; 2665 *.* ) 2666 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2667 then :; else 2668 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2669 fi 2670 # We set ac_cv_exeext here because the later test for it is not 2671 # safe: cross compilers may not add the suffix if given an `-o' 2672 # argument, so we may need to know it at that point already. 2673 # Even if this section looks crufty: it has the advantage of 2674 # actually working. 2675 break;; 2676 * ) 2677 break;; 2678 esac 2679done 2680test "$ac_cv_exeext" = no && ac_cv_exeext= 2681 2682else 2683 ac_file='' 2684fi 2685if test -z "$ac_file"; then : 2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2687$as_echo "no" >&6; } 2688$as_echo "$as_me: failed program was:" >&5 2689sed 's/^/| /' conftest.$ac_ext >&5 2690 2691{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2692$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2693as_fn_error 77 "C compiler cannot create executables 2694See \`config.log' for more details" "$LINENO" 5; } 2695else 2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2697$as_echo "yes" >&6; } 2698fi 2699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2700$as_echo_n "checking for C compiler default output file name... " >&6; } 2701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2702$as_echo "$ac_file" >&6; } 2703ac_exeext=$ac_cv_exeext 2704 2705rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2706ac_clean_files=$ac_clean_files_save 2707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2708$as_echo_n "checking for suffix of executables... " >&6; } 2709if { { ac_try="$ac_link" 2710case "(($ac_try" in 2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2712 *) ac_try_echo=$ac_try;; 2713esac 2714eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2715$as_echo "$ac_try_echo"; } >&5 2716 (eval "$ac_link") 2>&5 2717 ac_status=$? 2718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2719 test $ac_status = 0; }; then : 2720 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2721# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2722# work properly (i.e., refer to `conftest.exe'), while it won't with 2723# `rm'. 2724for ac_file in conftest.exe conftest conftest.*; do 2725 test -f "$ac_file" || continue 2726 case $ac_file in 2727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2728 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2729 break;; 2730 * ) break;; 2731 esac 2732done 2733else 2734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2735$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2736as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2737See \`config.log' for more details" "$LINENO" 5; } 2738fi 2739rm -f conftest conftest$ac_cv_exeext 2740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2741$as_echo "$ac_cv_exeext" >&6; } 2742 2743rm -f conftest.$ac_ext 2744EXEEXT=$ac_cv_exeext 2745ac_exeext=$EXEEXT 2746cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2747/* end confdefs.h. */ 2748#include <stdio.h> 2749int 2750main () 2751{ 2752FILE *f = fopen ("conftest.out", "w"); 2753 return ferror (f) || fclose (f) != 0; 2754 2755 ; 2756 return 0; 2757} 2758_ACEOF 2759ac_clean_files="$ac_clean_files conftest.out" 2760# Check that the compiler produces executables we can run. If not, either 2761# the compiler is broken, or we cross compile. 2762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2763$as_echo_n "checking whether we are cross compiling... " >&6; } 2764if test "$cross_compiling" != yes; then 2765 { { ac_try="$ac_link" 2766case "(($ac_try" in 2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2768 *) ac_try_echo=$ac_try;; 2769esac 2770eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2771$as_echo "$ac_try_echo"; } >&5 2772 (eval "$ac_link") 2>&5 2773 ac_status=$? 2774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2775 test $ac_status = 0; } 2776 if { ac_try='./conftest$ac_cv_exeext' 2777 { { case "(($ac_try" in 2778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2779 *) ac_try_echo=$ac_try;; 2780esac 2781eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2782$as_echo "$ac_try_echo"; } >&5 2783 (eval "$ac_try") 2>&5 2784 ac_status=$? 2785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2786 test $ac_status = 0; }; }; then 2787 cross_compiling=no 2788 else 2789 if test "$cross_compiling" = maybe; then 2790 cross_compiling=yes 2791 else 2792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2793$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2794as_fn_error $? "cannot run C compiled programs. 2795If you meant to cross compile, use \`--host'. 2796See \`config.log' for more details" "$LINENO" 5; } 2797 fi 2798 fi 2799fi 2800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2801$as_echo "$cross_compiling" >&6; } 2802 2803rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2804ac_clean_files=$ac_clean_files_save 2805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2806$as_echo_n "checking for suffix of object files... " >&6; } 2807if ${ac_cv_objext+:} false; then : 2808 $as_echo_n "(cached) " >&6 2809else 2810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2811/* end confdefs.h. */ 2812 2813int 2814main () 2815{ 2816 2817 ; 2818 return 0; 2819} 2820_ACEOF 2821rm -f conftest.o conftest.obj 2822if { { ac_try="$ac_compile" 2823case "(($ac_try" in 2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2825 *) ac_try_echo=$ac_try;; 2826esac 2827eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2828$as_echo "$ac_try_echo"; } >&5 2829 (eval "$ac_compile") 2>&5 2830 ac_status=$? 2831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2832 test $ac_status = 0; }; then : 2833 for ac_file in conftest.o conftest.obj conftest.*; do 2834 test -f "$ac_file" || continue; 2835 case $ac_file in 2836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2837 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2838 break;; 2839 esac 2840done 2841else 2842 $as_echo "$as_me: failed program was:" >&5 2843sed 's/^/| /' conftest.$ac_ext >&5 2844 2845{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2846$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2847as_fn_error $? "cannot compute suffix of object files: cannot compile 2848See \`config.log' for more details" "$LINENO" 5; } 2849fi 2850rm -f conftest.$ac_cv_objext conftest.$ac_ext 2851fi 2852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2853$as_echo "$ac_cv_objext" >&6; } 2854OBJEXT=$ac_cv_objext 2855ac_objext=$OBJEXT 2856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2857$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2858if ${ac_cv_c_compiler_gnu+:} false; then : 2859 $as_echo_n "(cached) " >&6 2860else 2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2862/* end confdefs.h. */ 2863 2864int 2865main () 2866{ 2867#ifndef __GNUC__ 2868 choke me 2869#endif 2870 2871 ; 2872 return 0; 2873} 2874_ACEOF 2875if ac_fn_c_try_compile "$LINENO"; then : 2876 ac_compiler_gnu=yes 2877else 2878 ac_compiler_gnu=no 2879fi 2880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2881ac_cv_c_compiler_gnu=$ac_compiler_gnu 2882 2883fi 2884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2885$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2886if test $ac_compiler_gnu = yes; then 2887 GCC=yes 2888else 2889 GCC= 2890fi 2891ac_test_CFLAGS=${CFLAGS+set} 2892ac_save_CFLAGS=$CFLAGS 2893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2894$as_echo_n "checking whether $CC accepts -g... " >&6; } 2895if ${ac_cv_prog_cc_g+:} false; then : 2896 $as_echo_n "(cached) " >&6 2897else 2898 ac_save_c_werror_flag=$ac_c_werror_flag 2899 ac_c_werror_flag=yes 2900 ac_cv_prog_cc_g=no 2901 CFLAGS="-g" 2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2903/* end confdefs.h. */ 2904 2905int 2906main () 2907{ 2908 2909 ; 2910 return 0; 2911} 2912_ACEOF 2913if ac_fn_c_try_compile "$LINENO"; then : 2914 ac_cv_prog_cc_g=yes 2915else 2916 CFLAGS="" 2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2918/* end confdefs.h. */ 2919 2920int 2921main () 2922{ 2923 2924 ; 2925 return 0; 2926} 2927_ACEOF 2928if ac_fn_c_try_compile "$LINENO"; then : 2929 2930else 2931 ac_c_werror_flag=$ac_save_c_werror_flag 2932 CFLAGS="-g" 2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2934/* end confdefs.h. */ 2935 2936int 2937main () 2938{ 2939 2940 ; 2941 return 0; 2942} 2943_ACEOF 2944if ac_fn_c_try_compile "$LINENO"; then : 2945 ac_cv_prog_cc_g=yes 2946fi 2947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2948fi 2949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2950fi 2951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2952 ac_c_werror_flag=$ac_save_c_werror_flag 2953fi 2954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2955$as_echo "$ac_cv_prog_cc_g" >&6; } 2956if test "$ac_test_CFLAGS" = set; then 2957 CFLAGS=$ac_save_CFLAGS 2958elif test $ac_cv_prog_cc_g = yes; then 2959 if test "$GCC" = yes; then 2960 CFLAGS="-g -O2" 2961 else 2962 CFLAGS="-g" 2963 fi 2964else 2965 if test "$GCC" = yes; then 2966 CFLAGS="-O2" 2967 else 2968 CFLAGS= 2969 fi 2970fi 2971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2972$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2973if ${ac_cv_prog_cc_c89+:} false; then : 2974 $as_echo_n "(cached) " >&6 2975else 2976 ac_cv_prog_cc_c89=no 2977ac_save_CC=$CC 2978cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2979/* end confdefs.h. */ 2980#include <stdarg.h> 2981#include <stdio.h> 2982struct stat; 2983/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2984struct buf { int x; }; 2985FILE * (*rcsopen) (struct buf *, struct stat *, int); 2986static char *e (p, i) 2987 char **p; 2988 int i; 2989{ 2990 return p[i]; 2991} 2992static char *f (char * (*g) (char **, int), char **p, ...) 2993{ 2994 char *s; 2995 va_list v; 2996 va_start (v,p); 2997 s = g (p, va_arg (v,int)); 2998 va_end (v); 2999 return s; 3000} 3001 3002/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3003 function prototypes and stuff, but not '\xHH' hex character constants. 3004 These don't provoke an error unfortunately, instead are silently treated 3005 as 'x'. The following induces an error, until -std is added to get 3006 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3007 array size at least. It's necessary to write '\x00'==0 to get something 3008 that's true only with -std. */ 3009int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3010 3011/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3012 inside strings and character constants. */ 3013#define FOO(x) 'x' 3014int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3015 3016int test (int i, double x); 3017struct s1 {int (*f) (int a);}; 3018struct s2 {int (*f) (double a);}; 3019int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3020int argc; 3021char **argv; 3022int 3023main () 3024{ 3025return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3026 ; 3027 return 0; 3028} 3029_ACEOF 3030for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3031 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3032do 3033 CC="$ac_save_CC $ac_arg" 3034 if ac_fn_c_try_compile "$LINENO"; then : 3035 ac_cv_prog_cc_c89=$ac_arg 3036fi 3037rm -f core conftest.err conftest.$ac_objext 3038 test "x$ac_cv_prog_cc_c89" != "xno" && break 3039done 3040rm -f conftest.$ac_ext 3041CC=$ac_save_CC 3042 3043fi 3044# AC_CACHE_VAL 3045case "x$ac_cv_prog_cc_c89" in 3046 x) 3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3048$as_echo "none needed" >&6; } ;; 3049 xno) 3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3051$as_echo "unsupported" >&6; } ;; 3052 *) 3053 CC="$CC $ac_cv_prog_cc_c89" 3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3055$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3056esac 3057if test "x$ac_cv_prog_cc_c89" != xno; then : 3058 3059fi 3060 3061ac_ext=c 3062ac_cpp='$CPP $CPPFLAGS' 3063ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3064ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3065ac_compiler_gnu=$ac_cv_c_compiler_gnu 3066 3067ac_ext=cpp 3068ac_cpp='$CXXCPP $CPPFLAGS' 3069ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3070ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3071ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3072if test -z "$CXX"; then 3073 if test -n "$CCC"; then 3074 CXX=$CCC 3075 else 3076 if test -n "$ac_tool_prefix"; then 3077 for ac_prog in g++ xlC cxx cc++ aCC c++ 3078 do 3079 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3080set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3082$as_echo_n "checking for $ac_word... " >&6; } 3083if ${ac_cv_prog_CXX+:} false; then : 3084 $as_echo_n "(cached) " >&6 3085else 3086 if test -n "$CXX"; then 3087 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3088else 3089as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3090for as_dir in $PATH 3091do 3092 IFS=$as_save_IFS 3093 test -z "$as_dir" && as_dir=. 3094 for ac_exec_ext in '' $ac_executable_extensions; do 3095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3096 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3098 break 2 3099 fi 3100done 3101 done 3102IFS=$as_save_IFS 3103 3104fi 3105fi 3106CXX=$ac_cv_prog_CXX 3107if test -n "$CXX"; then 3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3109$as_echo "$CXX" >&6; } 3110else 3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3112$as_echo "no" >&6; } 3113fi 3114 3115 3116 test -n "$CXX" && break 3117 done 3118fi 3119if test -z "$CXX"; then 3120 ac_ct_CXX=$CXX 3121 for ac_prog in g++ xlC cxx cc++ aCC c++ 3122do 3123 # Extract the first word of "$ac_prog", so it can be a program name with args. 3124set dummy $ac_prog; ac_word=$2 3125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3126$as_echo_n "checking for $ac_word... " >&6; } 3127if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3128 $as_echo_n "(cached) " >&6 3129else 3130 if test -n "$ac_ct_CXX"; then 3131 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3132else 3133as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3134for as_dir in $PATH 3135do 3136 IFS=$as_save_IFS 3137 test -z "$as_dir" && as_dir=. 3138 for ac_exec_ext in '' $ac_executable_extensions; do 3139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3140 ac_cv_prog_ac_ct_CXX="$ac_prog" 3141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3142 break 2 3143 fi 3144done 3145 done 3146IFS=$as_save_IFS 3147 3148fi 3149fi 3150ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3151if test -n "$ac_ct_CXX"; then 3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3153$as_echo "$ac_ct_CXX" >&6; } 3154else 3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3156$as_echo "no" >&6; } 3157fi 3158 3159 3160 test -n "$ac_ct_CXX" && break 3161done 3162 3163 if test "x$ac_ct_CXX" = x; then 3164 CXX="g++" 3165 else 3166 case $cross_compiling:$ac_tool_warned in 3167yes:) 3168{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3169$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3170ac_tool_warned=yes ;; 3171esac 3172 CXX=$ac_ct_CXX 3173 fi 3174fi 3175 3176 fi 3177fi 3178# Provide some information about the compiler. 3179$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3180set X $ac_compile 3181ac_compiler=$2 3182for ac_option in --version -v -V -qversion; do 3183 { { ac_try="$ac_compiler $ac_option >&5" 3184case "(($ac_try" in 3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3186 *) ac_try_echo=$ac_try;; 3187esac 3188eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3189$as_echo "$ac_try_echo"; } >&5 3190 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3191 ac_status=$? 3192 if test -s conftest.err; then 3193 sed '10a\ 3194... rest of stderr output deleted ... 3195 10q' conftest.err >conftest.er1 3196 cat conftest.er1 >&5 3197 fi 3198 rm -f conftest.er1 conftest.err 3199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3200 test $ac_status = 0; } 3201done 3202 3203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3204$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3205if ${ac_cv_cxx_compiler_gnu+:} false; then : 3206 $as_echo_n "(cached) " >&6 3207else 3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3209/* end confdefs.h. */ 3210 3211int 3212main () 3213{ 3214#ifndef __GNUC__ 3215 choke me 3216#endif 3217 3218 ; 3219 return 0; 3220} 3221_ACEOF 3222if ac_fn_cxx_try_compile "$LINENO"; then : 3223 ac_compiler_gnu=yes 3224else 3225 ac_compiler_gnu=no 3226fi 3227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3228ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3229 3230fi 3231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3232$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3233if test $ac_compiler_gnu = yes; then 3234 GXX=yes 3235else 3236 GXX= 3237fi 3238ac_test_CXXFLAGS=${CXXFLAGS+set} 3239ac_save_CXXFLAGS=$CXXFLAGS 3240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3241$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3242if ${ac_cv_prog_cxx_g+:} false; then : 3243 $as_echo_n "(cached) " >&6 3244else 3245 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3246 ac_cxx_werror_flag=yes 3247 ac_cv_prog_cxx_g=no 3248 CXXFLAGS="-g" 3249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3250/* end confdefs.h. */ 3251 3252int 3253main () 3254{ 3255 3256 ; 3257 return 0; 3258} 3259_ACEOF 3260if ac_fn_cxx_try_compile "$LINENO"; then : 3261 ac_cv_prog_cxx_g=yes 3262else 3263 CXXFLAGS="" 3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3265/* end confdefs.h. */ 3266 3267int 3268main () 3269{ 3270 3271 ; 3272 return 0; 3273} 3274_ACEOF 3275if ac_fn_cxx_try_compile "$LINENO"; then : 3276 3277else 3278 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3279 CXXFLAGS="-g" 3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3281/* end confdefs.h. */ 3282 3283int 3284main () 3285{ 3286 3287 ; 3288 return 0; 3289} 3290_ACEOF 3291if ac_fn_cxx_try_compile "$LINENO"; then : 3292 ac_cv_prog_cxx_g=yes 3293fi 3294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3295fi 3296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3297fi 3298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3299 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3300fi 3301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3302$as_echo "$ac_cv_prog_cxx_g" >&6; } 3303if test "$ac_test_CXXFLAGS" = set; then 3304 CXXFLAGS=$ac_save_CXXFLAGS 3305elif test $ac_cv_prog_cxx_g = yes; then 3306 if test "$GXX" = yes; then 3307 CXXFLAGS="-g -O2" 3308 else 3309 CXXFLAGS="-g" 3310 fi 3311else 3312 if test "$GXX" = yes; then 3313 CXXFLAGS="-O2" 3314 else 3315 CXXFLAGS= 3316 fi 3317fi 3318ac_ext=c 3319ac_cpp='$CPP $CPPFLAGS' 3320ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3321ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3322ac_compiler_gnu=$ac_cv_c_compiler_gnu 3323 3324case $CC in 3325 gcc) EXCEPTION="-fexceptions"; 3326 STDCPLUS="-lstdc++"; 3327 case "$host_vendor" in 3328 apple) CFLAGS="-O3 -fvectorize -funroll-loops -D$CPUTYPE" ; 3329 SYSTEM="osx";; 3330 *) CFLAGS="-O3 -funroll-loops -fomit-frame-pointer -falign-loops=16 -D$CPUTYPE" ; 3331 SYSTEM="gcc";; 3332 esac ;; 3333 pgcc) CFLAGS="-B -fast "; 3334 SYSTEM="gcc";; 3335# icc) CFLAGS=" -O3 -tpp7 -xKW -pad -ip "; 3336 icc) CFLAGS+=" -fast "; 3337 SYSTEM="icc";; 3338 cc) case "$host_vendor" in 3339 ibm) CFLAGS="-O3 -Dinline='/*inline*/' -q cpluscmt -DIBM"; 3340 SYSTEM="aixcc";; 3341 *) CFLAGS="$CFLAGS" ; 3342 SYSTEM="gcc";; 3343 esac;; 3344 xlc) CFLAGS="-O3 -Dinline='/*inline*/' -q cpluscmt -DIBM"; 3345 SYSTEM="aixcc";; 3346 xlc_r) CFLAGS="-O3 -Dinline='/*inline*/' -q cpluscmt -DIBM"; 3347 SYSTEM="aixcc";; 3348 xlC) CFLAGS="-O3 -Dinline='/*inline*/' -q cpluscmt -DIBM"; 3349 SYSTEM="aixcc";; 3350 xlC_r) CFLAGS="-O3 -Dinline='/*inline*/' -q cpluscmt -DIBM"; 3351 SYSTEM="aixcc";; 3352esac 3353CFLAGS+=$USERFLAGS 3354echo "C-compiler: $CC" 3355echo "C++-compiler:$CXX" 3356echo "CFLAGS: $CFLAGS" 3357echo "======================================================================="; 3358 3359# Find a good install program. We prefer a C program (faster), 3360# so one script is as good as another. But avoid the broken or 3361# incompatible versions: 3362# SysV /etc/install, /usr/sbin/install 3363# SunOS /usr/etc/install 3364# IRIX /sbin/install 3365# AIX /bin/install 3366# AmigaOS /C/install, which installs bootblocks on floppy discs 3367# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3368# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3369# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3370# OS/2's system install, which has a completely different semantic 3371# ./install, which can be erroneously created by make from ./install.sh. 3372# Reject install programs that cannot install multiple files. 3373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3374$as_echo_n "checking for a BSD-compatible install... " >&6; } 3375if test -z "$INSTALL"; then 3376if ${ac_cv_path_install+:} false; then : 3377 $as_echo_n "(cached) " >&6 3378else 3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3380for as_dir in $PATH 3381do 3382 IFS=$as_save_IFS 3383 test -z "$as_dir" && as_dir=. 3384 # Account for people who put trailing slashes in PATH elements. 3385case $as_dir/ in #(( 3386 ./ | .// | /[cC]/* | \ 3387 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3388 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3389 /usr/ucb/* ) ;; 3390 *) 3391 # OSF1 and SCO ODT 3.0 have their own names for install. 3392 # Don't use installbsd from OSF since it installs stuff as root 3393 # by default. 3394 for ac_prog in ginstall scoinst install; do 3395 for ac_exec_ext in '' $ac_executable_extensions; do 3396 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3397 if test $ac_prog = install && 3398 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3399 # AIX install. It has an incompatible calling convention. 3400 : 3401 elif test $ac_prog = install && 3402 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3403 # program-specific install script used by HP pwplus--don't use. 3404 : 3405 else 3406 rm -rf conftest.one conftest.two conftest.dir 3407 echo one > conftest.one 3408 echo two > conftest.two 3409 mkdir conftest.dir 3410 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3411 test -s conftest.one && test -s conftest.two && 3412 test -s conftest.dir/conftest.one && 3413 test -s conftest.dir/conftest.two 3414 then 3415 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3416 break 3 3417 fi 3418 fi 3419 fi 3420 done 3421 done 3422 ;; 3423esac 3424 3425 done 3426IFS=$as_save_IFS 3427 3428rm -rf conftest.one conftest.two conftest.dir 3429 3430fi 3431 if test "${ac_cv_path_install+set}" = set; then 3432 INSTALL=$ac_cv_path_install 3433 else 3434 # As a last resort, use the slow shell script. Don't cache a 3435 # value for INSTALL within a source directory, because that will 3436 # break other packages using the cache if that directory is 3437 # removed, or if the value is a relative name. 3438 INSTALL=$ac_install_sh 3439 fi 3440fi 3441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3442$as_echo "$INSTALL" >&6; } 3443 3444# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3445# It thinks the first close brace ends the variable substitution. 3446test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3447 3448test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3449 3450test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3451 3452 3453 3454 3455RANDOMLIBS=" " 3456RANDOMCFLAG=" " 3457 3458TAR="tar" 3459 3460 3461THREADLIBS=" " 3462case "`$ac_config_guess`" in 3463 powerpc-apple-darwin*) LIBS=""; TAR="gnutar";; 3464 *) ;; 3465esac 3466 3467 3468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 3469$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 3470if ${ac_cv_lib_pthread_pthread_create+:} false; then : 3471 $as_echo_n "(cached) " >&6 3472else 3473 ac_check_lib_save_LIBS=$LIBS 3474LIBS="-lpthread $LIBS" 3475cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3476/* end confdefs.h. */ 3477 3478/* Override any GCC internal prototype to avoid an error. 3479 Use char because int might match the return type of a GCC 3480 builtin and then its argument prototype would still apply. */ 3481#ifdef __cplusplus 3482extern "C" 3483#endif 3484char pthread_create (); 3485int 3486main () 3487{ 3488return pthread_create (); 3489 ; 3490 return 0; 3491} 3492_ACEOF 3493if ac_fn_c_try_link "$LINENO"; then : 3494 ac_cv_lib_pthread_pthread_create=yes 3495else 3496 ac_cv_lib_pthread_pthread_create=no 3497fi 3498rm -f core conftest.err conftest.$ac_objext \ 3499 conftest$ac_exeext conftest.$ac_ext 3500LIBS=$ac_check_lib_save_LIBS 3501fi 3502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 3503$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 3504if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 3505 3506 pthreadlib=yes 3507 pthreadlib="-lpthread" 3508fi 3509 3510if test -n "$pthreadlib"; then 3511 THREADLIB="$pthreadlib" 3512fi 3513savelibs=$LIBS 3514 3515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Init in -lmpi" >&5 3516$as_echo_n "checking for MPI_Init in -lmpi... " >&6; } 3517if ${ac_cv_lib_mpi_MPI_Init+:} false; then : 3518 $as_echo_n "(cached) " >&6 3519else 3520 ac_check_lib_save_LIBS=$LIBS 3521LIBS="-lmpi $LIBS" 3522cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3523/* end confdefs.h. */ 3524 3525/* Override any GCC internal prototype to avoid an error. 3526 Use char because int might match the return type of a GCC 3527 builtin and then its argument prototype would still apply. */ 3528#ifdef __cplusplus 3529extern "C" 3530#endif 3531char MPI_Init (); 3532int 3533main () 3534{ 3535return MPI_Init (); 3536 ; 3537 return 0; 3538} 3539_ACEOF 3540if ac_fn_c_try_link "$LINENO"; then : 3541 ac_cv_lib_mpi_MPI_Init=yes 3542else 3543 ac_cv_lib_mpi_MPI_Init=no 3544fi 3545rm -f core conftest.err conftest.$ac_objext \ 3546 conftest$ac_exeext conftest.$ac_ext 3547LIBS=$ac_check_lib_save_LIBS 3548fi 3549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_MPI_Init" >&5 3550$as_echo "$ac_cv_lib_mpi_MPI_Init" >&6; } 3551if test "x$ac_cv_lib_mpi_MPI_Init" = xyes; then : 3552 cat >>confdefs.h <<_ACEOF 3553#define HAVE_LIBMPI 1 3554_ACEOF 3555 3556 LIBS="-lmpi $LIBS" 3557 3558fi 3559 3560 3561case "`$ac_config_guess`" in 3562 powerpc-apple-darwin*) MPICC="mpicc";; 3563 *aix*) MPICC="mpcc_r";; 3564 *) MPICC=mpicc;; 3565esac 3566LIBS=$savelibs 3567 3568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5 3569$as_echo_n "checking for exp in -lm... " >&6; } 3570if ${ac_cv_lib_m_exp+:} false; then : 3571 $as_echo_n "(cached) " >&6 3572else 3573 ac_check_lib_save_LIBS=$LIBS 3574LIBS="-lm $LIBS" 3575cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3576/* end confdefs.h. */ 3577 3578/* Override any GCC internal prototype to avoid an error. 3579 Use char because int might match the return type of a GCC 3580 builtin and then its argument prototype would still apply. */ 3581#ifdef __cplusplus 3582extern "C" 3583#endif 3584char exp (); 3585int 3586main () 3587{ 3588return exp (); 3589 ; 3590 return 0; 3591} 3592_ACEOF 3593if ac_fn_c_try_link "$LINENO"; then : 3594 ac_cv_lib_m_exp=yes 3595else 3596 ac_cv_lib_m_exp=no 3597fi 3598rm -f core conftest.err conftest.$ac_objext \ 3599 conftest$ac_exeext conftest.$ac_ext 3600LIBS=$ac_check_lib_save_LIBS 3601fi 3602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5 3603$as_echo "$ac_cv_lib_m_exp" >&6; } 3604if test "x$ac_cv_lib_m_exp" = xyes; then : 3605 cat >>confdefs.h <<_ACEOF 3606#define HAVE_LIBM 1 3607_ACEOF 3608 3609 LIBS="-lm $LIBS" 3610 3611fi 3612 3613 3614 3615ac_config_headers="$ac_config_headers conf.h" 3616 3617ac_ext=c 3618ac_cpp='$CPP $CPPFLAGS' 3619ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3620ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3621ac_compiler_gnu=$ac_cv_c_compiler_gnu 3622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3623$as_echo_n "checking how to run the C preprocessor... " >&6; } 3624# On Suns, sometimes $CPP names a directory. 3625if test -n "$CPP" && test -d "$CPP"; then 3626 CPP= 3627fi 3628if test -z "$CPP"; then 3629 if ${ac_cv_prog_CPP+:} false; then : 3630 $as_echo_n "(cached) " >&6 3631else 3632 # Double quotes because CPP needs to be expanded 3633 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3634 do 3635 ac_preproc_ok=false 3636for ac_c_preproc_warn_flag in '' yes 3637do 3638 # Use a header file that comes with gcc, so configuring glibc 3639 # with a fresh cross-compiler works. 3640 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3641 # <limits.h> exists even on freestanding compilers. 3642 # On the NeXT, cc -E runs the code through the compiler's parser, 3643 # not just through cpp. "Syntax error" is here to catch this case. 3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3645/* end confdefs.h. */ 3646#ifdef __STDC__ 3647# include <limits.h> 3648#else 3649# include <assert.h> 3650#endif 3651 Syntax error 3652_ACEOF 3653if ac_fn_c_try_cpp "$LINENO"; then : 3654 3655else 3656 # Broken: fails on valid input. 3657continue 3658fi 3659rm -f conftest.err conftest.i conftest.$ac_ext 3660 3661 # OK, works on sane cases. Now check whether nonexistent headers 3662 # can be detected and how. 3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3664/* end confdefs.h. */ 3665#include <ac_nonexistent.h> 3666_ACEOF 3667if ac_fn_c_try_cpp "$LINENO"; then : 3668 # Broken: success on invalid input. 3669continue 3670else 3671 # Passes both tests. 3672ac_preproc_ok=: 3673break 3674fi 3675rm -f conftest.err conftest.i conftest.$ac_ext 3676 3677done 3678# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3679rm -f conftest.i conftest.err conftest.$ac_ext 3680if $ac_preproc_ok; then : 3681 break 3682fi 3683 3684 done 3685 ac_cv_prog_CPP=$CPP 3686 3687fi 3688 CPP=$ac_cv_prog_CPP 3689else 3690 ac_cv_prog_CPP=$CPP 3691fi 3692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3693$as_echo "$CPP" >&6; } 3694ac_preproc_ok=false 3695for ac_c_preproc_warn_flag in '' yes 3696do 3697 # Use a header file that comes with gcc, so configuring glibc 3698 # with a fresh cross-compiler works. 3699 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3700 # <limits.h> exists even on freestanding compilers. 3701 # On the NeXT, cc -E runs the code through the compiler's parser, 3702 # not just through cpp. "Syntax error" is here to catch this case. 3703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3704/* end confdefs.h. */ 3705#ifdef __STDC__ 3706# include <limits.h> 3707#else 3708# include <assert.h> 3709#endif 3710 Syntax error 3711_ACEOF 3712if ac_fn_c_try_cpp "$LINENO"; then : 3713 3714else 3715 # Broken: fails on valid input. 3716continue 3717fi 3718rm -f conftest.err conftest.i conftest.$ac_ext 3719 3720 # OK, works on sane cases. Now check whether nonexistent headers 3721 # can be detected and how. 3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3723/* end confdefs.h. */ 3724#include <ac_nonexistent.h> 3725_ACEOF 3726if ac_fn_c_try_cpp "$LINENO"; then : 3727 # Broken: success on invalid input. 3728continue 3729else 3730 # Passes both tests. 3731ac_preproc_ok=: 3732break 3733fi 3734rm -f conftest.err conftest.i conftest.$ac_ext 3735 3736done 3737# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3738rm -f conftest.i conftest.err conftest.$ac_ext 3739if $ac_preproc_ok; then : 3740 3741else 3742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3743$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3744as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3745See \`config.log' for more details" "$LINENO" 5; } 3746fi 3747 3748ac_ext=c 3749ac_cpp='$CPP $CPPFLAGS' 3750ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3751ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3752ac_compiler_gnu=$ac_cv_c_compiler_gnu 3753 3754 3755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3756$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3757if ${ac_cv_path_GREP+:} false; then : 3758 $as_echo_n "(cached) " >&6 3759else 3760 if test -z "$GREP"; then 3761 ac_path_GREP_found=false 3762 # Loop through the user's path and test for each of PROGNAME-LIST 3763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3764for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3765do 3766 IFS=$as_save_IFS 3767 test -z "$as_dir" && as_dir=. 3768 for ac_prog in grep ggrep; do 3769 for ac_exec_ext in '' $ac_executable_extensions; do 3770 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3771 as_fn_executable_p "$ac_path_GREP" || continue 3772# Check for GNU ac_path_GREP and select it if it is found. 3773 # Check for GNU $ac_path_GREP 3774case `"$ac_path_GREP" --version 2>&1` in 3775*GNU*) 3776 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3777*) 3778 ac_count=0 3779 $as_echo_n 0123456789 >"conftest.in" 3780 while : 3781 do 3782 cat "conftest.in" "conftest.in" >"conftest.tmp" 3783 mv "conftest.tmp" "conftest.in" 3784 cp "conftest.in" "conftest.nl" 3785 $as_echo 'GREP' >> "conftest.nl" 3786 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3787 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3788 as_fn_arith $ac_count + 1 && ac_count=$as_val 3789 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3790 # Best one so far, save it but keep looking for a better one 3791 ac_cv_path_GREP="$ac_path_GREP" 3792 ac_path_GREP_max=$ac_count 3793 fi 3794 # 10*(2^10) chars as input seems more than enough 3795 test $ac_count -gt 10 && break 3796 done 3797 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3798esac 3799 3800 $ac_path_GREP_found && break 3 3801 done 3802 done 3803 done 3804IFS=$as_save_IFS 3805 if test -z "$ac_cv_path_GREP"; then 3806 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3807 fi 3808else 3809 ac_cv_path_GREP=$GREP 3810fi 3811 3812fi 3813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3814$as_echo "$ac_cv_path_GREP" >&6; } 3815 GREP="$ac_cv_path_GREP" 3816 3817 3818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3819$as_echo_n "checking for egrep... " >&6; } 3820if ${ac_cv_path_EGREP+:} false; then : 3821 $as_echo_n "(cached) " >&6 3822else 3823 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3824 then ac_cv_path_EGREP="$GREP -E" 3825 else 3826 if test -z "$EGREP"; then 3827 ac_path_EGREP_found=false 3828 # Loop through the user's path and test for each of PROGNAME-LIST 3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3830for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3831do 3832 IFS=$as_save_IFS 3833 test -z "$as_dir" && as_dir=. 3834 for ac_prog in egrep; do 3835 for ac_exec_ext in '' $ac_executable_extensions; do 3836 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3837 as_fn_executable_p "$ac_path_EGREP" || continue 3838# Check for GNU ac_path_EGREP and select it if it is found. 3839 # Check for GNU $ac_path_EGREP 3840case `"$ac_path_EGREP" --version 2>&1` in 3841*GNU*) 3842 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3843*) 3844 ac_count=0 3845 $as_echo_n 0123456789 >"conftest.in" 3846 while : 3847 do 3848 cat "conftest.in" "conftest.in" >"conftest.tmp" 3849 mv "conftest.tmp" "conftest.in" 3850 cp "conftest.in" "conftest.nl" 3851 $as_echo 'EGREP' >> "conftest.nl" 3852 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3853 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3854 as_fn_arith $ac_count + 1 && ac_count=$as_val 3855 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3856 # Best one so far, save it but keep looking for a better one 3857 ac_cv_path_EGREP="$ac_path_EGREP" 3858 ac_path_EGREP_max=$ac_count 3859 fi 3860 # 10*(2^10) chars as input seems more than enough 3861 test $ac_count -gt 10 && break 3862 done 3863 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3864esac 3865 3866 $ac_path_EGREP_found && break 3 3867 done 3868 done 3869 done 3870IFS=$as_save_IFS 3871 if test -z "$ac_cv_path_EGREP"; then 3872 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3873 fi 3874else 3875 ac_cv_path_EGREP=$EGREP 3876fi 3877 3878 fi 3879fi 3880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3881$as_echo "$ac_cv_path_EGREP" >&6; } 3882 EGREP="$ac_cv_path_EGREP" 3883 3884 3885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3886$as_echo_n "checking for ANSI C header files... " >&6; } 3887if ${ac_cv_header_stdc+:} false; then : 3888 $as_echo_n "(cached) " >&6 3889else 3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3891/* end confdefs.h. */ 3892#include <stdlib.h> 3893#include <stdarg.h> 3894#include <string.h> 3895#include <float.h> 3896 3897int 3898main () 3899{ 3900 3901 ; 3902 return 0; 3903} 3904_ACEOF 3905if ac_fn_c_try_compile "$LINENO"; then : 3906 ac_cv_header_stdc=yes 3907else 3908 ac_cv_header_stdc=no 3909fi 3910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3911 3912if test $ac_cv_header_stdc = yes; then 3913 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3915/* end confdefs.h. */ 3916#include <string.h> 3917 3918_ACEOF 3919if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3920 $EGREP "memchr" >/dev/null 2>&1; then : 3921 3922else 3923 ac_cv_header_stdc=no 3924fi 3925rm -f conftest* 3926 3927fi 3928 3929if test $ac_cv_header_stdc = yes; then 3930 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3932/* end confdefs.h. */ 3933#include <stdlib.h> 3934 3935_ACEOF 3936if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3937 $EGREP "free" >/dev/null 2>&1; then : 3938 3939else 3940 ac_cv_header_stdc=no 3941fi 3942rm -f conftest* 3943 3944fi 3945 3946if test $ac_cv_header_stdc = yes; then 3947 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3948 if test "$cross_compiling" = yes; then : 3949 : 3950else 3951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3952/* end confdefs.h. */ 3953#include <ctype.h> 3954#include <stdlib.h> 3955#if ((' ' & 0x0FF) == 0x020) 3956# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3957# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3958#else 3959# define ISLOWER(c) \ 3960 (('a' <= (c) && (c) <= 'i') \ 3961 || ('j' <= (c) && (c) <= 'r') \ 3962 || ('s' <= (c) && (c) <= 'z')) 3963# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3964#endif 3965 3966#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3967int 3968main () 3969{ 3970 int i; 3971 for (i = 0; i < 256; i++) 3972 if (XOR (islower (i), ISLOWER (i)) 3973 || toupper (i) != TOUPPER (i)) 3974 return 2; 3975 return 0; 3976} 3977_ACEOF 3978if ac_fn_c_try_run "$LINENO"; then : 3979 3980else 3981 ac_cv_header_stdc=no 3982fi 3983rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3984 conftest.$ac_objext conftest.beam conftest.$ac_ext 3985fi 3986 3987fi 3988fi 3989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3990$as_echo "$ac_cv_header_stdc" >&6; } 3991if test $ac_cv_header_stdc = yes; then 3992 3993$as_echo "#define STDC_HEADERS 1" >>confdefs.h 3994 3995fi 3996 3997# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3998for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3999 inttypes.h stdint.h unistd.h 4000do : 4001 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4002ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4003" 4004if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4005 cat >>confdefs.h <<_ACEOF 4006#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4007_ACEOF 4008 4009fi 4010 4011done 4012 4013 4014for ac_header in limits.h strings.h 4015do : 4016 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4017ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4018if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4019 cat >>confdefs.h <<_ACEOF 4020#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4021_ACEOF 4022 4023fi 4024 4025done 4026 4027 4028if test -n "$pthreadlib"; then 4029 for ac_header in pthread.h 4030do : 4031 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 4032if test "x$ac_cv_header_pthread_h" = xyes; then : 4033 cat >>confdefs.h <<_ACEOF 4034#define HAVE_PTHREAD_H 1 4035_ACEOF 4036 THREADCFLAGS="-D_REENTRANT -DPTHREADS" 4037fi 4038 4039done 4040 4041fi 4042 4043 4044case "`$ac_config_guess`" in 4045 powerpc-apple-darwin*) for ac_header in pthread.h 4046do : 4047 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 4048if test "x$ac_cv_header_pthread_h" = xyes; then : 4049 cat >>confdefs.h <<_ACEOF 4050#define HAVE_PTHREAD_H 1 4051_ACEOF 4052 THREADCFLAGS="-D_REENTRANT -DPTHREADS" 4053fi 4054 4055done 4056;; 4057 *) ;; 4058esac 4059 4060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 4061$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4062if ${ac_cv_c_const+:} false; then : 4063 $as_echo_n "(cached) " >&6 4064else 4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4066/* end confdefs.h. */ 4067 4068int 4069main () 4070{ 4071 4072#ifndef __cplusplus 4073 /* Ultrix mips cc rejects this sort of thing. */ 4074 typedef int charset[2]; 4075 const charset cs = { 0, 0 }; 4076 /* SunOS 4.1.1 cc rejects this. */ 4077 char const *const *pcpcc; 4078 char **ppc; 4079 /* NEC SVR4.0.2 mips cc rejects this. */ 4080 struct point {int x, y;}; 4081 static struct point const zero = {0,0}; 4082 /* AIX XL C 1.02.0.0 rejects this. 4083 It does not let you subtract one const X* pointer from another in 4084 an arm of an if-expression whose if-part is not a constant 4085 expression */ 4086 const char *g = "string"; 4087 pcpcc = &g + (g ? g-g : 0); 4088 /* HPUX 7.0 cc rejects these. */ 4089 ++pcpcc; 4090 ppc = (char**) pcpcc; 4091 pcpcc = (char const *const *) ppc; 4092 { /* SCO 3.2v4 cc rejects this sort of thing. */ 4093 char tx; 4094 char *t = &tx; 4095 char const *s = 0 ? (char *) 0 : (char const *) 0; 4096 4097 *t++ = 0; 4098 if (s) return 0; 4099 } 4100 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 4101 int x[] = {25, 17}; 4102 const int *foo = &x[0]; 4103 ++foo; 4104 } 4105 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 4106 typedef const int *iptr; 4107 iptr p = 0; 4108 ++p; 4109 } 4110 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 4111 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 4112 struct s { int j; const int *ap[3]; } bx; 4113 struct s *b = &bx; b->j = 5; 4114 } 4115 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4116 const int foo = 10; 4117 if (!foo) return 0; 4118 } 4119 return !cs[0] && !zero.x; 4120#endif 4121 4122 ; 4123 return 0; 4124} 4125_ACEOF 4126if ac_fn_c_try_compile "$LINENO"; then : 4127 ac_cv_c_const=yes 4128else 4129 ac_cv_c_const=no 4130fi 4131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4132fi 4133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 4134$as_echo "$ac_cv_c_const" >&6; } 4135if test $ac_cv_c_const = no; then 4136 4137$as_echo "#define const /**/" >>confdefs.h 4138 4139fi 4140 4141ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 4142if test "x$ac_cv_type_size_t" = xyes; then : 4143 4144else 4145 4146cat >>confdefs.h <<_ACEOF 4147#define size_t unsigned int 4148_ACEOF 4149 4150fi 4151 4152ac_fn_c_check_type "$LINENO" "int" "ac_cv_type_int" "$ac_includes_default" 4153if test "x$ac_cv_type_int" = xyes; then : 4154 4155else 4156 4157cat >>confdefs.h <<_ACEOF 4158#define int long 4159_ACEOF 4160 4161fi 4162 4163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 4164$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 4165if ${ac_cv_struct_tm+:} false; then : 4166 $as_echo_n "(cached) " >&6 4167else 4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4169/* end confdefs.h. */ 4170#include <sys/types.h> 4171#include <time.h> 4172 4173int 4174main () 4175{ 4176struct tm tm; 4177 int *p = &tm.tm_sec; 4178 return !p; 4179 ; 4180 return 0; 4181} 4182_ACEOF 4183if ac_fn_c_try_compile "$LINENO"; then : 4184 ac_cv_struct_tm=time.h 4185else 4186 ac_cv_struct_tm=sys/time.h 4187fi 4188rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4189fi 4190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 4191$as_echo "$ac_cv_struct_tm" >&6; } 4192if test $ac_cv_struct_tm = sys/time.h; then 4193 4194$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 4195 4196fi 4197 4198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 4199$as_echo_n "checking for inline... " >&6; } 4200if ${ac_cv_c_inline+:} false; then : 4201 $as_echo_n "(cached) " >&6 4202else 4203 ac_cv_c_inline=no 4204for ac_kw in inline __inline__ __inline; do 4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4206/* end confdefs.h. */ 4207#ifndef __cplusplus 4208typedef int foo_t; 4209static $ac_kw foo_t static_foo () {return 0; } 4210$ac_kw foo_t foo () {return 0; } 4211#endif 4212 4213_ACEOF 4214if ac_fn_c_try_compile "$LINENO"; then : 4215 ac_cv_c_inline=$ac_kw 4216fi 4217rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4218 test "$ac_cv_c_inline" != no && break 4219done 4220 4221fi 4222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 4223$as_echo "$ac_cv_c_inline" >&6; } 4224 4225case $ac_cv_c_inline in 4226 inline | yes) ;; 4227 *) 4228 case $ac_cv_c_inline in 4229 no) ac_val=;; 4230 *) ac_val=$ac_cv_c_inline;; 4231 esac 4232 cat >>confdefs.h <<_ACEOF 4233#ifndef __cplusplus 4234#define inline $ac_val 4235#endif 4236_ACEOF 4237 ;; 4238esac 4239 4240 4241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 4242$as_echo_n "checking return type of signal handlers... " >&6; } 4243if ${ac_cv_type_signal+:} false; then : 4244 $as_echo_n "(cached) " >&6 4245else 4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4247/* end confdefs.h. */ 4248#include <sys/types.h> 4249#include <signal.h> 4250 4251int 4252main () 4253{ 4254return *(signal (0, 0)) (0) == 1; 4255 ; 4256 return 0; 4257} 4258_ACEOF 4259if ac_fn_c_try_compile "$LINENO"; then : 4260 ac_cv_type_signal=int 4261else 4262 ac_cv_type_signal=void 4263fi 4264rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4265fi 4266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 4267$as_echo "$ac_cv_type_signal" >&6; } 4268 4269cat >>confdefs.h <<_ACEOF 4270#define RETSIGTYPE $ac_cv_type_signal 4271_ACEOF 4272 4273 4274for ac_func in strftime 4275do : 4276 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" 4277if test "x$ac_cv_func_strftime" = xyes; then : 4278 cat >>confdefs.h <<_ACEOF 4279#define HAVE_STRFTIME 1 4280_ACEOF 4281 4282else 4283 # strftime is in -lintl on SCO UNIX. 4284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 4285$as_echo_n "checking for strftime in -lintl... " >&6; } 4286if ${ac_cv_lib_intl_strftime+:} false; then : 4287 $as_echo_n "(cached) " >&6 4288else 4289 ac_check_lib_save_LIBS=$LIBS 4290LIBS="-lintl $LIBS" 4291cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4292/* end confdefs.h. */ 4293 4294/* Override any GCC internal prototype to avoid an error. 4295 Use char because int might match the return type of a GCC 4296 builtin and then its argument prototype would still apply. */ 4297#ifdef __cplusplus 4298extern "C" 4299#endif 4300char strftime (); 4301int 4302main () 4303{ 4304return strftime (); 4305 ; 4306 return 0; 4307} 4308_ACEOF 4309if ac_fn_c_try_link "$LINENO"; then : 4310 ac_cv_lib_intl_strftime=yes 4311else 4312 ac_cv_lib_intl_strftime=no 4313fi 4314rm -f core conftest.err conftest.$ac_objext \ 4315 conftest$ac_exeext conftest.$ac_ext 4316LIBS=$ac_check_lib_save_LIBS 4317fi 4318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 4319$as_echo "$ac_cv_lib_intl_strftime" >&6; } 4320if test "x$ac_cv_lib_intl_strftime" = xyes; then : 4321 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h 4322 4323LIBS="-lintl $LIBS" 4324fi 4325 4326fi 4327done 4328 4329for ac_func in strcspn 4330do : 4331 ac_fn_c_check_func "$LINENO" "strcspn" "ac_cv_func_strcspn" 4332if test "x$ac_cv_func_strcspn" = xyes; then : 4333 cat >>confdefs.h <<_ACEOF 4334#define HAVE_STRCSPN 1 4335_ACEOF 4336 4337fi 4338done 4339 4340for ac_func in strsep 4341do : 4342 ac_fn_c_check_func "$LINENO" "strsep" "ac_cv_func_strsep" 4343if test "x$ac_cv_func_strsep" = xyes; then : 4344 cat >>confdefs.h <<_ACEOF 4345#define HAVE_STRSEP 1 4346_ACEOF 4347 4348fi 4349done 4350 4351 4352case "`$ac_config_guess`" in 4353 *aix*) ;; 4354 *) for ac_func in lgamma 4355do : 4356 ac_fn_c_check_func "$LINENO" "lgamma" "ac_cv_func_lgamma" 4357if test "x$ac_cv_func_lgamma" = xyes; then : 4358 cat >>confdefs.h <<_ACEOF 4359#define HAVE_LGAMMA 1 4360_ACEOF 4361 4362fi 4363done 4364;; 4365esac 4366 4367 4368ARCH="" 4369# Check whether --enable-allmac was given. 4370if test "${enable_allmac+set}" = set; then : 4371 enableval=$enable_allmac; have_allmac=$enableval 4372else 4373 have_allmac=no 4374fi 4375 4376 4377# Check whether --enable-macintel was given. 4378if test "${enable_macintel+set}" = set; then : 4379 enableval=$enable_macintel; have_macintel=$enableval 4380else 4381 have_macintel=no 4382fi 4383 4384 4385 4386MACOSVERSION="" 4387 4388if test "$have_allmac" = "yes"; then 4389 4390$as_echo "#define HAVE_ALLMAC 1" >>confdefs.h 4391 4392 ARCH=" -arch x86_64 " 4393 MACOSVERSION=" -mmacosx-version-min=10.6" 4394 CPUTYPE="Intel" 4395 OSTYPE="MacOS10.6" 4396fi 4397 4398if test "$have_macintel" = "yes"; then 4399 4400$as_echo "#define HAVE_MACINTEL 1" >>confdefs.h 4401 4402 ARCH=" -arch x86_64 " 4403 MACOSVERSION=" -mmacosx-version-min=10.6" 4404 CPUTYPE="Intel" 4405 OSTYPE="MacOS10.6" 4406fi 4407 4408 4409 4410 4411 4412 4413# Check whether --with-zlib was given. 4414if test "${with_zlib+set}" = set; then : 4415 withval=$with_zlib; zlib=$withval 4416else 4417 zlib=detect 4418 4419fi 4420 4421 4422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which zlib implementation to use" >&5 4423$as_echo_n "checking which zlib implementation to use... " >&6; } 4424case "$zlib" in 4425 "detect") 4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: autodetect" >&5 4427$as_echo "autodetect" >&6; } 4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lz" >&5 4429$as_echo_n "checking for main in -lz... " >&6; } 4430if ${ac_cv_lib_z_main+:} false; then : 4431 $as_echo_n "(cached) " >&6 4432else 4433 ac_check_lib_save_LIBS=$LIBS 4434LIBS="-lz $LIBS" 4435cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4436/* end confdefs.h. */ 4437 4438 4439int 4440main () 4441{ 4442return main (); 4443 ; 4444 return 0; 4445} 4446_ACEOF 4447if ac_fn_c_try_link "$LINENO"; then : 4448 ac_cv_lib_z_main=yes 4449else 4450 ac_cv_lib_z_main=no 4451fi 4452rm -f core conftest.err conftest.$ac_objext \ 4453 conftest$ac_exeext conftest.$ac_ext 4454LIBS=$ac_check_lib_save_LIBS 4455fi 4456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_main" >&5 4457$as_echo "$ac_cv_lib_z_main" >&6; } 4458if test "x$ac_cv_lib_z_main" = xyes; then : 4459 zlib="system" 4460else 4461 zlib="shipped" 4462 4463fi 4464 4465 ;; 4466 "shipped") 4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: shipped" >&5 4468$as_echo "shipped" >&6; } 4469 (cd zlib;configure -static) 4470 ;; 4471 "system") 4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system" >&5 4473$as_echo "system" >&6; } 4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lz" >&5 4475$as_echo_n "checking for main in -lz... " >&6; } 4476if ${ac_cv_lib_z_main+:} false; then : 4477 $as_echo_n "(cached) " >&6 4478else 4479 ac_check_lib_save_LIBS=$LIBS 4480LIBS="-lz $LIBS" 4481cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4482/* end confdefs.h. */ 4483 4484 4485int 4486main () 4487{ 4488return main (); 4489 ; 4490 return 0; 4491} 4492_ACEOF 4493if ac_fn_c_try_link "$LINENO"; then : 4494 ac_cv_lib_z_main=yes 4495else 4496 ac_cv_lib_z_main=no 4497fi 4498rm -f core conftest.err conftest.$ac_objext \ 4499 conftest$ac_exeext conftest.$ac_ext 4500LIBS=$ac_check_lib_save_LIBS 4501fi 4502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_main" >&5 4503$as_echo "$ac_cv_lib_z_main" >&6; } 4504if test "x$ac_cv_lib_z_main" = xyes; then : 4505 zlib="system" 4506else 4507 as_fn_error $? "migrate did not find zlib on your system" "$LINENO" 5 4508 4509fi 4510 4511 ;; 4512 "no") 4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 4514$as_echo "none" >&6; } 4515 #AC_MSG_ERROR([migrate setting changed so that no compression is available]) 4516 ;; 4517 *) 4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 4519$as_echo "" >&6; } 4520 as_fn_error $? "Unknown zlib option \"$zlib\". Use either \"system\" or \"shipped\"." "$LINENO" 5 4521 ;; 4522esac 4523if [ "$zlib" = "shipped" ]; then 4524 ZLIB="-lz" 4525 ZLIBDIR="-Lzlib" 4526 ZLIBINCL="-Izlib" 4527 ZLIBHARUINCL="-I../zlib" 4528 ZLIBTARGET="zlib" 4529 NOZLIB="" 4530 HAVE_ZNZ=" -DHAVE_ZLIB -DZNZ" 4531# AC_CONFIG_FILES(zlib/Makefile) 4532elif [ "$zlib" = "system" ]; then 4533 ZLIB="-lz" 4534 ZLIBDIR="" 4535 ZLIBINCL="" 4536 ZLIBHARUINCL="" 4537 ZLIBTARGET="zlibsystem" 4538 NOZLIB="" 4539 HAVE_ZNZ=" -DHAVE_ZLIB -DZNZ" 4540 for ac_func in gzbuffer 4541do : 4542 ac_fn_c_check_func "$LINENO" "gzbuffer" "ac_cv_func_gzbuffer" 4543if test "x$ac_cv_func_gzbuffer" = xyes; then : 4544 cat >>confdefs.h <<_ACEOF 4545#define HAVE_GZBUFFER 1 4546_ACEOF 4547 4548fi 4549done 4550 4551elif [ "$zlib" = "no" ]; then 4552 ZLIB="" 4553 ZLIBDIR="" 4554 ZLIBINCL="" 4555 ZLIBHARUINCL="" 4556 ZLIBTARGET="" 4557 NOZLIB="-DNOZLIB" 4558 HAVE_ZNZ="" 4559fi 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570HARDWARECFLAGS="" 4571# Check whether --enable-sse2 was given. 4572if test "${enable_sse2+set}" = set; then : 4573 enableval=$enable_sse2; have_sse2=$enableval 4574else 4575 have_sse2=no 4576fi 4577 4578 4579# Check whether --enable-altivec was given. 4580if test "${enable_altivec+set}" = set; then : 4581 enableval=$enable_altivec; have_altivec=$enableval 4582else 4583 have_altivec=no 4584fi 4585 4586 4587if test "$have_allmac" = "no"; then 4588if test "$have_sse2" = "yes"; then 4589 4590$as_echo "#define HAVE_SSE2 1" >>confdefs.h 4591 4592 HARDWARECFLAGS="-msse2 -DSSE2" 4593fi 4594 4595if test "$have_altivec" = "yes"; then 4596 4597$as_echo "#define HAVE_ALTIVEC 1" >>confdefs.h 4598 4599 HARDWARECFLAGS=" -faltivec -maltivec" 4600fi 4601fi 4602 4603 4604MT_FILES="SFMT.c" 4605# SFMT.h SFMT-params19937.h" 4606if test "$have_sse2" = "yes"; then 4607MT_FILES="SFMT.c" 4608# SFMT.h SFMT-sse2.h SFMT-sse2.c" 4609fi 4610if test "$have_altivec" = "yes"; then 4611MT_FILES="SFMT.c" 4612# SFMT.h SFMT-alti.h SFMT-alti.c" 4613fi 4614#echo "Copying source from Mersenne-Twister directory into main source directory" 4615sh copy_mt_to_src 4616 4617 4618PAPERFORMAT="-DLETTERPAPER" 4619# Check whether --enable-A4 was given. 4620if test "${enable_A4+set}" = set; then : 4621 enableval=$enable_A4; have_A4=$enableval 4622else 4623 have_A4=no 4624fi 4625 4626 4627if test "$have_A4" = "yes"; then 4628 PAPERFORMAT="-DA4PAPER" 4629fi 4630 4631 4632 4633 4634ac_config_files="$ac_config_files Makefile" 4635 4636cat >confcache <<\_ACEOF 4637# This file is a shell script that caches the results of configure 4638# tests run on this system so they can be shared between configure 4639# scripts and configure runs, see configure's option --config-cache. 4640# It is not useful on other systems. If it contains results you don't 4641# want to keep, you may remove or edit it. 4642# 4643# config.status only pays attention to the cache file if you give it 4644# the --recheck option to rerun configure. 4645# 4646# `ac_cv_env_foo' variables (set or unset) will be overridden when 4647# loading this file, other *unset* `ac_cv_foo' will be assigned the 4648# following values. 4649 4650_ACEOF 4651 4652# The following way of writing the cache mishandles newlines in values, 4653# but we know of no workaround that is simple, portable, and efficient. 4654# So, we kill variables containing newlines. 4655# Ultrix sh set writes to stderr and can't be redirected directly, 4656# and sets the high bit in the cache file unless we assign to the vars. 4657( 4658 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4659 eval ac_val=\$$ac_var 4660 case $ac_val in #( 4661 *${as_nl}*) 4662 case $ac_var in #( 4663 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4664$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4665 esac 4666 case $ac_var in #( 4667 _ | IFS | as_nl) ;; #( 4668 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4669 *) { eval $ac_var=; unset $ac_var;} ;; 4670 esac ;; 4671 esac 4672 done 4673 4674 (set) 2>&1 | 4675 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4676 *${as_nl}ac_space=\ *) 4677 # `set' does not quote correctly, so add quotes: double-quote 4678 # substitution turns \\\\ into \\, and sed turns \\ into \. 4679 sed -n \ 4680 "s/'/'\\\\''/g; 4681 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4682 ;; #( 4683 *) 4684 # `set' quotes correctly as required by POSIX, so do not add quotes. 4685 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4686 ;; 4687 esac | 4688 sort 4689) | 4690 sed ' 4691 /^ac_cv_env_/b end 4692 t clear 4693 :clear 4694 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4695 t end 4696 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4697 :end' >>confcache 4698if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4699 if test -w "$cache_file"; then 4700 if test "x$cache_file" != "x/dev/null"; then 4701 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4702$as_echo "$as_me: updating cache $cache_file" >&6;} 4703 if test ! -f "$cache_file" || test -h "$cache_file"; then 4704 cat confcache >"$cache_file" 4705 else 4706 case $cache_file in #( 4707 */* | ?:*) 4708 mv -f confcache "$cache_file"$$ && 4709 mv -f "$cache_file"$$ "$cache_file" ;; #( 4710 *) 4711 mv -f confcache "$cache_file" ;; 4712 esac 4713 fi 4714 fi 4715 else 4716 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4717$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4718 fi 4719fi 4720rm -f confcache 4721 4722test "x$prefix" = xNONE && prefix=$ac_default_prefix 4723# Let make expand exec_prefix. 4724test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4725 4726DEFS=-DHAVE_CONFIG_H 4727 4728ac_libobjs= 4729ac_ltlibobjs= 4730U= 4731for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4732 # 1. Remove the extension, and $U if already installed. 4733 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4734 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4735 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4736 # will be set to the directory where LIBOBJS objects are built. 4737 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4738 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4739done 4740LIBOBJS=$ac_libobjs 4741 4742LTLIBOBJS=$ac_ltlibobjs 4743 4744 4745 4746: "${CONFIG_STATUS=./config.status}" 4747ac_write_fail=0 4748ac_clean_files_save=$ac_clean_files 4749ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4750{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4751$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4752as_write_fail=0 4753cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4754#! $SHELL 4755# Generated by $as_me. 4756# Run this file to recreate the current configuration. 4757# Compiler output produced by configure, useful for debugging 4758# configure, is in config.log if it exists. 4759 4760debug=false 4761ac_cs_recheck=false 4762ac_cs_silent=false 4763 4764SHELL=\${CONFIG_SHELL-$SHELL} 4765export SHELL 4766_ASEOF 4767cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4768## -------------------- ## 4769## M4sh Initialization. ## 4770## -------------------- ## 4771 4772# Be more Bourne compatible 4773DUALCASE=1; export DUALCASE # for MKS sh 4774if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4775 emulate sh 4776 NULLCMD=: 4777 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4778 # is contrary to our usage. Disable this feature. 4779 alias -g '${1+"$@"}'='"$@"' 4780 setopt NO_GLOB_SUBST 4781else 4782 case `(set -o) 2>/dev/null` in #( 4783 *posix*) : 4784 set -o posix ;; #( 4785 *) : 4786 ;; 4787esac 4788fi 4789 4790 4791as_nl=' 4792' 4793export as_nl 4794# Printing a long string crashes Solaris 7 /usr/bin/printf. 4795as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4796as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4797as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4798# Prefer a ksh shell builtin over an external printf program on Solaris, 4799# but without wasting forks for bash or zsh. 4800if test -z "$BASH_VERSION$ZSH_VERSION" \ 4801 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4802 as_echo='print -r --' 4803 as_echo_n='print -rn --' 4804elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4805 as_echo='printf %s\n' 4806 as_echo_n='printf %s' 4807else 4808 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4809 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4810 as_echo_n='/usr/ucb/echo -n' 4811 else 4812 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4813 as_echo_n_body='eval 4814 arg=$1; 4815 case $arg in #( 4816 *"$as_nl"*) 4817 expr "X$arg" : "X\\(.*\\)$as_nl"; 4818 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4819 esac; 4820 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4821 ' 4822 export as_echo_n_body 4823 as_echo_n='sh -c $as_echo_n_body as_echo' 4824 fi 4825 export as_echo_body 4826 as_echo='sh -c $as_echo_body as_echo' 4827fi 4828 4829# The user is always right. 4830if test "${PATH_SEPARATOR+set}" != set; then 4831 PATH_SEPARATOR=: 4832 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4833 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4834 PATH_SEPARATOR=';' 4835 } 4836fi 4837 4838 4839# IFS 4840# We need space, tab and new line, in precisely that order. Quoting is 4841# there to prevent editors from complaining about space-tab. 4842# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4843# splitting by setting IFS to empty value.) 4844IFS=" "" $as_nl" 4845 4846# Find who we are. Look in the path if we contain no directory separator. 4847as_myself= 4848case $0 in #(( 4849 *[\\/]* ) as_myself=$0 ;; 4850 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4851for as_dir in $PATH 4852do 4853 IFS=$as_save_IFS 4854 test -z "$as_dir" && as_dir=. 4855 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4856 done 4857IFS=$as_save_IFS 4858 4859 ;; 4860esac 4861# We did not find ourselves, most probably we were run as `sh COMMAND' 4862# in which case we are not to be found in the path. 4863if test "x$as_myself" = x; then 4864 as_myself=$0 4865fi 4866if test ! -f "$as_myself"; then 4867 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4868 exit 1 4869fi 4870 4871# Unset variables that we do not need and which cause bugs (e.g. in 4872# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4873# suppresses any "Segmentation fault" message there. '((' could 4874# trigger a bug in pdksh 5.2.14. 4875for as_var in BASH_ENV ENV MAIL MAILPATH 4876do eval test x\${$as_var+set} = xset \ 4877 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4878done 4879PS1='$ ' 4880PS2='> ' 4881PS4='+ ' 4882 4883# NLS nuisances. 4884LC_ALL=C 4885export LC_ALL 4886LANGUAGE=C 4887export LANGUAGE 4888 4889# CDPATH. 4890(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4891 4892 4893# as_fn_error STATUS ERROR [LINENO LOG_FD] 4894# ---------------------------------------- 4895# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4896# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4897# script with STATUS, using 1 if that was 0. 4898as_fn_error () 4899{ 4900 as_status=$1; test $as_status -eq 0 && as_status=1 4901 if test "$4"; then 4902 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4903 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4904 fi 4905 $as_echo "$as_me: error: $2" >&2 4906 as_fn_exit $as_status 4907} # as_fn_error 4908 4909 4910# as_fn_set_status STATUS 4911# ----------------------- 4912# Set $? to STATUS, without forking. 4913as_fn_set_status () 4914{ 4915 return $1 4916} # as_fn_set_status 4917 4918# as_fn_exit STATUS 4919# ----------------- 4920# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4921as_fn_exit () 4922{ 4923 set +e 4924 as_fn_set_status $1 4925 exit $1 4926} # as_fn_exit 4927 4928# as_fn_unset VAR 4929# --------------- 4930# Portably unset VAR. 4931as_fn_unset () 4932{ 4933 { eval $1=; unset $1;} 4934} 4935as_unset=as_fn_unset 4936# as_fn_append VAR VALUE 4937# ---------------------- 4938# Append the text in VALUE to the end of the definition contained in VAR. Take 4939# advantage of any shell optimizations that allow amortized linear growth over 4940# repeated appends, instead of the typical quadratic growth present in naive 4941# implementations. 4942if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4943 eval 'as_fn_append () 4944 { 4945 eval $1+=\$2 4946 }' 4947else 4948 as_fn_append () 4949 { 4950 eval $1=\$$1\$2 4951 } 4952fi # as_fn_append 4953 4954# as_fn_arith ARG... 4955# ------------------ 4956# Perform arithmetic evaluation on the ARGs, and store the result in the 4957# global $as_val. Take advantage of shells that can avoid forks. The arguments 4958# must be portable across $(()) and expr. 4959if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4960 eval 'as_fn_arith () 4961 { 4962 as_val=$(( $* )) 4963 }' 4964else 4965 as_fn_arith () 4966 { 4967 as_val=`expr "$@" || test $? -eq 1` 4968 } 4969fi # as_fn_arith 4970 4971 4972if expr a : '\(a\)' >/dev/null 2>&1 && 4973 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4974 as_expr=expr 4975else 4976 as_expr=false 4977fi 4978 4979if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4980 as_basename=basename 4981else 4982 as_basename=false 4983fi 4984 4985if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4986 as_dirname=dirname 4987else 4988 as_dirname=false 4989fi 4990 4991as_me=`$as_basename -- "$0" || 4992$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4993 X"$0" : 'X\(//\)$' \| \ 4994 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4995$as_echo X/"$0" | 4996 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4997 s//\1/ 4998 q 4999 } 5000 /^X\/\(\/\/\)$/{ 5001 s//\1/ 5002 q 5003 } 5004 /^X\/\(\/\).*/{ 5005 s//\1/ 5006 q 5007 } 5008 s/.*/./; q'` 5009 5010# Avoid depending upon Character Ranges. 5011as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5012as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5013as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5014as_cr_digits='0123456789' 5015as_cr_alnum=$as_cr_Letters$as_cr_digits 5016 5017ECHO_C= ECHO_N= ECHO_T= 5018case `echo -n x` in #((((( 5019-n*) 5020 case `echo 'xy\c'` in 5021 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5022 xy) ECHO_C='\c';; 5023 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5024 ECHO_T=' ';; 5025 esac;; 5026*) 5027 ECHO_N='-n';; 5028esac 5029 5030rm -f conf$$ conf$$.exe conf$$.file 5031if test -d conf$$.dir; then 5032 rm -f conf$$.dir/conf$$.file 5033else 5034 rm -f conf$$.dir 5035 mkdir conf$$.dir 2>/dev/null 5036fi 5037if (echo >conf$$.file) 2>/dev/null; then 5038 if ln -s conf$$.file conf$$ 2>/dev/null; then 5039 as_ln_s='ln -s' 5040 # ... but there are two gotchas: 5041 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5042 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5043 # In both cases, we have to default to `cp -pR'. 5044 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5045 as_ln_s='cp -pR' 5046 elif ln conf$$.file conf$$ 2>/dev/null; then 5047 as_ln_s=ln 5048 else 5049 as_ln_s='cp -pR' 5050 fi 5051else 5052 as_ln_s='cp -pR' 5053fi 5054rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5055rmdir conf$$.dir 2>/dev/null 5056 5057 5058# as_fn_mkdir_p 5059# ------------- 5060# Create "$as_dir" as a directory, including parents if necessary. 5061as_fn_mkdir_p () 5062{ 5063 5064 case $as_dir in #( 5065 -*) as_dir=./$as_dir;; 5066 esac 5067 test -d "$as_dir" || eval $as_mkdir_p || { 5068 as_dirs= 5069 while :; do 5070 case $as_dir in #( 5071 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5072 *) as_qdir=$as_dir;; 5073 esac 5074 as_dirs="'$as_qdir' $as_dirs" 5075 as_dir=`$as_dirname -- "$as_dir" || 5076$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5077 X"$as_dir" : 'X\(//\)[^/]' \| \ 5078 X"$as_dir" : 'X\(//\)$' \| \ 5079 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5080$as_echo X"$as_dir" | 5081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5082 s//\1/ 5083 q 5084 } 5085 /^X\(\/\/\)[^/].*/{ 5086 s//\1/ 5087 q 5088 } 5089 /^X\(\/\/\)$/{ 5090 s//\1/ 5091 q 5092 } 5093 /^X\(\/\).*/{ 5094 s//\1/ 5095 q 5096 } 5097 s/.*/./; q'` 5098 test -d "$as_dir" && break 5099 done 5100 test -z "$as_dirs" || eval "mkdir $as_dirs" 5101 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5102 5103 5104} # as_fn_mkdir_p 5105if mkdir -p . 2>/dev/null; then 5106 as_mkdir_p='mkdir -p "$as_dir"' 5107else 5108 test -d ./-p && rmdir ./-p 5109 as_mkdir_p=false 5110fi 5111 5112 5113# as_fn_executable_p FILE 5114# ----------------------- 5115# Test if FILE is an executable regular file. 5116as_fn_executable_p () 5117{ 5118 test -f "$1" && test -x "$1" 5119} # as_fn_executable_p 5120as_test_x='test -x' 5121as_executable_p=as_fn_executable_p 5122 5123# Sed expression to map a string onto a valid CPP name. 5124as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5125 5126# Sed expression to map a string onto a valid variable name. 5127as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5128 5129 5130exec 6>&1 5131## ----------------------------------- ## 5132## Main body of $CONFIG_STATUS script. ## 5133## ----------------------------------- ## 5134_ASEOF 5135test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5136 5137cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5138# Save the log message, to keep $0 and so on meaningful, and to 5139# report actual input values of CONFIG_FILES etc. instead of their 5140# values after options handling. 5141ac_log=" 5142This file was extended by $as_me, which was 5143generated by GNU Autoconf 2.69. Invocation command line was 5144 5145 CONFIG_FILES = $CONFIG_FILES 5146 CONFIG_HEADERS = $CONFIG_HEADERS 5147 CONFIG_LINKS = $CONFIG_LINKS 5148 CONFIG_COMMANDS = $CONFIG_COMMANDS 5149 $ $0 $@ 5150 5151on `(hostname || uname -n) 2>/dev/null | sed 1q` 5152" 5153 5154_ACEOF 5155 5156case $ac_config_files in *" 5157"*) set x $ac_config_files; shift; ac_config_files=$*;; 5158esac 5159 5160case $ac_config_headers in *" 5161"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 5162esac 5163 5164 5165cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5166# Files that config.status was made for. 5167config_files="$ac_config_files" 5168config_headers="$ac_config_headers" 5169 5170_ACEOF 5171 5172cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5173ac_cs_usage="\ 5174\`$as_me' instantiates files and other configuration actions 5175from templates according to the current configuration. Unless the files 5176and actions are specified as TAGs, all are instantiated by default. 5177 5178Usage: $0 [OPTION]... [TAG]... 5179 5180 -h, --help print this help, then exit 5181 -V, --version print version number and configuration settings, then exit 5182 --config print configuration, then exit 5183 -q, --quiet, --silent 5184 do not print progress messages 5185 -d, --debug don't remove temporary files 5186 --recheck update $as_me by reconfiguring in the same conditions 5187 --file=FILE[:TEMPLATE] 5188 instantiate the configuration file FILE 5189 --header=FILE[:TEMPLATE] 5190 instantiate the configuration header FILE 5191 5192Configuration files: 5193$config_files 5194 5195Configuration headers: 5196$config_headers 5197 5198Report bugs to the package provider." 5199 5200_ACEOF 5201cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5202ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5203ac_cs_version="\\ 5204config.status 5205configured by $0, generated by GNU Autoconf 2.69, 5206 with options \\"\$ac_cs_config\\" 5207 5208Copyright (C) 2012 Free Software Foundation, Inc. 5209This config.status script is free software; the Free Software Foundation 5210gives unlimited permission to copy, distribute and modify it." 5211 5212ac_pwd='$ac_pwd' 5213srcdir='$srcdir' 5214INSTALL='$INSTALL' 5215test -n "\$AWK" || AWK=awk 5216_ACEOF 5217 5218cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5219# The default lists apply if the user does not specify any file. 5220ac_need_defaults=: 5221while test $# != 0 5222do 5223 case $1 in 5224 --*=?*) 5225 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5226 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5227 ac_shift=: 5228 ;; 5229 --*=) 5230 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5231 ac_optarg= 5232 ac_shift=: 5233 ;; 5234 *) 5235 ac_option=$1 5236 ac_optarg=$2 5237 ac_shift=shift 5238 ;; 5239 esac 5240 5241 case $ac_option in 5242 # Handling of the options. 5243 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5244 ac_cs_recheck=: ;; 5245 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5246 $as_echo "$ac_cs_version"; exit ;; 5247 --config | --confi | --conf | --con | --co | --c ) 5248 $as_echo "$ac_cs_config"; exit ;; 5249 --debug | --debu | --deb | --de | --d | -d ) 5250 debug=: ;; 5251 --file | --fil | --fi | --f ) 5252 $ac_shift 5253 case $ac_optarg in 5254 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5255 '') as_fn_error $? "missing file argument" ;; 5256 esac 5257 as_fn_append CONFIG_FILES " '$ac_optarg'" 5258 ac_need_defaults=false;; 5259 --header | --heade | --head | --hea ) 5260 $ac_shift 5261 case $ac_optarg in 5262 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5263 esac 5264 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 5265 ac_need_defaults=false;; 5266 --he | --h) 5267 # Conflict between --help and --header 5268 as_fn_error $? "ambiguous option: \`$1' 5269Try \`$0 --help' for more information.";; 5270 --help | --hel | -h ) 5271 $as_echo "$ac_cs_usage"; exit ;; 5272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5273 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5274 ac_cs_silent=: ;; 5275 5276 # This is an error. 5277 -*) as_fn_error $? "unrecognized option: \`$1' 5278Try \`$0 --help' for more information." ;; 5279 5280 *) as_fn_append ac_config_targets " $1" 5281 ac_need_defaults=false ;; 5282 5283 esac 5284 shift 5285done 5286 5287ac_configure_extra_args= 5288 5289if $ac_cs_silent; then 5290 exec 6>/dev/null 5291 ac_configure_extra_args="$ac_configure_extra_args --silent" 5292fi 5293 5294_ACEOF 5295cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5296if \$ac_cs_recheck; then 5297 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5298 shift 5299 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5300 CONFIG_SHELL='$SHELL' 5301 export CONFIG_SHELL 5302 exec "\$@" 5303fi 5304 5305_ACEOF 5306cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5307exec 5>>config.log 5308{ 5309 echo 5310 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5311## Running $as_me. ## 5312_ASBOX 5313 $as_echo "$ac_log" 5314} >&5 5315 5316_ACEOF 5317cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5318_ACEOF 5319 5320cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5321 5322# Handling of arguments. 5323for ac_config_target in $ac_config_targets 5324do 5325 case $ac_config_target in 5326 "conf.h") CONFIG_HEADERS="$CONFIG_HEADERS conf.h" ;; 5327 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5328 5329 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5330 esac 5331done 5332 5333 5334# If the user did not use the arguments to specify the items to instantiate, 5335# then the envvar interface is used. Set only those that are not. 5336# We use the long form for the default assignment because of an extremely 5337# bizarre bug on SunOS 4.1.3. 5338if $ac_need_defaults; then 5339 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5340 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5341fi 5342 5343# Have a temporary directory for convenience. Make it in the build tree 5344# simply because there is no reason against having it here, and in addition, 5345# creating and moving files from /tmp can sometimes cause problems. 5346# Hook for its removal unless debugging. 5347# Note that there is a small window in which the directory will not be cleaned: 5348# after its creation but before its name has been assigned to `$tmp'. 5349$debug || 5350{ 5351 tmp= ac_tmp= 5352 trap 'exit_status=$? 5353 : "${ac_tmp:=$tmp}" 5354 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5355' 0 5356 trap 'as_fn_exit 1' 1 2 13 15 5357} 5358# Create a (secure) tmp directory for tmp files. 5359 5360{ 5361 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5362 test -d "$tmp" 5363} || 5364{ 5365 tmp=./conf$$-$RANDOM 5366 (umask 077 && mkdir "$tmp") 5367} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5368ac_tmp=$tmp 5369 5370# Set up the scripts for CONFIG_FILES section. 5371# No need to generate them if there are no CONFIG_FILES. 5372# This happens for instance with `./config.status config.h'. 5373if test -n "$CONFIG_FILES"; then 5374 5375 5376ac_cr=`echo X | tr X '\015'` 5377# On cygwin, bash can eat \r inside `` if the user requested igncr. 5378# But we know of no other shell where ac_cr would be empty at this 5379# point, so we can use a bashism as a fallback. 5380if test "x$ac_cr" = x; then 5381 eval ac_cr=\$\'\\r\' 5382fi 5383ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5384if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5385 ac_cs_awk_cr='\\r' 5386else 5387 ac_cs_awk_cr=$ac_cr 5388fi 5389 5390echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 5391_ACEOF 5392 5393 5394{ 5395 echo "cat >conf$$subs.awk <<_ACEOF" && 5396 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5397 echo "_ACEOF" 5398} >conf$$subs.sh || 5399 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5400ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5401ac_delim='%!_!# ' 5402for ac_last_try in false false false false false :; do 5403 . ./conf$$subs.sh || 5404 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5405 5406 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5407 if test $ac_delim_n = $ac_delim_num; then 5408 break 5409 elif $ac_last_try; then 5410 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5411 else 5412 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5413 fi 5414done 5415rm -f conf$$subs.sh 5416 5417cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5418cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5419_ACEOF 5420sed -n ' 5421h 5422s/^/S["/; s/!.*/"]=/ 5423p 5424g 5425s/^[^!]*!// 5426:repl 5427t repl 5428s/'"$ac_delim"'$// 5429t delim 5430:nl 5431h 5432s/\(.\{148\}\)..*/\1/ 5433t more1 5434s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5435p 5436n 5437b repl 5438:more1 5439s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5440p 5441g 5442s/.\{148\}// 5443t nl 5444:delim 5445h 5446s/\(.\{148\}\)..*/\1/ 5447t more2 5448s/["\\]/\\&/g; s/^/"/; s/$/"/ 5449p 5450b 5451:more2 5452s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5453p 5454g 5455s/.\{148\}// 5456t delim 5457' <conf$$subs.awk | sed ' 5458/^[^""]/{ 5459 N 5460 s/\n// 5461} 5462' >>$CONFIG_STATUS || ac_write_fail=1 5463rm -f conf$$subs.awk 5464cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5465_ACAWK 5466cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5467 for (key in S) S_is_set[key] = 1 5468 FS = "" 5469 5470} 5471{ 5472 line = $ 0 5473 nfields = split(line, field, "@") 5474 substed = 0 5475 len = length(field[1]) 5476 for (i = 2; i < nfields; i++) { 5477 key = field[i] 5478 keylen = length(key) 5479 if (S_is_set[key]) { 5480 value = S[key] 5481 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5482 len += length(value) + length(field[++i]) 5483 substed = 1 5484 } else 5485 len += 1 + keylen 5486 } 5487 5488 print line 5489} 5490 5491_ACAWK 5492_ACEOF 5493cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5494if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5495 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5496else 5497 cat 5498fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5499 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5500_ACEOF 5501 5502# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5503# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5504# trailing colons and then remove the whole line if VPATH becomes empty 5505# (actually we leave an empty line to preserve line numbers). 5506if test "x$srcdir" = x.; then 5507 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5508h 5509s/// 5510s/^/:/ 5511s/[ ]*$/:/ 5512s/:\$(srcdir):/:/g 5513s/:\${srcdir}:/:/g 5514s/:@srcdir@:/:/g 5515s/^:*// 5516s/:*$// 5517x 5518s/\(=[ ]*\).*/\1/ 5519G 5520s/\n// 5521s/^[^=]*=[ ]*$// 5522}' 5523fi 5524 5525cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5526fi # test -n "$CONFIG_FILES" 5527 5528# Set up the scripts for CONFIG_HEADERS section. 5529# No need to generate them if there are no CONFIG_HEADERS. 5530# This happens for instance with `./config.status Makefile'. 5531if test -n "$CONFIG_HEADERS"; then 5532cat >"$ac_tmp/defines.awk" <<\_ACAWK || 5533BEGIN { 5534_ACEOF 5535 5536# Transform confdefs.h into an awk script `defines.awk', embedded as 5537# here-document in config.status, that substitutes the proper values into 5538# config.h.in to produce config.h. 5539 5540# Create a delimiter string that does not exist in confdefs.h, to ease 5541# handling of long lines. 5542ac_delim='%!_!# ' 5543for ac_last_try in false false :; do 5544 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 5545 if test -z "$ac_tt"; then 5546 break 5547 elif $ac_last_try; then 5548 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 5549 else 5550 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5551 fi 5552done 5553 5554# For the awk script, D is an array of macro values keyed by name, 5555# likewise P contains macro parameters if any. Preserve backslash 5556# newline sequences. 5557 5558ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 5559sed -n ' 5560s/.\{148\}/&'"$ac_delim"'/g 5561t rset 5562:rset 5563s/^[ ]*#[ ]*define[ ][ ]*/ / 5564t def 5565d 5566:def 5567s/\\$// 5568t bsnl 5569s/["\\]/\\&/g 5570s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5571D["\1"]=" \3"/p 5572s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 5573d 5574:bsnl 5575s/["\\]/\\&/g 5576s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5577D["\1"]=" \3\\\\\\n"\\/p 5578t cont 5579s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 5580t cont 5581d 5582:cont 5583n 5584s/.\{148\}/&'"$ac_delim"'/g 5585t clear 5586:clear 5587s/\\$// 5588t bsnlc 5589s/["\\]/\\&/g; s/^/"/; s/$/"/p 5590d 5591:bsnlc 5592s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 5593b cont 5594' <confdefs.h | sed ' 5595s/'"$ac_delim"'/"\\\ 5596"/g' >>$CONFIG_STATUS || ac_write_fail=1 5597 5598cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5599 for (key in D) D_is_set[key] = 1 5600 FS = "" 5601} 5602/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 5603 line = \$ 0 5604 split(line, arg, " ") 5605 if (arg[1] == "#") { 5606 defundef = arg[2] 5607 mac1 = arg[3] 5608 } else { 5609 defundef = substr(arg[1], 2) 5610 mac1 = arg[2] 5611 } 5612 split(mac1, mac2, "(") #) 5613 macro = mac2[1] 5614 prefix = substr(line, 1, index(line, defundef) - 1) 5615 if (D_is_set[macro]) { 5616 # Preserve the white space surrounding the "#". 5617 print prefix "define", macro P[macro] D[macro] 5618 next 5619 } else { 5620 # Replace #undef with comments. This is necessary, for example, 5621 # in the case of _POSIX_SOURCE, which is predefined and required 5622 # on some systems where configure will not decide to define it. 5623 if (defundef == "undef") { 5624 print "/*", prefix defundef, macro, "*/" 5625 next 5626 } 5627 } 5628} 5629{ print } 5630_ACAWK 5631_ACEOF 5632cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5633 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 5634fi # test -n "$CONFIG_HEADERS" 5635 5636 5637eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 5638shift 5639for ac_tag 5640do 5641 case $ac_tag in 5642 :[FHLC]) ac_mode=$ac_tag; continue;; 5643 esac 5644 case $ac_mode$ac_tag in 5645 :[FHL]*:*);; 5646 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5647 :[FH]-) ac_tag=-:-;; 5648 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5649 esac 5650 ac_save_IFS=$IFS 5651 IFS=: 5652 set x $ac_tag 5653 IFS=$ac_save_IFS 5654 shift 5655 ac_file=$1 5656 shift 5657 5658 case $ac_mode in 5659 :L) ac_source=$1;; 5660 :[FH]) 5661 ac_file_inputs= 5662 for ac_f 5663 do 5664 case $ac_f in 5665 -) ac_f="$ac_tmp/stdin";; 5666 *) # Look for the file first in the build tree, then in the source tree 5667 # (if the path is not absolute). The absolute path cannot be DOS-style, 5668 # because $ac_f cannot contain `:'. 5669 test -f "$ac_f" || 5670 case $ac_f in 5671 [\\/$]*) false;; 5672 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5673 esac || 5674 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5675 esac 5676 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5677 as_fn_append ac_file_inputs " '$ac_f'" 5678 done 5679 5680 # Let's still pretend it is `configure' which instantiates (i.e., don't 5681 # use $as_me), people would be surprised to read: 5682 # /* config.h. Generated by config.status. */ 5683 configure_input='Generated from '` 5684 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5685 `' by configure.' 5686 if test x"$ac_file" != x-; then 5687 configure_input="$ac_file. $configure_input" 5688 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5689$as_echo "$as_me: creating $ac_file" >&6;} 5690 fi 5691 # Neutralize special characters interpreted by sed in replacement strings. 5692 case $configure_input in #( 5693 *\&* | *\|* | *\\* ) 5694 ac_sed_conf_input=`$as_echo "$configure_input" | 5695 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5696 *) ac_sed_conf_input=$configure_input;; 5697 esac 5698 5699 case $ac_tag in 5700 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5701 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5702 esac 5703 ;; 5704 esac 5705 5706 ac_dir=`$as_dirname -- "$ac_file" || 5707$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5708 X"$ac_file" : 'X\(//\)[^/]' \| \ 5709 X"$ac_file" : 'X\(//\)$' \| \ 5710 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5711$as_echo X"$ac_file" | 5712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5713 s//\1/ 5714 q 5715 } 5716 /^X\(\/\/\)[^/].*/{ 5717 s//\1/ 5718 q 5719 } 5720 /^X\(\/\/\)$/{ 5721 s//\1/ 5722 q 5723 } 5724 /^X\(\/\).*/{ 5725 s//\1/ 5726 q 5727 } 5728 s/.*/./; q'` 5729 as_dir="$ac_dir"; as_fn_mkdir_p 5730 ac_builddir=. 5731 5732case "$ac_dir" in 5733.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5734*) 5735 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5736 # A ".." for each directory in $ac_dir_suffix. 5737 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5738 case $ac_top_builddir_sub in 5739 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5740 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5741 esac ;; 5742esac 5743ac_abs_top_builddir=$ac_pwd 5744ac_abs_builddir=$ac_pwd$ac_dir_suffix 5745# for backward compatibility: 5746ac_top_builddir=$ac_top_build_prefix 5747 5748case $srcdir in 5749 .) # We are building in place. 5750 ac_srcdir=. 5751 ac_top_srcdir=$ac_top_builddir_sub 5752 ac_abs_top_srcdir=$ac_pwd ;; 5753 [\\/]* | ?:[\\/]* ) # Absolute name. 5754 ac_srcdir=$srcdir$ac_dir_suffix; 5755 ac_top_srcdir=$srcdir 5756 ac_abs_top_srcdir=$srcdir ;; 5757 *) # Relative name. 5758 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5759 ac_top_srcdir=$ac_top_build_prefix$srcdir 5760 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5761esac 5762ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5763 5764 5765 case $ac_mode in 5766 :F) 5767 # 5768 # CONFIG_FILE 5769 # 5770 5771 case $INSTALL in 5772 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5773 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5774 esac 5775_ACEOF 5776 5777cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5778# If the template does not know about datarootdir, expand it. 5779# FIXME: This hack should be removed a few years after 2.60. 5780ac_datarootdir_hack=; ac_datarootdir_seen= 5781ac_sed_dataroot=' 5782/datarootdir/ { 5783 p 5784 q 5785} 5786/@datadir@/p 5787/@docdir@/p 5788/@infodir@/p 5789/@localedir@/p 5790/@mandir@/p' 5791case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5792*datarootdir*) ac_datarootdir_seen=yes;; 5793*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5795$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5796_ACEOF 5797cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5798 ac_datarootdir_hack=' 5799 s&@datadir@&$datadir&g 5800 s&@docdir@&$docdir&g 5801 s&@infodir@&$infodir&g 5802 s&@localedir@&$localedir&g 5803 s&@mandir@&$mandir&g 5804 s&\\\${datarootdir}&$datarootdir&g' ;; 5805esac 5806_ACEOF 5807 5808# Neutralize VPATH when `$srcdir' = `.'. 5809# Shell code in configure.ac might set extrasub. 5810# FIXME: do we really want to maintain this feature? 5811cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5812ac_sed_extra="$ac_vpsub 5813$extrasub 5814_ACEOF 5815cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5816:t 5817/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5818s|@configure_input@|$ac_sed_conf_input|;t t 5819s&@top_builddir@&$ac_top_builddir_sub&;t t 5820s&@top_build_prefix@&$ac_top_build_prefix&;t t 5821s&@srcdir@&$ac_srcdir&;t t 5822s&@abs_srcdir@&$ac_abs_srcdir&;t t 5823s&@top_srcdir@&$ac_top_srcdir&;t t 5824s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5825s&@builddir@&$ac_builddir&;t t 5826s&@abs_builddir@&$ac_abs_builddir&;t t 5827s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5828s&@INSTALL@&$ac_INSTALL&;t t 5829$ac_datarootdir_hack 5830" 5831eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5832 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5833 5834test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5835 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5836 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5837 "$ac_tmp/out"`; test -z "$ac_out"; } && 5838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5839which seems to be undefined. Please make sure it is defined" >&5 5840$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5841which seems to be undefined. Please make sure it is defined" >&2;} 5842 5843 rm -f "$ac_tmp/stdin" 5844 case $ac_file in 5845 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5846 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5847 esac \ 5848 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5849 ;; 5850 :H) 5851 # 5852 # CONFIG_HEADER 5853 # 5854 if test x"$ac_file" != x-; then 5855 { 5856 $as_echo "/* $configure_input */" \ 5857 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 5858 } >"$ac_tmp/config.h" \ 5859 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5860 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 5861 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 5862$as_echo "$as_me: $ac_file is unchanged" >&6;} 5863 else 5864 rm -f "$ac_file" 5865 mv "$ac_tmp/config.h" "$ac_file" \ 5866 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5867 fi 5868 else 5869 $as_echo "/* $configure_input */" \ 5870 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 5871 || as_fn_error $? "could not create -" "$LINENO" 5 5872 fi 5873 ;; 5874 5875 5876 esac 5877 5878done # for ac_tag 5879 5880 5881as_fn_exit 0 5882_ACEOF 5883ac_clean_files=$ac_clean_files_save 5884 5885test $ac_write_fail = 0 || 5886 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5887 5888 5889# configure is writing to config.log, and then calls config.status. 5890# config.status does its own redirection, appending to config.log. 5891# Unfortunately, on DOS this fails, as config.log is still kept open 5892# by configure, so config.status won't be able to write to it; its 5893# output is simply discarded. So we exec the FD to /dev/null, 5894# effectively closing config.log, so it can be properly (re)opened and 5895# appended to by config.status. When coming back to configure, we 5896# need to make the FD available again. 5897if test "$no_create" != yes; then 5898 ac_cs_success=: 5899 ac_config_status_args= 5900 test "$silent" = yes && 5901 ac_config_status_args="$ac_config_status_args --quiet" 5902 exec 5>/dev/null 5903 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5904 exec 5>>config.log 5905 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5906 # would make configure fail if this is the last instruction. 5907 $ac_cs_success || as_fn_exit 1 5908fi 5909if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5911$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5912fi 5913 5914echo " " 5915echo " MIGRATE-N is now setup" 5916echo " to compile the program you need to type one of the" 5917echo " commands below (ordered by preference):" 5918echo " " 5919echo " SINGLE CPU machines " 5920echo " make # with PDF output support" 5921echo " # this might fail on first attempt," 5922echo " # if the make fails, please let me know" 5923echo " # often linking fails because the C++ pdf library" 5924echo " # and the core migrate parts (C) mismatch" 5925echo " # check the Makefile line for STDLIB= -lstdc++" 5926echo " " 5927echo " SMP machines more than 1 CPU in machine " 5928echo " make thread # uses the thread library if present" 5929echo " make # on macs running macos 10.6+ using GrandCentral" 5930echo " " 5931echo " PARALLEL Computers, Clusters with MPI software " 5932echo " make mpis # each cpu-core can be treated as a node" 5933echo " make mpis-thread # experimental, may increase load per node!" 5934echo "------------------------------------------------------------------------" 5935echo "SPEED and other TESTING " 5936echo " the migrate website contains a testsuite.tar.gz that has" 5937echo " many tests for single, parallel and thread compilations" 5938echo " the tests are driven by a python script rt (see the README" 5939echo " in the testsuite) and a submit script that allows to streamline" 5940echo " submissions to a batch queue system, currently supported systems" 5941echo " are SUN/ORACLE GRIDENGINE, TORQUE/MOAB, and NONE" 5942echo "------------------------------------------------------------------------" 5943echo "In case there are problems with the compile send a message to the " 5944echo "migrate-support@google.com usergroup, include a log of" 5945echo " ./configure" 5946echo " make" 5947echo "======================================================================="; 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958