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