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