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