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