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