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