1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for Msh Package 1.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='Msh Package' 579PACKAGE_TARNAME='msh-package' 580PACKAGE_VERSION='1.0' 581PACKAGE_STRING='Msh Package 1.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 623ac_dolfin_ld_flags 624ac_dolfin_cpp_flags 625EGREP 626GREP 627CXXCPP 628HAVE_MKOCTFILE 629OBJEXT 630EXEEXT 631ac_ct_CXX 632CPPFLAGS 633LDFLAGS 634CXXFLAGS 635CXX 636target_alias 637host_alias 638build_alias 639LIBS 640ECHO_T 641ECHO_N 642ECHO_C 643DEFS 644mandir 645localedir 646libdir 647psdir 648pdfdir 649dvidir 650htmldir 651infodir 652docdir 653oldincludedir 654includedir 655localstatedir 656sharedstatedir 657sysconfdir 658datadir 659datarootdir 660libexecdir 661sbindir 662bindir 663program_transform_name 664prefix 665exec_prefix 666PACKAGE_URL 667PACKAGE_BUGREPORT 668PACKAGE_STRING 669PACKAGE_VERSION 670PACKAGE_TARNAME 671PACKAGE_NAME 672PATH_SEPARATOR 673SHELL' 674ac_subst_files='' 675ac_user_opts=' 676enable_option_checking 677' 678 ac_precious_vars='build_alias 679host_alias 680target_alias 681CXX 682CXXFLAGS 683LDFLAGS 684LIBS 685CPPFLAGS 686CCC 687CXXCPP' 688 689 690# Initialize some variables set by options. 691ac_init_help= 692ac_init_version=false 693ac_unrecognized_opts= 694ac_unrecognized_sep= 695# The variables have the same names as the options, with 696# dashes changed to underlines. 697cache_file=/dev/null 698exec_prefix=NONE 699no_create= 700no_recursion= 701prefix=NONE 702program_prefix=NONE 703program_suffix=NONE 704program_transform_name=s,x,x, 705silent= 706site= 707srcdir= 708verbose= 709x_includes=NONE 710x_libraries=NONE 711 712# Installation directory options. 713# These are left unexpanded so users can "make install exec_prefix=/foo" 714# and all the variables that are supposed to be based on exec_prefix 715# by default will actually change. 716# Use braces instead of parens because sh, perl, etc. also accept them. 717# (The list follows the same order as the GNU Coding Standards.) 718bindir='${exec_prefix}/bin' 719sbindir='${exec_prefix}/sbin' 720libexecdir='${exec_prefix}/libexec' 721datarootdir='${prefix}/share' 722datadir='${datarootdir}' 723sysconfdir='${prefix}/etc' 724sharedstatedir='${prefix}/com' 725localstatedir='${prefix}/var' 726includedir='${prefix}/include' 727oldincludedir='/usr/include' 728docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 729infodir='${datarootdir}/info' 730htmldir='${docdir}' 731dvidir='${docdir}' 732pdfdir='${docdir}' 733psdir='${docdir}' 734libdir='${exec_prefix}/lib' 735localedir='${datarootdir}/locale' 736mandir='${datarootdir}/man' 737 738ac_prev= 739ac_dashdash= 740for ac_option 741do 742 # If the previous option needs an argument, assign it. 743 if test -n "$ac_prev"; then 744 eval $ac_prev=\$ac_option 745 ac_prev= 746 continue 747 fi 748 749 case $ac_option in 750 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 751 *=) ac_optarg= ;; 752 *) ac_optarg=yes ;; 753 esac 754 755 # Accept the important Cygnus configure options, so we can diagnose typos. 756 757 case $ac_dashdash$ac_option in 758 --) 759 ac_dashdash=yes ;; 760 761 -bindir | --bindir | --bindi | --bind | --bin | --bi) 762 ac_prev=bindir ;; 763 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 764 bindir=$ac_optarg ;; 765 766 -build | --build | --buil | --bui | --bu) 767 ac_prev=build_alias ;; 768 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 769 build_alias=$ac_optarg ;; 770 771 -cache-file | --cache-file | --cache-fil | --cache-fi \ 772 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 773 ac_prev=cache_file ;; 774 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 775 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 776 cache_file=$ac_optarg ;; 777 778 --config-cache | -C) 779 cache_file=config.cache ;; 780 781 -datadir | --datadir | --datadi | --datad) 782 ac_prev=datadir ;; 783 -datadir=* | --datadir=* | --datadi=* | --datad=*) 784 datadir=$ac_optarg ;; 785 786 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 787 | --dataroo | --dataro | --datar) 788 ac_prev=datarootdir ;; 789 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 790 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 791 datarootdir=$ac_optarg ;; 792 793 -disable-* | --disable-*) 794 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 795 # Reject names that are not valid shell variable names. 796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 797 as_fn_error $? "invalid feature name: $ac_useropt" 798 ac_useropt_orig=$ac_useropt 799 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 800 case $ac_user_opts in 801 *" 802"enable_$ac_useropt" 803"*) ;; 804 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 805 ac_unrecognized_sep=', ';; 806 esac 807 eval enable_$ac_useropt=no ;; 808 809 -docdir | --docdir | --docdi | --doc | --do) 810 ac_prev=docdir ;; 811 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 812 docdir=$ac_optarg ;; 813 814 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 815 ac_prev=dvidir ;; 816 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 817 dvidir=$ac_optarg ;; 818 819 -enable-* | --enable-*) 820 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 821 # Reject names that are not valid shell variable names. 822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 823 as_fn_error $? "invalid feature name: $ac_useropt" 824 ac_useropt_orig=$ac_useropt 825 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 826 case $ac_user_opts in 827 *" 828"enable_$ac_useropt" 829"*) ;; 830 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 831 ac_unrecognized_sep=', ';; 832 esac 833 eval enable_$ac_useropt=\$ac_optarg ;; 834 835 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 836 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 837 | --exec | --exe | --ex) 838 ac_prev=exec_prefix ;; 839 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 840 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 841 | --exec=* | --exe=* | --ex=*) 842 exec_prefix=$ac_optarg ;; 843 844 -gas | --gas | --ga | --g) 845 # Obsolete; use --with-gas. 846 with_gas=yes ;; 847 848 -help | --help | --hel | --he | -h) 849 ac_init_help=long ;; 850 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 851 ac_init_help=recursive ;; 852 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 853 ac_init_help=short ;; 854 855 -host | --host | --hos | --ho) 856 ac_prev=host_alias ;; 857 -host=* | --host=* | --hos=* | --ho=*) 858 host_alias=$ac_optarg ;; 859 860 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 861 ac_prev=htmldir ;; 862 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 863 | --ht=*) 864 htmldir=$ac_optarg ;; 865 866 -includedir | --includedir | --includedi | --included | --include \ 867 | --includ | --inclu | --incl | --inc) 868 ac_prev=includedir ;; 869 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 870 | --includ=* | --inclu=* | --incl=* | --inc=*) 871 includedir=$ac_optarg ;; 872 873 -infodir | --infodir | --infodi | --infod | --info | --inf) 874 ac_prev=infodir ;; 875 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 876 infodir=$ac_optarg ;; 877 878 -libdir | --libdir | --libdi | --libd) 879 ac_prev=libdir ;; 880 -libdir=* | --libdir=* | --libdi=* | --libd=*) 881 libdir=$ac_optarg ;; 882 883 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 884 | --libexe | --libex | --libe) 885 ac_prev=libexecdir ;; 886 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 887 | --libexe=* | --libex=* | --libe=*) 888 libexecdir=$ac_optarg ;; 889 890 -localedir | --localedir | --localedi | --localed | --locale) 891 ac_prev=localedir ;; 892 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 893 localedir=$ac_optarg ;; 894 895 -localstatedir | --localstatedir | --localstatedi | --localstated \ 896 | --localstate | --localstat | --localsta | --localst | --locals) 897 ac_prev=localstatedir ;; 898 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 899 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 900 localstatedir=$ac_optarg ;; 901 902 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 903 ac_prev=mandir ;; 904 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 905 mandir=$ac_optarg ;; 906 907 -nfp | --nfp | --nf) 908 # Obsolete; use --without-fp. 909 with_fp=no ;; 910 911 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 912 | --no-cr | --no-c | -n) 913 no_create=yes ;; 914 915 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 916 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 917 no_recursion=yes ;; 918 919 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 920 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 921 | --oldin | --oldi | --old | --ol | --o) 922 ac_prev=oldincludedir ;; 923 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 924 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 925 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 926 oldincludedir=$ac_optarg ;; 927 928 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 929 ac_prev=prefix ;; 930 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 931 prefix=$ac_optarg ;; 932 933 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 934 | --program-pre | --program-pr | --program-p) 935 ac_prev=program_prefix ;; 936 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 937 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 938 program_prefix=$ac_optarg ;; 939 940 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 941 | --program-suf | --program-su | --program-s) 942 ac_prev=program_suffix ;; 943 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 944 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 945 program_suffix=$ac_optarg ;; 946 947 -program-transform-name | --program-transform-name \ 948 | --program-transform-nam | --program-transform-na \ 949 | --program-transform-n | --program-transform- \ 950 | --program-transform | --program-transfor \ 951 | --program-transfo | --program-transf \ 952 | --program-trans | --program-tran \ 953 | --progr-tra | --program-tr | --program-t) 954 ac_prev=program_transform_name ;; 955 -program-transform-name=* | --program-transform-name=* \ 956 | --program-transform-nam=* | --program-transform-na=* \ 957 | --program-transform-n=* | --program-transform-=* \ 958 | --program-transform=* | --program-transfor=* \ 959 | --program-transfo=* | --program-transf=* \ 960 | --program-trans=* | --program-tran=* \ 961 | --progr-tra=* | --program-tr=* | --program-t=*) 962 program_transform_name=$ac_optarg ;; 963 964 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 965 ac_prev=pdfdir ;; 966 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 967 pdfdir=$ac_optarg ;; 968 969 -psdir | --psdir | --psdi | --psd | --ps) 970 ac_prev=psdir ;; 971 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 972 psdir=$ac_optarg ;; 973 974 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 975 | -silent | --silent | --silen | --sile | --sil) 976 silent=yes ;; 977 978 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 979 ac_prev=sbindir ;; 980 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 981 | --sbi=* | --sb=*) 982 sbindir=$ac_optarg ;; 983 984 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 985 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 986 | --sharedst | --shareds | --shared | --share | --shar \ 987 | --sha | --sh) 988 ac_prev=sharedstatedir ;; 989 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 990 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 991 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 992 | --sha=* | --sh=*) 993 sharedstatedir=$ac_optarg ;; 994 995 -site | --site | --sit) 996 ac_prev=site ;; 997 -site=* | --site=* | --sit=*) 998 site=$ac_optarg ;; 999 1000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1001 ac_prev=srcdir ;; 1002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1003 srcdir=$ac_optarg ;; 1004 1005 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1006 | --syscon | --sysco | --sysc | --sys | --sy) 1007 ac_prev=sysconfdir ;; 1008 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1009 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1010 sysconfdir=$ac_optarg ;; 1011 1012 -target | --target | --targe | --targ | --tar | --ta | --t) 1013 ac_prev=target_alias ;; 1014 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1015 target_alias=$ac_optarg ;; 1016 1017 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1018 verbose=yes ;; 1019 1020 -version | --version | --versio | --versi | --vers | -V) 1021 ac_init_version=: ;; 1022 1023 -with-* | --with-*) 1024 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1025 # Reject names that are not valid shell variable names. 1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1027 as_fn_error $? "invalid package name: $ac_useropt" 1028 ac_useropt_orig=$ac_useropt 1029 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1030 case $ac_user_opts in 1031 *" 1032"with_$ac_useropt" 1033"*) ;; 1034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1035 ac_unrecognized_sep=', ';; 1036 esac 1037 eval with_$ac_useropt=\$ac_optarg ;; 1038 1039 -without-* | --without-*) 1040 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1041 # Reject names that are not valid shell variable names. 1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1043 as_fn_error $? "invalid package name: $ac_useropt" 1044 ac_useropt_orig=$ac_useropt 1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1046 case $ac_user_opts in 1047 *" 1048"with_$ac_useropt" 1049"*) ;; 1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1051 ac_unrecognized_sep=', ';; 1052 esac 1053 eval with_$ac_useropt=no ;; 1054 1055 --x) 1056 # Obsolete; use --with-x. 1057 with_x=yes ;; 1058 1059 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1060 | --x-incl | --x-inc | --x-in | --x-i) 1061 ac_prev=x_includes ;; 1062 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1063 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1064 x_includes=$ac_optarg ;; 1065 1066 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1067 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1068 ac_prev=x_libraries ;; 1069 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1070 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1071 x_libraries=$ac_optarg ;; 1072 1073 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1074Try \`$0 --help' for more information" 1075 ;; 1076 1077 *=*) 1078 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1079 # Reject names that are not valid shell variable names. 1080 case $ac_envvar in #( 1081 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1082 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1083 esac 1084 eval $ac_envvar=\$ac_optarg 1085 export $ac_envvar ;; 1086 1087 *) 1088 # FIXME: should be removed in autoconf 3.0. 1089 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1090 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1091 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1092 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1093 ;; 1094 1095 esac 1096done 1097 1098if test -n "$ac_prev"; then 1099 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1100 as_fn_error $? "missing argument to $ac_option" 1101fi 1102 1103if test -n "$ac_unrecognized_opts"; then 1104 case $enable_option_checking in 1105 no) ;; 1106 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1107 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1108 esac 1109fi 1110 1111# Check all directory arguments for consistency. 1112for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1113 datadir sysconfdir sharedstatedir localstatedir includedir \ 1114 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1115 libdir localedir mandir 1116do 1117 eval ac_val=\$$ac_var 1118 # Remove trailing slashes. 1119 case $ac_val in 1120 */ ) 1121 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1122 eval $ac_var=\$ac_val;; 1123 esac 1124 # Be sure to have absolute directory names. 1125 case $ac_val in 1126 [\\/$]* | ?:[\\/]* ) continue;; 1127 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1128 esac 1129 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1130done 1131 1132# There might be people who depend on the old broken behavior: `$host' 1133# used to hold the argument of --host etc. 1134# FIXME: To remove some day. 1135build=$build_alias 1136host=$host_alias 1137target=$target_alias 1138 1139# FIXME: To remove some day. 1140if test "x$host_alias" != x; then 1141 if test "x$build_alias" = x; then 1142 cross_compiling=maybe 1143 elif test "x$build_alias" != "x$host_alias"; then 1144 cross_compiling=yes 1145 fi 1146fi 1147 1148ac_tool_prefix= 1149test -n "$host_alias" && ac_tool_prefix=$host_alias- 1150 1151test "$silent" = yes && exec 6>/dev/null 1152 1153 1154ac_pwd=`pwd` && test -n "$ac_pwd" && 1155ac_ls_di=`ls -di .` && 1156ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1157 as_fn_error $? "working directory cannot be determined" 1158test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1159 as_fn_error $? "pwd does not report name of working directory" 1160 1161 1162# Find the source files, if location was not specified. 1163if test -z "$srcdir"; then 1164 ac_srcdir_defaulted=yes 1165 # Try the directory containing this script, then the parent directory. 1166 ac_confdir=`$as_dirname -- "$as_myself" || 1167$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1168 X"$as_myself" : 'X\(//\)[^/]' \| \ 1169 X"$as_myself" : 'X\(//\)$' \| \ 1170 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1171$as_echo X"$as_myself" | 1172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1173 s//\1/ 1174 q 1175 } 1176 /^X\(\/\/\)[^/].*/{ 1177 s//\1/ 1178 q 1179 } 1180 /^X\(\/\/\)$/{ 1181 s//\1/ 1182 q 1183 } 1184 /^X\(\/\).*/{ 1185 s//\1/ 1186 q 1187 } 1188 s/.*/./; q'` 1189 srcdir=$ac_confdir 1190 if test ! -r "$srcdir/$ac_unique_file"; then 1191 srcdir=.. 1192 fi 1193else 1194 ac_srcdir_defaulted=no 1195fi 1196if test ! -r "$srcdir/$ac_unique_file"; then 1197 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1198 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1199fi 1200ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1201ac_abs_confdir=`( 1202 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1203 pwd)` 1204# When building in place, set srcdir=. 1205if test "$ac_abs_confdir" = "$ac_pwd"; then 1206 srcdir=. 1207fi 1208# Remove unnecessary trailing slashes from srcdir. 1209# Double slashes in file names in object file debugging info 1210# mess up M-x gdb in Emacs. 1211case $srcdir in 1212*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1213esac 1214for ac_var in $ac_precious_vars; do 1215 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1216 eval ac_env_${ac_var}_value=\$${ac_var} 1217 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1218 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1219done 1220 1221# 1222# Report the --help message. 1223# 1224if test "$ac_init_help" = "long"; then 1225 # Omit some internal or obsolete options to make the list less imposing. 1226 # This message is too long to be a string in the A/UX 3.1 sh. 1227 cat <<_ACEOF 1228\`configure' configures Msh Package 1.0 to adapt to many kinds of systems. 1229 1230Usage: $0 [OPTION]... [VAR=VALUE]... 1231 1232To assign environment variables (e.g., CC, CFLAGS...), specify them as 1233VAR=VALUE. See below for descriptions of some of the useful variables. 1234 1235Defaults for the options are specified in brackets. 1236 1237Configuration: 1238 -h, --help display this help and exit 1239 --help=short display options specific to this package 1240 --help=recursive display the short help of all the included packages 1241 -V, --version display version information and exit 1242 -q, --quiet, --silent do not print \`checking ...' messages 1243 --cache-file=FILE cache test results in FILE [disabled] 1244 -C, --config-cache alias for \`--cache-file=config.cache' 1245 -n, --no-create do not create output files 1246 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1247 1248Installation directories: 1249 --prefix=PREFIX install architecture-independent files in PREFIX 1250 [$ac_default_prefix] 1251 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1252 [PREFIX] 1253 1254By default, \`make install' will install all the files in 1255\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1256an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1257for instance \`--prefix=\$HOME'. 1258 1259For better control, use the options below. 1260 1261Fine tuning of the installation directories: 1262 --bindir=DIR user executables [EPREFIX/bin] 1263 --sbindir=DIR system admin executables [EPREFIX/sbin] 1264 --libexecdir=DIR program executables [EPREFIX/libexec] 1265 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1266 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1267 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1268 --libdir=DIR object code libraries [EPREFIX/lib] 1269 --includedir=DIR C header files [PREFIX/include] 1270 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1271 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1272 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1273 --infodir=DIR info documentation [DATAROOTDIR/info] 1274 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1275 --mandir=DIR man documentation [DATAROOTDIR/man] 1276 --docdir=DIR documentation root [DATAROOTDIR/doc/msh-package] 1277 --htmldir=DIR html documentation [DOCDIR] 1278 --dvidir=DIR dvi documentation [DOCDIR] 1279 --pdfdir=DIR pdf documentation [DOCDIR] 1280 --psdir=DIR ps documentation [DOCDIR] 1281_ACEOF 1282 1283 cat <<\_ACEOF 1284_ACEOF 1285fi 1286 1287if test -n "$ac_init_help"; then 1288 case $ac_init_help in 1289 short | recursive ) echo "Configuration of Msh Package 1.0:";; 1290 esac 1291 cat <<\_ACEOF 1292 1293Some influential environment variables: 1294 CXX C++ compiler command 1295 CXXFLAGS C++ compiler flags 1296 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1297 nonstandard directory <lib dir> 1298 LIBS libraries to pass to the linker, e.g. -l<library> 1299 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1300 you have headers in a nonstandard directory <include dir> 1301 CXXCPP C++ preprocessor 1302 1303Use these variables to override the choices made by `configure' or to help 1304it to find libraries and programs with nonstandard names/locations. 1305 1306Report bugs to the package provider. 1307_ACEOF 1308ac_status=$? 1309fi 1310 1311if test "$ac_init_help" = "recursive"; then 1312 # If there are subdirs, report their specific --help. 1313 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1314 test -d "$ac_dir" || 1315 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1316 continue 1317 ac_builddir=. 1318 1319case "$ac_dir" in 1320.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1321*) 1322 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1323 # A ".." for each directory in $ac_dir_suffix. 1324 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1325 case $ac_top_builddir_sub in 1326 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1327 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1328 esac ;; 1329esac 1330ac_abs_top_builddir=$ac_pwd 1331ac_abs_builddir=$ac_pwd$ac_dir_suffix 1332# for backward compatibility: 1333ac_top_builddir=$ac_top_build_prefix 1334 1335case $srcdir in 1336 .) # We are building in place. 1337 ac_srcdir=. 1338 ac_top_srcdir=$ac_top_builddir_sub 1339 ac_abs_top_srcdir=$ac_pwd ;; 1340 [\\/]* | ?:[\\/]* ) # Absolute name. 1341 ac_srcdir=$srcdir$ac_dir_suffix; 1342 ac_top_srcdir=$srcdir 1343 ac_abs_top_srcdir=$srcdir ;; 1344 *) # Relative name. 1345 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1346 ac_top_srcdir=$ac_top_build_prefix$srcdir 1347 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1348esac 1349ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1350 1351 cd "$ac_dir" || { ac_status=$?; continue; } 1352 # Check for guested configure. 1353 if test -f "$ac_srcdir/configure.gnu"; then 1354 echo && 1355 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1356 elif test -f "$ac_srcdir/configure"; then 1357 echo && 1358 $SHELL "$ac_srcdir/configure" --help=recursive 1359 else 1360 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1361 fi || ac_status=$? 1362 cd "$ac_pwd" || { ac_status=$?; break; } 1363 done 1364fi 1365 1366test -n "$ac_init_help" && exit $ac_status 1367if $ac_init_version; then 1368 cat <<\_ACEOF 1369Msh Package configure 1.0 1370generated by GNU Autoconf 2.69 1371 1372Copyright (C) 2012 Free Software Foundation, Inc. 1373This configure script is free software; the Free Software Foundation 1374gives unlimited permission to copy, distribute and modify it. 1375_ACEOF 1376 exit 1377fi 1378 1379## ------------------------ ## 1380## Autoconf initialization. ## 1381## ------------------------ ## 1382 1383# ac_fn_cxx_try_compile LINENO 1384# ---------------------------- 1385# Try to compile conftest.$ac_ext, and return whether this succeeded. 1386ac_fn_cxx_try_compile () 1387{ 1388 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1389 rm -f conftest.$ac_objext 1390 if { { ac_try="$ac_compile" 1391case "(($ac_try" in 1392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1393 *) ac_try_echo=$ac_try;; 1394esac 1395eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1396$as_echo "$ac_try_echo"; } >&5 1397 (eval "$ac_compile") 2>conftest.err 1398 ac_status=$? 1399 if test -s conftest.err; then 1400 grep -v '^ *+' conftest.err >conftest.er1 1401 cat conftest.er1 >&5 1402 mv -f conftest.er1 conftest.err 1403 fi 1404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1405 test $ac_status = 0; } && { 1406 test -z "$ac_cxx_werror_flag" || 1407 test ! -s conftest.err 1408 } && test -s conftest.$ac_objext; then : 1409 ac_retval=0 1410else 1411 $as_echo "$as_me: failed program was:" >&5 1412sed 's/^/| /' conftest.$ac_ext >&5 1413 1414 ac_retval=1 1415fi 1416 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1417 as_fn_set_status $ac_retval 1418 1419} # ac_fn_cxx_try_compile 1420 1421# ac_fn_cxx_try_cpp LINENO 1422# ------------------------ 1423# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1424ac_fn_cxx_try_cpp () 1425{ 1426 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1427 if { { ac_try="$ac_cpp conftest.$ac_ext" 1428case "(($ac_try" in 1429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1430 *) ac_try_echo=$ac_try;; 1431esac 1432eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1433$as_echo "$ac_try_echo"; } >&5 1434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1435 ac_status=$? 1436 if test -s conftest.err; then 1437 grep -v '^ *+' conftest.err >conftest.er1 1438 cat conftest.er1 >&5 1439 mv -f conftest.er1 conftest.err 1440 fi 1441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1442 test $ac_status = 0; } > conftest.i && { 1443 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 1444 test ! -s conftest.err 1445 }; then : 1446 ac_retval=0 1447else 1448 $as_echo "$as_me: failed program was:" >&5 1449sed 's/^/| /' conftest.$ac_ext >&5 1450 1451 ac_retval=1 1452fi 1453 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1454 as_fn_set_status $ac_retval 1455 1456} # ac_fn_cxx_try_cpp 1457 1458# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1459# --------------------------------------------------------- 1460# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1461# the include files in INCLUDES and setting the cache variable VAR 1462# accordingly. 1463ac_fn_cxx_check_header_mongrel () 1464{ 1465 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1466 if eval \${$3+:} false; then : 1467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1468$as_echo_n "checking for $2... " >&6; } 1469if eval \${$3+:} false; then : 1470 $as_echo_n "(cached) " >&6 1471fi 1472eval ac_res=\$$3 1473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1474$as_echo "$ac_res" >&6; } 1475else 1476 # Is the header compilable? 1477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1478$as_echo_n "checking $2 usability... " >&6; } 1479cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1480/* end confdefs.h. */ 1481$4 1482#include <$2> 1483_ACEOF 1484if ac_fn_cxx_try_compile "$LINENO"; then : 1485 ac_header_compiler=yes 1486else 1487 ac_header_compiler=no 1488fi 1489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1491$as_echo "$ac_header_compiler" >&6; } 1492 1493# Is the header present? 1494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1495$as_echo_n "checking $2 presence... " >&6; } 1496cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1497/* end confdefs.h. */ 1498#include <$2> 1499_ACEOF 1500if ac_fn_cxx_try_cpp "$LINENO"; then : 1501 ac_header_preproc=yes 1502else 1503 ac_header_preproc=no 1504fi 1505rm -f conftest.err conftest.i conftest.$ac_ext 1506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1507$as_echo "$ac_header_preproc" >&6; } 1508 1509# So? What about this header? 1510case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( 1511 yes:no: ) 1512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1513$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1515$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1516 ;; 1517 no:yes:* ) 1518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1519$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1521$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1523$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1525$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1527$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1528 ;; 1529esac 1530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1531$as_echo_n "checking for $2... " >&6; } 1532if eval \${$3+:} false; then : 1533 $as_echo_n "(cached) " >&6 1534else 1535 eval "$3=\$ac_header_compiler" 1536fi 1537eval ac_res=\$$3 1538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1539$as_echo "$ac_res" >&6; } 1540fi 1541 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1542 1543} # ac_fn_cxx_check_header_mongrel 1544 1545# ac_fn_cxx_try_run LINENO 1546# ------------------------ 1547# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1548# that executables *can* be run. 1549ac_fn_cxx_try_run () 1550{ 1551 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1552 if { { ac_try="$ac_link" 1553case "(($ac_try" in 1554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1555 *) ac_try_echo=$ac_try;; 1556esac 1557eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1558$as_echo "$ac_try_echo"; } >&5 1559 (eval "$ac_link") 2>&5 1560 ac_status=$? 1561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1562 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1563 { { case "(($ac_try" in 1564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1565 *) ac_try_echo=$ac_try;; 1566esac 1567eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1568$as_echo "$ac_try_echo"; } >&5 1569 (eval "$ac_try") 2>&5 1570 ac_status=$? 1571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1572 test $ac_status = 0; }; }; then : 1573 ac_retval=0 1574else 1575 $as_echo "$as_me: program exited with status $ac_status" >&5 1576 $as_echo "$as_me: failed program was:" >&5 1577sed 's/^/| /' conftest.$ac_ext >&5 1578 1579 ac_retval=$ac_status 1580fi 1581 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1583 as_fn_set_status $ac_retval 1584 1585} # ac_fn_cxx_try_run 1586 1587# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 1588# --------------------------------------------------------- 1589# Tests whether HEADER exists and can be compiled using the include files in 1590# INCLUDES, setting the cache variable VAR accordingly. 1591ac_fn_cxx_check_header_compile () 1592{ 1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1595$as_echo_n "checking for $2... " >&6; } 1596if eval \${$3+:} false; then : 1597 $as_echo_n "(cached) " >&6 1598else 1599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1600/* end confdefs.h. */ 1601$4 1602#include <$2> 1603_ACEOF 1604if ac_fn_cxx_try_compile "$LINENO"; then : 1605 eval "$3=yes" 1606else 1607 eval "$3=no" 1608fi 1609rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1610fi 1611eval ac_res=\$$3 1612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1613$as_echo "$ac_res" >&6; } 1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1615 1616} # ac_fn_cxx_check_header_compile 1617cat >config.log <<_ACEOF 1618This file contains any messages produced by compilers while 1619running configure, to aid debugging if configure makes a mistake. 1620 1621It was created by Msh Package $as_me 1.0, which was 1622generated by GNU Autoconf 2.69. Invocation command line was 1623 1624 $ $0 $@ 1625 1626_ACEOF 1627exec 5>>config.log 1628{ 1629cat <<_ASUNAME 1630## --------- ## 1631## Platform. ## 1632## --------- ## 1633 1634hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1635uname -m = `(uname -m) 2>/dev/null || echo unknown` 1636uname -r = `(uname -r) 2>/dev/null || echo unknown` 1637uname -s = `(uname -s) 2>/dev/null || echo unknown` 1638uname -v = `(uname -v) 2>/dev/null || echo unknown` 1639 1640/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1641/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1642 1643/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1644/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1645/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1646/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1647/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1648/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1649/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1650 1651_ASUNAME 1652 1653as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1654for as_dir in $PATH 1655do 1656 IFS=$as_save_IFS 1657 test -z "$as_dir" && as_dir=. 1658 $as_echo "PATH: $as_dir" 1659 done 1660IFS=$as_save_IFS 1661 1662} >&5 1663 1664cat >&5 <<_ACEOF 1665 1666 1667## ----------- ## 1668## Core tests. ## 1669## ----------- ## 1670 1671_ACEOF 1672 1673 1674# Keep a trace of the command line. 1675# Strip out --no-create and --no-recursion so they do not pile up. 1676# Strip out --silent because we don't want to record it for future runs. 1677# Also quote any args containing shell meta-characters. 1678# Make two passes to allow for proper duplicate-argument suppression. 1679ac_configure_args= 1680ac_configure_args0= 1681ac_configure_args1= 1682ac_must_keep_next=false 1683for ac_pass in 1 2 1684do 1685 for ac_arg 1686 do 1687 case $ac_arg in 1688 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1689 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1690 | -silent | --silent | --silen | --sile | --sil) 1691 continue ;; 1692 *\'*) 1693 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1694 esac 1695 case $ac_pass in 1696 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1697 2) 1698 as_fn_append ac_configure_args1 " '$ac_arg'" 1699 if test $ac_must_keep_next = true; then 1700 ac_must_keep_next=false # Got value, back to normal. 1701 else 1702 case $ac_arg in 1703 *=* | --config-cache | -C | -disable-* | --disable-* \ 1704 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1705 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1706 | -with-* | --with-* | -without-* | --without-* | --x) 1707 case "$ac_configure_args0 " in 1708 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1709 esac 1710 ;; 1711 -* ) ac_must_keep_next=true ;; 1712 esac 1713 fi 1714 as_fn_append ac_configure_args " '$ac_arg'" 1715 ;; 1716 esac 1717 done 1718done 1719{ ac_configure_args0=; unset ac_configure_args0;} 1720{ ac_configure_args1=; unset ac_configure_args1;} 1721 1722# When interrupted or exit'd, cleanup temporary files, and complete 1723# config.log. We remove comments because anyway the quotes in there 1724# would cause problems or look ugly. 1725# WARNING: Use '\'' to represent an apostrophe within the trap. 1726# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1727trap 'exit_status=$? 1728 # Save into config.log some information that might help in debugging. 1729 { 1730 echo 1731 1732 $as_echo "## ---------------- ## 1733## Cache variables. ## 1734## ---------------- ##" 1735 echo 1736 # The following way of writing the cache mishandles newlines in values, 1737( 1738 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1739 eval ac_val=\$$ac_var 1740 case $ac_val in #( 1741 *${as_nl}*) 1742 case $ac_var in #( 1743 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1744$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1745 esac 1746 case $ac_var in #( 1747 _ | IFS | as_nl) ;; #( 1748 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1749 *) { eval $ac_var=; unset $ac_var;} ;; 1750 esac ;; 1751 esac 1752 done 1753 (set) 2>&1 | 1754 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1755 *${as_nl}ac_space=\ *) 1756 sed -n \ 1757 "s/'\''/'\''\\\\'\'''\''/g; 1758 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1759 ;; #( 1760 *) 1761 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1762 ;; 1763 esac | 1764 sort 1765) 1766 echo 1767 1768 $as_echo "## ----------------- ## 1769## Output variables. ## 1770## ----------------- ##" 1771 echo 1772 for ac_var in $ac_subst_vars 1773 do 1774 eval ac_val=\$$ac_var 1775 case $ac_val in 1776 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1777 esac 1778 $as_echo "$ac_var='\''$ac_val'\''" 1779 done | sort 1780 echo 1781 1782 if test -n "$ac_subst_files"; then 1783 $as_echo "## ------------------- ## 1784## File substitutions. ## 1785## ------------------- ##" 1786 echo 1787 for ac_var in $ac_subst_files 1788 do 1789 eval ac_val=\$$ac_var 1790 case $ac_val in 1791 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1792 esac 1793 $as_echo "$ac_var='\''$ac_val'\''" 1794 done | sort 1795 echo 1796 fi 1797 1798 if test -s confdefs.h; then 1799 $as_echo "## ----------- ## 1800## confdefs.h. ## 1801## ----------- ##" 1802 echo 1803 cat confdefs.h 1804 echo 1805 fi 1806 test "$ac_signal" != 0 && 1807 $as_echo "$as_me: caught signal $ac_signal" 1808 $as_echo "$as_me: exit $exit_status" 1809 } >&5 1810 rm -f core *.core core.conftest.* && 1811 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1812 exit $exit_status 1813' 0 1814for ac_signal in 1 2 13 15; do 1815 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1816done 1817ac_signal=0 1818 1819# confdefs.h avoids OS command line length limits that DEFS can exceed. 1820rm -f -r conftest* confdefs.h 1821 1822$as_echo "/* confdefs.h */" > confdefs.h 1823 1824# Predefined preprocessor variables. 1825 1826cat >>confdefs.h <<_ACEOF 1827#define PACKAGE_NAME "$PACKAGE_NAME" 1828_ACEOF 1829 1830cat >>confdefs.h <<_ACEOF 1831#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1832_ACEOF 1833 1834cat >>confdefs.h <<_ACEOF 1835#define PACKAGE_VERSION "$PACKAGE_VERSION" 1836_ACEOF 1837 1838cat >>confdefs.h <<_ACEOF 1839#define PACKAGE_STRING "$PACKAGE_STRING" 1840_ACEOF 1841 1842cat >>confdefs.h <<_ACEOF 1843#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1844_ACEOF 1845 1846cat >>confdefs.h <<_ACEOF 1847#define PACKAGE_URL "$PACKAGE_URL" 1848_ACEOF 1849 1850 1851# Let the site file select an alternate cache file if it wants to. 1852# Prefer an explicitly selected file to automatically selected ones. 1853ac_site_file1=NONE 1854ac_site_file2=NONE 1855if test -n "$CONFIG_SITE"; then 1856 # We do not want a PATH search for config.site. 1857 case $CONFIG_SITE in #(( 1858 -*) ac_site_file1=./$CONFIG_SITE;; 1859 */*) ac_site_file1=$CONFIG_SITE;; 1860 *) ac_site_file1=./$CONFIG_SITE;; 1861 esac 1862elif test "x$prefix" != xNONE; then 1863 ac_site_file1=$prefix/share/config.site 1864 ac_site_file2=$prefix/etc/config.site 1865else 1866 ac_site_file1=$ac_default_prefix/share/config.site 1867 ac_site_file2=$ac_default_prefix/etc/config.site 1868fi 1869for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1870do 1871 test "x$ac_site_file" = xNONE && continue 1872 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1873 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1874$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1875 sed 's/^/| /' "$ac_site_file" >&5 1876 . "$ac_site_file" \ 1877 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1878$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1879as_fn_error $? "failed to load site script $ac_site_file 1880See \`config.log' for more details" "$LINENO" 5; } 1881 fi 1882done 1883 1884if test -r "$cache_file"; then 1885 # Some versions of bash will fail to source /dev/null (special files 1886 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1887 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1888 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1889$as_echo "$as_me: loading cache $cache_file" >&6;} 1890 case $cache_file in 1891 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1892 *) . "./$cache_file";; 1893 esac 1894 fi 1895else 1896 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1897$as_echo "$as_me: creating cache $cache_file" >&6;} 1898 >$cache_file 1899fi 1900 1901# Check that the precious variables saved in the cache have kept the same 1902# value. 1903ac_cache_corrupted=false 1904for ac_var in $ac_precious_vars; do 1905 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1906 eval ac_new_set=\$ac_env_${ac_var}_set 1907 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1908 eval ac_new_val=\$ac_env_${ac_var}_value 1909 case $ac_old_set,$ac_new_set in 1910 set,) 1911 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1912$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1913 ac_cache_corrupted=: ;; 1914 ,set) 1915 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1916$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1917 ac_cache_corrupted=: ;; 1918 ,);; 1919 *) 1920 if test "x$ac_old_val" != "x$ac_new_val"; then 1921 # differences in whitespace do not lead to failure. 1922 ac_old_val_w=`echo x $ac_old_val` 1923 ac_new_val_w=`echo x $ac_new_val` 1924 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1925 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1926$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1927 ac_cache_corrupted=: 1928 else 1929 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1930$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1931 eval $ac_var=\$ac_old_val 1932 fi 1933 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1934$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1935 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1936$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1937 fi;; 1938 esac 1939 # Pass precious variables to config.status. 1940 if test "$ac_new_set" = set; then 1941 case $ac_new_val in 1942 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1943 *) ac_arg=$ac_var=$ac_new_val ;; 1944 esac 1945 case " $ac_configure_args " in 1946 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1947 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1948 esac 1949 fi 1950done 1951if $ac_cache_corrupted; then 1952 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1953$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1954 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1955$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1956 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1957fi 1958## -------------------- ## 1959## Main body of script. ## 1960## -------------------- ## 1961 1962ac_ext=c 1963ac_cpp='$CPP $CPPFLAGS' 1964ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1965ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1966ac_compiler_gnu=$ac_cv_c_compiler_gnu 1967 1968 1969 1970ac_ext=cpp 1971ac_cpp='$CXXCPP $CPPFLAGS' 1972ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1973ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1974ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1975if test -z "$CXX"; then 1976 if test -n "$CCC"; then 1977 CXX=$CCC 1978 else 1979 if test -n "$ac_tool_prefix"; then 1980 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1981 do 1982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1983set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1985$as_echo_n "checking for $ac_word... " >&6; } 1986if ${ac_cv_prog_CXX+:} false; then : 1987 $as_echo_n "(cached) " >&6 1988else 1989 if test -n "$CXX"; then 1990 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1991else 1992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1993for as_dir in $PATH 1994do 1995 IFS=$as_save_IFS 1996 test -z "$as_dir" && as_dir=. 1997 for ac_exec_ext in '' $ac_executable_extensions; do 1998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1999 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2001 break 2 2002 fi 2003done 2004 done 2005IFS=$as_save_IFS 2006 2007fi 2008fi 2009CXX=$ac_cv_prog_CXX 2010if test -n "$CXX"; then 2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 2012$as_echo "$CXX" >&6; } 2013else 2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2015$as_echo "no" >&6; } 2016fi 2017 2018 2019 test -n "$CXX" && break 2020 done 2021fi 2022if test -z "$CXX"; then 2023 ac_ct_CXX=$CXX 2024 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 2025do 2026 # Extract the first word of "$ac_prog", so it can be a program name with args. 2027set dummy $ac_prog; ac_word=$2 2028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2029$as_echo_n "checking for $ac_word... " >&6; } 2030if ${ac_cv_prog_ac_ct_CXX+:} false; then : 2031 $as_echo_n "(cached) " >&6 2032else 2033 if test -n "$ac_ct_CXX"; then 2034 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 2035else 2036as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2037for as_dir in $PATH 2038do 2039 IFS=$as_save_IFS 2040 test -z "$as_dir" && as_dir=. 2041 for ac_exec_ext in '' $ac_executable_extensions; do 2042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2043 ac_cv_prog_ac_ct_CXX="$ac_prog" 2044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2045 break 2 2046 fi 2047done 2048 done 2049IFS=$as_save_IFS 2050 2051fi 2052fi 2053ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2054if test -n "$ac_ct_CXX"; then 2055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 2056$as_echo "$ac_ct_CXX" >&6; } 2057else 2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2059$as_echo "no" >&6; } 2060fi 2061 2062 2063 test -n "$ac_ct_CXX" && break 2064done 2065 2066 if test "x$ac_ct_CXX" = x; then 2067 CXX="g++" 2068 else 2069 case $cross_compiling:$ac_tool_warned in 2070yes:) 2071{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2072$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2073ac_tool_warned=yes ;; 2074esac 2075 CXX=$ac_ct_CXX 2076 fi 2077fi 2078 2079 fi 2080fi 2081# Provide some information about the compiler. 2082$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 2083set X $ac_compile 2084ac_compiler=$2 2085for ac_option in --version -v -V -qversion; do 2086 { { ac_try="$ac_compiler $ac_option >&5" 2087case "(($ac_try" in 2088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2089 *) ac_try_echo=$ac_try;; 2090esac 2091eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2092$as_echo "$ac_try_echo"; } >&5 2093 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2094 ac_status=$? 2095 if test -s conftest.err; then 2096 sed '10a\ 2097... rest of stderr output deleted ... 2098 10q' conftest.err >conftest.er1 2099 cat conftest.er1 >&5 2100 fi 2101 rm -f conftest.er1 conftest.err 2102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2103 test $ac_status = 0; } 2104done 2105 2106cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2107/* end confdefs.h. */ 2108 2109int 2110main () 2111{ 2112 2113 ; 2114 return 0; 2115} 2116_ACEOF 2117ac_clean_files_save=$ac_clean_files 2118ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2119# Try to create an executable without -o first, disregard a.out. 2120# It will help us diagnose broken compilers, and finding out an intuition 2121# of exeext. 2122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 2123$as_echo_n "checking whether the C++ compiler works... " >&6; } 2124ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2125 2126# The possible output files: 2127ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2128 2129ac_rmfiles= 2130for ac_file in $ac_files 2131do 2132 case $ac_file in 2133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2134 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2135 esac 2136done 2137rm -f $ac_rmfiles 2138 2139if { { ac_try="$ac_link_default" 2140case "(($ac_try" in 2141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2142 *) ac_try_echo=$ac_try;; 2143esac 2144eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2145$as_echo "$ac_try_echo"; } >&5 2146 (eval "$ac_link_default") 2>&5 2147 ac_status=$? 2148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2149 test $ac_status = 0; }; then : 2150 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2151# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2152# in a Makefile. We should not override ac_cv_exeext if it was cached, 2153# so that the user can short-circuit this test for compilers unknown to 2154# Autoconf. 2155for ac_file in $ac_files '' 2156do 2157 test -f "$ac_file" || continue 2158 case $ac_file in 2159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2160 ;; 2161 [ab].out ) 2162 # We found the default executable, but exeext='' is most 2163 # certainly right. 2164 break;; 2165 *.* ) 2166 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2167 then :; else 2168 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2169 fi 2170 # We set ac_cv_exeext here because the later test for it is not 2171 # safe: cross compilers may not add the suffix if given an `-o' 2172 # argument, so we may need to know it at that point already. 2173 # Even if this section looks crufty: it has the advantage of 2174 # actually working. 2175 break;; 2176 * ) 2177 break;; 2178 esac 2179done 2180test "$ac_cv_exeext" = no && ac_cv_exeext= 2181 2182else 2183 ac_file='' 2184fi 2185if test -z "$ac_file"; then : 2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2187$as_echo "no" >&6; } 2188$as_echo "$as_me: failed program was:" >&5 2189sed 's/^/| /' conftest.$ac_ext >&5 2190 2191{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2192$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2193as_fn_error 77 "C++ compiler cannot create executables 2194See \`config.log' for more details" "$LINENO" 5; } 2195else 2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2197$as_echo "yes" >&6; } 2198fi 2199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 2200$as_echo_n "checking for C++ compiler default output file name... " >&6; } 2201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2202$as_echo "$ac_file" >&6; } 2203ac_exeext=$ac_cv_exeext 2204 2205rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2206ac_clean_files=$ac_clean_files_save 2207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2208$as_echo_n "checking for suffix of executables... " >&6; } 2209if { { ac_try="$ac_link" 2210case "(($ac_try" in 2211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2212 *) ac_try_echo=$ac_try;; 2213esac 2214eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2215$as_echo "$ac_try_echo"; } >&5 2216 (eval "$ac_link") 2>&5 2217 ac_status=$? 2218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2219 test $ac_status = 0; }; then : 2220 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2221# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2222# work properly (i.e., refer to `conftest.exe'), while it won't with 2223# `rm'. 2224for ac_file in conftest.exe conftest conftest.*; do 2225 test -f "$ac_file" || continue 2226 case $ac_file in 2227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2228 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2229 break;; 2230 * ) break;; 2231 esac 2232done 2233else 2234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2235$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2236as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2237See \`config.log' for more details" "$LINENO" 5; } 2238fi 2239rm -f conftest conftest$ac_cv_exeext 2240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2241$as_echo "$ac_cv_exeext" >&6; } 2242 2243rm -f conftest.$ac_ext 2244EXEEXT=$ac_cv_exeext 2245ac_exeext=$EXEEXT 2246cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2247/* end confdefs.h. */ 2248#include <stdio.h> 2249int 2250main () 2251{ 2252FILE *f = fopen ("conftest.out", "w"); 2253 return ferror (f) || fclose (f) != 0; 2254 2255 ; 2256 return 0; 2257} 2258_ACEOF 2259ac_clean_files="$ac_clean_files conftest.out" 2260# Check that the compiler produces executables we can run. If not, either 2261# the compiler is broken, or we cross compile. 2262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2263$as_echo_n "checking whether we are cross compiling... " >&6; } 2264if test "$cross_compiling" != yes; then 2265 { { ac_try="$ac_link" 2266case "(($ac_try" in 2267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2268 *) ac_try_echo=$ac_try;; 2269esac 2270eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2271$as_echo "$ac_try_echo"; } >&5 2272 (eval "$ac_link") 2>&5 2273 ac_status=$? 2274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2275 test $ac_status = 0; } 2276 if { ac_try='./conftest$ac_cv_exeext' 2277 { { case "(($ac_try" in 2278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2279 *) ac_try_echo=$ac_try;; 2280esac 2281eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2282$as_echo "$ac_try_echo"; } >&5 2283 (eval "$ac_try") 2>&5 2284 ac_status=$? 2285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2286 test $ac_status = 0; }; }; then 2287 cross_compiling=no 2288 else 2289 if test "$cross_compiling" = maybe; then 2290 cross_compiling=yes 2291 else 2292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2293$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2294as_fn_error $? "cannot run C++ compiled programs. 2295If you meant to cross compile, use \`--host'. 2296See \`config.log' for more details" "$LINENO" 5; } 2297 fi 2298 fi 2299fi 2300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2301$as_echo "$cross_compiling" >&6; } 2302 2303rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2304ac_clean_files=$ac_clean_files_save 2305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2306$as_echo_n "checking for suffix of object files... " >&6; } 2307if ${ac_cv_objext+:} false; then : 2308 $as_echo_n "(cached) " >&6 2309else 2310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2311/* end confdefs.h. */ 2312 2313int 2314main () 2315{ 2316 2317 ; 2318 return 0; 2319} 2320_ACEOF 2321rm -f conftest.o conftest.obj 2322if { { ac_try="$ac_compile" 2323case "(($ac_try" in 2324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2325 *) ac_try_echo=$ac_try;; 2326esac 2327eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2328$as_echo "$ac_try_echo"; } >&5 2329 (eval "$ac_compile") 2>&5 2330 ac_status=$? 2331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2332 test $ac_status = 0; }; then : 2333 for ac_file in conftest.o conftest.obj conftest.*; do 2334 test -f "$ac_file" || continue; 2335 case $ac_file in 2336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2337 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2338 break;; 2339 esac 2340done 2341else 2342 $as_echo "$as_me: failed program was:" >&5 2343sed 's/^/| /' conftest.$ac_ext >&5 2344 2345{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2346$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2347as_fn_error $? "cannot compute suffix of object files: cannot compile 2348See \`config.log' for more details" "$LINENO" 5; } 2349fi 2350rm -f conftest.$ac_cv_objext conftest.$ac_ext 2351fi 2352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2353$as_echo "$ac_cv_objext" >&6; } 2354OBJEXT=$ac_cv_objext 2355ac_objext=$OBJEXT 2356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 2357$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2358if ${ac_cv_cxx_compiler_gnu+:} false; then : 2359 $as_echo_n "(cached) " >&6 2360else 2361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2362/* end confdefs.h. */ 2363 2364int 2365main () 2366{ 2367#ifndef __GNUC__ 2368 choke me 2369#endif 2370 2371 ; 2372 return 0; 2373} 2374_ACEOF 2375if ac_fn_cxx_try_compile "$LINENO"; then : 2376 ac_compiler_gnu=yes 2377else 2378 ac_compiler_gnu=no 2379fi 2380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2381ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2382 2383fi 2384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 2385$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 2386if test $ac_compiler_gnu = yes; then 2387 GXX=yes 2388else 2389 GXX= 2390fi 2391ac_test_CXXFLAGS=${CXXFLAGS+set} 2392ac_save_CXXFLAGS=$CXXFLAGS 2393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 2394$as_echo_n "checking whether $CXX accepts -g... " >&6; } 2395if ${ac_cv_prog_cxx_g+:} false; then : 2396 $as_echo_n "(cached) " >&6 2397else 2398 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 2399 ac_cxx_werror_flag=yes 2400 ac_cv_prog_cxx_g=no 2401 CXXFLAGS="-g" 2402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2403/* end confdefs.h. */ 2404 2405int 2406main () 2407{ 2408 2409 ; 2410 return 0; 2411} 2412_ACEOF 2413if ac_fn_cxx_try_compile "$LINENO"; then : 2414 ac_cv_prog_cxx_g=yes 2415else 2416 CXXFLAGS="" 2417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2418/* end confdefs.h. */ 2419 2420int 2421main () 2422{ 2423 2424 ; 2425 return 0; 2426} 2427_ACEOF 2428if ac_fn_cxx_try_compile "$LINENO"; then : 2429 2430else 2431 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2432 CXXFLAGS="-g" 2433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2434/* end confdefs.h. */ 2435 2436int 2437main () 2438{ 2439 2440 ; 2441 return 0; 2442} 2443_ACEOF 2444if ac_fn_cxx_try_compile "$LINENO"; then : 2445 ac_cv_prog_cxx_g=yes 2446fi 2447rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2448fi 2449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2450fi 2451rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2452 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2453fi 2454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 2455$as_echo "$ac_cv_prog_cxx_g" >&6; } 2456if test "$ac_test_CXXFLAGS" = set; then 2457 CXXFLAGS=$ac_save_CXXFLAGS 2458elif test $ac_cv_prog_cxx_g = yes; then 2459 if test "$GXX" = yes; then 2460 CXXFLAGS="-g -O2" 2461 else 2462 CXXFLAGS="-g" 2463 fi 2464else 2465 if test "$GXX" = yes; then 2466 CXXFLAGS="-O2" 2467 else 2468 CXXFLAGS= 2469 fi 2470fi 2471ac_ext=c 2472ac_cpp='$CPP $CPPFLAGS' 2473ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2474ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2475ac_compiler_gnu=$ac_cv_c_compiler_gnu 2476 2477ac_ext=cpp 2478ac_cpp='$CXXCPP $CPPFLAGS' 2479ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2480ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2481ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2482 2483 2484# Extract the first word of "mkoctfile", so it can be a program name with args. 2485set dummy mkoctfile; ac_word=$2 2486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2487$as_echo_n "checking for $ac_word... " >&6; } 2488if ${ac_cv_prog_HAVE_MKOCTFILE+:} false; then : 2489 $as_echo_n "(cached) " >&6 2490else 2491 if test -n "$HAVE_MKOCTFILE"; then 2492 ac_cv_prog_HAVE_MKOCTFILE="$HAVE_MKOCTFILE" # Let the user override the test. 2493else 2494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2495for as_dir in $PATH 2496do 2497 IFS=$as_save_IFS 2498 test -z "$as_dir" && as_dir=. 2499 for ac_exec_ext in '' $ac_executable_extensions; do 2500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2501 ac_cv_prog_HAVE_MKOCTFILE="yes" 2502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2503 break 2 2504 fi 2505done 2506 done 2507IFS=$as_save_IFS 2508 2509 test -z "$ac_cv_prog_HAVE_MKOCTFILE" && ac_cv_prog_HAVE_MKOCTFILE="no" 2510fi 2511fi 2512HAVE_MKOCTFILE=$ac_cv_prog_HAVE_MKOCTFILE 2513if test -n "$HAVE_MKOCTFILE"; then 2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_MKOCTFILE" >&5 2515$as_echo "$HAVE_MKOCTFILE" >&6; } 2516else 2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2518$as_echo "no" >&6; } 2519fi 2520 2521 2522if test $HAVE_MKOCTFILE = "no"; then 2523 as_fn_error $? "mkoctfile required to install $PACKAGE_NAME" "$LINENO" 5 2524fi 2525 2526 2527ac_ext=cpp 2528ac_cpp='$CXXCPP $CPPFLAGS' 2529ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2530ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2531ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 2533$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 2534if test -z "$CXXCPP"; then 2535 if ${ac_cv_prog_CXXCPP+:} false; then : 2536 $as_echo_n "(cached) " >&6 2537else 2538 # Double quotes because CXXCPP needs to be expanded 2539 for CXXCPP in "$CXX -E" "/lib/cpp" 2540 do 2541 ac_preproc_ok=false 2542for ac_cxx_preproc_warn_flag in '' yes 2543do 2544 # Use a header file that comes with gcc, so configuring glibc 2545 # with a fresh cross-compiler works. 2546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2547 # <limits.h> exists even on freestanding compilers. 2548 # On the NeXT, cc -E runs the code through the compiler's parser, 2549 # not just through cpp. "Syntax error" is here to catch this case. 2550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2551/* end confdefs.h. */ 2552#ifdef __STDC__ 2553# include <limits.h> 2554#else 2555# include <assert.h> 2556#endif 2557 Syntax error 2558_ACEOF 2559if ac_fn_cxx_try_cpp "$LINENO"; then : 2560 2561else 2562 # Broken: fails on valid input. 2563continue 2564fi 2565rm -f conftest.err conftest.i conftest.$ac_ext 2566 2567 # OK, works on sane cases. Now check whether nonexistent headers 2568 # can be detected and how. 2569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2570/* end confdefs.h. */ 2571#include <ac_nonexistent.h> 2572_ACEOF 2573if ac_fn_cxx_try_cpp "$LINENO"; then : 2574 # Broken: success on invalid input. 2575continue 2576else 2577 # Passes both tests. 2578ac_preproc_ok=: 2579break 2580fi 2581rm -f conftest.err conftest.i conftest.$ac_ext 2582 2583done 2584# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2585rm -f conftest.i conftest.err conftest.$ac_ext 2586if $ac_preproc_ok; then : 2587 break 2588fi 2589 2590 done 2591 ac_cv_prog_CXXCPP=$CXXCPP 2592 2593fi 2594 CXXCPP=$ac_cv_prog_CXXCPP 2595else 2596 ac_cv_prog_CXXCPP=$CXXCPP 2597fi 2598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 2599$as_echo "$CXXCPP" >&6; } 2600ac_preproc_ok=false 2601for ac_cxx_preproc_warn_flag in '' yes 2602do 2603 # Use a header file that comes with gcc, so configuring glibc 2604 # with a fresh cross-compiler works. 2605 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2606 # <limits.h> exists even on freestanding compilers. 2607 # On the NeXT, cc -E runs the code through the compiler's parser, 2608 # not just through cpp. "Syntax error" is here to catch this case. 2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2610/* end confdefs.h. */ 2611#ifdef __STDC__ 2612# include <limits.h> 2613#else 2614# include <assert.h> 2615#endif 2616 Syntax error 2617_ACEOF 2618if ac_fn_cxx_try_cpp "$LINENO"; then : 2619 2620else 2621 # Broken: fails on valid input. 2622continue 2623fi 2624rm -f conftest.err conftest.i conftest.$ac_ext 2625 2626 # OK, works on sane cases. Now check whether nonexistent headers 2627 # can be detected and how. 2628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2629/* end confdefs.h. */ 2630#include <ac_nonexistent.h> 2631_ACEOF 2632if ac_fn_cxx_try_cpp "$LINENO"; then : 2633 # Broken: success on invalid input. 2634continue 2635else 2636 # Passes both tests. 2637ac_preproc_ok=: 2638break 2639fi 2640rm -f conftest.err conftest.i conftest.$ac_ext 2641 2642done 2643# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2644rm -f conftest.i conftest.err conftest.$ac_ext 2645if $ac_preproc_ok; then : 2646 2647else 2648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2649$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2650as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 2651See \`config.log' for more details" "$LINENO" 5; } 2652fi 2653 2654ac_ext=cpp 2655ac_cpp='$CXXCPP $CPPFLAGS' 2656ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2657ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2658ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2659 2660 2661{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 2662$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 2663if ${ac_cv_path_GREP+:} false; then : 2664 $as_echo_n "(cached) " >&6 2665else 2666 if test -z "$GREP"; then 2667 ac_path_GREP_found=false 2668 # Loop through the user's path and test for each of PROGNAME-LIST 2669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2670for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 2671do 2672 IFS=$as_save_IFS 2673 test -z "$as_dir" && as_dir=. 2674 for ac_prog in grep ggrep; do 2675 for ac_exec_ext in '' $ac_executable_extensions; do 2676 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 2677 as_fn_executable_p "$ac_path_GREP" || continue 2678# Check for GNU ac_path_GREP and select it if it is found. 2679 # Check for GNU $ac_path_GREP 2680case `"$ac_path_GREP" --version 2>&1` in 2681*GNU*) 2682 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 2683*) 2684 ac_count=0 2685 $as_echo_n 0123456789 >"conftest.in" 2686 while : 2687 do 2688 cat "conftest.in" "conftest.in" >"conftest.tmp" 2689 mv "conftest.tmp" "conftest.in" 2690 cp "conftest.in" "conftest.nl" 2691 $as_echo 'GREP' >> "conftest.nl" 2692 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 2693 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 2694 as_fn_arith $ac_count + 1 && ac_count=$as_val 2695 if test $ac_count -gt ${ac_path_GREP_max-0}; then 2696 # Best one so far, save it but keep looking for a better one 2697 ac_cv_path_GREP="$ac_path_GREP" 2698 ac_path_GREP_max=$ac_count 2699 fi 2700 # 10*(2^10) chars as input seems more than enough 2701 test $ac_count -gt 10 && break 2702 done 2703 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 2704esac 2705 2706 $ac_path_GREP_found && break 3 2707 done 2708 done 2709 done 2710IFS=$as_save_IFS 2711 if test -z "$ac_cv_path_GREP"; then 2712 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 2713 fi 2714else 2715 ac_cv_path_GREP=$GREP 2716fi 2717 2718fi 2719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 2720$as_echo "$ac_cv_path_GREP" >&6; } 2721 GREP="$ac_cv_path_GREP" 2722 2723 2724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 2725$as_echo_n "checking for egrep... " >&6; } 2726if ${ac_cv_path_EGREP+:} false; then : 2727 $as_echo_n "(cached) " >&6 2728else 2729 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 2730 then ac_cv_path_EGREP="$GREP -E" 2731 else 2732 if test -z "$EGREP"; then 2733 ac_path_EGREP_found=false 2734 # Loop through the user's path and test for each of PROGNAME-LIST 2735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2736for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 2737do 2738 IFS=$as_save_IFS 2739 test -z "$as_dir" && as_dir=. 2740 for ac_prog in egrep; do 2741 for ac_exec_ext in '' $ac_executable_extensions; do 2742 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 2743 as_fn_executable_p "$ac_path_EGREP" || continue 2744# Check for GNU ac_path_EGREP and select it if it is found. 2745 # Check for GNU $ac_path_EGREP 2746case `"$ac_path_EGREP" --version 2>&1` in 2747*GNU*) 2748 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 2749*) 2750 ac_count=0 2751 $as_echo_n 0123456789 >"conftest.in" 2752 while : 2753 do 2754 cat "conftest.in" "conftest.in" >"conftest.tmp" 2755 mv "conftest.tmp" "conftest.in" 2756 cp "conftest.in" "conftest.nl" 2757 $as_echo 'EGREP' >> "conftest.nl" 2758 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 2759 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 2760 as_fn_arith $ac_count + 1 && ac_count=$as_val 2761 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 2762 # Best one so far, save it but keep looking for a better one 2763 ac_cv_path_EGREP="$ac_path_EGREP" 2764 ac_path_EGREP_max=$ac_count 2765 fi 2766 # 10*(2^10) chars as input seems more than enough 2767 test $ac_count -gt 10 && break 2768 done 2769 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 2770esac 2771 2772 $ac_path_EGREP_found && break 3 2773 done 2774 done 2775 done 2776IFS=$as_save_IFS 2777 if test -z "$ac_cv_path_EGREP"; then 2778 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 2779 fi 2780else 2781 ac_cv_path_EGREP=$EGREP 2782fi 2783 2784 fi 2785fi 2786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 2787$as_echo "$ac_cv_path_EGREP" >&6; } 2788 EGREP="$ac_cv_path_EGREP" 2789 2790 2791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 2792$as_echo_n "checking for ANSI C header files... " >&6; } 2793if ${ac_cv_header_stdc+:} false; then : 2794 $as_echo_n "(cached) " >&6 2795else 2796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2797/* end confdefs.h. */ 2798#include <stdlib.h> 2799#include <stdarg.h> 2800#include <string.h> 2801#include <float.h> 2802 2803int 2804main () 2805{ 2806 2807 ; 2808 return 0; 2809} 2810_ACEOF 2811if ac_fn_cxx_try_compile "$LINENO"; then : 2812 ac_cv_header_stdc=yes 2813else 2814 ac_cv_header_stdc=no 2815fi 2816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2817 2818if test $ac_cv_header_stdc = yes; then 2819 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2821/* end confdefs.h. */ 2822#include <string.h> 2823 2824_ACEOF 2825if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2826 $EGREP "memchr" >/dev/null 2>&1; then : 2827 2828else 2829 ac_cv_header_stdc=no 2830fi 2831rm -f conftest* 2832 2833fi 2834 2835if test $ac_cv_header_stdc = yes; then 2836 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2838/* end confdefs.h. */ 2839#include <stdlib.h> 2840 2841_ACEOF 2842if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2843 $EGREP "free" >/dev/null 2>&1; then : 2844 2845else 2846 ac_cv_header_stdc=no 2847fi 2848rm -f conftest* 2849 2850fi 2851 2852if test $ac_cv_header_stdc = yes; then 2853 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2854 if test "$cross_compiling" = yes; then : 2855 : 2856else 2857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2858/* end confdefs.h. */ 2859#include <ctype.h> 2860#include <stdlib.h> 2861#if ((' ' & 0x0FF) == 0x020) 2862# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2863# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2864#else 2865# define ISLOWER(c) \ 2866 (('a' <= (c) && (c) <= 'i') \ 2867 || ('j' <= (c) && (c) <= 'r') \ 2868 || ('s' <= (c) && (c) <= 'z')) 2869# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 2870#endif 2871 2872#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2873int 2874main () 2875{ 2876 int i; 2877 for (i = 0; i < 256; i++) 2878 if (XOR (islower (i), ISLOWER (i)) 2879 || toupper (i) != TOUPPER (i)) 2880 return 2; 2881 return 0; 2882} 2883_ACEOF 2884if ac_fn_cxx_try_run "$LINENO"; then : 2885 2886else 2887 ac_cv_header_stdc=no 2888fi 2889rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2890 conftest.$ac_objext conftest.beam conftest.$ac_ext 2891fi 2892 2893fi 2894fi 2895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 2896$as_echo "$ac_cv_header_stdc" >&6; } 2897if test $ac_cv_header_stdc = yes; then 2898 2899$as_echo "#define STDC_HEADERS 1" >>confdefs.h 2900 2901fi 2902 2903# On IRIX 5.3, sys/types and inttypes.h are conflicting. 2904for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 2905 inttypes.h stdint.h unistd.h 2906do : 2907 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 2908ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 2909" 2910if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 2911 cat >>confdefs.h <<_ACEOF 2912#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 2913_ACEOF 2914 2915fi 2916 2917done 2918 2919 2920ac_fn_cxx_check_header_mongrel "$LINENO" "dolfin.h" "ac_cv_header_dolfin_h" "$ac_includes_default" 2921if test "x$ac_cv_header_dolfin_h" = xyes; then : 2922 ac_dolfin_cpp_flags=-DHAVE_DOLFIN_H 2923 ac_dolfin_ld_flags=-ldolfin 2924 2925else 2926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dolfin headers could not be found, som functionalities will be disabled, don't worry your package will still be working, though." >&5 2927$as_echo "$as_me: WARNING: dolfin headers could not be found, som functionalities will be disabled, don't worry your package will still be working, though." >&2;} 2928 2929fi 2930 2931 2932 2933ac_config_files="$ac_config_files Makefile" 2934 2935cat >confcache <<\_ACEOF 2936# This file is a shell script that caches the results of configure 2937# tests run on this system so they can be shared between configure 2938# scripts and configure runs, see configure's option --config-cache. 2939# It is not useful on other systems. If it contains results you don't 2940# want to keep, you may remove or edit it. 2941# 2942# config.status only pays attention to the cache file if you give it 2943# the --recheck option to rerun configure. 2944# 2945# `ac_cv_env_foo' variables (set or unset) will be overridden when 2946# loading this file, other *unset* `ac_cv_foo' will be assigned the 2947# following values. 2948 2949_ACEOF 2950 2951# The following way of writing the cache mishandles newlines in values, 2952# but we know of no workaround that is simple, portable, and efficient. 2953# So, we kill variables containing newlines. 2954# Ultrix sh set writes to stderr and can't be redirected directly, 2955# and sets the high bit in the cache file unless we assign to the vars. 2956( 2957 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 2958 eval ac_val=\$$ac_var 2959 case $ac_val in #( 2960 *${as_nl}*) 2961 case $ac_var in #( 2962 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2963$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2964 esac 2965 case $ac_var in #( 2966 _ | IFS | as_nl) ;; #( 2967 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2968 *) { eval $ac_var=; unset $ac_var;} ;; 2969 esac ;; 2970 esac 2971 done 2972 2973 (set) 2>&1 | 2974 case $as_nl`(ac_space=' '; set) 2>&1` in #( 2975 *${as_nl}ac_space=\ *) 2976 # `set' does not quote correctly, so add quotes: double-quote 2977 # substitution turns \\\\ into \\, and sed turns \\ into \. 2978 sed -n \ 2979 "s/'/'\\\\''/g; 2980 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2981 ;; #( 2982 *) 2983 # `set' quotes correctly as required by POSIX, so do not add quotes. 2984 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2985 ;; 2986 esac | 2987 sort 2988) | 2989 sed ' 2990 /^ac_cv_env_/b end 2991 t clear 2992 :clear 2993 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 2994 t end 2995 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2996 :end' >>confcache 2997if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 2998 if test -w "$cache_file"; then 2999 if test "x$cache_file" != "x/dev/null"; then 3000 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3001$as_echo "$as_me: updating cache $cache_file" >&6;} 3002 if test ! -f "$cache_file" || test -h "$cache_file"; then 3003 cat confcache >"$cache_file" 3004 else 3005 case $cache_file in #( 3006 */* | ?:*) 3007 mv -f confcache "$cache_file"$$ && 3008 mv -f "$cache_file"$$ "$cache_file" ;; #( 3009 *) 3010 mv -f confcache "$cache_file" ;; 3011 esac 3012 fi 3013 fi 3014 else 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3016$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3017 fi 3018fi 3019rm -f confcache 3020 3021test "x$prefix" = xNONE && prefix=$ac_default_prefix 3022# Let make expand exec_prefix. 3023test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3024 3025# Transform confdefs.h into DEFS. 3026# Protect against shell expansion while executing Makefile rules. 3027# Protect against Makefile macro expansion. 3028# 3029# If the first sed substitution is executed (which looks for macros that 3030# take arguments), then branch to the quote section. Otherwise, 3031# look for a macro that doesn't take arguments. 3032ac_script=' 3033:mline 3034/\\$/{ 3035 N 3036 s,\\\n,, 3037 b mline 3038} 3039t clear 3040:clear 3041s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3042t quote 3043s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3044t quote 3045b any 3046:quote 3047s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3048s/\[/\\&/g 3049s/\]/\\&/g 3050s/\$/$$/g 3051H 3052:any 3053${ 3054 g 3055 s/^\n// 3056 s/\n/ /g 3057 p 3058} 3059' 3060DEFS=`sed -n "$ac_script" confdefs.h` 3061 3062 3063ac_libobjs= 3064ac_ltlibobjs= 3065U= 3066for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3067 # 1. Remove the extension, and $U if already installed. 3068 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3069 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 3070 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3071 # will be set to the directory where LIBOBJS objects are built. 3072 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3073 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3074done 3075LIBOBJS=$ac_libobjs 3076 3077LTLIBOBJS=$ac_ltlibobjs 3078 3079 3080 3081: "${CONFIG_STATUS=./config.status}" 3082ac_write_fail=0 3083ac_clean_files_save=$ac_clean_files 3084ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3085{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3086$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 3087as_write_fail=0 3088cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3089#! $SHELL 3090# Generated by $as_me. 3091# Run this file to recreate the current configuration. 3092# Compiler output produced by configure, useful for debugging 3093# configure, is in config.log if it exists. 3094 3095debug=false 3096ac_cs_recheck=false 3097ac_cs_silent=false 3098 3099SHELL=\${CONFIG_SHELL-$SHELL} 3100export SHELL 3101_ASEOF 3102cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3103## -------------------- ## 3104## M4sh Initialization. ## 3105## -------------------- ## 3106 3107# Be more Bourne compatible 3108DUALCASE=1; export DUALCASE # for MKS sh 3109if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 3110 emulate sh 3111 NULLCMD=: 3112 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3113 # is contrary to our usage. Disable this feature. 3114 alias -g '${1+"$@"}'='"$@"' 3115 setopt NO_GLOB_SUBST 3116else 3117 case `(set -o) 2>/dev/null` in #( 3118 *posix*) : 3119 set -o posix ;; #( 3120 *) : 3121 ;; 3122esac 3123fi 3124 3125 3126as_nl=' 3127' 3128export as_nl 3129# Printing a long string crashes Solaris 7 /usr/bin/printf. 3130as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3131as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 3132as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 3133# Prefer a ksh shell builtin over an external printf program on Solaris, 3134# but without wasting forks for bash or zsh. 3135if test -z "$BASH_VERSION$ZSH_VERSION" \ 3136 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 3137 as_echo='print -r --' 3138 as_echo_n='print -rn --' 3139elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 3140 as_echo='printf %s\n' 3141 as_echo_n='printf %s' 3142else 3143 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 3144 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 3145 as_echo_n='/usr/ucb/echo -n' 3146 else 3147 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 3148 as_echo_n_body='eval 3149 arg=$1; 3150 case $arg in #( 3151 *"$as_nl"*) 3152 expr "X$arg" : "X\\(.*\\)$as_nl"; 3153 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 3154 esac; 3155 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 3156 ' 3157 export as_echo_n_body 3158 as_echo_n='sh -c $as_echo_n_body as_echo' 3159 fi 3160 export as_echo_body 3161 as_echo='sh -c $as_echo_body as_echo' 3162fi 3163 3164# The user is always right. 3165if test "${PATH_SEPARATOR+set}" != set; then 3166 PATH_SEPARATOR=: 3167 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3168 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3169 PATH_SEPARATOR=';' 3170 } 3171fi 3172 3173 3174# IFS 3175# We need space, tab and new line, in precisely that order. Quoting is 3176# there to prevent editors from complaining about space-tab. 3177# (If _AS_PATH_WALK were called with IFS unset, it would disable word 3178# splitting by setting IFS to empty value.) 3179IFS=" "" $as_nl" 3180 3181# Find who we are. Look in the path if we contain no directory separator. 3182as_myself= 3183case $0 in #(( 3184 *[\\/]* ) as_myself=$0 ;; 3185 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3186for as_dir in $PATH 3187do 3188 IFS=$as_save_IFS 3189 test -z "$as_dir" && as_dir=. 3190 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3191 done 3192IFS=$as_save_IFS 3193 3194 ;; 3195esac 3196# We did not find ourselves, most probably we were run as `sh COMMAND' 3197# in which case we are not to be found in the path. 3198if test "x$as_myself" = x; then 3199 as_myself=$0 3200fi 3201if test ! -f "$as_myself"; then 3202 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3203 exit 1 3204fi 3205 3206# Unset variables that we do not need and which cause bugs (e.g. in 3207# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 3208# suppresses any "Segmentation fault" message there. '((' could 3209# trigger a bug in pdksh 5.2.14. 3210for as_var in BASH_ENV ENV MAIL MAILPATH 3211do eval test x\${$as_var+set} = xset \ 3212 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3213done 3214PS1='$ ' 3215PS2='> ' 3216PS4='+ ' 3217 3218# NLS nuisances. 3219LC_ALL=C 3220export LC_ALL 3221LANGUAGE=C 3222export LANGUAGE 3223 3224# CDPATH. 3225(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3226 3227 3228# as_fn_error STATUS ERROR [LINENO LOG_FD] 3229# ---------------------------------------- 3230# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3231# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3232# script with STATUS, using 1 if that was 0. 3233as_fn_error () 3234{ 3235 as_status=$1; test $as_status -eq 0 && as_status=1 3236 if test "$4"; then 3237 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3238 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3239 fi 3240 $as_echo "$as_me: error: $2" >&2 3241 as_fn_exit $as_status 3242} # as_fn_error 3243 3244 3245# as_fn_set_status STATUS 3246# ----------------------- 3247# Set $? to STATUS, without forking. 3248as_fn_set_status () 3249{ 3250 return $1 3251} # as_fn_set_status 3252 3253# as_fn_exit STATUS 3254# ----------------- 3255# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3256as_fn_exit () 3257{ 3258 set +e 3259 as_fn_set_status $1 3260 exit $1 3261} # as_fn_exit 3262 3263# as_fn_unset VAR 3264# --------------- 3265# Portably unset VAR. 3266as_fn_unset () 3267{ 3268 { eval $1=; unset $1;} 3269} 3270as_unset=as_fn_unset 3271# as_fn_append VAR VALUE 3272# ---------------------- 3273# Append the text in VALUE to the end of the definition contained in VAR. Take 3274# advantage of any shell optimizations that allow amortized linear growth over 3275# repeated appends, instead of the typical quadratic growth present in naive 3276# implementations. 3277if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3278 eval 'as_fn_append () 3279 { 3280 eval $1+=\$2 3281 }' 3282else 3283 as_fn_append () 3284 { 3285 eval $1=\$$1\$2 3286 } 3287fi # as_fn_append 3288 3289# as_fn_arith ARG... 3290# ------------------ 3291# Perform arithmetic evaluation on the ARGs, and store the result in the 3292# global $as_val. Take advantage of shells that can avoid forks. The arguments 3293# must be portable across $(()) and expr. 3294if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3295 eval 'as_fn_arith () 3296 { 3297 as_val=$(( $* )) 3298 }' 3299else 3300 as_fn_arith () 3301 { 3302 as_val=`expr "$@" || test $? -eq 1` 3303 } 3304fi # as_fn_arith 3305 3306 3307if expr a : '\(a\)' >/dev/null 2>&1 && 3308 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3309 as_expr=expr 3310else 3311 as_expr=false 3312fi 3313 3314if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3315 as_basename=basename 3316else 3317 as_basename=false 3318fi 3319 3320if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3321 as_dirname=dirname 3322else 3323 as_dirname=false 3324fi 3325 3326as_me=`$as_basename -- "$0" || 3327$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3328 X"$0" : 'X\(//\)$' \| \ 3329 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3330$as_echo X/"$0" | 3331 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3332 s//\1/ 3333 q 3334 } 3335 /^X\/\(\/\/\)$/{ 3336 s//\1/ 3337 q 3338 } 3339 /^X\/\(\/\).*/{ 3340 s//\1/ 3341 q 3342 } 3343 s/.*/./; q'` 3344 3345# Avoid depending upon Character Ranges. 3346as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3347as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3348as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3349as_cr_digits='0123456789' 3350as_cr_alnum=$as_cr_Letters$as_cr_digits 3351 3352ECHO_C= ECHO_N= ECHO_T= 3353case `echo -n x` in #((((( 3354-n*) 3355 case `echo 'xy\c'` in 3356 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3357 xy) ECHO_C='\c';; 3358 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3359 ECHO_T=' ';; 3360 esac;; 3361*) 3362 ECHO_N='-n';; 3363esac 3364 3365rm -f conf$$ conf$$.exe conf$$.file 3366if test -d conf$$.dir; then 3367 rm -f conf$$.dir/conf$$.file 3368else 3369 rm -f conf$$.dir 3370 mkdir conf$$.dir 2>/dev/null 3371fi 3372if (echo >conf$$.file) 2>/dev/null; then 3373 if ln -s conf$$.file conf$$ 2>/dev/null; then 3374 as_ln_s='ln -s' 3375 # ... but there are two gotchas: 3376 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3377 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3378 # In both cases, we have to default to `cp -pR'. 3379 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3380 as_ln_s='cp -pR' 3381 elif ln conf$$.file conf$$ 2>/dev/null; then 3382 as_ln_s=ln 3383 else 3384 as_ln_s='cp -pR' 3385 fi 3386else 3387 as_ln_s='cp -pR' 3388fi 3389rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3390rmdir conf$$.dir 2>/dev/null 3391 3392 3393# as_fn_mkdir_p 3394# ------------- 3395# Create "$as_dir" as a directory, including parents if necessary. 3396as_fn_mkdir_p () 3397{ 3398 3399 case $as_dir in #( 3400 -*) as_dir=./$as_dir;; 3401 esac 3402 test -d "$as_dir" || eval $as_mkdir_p || { 3403 as_dirs= 3404 while :; do 3405 case $as_dir in #( 3406 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3407 *) as_qdir=$as_dir;; 3408 esac 3409 as_dirs="'$as_qdir' $as_dirs" 3410 as_dir=`$as_dirname -- "$as_dir" || 3411$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3412 X"$as_dir" : 'X\(//\)[^/]' \| \ 3413 X"$as_dir" : 'X\(//\)$' \| \ 3414 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3415$as_echo X"$as_dir" | 3416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3417 s//\1/ 3418 q 3419 } 3420 /^X\(\/\/\)[^/].*/{ 3421 s//\1/ 3422 q 3423 } 3424 /^X\(\/\/\)$/{ 3425 s//\1/ 3426 q 3427 } 3428 /^X\(\/\).*/{ 3429 s//\1/ 3430 q 3431 } 3432 s/.*/./; q'` 3433 test -d "$as_dir" && break 3434 done 3435 test -z "$as_dirs" || eval "mkdir $as_dirs" 3436 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3437 3438 3439} # as_fn_mkdir_p 3440if mkdir -p . 2>/dev/null; then 3441 as_mkdir_p='mkdir -p "$as_dir"' 3442else 3443 test -d ./-p && rmdir ./-p 3444 as_mkdir_p=false 3445fi 3446 3447 3448# as_fn_executable_p FILE 3449# ----------------------- 3450# Test if FILE is an executable regular file. 3451as_fn_executable_p () 3452{ 3453 test -f "$1" && test -x "$1" 3454} # as_fn_executable_p 3455as_test_x='test -x' 3456as_executable_p=as_fn_executable_p 3457 3458# Sed expression to map a string onto a valid CPP name. 3459as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3460 3461# Sed expression to map a string onto a valid variable name. 3462as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3463 3464 3465exec 6>&1 3466## ----------------------------------- ## 3467## Main body of $CONFIG_STATUS script. ## 3468## ----------------------------------- ## 3469_ASEOF 3470test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3471 3472cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3473# Save the log message, to keep $0 and so on meaningful, and to 3474# report actual input values of CONFIG_FILES etc. instead of their 3475# values after options handling. 3476ac_log=" 3477This file was extended by Msh Package $as_me 1.0, which was 3478generated by GNU Autoconf 2.69. Invocation command line was 3479 3480 CONFIG_FILES = $CONFIG_FILES 3481 CONFIG_HEADERS = $CONFIG_HEADERS 3482 CONFIG_LINKS = $CONFIG_LINKS 3483 CONFIG_COMMANDS = $CONFIG_COMMANDS 3484 $ $0 $@ 3485 3486on `(hostname || uname -n) 2>/dev/null | sed 1q` 3487" 3488 3489_ACEOF 3490 3491case $ac_config_files in *" 3492"*) set x $ac_config_files; shift; ac_config_files=$*;; 3493esac 3494 3495 3496 3497cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3498# Files that config.status was made for. 3499config_files="$ac_config_files" 3500 3501_ACEOF 3502 3503cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3504ac_cs_usage="\ 3505\`$as_me' instantiates files and other configuration actions 3506from templates according to the current configuration. Unless the files 3507and actions are specified as TAGs, all are instantiated by default. 3508 3509Usage: $0 [OPTION]... [TAG]... 3510 3511 -h, --help print this help, then exit 3512 -V, --version print version number and configuration settings, then exit 3513 --config print configuration, then exit 3514 -q, --quiet, --silent 3515 do not print progress messages 3516 -d, --debug don't remove temporary files 3517 --recheck update $as_me by reconfiguring in the same conditions 3518 --file=FILE[:TEMPLATE] 3519 instantiate the configuration file FILE 3520 3521Configuration files: 3522$config_files 3523 3524Report bugs to the package provider." 3525 3526_ACEOF 3527cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3528ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 3529ac_cs_version="\\ 3530Msh Package config.status 1.0 3531configured by $0, generated by GNU Autoconf 2.69, 3532 with options \\"\$ac_cs_config\\" 3533 3534Copyright (C) 2012 Free Software Foundation, Inc. 3535This config.status script is free software; the Free Software Foundation 3536gives unlimited permission to copy, distribute and modify it." 3537 3538ac_pwd='$ac_pwd' 3539srcdir='$srcdir' 3540test -n "\$AWK" || AWK=awk 3541_ACEOF 3542 3543cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3544# The default lists apply if the user does not specify any file. 3545ac_need_defaults=: 3546while test $# != 0 3547do 3548 case $1 in 3549 --*=?*) 3550 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3551 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3552 ac_shift=: 3553 ;; 3554 --*=) 3555 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3556 ac_optarg= 3557 ac_shift=: 3558 ;; 3559 *) 3560 ac_option=$1 3561 ac_optarg=$2 3562 ac_shift=shift 3563 ;; 3564 esac 3565 3566 case $ac_option in 3567 # Handling of the options. 3568 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3569 ac_cs_recheck=: ;; 3570 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3571 $as_echo "$ac_cs_version"; exit ;; 3572 --config | --confi | --conf | --con | --co | --c ) 3573 $as_echo "$ac_cs_config"; exit ;; 3574 --debug | --debu | --deb | --de | --d | -d ) 3575 debug=: ;; 3576 --file | --fil | --fi | --f ) 3577 $ac_shift 3578 case $ac_optarg in 3579 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3580 '') as_fn_error $? "missing file argument" ;; 3581 esac 3582 as_fn_append CONFIG_FILES " '$ac_optarg'" 3583 ac_need_defaults=false;; 3584 --he | --h | --help | --hel | -h ) 3585 $as_echo "$ac_cs_usage"; exit ;; 3586 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3587 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3588 ac_cs_silent=: ;; 3589 3590 # This is an error. 3591 -*) as_fn_error $? "unrecognized option: \`$1' 3592Try \`$0 --help' for more information." ;; 3593 3594 *) as_fn_append ac_config_targets " $1" 3595 ac_need_defaults=false ;; 3596 3597 esac 3598 shift 3599done 3600 3601ac_configure_extra_args= 3602 3603if $ac_cs_silent; then 3604 exec 6>/dev/null 3605 ac_configure_extra_args="$ac_configure_extra_args --silent" 3606fi 3607 3608_ACEOF 3609cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3610if \$ac_cs_recheck; then 3611 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3612 shift 3613 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 3614 CONFIG_SHELL='$SHELL' 3615 export CONFIG_SHELL 3616 exec "\$@" 3617fi 3618 3619_ACEOF 3620cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3621exec 5>>config.log 3622{ 3623 echo 3624 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3625## Running $as_me. ## 3626_ASBOX 3627 $as_echo "$ac_log" 3628} >&5 3629 3630_ACEOF 3631cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3632_ACEOF 3633 3634cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3635 3636# Handling of arguments. 3637for ac_config_target in $ac_config_targets 3638do 3639 case $ac_config_target in 3640 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3641 3642 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3643 esac 3644done 3645 3646 3647# If the user did not use the arguments to specify the items to instantiate, 3648# then the envvar interface is used. Set only those that are not. 3649# We use the long form for the default assignment because of an extremely 3650# bizarre bug on SunOS 4.1.3. 3651if $ac_need_defaults; then 3652 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3653fi 3654 3655# Have a temporary directory for convenience. Make it in the build tree 3656# simply because there is no reason against having it here, and in addition, 3657# creating and moving files from /tmp can sometimes cause problems. 3658# Hook for its removal unless debugging. 3659# Note that there is a small window in which the directory will not be cleaned: 3660# after its creation but before its name has been assigned to `$tmp'. 3661$debug || 3662{ 3663 tmp= ac_tmp= 3664 trap 'exit_status=$? 3665 : "${ac_tmp:=$tmp}" 3666 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 3667' 0 3668 trap 'as_fn_exit 1' 1 2 13 15 3669} 3670# Create a (secure) tmp directory for tmp files. 3671 3672{ 3673 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3674 test -d "$tmp" 3675} || 3676{ 3677 tmp=./conf$$-$RANDOM 3678 (umask 077 && mkdir "$tmp") 3679} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 3680ac_tmp=$tmp 3681 3682# Set up the scripts for CONFIG_FILES section. 3683# No need to generate them if there are no CONFIG_FILES. 3684# This happens for instance with `./config.status config.h'. 3685if test -n "$CONFIG_FILES"; then 3686 3687 3688ac_cr=`echo X | tr X '\015'` 3689# On cygwin, bash can eat \r inside `` if the user requested igncr. 3690# But we know of no other shell where ac_cr would be empty at this 3691# point, so we can use a bashism as a fallback. 3692if test "x$ac_cr" = x; then 3693 eval ac_cr=\$\'\\r\' 3694fi 3695ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3696if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3697 ac_cs_awk_cr='\\r' 3698else 3699 ac_cs_awk_cr=$ac_cr 3700fi 3701 3702echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 3703_ACEOF 3704 3705 3706{ 3707 echo "cat >conf$$subs.awk <<_ACEOF" && 3708 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 3709 echo "_ACEOF" 3710} >conf$$subs.sh || 3711 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3712ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 3713ac_delim='%!_!# ' 3714for ac_last_try in false false false false false :; do 3715 . ./conf$$subs.sh || 3716 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3717 3718 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 3719 if test $ac_delim_n = $ac_delim_num; then 3720 break 3721 elif $ac_last_try; then 3722 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3723 else 3724 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3725 fi 3726done 3727rm -f conf$$subs.sh 3728 3729cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3730cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 3731_ACEOF 3732sed -n ' 3733h 3734s/^/S["/; s/!.*/"]=/ 3735p 3736g 3737s/^[^!]*!// 3738:repl 3739t repl 3740s/'"$ac_delim"'$// 3741t delim 3742:nl 3743h 3744s/\(.\{148\}\)..*/\1/ 3745t more1 3746s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 3747p 3748n 3749b repl 3750:more1 3751s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3752p 3753g 3754s/.\{148\}// 3755t nl 3756:delim 3757h 3758s/\(.\{148\}\)..*/\1/ 3759t more2 3760s/["\\]/\\&/g; s/^/"/; s/$/"/ 3761p 3762b 3763:more2 3764s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3765p 3766g 3767s/.\{148\}// 3768t delim 3769' <conf$$subs.awk | sed ' 3770/^[^""]/{ 3771 N 3772 s/\n// 3773} 3774' >>$CONFIG_STATUS || ac_write_fail=1 3775rm -f conf$$subs.awk 3776cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3777_ACAWK 3778cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 3779 for (key in S) S_is_set[key] = 1 3780 FS = "" 3781 3782} 3783{ 3784 line = $ 0 3785 nfields = split(line, field, "@") 3786 substed = 0 3787 len = length(field[1]) 3788 for (i = 2; i < nfields; i++) { 3789 key = field[i] 3790 keylen = length(key) 3791 if (S_is_set[key]) { 3792 value = S[key] 3793 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 3794 len += length(value) + length(field[++i]) 3795 substed = 1 3796 } else 3797 len += 1 + keylen 3798 } 3799 3800 print line 3801} 3802 3803_ACAWK 3804_ACEOF 3805cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3806if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 3807 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 3808else 3809 cat 3810fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 3811 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 3812_ACEOF 3813 3814# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 3815# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 3816# trailing colons and then remove the whole line if VPATH becomes empty 3817# (actually we leave an empty line to preserve line numbers). 3818if test "x$srcdir" = x.; then 3819 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 3820h 3821s/// 3822s/^/:/ 3823s/[ ]*$/:/ 3824s/:\$(srcdir):/:/g 3825s/:\${srcdir}:/:/g 3826s/:@srcdir@:/:/g 3827s/^:*// 3828s/:*$// 3829x 3830s/\(=[ ]*\).*/\1/ 3831G 3832s/\n// 3833s/^[^=]*=[ ]*$// 3834}' 3835fi 3836 3837cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3838fi # test -n "$CONFIG_FILES" 3839 3840 3841eval set X " :F $CONFIG_FILES " 3842shift 3843for ac_tag 3844do 3845 case $ac_tag in 3846 :[FHLC]) ac_mode=$ac_tag; continue;; 3847 esac 3848 case $ac_mode$ac_tag in 3849 :[FHL]*:*);; 3850 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 3851 :[FH]-) ac_tag=-:-;; 3852 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3853 esac 3854 ac_save_IFS=$IFS 3855 IFS=: 3856 set x $ac_tag 3857 IFS=$ac_save_IFS 3858 shift 3859 ac_file=$1 3860 shift 3861 3862 case $ac_mode in 3863 :L) ac_source=$1;; 3864 :[FH]) 3865 ac_file_inputs= 3866 for ac_f 3867 do 3868 case $ac_f in 3869 -) ac_f="$ac_tmp/stdin";; 3870 *) # Look for the file first in the build tree, then in the source tree 3871 # (if the path is not absolute). The absolute path cannot be DOS-style, 3872 # because $ac_f cannot contain `:'. 3873 test -f "$ac_f" || 3874 case $ac_f in 3875 [\\/$]*) false;; 3876 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3877 esac || 3878 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 3879 esac 3880 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 3881 as_fn_append ac_file_inputs " '$ac_f'" 3882 done 3883 3884 # Let's still pretend it is `configure' which instantiates (i.e., don't 3885 # use $as_me), people would be surprised to read: 3886 # /* config.h. Generated by config.status. */ 3887 configure_input='Generated from '` 3888 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 3889 `' by configure.' 3890 if test x"$ac_file" != x-; then 3891 configure_input="$ac_file. $configure_input" 3892 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 3893$as_echo "$as_me: creating $ac_file" >&6;} 3894 fi 3895 # Neutralize special characters interpreted by sed in replacement strings. 3896 case $configure_input in #( 3897 *\&* | *\|* | *\\* ) 3898 ac_sed_conf_input=`$as_echo "$configure_input" | 3899 sed 's/[\\\\&|]/\\\\&/g'`;; #( 3900 *) ac_sed_conf_input=$configure_input;; 3901 esac 3902 3903 case $ac_tag in 3904 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 3905 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 3906 esac 3907 ;; 3908 esac 3909 3910 ac_dir=`$as_dirname -- "$ac_file" || 3911$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3912 X"$ac_file" : 'X\(//\)[^/]' \| \ 3913 X"$ac_file" : 'X\(//\)$' \| \ 3914 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 3915$as_echo X"$ac_file" | 3916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3917 s//\1/ 3918 q 3919 } 3920 /^X\(\/\/\)[^/].*/{ 3921 s//\1/ 3922 q 3923 } 3924 /^X\(\/\/\)$/{ 3925 s//\1/ 3926 q 3927 } 3928 /^X\(\/\).*/{ 3929 s//\1/ 3930 q 3931 } 3932 s/.*/./; q'` 3933 as_dir="$ac_dir"; as_fn_mkdir_p 3934 ac_builddir=. 3935 3936case "$ac_dir" in 3937.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 3938*) 3939 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 3940 # A ".." for each directory in $ac_dir_suffix. 3941 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 3942 case $ac_top_builddir_sub in 3943 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 3944 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 3945 esac ;; 3946esac 3947ac_abs_top_builddir=$ac_pwd 3948ac_abs_builddir=$ac_pwd$ac_dir_suffix 3949# for backward compatibility: 3950ac_top_builddir=$ac_top_build_prefix 3951 3952case $srcdir in 3953 .) # We are building in place. 3954 ac_srcdir=. 3955 ac_top_srcdir=$ac_top_builddir_sub 3956 ac_abs_top_srcdir=$ac_pwd ;; 3957 [\\/]* | ?:[\\/]* ) # Absolute name. 3958 ac_srcdir=$srcdir$ac_dir_suffix; 3959 ac_top_srcdir=$srcdir 3960 ac_abs_top_srcdir=$srcdir ;; 3961 *) # Relative name. 3962 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 3963 ac_top_srcdir=$ac_top_build_prefix$srcdir 3964 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 3965esac 3966ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 3967 3968 3969 case $ac_mode in 3970 :F) 3971 # 3972 # CONFIG_FILE 3973 # 3974 3975_ACEOF 3976 3977cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3978# If the template does not know about datarootdir, expand it. 3979# FIXME: This hack should be removed a few years after 2.60. 3980ac_datarootdir_hack=; ac_datarootdir_seen= 3981ac_sed_dataroot=' 3982/datarootdir/ { 3983 p 3984 q 3985} 3986/@datadir@/p 3987/@docdir@/p 3988/@infodir@/p 3989/@localedir@/p 3990/@mandir@/p' 3991case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 3992*datarootdir*) ac_datarootdir_seen=yes;; 3993*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 3994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 3995$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 3996_ACEOF 3997cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3998 ac_datarootdir_hack=' 3999 s&@datadir@&$datadir&g 4000 s&@docdir@&$docdir&g 4001 s&@infodir@&$infodir&g 4002 s&@localedir@&$localedir&g 4003 s&@mandir@&$mandir&g 4004 s&\\\${datarootdir}&$datarootdir&g' ;; 4005esac 4006_ACEOF 4007 4008# Neutralize VPATH when `$srcdir' = `.'. 4009# Shell code in configure.ac might set extrasub. 4010# FIXME: do we really want to maintain this feature? 4011cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4012ac_sed_extra="$ac_vpsub 4013$extrasub 4014_ACEOF 4015cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4016:t 4017/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4018s|@configure_input@|$ac_sed_conf_input|;t t 4019s&@top_builddir@&$ac_top_builddir_sub&;t t 4020s&@top_build_prefix@&$ac_top_build_prefix&;t t 4021s&@srcdir@&$ac_srcdir&;t t 4022s&@abs_srcdir@&$ac_abs_srcdir&;t t 4023s&@top_srcdir@&$ac_top_srcdir&;t t 4024s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4025s&@builddir@&$ac_builddir&;t t 4026s&@abs_builddir@&$ac_abs_builddir&;t t 4027s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4028$ac_datarootdir_hack 4029" 4030eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4031 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4032 4033test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4034 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4035 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4036 "$ac_tmp/out"`; test -z "$ac_out"; } && 4037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4038which seems to be undefined. Please make sure it is defined" >&5 4039$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4040which seems to be undefined. Please make sure it is defined" >&2;} 4041 4042 rm -f "$ac_tmp/stdin" 4043 case $ac_file in 4044 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 4045 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4046 esac \ 4047 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4048 ;; 4049 4050 4051 4052 esac 4053 4054done # for ac_tag 4055 4056 4057as_fn_exit 0 4058_ACEOF 4059ac_clean_files=$ac_clean_files_save 4060 4061test $ac_write_fail = 0 || 4062 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4063 4064 4065# configure is writing to config.log, and then calls config.status. 4066# config.status does its own redirection, appending to config.log. 4067# Unfortunately, on DOS this fails, as config.log is still kept open 4068# by configure, so config.status won't be able to write to it; its 4069# output is simply discarded. So we exec the FD to /dev/null, 4070# effectively closing config.log, so it can be properly (re)opened and 4071# appended to by config.status. When coming back to configure, we 4072# need to make the FD available again. 4073if test "$no_create" != yes; then 4074 ac_cs_success=: 4075 ac_config_status_args= 4076 test "$silent" = yes && 4077 ac_config_status_args="$ac_config_status_args --quiet" 4078 exec 5>/dev/null 4079 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4080 exec 5>>config.log 4081 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4082 # would make configure fail if this is the last instruction. 4083 $ac_cs_success || as_fn_exit 1 4084fi 4085if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4087$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4088fi 4089 4090