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