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