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