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