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