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