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