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