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