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