1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.67 for miau 0.6.6. 4# 5# 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8# Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92case $0 in #(( 93 *[\\/]* ) as_myself=$0 ;; 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95for as_dir in $PATH 96do 97 IFS=$as_save_IFS 98 test -z "$as_dir" && as_dir=. 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 101IFS=$as_save_IFS 102 103 ;; 104esac 105# We did not find ourselves, most probably we were run as `sh COMMAND' 106# in which case we are not to be found in the path. 107if test "x$as_myself" = x; then 108 as_myself=$0 109fi 110if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113fi 114 115# Unset variables that we do not need and which cause bugs (e.g. in 116# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117# suppresses any "Segmentation fault" message there. '((' could 118# trigger a bug in pdksh 5.2.14. 119for as_var in BASH_ENV ENV MAIL MAILPATH 120do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 122done 123PS1='$ ' 124PS2='> ' 125PS4='+ ' 126 127# NLS nuisances. 128LC_ALL=C 129export LC_ALL 130LANGUAGE=C 131export LANGUAGE 132 133# CDPATH. 134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136if test "x$CONFIG_SHELL" = x; then 137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 138 emulate sh 139 NULLCMD=: 140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 141 # is contrary to our usage. Disable this feature. 142 alias -g '\${1+\"\$@\"}'='\"\$@\"' 143 setopt NO_GLOB_SUBST 144else 145 case \`(set -o) 2>/dev/null\` in #( 146 *posix*) : 147 set -o posix ;; #( 148 *) : 149 ;; 150esac 151fi 152" 153 as_required="as_fn_return () { (exit \$1); } 154as_fn_success () { as_fn_return 0; } 155as_fn_failure () { as_fn_return 1; } 156as_fn_ret_success () { return 0; } 157as_fn_ret_failure () { return 1; } 158 159exitcode=0 160as_fn_success || { exitcode=1; echo as_fn_success failed.; } 161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 165 166else 167 exitcode=1; echo positional parameters were not saved. 168fi 169test x\$exitcode = x0 || exit 1" 170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 174test \$(( 1 + 1 )) = 2 || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177else 178 as_have_required=no 179fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184as_found=false 185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 186do 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200fi 201fi 202 done;; 203 esac 204 as_found=false 205done 206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209fi; } 210IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 BASH_ENV=/dev/null 218 ENV=/dev/null 219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 220 export CONFIG_SHELL 221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 222fi 223 224 if test x$as_have_required = xno; then : 225 $as_echo "$0: This script requires a shell more modern than all" 226 $as_echo "$0: the shells that I found on your system." 227 if test x${ZSH_VERSION+set} = xset ; then 228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 229 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 230 else 231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 232$0: including any error possibly output before this 233$0: message. Then install a modern shell, or manually run 234$0: the script under such a shell if you do have one." 235 fi 236 exit 1 237fi 238fi 239fi 240SHELL=${CONFIG_SHELL-/bin/sh} 241export SHELL 242# Unset more variables known to interfere with behavior of common tools. 243CLICOLOR_FORCE= GREP_OPTIONS= 244unset CLICOLOR_FORCE GREP_OPTIONS 245 246## --------------------- ## 247## M4sh Shell Functions. ## 248## --------------------- ## 249# as_fn_unset VAR 250# --------------- 251# Portably unset VAR. 252as_fn_unset () 253{ 254 { eval $1=; unset $1;} 255} 256as_unset=as_fn_unset 257 258# as_fn_set_status STATUS 259# ----------------------- 260# Set $? to STATUS, without forking. 261as_fn_set_status () 262{ 263 return $1 264} # as_fn_set_status 265 266# as_fn_exit STATUS 267# ----------------- 268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 269as_fn_exit () 270{ 271 set +e 272 as_fn_set_status $1 273 exit $1 274} # as_fn_exit 275 276# as_fn_mkdir_p 277# ------------- 278# Create "$as_dir" as a directory, including parents if necessary. 279as_fn_mkdir_p () 280{ 281 282 case $as_dir in #( 283 -*) as_dir=./$as_dir;; 284 esac 285 test -d "$as_dir" || eval $as_mkdir_p || { 286 as_dirs= 287 while :; do 288 case $as_dir in #( 289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 290 *) as_qdir=$as_dir;; 291 esac 292 as_dirs="'$as_qdir' $as_dirs" 293 as_dir=`$as_dirname -- "$as_dir" || 294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 295 X"$as_dir" : 'X\(//\)[^/]' \| \ 296 X"$as_dir" : 'X\(//\)$' \| \ 297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 298$as_echo X"$as_dir" | 299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 300 s//\1/ 301 q 302 } 303 /^X\(\/\/\)[^/].*/{ 304 s//\1/ 305 q 306 } 307 /^X\(\/\/\)$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\).*/{ 312 s//\1/ 313 q 314 } 315 s/.*/./; q'` 316 test -d "$as_dir" && break 317 done 318 test -z "$as_dirs" || eval "mkdir $as_dirs" 319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 320 321 322} # as_fn_mkdir_p 323# as_fn_append VAR VALUE 324# ---------------------- 325# Append the text in VALUE to the end of the definition contained in VAR. Take 326# advantage of any shell optimizations that allow amortized linear growth over 327# repeated appends, instead of the typical quadratic growth present in naive 328# implementations. 329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 330 eval 'as_fn_append () 331 { 332 eval $1+=\$2 333 }' 334else 335 as_fn_append () 336 { 337 eval $1=\$$1\$2 338 } 339fi # as_fn_append 340 341# as_fn_arith ARG... 342# ------------------ 343# Perform arithmetic evaluation on the ARGs, and store the result in the 344# global $as_val. Take advantage of shells that can avoid forks. The arguments 345# must be portable across $(()) and expr. 346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 347 eval 'as_fn_arith () 348 { 349 as_val=$(( $* )) 350 }' 351else 352 as_fn_arith () 353 { 354 as_val=`expr "$@" || test $? -eq 1` 355 } 356fi # as_fn_arith 357 358 359# as_fn_error STATUS ERROR [LINENO LOG_FD] 360# ---------------------------------------- 361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 363# script with STATUS, using 1 if that was 0. 364as_fn_error () 365{ 366 as_status=$1; test $as_status -eq 0 && as_status=1 367 if test "$4"; then 368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 370 fi 371 $as_echo "$as_me: error: $2" >&2 372 as_fn_exit $as_status 373} # as_fn_error 374 375if expr a : '\(a\)' >/dev/null 2>&1 && 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then 377 as_expr=expr 378else 379 as_expr=false 380fi 381 382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 383 as_basename=basename 384else 385 as_basename=false 386fi 387 388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 389 as_dirname=dirname 390else 391 as_dirname=false 392fi 393 394as_me=`$as_basename -- "$0" || 395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 396 X"$0" : 'X\(//\)$' \| \ 397 X"$0" : 'X\(/\)' \| . 2>/dev/null || 398$as_echo X/"$0" | 399 sed '/^.*\/\([^/][^/]*\)\/*$/{ 400 s//\1/ 401 q 402 } 403 /^X\/\(\/\/\)$/{ 404 s//\1/ 405 q 406 } 407 /^X\/\(\/\).*/{ 408 s//\1/ 409 q 410 } 411 s/.*/./; q'` 412 413# Avoid depending upon Character Ranges. 414as_cr_letters='abcdefghijklmnopqrstuvwxyz' 415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 416as_cr_Letters=$as_cr_letters$as_cr_LETTERS 417as_cr_digits='0123456789' 418as_cr_alnum=$as_cr_Letters$as_cr_digits 419 420 421 as_lineno_1=$LINENO as_lineno_1a=$LINENO 422 as_lineno_2=$LINENO as_lineno_2a=$LINENO 423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 426 sed -n ' 427 p 428 /[$]LINENO/= 429 ' <$as_myself | 430 sed ' 431 s/[$]LINENO.*/&-/ 432 t lineno 433 b 434 :lineno 435 N 436 :loop 437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 438 t loop 439 s/-\n.*// 440 ' >$as_me.lineno && 441 chmod +x "$as_me.lineno" || 442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 443 444 # Don't try to exec as it changes $[0], causing all sort of problems 445 # (the dirname of $[0] is not the place where we might find the 446 # original and so on. Autoconf is especially sensitive to this). 447 . "./$as_me.lineno" 448 # Exit status is that of the last command. 449 exit 450} 451 452ECHO_C= ECHO_N= ECHO_T= 453case `echo -n x` in #((((( 454-n*) 455 case `echo 'xy\c'` in 456 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 457 xy) ECHO_C='\c';; 458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 459 ECHO_T=' ';; 460 esac;; 461*) 462 ECHO_N='-n';; 463esac 464 465rm -f conf$$ conf$$.exe conf$$.file 466if test -d conf$$.dir; then 467 rm -f conf$$.dir/conf$$.file 468else 469 rm -f conf$$.dir 470 mkdir conf$$.dir 2>/dev/null 471fi 472if (echo >conf$$.file) 2>/dev/null; then 473 if ln -s conf$$.file conf$$ 2>/dev/null; then 474 as_ln_s='ln -s' 475 # ... but there are two gotchas: 476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 478 # In both cases, we have to default to `cp -p'. 479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 480 as_ln_s='cp -p' 481 elif ln conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s=ln 483 else 484 as_ln_s='cp -p' 485 fi 486else 487 as_ln_s='cp -p' 488fi 489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 490rmdir conf$$.dir 2>/dev/null 491 492if mkdir -p . 2>/dev/null; then 493 as_mkdir_p='mkdir -p "$as_dir"' 494else 495 test -d ./-p && rmdir ./-p 496 as_mkdir_p=false 497fi 498 499if test -x / >/dev/null 2>&1; then 500 as_test_x='test -x' 501else 502 if ls -dL / >/dev/null 2>&1; then 503 as_ls_L_option=L 504 else 505 as_ls_L_option= 506 fi 507 as_test_x=' 508 eval sh -c '\'' 509 if test -d "$1"; then 510 test -d "$1/."; 511 else 512 case $1 in #( 513 -*)set "./$1";; 514 esac; 515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 516 ???[sx]*):;;*)false;;esac;fi 517 '\'' sh 518 ' 519fi 520as_executable_p=$as_test_x 521 522# Sed expression to map a string onto a valid CPP name. 523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 524 525# Sed expression to map a string onto a valid variable name. 526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 527 528 529test -n "$DJDIR" || exec 7<&0 </dev/null 530exec 6>&1 531 532# Name of the host. 533# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 534# so uname gets run too. 535ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 536 537# 538# Initializations. 539# 540ac_default_prefix=/usr/local 541ac_clean_files= 542ac_config_libobj_dir=. 543LIBOBJS= 544cross_compiling=no 545subdirs= 546MFLAGS= 547MAKEFLAGS= 548 549# Identity of this package. 550PACKAGE_NAME='miau' 551PACKAGE_TARNAME='miau' 552PACKAGE_VERSION='0.6.6' 553PACKAGE_STRING='miau 0.6.6' 554PACKAGE_BUGREPORT='' 555PACKAGE_URL='' 556 557ac_unique_file="src/miau.c" 558# Factoring default headers for most tests. 559ac_includes_default="\ 560#include <stdio.h> 561#ifdef HAVE_SYS_TYPES_H 562# include <sys/types.h> 563#endif 564#ifdef HAVE_SYS_STAT_H 565# include <sys/stat.h> 566#endif 567#ifdef STDC_HEADERS 568# include <stdlib.h> 569# include <stddef.h> 570#else 571# ifdef HAVE_STDLIB_H 572# include <stdlib.h> 573# endif 574#endif 575#ifdef HAVE_STRING_H 576# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 577# include <memory.h> 578# endif 579# include <string.h> 580#endif 581#ifdef HAVE_STRINGS_H 582# include <strings.h> 583#endif 584#ifdef HAVE_INTTYPES_H 585# include <inttypes.h> 586#endif 587#ifdef HAVE_STDINT_H 588# include <stdint.h> 589#endif 590#ifdef HAVE_UNISTD_H 591# include <unistd.h> 592#endif" 593 594ac_subst_vars='am__EXEEXT_FALSE 595am__EXEEXT_TRUE 596LTLIBOBJS 597exampledir 598ac_local 599LIBOBJS 600EGREP 601GREP 602CPP 603am__fastdepCC_FALSE 604am__fastdepCC_TRUE 605CCDEPMODE 606AMDEPBACKSLASH 607AMDEP_FALSE 608AMDEP_TRUE 609am__quote 610am__include 611DEPDIR 612OBJEXT 613EXEEXT 614ac_ct_CC 615CPPFLAGS 616LDFLAGS 617CFLAGS 618CC 619am__untar 620am__tar 621AMTAR 622am__leading_dot 623SET_MAKE 624AWK 625mkdir_p 626MKDIR_P 627INSTALL_STRIP_PROGRAM 628STRIP 629install_sh 630MAKEINFO 631AUTOHEADER 632AUTOMAKE 633AUTOCONF 634ACLOCAL 635VERSION 636PACKAGE 637CYGPATH_W 638am__isrc 639INSTALL_DATA 640INSTALL_SCRIPT 641INSTALL_PROGRAM 642target_alias 643host_alias 644build_alias 645LIBS 646ECHO_T 647ECHO_N 648ECHO_C 649DEFS 650mandir 651localedir 652libdir 653psdir 654pdfdir 655dvidir 656htmldir 657infodir 658docdir 659oldincludedir 660includedir 661localstatedir 662sharedstatedir 663sysconfdir 664datadir 665datarootdir 666libexecdir 667sbindir 668bindir 669program_transform_name 670prefix 671exec_prefix 672PACKAGE_URL 673PACKAGE_BUGREPORT 674PACKAGE_STRING 675PACKAGE_VERSION 676PACKAGE_TARNAME 677PACKAGE_NAME 678PATH_SEPARATOR 679SHELL' 680ac_subst_files='' 681ac_user_opts=' 682enable_option_checking 683with_snprintf_workaround 684with_dont_check_select 685enable_local 686enable_ipv6 687enable_empty_awaymsg 688enable_releasenick 689enable_dccbounce 690enable_automode 691enable_mkpasswd 692enable_uptime 693enable_chanlog 694enable_privlog 695enable_onconnect 696enable_ctcp_replies 697enable_ascii_art 698enable_quicklog 699enable_qlogstamp 700enable_inbox 701enable_enduserdebug 702enable_pingstat 703enable_dumpstatus 704enable_debug 705enable_dependency_tracking 706' 707 ac_precious_vars='build_alias 708host_alias 709target_alias 710CC 711CFLAGS 712LDFLAGS 713LIBS 714CPPFLAGS 715CPP' 716 717 718# Initialize some variables set by options. 719ac_init_help= 720ac_init_version=false 721ac_unrecognized_opts= 722ac_unrecognized_sep= 723# The variables have the same names as the options, with 724# dashes changed to underlines. 725cache_file=/dev/null 726exec_prefix=NONE 727no_create= 728no_recursion= 729prefix=NONE 730program_prefix=NONE 731program_suffix=NONE 732program_transform_name=s,x,x, 733silent= 734site= 735srcdir= 736verbose= 737x_includes=NONE 738x_libraries=NONE 739 740# Installation directory options. 741# These are left unexpanded so users can "make install exec_prefix=/foo" 742# and all the variables that are supposed to be based on exec_prefix 743# by default will actually change. 744# Use braces instead of parens because sh, perl, etc. also accept them. 745# (The list follows the same order as the GNU Coding Standards.) 746bindir='${exec_prefix}/bin' 747sbindir='${exec_prefix}/sbin' 748libexecdir='${exec_prefix}/libexec' 749datarootdir='${prefix}/share' 750datadir='${datarootdir}' 751sysconfdir='${prefix}/etc' 752sharedstatedir='${prefix}/com' 753localstatedir='${prefix}/var' 754includedir='${prefix}/include' 755oldincludedir='/usr/include' 756docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 757infodir='${datarootdir}/info' 758htmldir='${docdir}' 759dvidir='${docdir}' 760pdfdir='${docdir}' 761psdir='${docdir}' 762libdir='${exec_prefix}/lib' 763localedir='${datarootdir}/locale' 764mandir='${datarootdir}/man' 765 766ac_prev= 767ac_dashdash= 768for ac_option 769do 770 # If the previous option needs an argument, assign it. 771 if test -n "$ac_prev"; then 772 eval $ac_prev=\$ac_option 773 ac_prev= 774 continue 775 fi 776 777 case $ac_option in 778 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 779 *=) ac_optarg= ;; 780 *) ac_optarg=yes ;; 781 esac 782 783 # Accept the important Cygnus configure options, so we can diagnose typos. 784 785 case $ac_dashdash$ac_option in 786 --) 787 ac_dashdash=yes ;; 788 789 -bindir | --bindir | --bindi | --bind | --bin | --bi) 790 ac_prev=bindir ;; 791 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 792 bindir=$ac_optarg ;; 793 794 -build | --build | --buil | --bui | --bu) 795 ac_prev=build_alias ;; 796 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 797 build_alias=$ac_optarg ;; 798 799 -cache-file | --cache-file | --cache-fil | --cache-fi \ 800 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 801 ac_prev=cache_file ;; 802 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 803 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 804 cache_file=$ac_optarg ;; 805 806 --config-cache | -C) 807 cache_file=config.cache ;; 808 809 -datadir | --datadir | --datadi | --datad) 810 ac_prev=datadir ;; 811 -datadir=* | --datadir=* | --datadi=* | --datad=*) 812 datadir=$ac_optarg ;; 813 814 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 815 | --dataroo | --dataro | --datar) 816 ac_prev=datarootdir ;; 817 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 818 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 819 datarootdir=$ac_optarg ;; 820 821 -disable-* | --disable-*) 822 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 823 # Reject names that are not valid shell variable names. 824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 825 as_fn_error $? "invalid feature name: $ac_useropt" 826 ac_useropt_orig=$ac_useropt 827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 828 case $ac_user_opts in 829 *" 830"enable_$ac_useropt" 831"*) ;; 832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 833 ac_unrecognized_sep=', ';; 834 esac 835 eval enable_$ac_useropt=no ;; 836 837 -docdir | --docdir | --docdi | --doc | --do) 838 ac_prev=docdir ;; 839 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 840 docdir=$ac_optarg ;; 841 842 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 843 ac_prev=dvidir ;; 844 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 845 dvidir=$ac_optarg ;; 846 847 -enable-* | --enable-*) 848 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 849 # Reject names that are not valid shell variable names. 850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 851 as_fn_error $? "invalid feature name: $ac_useropt" 852 ac_useropt_orig=$ac_useropt 853 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 854 case $ac_user_opts in 855 *" 856"enable_$ac_useropt" 857"*) ;; 858 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 859 ac_unrecognized_sep=', ';; 860 esac 861 eval enable_$ac_useropt=\$ac_optarg ;; 862 863 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 864 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 865 | --exec | --exe | --ex) 866 ac_prev=exec_prefix ;; 867 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 868 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 869 | --exec=* | --exe=* | --ex=*) 870 exec_prefix=$ac_optarg ;; 871 872 -gas | --gas | --ga | --g) 873 # Obsolete; use --with-gas. 874 with_gas=yes ;; 875 876 -help | --help | --hel | --he | -h) 877 ac_init_help=long ;; 878 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 879 ac_init_help=recursive ;; 880 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 881 ac_init_help=short ;; 882 883 -host | --host | --hos | --ho) 884 ac_prev=host_alias ;; 885 -host=* | --host=* | --hos=* | --ho=*) 886 host_alias=$ac_optarg ;; 887 888 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 889 ac_prev=htmldir ;; 890 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 891 | --ht=*) 892 htmldir=$ac_optarg ;; 893 894 -includedir | --includedir | --includedi | --included | --include \ 895 | --includ | --inclu | --incl | --inc) 896 ac_prev=includedir ;; 897 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 898 | --includ=* | --inclu=* | --incl=* | --inc=*) 899 includedir=$ac_optarg ;; 900 901 -infodir | --infodir | --infodi | --infod | --info | --inf) 902 ac_prev=infodir ;; 903 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 904 infodir=$ac_optarg ;; 905 906 -libdir | --libdir | --libdi | --libd) 907 ac_prev=libdir ;; 908 -libdir=* | --libdir=* | --libdi=* | --libd=*) 909 libdir=$ac_optarg ;; 910 911 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 912 | --libexe | --libex | --libe) 913 ac_prev=libexecdir ;; 914 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 915 | --libexe=* | --libex=* | --libe=*) 916 libexecdir=$ac_optarg ;; 917 918 -localedir | --localedir | --localedi | --localed | --locale) 919 ac_prev=localedir ;; 920 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 921 localedir=$ac_optarg ;; 922 923 -localstatedir | --localstatedir | --localstatedi | --localstated \ 924 | --localstate | --localstat | --localsta | --localst | --locals) 925 ac_prev=localstatedir ;; 926 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 927 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 928 localstatedir=$ac_optarg ;; 929 930 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 931 ac_prev=mandir ;; 932 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 933 mandir=$ac_optarg ;; 934 935 -nfp | --nfp | --nf) 936 # Obsolete; use --without-fp. 937 with_fp=no ;; 938 939 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 940 | --no-cr | --no-c | -n) 941 no_create=yes ;; 942 943 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 944 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 945 no_recursion=yes ;; 946 947 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 948 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 949 | --oldin | --oldi | --old | --ol | --o) 950 ac_prev=oldincludedir ;; 951 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 952 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 953 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 954 oldincludedir=$ac_optarg ;; 955 956 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 957 ac_prev=prefix ;; 958 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 959 prefix=$ac_optarg ;; 960 961 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 962 | --program-pre | --program-pr | --program-p) 963 ac_prev=program_prefix ;; 964 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 965 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 966 program_prefix=$ac_optarg ;; 967 968 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 969 | --program-suf | --program-su | --program-s) 970 ac_prev=program_suffix ;; 971 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 972 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 973 program_suffix=$ac_optarg ;; 974 975 -program-transform-name | --program-transform-name \ 976 | --program-transform-nam | --program-transform-na \ 977 | --program-transform-n | --program-transform- \ 978 | --program-transform | --program-transfor \ 979 | --program-transfo | --program-transf \ 980 | --program-trans | --program-tran \ 981 | --progr-tra | --program-tr | --program-t) 982 ac_prev=program_transform_name ;; 983 -program-transform-name=* | --program-transform-name=* \ 984 | --program-transform-nam=* | --program-transform-na=* \ 985 | --program-transform-n=* | --program-transform-=* \ 986 | --program-transform=* | --program-transfor=* \ 987 | --program-transfo=* | --program-transf=* \ 988 | --program-trans=* | --program-tran=* \ 989 | --progr-tra=* | --program-tr=* | --program-t=*) 990 program_transform_name=$ac_optarg ;; 991 992 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 993 ac_prev=pdfdir ;; 994 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 995 pdfdir=$ac_optarg ;; 996 997 -psdir | --psdir | --psdi | --psd | --ps) 998 ac_prev=psdir ;; 999 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1000 psdir=$ac_optarg ;; 1001 1002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1003 | -silent | --silent | --silen | --sile | --sil) 1004 silent=yes ;; 1005 1006 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1007 ac_prev=sbindir ;; 1008 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1009 | --sbi=* | --sb=*) 1010 sbindir=$ac_optarg ;; 1011 1012 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1013 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1014 | --sharedst | --shareds | --shared | --share | --shar \ 1015 | --sha | --sh) 1016 ac_prev=sharedstatedir ;; 1017 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1018 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1019 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1020 | --sha=* | --sh=*) 1021 sharedstatedir=$ac_optarg ;; 1022 1023 -site | --site | --sit) 1024 ac_prev=site ;; 1025 -site=* | --site=* | --sit=*) 1026 site=$ac_optarg ;; 1027 1028 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1029 ac_prev=srcdir ;; 1030 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1031 srcdir=$ac_optarg ;; 1032 1033 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1034 | --syscon | --sysco | --sysc | --sys | --sy) 1035 ac_prev=sysconfdir ;; 1036 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1037 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1038 sysconfdir=$ac_optarg ;; 1039 1040 -target | --target | --targe | --targ | --tar | --ta | --t) 1041 ac_prev=target_alias ;; 1042 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1043 target_alias=$ac_optarg ;; 1044 1045 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1046 verbose=yes ;; 1047 1048 -version | --version | --versio | --versi | --vers | -V) 1049 ac_init_version=: ;; 1050 1051 -with-* | --with-*) 1052 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1053 # Reject names that are not valid shell variable names. 1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1055 as_fn_error $? "invalid package name: $ac_useropt" 1056 ac_useropt_orig=$ac_useropt 1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1058 case $ac_user_opts in 1059 *" 1060"with_$ac_useropt" 1061"*) ;; 1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1063 ac_unrecognized_sep=', ';; 1064 esac 1065 eval with_$ac_useropt=\$ac_optarg ;; 1066 1067 -without-* | --without-*) 1068 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1069 # Reject names that are not valid shell variable names. 1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1071 as_fn_error $? "invalid package name: $ac_useropt" 1072 ac_useropt_orig=$ac_useropt 1073 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1074 case $ac_user_opts in 1075 *" 1076"with_$ac_useropt" 1077"*) ;; 1078 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1079 ac_unrecognized_sep=', ';; 1080 esac 1081 eval with_$ac_useropt=no ;; 1082 1083 --x) 1084 # Obsolete; use --with-x. 1085 with_x=yes ;; 1086 1087 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1088 | --x-incl | --x-inc | --x-in | --x-i) 1089 ac_prev=x_includes ;; 1090 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1091 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1092 x_includes=$ac_optarg ;; 1093 1094 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1095 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1096 ac_prev=x_libraries ;; 1097 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1098 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1099 x_libraries=$ac_optarg ;; 1100 1101 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1102Try \`$0 --help' for more information" 1103 ;; 1104 1105 *=*) 1106 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1107 # Reject names that are not valid shell variable names. 1108 case $ac_envvar in #( 1109 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1110 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1111 esac 1112 eval $ac_envvar=\$ac_optarg 1113 export $ac_envvar ;; 1114 1115 *) 1116 # FIXME: should be removed in autoconf 3.0. 1117 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1118 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1119 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1120 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1121 ;; 1122 1123 esac 1124done 1125 1126if test -n "$ac_prev"; then 1127 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1128 as_fn_error $? "missing argument to $ac_option" 1129fi 1130 1131if test -n "$ac_unrecognized_opts"; then 1132 case $enable_option_checking in 1133 no) ;; 1134 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1135 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1136 esac 1137fi 1138 1139# Check all directory arguments for consistency. 1140for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1141 datadir sysconfdir sharedstatedir localstatedir includedir \ 1142 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1143 libdir localedir mandir 1144do 1145 eval ac_val=\$$ac_var 1146 # Remove trailing slashes. 1147 case $ac_val in 1148 */ ) 1149 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1150 eval $ac_var=\$ac_val;; 1151 esac 1152 # Be sure to have absolute directory names. 1153 case $ac_val in 1154 [\\/$]* | ?:[\\/]* ) continue;; 1155 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1156 esac 1157 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1158done 1159 1160# There might be people who depend on the old broken behavior: `$host' 1161# used to hold the argument of --host etc. 1162# FIXME: To remove some day. 1163build=$build_alias 1164host=$host_alias 1165target=$target_alias 1166 1167# FIXME: To remove some day. 1168if test "x$host_alias" != x; then 1169 if test "x$build_alias" = x; then 1170 cross_compiling=maybe 1171 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1172 If a cross compiler is detected then cross compile mode will be used" >&2 1173 elif test "x$build_alias" != "x$host_alias"; then 1174 cross_compiling=yes 1175 fi 1176fi 1177 1178ac_tool_prefix= 1179test -n "$host_alias" && ac_tool_prefix=$host_alias- 1180 1181test "$silent" = yes && exec 6>/dev/null 1182 1183 1184ac_pwd=`pwd` && test -n "$ac_pwd" && 1185ac_ls_di=`ls -di .` && 1186ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1187 as_fn_error $? "working directory cannot be determined" 1188test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1189 as_fn_error $? "pwd does not report name of working directory" 1190 1191 1192# Find the source files, if location was not specified. 1193if test -z "$srcdir"; then 1194 ac_srcdir_defaulted=yes 1195 # Try the directory containing this script, then the parent directory. 1196 ac_confdir=`$as_dirname -- "$as_myself" || 1197$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1198 X"$as_myself" : 'X\(//\)[^/]' \| \ 1199 X"$as_myself" : 'X\(//\)$' \| \ 1200 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1201$as_echo X"$as_myself" | 1202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1203 s//\1/ 1204 q 1205 } 1206 /^X\(\/\/\)[^/].*/{ 1207 s//\1/ 1208 q 1209 } 1210 /^X\(\/\/\)$/{ 1211 s//\1/ 1212 q 1213 } 1214 /^X\(\/\).*/{ 1215 s//\1/ 1216 q 1217 } 1218 s/.*/./; q'` 1219 srcdir=$ac_confdir 1220 if test ! -r "$srcdir/$ac_unique_file"; then 1221 srcdir=.. 1222 fi 1223else 1224 ac_srcdir_defaulted=no 1225fi 1226if test ! -r "$srcdir/$ac_unique_file"; then 1227 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1228 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1229fi 1230ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1231ac_abs_confdir=`( 1232 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1233 pwd)` 1234# When building in place, set srcdir=. 1235if test "$ac_abs_confdir" = "$ac_pwd"; then 1236 srcdir=. 1237fi 1238# Remove unnecessary trailing slashes from srcdir. 1239# Double slashes in file names in object file debugging info 1240# mess up M-x gdb in Emacs. 1241case $srcdir in 1242*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1243esac 1244for ac_var in $ac_precious_vars; do 1245 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1246 eval ac_env_${ac_var}_value=\$${ac_var} 1247 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1248 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1249done 1250 1251# 1252# Report the --help message. 1253# 1254if test "$ac_init_help" = "long"; then 1255 # Omit some internal or obsolete options to make the list less imposing. 1256 # This message is too long to be a string in the A/UX 3.1 sh. 1257 cat <<_ACEOF 1258\`configure' configures miau 0.6.6 to adapt to many kinds of systems. 1259 1260Usage: $0 [OPTION]... [VAR=VALUE]... 1261 1262To assign environment variables (e.g., CC, CFLAGS...), specify them as 1263VAR=VALUE. See below for descriptions of some of the useful variables. 1264 1265Defaults for the options are specified in brackets. 1266 1267Configuration: 1268 -h, --help display this help and exit 1269 --help=short display options specific to this package 1270 --help=recursive display the short help of all the included packages 1271 -V, --version display version information and exit 1272 -q, --quiet, --silent do not print \`checking ...' messages 1273 --cache-file=FILE cache test results in FILE [disabled] 1274 -C, --config-cache alias for \`--cache-file=config.cache' 1275 -n, --no-create do not create output files 1276 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1277 1278Installation directories: 1279 --prefix=PREFIX install architecture-independent files in PREFIX 1280 [$ac_default_prefix] 1281 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1282 [PREFIX] 1283 1284By default, \`make install' will install all the files in 1285\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1286an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1287for instance \`--prefix=\$HOME'. 1288 1289For better control, use the options below. 1290 1291Fine tuning of the installation directories: 1292 --bindir=DIR user executables [EPREFIX/bin] 1293 --sbindir=DIR system admin executables [EPREFIX/sbin] 1294 --libexecdir=DIR program executables [EPREFIX/libexec] 1295 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1296 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1297 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1298 --libdir=DIR object code libraries [EPREFIX/lib] 1299 --includedir=DIR C header files [PREFIX/include] 1300 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1301 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1302 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1303 --infodir=DIR info documentation [DATAROOTDIR/info] 1304 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1305 --mandir=DIR man documentation [DATAROOTDIR/man] 1306 --docdir=DIR documentation root [DATAROOTDIR/doc/miau] 1307 --htmldir=DIR html documentation [DOCDIR] 1308 --dvidir=DIR dvi documentation [DOCDIR] 1309 --pdfdir=DIR pdf documentation [DOCDIR] 1310 --psdir=DIR ps documentation [DOCDIR] 1311_ACEOF 1312 1313 cat <<\_ACEOF 1314 1315Program names: 1316 --program-prefix=PREFIX prepend PREFIX to installed program names 1317 --program-suffix=SUFFIX append SUFFIX to installed program names 1318 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1319_ACEOF 1320fi 1321 1322if test -n "$ac_init_help"; then 1323 case $ac_init_help in 1324 short | recursive ) echo "Configuration of miau 0.6.6:";; 1325 esac 1326 cat <<\_ACEOF 1327 1328Optional Features: 1329 --disable-option-checking ignore unrecognized --enable/--with options 1330 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1331 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1332 --enable-local install miau locally, not system-wide 1333 --enable-ipv6 enable IPv6 ONLY -support (no IPv4!) 1334 --enable-empty-awaymsg allow empty AWAY messages 1335 --enable-releasenick enable release nick -feature 1336 --disable-dccbounce disable DCC-bouncing capability 1337 --disable-automode disable automode -capability 1338 --disable-mkpasswd disable mkpasswd-capability 1339 --disable-uptime disable uptime-command 1340 --disable-chanlog disable channel logging 1341 --disable-privlog disable private message logging 1342 --disable-onconnect disable on-connect actions 1343 --disable-ctcp-replies disable ctcp-replies 1344 --disable-ascii-art disable fancy ascii-art 1345 --disable-quicklog disable quicklog 1346 --disable-qlogstamp disable quicklog timestamps 1347 --disable-inbox disable message inbox 1348 --disable-enduserdebug disable debugging feature for end-user (debug) 1349 --enable-pingstat enable ping-statistics (debug) 1350 --disable-dumpstatus disable command to dump miau's status (debug) 1351 --enable-debug produce debugging information (for gdb etc.) (debug) 1352 --disable-dependency-tracking speeds up one-time build 1353 --enable-dependency-tracking do not reject slow dependency extractors 1354 1355Optional Packages: 1356 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1357 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1358 --with-snprintf-workaround 1359 use a quick hack to ignore missing (v)snprintf 1360 --with-dont-check-select 1361 don't check existence of "select()" since we can't 1362 find it on HP-UX 1363 1364Some influential environment variables: 1365 CC C compiler command 1366 CFLAGS C compiler flags 1367 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1368 nonstandard directory <lib dir> 1369 LIBS libraries to pass to the linker, e.g. -l<library> 1370 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1371 you have headers in a nonstandard directory <include dir> 1372 CPP C preprocessor 1373 1374Use these variables to override the choices made by `configure' or to help 1375it to find libraries and programs with nonstandard names/locations. 1376 1377Report bugs to the package provider. 1378_ACEOF 1379ac_status=$? 1380fi 1381 1382if test "$ac_init_help" = "recursive"; then 1383 # If there are subdirs, report their specific --help. 1384 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1385 test -d "$ac_dir" || 1386 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1387 continue 1388 ac_builddir=. 1389 1390case "$ac_dir" in 1391.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1392*) 1393 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1394 # A ".." for each directory in $ac_dir_suffix. 1395 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1396 case $ac_top_builddir_sub in 1397 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1398 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1399 esac ;; 1400esac 1401ac_abs_top_builddir=$ac_pwd 1402ac_abs_builddir=$ac_pwd$ac_dir_suffix 1403# for backward compatibility: 1404ac_top_builddir=$ac_top_build_prefix 1405 1406case $srcdir in 1407 .) # We are building in place. 1408 ac_srcdir=. 1409 ac_top_srcdir=$ac_top_builddir_sub 1410 ac_abs_top_srcdir=$ac_pwd ;; 1411 [\\/]* | ?:[\\/]* ) # Absolute name. 1412 ac_srcdir=$srcdir$ac_dir_suffix; 1413 ac_top_srcdir=$srcdir 1414 ac_abs_top_srcdir=$srcdir ;; 1415 *) # Relative name. 1416 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1417 ac_top_srcdir=$ac_top_build_prefix$srcdir 1418 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1419esac 1420ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1421 1422 cd "$ac_dir" || { ac_status=$?; continue; } 1423 # Check for guested configure. 1424 if test -f "$ac_srcdir/configure.gnu"; then 1425 echo && 1426 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1427 elif test -f "$ac_srcdir/configure"; then 1428 echo && 1429 $SHELL "$ac_srcdir/configure" --help=recursive 1430 else 1431 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1432 fi || ac_status=$? 1433 cd "$ac_pwd" || { ac_status=$?; break; } 1434 done 1435fi 1436 1437test -n "$ac_init_help" && exit $ac_status 1438if $ac_init_version; then 1439 cat <<\_ACEOF 1440miau configure 0.6.6 1441generated by GNU Autoconf 2.67 1442 1443Copyright (C) 2010 Free Software Foundation, Inc. 1444This configure script is free software; the Free Software Foundation 1445gives unlimited permission to copy, distribute and modify it. 1446_ACEOF 1447 exit 1448fi 1449 1450## ------------------------ ## 1451## Autoconf initialization. ## 1452## ------------------------ ## 1453 1454# ac_fn_c_try_compile LINENO 1455# -------------------------- 1456# Try to compile conftest.$ac_ext, and return whether this succeeded. 1457ac_fn_c_try_compile () 1458{ 1459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1460 rm -f conftest.$ac_objext 1461 if { { ac_try="$ac_compile" 1462case "(($ac_try" in 1463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1464 *) ac_try_echo=$ac_try;; 1465esac 1466eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1467$as_echo "$ac_try_echo"; } >&5 1468 (eval "$ac_compile") 2>conftest.err 1469 ac_status=$? 1470 if test -s conftest.err; then 1471 grep -v '^ *+' conftest.err >conftest.er1 1472 cat conftest.er1 >&5 1473 mv -f conftest.er1 conftest.err 1474 fi 1475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1476 test $ac_status = 0; } && { 1477 test -z "$ac_c_werror_flag" || 1478 test ! -s conftest.err 1479 } && test -s conftest.$ac_objext; then : 1480 ac_retval=0 1481else 1482 $as_echo "$as_me: failed program was:" >&5 1483sed 's/^/| /' conftest.$ac_ext >&5 1484 1485 ac_retval=1 1486fi 1487 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1488 as_fn_set_status $ac_retval 1489 1490} # ac_fn_c_try_compile 1491 1492# ac_fn_c_try_cpp LINENO 1493# ---------------------- 1494# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1495ac_fn_c_try_cpp () 1496{ 1497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1498 if { { ac_try="$ac_cpp conftest.$ac_ext" 1499case "(($ac_try" in 1500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1501 *) ac_try_echo=$ac_try;; 1502esac 1503eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1504$as_echo "$ac_try_echo"; } >&5 1505 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1506 ac_status=$? 1507 if test -s conftest.err; then 1508 grep -v '^ *+' conftest.err >conftest.er1 1509 cat conftest.er1 >&5 1510 mv -f conftest.er1 conftest.err 1511 fi 1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1513 test $ac_status = 0; } > conftest.i && { 1514 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1515 test ! -s conftest.err 1516 }; then : 1517 ac_retval=0 1518else 1519 $as_echo "$as_me: failed program was:" >&5 1520sed 's/^/| /' conftest.$ac_ext >&5 1521 1522 ac_retval=1 1523fi 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_cpp 1528 1529# ac_fn_c_try_run LINENO 1530# ---------------------- 1531# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1532# that executables *can* be run. 1533ac_fn_c_try_run () 1534{ 1535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1536 if { { ac_try="$ac_link" 1537case "(($ac_try" in 1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1539 *) ac_try_echo=$ac_try;; 1540esac 1541eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1542$as_echo "$ac_try_echo"; } >&5 1543 (eval "$ac_link") 2>&5 1544 ac_status=$? 1545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1546 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1547 { { case "(($ac_try" in 1548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1549 *) ac_try_echo=$ac_try;; 1550esac 1551eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1552$as_echo "$ac_try_echo"; } >&5 1553 (eval "$ac_try") 2>&5 1554 ac_status=$? 1555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1556 test $ac_status = 0; }; }; then : 1557 ac_retval=0 1558else 1559 $as_echo "$as_me: program exited with status $ac_status" >&5 1560 $as_echo "$as_me: failed program was:" >&5 1561sed 's/^/| /' conftest.$ac_ext >&5 1562 1563 ac_retval=$ac_status 1564fi 1565 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1566 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1567 as_fn_set_status $ac_retval 1568 1569} # ac_fn_c_try_run 1570 1571# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1572# ------------------------------------------------------- 1573# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1574# the include files in INCLUDES and setting the cache variable VAR 1575# accordingly. 1576ac_fn_c_check_header_mongrel () 1577{ 1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1579 if eval "test \"\${$3+set}\"" = set; then : 1580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1581$as_echo_n "checking for $2... " >&6; } 1582if eval "test \"\${$3+set}\"" = set; then : 1583 $as_echo_n "(cached) " >&6 1584fi 1585eval ac_res=\$$3 1586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1587$as_echo "$ac_res" >&6; } 1588else 1589 # Is the header compilable? 1590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1591$as_echo_n "checking $2 usability... " >&6; } 1592cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1593/* end confdefs.h. */ 1594$4 1595#include <$2> 1596_ACEOF 1597if ac_fn_c_try_compile "$LINENO"; then : 1598 ac_header_compiler=yes 1599else 1600 ac_header_compiler=no 1601fi 1602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1604$as_echo "$ac_header_compiler" >&6; } 1605 1606# Is the header present? 1607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1608$as_echo_n "checking $2 presence... " >&6; } 1609cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1610/* end confdefs.h. */ 1611#include <$2> 1612_ACEOF 1613if ac_fn_c_try_cpp "$LINENO"; then : 1614 ac_header_preproc=yes 1615else 1616 ac_header_preproc=no 1617fi 1618rm -f conftest.err conftest.i conftest.$ac_ext 1619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1620$as_echo "$ac_header_preproc" >&6; } 1621 1622# So? What about this header? 1623case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1624 yes:no: ) 1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1626$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1628$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1629 ;; 1630 no:yes:* ) 1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1632$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1634$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1636$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1638$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1640$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1641 ;; 1642esac 1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1644$as_echo_n "checking for $2... " >&6; } 1645if eval "test \"\${$3+set}\"" = set; then : 1646 $as_echo_n "(cached) " >&6 1647else 1648 eval "$3=\$ac_header_compiler" 1649fi 1650eval ac_res=\$$3 1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1652$as_echo "$ac_res" >&6; } 1653fi 1654 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1655 1656} # ac_fn_c_check_header_mongrel 1657 1658# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1659# ------------------------------------------------------- 1660# Tests whether HEADER exists and can be compiled using the include files in 1661# INCLUDES, setting the cache variable VAR accordingly. 1662ac_fn_c_check_header_compile () 1663{ 1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1666$as_echo_n "checking for $2... " >&6; } 1667if eval "test \"\${$3+set}\"" = set; then : 1668 $as_echo_n "(cached) " >&6 1669else 1670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1671/* end confdefs.h. */ 1672$4 1673#include <$2> 1674_ACEOF 1675if ac_fn_c_try_compile "$LINENO"; then : 1676 eval "$3=yes" 1677else 1678 eval "$3=no" 1679fi 1680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1681fi 1682eval ac_res=\$$3 1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1684$as_echo "$ac_res" >&6; } 1685 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1686 1687} # ac_fn_c_check_header_compile 1688 1689# ac_fn_c_try_link LINENO 1690# ----------------------- 1691# Try to link conftest.$ac_ext, and return whether this succeeded. 1692ac_fn_c_try_link () 1693{ 1694 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1695 rm -f conftest.$ac_objext conftest$ac_exeext 1696 if { { ac_try="$ac_link" 1697case "(($ac_try" in 1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1699 *) ac_try_echo=$ac_try;; 1700esac 1701eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1702$as_echo "$ac_try_echo"; } >&5 1703 (eval "$ac_link") 2>conftest.err 1704 ac_status=$? 1705 if test -s conftest.err; then 1706 grep -v '^ *+' conftest.err >conftest.er1 1707 cat conftest.er1 >&5 1708 mv -f conftest.er1 conftest.err 1709 fi 1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1711 test $ac_status = 0; } && { 1712 test -z "$ac_c_werror_flag" || 1713 test ! -s conftest.err 1714 } && test -s conftest$ac_exeext && { 1715 test "$cross_compiling" = yes || 1716 $as_test_x conftest$ac_exeext 1717 }; then : 1718 ac_retval=0 1719else 1720 $as_echo "$as_me: failed program was:" >&5 1721sed 's/^/| /' conftest.$ac_ext >&5 1722 1723 ac_retval=1 1724fi 1725 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1726 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1727 # interfere with the next link command; also delete a directory that is 1728 # left behind by Apple's compiler. We do this before executing the actions. 1729 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1730 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1731 as_fn_set_status $ac_retval 1732 1733} # ac_fn_c_try_link 1734 1735# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1736# ------------------------------------------- 1737# Tests whether TYPE exists after having included INCLUDES, setting cache 1738# variable VAR accordingly. 1739ac_fn_c_check_type () 1740{ 1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1743$as_echo_n "checking for $2... " >&6; } 1744if eval "test \"\${$3+set}\"" = set; then : 1745 $as_echo_n "(cached) " >&6 1746else 1747 eval "$3=no" 1748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1749/* end confdefs.h. */ 1750$4 1751int 1752main () 1753{ 1754if (sizeof ($2)) 1755 return 0; 1756 ; 1757 return 0; 1758} 1759_ACEOF 1760if ac_fn_c_try_compile "$LINENO"; then : 1761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1762/* end confdefs.h. */ 1763$4 1764int 1765main () 1766{ 1767if (sizeof (($2))) 1768 return 0; 1769 ; 1770 return 0; 1771} 1772_ACEOF 1773if ac_fn_c_try_compile "$LINENO"; then : 1774 1775else 1776 eval "$3=yes" 1777fi 1778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1779fi 1780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1781fi 1782eval ac_res=\$$3 1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1784$as_echo "$ac_res" >&6; } 1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1786 1787} # ac_fn_c_check_type 1788 1789# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 1790# ---------------------------------------------------- 1791# Tries to find if the field MEMBER exists in type AGGR, after including 1792# INCLUDES, setting cache variable VAR accordingly. 1793ac_fn_c_check_member () 1794{ 1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 1797$as_echo_n "checking for $2.$3... " >&6; } 1798if eval "test \"\${$4+set}\"" = set; then : 1799 $as_echo_n "(cached) " >&6 1800else 1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1802/* end confdefs.h. */ 1803$5 1804int 1805main () 1806{ 1807static $2 ac_aggr; 1808if (ac_aggr.$3) 1809return 0; 1810 ; 1811 return 0; 1812} 1813_ACEOF 1814if ac_fn_c_try_compile "$LINENO"; then : 1815 eval "$4=yes" 1816else 1817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1818/* end confdefs.h. */ 1819$5 1820int 1821main () 1822{ 1823static $2 ac_aggr; 1824if (sizeof ac_aggr.$3) 1825return 0; 1826 ; 1827 return 0; 1828} 1829_ACEOF 1830if ac_fn_c_try_compile "$LINENO"; then : 1831 eval "$4=yes" 1832else 1833 eval "$4=no" 1834fi 1835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1836fi 1837rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1838fi 1839eval ac_res=\$$4 1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1841$as_echo "$ac_res" >&6; } 1842 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1843 1844} # ac_fn_c_check_member 1845 1846# ac_fn_c_check_func LINENO FUNC VAR 1847# ---------------------------------- 1848# Tests whether FUNC exists, setting the cache variable VAR accordingly 1849ac_fn_c_check_func () 1850{ 1851 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1853$as_echo_n "checking for $2... " >&6; } 1854if eval "test \"\${$3+set}\"" = set; then : 1855 $as_echo_n "(cached) " >&6 1856else 1857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1858/* end confdefs.h. */ 1859/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1860 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1861#define $2 innocuous_$2 1862 1863/* System header to define __stub macros and hopefully few prototypes, 1864 which can conflict with char $2 (); below. 1865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1866 <limits.h> exists even on freestanding compilers. */ 1867 1868#ifdef __STDC__ 1869# include <limits.h> 1870#else 1871# include <assert.h> 1872#endif 1873 1874#undef $2 1875 1876/* Override any GCC internal prototype to avoid an error. 1877 Use char because int might match the return type of a GCC 1878 builtin and then its argument prototype would still apply. */ 1879#ifdef __cplusplus 1880extern "C" 1881#endif 1882char $2 (); 1883/* The GNU C library defines this for functions which it implements 1884 to always fail with ENOSYS. Some functions are actually named 1885 something starting with __ and the normal name is an alias. */ 1886#if defined __stub_$2 || defined __stub___$2 1887choke me 1888#endif 1889 1890int 1891main () 1892{ 1893return $2 (); 1894 ; 1895 return 0; 1896} 1897_ACEOF 1898if ac_fn_c_try_link "$LINENO"; then : 1899 eval "$3=yes" 1900else 1901 eval "$3=no" 1902fi 1903rm -f core conftest.err conftest.$ac_objext \ 1904 conftest$ac_exeext conftest.$ac_ext 1905fi 1906eval ac_res=\$$3 1907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1908$as_echo "$ac_res" >&6; } 1909 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1910 1911} # ac_fn_c_check_func 1912cat >config.log <<_ACEOF 1913This file contains any messages produced by compilers while 1914running configure, to aid debugging if configure makes a mistake. 1915 1916It was created by miau $as_me 0.6.6, which was 1917generated by GNU Autoconf 2.67. Invocation command line was 1918 1919 $ $0 $@ 1920 1921_ACEOF 1922exec 5>>config.log 1923{ 1924cat <<_ASUNAME 1925## --------- ## 1926## Platform. ## 1927## --------- ## 1928 1929hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1930uname -m = `(uname -m) 2>/dev/null || echo unknown` 1931uname -r = `(uname -r) 2>/dev/null || echo unknown` 1932uname -s = `(uname -s) 2>/dev/null || echo unknown` 1933uname -v = `(uname -v) 2>/dev/null || echo unknown` 1934 1935/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1936/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1937 1938/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1939/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1940/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1941/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1942/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1943/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1944/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1945 1946_ASUNAME 1947 1948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1949for as_dir in $PATH 1950do 1951 IFS=$as_save_IFS 1952 test -z "$as_dir" && as_dir=. 1953 $as_echo "PATH: $as_dir" 1954 done 1955IFS=$as_save_IFS 1956 1957} >&5 1958 1959cat >&5 <<_ACEOF 1960 1961 1962## ----------- ## 1963## Core tests. ## 1964## ----------- ## 1965 1966_ACEOF 1967 1968 1969# Keep a trace of the command line. 1970# Strip out --no-create and --no-recursion so they do not pile up. 1971# Strip out --silent because we don't want to record it for future runs. 1972# Also quote any args containing shell meta-characters. 1973# Make two passes to allow for proper duplicate-argument suppression. 1974ac_configure_args= 1975ac_configure_args0= 1976ac_configure_args1= 1977ac_must_keep_next=false 1978for ac_pass in 1 2 1979do 1980 for ac_arg 1981 do 1982 case $ac_arg in 1983 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1984 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1985 | -silent | --silent | --silen | --sile | --sil) 1986 continue ;; 1987 *\'*) 1988 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1989 esac 1990 case $ac_pass in 1991 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1992 2) 1993 as_fn_append ac_configure_args1 " '$ac_arg'" 1994 if test $ac_must_keep_next = true; then 1995 ac_must_keep_next=false # Got value, back to normal. 1996 else 1997 case $ac_arg in 1998 *=* | --config-cache | -C | -disable-* | --disable-* \ 1999 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2000 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2001 | -with-* | --with-* | -without-* | --without-* | --x) 2002 case "$ac_configure_args0 " in 2003 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2004 esac 2005 ;; 2006 -* ) ac_must_keep_next=true ;; 2007 esac 2008 fi 2009 as_fn_append ac_configure_args " '$ac_arg'" 2010 ;; 2011 esac 2012 done 2013done 2014{ ac_configure_args0=; unset ac_configure_args0;} 2015{ ac_configure_args1=; unset ac_configure_args1;} 2016 2017# When interrupted or exit'd, cleanup temporary files, and complete 2018# config.log. We remove comments because anyway the quotes in there 2019# would cause problems or look ugly. 2020# WARNING: Use '\'' to represent an apostrophe within the trap. 2021# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2022trap 'exit_status=$? 2023 # Save into config.log some information that might help in debugging. 2024 { 2025 echo 2026 2027 $as_echo "## ---------------- ## 2028## Cache variables. ## 2029## ---------------- ##" 2030 echo 2031 # The following way of writing the cache mishandles newlines in values, 2032( 2033 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2034 eval ac_val=\$$ac_var 2035 case $ac_val in #( 2036 *${as_nl}*) 2037 case $ac_var in #( 2038 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2039$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2040 esac 2041 case $ac_var in #( 2042 _ | IFS | as_nl) ;; #( 2043 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2044 *) { eval $ac_var=; unset $ac_var;} ;; 2045 esac ;; 2046 esac 2047 done 2048 (set) 2>&1 | 2049 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2050 *${as_nl}ac_space=\ *) 2051 sed -n \ 2052 "s/'\''/'\''\\\\'\'''\''/g; 2053 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2054 ;; #( 2055 *) 2056 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2057 ;; 2058 esac | 2059 sort 2060) 2061 echo 2062 2063 $as_echo "## ----------------- ## 2064## Output variables. ## 2065## ----------------- ##" 2066 echo 2067 for ac_var in $ac_subst_vars 2068 do 2069 eval ac_val=\$$ac_var 2070 case $ac_val in 2071 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2072 esac 2073 $as_echo "$ac_var='\''$ac_val'\''" 2074 done | sort 2075 echo 2076 2077 if test -n "$ac_subst_files"; then 2078 $as_echo "## ------------------- ## 2079## File substitutions. ## 2080## ------------------- ##" 2081 echo 2082 for ac_var in $ac_subst_files 2083 do 2084 eval ac_val=\$$ac_var 2085 case $ac_val in 2086 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2087 esac 2088 $as_echo "$ac_var='\''$ac_val'\''" 2089 done | sort 2090 echo 2091 fi 2092 2093 if test -s confdefs.h; then 2094 $as_echo "## ----------- ## 2095## confdefs.h. ## 2096## ----------- ##" 2097 echo 2098 cat confdefs.h 2099 echo 2100 fi 2101 test "$ac_signal" != 0 && 2102 $as_echo "$as_me: caught signal $ac_signal" 2103 $as_echo "$as_me: exit $exit_status" 2104 } >&5 2105 rm -f core *.core core.conftest.* && 2106 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2107 exit $exit_status 2108' 0 2109for ac_signal in 1 2 13 15; do 2110 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2111done 2112ac_signal=0 2113 2114# confdefs.h avoids OS command line length limits that DEFS can exceed. 2115rm -f -r conftest* confdefs.h 2116 2117$as_echo "/* confdefs.h */" > confdefs.h 2118 2119# Predefined preprocessor variables. 2120 2121cat >>confdefs.h <<_ACEOF 2122#define PACKAGE_NAME "$PACKAGE_NAME" 2123_ACEOF 2124 2125cat >>confdefs.h <<_ACEOF 2126#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2127_ACEOF 2128 2129cat >>confdefs.h <<_ACEOF 2130#define PACKAGE_VERSION "$PACKAGE_VERSION" 2131_ACEOF 2132 2133cat >>confdefs.h <<_ACEOF 2134#define PACKAGE_STRING "$PACKAGE_STRING" 2135_ACEOF 2136 2137cat >>confdefs.h <<_ACEOF 2138#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2139_ACEOF 2140 2141cat >>confdefs.h <<_ACEOF 2142#define PACKAGE_URL "$PACKAGE_URL" 2143_ACEOF 2144 2145 2146# Let the site file select an alternate cache file if it wants to. 2147# Prefer an explicitly selected file to automatically selected ones. 2148ac_site_file1=NONE 2149ac_site_file2=NONE 2150if test -n "$CONFIG_SITE"; then 2151 # We do not want a PATH search for config.site. 2152 case $CONFIG_SITE in #(( 2153 -*) ac_site_file1=./$CONFIG_SITE;; 2154 */*) ac_site_file1=$CONFIG_SITE;; 2155 *) ac_site_file1=./$CONFIG_SITE;; 2156 esac 2157elif test "x$prefix" != xNONE; then 2158 ac_site_file1=$prefix/share/config.site 2159 ac_site_file2=$prefix/etc/config.site 2160else 2161 ac_site_file1=$ac_default_prefix/share/config.site 2162 ac_site_file2=$ac_default_prefix/etc/config.site 2163fi 2164for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2165do 2166 test "x$ac_site_file" = xNONE && continue 2167 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2168 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2169$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2170 sed 's/^/| /' "$ac_site_file" >&5 2171 . "$ac_site_file" \ 2172 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2173$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2174as_fn_error $? "failed to load site script $ac_site_file 2175See \`config.log' for more details" "$LINENO" 5 ; } 2176 fi 2177done 2178 2179if test -r "$cache_file"; then 2180 # Some versions of bash will fail to source /dev/null (special files 2181 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2182 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2183 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2184$as_echo "$as_me: loading cache $cache_file" >&6;} 2185 case $cache_file in 2186 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2187 *) . "./$cache_file";; 2188 esac 2189 fi 2190else 2191 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2192$as_echo "$as_me: creating cache $cache_file" >&6;} 2193 >$cache_file 2194fi 2195 2196# Check that the precious variables saved in the cache have kept the same 2197# value. 2198ac_cache_corrupted=false 2199for ac_var in $ac_precious_vars; do 2200 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2201 eval ac_new_set=\$ac_env_${ac_var}_set 2202 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2203 eval ac_new_val=\$ac_env_${ac_var}_value 2204 case $ac_old_set,$ac_new_set in 2205 set,) 2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2207$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2208 ac_cache_corrupted=: ;; 2209 ,set) 2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2211$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2212 ac_cache_corrupted=: ;; 2213 ,);; 2214 *) 2215 if test "x$ac_old_val" != "x$ac_new_val"; then 2216 # differences in whitespace do not lead to failure. 2217 ac_old_val_w=`echo x $ac_old_val` 2218 ac_new_val_w=`echo x $ac_new_val` 2219 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2220 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2221$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2222 ac_cache_corrupted=: 2223 else 2224 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2225$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2226 eval $ac_var=\$ac_old_val 2227 fi 2228 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2229$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2230 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2231$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2232 fi;; 2233 esac 2234 # Pass precious variables to config.status. 2235 if test "$ac_new_set" = set; then 2236 case $ac_new_val in 2237 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2238 *) ac_arg=$ac_var=$ac_new_val ;; 2239 esac 2240 case " $ac_configure_args " in 2241 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2242 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2243 esac 2244 fi 2245done 2246if $ac_cache_corrupted; then 2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2248$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2249 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2250$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2251 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2252fi 2253## -------------------- ## 2254## Main body of script. ## 2255## -------------------- ## 2256 2257ac_ext=c 2258ac_cpp='$CPP $CPPFLAGS' 2259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2261ac_compiler_gnu=$ac_cv_c_compiler_gnu 2262 2263 2264 2265ac_config_headers="$ac_config_headers config.h" 2266 2267am__api_version='1.11' 2268 2269ac_aux_dir= 2270for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2271 if test -f "$ac_dir/install-sh"; then 2272 ac_aux_dir=$ac_dir 2273 ac_install_sh="$ac_aux_dir/install-sh -c" 2274 break 2275 elif test -f "$ac_dir/install.sh"; then 2276 ac_aux_dir=$ac_dir 2277 ac_install_sh="$ac_aux_dir/install.sh -c" 2278 break 2279 elif test -f "$ac_dir/shtool"; then 2280 ac_aux_dir=$ac_dir 2281 ac_install_sh="$ac_aux_dir/shtool install -c" 2282 break 2283 fi 2284done 2285if test -z "$ac_aux_dir"; then 2286 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2287fi 2288 2289# These three variables are undocumented and unsupported, 2290# and are intended to be withdrawn in a future Autoconf release. 2291# They can cause serious problems if a builder's source tree is in a directory 2292# whose full name contains unusual characters. 2293ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2294ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2295ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2296 2297 2298# Find a good install program. We prefer a C program (faster), 2299# so one script is as good as another. But avoid the broken or 2300# incompatible versions: 2301# SysV /etc/install, /usr/sbin/install 2302# SunOS /usr/etc/install 2303# IRIX /sbin/install 2304# AIX /bin/install 2305# AmigaOS /C/install, which installs bootblocks on floppy discs 2306# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2307# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2308# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2309# OS/2's system install, which has a completely different semantic 2310# ./install, which can be erroneously created by make from ./install.sh. 2311# Reject install programs that cannot install multiple files. 2312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2313$as_echo_n "checking for a BSD-compatible install... " >&6; } 2314if test -z "$INSTALL"; then 2315if test "${ac_cv_path_install+set}" = set; then : 2316 $as_echo_n "(cached) " >&6 2317else 2318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2319for as_dir in $PATH 2320do 2321 IFS=$as_save_IFS 2322 test -z "$as_dir" && as_dir=. 2323 # Account for people who put trailing slashes in PATH elements. 2324case $as_dir/ in #(( 2325 ./ | .// | /[cC]/* | \ 2326 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2327 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2328 /usr/ucb/* ) ;; 2329 *) 2330 # OSF1 and SCO ODT 3.0 have their own names for install. 2331 # Don't use installbsd from OSF since it installs stuff as root 2332 # by default. 2333 for ac_prog in ginstall scoinst install; do 2334 for ac_exec_ext in '' $ac_executable_extensions; do 2335 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2336 if test $ac_prog = install && 2337 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2338 # AIX install. It has an incompatible calling convention. 2339 : 2340 elif test $ac_prog = install && 2341 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2342 # program-specific install script used by HP pwplus--don't use. 2343 : 2344 else 2345 rm -rf conftest.one conftest.two conftest.dir 2346 echo one > conftest.one 2347 echo two > conftest.two 2348 mkdir conftest.dir 2349 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2350 test -s conftest.one && test -s conftest.two && 2351 test -s conftest.dir/conftest.one && 2352 test -s conftest.dir/conftest.two 2353 then 2354 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2355 break 3 2356 fi 2357 fi 2358 fi 2359 done 2360 done 2361 ;; 2362esac 2363 2364 done 2365IFS=$as_save_IFS 2366 2367rm -rf conftest.one conftest.two conftest.dir 2368 2369fi 2370 if test "${ac_cv_path_install+set}" = set; then 2371 INSTALL=$ac_cv_path_install 2372 else 2373 # As a last resort, use the slow shell script. Don't cache a 2374 # value for INSTALL within a source directory, because that will 2375 # break other packages using the cache if that directory is 2376 # removed, or if the value is a relative name. 2377 INSTALL=$ac_install_sh 2378 fi 2379fi 2380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2381$as_echo "$INSTALL" >&6; } 2382 2383# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2384# It thinks the first close brace ends the variable substitution. 2385test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2386 2387test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2388 2389test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2390 2391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2392$as_echo_n "checking whether build environment is sane... " >&6; } 2393# Just in case 2394sleep 1 2395echo timestamp > conftest.file 2396# Reject unsafe characters in $srcdir or the absolute working directory 2397# name. Accept space and tab only in the latter. 2398am_lf=' 2399' 2400case `pwd` in 2401 *[\\\"\#\$\&\'\`$am_lf]*) 2402 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; 2403esac 2404case $srcdir in 2405 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2406 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; 2407esac 2408 2409# Do `set' in a subshell so we don't clobber the current shell's 2410# arguments. Must try -L first in case configure is actually a 2411# symlink; some systems play weird games with the mod time of symlinks 2412# (eg FreeBSD returns the mod time of the symlink's containing 2413# directory). 2414if ( 2415 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2416 if test "$*" = "X"; then 2417 # -L didn't work. 2418 set X `ls -t "$srcdir/configure" conftest.file` 2419 fi 2420 rm -f conftest.file 2421 if test "$*" != "X $srcdir/configure conftest.file" \ 2422 && test "$*" != "X conftest.file $srcdir/configure"; then 2423 2424 # If neither matched, then we have a broken ls. This can happen 2425 # if, for instance, CONFIG_SHELL is bash and it inherits a 2426 # broken ls alias from the environment. This has actually 2427 # happened. Such a system could not be considered "sane". 2428 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2429alias in your environment" "$LINENO" 5 2430 fi 2431 2432 test "$2" = conftest.file 2433 ) 2434then 2435 # Ok. 2436 : 2437else 2438 as_fn_error $? "newly created file is older than distributed files! 2439Check your system clock" "$LINENO" 5 2440fi 2441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2442$as_echo "yes" >&6; } 2443test "$program_prefix" != NONE && 2444 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2445# Use a double $ so make ignores it. 2446test "$program_suffix" != NONE && 2447 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2448# Double any \ or $. 2449# By default was `s,x,x', remove it if useless. 2450ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2451program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2452 2453# expand $ac_aux_dir to an absolute path 2454am_aux_dir=`cd $ac_aux_dir && pwd` 2455 2456if test x"${MISSING+set}" != xset; then 2457 case $am_aux_dir in 2458 *\ * | *\ *) 2459 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2460 *) 2461 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2462 esac 2463fi 2464# Use eval to expand $SHELL 2465if eval "$MISSING --run true"; then 2466 am_missing_run="$MISSING --run " 2467else 2468 am_missing_run= 2469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2470$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2471fi 2472 2473if test x"${install_sh}" != xset; then 2474 case $am_aux_dir in 2475 *\ * | *\ *) 2476 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2477 *) 2478 install_sh="\${SHELL} $am_aux_dir/install-sh" 2479 esac 2480fi 2481 2482# Installed binaries are usually stripped using `strip' when the user 2483# run `make install-strip'. However `strip' might not be the right 2484# tool to use in cross-compilation environments, therefore Automake 2485# will honor the `STRIP' environment variable to overrule this program. 2486if test "$cross_compiling" != no; then 2487 if test -n "$ac_tool_prefix"; then 2488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2489set dummy ${ac_tool_prefix}strip; ac_word=$2 2490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2491$as_echo_n "checking for $ac_word... " >&6; } 2492if test "${ac_cv_prog_STRIP+set}" = set; then : 2493 $as_echo_n "(cached) " >&6 2494else 2495 if test -n "$STRIP"; then 2496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2497else 2498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2499for as_dir in $PATH 2500do 2501 IFS=$as_save_IFS 2502 test -z "$as_dir" && as_dir=. 2503 for ac_exec_ext in '' $ac_executable_extensions; do 2504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2505 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2507 break 2 2508 fi 2509done 2510 done 2511IFS=$as_save_IFS 2512 2513fi 2514fi 2515STRIP=$ac_cv_prog_STRIP 2516if test -n "$STRIP"; then 2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2518$as_echo "$STRIP" >&6; } 2519else 2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2521$as_echo "no" >&6; } 2522fi 2523 2524 2525fi 2526if test -z "$ac_cv_prog_STRIP"; then 2527 ac_ct_STRIP=$STRIP 2528 # Extract the first word of "strip", so it can be a program name with args. 2529set dummy strip; ac_word=$2 2530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2531$as_echo_n "checking for $ac_word... " >&6; } 2532if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : 2533 $as_echo_n "(cached) " >&6 2534else 2535 if test -n "$ac_ct_STRIP"; then 2536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2537else 2538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2539for as_dir in $PATH 2540do 2541 IFS=$as_save_IFS 2542 test -z "$as_dir" && as_dir=. 2543 for ac_exec_ext in '' $ac_executable_extensions; do 2544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2545 ac_cv_prog_ac_ct_STRIP="strip" 2546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2547 break 2 2548 fi 2549done 2550 done 2551IFS=$as_save_IFS 2552 2553fi 2554fi 2555ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2556if test -n "$ac_ct_STRIP"; then 2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2558$as_echo "$ac_ct_STRIP" >&6; } 2559else 2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2561$as_echo "no" >&6; } 2562fi 2563 2564 if test "x$ac_ct_STRIP" = x; then 2565 STRIP=":" 2566 else 2567 case $cross_compiling:$ac_tool_warned in 2568yes:) 2569{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2570$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2571ac_tool_warned=yes ;; 2572esac 2573 STRIP=$ac_ct_STRIP 2574 fi 2575else 2576 STRIP="$ac_cv_prog_STRIP" 2577fi 2578 2579fi 2580INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2581 2582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2583$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2584if test -z "$MKDIR_P"; then 2585 if test "${ac_cv_path_mkdir+set}" = set; then : 2586 $as_echo_n "(cached) " >&6 2587else 2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2589for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2590do 2591 IFS=$as_save_IFS 2592 test -z "$as_dir" && as_dir=. 2593 for ac_prog in mkdir gmkdir; do 2594 for ac_exec_ext in '' $ac_executable_extensions; do 2595 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2596 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2597 'mkdir (GNU coreutils) '* | \ 2598 'mkdir (coreutils) '* | \ 2599 'mkdir (fileutils) '4.1*) 2600 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2601 break 3;; 2602 esac 2603 done 2604 done 2605 done 2606IFS=$as_save_IFS 2607 2608fi 2609 2610 test -d ./--version && rmdir ./--version 2611 if test "${ac_cv_path_mkdir+set}" = set; then 2612 MKDIR_P="$ac_cv_path_mkdir -p" 2613 else 2614 # As a last resort, use the slow shell script. Don't cache a 2615 # value for MKDIR_P within a source directory, because that will 2616 # break other packages using the cache if that directory is 2617 # removed, or if the value is a relative name. 2618 MKDIR_P="$ac_install_sh -d" 2619 fi 2620fi 2621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2622$as_echo "$MKDIR_P" >&6; } 2623 2624mkdir_p="$MKDIR_P" 2625case $mkdir_p in 2626 [\\/$]* | ?:[\\/]*) ;; 2627 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2628esac 2629 2630for ac_prog in gawk mawk nawk awk 2631do 2632 # Extract the first word of "$ac_prog", so it can be a program name with args. 2633set dummy $ac_prog; ac_word=$2 2634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2635$as_echo_n "checking for $ac_word... " >&6; } 2636if test "${ac_cv_prog_AWK+set}" = set; then : 2637 $as_echo_n "(cached) " >&6 2638else 2639 if test -n "$AWK"; then 2640 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2641else 2642as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2643for as_dir in $PATH 2644do 2645 IFS=$as_save_IFS 2646 test -z "$as_dir" && as_dir=. 2647 for ac_exec_ext in '' $ac_executable_extensions; do 2648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2649 ac_cv_prog_AWK="$ac_prog" 2650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2651 break 2 2652 fi 2653done 2654 done 2655IFS=$as_save_IFS 2656 2657fi 2658fi 2659AWK=$ac_cv_prog_AWK 2660if test -n "$AWK"; then 2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2662$as_echo "$AWK" >&6; } 2663else 2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2665$as_echo "no" >&6; } 2666fi 2667 2668 2669 test -n "$AWK" && break 2670done 2671 2672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2673$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2674set x ${MAKE-make} 2675ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2676if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 2677 $as_echo_n "(cached) " >&6 2678else 2679 cat >conftest.make <<\_ACEOF 2680SHELL = /bin/sh 2681all: 2682 @echo '@@@%%%=$(MAKE)=@@@%%%' 2683_ACEOF 2684# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2685case `${MAKE-make} -f conftest.make 2>/dev/null` in 2686 *@@@%%%=?*=@@@%%%*) 2687 eval ac_cv_prog_make_${ac_make}_set=yes;; 2688 *) 2689 eval ac_cv_prog_make_${ac_make}_set=no;; 2690esac 2691rm -f conftest.make 2692fi 2693if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2695$as_echo "yes" >&6; } 2696 SET_MAKE= 2697else 2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2699$as_echo "no" >&6; } 2700 SET_MAKE="MAKE=${MAKE-make}" 2701fi 2702 2703rm -rf .tst 2>/dev/null 2704mkdir .tst 2>/dev/null 2705if test -d .tst; then 2706 am__leading_dot=. 2707else 2708 am__leading_dot=_ 2709fi 2710rmdir .tst 2>/dev/null 2711 2712if test "`cd $srcdir && pwd`" != "`pwd`"; then 2713 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2714 # is not polluted with repeated "-I." 2715 am__isrc=' -I$(srcdir)' 2716 # test to see if srcdir already configured 2717 if test -f $srcdir/config.status; then 2718 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2719 fi 2720fi 2721 2722# test whether we have cygpath 2723if test -z "$CYGPATH_W"; then 2724 if (cygpath --version) >/dev/null 2>/dev/null; then 2725 CYGPATH_W='cygpath -w' 2726 else 2727 CYGPATH_W=echo 2728 fi 2729fi 2730 2731 2732# Define the identity of the package. 2733 PACKAGE='miau' 2734 VERSION='0.6.6' 2735 2736 2737cat >>confdefs.h <<_ACEOF 2738#define PACKAGE "$PACKAGE" 2739_ACEOF 2740 2741 2742cat >>confdefs.h <<_ACEOF 2743#define VERSION "$VERSION" 2744_ACEOF 2745 2746# Some tools Automake needs. 2747 2748ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2749 2750 2751AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2752 2753 2754AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2755 2756 2757AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2758 2759 2760MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2761 2762# We need awk for the "check" target. The system "awk" is bad on 2763# some platforms. 2764# Always define AMTAR for backward compatibility. 2765 2766AMTAR=${AMTAR-"${am_missing_run}tar"} 2767 2768am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 2769 2770 2771 2772 2773 2774 2775$as_echo "#define VERSIONNAME \"Scratching post\"" >>confdefs.h 2776 2777 2778 2779# option, explanation, define 2780 2781 2782# option, explanation, define 2783 2784 2785 2786# Check whether --with-snprintf-workaround was given. 2787if test "${with_snprintf_workaround+set}" = set; then : 2788 withval=$with_snprintf_workaround; snprintf_workaround=yes 2789else 2790 snprintf_workaround=no 2791fi 2792 2793 2794 2795# Check whether --with-dont-check-select was given. 2796if test "${with_dont_check_select+set}" = set; then : 2797 withval=$with_dont_check_select; dont_check_select=yes 2798else 2799 dont_check_select=no 2800fi 2801 2802 2803# Check whether --enable-local was given. 2804if test "${enable_local+set}" = set; then : 2805 enableval=$enable_local; ac_local=yes 2806else 2807 ac_local=no 2808fi 2809 2810 2811 2812# Check whether --enable-ipv6 was given. 2813if test "${enable_ipv6+set}" = set; then : 2814 enableval=$enable_ipv6; use_IPV6=$enableval 2815else 2816 use_IPV6=no 2817fi 2818 2819 2820 2821 2822 # Check whether --enable-empty-awaymsg was given. 2823if test "${enable_empty_awaymsg+set}" = set; then : 2824 enableval=$enable_empty_awaymsg; use_EMPTYAWAY=$enableval 2825else 2826 use_EMPTYAWAY=no 2827fi 2828 2829 test "x${use_EMPTYAWAY}" = "xyes" && $as_echo "#define EMPTYAWAY yes" >>confdefs.h 2830 2831 2832 2833 2834 # Check whether --enable-releasenick was given. 2835if test "${enable_releasenick+set}" = set; then : 2836 enableval=$enable_releasenick; use_RELEASENICK=$enableval 2837else 2838 use_RELEASENICK=no 2839fi 2840 2841 test "x${use_RELEASENICK}" = "xyes" && $as_echo "#define RELEASENICK yes" >>confdefs.h 2842 2843 2844 2845 2846 2847 # Check whether --enable-dccbounce was given. 2848if test "${enable_dccbounce+set}" = set; then : 2849 enableval=$enable_dccbounce; use_DCCBOUNCE=$enableval 2850else 2851 use_DCCBOUNCE=yes 2852fi 2853 2854 test "x${use_DCCBOUNCE}" = "xyes" && $as_echo "#define DCCBOUNCE yes" >>confdefs.h 2855 2856 2857 2858 2859 # Check whether --enable-automode was given. 2860if test "${enable_automode+set}" = set; then : 2861 enableval=$enable_automode; use_AUTOMODE=$enableval 2862else 2863 use_AUTOMODE=yes 2864fi 2865 2866 test "x${use_AUTOMODE}" = "xyes" && $as_echo "#define AUTOMODE yes" >>confdefs.h 2867 2868 2869 2870 2871 # Check whether --enable-mkpasswd was given. 2872if test "${enable_mkpasswd+set}" = set; then : 2873 enableval=$enable_mkpasswd; use_MKPASSWD=$enableval 2874else 2875 use_MKPASSWD=yes 2876fi 2877 2878 test "x${use_MKPASSWD}" = "xyes" && $as_echo "#define MKPASSWD yes" >>confdefs.h 2879 2880 2881 2882 2883 # Check whether --enable-uptime was given. 2884if test "${enable_uptime+set}" = set; then : 2885 enableval=$enable_uptime; use_UPTIME=$enableval 2886else 2887 use_UPTIME=yes 2888fi 2889 2890 test "x${use_UPTIME}" = "xyes" && $as_echo "#define UPTIME yes" >>confdefs.h 2891 2892 2893 2894 2895 # Check whether --enable-chanlog was given. 2896if test "${enable_chanlog+set}" = set; then : 2897 enableval=$enable_chanlog; use_CHANLOG=$enableval 2898else 2899 use_CHANLOG=yes 2900fi 2901 2902 test "x${use_CHANLOG}" = "xyes" && $as_echo "#define CHANLOG yes" >>confdefs.h 2903 2904 2905 2906 2907 # Check whether --enable-privlog was given. 2908if test "${enable_privlog+set}" = set; then : 2909 enableval=$enable_privlog; use_PRIVLOG=$enableval 2910else 2911 use_PRIVLOG=yes 2912fi 2913 2914 test "x${use_PRIVLOG}" = "xyes" && $as_echo "#define PRIVLOG yes" >>confdefs.h 2915 2916 2917 2918 2919 # Check whether --enable-onconnect was given. 2920if test "${enable_onconnect+set}" = set; then : 2921 enableval=$enable_onconnect; use_ONCONNECT=$enableval 2922else 2923 use_ONCONNECT=yes 2924fi 2925 2926 test "x${use_ONCONNECT}" = "xyes" && $as_echo "#define ONCONNECT yes" >>confdefs.h 2927 2928 2929 2930 2931 # Check whether --enable-ctcp-replies was given. 2932if test "${enable_ctcp_replies+set}" = set; then : 2933 enableval=$enable_ctcp_replies; use_CTCPREPLIES=$enableval 2934else 2935 use_CTCPREPLIES=yes 2936fi 2937 2938 test "x${use_CTCPREPLIES}" = "xyes" && $as_echo "#define CTCPREPLIES yes" >>confdefs.h 2939 2940 2941 2942 2943 # Check whether --enable-ascii-art was given. 2944if test "${enable_ascii_art+set}" = set; then : 2945 enableval=$enable_ascii_art; use_ASCIIART=$enableval 2946else 2947 use_ASCIIART=yes 2948fi 2949 2950 test "x${use_ASCIIART}" = "xyes" && $as_echo "#define ASCIIART yes" >>confdefs.h 2951 2952 2953 2954 2955 # Check whether --enable-quicklog was given. 2956if test "${enable_quicklog+set}" = set; then : 2957 enableval=$enable_quicklog; use_QUICKLOG=$enableval 2958else 2959 use_QUICKLOG=yes 2960fi 2961 2962 test "x${use_QUICKLOG}" = "xyes" && $as_echo "#define QUICKLOG yes" >>confdefs.h 2963 2964 2965 2966 2967 # Check whether --enable-qlogstamp was given. 2968if test "${enable_qlogstamp+set}" = set; then : 2969 enableval=$enable_qlogstamp; use_QLOGSTAMP=$enableval 2970else 2971 use_QLOGSTAMP=yes 2972fi 2973 2974 test "x${use_QLOGSTAMP}" = "xyes" && $as_echo "#define QLOGSTAMP yes" >>confdefs.h 2975 2976 2977 2978 2979 # Check whether --enable-inbox was given. 2980if test "${enable_inbox+set}" = set; then : 2981 enableval=$enable_inbox; use_INBOX=$enableval 2982else 2983 use_INBOX=yes 2984fi 2985 2986 test "x${use_INBOX}" = "xyes" && $as_echo "#define INBOX yes" >>confdefs.h 2987 2988 2989# MY_ARG_DISABLE([qlogtomsglog], [disable quicklog to messagelog -feature], 2990# [QLOGTOMSGLOG]) 2991 2992 2993 2994 2995 # Check whether --enable-enduserdebug was given. 2996if test "${enable_enduserdebug+set}" = set; then : 2997 enableval=$enable_enduserdebug; use_ENDUSERDEBUG=$enableval 2998else 2999 use_ENDUSERDEBUG=yes 3000fi 3001 3002 test "x${use_ENDUSERDEBUG}" = "xyes" && $as_echo "#define ENDUSERDEBUG yes" >>confdefs.h 3003 3004 3005 3006 3007 # Check whether --enable-pingstat was given. 3008if test "${enable_pingstat+set}" = set; then : 3009 enableval=$enable_pingstat; use_PINGSTAT=$enableval 3010else 3011 use_PINGSTAT=no 3012fi 3013 3014 test "x${use_PINGSTAT}" = "xyes" && $as_echo "#define PINGSTAT yes" >>confdefs.h 3015 3016 3017 3018 3019 # Check whether --enable-dumpstatus was given. 3020if test "${enable_dumpstatus+set}" = set; then : 3021 enableval=$enable_dumpstatus; use_DUMPSTATUS=$enableval 3022else 3023 use_DUMPSTATUS=yes 3024fi 3025 3026 test "x${use_DUMPSTATUS}" = "xyes" && $as_echo "#define DUMPSTATUS yes" >>confdefs.h 3027 3028 3029 3030# Check whether --enable-debug was given. 3031if test "${enable_debug+set}" = set; then : 3032 enableval=$enable_debug; use_DEBUG=yes 3033else 3034 use_DEBUG=no 3035fi 3036 3037if test "x$use_DEBUG" = "xyes"; then 3038 CFLAGS="${CFLAGS} -g" 3039fi 3040 3041 3042ac_ext=c 3043ac_cpp='$CPP $CPPFLAGS' 3044ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3045ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3046ac_compiler_gnu=$ac_cv_c_compiler_gnu 3047if test -n "$ac_tool_prefix"; then 3048 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3049set dummy ${ac_tool_prefix}gcc; ac_word=$2 3050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3051$as_echo_n "checking for $ac_word... " >&6; } 3052if test "${ac_cv_prog_CC+set}" = set; then : 3053 $as_echo_n "(cached) " >&6 3054else 3055 if test -n "$CC"; then 3056 ac_cv_prog_CC="$CC" # Let the user override the test. 3057else 3058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3059for as_dir in $PATH 3060do 3061 IFS=$as_save_IFS 3062 test -z "$as_dir" && as_dir=. 3063 for ac_exec_ext in '' $ac_executable_extensions; do 3064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3065 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3067 break 2 3068 fi 3069done 3070 done 3071IFS=$as_save_IFS 3072 3073fi 3074fi 3075CC=$ac_cv_prog_CC 3076if test -n "$CC"; then 3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3078$as_echo "$CC" >&6; } 3079else 3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3081$as_echo "no" >&6; } 3082fi 3083 3084 3085fi 3086if test -z "$ac_cv_prog_CC"; then 3087 ac_ct_CC=$CC 3088 # Extract the first word of "gcc", so it can be a program name with args. 3089set dummy gcc; ac_word=$2 3090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3091$as_echo_n "checking for $ac_word... " >&6; } 3092if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3093 $as_echo_n "(cached) " >&6 3094else 3095 if test -n "$ac_ct_CC"; then 3096 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3097else 3098as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3099for as_dir in $PATH 3100do 3101 IFS=$as_save_IFS 3102 test -z "$as_dir" && as_dir=. 3103 for ac_exec_ext in '' $ac_executable_extensions; do 3104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3105 ac_cv_prog_ac_ct_CC="gcc" 3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3107 break 2 3108 fi 3109done 3110 done 3111IFS=$as_save_IFS 3112 3113fi 3114fi 3115ac_ct_CC=$ac_cv_prog_ac_ct_CC 3116if test -n "$ac_ct_CC"; then 3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3118$as_echo "$ac_ct_CC" >&6; } 3119else 3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3121$as_echo "no" >&6; } 3122fi 3123 3124 if test "x$ac_ct_CC" = x; then 3125 CC="" 3126 else 3127 case $cross_compiling:$ac_tool_warned in 3128yes:) 3129{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3130$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3131ac_tool_warned=yes ;; 3132esac 3133 CC=$ac_ct_CC 3134 fi 3135else 3136 CC="$ac_cv_prog_CC" 3137fi 3138 3139if test -z "$CC"; then 3140 if test -n "$ac_tool_prefix"; then 3141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3142set dummy ${ac_tool_prefix}cc; ac_word=$2 3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3144$as_echo_n "checking for $ac_word... " >&6; } 3145if test "${ac_cv_prog_CC+set}" = set; then : 3146 $as_echo_n "(cached) " >&6 3147else 3148 if test -n "$CC"; then 3149 ac_cv_prog_CC="$CC" # Let the user override the test. 3150else 3151as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3152for as_dir in $PATH 3153do 3154 IFS=$as_save_IFS 3155 test -z "$as_dir" && as_dir=. 3156 for ac_exec_ext in '' $ac_executable_extensions; do 3157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3158 ac_cv_prog_CC="${ac_tool_prefix}cc" 3159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3160 break 2 3161 fi 3162done 3163 done 3164IFS=$as_save_IFS 3165 3166fi 3167fi 3168CC=$ac_cv_prog_CC 3169if test -n "$CC"; then 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3171$as_echo "$CC" >&6; } 3172else 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3174$as_echo "no" >&6; } 3175fi 3176 3177 3178 fi 3179fi 3180if test -z "$CC"; then 3181 # Extract the first word of "cc", so it can be a program name with args. 3182set dummy cc; ac_word=$2 3183{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3184$as_echo_n "checking for $ac_word... " >&6; } 3185if test "${ac_cv_prog_CC+set}" = set; then : 3186 $as_echo_n "(cached) " >&6 3187else 3188 if test -n "$CC"; then 3189 ac_cv_prog_CC="$CC" # Let the user override the test. 3190else 3191 ac_prog_rejected=no 3192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3193for as_dir in $PATH 3194do 3195 IFS=$as_save_IFS 3196 test -z "$as_dir" && as_dir=. 3197 for ac_exec_ext in '' $ac_executable_extensions; do 3198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3199 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3200 ac_prog_rejected=yes 3201 continue 3202 fi 3203 ac_cv_prog_CC="cc" 3204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3205 break 2 3206 fi 3207done 3208 done 3209IFS=$as_save_IFS 3210 3211if test $ac_prog_rejected = yes; then 3212 # We found a bogon in the path, so make sure we never use it. 3213 set dummy $ac_cv_prog_CC 3214 shift 3215 if test $# != 0; then 3216 # We chose a different compiler from the bogus one. 3217 # However, it has the same basename, so the bogon will be chosen 3218 # first if we set CC to just the basename; use the full file name. 3219 shift 3220 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3221 fi 3222fi 3223fi 3224fi 3225CC=$ac_cv_prog_CC 3226if test -n "$CC"; then 3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3228$as_echo "$CC" >&6; } 3229else 3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3231$as_echo "no" >&6; } 3232fi 3233 3234 3235fi 3236if test -z "$CC"; then 3237 if test -n "$ac_tool_prefix"; then 3238 for ac_prog in cl.exe 3239 do 3240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3241set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3243$as_echo_n "checking for $ac_word... " >&6; } 3244if test "${ac_cv_prog_CC+set}" = set; then : 3245 $as_echo_n "(cached) " >&6 3246else 3247 if test -n "$CC"; then 3248 ac_cv_prog_CC="$CC" # Let the user override the test. 3249else 3250as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3251for as_dir in $PATH 3252do 3253 IFS=$as_save_IFS 3254 test -z "$as_dir" && as_dir=. 3255 for ac_exec_ext in '' $ac_executable_extensions; do 3256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3257 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3259 break 2 3260 fi 3261done 3262 done 3263IFS=$as_save_IFS 3264 3265fi 3266fi 3267CC=$ac_cv_prog_CC 3268if test -n "$CC"; then 3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3270$as_echo "$CC" >&6; } 3271else 3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3273$as_echo "no" >&6; } 3274fi 3275 3276 3277 test -n "$CC" && break 3278 done 3279fi 3280if test -z "$CC"; then 3281 ac_ct_CC=$CC 3282 for ac_prog in cl.exe 3283do 3284 # Extract the first word of "$ac_prog", so it can be a program name with args. 3285set dummy $ac_prog; ac_word=$2 3286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3287$as_echo_n "checking for $ac_word... " >&6; } 3288if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 3289 $as_echo_n "(cached) " >&6 3290else 3291 if test -n "$ac_ct_CC"; then 3292 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3293else 3294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3295for as_dir in $PATH 3296do 3297 IFS=$as_save_IFS 3298 test -z "$as_dir" && as_dir=. 3299 for ac_exec_ext in '' $ac_executable_extensions; do 3300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3301 ac_cv_prog_ac_ct_CC="$ac_prog" 3302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3303 break 2 3304 fi 3305done 3306 done 3307IFS=$as_save_IFS 3308 3309fi 3310fi 3311ac_ct_CC=$ac_cv_prog_ac_ct_CC 3312if test -n "$ac_ct_CC"; then 3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3314$as_echo "$ac_ct_CC" >&6; } 3315else 3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3317$as_echo "no" >&6; } 3318fi 3319 3320 3321 test -n "$ac_ct_CC" && break 3322done 3323 3324 if test "x$ac_ct_CC" = x; then 3325 CC="" 3326 else 3327 case $cross_compiling:$ac_tool_warned in 3328yes:) 3329{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3330$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3331ac_tool_warned=yes ;; 3332esac 3333 CC=$ac_ct_CC 3334 fi 3335fi 3336 3337fi 3338 3339 3340test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3341$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3342as_fn_error $? "no acceptable C compiler found in \$PATH 3343See \`config.log' for more details" "$LINENO" 5 ; } 3344 3345# Provide some information about the compiler. 3346$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3347set X $ac_compile 3348ac_compiler=$2 3349for ac_option in --version -v -V -qversion; do 3350 { { ac_try="$ac_compiler $ac_option >&5" 3351case "(($ac_try" in 3352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3353 *) ac_try_echo=$ac_try;; 3354esac 3355eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3356$as_echo "$ac_try_echo"; } >&5 3357 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3358 ac_status=$? 3359 if test -s conftest.err; then 3360 sed '10a\ 3361... rest of stderr output deleted ... 3362 10q' conftest.err >conftest.er1 3363 cat conftest.er1 >&5 3364 fi 3365 rm -f conftest.er1 conftest.err 3366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3367 test $ac_status = 0; } 3368done 3369 3370cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3371/* end confdefs.h. */ 3372 3373int 3374main () 3375{ 3376 3377 ; 3378 return 0; 3379} 3380_ACEOF 3381ac_clean_files_save=$ac_clean_files 3382ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3383# Try to create an executable without -o first, disregard a.out. 3384# It will help us diagnose broken compilers, and finding out an intuition 3385# of exeext. 3386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3387$as_echo_n "checking whether the C compiler works... " >&6; } 3388ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3389 3390# The possible output files: 3391ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3392 3393ac_rmfiles= 3394for ac_file in $ac_files 3395do 3396 case $ac_file in 3397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3398 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3399 esac 3400done 3401rm -f $ac_rmfiles 3402 3403if { { ac_try="$ac_link_default" 3404case "(($ac_try" in 3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3406 *) ac_try_echo=$ac_try;; 3407esac 3408eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3409$as_echo "$ac_try_echo"; } >&5 3410 (eval "$ac_link_default") 2>&5 3411 ac_status=$? 3412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3413 test $ac_status = 0; }; then : 3414 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3415# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3416# in a Makefile. We should not override ac_cv_exeext if it was cached, 3417# so that the user can short-circuit this test for compilers unknown to 3418# Autoconf. 3419for ac_file in $ac_files '' 3420do 3421 test -f "$ac_file" || continue 3422 case $ac_file in 3423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3424 ;; 3425 [ab].out ) 3426 # We found the default executable, but exeext='' is most 3427 # certainly right. 3428 break;; 3429 *.* ) 3430 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3431 then :; else 3432 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3433 fi 3434 # We set ac_cv_exeext here because the later test for it is not 3435 # safe: cross compilers may not add the suffix if given an `-o' 3436 # argument, so we may need to know it at that point already. 3437 # Even if this section looks crufty: it has the advantage of 3438 # actually working. 3439 break;; 3440 * ) 3441 break;; 3442 esac 3443done 3444test "$ac_cv_exeext" = no && ac_cv_exeext= 3445 3446else 3447 ac_file='' 3448fi 3449if test -z "$ac_file"; then : 3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3451$as_echo "no" >&6; } 3452$as_echo "$as_me: failed program was:" >&5 3453sed 's/^/| /' conftest.$ac_ext >&5 3454 3455{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3456$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3457as_fn_error 77 "C compiler cannot create executables 3458See \`config.log' for more details" "$LINENO" 5 ; } 3459else 3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3461$as_echo "yes" >&6; } 3462fi 3463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3464$as_echo_n "checking for C compiler default output file name... " >&6; } 3465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3466$as_echo "$ac_file" >&6; } 3467ac_exeext=$ac_cv_exeext 3468 3469rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3470ac_clean_files=$ac_clean_files_save 3471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3472$as_echo_n "checking for suffix of executables... " >&6; } 3473if { { ac_try="$ac_link" 3474case "(($ac_try" in 3475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3476 *) ac_try_echo=$ac_try;; 3477esac 3478eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3479$as_echo "$ac_try_echo"; } >&5 3480 (eval "$ac_link") 2>&5 3481 ac_status=$? 3482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3483 test $ac_status = 0; }; then : 3484 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3485# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3486# work properly (i.e., refer to `conftest.exe'), while it won't with 3487# `rm'. 3488for ac_file in conftest.exe conftest conftest.*; do 3489 test -f "$ac_file" || continue 3490 case $ac_file in 3491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3492 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3493 break;; 3494 * ) break;; 3495 esac 3496done 3497else 3498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3499$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3500as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3501See \`config.log' for more details" "$LINENO" 5 ; } 3502fi 3503rm -f conftest conftest$ac_cv_exeext 3504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3505$as_echo "$ac_cv_exeext" >&6; } 3506 3507rm -f conftest.$ac_ext 3508EXEEXT=$ac_cv_exeext 3509ac_exeext=$EXEEXT 3510cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3511/* end confdefs.h. */ 3512#include <stdio.h> 3513int 3514main () 3515{ 3516FILE *f = fopen ("conftest.out", "w"); 3517 return ferror (f) || fclose (f) != 0; 3518 3519 ; 3520 return 0; 3521} 3522_ACEOF 3523ac_clean_files="$ac_clean_files conftest.out" 3524# Check that the compiler produces executables we can run. If not, either 3525# the compiler is broken, or we cross compile. 3526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3527$as_echo_n "checking whether we are cross compiling... " >&6; } 3528if test "$cross_compiling" != yes; then 3529 { { ac_try="$ac_link" 3530case "(($ac_try" in 3531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3532 *) ac_try_echo=$ac_try;; 3533esac 3534eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3535$as_echo "$ac_try_echo"; } >&5 3536 (eval "$ac_link") 2>&5 3537 ac_status=$? 3538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3539 test $ac_status = 0; } 3540 if { ac_try='./conftest$ac_cv_exeext' 3541 { { case "(($ac_try" in 3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3543 *) ac_try_echo=$ac_try;; 3544esac 3545eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3546$as_echo "$ac_try_echo"; } >&5 3547 (eval "$ac_try") 2>&5 3548 ac_status=$? 3549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3550 test $ac_status = 0; }; }; then 3551 cross_compiling=no 3552 else 3553 if test "$cross_compiling" = maybe; then 3554 cross_compiling=yes 3555 else 3556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3557$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3558as_fn_error $? "cannot run C compiled programs. 3559If you meant to cross compile, use \`--host'. 3560See \`config.log' for more details" "$LINENO" 5 ; } 3561 fi 3562 fi 3563fi 3564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3565$as_echo "$cross_compiling" >&6; } 3566 3567rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3568ac_clean_files=$ac_clean_files_save 3569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3570$as_echo_n "checking for suffix of object files... " >&6; } 3571if test "${ac_cv_objext+set}" = set; then : 3572 $as_echo_n "(cached) " >&6 3573else 3574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3575/* end confdefs.h. */ 3576 3577int 3578main () 3579{ 3580 3581 ; 3582 return 0; 3583} 3584_ACEOF 3585rm -f conftest.o conftest.obj 3586if { { ac_try="$ac_compile" 3587case "(($ac_try" in 3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3589 *) ac_try_echo=$ac_try;; 3590esac 3591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3592$as_echo "$ac_try_echo"; } >&5 3593 (eval "$ac_compile") 2>&5 3594 ac_status=$? 3595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3596 test $ac_status = 0; }; then : 3597 for ac_file in conftest.o conftest.obj conftest.*; do 3598 test -f "$ac_file" || continue; 3599 case $ac_file in 3600 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3601 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3602 break;; 3603 esac 3604done 3605else 3606 $as_echo "$as_me: failed program was:" >&5 3607sed 's/^/| /' conftest.$ac_ext >&5 3608 3609{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3610$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3611as_fn_error $? "cannot compute suffix of object files: cannot compile 3612See \`config.log' for more details" "$LINENO" 5 ; } 3613fi 3614rm -f conftest.$ac_cv_objext conftest.$ac_ext 3615fi 3616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3617$as_echo "$ac_cv_objext" >&6; } 3618OBJEXT=$ac_cv_objext 3619ac_objext=$OBJEXT 3620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3621$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3622if test "${ac_cv_c_compiler_gnu+set}" = set; then : 3623 $as_echo_n "(cached) " >&6 3624else 3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3626/* end confdefs.h. */ 3627 3628int 3629main () 3630{ 3631#ifndef __GNUC__ 3632 choke me 3633#endif 3634 3635 ; 3636 return 0; 3637} 3638_ACEOF 3639if ac_fn_c_try_compile "$LINENO"; then : 3640 ac_compiler_gnu=yes 3641else 3642 ac_compiler_gnu=no 3643fi 3644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3645ac_cv_c_compiler_gnu=$ac_compiler_gnu 3646 3647fi 3648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3649$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3650if test $ac_compiler_gnu = yes; then 3651 GCC=yes 3652else 3653 GCC= 3654fi 3655ac_test_CFLAGS=${CFLAGS+set} 3656ac_save_CFLAGS=$CFLAGS 3657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3658$as_echo_n "checking whether $CC accepts -g... " >&6; } 3659if test "${ac_cv_prog_cc_g+set}" = set; then : 3660 $as_echo_n "(cached) " >&6 3661else 3662 ac_save_c_werror_flag=$ac_c_werror_flag 3663 ac_c_werror_flag=yes 3664 ac_cv_prog_cc_g=no 3665 CFLAGS="-g" 3666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3667/* end confdefs.h. */ 3668 3669int 3670main () 3671{ 3672 3673 ; 3674 return 0; 3675} 3676_ACEOF 3677if ac_fn_c_try_compile "$LINENO"; then : 3678 ac_cv_prog_cc_g=yes 3679else 3680 CFLAGS="" 3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3682/* end confdefs.h. */ 3683 3684int 3685main () 3686{ 3687 3688 ; 3689 return 0; 3690} 3691_ACEOF 3692if ac_fn_c_try_compile "$LINENO"; then : 3693 3694else 3695 ac_c_werror_flag=$ac_save_c_werror_flag 3696 CFLAGS="-g" 3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3698/* end confdefs.h. */ 3699 3700int 3701main () 3702{ 3703 3704 ; 3705 return 0; 3706} 3707_ACEOF 3708if ac_fn_c_try_compile "$LINENO"; then : 3709 ac_cv_prog_cc_g=yes 3710fi 3711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3712fi 3713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3714fi 3715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3716 ac_c_werror_flag=$ac_save_c_werror_flag 3717fi 3718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3719$as_echo "$ac_cv_prog_cc_g" >&6; } 3720if test "$ac_test_CFLAGS" = set; then 3721 CFLAGS=$ac_save_CFLAGS 3722elif test $ac_cv_prog_cc_g = yes; then 3723 if test "$GCC" = yes; then 3724 CFLAGS="-g -O2" 3725 else 3726 CFLAGS="-g" 3727 fi 3728else 3729 if test "$GCC" = yes; then 3730 CFLAGS="-O2" 3731 else 3732 CFLAGS= 3733 fi 3734fi 3735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3736$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3737if test "${ac_cv_prog_cc_c89+set}" = set; then : 3738 $as_echo_n "(cached) " >&6 3739else 3740 ac_cv_prog_cc_c89=no 3741ac_save_CC=$CC 3742cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3743/* end confdefs.h. */ 3744#include <stdarg.h> 3745#include <stdio.h> 3746#include <sys/types.h> 3747#include <sys/stat.h> 3748/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3749struct buf { int x; }; 3750FILE * (*rcsopen) (struct buf *, struct stat *, int); 3751static char *e (p, i) 3752 char **p; 3753 int i; 3754{ 3755 return p[i]; 3756} 3757static char *f (char * (*g) (char **, int), char **p, ...) 3758{ 3759 char *s; 3760 va_list v; 3761 va_start (v,p); 3762 s = g (p, va_arg (v,int)); 3763 va_end (v); 3764 return s; 3765} 3766 3767/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3768 function prototypes and stuff, but not '\xHH' hex character constants. 3769 These don't provoke an error unfortunately, instead are silently treated 3770 as 'x'. The following induces an error, until -std is added to get 3771 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3772 array size at least. It's necessary to write '\x00'==0 to get something 3773 that's true only with -std. */ 3774int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3775 3776/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3777 inside strings and character constants. */ 3778#define FOO(x) 'x' 3779int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3780 3781int test (int i, double x); 3782struct s1 {int (*f) (int a);}; 3783struct s2 {int (*f) (double a);}; 3784int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3785int argc; 3786char **argv; 3787int 3788main () 3789{ 3790return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3791 ; 3792 return 0; 3793} 3794_ACEOF 3795for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3796 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3797do 3798 CC="$ac_save_CC $ac_arg" 3799 if ac_fn_c_try_compile "$LINENO"; then : 3800 ac_cv_prog_cc_c89=$ac_arg 3801fi 3802rm -f core conftest.err conftest.$ac_objext 3803 test "x$ac_cv_prog_cc_c89" != "xno" && break 3804done 3805rm -f conftest.$ac_ext 3806CC=$ac_save_CC 3807 3808fi 3809# AC_CACHE_VAL 3810case "x$ac_cv_prog_cc_c89" in 3811 x) 3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3813$as_echo "none needed" >&6; } ;; 3814 xno) 3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3816$as_echo "unsupported" >&6; } ;; 3817 *) 3818 CC="$CC $ac_cv_prog_cc_c89" 3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3820$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3821esac 3822if test "x$ac_cv_prog_cc_c89" != xno; then : 3823 3824fi 3825 3826ac_ext=c 3827ac_cpp='$CPP $CPPFLAGS' 3828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3830ac_compiler_gnu=$ac_cv_c_compiler_gnu 3831DEPDIR="${am__leading_dot}deps" 3832 3833ac_config_commands="$ac_config_commands depfiles" 3834 3835 3836am_make=${MAKE-make} 3837cat > confinc << 'END' 3838am__doit: 3839 @echo this is the am__doit target 3840.PHONY: am__doit 3841END 3842# If we don't find an include directive, just comment out the code. 3843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3844$as_echo_n "checking for style of include used by $am_make... " >&6; } 3845am__include="#" 3846am__quote= 3847_am_result=none 3848# First try GNU make style include. 3849echo "include confinc" > confmf 3850# Ignore all kinds of additional output from `make'. 3851case `$am_make -s -f confmf 2> /dev/null` in #( 3852*the\ am__doit\ target*) 3853 am__include=include 3854 am__quote= 3855 _am_result=GNU 3856 ;; 3857esac 3858# Now try BSD make style include. 3859if test "$am__include" = "#"; then 3860 echo '.include "confinc"' > confmf 3861 case `$am_make -s -f confmf 2> /dev/null` in #( 3862 *the\ am__doit\ target*) 3863 am__include=.include 3864 am__quote="\"" 3865 _am_result=BSD 3866 ;; 3867 esac 3868fi 3869 3870 3871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3872$as_echo "$_am_result" >&6; } 3873rm -f confinc confmf 3874 3875# Check whether --enable-dependency-tracking was given. 3876if test "${enable_dependency_tracking+set}" = set; then : 3877 enableval=$enable_dependency_tracking; 3878fi 3879 3880if test "x$enable_dependency_tracking" != xno; then 3881 am_depcomp="$ac_aux_dir/depcomp" 3882 AMDEPBACKSLASH='\' 3883fi 3884 if test "x$enable_dependency_tracking" != xno; then 3885 AMDEP_TRUE= 3886 AMDEP_FALSE='#' 3887else 3888 AMDEP_TRUE='#' 3889 AMDEP_FALSE= 3890fi 3891 3892 3893 3894depcc="$CC" am_compiler_list= 3895 3896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3897$as_echo_n "checking dependency style of $depcc... " >&6; } 3898if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : 3899 $as_echo_n "(cached) " >&6 3900else 3901 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3902 # We make a subdir and do the tests there. Otherwise we can end up 3903 # making bogus files that we don't know about and never remove. For 3904 # instance it was reported that on HP-UX the gcc test will end up 3905 # making a dummy file named `D' -- because `-MD' means `put the output 3906 # in D'. 3907 mkdir conftest.dir 3908 # Copy depcomp to subdir because otherwise we won't find it if we're 3909 # using a relative directory. 3910 cp "$am_depcomp" conftest.dir 3911 cd conftest.dir 3912 # We will build objects and dependencies in a subdirectory because 3913 # it helps to detect inapplicable dependency modes. For instance 3914 # both Tru64's cc and ICC support -MD to output dependencies as a 3915 # side effect of compilation, but ICC will put the dependencies in 3916 # the current directory while Tru64 will put them in the object 3917 # directory. 3918 mkdir sub 3919 3920 am_cv_CC_dependencies_compiler_type=none 3921 if test "$am_compiler_list" = ""; then 3922 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3923 fi 3924 am__universal=false 3925 case " $depcc " in #( 3926 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3927 esac 3928 3929 for depmode in $am_compiler_list; do 3930 # Setup a source with many dependencies, because some compilers 3931 # like to wrap large dependency lists on column 80 (with \), and 3932 # we should not choose a depcomp mode which is confused by this. 3933 # 3934 # We need to recreate these files for each test, as the compiler may 3935 # overwrite some of them when testing with obscure command lines. 3936 # This happens at least with the AIX C compiler. 3937 : > sub/conftest.c 3938 for i in 1 2 3 4 5 6; do 3939 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3940 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3941 # Solaris 8's {/usr,}/bin/sh. 3942 touch sub/conftst$i.h 3943 done 3944 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3945 3946 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3947 # mode. It turns out that the SunPro C++ compiler does not properly 3948 # handle `-M -o', and we need to detect this. Also, some Intel 3949 # versions had trouble with output in subdirs 3950 am__obj=sub/conftest.${OBJEXT-o} 3951 am__minus_obj="-o $am__obj" 3952 case $depmode in 3953 gcc) 3954 # This depmode causes a compiler race in universal mode. 3955 test "$am__universal" = false || continue 3956 ;; 3957 nosideeffect) 3958 # after this tag, mechanisms are not by side-effect, so they'll 3959 # only be used when explicitly requested 3960 if test "x$enable_dependency_tracking" = xyes; then 3961 continue 3962 else 3963 break 3964 fi 3965 ;; 3966 msvisualcpp | msvcmsys) 3967 # This compiler won't grok `-c -o', but also, the minuso test has 3968 # not run yet. These depmodes are late enough in the game, and 3969 # so weak that their functioning should not be impacted. 3970 am__obj=conftest.${OBJEXT-o} 3971 am__minus_obj= 3972 ;; 3973 none) break ;; 3974 esac 3975 if depmode=$depmode \ 3976 source=sub/conftest.c object=$am__obj \ 3977 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3978 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3979 >/dev/null 2>conftest.err && 3980 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3981 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3982 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3983 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3984 # icc doesn't choke on unknown options, it will just issue warnings 3985 # or remarks (even with -Werror). So we grep stderr for any message 3986 # that says an option was ignored or not supported. 3987 # When given -MP, icc 7.0 and 7.1 complain thusly: 3988 # icc: Command line warning: ignoring option '-M'; no argument required 3989 # The diagnosis changed in icc 8.0: 3990 # icc: Command line remark: option '-MP' not supported 3991 if (grep 'ignoring option' conftest.err || 3992 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3993 am_cv_CC_dependencies_compiler_type=$depmode 3994 break 3995 fi 3996 fi 3997 done 3998 3999 cd .. 4000 rm -rf conftest.dir 4001else 4002 am_cv_CC_dependencies_compiler_type=none 4003fi 4004 4005fi 4006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4007$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4008CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4009 4010 if 4011 test "x$enable_dependency_tracking" != xno \ 4012 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4013 am__fastdepCC_TRUE= 4014 am__fastdepCC_FALSE='#' 4015else 4016 am__fastdepCC_TRUE='#' 4017 am__fastdepCC_FALSE= 4018fi 4019 4020 4021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4022$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4023set x ${MAKE-make} 4024ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4025if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : 4026 $as_echo_n "(cached) " >&6 4027else 4028 cat >conftest.make <<\_ACEOF 4029SHELL = /bin/sh 4030all: 4031 @echo '@@@%%%=$(MAKE)=@@@%%%' 4032_ACEOF 4033# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4034case `${MAKE-make} -f conftest.make 2>/dev/null` in 4035 *@@@%%%=?*=@@@%%%*) 4036 eval ac_cv_prog_make_${ac_make}_set=yes;; 4037 *) 4038 eval ac_cv_prog_make_${ac_make}_set=no;; 4039esac 4040rm -f conftest.make 4041fi 4042if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4044$as_echo "yes" >&6; } 4045 SET_MAKE= 4046else 4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4048$as_echo "no" >&6; } 4049 SET_MAKE="MAKE=${MAKE-make}" 4050fi 4051 4052 4053 4054 4055 4056ac_ext=c 4057ac_cpp='$CPP $CPPFLAGS' 4058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4060ac_compiler_gnu=$ac_cv_c_compiler_gnu 4061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4062$as_echo_n "checking how to run the C preprocessor... " >&6; } 4063# On Suns, sometimes $CPP names a directory. 4064if test -n "$CPP" && test -d "$CPP"; then 4065 CPP= 4066fi 4067if test -z "$CPP"; then 4068 if test "${ac_cv_prog_CPP+set}" = set; then : 4069 $as_echo_n "(cached) " >&6 4070else 4071 # Double quotes because CPP needs to be expanded 4072 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4073 do 4074 ac_preproc_ok=false 4075for ac_c_preproc_warn_flag in '' yes 4076do 4077 # Use a header file that comes with gcc, so configuring glibc 4078 # with a fresh cross-compiler works. 4079 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4080 # <limits.h> exists even on freestanding compilers. 4081 # On the NeXT, cc -E runs the code through the compiler's parser, 4082 # not just through cpp. "Syntax error" is here to catch this case. 4083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4084/* end confdefs.h. */ 4085#ifdef __STDC__ 4086# include <limits.h> 4087#else 4088# include <assert.h> 4089#endif 4090 Syntax error 4091_ACEOF 4092if ac_fn_c_try_cpp "$LINENO"; then : 4093 4094else 4095 # Broken: fails on valid input. 4096continue 4097fi 4098rm -f conftest.err conftest.i conftest.$ac_ext 4099 4100 # OK, works on sane cases. Now check whether nonexistent headers 4101 # can be detected and how. 4102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4103/* end confdefs.h. */ 4104#include <ac_nonexistent.h> 4105_ACEOF 4106if ac_fn_c_try_cpp "$LINENO"; then : 4107 # Broken: success on invalid input. 4108continue 4109else 4110 # Passes both tests. 4111ac_preproc_ok=: 4112break 4113fi 4114rm -f conftest.err conftest.i conftest.$ac_ext 4115 4116done 4117# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4118rm -f conftest.i conftest.err conftest.$ac_ext 4119if $ac_preproc_ok; then : 4120 break 4121fi 4122 4123 done 4124 ac_cv_prog_CPP=$CPP 4125 4126fi 4127 CPP=$ac_cv_prog_CPP 4128else 4129 ac_cv_prog_CPP=$CPP 4130fi 4131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4132$as_echo "$CPP" >&6; } 4133ac_preproc_ok=false 4134for ac_c_preproc_warn_flag in '' yes 4135do 4136 # Use a header file that comes with gcc, so configuring glibc 4137 # with a fresh cross-compiler works. 4138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4139 # <limits.h> exists even on freestanding compilers. 4140 # On the NeXT, cc -E runs the code through the compiler's parser, 4141 # not just through cpp. "Syntax error" is here to catch this case. 4142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4143/* end confdefs.h. */ 4144#ifdef __STDC__ 4145# include <limits.h> 4146#else 4147# include <assert.h> 4148#endif 4149 Syntax error 4150_ACEOF 4151if ac_fn_c_try_cpp "$LINENO"; then : 4152 4153else 4154 # Broken: fails on valid input. 4155continue 4156fi 4157rm -f conftest.err conftest.i conftest.$ac_ext 4158 4159 # OK, works on sane cases. Now check whether nonexistent headers 4160 # can be detected and how. 4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4162/* end confdefs.h. */ 4163#include <ac_nonexistent.h> 4164_ACEOF 4165if ac_fn_c_try_cpp "$LINENO"; then : 4166 # Broken: success on invalid input. 4167continue 4168else 4169 # Passes both tests. 4170ac_preproc_ok=: 4171break 4172fi 4173rm -f conftest.err conftest.i conftest.$ac_ext 4174 4175done 4176# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4177rm -f conftest.i conftest.err conftest.$ac_ext 4178if $ac_preproc_ok; then : 4179 4180else 4181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4182$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4183as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4184See \`config.log' for more details" "$LINENO" 5 ; } 4185fi 4186 4187ac_ext=c 4188ac_cpp='$CPP $CPPFLAGS' 4189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4191ac_compiler_gnu=$ac_cv_c_compiler_gnu 4192 4193 4194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4195$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4196if test "${ac_cv_path_GREP+set}" = set; then : 4197 $as_echo_n "(cached) " >&6 4198else 4199 if test -z "$GREP"; then 4200 ac_path_GREP_found=false 4201 # Loop through the user's path and test for each of PROGNAME-LIST 4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4203for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4204do 4205 IFS=$as_save_IFS 4206 test -z "$as_dir" && as_dir=. 4207 for ac_prog in grep ggrep; do 4208 for ac_exec_ext in '' $ac_executable_extensions; do 4209 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4210 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4211# Check for GNU ac_path_GREP and select it if it is found. 4212 # Check for GNU $ac_path_GREP 4213case `"$ac_path_GREP" --version 2>&1` in 4214*GNU*) 4215 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4216*) 4217 ac_count=0 4218 $as_echo_n 0123456789 >"conftest.in" 4219 while : 4220 do 4221 cat "conftest.in" "conftest.in" >"conftest.tmp" 4222 mv "conftest.tmp" "conftest.in" 4223 cp "conftest.in" "conftest.nl" 4224 $as_echo 'GREP' >> "conftest.nl" 4225 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4226 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4227 as_fn_arith $ac_count + 1 && ac_count=$as_val 4228 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4229 # Best one so far, save it but keep looking for a better one 4230 ac_cv_path_GREP="$ac_path_GREP" 4231 ac_path_GREP_max=$ac_count 4232 fi 4233 # 10*(2^10) chars as input seems more than enough 4234 test $ac_count -gt 10 && break 4235 done 4236 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4237esac 4238 4239 $ac_path_GREP_found && break 3 4240 done 4241 done 4242 done 4243IFS=$as_save_IFS 4244 if test -z "$ac_cv_path_GREP"; then 4245 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4246 fi 4247else 4248 ac_cv_path_GREP=$GREP 4249fi 4250 4251fi 4252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4253$as_echo "$ac_cv_path_GREP" >&6; } 4254 GREP="$ac_cv_path_GREP" 4255 4256 4257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4258$as_echo_n "checking for egrep... " >&6; } 4259if test "${ac_cv_path_EGREP+set}" = set; then : 4260 $as_echo_n "(cached) " >&6 4261else 4262 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4263 then ac_cv_path_EGREP="$GREP -E" 4264 else 4265 if test -z "$EGREP"; then 4266 ac_path_EGREP_found=false 4267 # Loop through the user's path and test for each of PROGNAME-LIST 4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4269for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4270do 4271 IFS=$as_save_IFS 4272 test -z "$as_dir" && as_dir=. 4273 for ac_prog in egrep; do 4274 for ac_exec_ext in '' $ac_executable_extensions; do 4275 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4276 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4277# Check for GNU ac_path_EGREP and select it if it is found. 4278 # Check for GNU $ac_path_EGREP 4279case `"$ac_path_EGREP" --version 2>&1` in 4280*GNU*) 4281 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4282*) 4283 ac_count=0 4284 $as_echo_n 0123456789 >"conftest.in" 4285 while : 4286 do 4287 cat "conftest.in" "conftest.in" >"conftest.tmp" 4288 mv "conftest.tmp" "conftest.in" 4289 cp "conftest.in" "conftest.nl" 4290 $as_echo 'EGREP' >> "conftest.nl" 4291 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4292 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4293 as_fn_arith $ac_count + 1 && ac_count=$as_val 4294 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4295 # Best one so far, save it but keep looking for a better one 4296 ac_cv_path_EGREP="$ac_path_EGREP" 4297 ac_path_EGREP_max=$ac_count 4298 fi 4299 # 10*(2^10) chars as input seems more than enough 4300 test $ac_count -gt 10 && break 4301 done 4302 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4303esac 4304 4305 $ac_path_EGREP_found && break 3 4306 done 4307 done 4308 done 4309IFS=$as_save_IFS 4310 if test -z "$ac_cv_path_EGREP"; then 4311 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4312 fi 4313else 4314 ac_cv_path_EGREP=$EGREP 4315fi 4316 4317 fi 4318fi 4319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4320$as_echo "$ac_cv_path_EGREP" >&6; } 4321 EGREP="$ac_cv_path_EGREP" 4322 4323 4324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4325$as_echo_n "checking for ANSI C header files... " >&6; } 4326if test "${ac_cv_header_stdc+set}" = set; then : 4327 $as_echo_n "(cached) " >&6 4328else 4329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4330/* end confdefs.h. */ 4331#include <stdlib.h> 4332#include <stdarg.h> 4333#include <string.h> 4334#include <float.h> 4335 4336int 4337main () 4338{ 4339 4340 ; 4341 return 0; 4342} 4343_ACEOF 4344if ac_fn_c_try_compile "$LINENO"; then : 4345 ac_cv_header_stdc=yes 4346else 4347 ac_cv_header_stdc=no 4348fi 4349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4350 4351if test $ac_cv_header_stdc = yes; then 4352 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4354/* end confdefs.h. */ 4355#include <string.h> 4356 4357_ACEOF 4358if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4359 $EGREP "memchr" >/dev/null 2>&1; then : 4360 4361else 4362 ac_cv_header_stdc=no 4363fi 4364rm -f conftest* 4365 4366fi 4367 4368if test $ac_cv_header_stdc = yes; then 4369 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4371/* end confdefs.h. */ 4372#include <stdlib.h> 4373 4374_ACEOF 4375if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4376 $EGREP "free" >/dev/null 2>&1; then : 4377 4378else 4379 ac_cv_header_stdc=no 4380fi 4381rm -f conftest* 4382 4383fi 4384 4385if test $ac_cv_header_stdc = yes; then 4386 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4387 if test "$cross_compiling" = yes; then : 4388 : 4389else 4390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4391/* end confdefs.h. */ 4392#include <ctype.h> 4393#include <stdlib.h> 4394#if ((' ' & 0x0FF) == 0x020) 4395# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4396# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4397#else 4398# define ISLOWER(c) \ 4399 (('a' <= (c) && (c) <= 'i') \ 4400 || ('j' <= (c) && (c) <= 'r') \ 4401 || ('s' <= (c) && (c) <= 'z')) 4402# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4403#endif 4404 4405#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4406int 4407main () 4408{ 4409 int i; 4410 for (i = 0; i < 256; i++) 4411 if (XOR (islower (i), ISLOWER (i)) 4412 || toupper (i) != TOUPPER (i)) 4413 return 2; 4414 return 0; 4415} 4416_ACEOF 4417if ac_fn_c_try_run "$LINENO"; then : 4418 4419else 4420 ac_cv_header_stdc=no 4421fi 4422rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4423 conftest.$ac_objext conftest.beam conftest.$ac_ext 4424fi 4425 4426fi 4427fi 4428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4429$as_echo "$ac_cv_header_stdc" >&6; } 4430if test $ac_cv_header_stdc = yes; then 4431 4432$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4433 4434fi 4435 4436# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4437for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4438 inttypes.h stdint.h unistd.h 4439do : 4440 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4441ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4442" 4443if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4444 cat >>confdefs.h <<_ACEOF 4445#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4446_ACEOF 4447 4448fi 4449 4450done 4451 4452 4453for ac_header in arpa/inet.h crypt.h fcntl.h netdb.h netinet/in.h 4454do : 4455 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4456ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4457if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4458 cat >>confdefs.h <<_ACEOF 4459#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4460_ACEOF 4461 4462fi 4463 4464done 4465 4466for ac_header in stdlib.h string.h strings.h sys/socket.h sys/time.h unistd.h 4467do : 4468 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4469ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4470if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4471 cat >>confdefs.h <<_ACEOF 4472#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4473_ACEOF 4474 4475fi 4476 4477done 4478 4479 4480 4481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 4482$as_echo_n "checking for library containing gethostbyname... " >&6; } 4483if test "${ac_cv_search_gethostbyname+set}" = set; then : 4484 $as_echo_n "(cached) " >&6 4485else 4486 ac_func_search_save_LIBS=$LIBS 4487cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4488/* end confdefs.h. */ 4489 4490/* Override any GCC internal prototype to avoid an error. 4491 Use char because int might match the return type of a GCC 4492 builtin and then its argument prototype would still apply. */ 4493#ifdef __cplusplus 4494extern "C" 4495#endif 4496char gethostbyname (); 4497int 4498main () 4499{ 4500return gethostbyname (); 4501 ; 4502 return 0; 4503} 4504_ACEOF 4505for ac_lib in '' inet nsl; do 4506 if test -z "$ac_lib"; then 4507 ac_res="none required" 4508 else 4509 ac_res=-l$ac_lib 4510 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4511 fi 4512 if ac_fn_c_try_link "$LINENO"; then : 4513 ac_cv_search_gethostbyname=$ac_res 4514fi 4515rm -f core conftest.err conftest.$ac_objext \ 4516 conftest$ac_exeext 4517 if test "${ac_cv_search_gethostbyname+set}" = set; then : 4518 break 4519fi 4520done 4521if test "${ac_cv_search_gethostbyname+set}" = set; then : 4522 4523else 4524 ac_cv_search_gethostbyname=no 4525fi 4526rm conftest.$ac_ext 4527LIBS=$ac_func_search_save_LIBS 4528fi 4529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 4530$as_echo "$ac_cv_search_gethostbyname" >&6; } 4531ac_res=$ac_cv_search_gethostbyname 4532if test "$ac_res" != no; then : 4533 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4534 4535fi 4536 4537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyaddr" >&5 4538$as_echo_n "checking for library containing gethostbyaddr... " >&6; } 4539if test "${ac_cv_search_gethostbyaddr+set}" = set; then : 4540 $as_echo_n "(cached) " >&6 4541else 4542 ac_func_search_save_LIBS=$LIBS 4543cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4544/* end confdefs.h. */ 4545 4546/* Override any GCC internal prototype to avoid an error. 4547 Use char because int might match the return type of a GCC 4548 builtin and then its argument prototype would still apply. */ 4549#ifdef __cplusplus 4550extern "C" 4551#endif 4552char gethostbyaddr (); 4553int 4554main () 4555{ 4556return gethostbyaddr (); 4557 ; 4558 return 0; 4559} 4560_ACEOF 4561for ac_lib in '' nsl; do 4562 if test -z "$ac_lib"; then 4563 ac_res="none required" 4564 else 4565 ac_res=-l$ac_lib 4566 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4567 fi 4568 if ac_fn_c_try_link "$LINENO"; then : 4569 ac_cv_search_gethostbyaddr=$ac_res 4570fi 4571rm -f core conftest.err conftest.$ac_objext \ 4572 conftest$ac_exeext 4573 if test "${ac_cv_search_gethostbyaddr+set}" = set; then : 4574 break 4575fi 4576done 4577if test "${ac_cv_search_gethostbyaddr+set}" = set; then : 4578 4579else 4580 ac_cv_search_gethostbyaddr=no 4581fi 4582rm conftest.$ac_ext 4583LIBS=$ac_func_search_save_LIBS 4584fi 4585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyaddr" >&5 4586$as_echo "$ac_cv_search_gethostbyaddr" >&6; } 4587ac_res=$ac_cv_search_gethostbyaddr 4588if test "$ac_res" != no; then : 4589 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4590 4591fi 4592 4593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 4594$as_echo_n "checking for library containing socket... " >&6; } 4595if test "${ac_cv_search_socket+set}" = set; then : 4596 $as_echo_n "(cached) " >&6 4597else 4598 ac_func_search_save_LIBS=$LIBS 4599cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4600/* end confdefs.h. */ 4601 4602/* Override any GCC internal prototype to avoid an error. 4603 Use char because int might match the return type of a GCC 4604 builtin and then its argument prototype would still apply. */ 4605#ifdef __cplusplus 4606extern "C" 4607#endif 4608char socket (); 4609int 4610main () 4611{ 4612return socket (); 4613 ; 4614 return 0; 4615} 4616_ACEOF 4617for ac_lib in '' socket; do 4618 if test -z "$ac_lib"; then 4619 ac_res="none required" 4620 else 4621 ac_res=-l$ac_lib 4622 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4623 fi 4624 if ac_fn_c_try_link "$LINENO"; then : 4625 ac_cv_search_socket=$ac_res 4626fi 4627rm -f core conftest.err conftest.$ac_objext \ 4628 conftest$ac_exeext 4629 if test "${ac_cv_search_socket+set}" = set; then : 4630 break 4631fi 4632done 4633if test "${ac_cv_search_socket+set}" = set; then : 4634 4635else 4636 ac_cv_search_socket=no 4637fi 4638rm conftest.$ac_ext 4639LIBS=$ac_func_search_save_LIBS 4640fi 4641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 4642$as_echo "$ac_cv_search_socket" >&6; } 4643ac_res=$ac_cv_search_socket 4644if test "$ac_res" != no; then : 4645 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4646 4647fi 4648 4649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing hstrerror" >&5 4650$as_echo_n "checking for library containing hstrerror... " >&6; } 4651if test "${ac_cv_search_hstrerror+set}" = set; then : 4652 $as_echo_n "(cached) " >&6 4653else 4654 ac_func_search_save_LIBS=$LIBS 4655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4656/* end confdefs.h. */ 4657 4658/* Override any GCC internal prototype to avoid an error. 4659 Use char because int might match the return type of a GCC 4660 builtin and then its argument prototype would still apply. */ 4661#ifdef __cplusplus 4662extern "C" 4663#endif 4664char hstrerror (); 4665int 4666main () 4667{ 4668return hstrerror (); 4669 ; 4670 return 0; 4671} 4672_ACEOF 4673for ac_lib in '' resolv; do 4674 if test -z "$ac_lib"; then 4675 ac_res="none required" 4676 else 4677 ac_res=-l$ac_lib 4678 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4679 fi 4680 if ac_fn_c_try_link "$LINENO"; then : 4681 ac_cv_search_hstrerror=$ac_res 4682fi 4683rm -f core conftest.err conftest.$ac_objext \ 4684 conftest$ac_exeext 4685 if test "${ac_cv_search_hstrerror+set}" = set; then : 4686 break 4687fi 4688done 4689if test "${ac_cv_search_hstrerror+set}" = set; then : 4690 4691else 4692 ac_cv_search_hstrerror=no 4693fi 4694rm conftest.$ac_ext 4695LIBS=$ac_func_search_save_LIBS 4696fi 4697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hstrerror" >&5 4698$as_echo "$ac_cv_search_hstrerror" >&6; } 4699ac_res=$ac_cv_search_hstrerror 4700if test "$ac_res" != no; then : 4701 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4702 4703fi 4704 4705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5 4706$as_echo_n "checking for library containing crypt... " >&6; } 4707if test "${ac_cv_search_crypt+set}" = set; then : 4708 $as_echo_n "(cached) " >&6 4709else 4710 ac_func_search_save_LIBS=$LIBS 4711cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4712/* end confdefs.h. */ 4713 4714/* Override any GCC internal prototype to avoid an error. 4715 Use char because int might match the return type of a GCC 4716 builtin and then its argument prototype would still apply. */ 4717#ifdef __cplusplus 4718extern "C" 4719#endif 4720char crypt (); 4721int 4722main () 4723{ 4724return crypt (); 4725 ; 4726 return 0; 4727} 4728_ACEOF 4729for ac_lib in '' crypt; do 4730 if test -z "$ac_lib"; then 4731 ac_res="none required" 4732 else 4733 ac_res=-l$ac_lib 4734 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4735 fi 4736 if ac_fn_c_try_link "$LINENO"; then : 4737 ac_cv_search_crypt=$ac_res 4738fi 4739rm -f core conftest.err conftest.$ac_objext \ 4740 conftest$ac_exeext 4741 if test "${ac_cv_search_crypt+set}" = set; then : 4742 break 4743fi 4744done 4745if test "${ac_cv_search_crypt+set}" = set; then : 4746 4747else 4748 ac_cv_search_crypt=no 4749fi 4750rm conftest.$ac_ext 4751LIBS=$ac_func_search_save_LIBS 4752fi 4753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5 4754$as_echo "$ac_cv_search_crypt" >&6; } 4755ac_res=$ac_cv_search_crypt 4756if test "$ac_res" != no; then : 4757 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4758 4759fi 4760 4761 4762 4763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 4764$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 4765if test "${ac_cv_c_const+set}" = set; then : 4766 $as_echo_n "(cached) " >&6 4767else 4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4769/* end confdefs.h. */ 4770 4771int 4772main () 4773{ 4774/* FIXME: Include the comments suggested by Paul. */ 4775#ifndef __cplusplus 4776 /* Ultrix mips cc rejects this. */ 4777 typedef int charset[2]; 4778 const charset cs; 4779 /* SunOS 4.1.1 cc rejects this. */ 4780 char const *const *pcpcc; 4781 char **ppc; 4782 /* NEC SVR4.0.2 mips cc rejects this. */ 4783 struct point {int x, y;}; 4784 static struct point const zero = {0,0}; 4785 /* AIX XL C 1.02.0.0 rejects this. 4786 It does not let you subtract one const X* pointer from another in 4787 an arm of an if-expression whose if-part is not a constant 4788 expression */ 4789 const char *g = "string"; 4790 pcpcc = &g + (g ? g-g : 0); 4791 /* HPUX 7.0 cc rejects these. */ 4792 ++pcpcc; 4793 ppc = (char**) pcpcc; 4794 pcpcc = (char const *const *) ppc; 4795 { /* SCO 3.2v4 cc rejects this. */ 4796 char *t; 4797 char const *s = 0 ? (char *) 0 : (char const *) 0; 4798 4799 *t++ = 0; 4800 if (s) return 0; 4801 } 4802 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 4803 int x[] = {25, 17}; 4804 const int *foo = &x[0]; 4805 ++foo; 4806 } 4807 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 4808 typedef const int *iptr; 4809 iptr p = 0; 4810 ++p; 4811 } 4812 { /* AIX XL C 1.02.0.0 rejects this saying 4813 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 4814 struct s { int j; const int *ap[3]; }; 4815 struct s *b; b->j = 5; 4816 } 4817 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4818 const int foo = 10; 4819 if (!foo) return 0; 4820 } 4821 return !cs[0] && !zero.x; 4822#endif 4823 4824 ; 4825 return 0; 4826} 4827_ACEOF 4828if ac_fn_c_try_compile "$LINENO"; then : 4829 ac_cv_c_const=yes 4830else 4831 ac_cv_c_const=no 4832fi 4833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4834fi 4835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 4836$as_echo "$ac_cv_c_const" >&6; } 4837if test $ac_cv_c_const = no; then 4838 4839$as_echo "#define const /**/" >>confdefs.h 4840 4841fi 4842 4843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 4844$as_echo_n "checking for inline... " >&6; } 4845if test "${ac_cv_c_inline+set}" = set; then : 4846 $as_echo_n "(cached) " >&6 4847else 4848 ac_cv_c_inline=no 4849for ac_kw in inline __inline__ __inline; do 4850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4851/* end confdefs.h. */ 4852#ifndef __cplusplus 4853typedef int foo_t; 4854static $ac_kw foo_t static_foo () {return 0; } 4855$ac_kw foo_t foo () {return 0; } 4856#endif 4857 4858_ACEOF 4859if ac_fn_c_try_compile "$LINENO"; then : 4860 ac_cv_c_inline=$ac_kw 4861fi 4862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4863 test "$ac_cv_c_inline" != no && break 4864done 4865 4866fi 4867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 4868$as_echo "$ac_cv_c_inline" >&6; } 4869 4870case $ac_cv_c_inline in 4871 inline | yes) ;; 4872 *) 4873 case $ac_cv_c_inline in 4874 no) ac_val=;; 4875 *) ac_val=$ac_cv_c_inline;; 4876 esac 4877 cat >>confdefs.h <<_ACEOF 4878#ifndef __cplusplus 4879#define inline $ac_val 4880#endif 4881_ACEOF 4882 ;; 4883esac 4884 4885ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 4886if test "x$ac_cv_type_pid_t" = x""yes; then : 4887 4888else 4889 4890cat >>confdefs.h <<_ACEOF 4891#define pid_t int 4892_ACEOF 4893 4894fi 4895 4896ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 4897if test "x$ac_cv_type_size_t" = x""yes; then : 4898 4899else 4900 4901cat >>confdefs.h <<_ACEOF 4902#define size_t unsigned int 4903_ACEOF 4904 4905fi 4906 4907ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default" 4908if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then : 4909 4910cat >>confdefs.h <<_ACEOF 4911#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 4912_ACEOF 4913 4914 4915fi 4916 4917ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default" 4918if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then : 4919 4920cat >>confdefs.h <<_ACEOF 4921#define HAVE_STRUCT_STAT_ST_BLOCKS 1 4922_ACEOF 4923 4924 4925$as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h 4926 4927else 4928 case " $LIBOBJS " in 4929 *" fileblocks.$ac_objext "* ) ;; 4930 *) LIBOBJS="$LIBOBJS fileblocks.$ac_objext" 4931 ;; 4932esac 4933 4934fi 4935 4936 4937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 4938$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 4939if test "${ac_cv_header_time+set}" = set; then : 4940 $as_echo_n "(cached) " >&6 4941else 4942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4943/* end confdefs.h. */ 4944#include <sys/types.h> 4945#include <sys/time.h> 4946#include <time.h> 4947 4948int 4949main () 4950{ 4951if ((struct tm *) 0) 4952return 0; 4953 ; 4954 return 0; 4955} 4956_ACEOF 4957if ac_fn_c_try_compile "$LINENO"; then : 4958 ac_cv_header_time=yes 4959else 4960 ac_cv_header_time=no 4961fi 4962rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4963fi 4964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 4965$as_echo "$ac_cv_header_time" >&6; } 4966if test $ac_cv_header_time = yes; then 4967 4968$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 4969 4970fi 4971 4972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 4973$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 4974if test "${ac_cv_struct_tm+set}" = set; then : 4975 $as_echo_n "(cached) " >&6 4976else 4977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4978/* end confdefs.h. */ 4979#include <sys/types.h> 4980#include <time.h> 4981 4982int 4983main () 4984{ 4985struct tm tm; 4986 int *p = &tm.tm_sec; 4987 return !p; 4988 ; 4989 return 0; 4990} 4991_ACEOF 4992if ac_fn_c_try_compile "$LINENO"; then : 4993 ac_cv_struct_tm=time.h 4994else 4995 ac_cv_struct_tm=sys/time.h 4996fi 4997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4998fi 4999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 5000$as_echo "$ac_cv_struct_tm" >&6; } 5001if test $ac_cv_struct_tm = sys/time.h; then 5002 5003$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 5004 5005fi 5006 5007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 5008$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 5009if test "${ac_cv_header_stdbool_h+set}" = set; then : 5010 $as_echo_n "(cached) " >&6 5011else 5012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5013/* end confdefs.h. */ 5014 5015#include <stdbool.h> 5016#ifndef bool 5017 "error: bool is not defined" 5018#endif 5019#ifndef false 5020 "error: false is not defined" 5021#endif 5022#if false 5023 "error: false is not 0" 5024#endif 5025#ifndef true 5026 "error: true is not defined" 5027#endif 5028#if true != 1 5029 "error: true is not 1" 5030#endif 5031#ifndef __bool_true_false_are_defined 5032 "error: __bool_true_false_are_defined is not defined" 5033#endif 5034 5035 struct s { _Bool s: 1; _Bool t; } s; 5036 5037 char a[true == 1 ? 1 : -1]; 5038 char b[false == 0 ? 1 : -1]; 5039 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 5040 char d[(bool) 0.5 == true ? 1 : -1]; 5041 bool e = &s; 5042 char f[(_Bool) 0.0 == false ? 1 : -1]; 5043 char g[true]; 5044 char h[sizeof (_Bool)]; 5045 char i[sizeof s.t]; 5046 enum { j = false, k = true, l = false * true, m = true * 256 }; 5047 /* The following fails for 5048 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ 5049 _Bool n[m]; 5050 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 5051 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 5052# if defined __xlc__ || defined __GNUC__ 5053 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0 5054 reported by James Lemley on 2005-10-05; see 5055 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html 5056 This test is not quite right, since xlc is allowed to 5057 reject this program, as the initializer for xlcbug is 5058 not one of the forms that C requires support for. 5059 However, doing the test right would require a runtime 5060 test, and that would make cross-compilation harder. 5061 Let us hope that IBM fixes the xlc bug, and also adds 5062 support for this kind of constant expression. In the 5063 meantime, this test will reject xlc, which is OK, since 5064 our stdbool.h substitute should suffice. We also test 5065 this with GCC, where it should work, to detect more 5066 quickly whether someone messes up the test in the 5067 future. */ 5068 char digs[] = "0123456789"; 5069 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1); 5070# endif 5071 /* Catch a bug in an HP-UX C compiler. See 5072 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 5073 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 5074 */ 5075 _Bool q = true; 5076 _Bool *pq = &q; 5077 5078int 5079main () 5080{ 5081 5082 *pq |= q; 5083 *pq |= ! q; 5084 /* Refer to every declared value, to avoid compiler optimizations. */ 5085 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 5086 + !m + !n + !o + !p + !q + !pq); 5087 5088 ; 5089 return 0; 5090} 5091_ACEOF 5092if ac_fn_c_try_compile "$LINENO"; then : 5093 ac_cv_header_stdbool_h=yes 5094else 5095 ac_cv_header_stdbool_h=no 5096fi 5097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5098fi 5099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 5100$as_echo "$ac_cv_header_stdbool_h" >&6; } 5101ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" 5102if test "x$ac_cv_type__Bool" = x""yes; then : 5103 5104cat >>confdefs.h <<_ACEOF 5105#define HAVE__BOOL 1 5106_ACEOF 5107 5108 5109fi 5110 5111if test $ac_cv_header_stdbool_h = yes; then 5112 5113$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h 5114 5115fi 5116 5117 5118 5119if test "$ac_local" = yes; then 5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: configuring for local installation" >&5 5121$as_echo "configuring for local installation" >&6; } 5122 bindir=$HOME/miau 5123 sbindir=$bindir 5124 datadir=$HOME/.miau 5125 infodir=$HOME/miau 5126 mandir=$infodir 5127else 5128 datadir="/usr/local/share/examples/miau" 5129fi 5130 5131 5132 5133 5134 5135 5136 5137 5138if test "x$GCC" = "xyes"; then 5139 CFLAGS="${CFLAGS} -Wall" 5140fi 5141 5142if test "x$use_IPV6" = "xyes"; then 5143 ac_fn_c_check_func "$LINENO" "gethostbyname2" "ac_cv_func_gethostbyname2" 5144if test "x$ac_cv_func_gethostbyname2" = x""yes; then : 5145 $as_echo "#define IPV6 1" >>confdefs.h 5146 5147fi 5148 5149fi 5150 5151 5152# Checks for library functions. 5153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 5154$as_echo_n "checking for error_at_line... " >&6; } 5155if test "${ac_cv_lib_error_at_line+set}" = set; then : 5156 $as_echo_n "(cached) " >&6 5157else 5158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5159/* end confdefs.h. */ 5160#include <error.h> 5161int 5162main () 5163{ 5164error_at_line (0, 0, "", 0, "an error occurred"); 5165 ; 5166 return 0; 5167} 5168_ACEOF 5169if ac_fn_c_try_link "$LINENO"; then : 5170 ac_cv_lib_error_at_line=yes 5171else 5172 ac_cv_lib_error_at_line=no 5173fi 5174rm -f core conftest.err conftest.$ac_objext \ 5175 conftest$ac_exeext conftest.$ac_ext 5176fi 5177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 5178$as_echo "$ac_cv_lib_error_at_line" >&6; } 5179if test $ac_cv_lib_error_at_line = no; then 5180 case " $LIBOBJS " in 5181 *" error.$ac_objext "* ) ;; 5182 *) LIBOBJS="$LIBOBJS error.$ac_objext" 5183 ;; 5184esac 5185 5186fi 5187 5188for ac_header in vfork.h 5189do : 5190 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 5191if test "x$ac_cv_header_vfork_h" = x""yes; then : 5192 cat >>confdefs.h <<_ACEOF 5193#define HAVE_VFORK_H 1 5194_ACEOF 5195 5196fi 5197 5198done 5199 5200for ac_func in fork vfork 5201do : 5202 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5203ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5204if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5205 cat >>confdefs.h <<_ACEOF 5206#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5207_ACEOF 5208 5209fi 5210done 5211 5212if test "x$ac_cv_func_fork" = xyes; then 5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 5214$as_echo_n "checking for working fork... " >&6; } 5215if test "${ac_cv_func_fork_works+set}" = set; then : 5216 $as_echo_n "(cached) " >&6 5217else 5218 if test "$cross_compiling" = yes; then : 5219 ac_cv_func_fork_works=cross 5220else 5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5222/* end confdefs.h. */ 5223$ac_includes_default 5224int 5225main () 5226{ 5227 5228 /* By Ruediger Kuhlmann. */ 5229 return fork () < 0; 5230 5231 ; 5232 return 0; 5233} 5234_ACEOF 5235if ac_fn_c_try_run "$LINENO"; then : 5236 ac_cv_func_fork_works=yes 5237else 5238 ac_cv_func_fork_works=no 5239fi 5240rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5241 conftest.$ac_objext conftest.beam conftest.$ac_ext 5242fi 5243 5244fi 5245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 5246$as_echo "$ac_cv_func_fork_works" >&6; } 5247 5248else 5249 ac_cv_func_fork_works=$ac_cv_func_fork 5250fi 5251if test "x$ac_cv_func_fork_works" = xcross; then 5252 case $host in 5253 *-*-amigaos* | *-*-msdosdjgpp*) 5254 # Override, as these systems have only a dummy fork() stub 5255 ac_cv_func_fork_works=no 5256 ;; 5257 *) 5258 ac_cv_func_fork_works=yes 5259 ;; 5260 esac 5261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 5262$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 5263fi 5264ac_cv_func_vfork_works=$ac_cv_func_vfork 5265if test "x$ac_cv_func_vfork" = xyes; then 5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 5267$as_echo_n "checking for working vfork... " >&6; } 5268if test "${ac_cv_func_vfork_works+set}" = set; then : 5269 $as_echo_n "(cached) " >&6 5270else 5271 if test "$cross_compiling" = yes; then : 5272 ac_cv_func_vfork_works=cross 5273else 5274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5275/* end confdefs.h. */ 5276/* Thanks to Paul Eggert for this test. */ 5277$ac_includes_default 5278#include <sys/wait.h> 5279#ifdef HAVE_VFORK_H 5280# include <vfork.h> 5281#endif 5282/* On some sparc systems, changes by the child to local and incoming 5283 argument registers are propagated back to the parent. The compiler 5284 is told about this with #include <vfork.h>, but some compilers 5285 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a 5286 static variable whose address is put into a register that is 5287 clobbered by the vfork. */ 5288static void 5289#ifdef __cplusplus 5290sparc_address_test (int arg) 5291# else 5292sparc_address_test (arg) int arg; 5293#endif 5294{ 5295 static pid_t child; 5296 if (!child) { 5297 child = vfork (); 5298 if (child < 0) { 5299 perror ("vfork"); 5300 _exit(2); 5301 } 5302 if (!child) { 5303 arg = getpid(); 5304 write(-1, "", 0); 5305 _exit (arg); 5306 } 5307 } 5308} 5309 5310int 5311main () 5312{ 5313 pid_t parent = getpid (); 5314 pid_t child; 5315 5316 sparc_address_test (0); 5317 5318 child = vfork (); 5319 5320 if (child == 0) { 5321 /* Here is another test for sparc vfork register problems. This 5322 test uses lots of local variables, at least as many local 5323 variables as main has allocated so far including compiler 5324 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 5325 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should 5326 reuse the register of parent for one of the local variables, 5327 since it will think that parent can't possibly be used any more 5328 in this routine. Assigning to the local variable will thus 5329 munge parent in the parent process. */ 5330 pid_t 5331 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), 5332 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); 5333 /* Convince the compiler that p..p7 are live; otherwise, it might 5334 use the same hardware register for all 8 local variables. */ 5335 if (p != p1 || p != p2 || p != p3 || p != p4 5336 || p != p5 || p != p6 || p != p7) 5337 _exit(1); 5338 5339 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent 5340 from child file descriptors. If the child closes a descriptor 5341 before it execs or exits, this munges the parent's descriptor 5342 as well. Test for this by closing stdout in the child. */ 5343 _exit(close(fileno(stdout)) != 0); 5344 } else { 5345 int status; 5346 struct stat st; 5347 5348 while (wait(&status) != child) 5349 ; 5350 return ( 5351 /* Was there some problem with vforking? */ 5352 child < 0 5353 5354 /* Did the child fail? (This shouldn't happen.) */ 5355 || status 5356 5357 /* Did the vfork/compiler bug occur? */ 5358 || parent != getpid() 5359 5360 /* Did the file descriptor bug occur? */ 5361 || fstat(fileno(stdout), &st) != 0 5362 ); 5363 } 5364} 5365_ACEOF 5366if ac_fn_c_try_run "$LINENO"; then : 5367 ac_cv_func_vfork_works=yes 5368else 5369 ac_cv_func_vfork_works=no 5370fi 5371rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5372 conftest.$ac_objext conftest.beam conftest.$ac_ext 5373fi 5374 5375fi 5376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 5377$as_echo "$ac_cv_func_vfork_works" >&6; } 5378 5379fi; 5380if test "x$ac_cv_func_fork_works" = xcross; then 5381 ac_cv_func_vfork_works=$ac_cv_func_vfork 5382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 5383$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 5384fi 5385 5386if test "x$ac_cv_func_vfork_works" = xyes; then 5387 5388$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h 5389 5390else 5391 5392$as_echo "#define vfork fork" >>confdefs.h 5393 5394fi 5395if test "x$ac_cv_func_fork_works" = xyes; then 5396 5397$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h 5398 5399fi 5400 5401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 5402$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } 5403if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then : 5404 $as_echo_n "(cached) " >&6 5405else 5406 rm -f conftest.sym conftest.file 5407echo >conftest.file 5408if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then 5409 if test "$cross_compiling" = yes; then : 5410 ac_cv_func_lstat_dereferences_slashed_symlink=no 5411else 5412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5413/* end confdefs.h. */ 5414$ac_includes_default 5415int 5416main () 5417{ 5418struct stat sbuf; 5419 /* Linux will dereference the symlink and fail, as required by POSIX. 5420 That is better in the sense that it means we will not 5421 have to compile and use the lstat wrapper. */ 5422 return lstat ("conftest.sym/", &sbuf) == 0; 5423 ; 5424 return 0; 5425} 5426_ACEOF 5427if ac_fn_c_try_run "$LINENO"; then : 5428 ac_cv_func_lstat_dereferences_slashed_symlink=yes 5429else 5430 ac_cv_func_lstat_dereferences_slashed_symlink=no 5431fi 5432rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5433 conftest.$ac_objext conftest.beam conftest.$ac_ext 5434fi 5435 5436else 5437 # If the `ln -s' command failed, then we probably don't even 5438 # have an lstat function. 5439 ac_cv_func_lstat_dereferences_slashed_symlink=no 5440fi 5441rm -f conftest.sym conftest.file 5442 5443fi 5444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 5445$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } 5446 5447test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && 5448 5449cat >>confdefs.h <<_ACEOF 5450#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 5451_ACEOF 5452 5453 5454if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then 5455 case " $LIBOBJS " in 5456 *" lstat.$ac_objext "* ) ;; 5457 *) LIBOBJS="$LIBOBJS lstat.$ac_objext" 5458 ;; 5459esac 5460 5461fi 5462 5463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5 5464$as_echo_n "checking whether lstat accepts an empty string... " >&6; } 5465if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then : 5466 $as_echo_n "(cached) " >&6 5467else 5468 if test "$cross_compiling" = yes; then : 5469 ac_cv_func_lstat_empty_string_bug=yes 5470else 5471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5472/* end confdefs.h. */ 5473$ac_includes_default 5474int 5475main () 5476{ 5477struct stat sbuf; 5478 return lstat ("", &sbuf) == 0; 5479 ; 5480 return 0; 5481} 5482_ACEOF 5483if ac_fn_c_try_run "$LINENO"; then : 5484 ac_cv_func_lstat_empty_string_bug=no 5485else 5486 ac_cv_func_lstat_empty_string_bug=yes 5487fi 5488rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5489 conftest.$ac_objext conftest.beam conftest.$ac_ext 5490fi 5491 5492fi 5493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5 5494$as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; } 5495if test $ac_cv_func_lstat_empty_string_bug = yes; then 5496 case " $LIBOBJS " in 5497 *" lstat.$ac_objext "* ) ;; 5498 *) LIBOBJS="$LIBOBJS lstat.$ac_objext" 5499 ;; 5500esac 5501 5502 5503cat >>confdefs.h <<_ACEOF 5504#define HAVE_LSTAT_EMPTY_STRING_BUG 1 5505_ACEOF 5506 5507fi 5508 5509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 5510$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } 5511if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then : 5512 $as_echo_n "(cached) " >&6 5513else 5514 rm -f conftest.sym conftest.file 5515echo >conftest.file 5516if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then 5517 if test "$cross_compiling" = yes; then : 5518 ac_cv_func_lstat_dereferences_slashed_symlink=no 5519else 5520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5521/* end confdefs.h. */ 5522$ac_includes_default 5523int 5524main () 5525{ 5526struct stat sbuf; 5527 /* Linux will dereference the symlink and fail, as required by POSIX. 5528 That is better in the sense that it means we will not 5529 have to compile and use the lstat wrapper. */ 5530 return lstat ("conftest.sym/", &sbuf) == 0; 5531 ; 5532 return 0; 5533} 5534_ACEOF 5535if ac_fn_c_try_run "$LINENO"; then : 5536 ac_cv_func_lstat_dereferences_slashed_symlink=yes 5537else 5538 ac_cv_func_lstat_dereferences_slashed_symlink=no 5539fi 5540rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5541 conftest.$ac_objext conftest.beam conftest.$ac_ext 5542fi 5543 5544else 5545 # If the `ln -s' command failed, then we probably don't even 5546 # have an lstat function. 5547 ac_cv_func_lstat_dereferences_slashed_symlink=no 5548fi 5549rm -f conftest.sym conftest.file 5550 5551fi 5552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 5553$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; } 5554 5555test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && 5556 5557cat >>confdefs.h <<_ACEOF 5558#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 5559_ACEOF 5560 5561 5562if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then 5563 case " $LIBOBJS " in 5564 *" lstat.$ac_objext "* ) ;; 5565 *) LIBOBJS="$LIBOBJS lstat.$ac_objext" 5566 ;; 5567esac 5568 5569fi 5570 5571for ac_header in stdlib.h 5572do : 5573 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5574if test "x$ac_cv_header_stdlib_h" = x""yes; then : 5575 cat >>confdefs.h <<_ACEOF 5576#define HAVE_STDLIB_H 1 5577_ACEOF 5578 5579fi 5580 5581done 5582 5583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 5584$as_echo_n "checking for GNU libc compatible malloc... " >&6; } 5585if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then : 5586 $as_echo_n "(cached) " >&6 5587else 5588 if test "$cross_compiling" = yes; then : 5589 ac_cv_func_malloc_0_nonnull=no 5590else 5591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5592/* end confdefs.h. */ 5593#if defined STDC_HEADERS || defined HAVE_STDLIB_H 5594# include <stdlib.h> 5595#else 5596char *malloc (); 5597#endif 5598 5599int 5600main () 5601{ 5602return ! malloc (0); 5603 ; 5604 return 0; 5605} 5606_ACEOF 5607if ac_fn_c_try_run "$LINENO"; then : 5608 ac_cv_func_malloc_0_nonnull=yes 5609else 5610 ac_cv_func_malloc_0_nonnull=no 5611fi 5612rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5613 conftest.$ac_objext conftest.beam conftest.$ac_ext 5614fi 5615 5616fi 5617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 5618$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } 5619if test $ac_cv_func_malloc_0_nonnull = yes; then : 5620 5621$as_echo "#define HAVE_MALLOC 1" >>confdefs.h 5622 5623else 5624 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h 5625 5626 case " $LIBOBJS " in 5627 *" malloc.$ac_objext "* ) ;; 5628 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 5629 ;; 5630esac 5631 5632 5633$as_echo "#define malloc rpl_malloc" >>confdefs.h 5634 5635fi 5636 5637 5638for ac_header in stdlib.h 5639do : 5640 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 5641if test "x$ac_cv_header_stdlib_h" = x""yes; then : 5642 cat >>confdefs.h <<_ACEOF 5643#define HAVE_STDLIB_H 1 5644_ACEOF 5645 5646fi 5647 5648done 5649 5650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 5651$as_echo_n "checking for GNU libc compatible realloc... " >&6; } 5652if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then : 5653 $as_echo_n "(cached) " >&6 5654else 5655 if test "$cross_compiling" = yes; then : 5656 ac_cv_func_realloc_0_nonnull=no 5657else 5658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5659/* end confdefs.h. */ 5660#if defined STDC_HEADERS || defined HAVE_STDLIB_H 5661# include <stdlib.h> 5662#else 5663char *realloc (); 5664#endif 5665 5666int 5667main () 5668{ 5669return ! realloc (0, 0); 5670 ; 5671 return 0; 5672} 5673_ACEOF 5674if ac_fn_c_try_run "$LINENO"; then : 5675 ac_cv_func_realloc_0_nonnull=yes 5676else 5677 ac_cv_func_realloc_0_nonnull=no 5678fi 5679rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5680 conftest.$ac_objext conftest.beam conftest.$ac_ext 5681fi 5682 5683fi 5684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 5685$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } 5686if test $ac_cv_func_realloc_0_nonnull = yes; then : 5687 5688$as_echo "#define HAVE_REALLOC 1" >>confdefs.h 5689 5690else 5691 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h 5692 5693 case " $LIBOBJS " in 5694 *" realloc.$ac_objext "* ) ;; 5695 *) LIBOBJS="$LIBOBJS realloc.$ac_objext" 5696 ;; 5697esac 5698 5699 5700$as_echo "#define realloc rpl_realloc" >>confdefs.h 5701 5702fi 5703 5704 5705for ac_header in sys/select.h sys/socket.h 5706do : 5707 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5708ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5709if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5710 cat >>confdefs.h <<_ACEOF 5711#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5712_ACEOF 5713 5714fi 5715 5716done 5717 5718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5 5719$as_echo_n "checking types of arguments for select... " >&6; } 5720if test "${ac_cv_func_select_args+set}" = set; then : 5721 $as_echo_n "(cached) " >&6 5722else 5723 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do 5724 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do 5725 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do 5726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5727/* end confdefs.h. */ 5728$ac_includes_default 5729#ifdef HAVE_SYS_SELECT_H 5730# include <sys/select.h> 5731#endif 5732#ifdef HAVE_SYS_SOCKET_H 5733# include <sys/socket.h> 5734#endif 5735 5736int 5737main () 5738{ 5739extern int select ($ac_arg1, 5740 $ac_arg234, $ac_arg234, $ac_arg234, 5741 $ac_arg5); 5742 ; 5743 return 0; 5744} 5745_ACEOF 5746if ac_fn_c_try_compile "$LINENO"; then : 5747 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3 5748fi 5749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5750 done 5751 done 5752done 5753# Provide a safe default value. 5754: ${ac_cv_func_select_args='int,int *,struct timeval *'} 5755 5756fi 5757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5 5758$as_echo "$ac_cv_func_select_args" >&6; } 5759ac_save_IFS=$IFS; IFS=',' 5760set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'` 5761IFS=$ac_save_IFS 5762shift 5763 5764cat >>confdefs.h <<_ACEOF 5765#define SELECT_TYPE_ARG1 $1 5766_ACEOF 5767 5768 5769cat >>confdefs.h <<_ACEOF 5770#define SELECT_TYPE_ARG234 ($2) 5771_ACEOF 5772 5773 5774cat >>confdefs.h <<_ACEOF 5775#define SELECT_TYPE_ARG5 ($3) 5776_ACEOF 5777 5778rm -f conftest* 5779 5780if test "${ac_cv_func_setvbuf_reversed+set}" = set; then : 5781 $as_echo_n "(cached) " >&6 5782else 5783 ac_cv_func_setvbuf_reversed=no 5784fi 5785 5786 5787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5 5788$as_echo_n "checking whether stat accepts an empty string... " >&6; } 5789if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then : 5790 $as_echo_n "(cached) " >&6 5791else 5792 if test "$cross_compiling" = yes; then : 5793 ac_cv_func_stat_empty_string_bug=yes 5794else 5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5796/* end confdefs.h. */ 5797$ac_includes_default 5798int 5799main () 5800{ 5801struct stat sbuf; 5802 return stat ("", &sbuf) == 0; 5803 ; 5804 return 0; 5805} 5806_ACEOF 5807if ac_fn_c_try_run "$LINENO"; then : 5808 ac_cv_func_stat_empty_string_bug=no 5809else 5810 ac_cv_func_stat_empty_string_bug=yes 5811fi 5812rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5813 conftest.$ac_objext conftest.beam conftest.$ac_ext 5814fi 5815 5816fi 5817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5 5818$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; } 5819if test $ac_cv_func_stat_empty_string_bug = yes; then 5820 case " $LIBOBJS " in 5821 *" stat.$ac_objext "* ) ;; 5822 *) LIBOBJS="$LIBOBJS stat.$ac_objext" 5823 ;; 5824esac 5825 5826 5827cat >>confdefs.h <<_ACEOF 5828#define HAVE_STAT_EMPTY_STRING_BUG 1 5829_ACEOF 5830 5831fi 5832 5833for ac_func in strftime 5834do : 5835 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime" 5836if test "x$ac_cv_func_strftime" = x""yes; then : 5837 cat >>confdefs.h <<_ACEOF 5838#define HAVE_STRFTIME 1 5839_ACEOF 5840 5841else 5842 # strftime is in -lintl on SCO UNIX. 5843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5 5844$as_echo_n "checking for strftime in -lintl... " >&6; } 5845if test "${ac_cv_lib_intl_strftime+set}" = set; then : 5846 $as_echo_n "(cached) " >&6 5847else 5848 ac_check_lib_save_LIBS=$LIBS 5849LIBS="-lintl $LIBS" 5850cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5851/* end confdefs.h. */ 5852 5853/* Override any GCC internal prototype to avoid an error. 5854 Use char because int might match the return type of a GCC 5855 builtin and then its argument prototype would still apply. */ 5856#ifdef __cplusplus 5857extern "C" 5858#endif 5859char strftime (); 5860int 5861main () 5862{ 5863return strftime (); 5864 ; 5865 return 0; 5866} 5867_ACEOF 5868if ac_fn_c_try_link "$LINENO"; then : 5869 ac_cv_lib_intl_strftime=yes 5870else 5871 ac_cv_lib_intl_strftime=no 5872fi 5873rm -f core conftest.err conftest.$ac_objext \ 5874 conftest$ac_exeext conftest.$ac_ext 5875LIBS=$ac_check_lib_save_LIBS 5876fi 5877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5 5878$as_echo "$ac_cv_lib_intl_strftime" >&6; } 5879if test "x$ac_cv_lib_intl_strftime" = x""yes; then : 5880 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h 5881 5882LIBS="-lintl $LIBS" 5883fi 5884 5885fi 5886done 5887 5888for ac_func in vprintf 5889do : 5890 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf" 5891if test "x$ac_cv_func_vprintf" = x""yes; then : 5892 cat >>confdefs.h <<_ACEOF 5893#define HAVE_VPRINTF 1 5894_ACEOF 5895 5896ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt" 5897if test "x$ac_cv_func__doprnt" = x""yes; then : 5898 5899$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h 5900 5901fi 5902 5903fi 5904done 5905 5906 5907for ac_func in alarm atexit dup2 5908do : 5909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5910ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5911if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5912 cat >>confdefs.h <<_ACEOF 5913#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5914_ACEOF 5915 5916fi 5917done 5918 5919for ac_func in gethostbyaddr gethostbyname gethostname getpass gettimeofday 5920do : 5921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5922ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5923if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5924 cat >>confdefs.h <<_ACEOF 5925#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5926_ACEOF 5927 5928fi 5929done 5930 5931for ac_func in inet_ntoa memmove mkdir random 5932do : 5933 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5934ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5935if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5936 cat >>confdefs.h <<_ACEOF 5937#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5938_ACEOF 5939 5940fi 5941done 5942 5943for ac_func in select socket strcasecmp strchr strdup strerror strncasecmp 5944do : 5945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5946ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5947if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5948 cat >>confdefs.h <<_ACEOF 5949#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5950_ACEOF 5951 5952fi 5953done 5954 5955for ac_func in strrchr strtol strtoul 5956do : 5957 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5958ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5959if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5960 cat >>confdefs.h <<_ACEOF 5961#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5962_ACEOF 5963 5964fi 5965done 5966 5967 5968for ac_func in bzero crypt sigaction 5969do : 5970 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5971ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5972if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5973 cat >>confdefs.h <<_ACEOF 5974#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5975_ACEOF 5976 5977fi 5978done 5979 5980 5981 5982if test "$ac_cv_header_stdc" = no; then 5983 as_fn_error $? "ansi-c headers are required!" "$LINENO" 5 5984fi 5985 5986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 5987$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5988if test "${ac_cv_c_const+set}" = set; then : 5989 $as_echo_n "(cached) " >&6 5990else 5991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5992/* end confdefs.h. */ 5993 5994int 5995main () 5996{ 5997/* FIXME: Include the comments suggested by Paul. */ 5998#ifndef __cplusplus 5999 /* Ultrix mips cc rejects this. */ 6000 typedef int charset[2]; 6001 const charset cs; 6002 /* SunOS 4.1.1 cc rejects this. */ 6003 char const *const *pcpcc; 6004 char **ppc; 6005 /* NEC SVR4.0.2 mips cc rejects this. */ 6006 struct point {int x, y;}; 6007 static struct point const zero = {0,0}; 6008 /* AIX XL C 1.02.0.0 rejects this. 6009 It does not let you subtract one const X* pointer from another in 6010 an arm of an if-expression whose if-part is not a constant 6011 expression */ 6012 const char *g = "string"; 6013 pcpcc = &g + (g ? g-g : 0); 6014 /* HPUX 7.0 cc rejects these. */ 6015 ++pcpcc; 6016 ppc = (char**) pcpcc; 6017 pcpcc = (char const *const *) ppc; 6018 { /* SCO 3.2v4 cc rejects this. */ 6019 char *t; 6020 char const *s = 0 ? (char *) 0 : (char const *) 0; 6021 6022 *t++ = 0; 6023 if (s) return 0; 6024 } 6025 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 6026 int x[] = {25, 17}; 6027 const int *foo = &x[0]; 6028 ++foo; 6029 } 6030 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 6031 typedef const int *iptr; 6032 iptr p = 0; 6033 ++p; 6034 } 6035 { /* AIX XL C 1.02.0.0 rejects this saying 6036 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 6037 struct s { int j; const int *ap[3]; }; 6038 struct s *b; b->j = 5; 6039 } 6040 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 6041 const int foo = 10; 6042 if (!foo) return 0; 6043 } 6044 return !cs[0] && !zero.x; 6045#endif 6046 6047 ; 6048 return 0; 6049} 6050_ACEOF 6051if ac_fn_c_try_compile "$LINENO"; then : 6052 ac_cv_c_const=yes 6053else 6054 ac_cv_c_const=no 6055fi 6056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6057fi 6058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 6059$as_echo "$ac_cv_c_const" >&6; } 6060if test $ac_cv_c_const = no; then 6061 6062$as_echo "#define const /**/" >>confdefs.h 6063 6064fi 6065 6066ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 6067if test "x$ac_cv_type_size_t" = x""yes; then : 6068 6069else 6070 6071cat >>confdefs.h <<_ACEOF 6072#define size_t unsigned int 6073_ACEOF 6074 6075fi 6076 6077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 6078$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 6079if test "${ac_cv_header_time+set}" = set; then : 6080 $as_echo_n "(cached) " >&6 6081else 6082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6083/* end confdefs.h. */ 6084#include <sys/types.h> 6085#include <sys/time.h> 6086#include <time.h> 6087 6088int 6089main () 6090{ 6091if ((struct tm *) 0) 6092return 0; 6093 ; 6094 return 0; 6095} 6096_ACEOF 6097if ac_fn_c_try_compile "$LINENO"; then : 6098 ac_cv_header_time=yes 6099else 6100 ac_cv_header_time=no 6101fi 6102rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6103fi 6104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 6105$as_echo "$ac_cv_header_time" >&6; } 6106if test $ac_cv_header_time = yes; then 6107 6108$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 6109 6110fi 6111 6112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 6113$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 6114if test "${ac_cv_struct_tm+set}" = set; then : 6115 $as_echo_n "(cached) " >&6 6116else 6117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6118/* end confdefs.h. */ 6119#include <sys/types.h> 6120#include <time.h> 6121 6122int 6123main () 6124{ 6125struct tm tm; 6126 int *p = &tm.tm_sec; 6127 return !p; 6128 ; 6129 return 0; 6130} 6131_ACEOF 6132if ac_fn_c_try_compile "$LINENO"; then : 6133 ac_cv_struct_tm=time.h 6134else 6135 ac_cv_struct_tm=sys/time.h 6136fi 6137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6138fi 6139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 6140$as_echo "$ac_cv_struct_tm" >&6; } 6141if test $ac_cv_struct_tm = sys/time.h; then 6142 6143$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 6144 6145fi 6146 6147 6148 6149if test "x$dont_check_select" != "xyes"; then 6150 for ac_func in select 6151do : 6152 ac_fn_c_check_func "$LINENO" "select" "ac_cv_func_select" 6153if test "x$ac_cv_func_select" = x""yes; then : 6154 cat >>confdefs.h <<_ACEOF 6155#define HAVE_SELECT 1 6156_ACEOF 6157 found_select=yes 6158else 6159 found_select=no 6160fi 6161done 6162 6163 if test "x$found_select" != "xyes"; then 6164 cat <<EOF 6165 6166configure couldn't find select() on your system - which is most unlikely. This 6167is a know issue when compiling miau on HP-UX. If you want to ignore this missing 6168select, run configure with --with-dont-check-select and keep your fingers 6169crossed. 6170EOF 6171 as_fn_error $? "required function not found" "$LINENO" 5 6172 fi 6173fi 6174 6175for ac_func in vsnprintf 6176do : 6177 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" 6178if test "x$ac_cv_func_vsnprintf" = x""yes; then : 6179 cat >>confdefs.h <<_ACEOF 6180#define HAVE_VSNPRINTF 1 6181_ACEOF 6182 have_snprintf=yes 6183else 6184 have_snprintf=no 6185fi 6186done 6187 6188for ac_func in snprintf 6189do : 6190 ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" 6191if test "x$ac_cv_func_snprintf" = x""yes; then : 6192 cat >>confdefs.h <<_ACEOF 6193#define HAVE_SNPRINTF 1 6194_ACEOF 6195 6196else 6197 have_snprintf=no 6198fi 6199done 6200 6201if test "x$have_snprintf" != "xyes"; then 6202 if test "x$snprintf_workaround" != "xyes"; then 6203 cat <<EOF 6204 6205Your system doesn't have function (v)snprintf. miau can use (v)sprintf instead, 6206but this may result in illegal memory access, which will most definitely be a 6207security risk and cause segfaults. If you are sure you want to do this, use 6208--with-snprintf-workaround and watch miau going down, hard. :-) 6209EOF 6210 as_fn_error $? "required function not found" "$LINENO" 5 6211 fi 6212fi 6213 6214# socklen_t stuff (Lars Brinkhoff <lars@nocrew.org>) 6215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5 6216$as_echo_n "checking for socklen_t... " >&6; } 6217if test "${ac_cv_type_socklen_t+set}" = set; then : 6218 $as_echo_n "(cached) " >&6 6219else 6220 6221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6222/* end confdefs.h. */ 6223#include <sys/types.h> 6224 #include <sys/socket.h> 6225int 6226main () 6227{ 6228socklen_t len = 42; return 0; 6229 ; 6230 return 0; 6231} 6232_ACEOF 6233if ac_fn_c_try_compile "$LINENO"; then : 6234 ac_cv_type_socklen_t=yes 6235else 6236 ac_cv_type_socklen_t=no 6237fi 6238rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6239 6240fi 6241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5 6242$as_echo "$ac_cv_type_socklen_t" >&6; } 6243if test "x$ac_cv_type_socklen_t" != "xyes"; then 6244 6245$as_echo "#define socklen_t int" >>confdefs.h 6246 6247fi 6248 6249# hstrerror on Digital UNIX 6250_CFLAGS="${CFLAGS}" 6251CFLGAS="-Werror" 6252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hstrerror prototype" >&5 6253$as_echo_n "checking for hstrerror prototype... " >&6; } 6254if test "${ac_cv_func_hstrerror+set}" = set; then : 6255 $as_echo_n "(cached) " >&6 6256else 6257 6258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6259/* end confdefs.h. */ 6260#include <netdb.h> 6261int 6262main () 6263{ 6264const char *ret; ret = hstrerror(1); return 0; 6265 ; 6266 return 0; 6267} 6268_ACEOF 6269if ac_fn_c_try_link "$LINENO"; then : 6270 ac_cv_func_hstrerror=yes 6271else 6272 ac_cv_func_hstrerror=no 6273fi 6274rm -f core conftest.err conftest.$ac_objext \ 6275 conftest$ac_exeext conftest.$ac_ext 6276 6277fi 6278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_hstrerror" >&5 6279$as_echo "$ac_cv_func_hstrerror" >&6; } 6280if test "x${ac_cv_func_hstrerror}" = "xyes"; then 6281 6282 $as_echo "#define HAVE_HSTRERROR_PROTO yes" >>confdefs.h 6283 6284fi 6285CFLAGS="${_CFLAGS}" 6286 6287# try to find va_copy 6288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5 6289$as_echo_n "checking for va_copy... " >&6; } 6290if test "${ac_cv_macro_va_copy+set}" = set; then : 6291 $as_echo_n "(cached) " >&6 6292else 6293 6294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6295/* end confdefs.h. */ 6296#include <stdarg.h> 6297int 6298main () 6299{ 6300va_list a1, a2; va_copy(a1, a2); return 0; 6301 ; 6302 return 0; 6303} 6304_ACEOF 6305if ac_fn_c_try_link "$LINENO"; then : 6306 ac_cv_macro_va_copy=yes 6307else 6308 ac_cv_macro_va_copy=no 6309fi 6310rm -f core conftest.err conftest.$ac_objext \ 6311 conftest$ac_exeext conftest.$ac_ext 6312 6313fi 6314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_macro_va_copy" >&5 6315$as_echo "$ac_cv_macro_va_copy" >&6; } 6316if test "x${ac_cv_macro_va_copy}" = "xyes"; then 6317 6318 $as_echo "#define HAVE_VA_COPY yes" >>confdefs.h 6319 6320fi 6321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5 6322$as_echo_n "checking for __va_copy... " >&6; } 6323if test "${ac_cv_macro___va_copy+set}" = set; then : 6324 $as_echo_n "(cached) " >&6 6325else 6326 6327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6328/* end confdefs.h. */ 6329#include <stdarg.h> 6330int 6331main () 6332{ 6333va_list a1, a2; va_copy(a1, a2); return 0; 6334 ; 6335 return 0; 6336} 6337_ACEOF 6338if ac_fn_c_try_link "$LINENO"; then : 6339 ac_cv_macro___va_copy=yes 6340else 6341 ac_cv_macro___va_copy=no 6342fi 6343rm -f core conftest.err conftest.$ac_objext \ 6344 conftest$ac_exeext conftest.$ac_ext 6345 6346fi 6347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_macro___va_copy" >&5 6348$as_echo "$ac_cv_macro___va_copy" >&6; } 6349if test "x${ac_cv_macro___va_copy}" = "xyes"; then 6350 6351 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h 6352 6353fi 6354 6355 6356ac_config_files="$ac_config_files Makefile src/Makefile doc/Makefile misc/Makefile" 6357 6358cat >confcache <<\_ACEOF 6359# This file is a shell script that caches the results of configure 6360# tests run on this system so they can be shared between configure 6361# scripts and configure runs, see configure's option --config-cache. 6362# It is not useful on other systems. If it contains results you don't 6363# want to keep, you may remove or edit it. 6364# 6365# config.status only pays attention to the cache file if you give it 6366# the --recheck option to rerun configure. 6367# 6368# `ac_cv_env_foo' variables (set or unset) will be overridden when 6369# loading this file, other *unset* `ac_cv_foo' will be assigned the 6370# following values. 6371 6372_ACEOF 6373 6374# The following way of writing the cache mishandles newlines in values, 6375# but we know of no workaround that is simple, portable, and efficient. 6376# So, we kill variables containing newlines. 6377# Ultrix sh set writes to stderr and can't be redirected directly, 6378# and sets the high bit in the cache file unless we assign to the vars. 6379( 6380 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6381 eval ac_val=\$$ac_var 6382 case $ac_val in #( 6383 *${as_nl}*) 6384 case $ac_var in #( 6385 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6386$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6387 esac 6388 case $ac_var in #( 6389 _ | IFS | as_nl) ;; #( 6390 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6391 *) { eval $ac_var=; unset $ac_var;} ;; 6392 esac ;; 6393 esac 6394 done 6395 6396 (set) 2>&1 | 6397 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6398 *${as_nl}ac_space=\ *) 6399 # `set' does not quote correctly, so add quotes: double-quote 6400 # substitution turns \\\\ into \\, and sed turns \\ into \. 6401 sed -n \ 6402 "s/'/'\\\\''/g; 6403 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6404 ;; #( 6405 *) 6406 # `set' quotes correctly as required by POSIX, so do not add quotes. 6407 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6408 ;; 6409 esac | 6410 sort 6411) | 6412 sed ' 6413 /^ac_cv_env_/b end 6414 t clear 6415 :clear 6416 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6417 t end 6418 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6419 :end' >>confcache 6420if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6421 if test -w "$cache_file"; then 6422 test "x$cache_file" != "x/dev/null" && 6423 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6424$as_echo "$as_me: updating cache $cache_file" >&6;} 6425 cat confcache >$cache_file 6426 else 6427 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6428$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6429 fi 6430fi 6431rm -f confcache 6432 6433test "x$prefix" = xNONE && prefix=$ac_default_prefix 6434# Let make expand exec_prefix. 6435test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6436 6437DEFS=-DHAVE_CONFIG_H 6438 6439ac_libobjs= 6440ac_ltlibobjs= 6441U= 6442for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6443 # 1. Remove the extension, and $U if already installed. 6444 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6445 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6446 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6447 # will be set to the directory where LIBOBJS objects are built. 6448 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6449 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 6450done 6451LIBOBJS=$ac_libobjs 6452 6453LTLIBOBJS=$ac_ltlibobjs 6454 6455 6456 if test -n "$EXEEXT"; then 6457 am__EXEEXT_TRUE= 6458 am__EXEEXT_FALSE='#' 6459else 6460 am__EXEEXT_TRUE='#' 6461 am__EXEEXT_FALSE= 6462fi 6463 6464if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 6465 as_fn_error $? "conditional \"AMDEP\" was never defined. 6466Usually this means the macro was only invoked conditionally." "$LINENO" 5 6467fi 6468if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6469 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 6470Usually this means the macro was only invoked conditionally." "$LINENO" 5 6471fi 6472 6473: ${CONFIG_STATUS=./config.status} 6474ac_write_fail=0 6475ac_clean_files_save=$ac_clean_files 6476ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6477{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6478$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6479as_write_fail=0 6480cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 6481#! $SHELL 6482# Generated by $as_me. 6483# Run this file to recreate the current configuration. 6484# Compiler output produced by configure, useful for debugging 6485# configure, is in config.log if it exists. 6486 6487debug=false 6488ac_cs_recheck=false 6489ac_cs_silent=false 6490 6491SHELL=\${CONFIG_SHELL-$SHELL} 6492export SHELL 6493_ASEOF 6494cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6495## -------------------- ## 6496## M4sh Initialization. ## 6497## -------------------- ## 6498 6499# Be more Bourne compatible 6500DUALCASE=1; export DUALCASE # for MKS sh 6501if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 6502 emulate sh 6503 NULLCMD=: 6504 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 6505 # is contrary to our usage. Disable this feature. 6506 alias -g '${1+"$@"}'='"$@"' 6507 setopt NO_GLOB_SUBST 6508else 6509 case `(set -o) 2>/dev/null` in #( 6510 *posix*) : 6511 set -o posix ;; #( 6512 *) : 6513 ;; 6514esac 6515fi 6516 6517 6518as_nl=' 6519' 6520export as_nl 6521# Printing a long string crashes Solaris 7 /usr/bin/printf. 6522as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6523as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6524as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6525# Prefer a ksh shell builtin over an external printf program on Solaris, 6526# but without wasting forks for bash or zsh. 6527if test -z "$BASH_VERSION$ZSH_VERSION" \ 6528 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6529 as_echo='print -r --' 6530 as_echo_n='print -rn --' 6531elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6532 as_echo='printf %s\n' 6533 as_echo_n='printf %s' 6534else 6535 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6536 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6537 as_echo_n='/usr/ucb/echo -n' 6538 else 6539 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6540 as_echo_n_body='eval 6541 arg=$1; 6542 case $arg in #( 6543 *"$as_nl"*) 6544 expr "X$arg" : "X\\(.*\\)$as_nl"; 6545 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6546 esac; 6547 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6548 ' 6549 export as_echo_n_body 6550 as_echo_n='sh -c $as_echo_n_body as_echo' 6551 fi 6552 export as_echo_body 6553 as_echo='sh -c $as_echo_body as_echo' 6554fi 6555 6556# The user is always right. 6557if test "${PATH_SEPARATOR+set}" != set; then 6558 PATH_SEPARATOR=: 6559 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6560 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6561 PATH_SEPARATOR=';' 6562 } 6563fi 6564 6565 6566# IFS 6567# We need space, tab and new line, in precisely that order. Quoting is 6568# there to prevent editors from complaining about space-tab. 6569# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6570# splitting by setting IFS to empty value.) 6571IFS=" "" $as_nl" 6572 6573# Find who we are. Look in the path if we contain no directory separator. 6574case $0 in #(( 6575 *[\\/]* ) as_myself=$0 ;; 6576 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6577for as_dir in $PATH 6578do 6579 IFS=$as_save_IFS 6580 test -z "$as_dir" && as_dir=. 6581 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6582 done 6583IFS=$as_save_IFS 6584 6585 ;; 6586esac 6587# We did not find ourselves, most probably we were run as `sh COMMAND' 6588# in which case we are not to be found in the path. 6589if test "x$as_myself" = x; then 6590 as_myself=$0 6591fi 6592if test ! -f "$as_myself"; then 6593 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6594 exit 1 6595fi 6596 6597# Unset variables that we do not need and which cause bugs (e.g. in 6598# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6599# suppresses any "Segmentation fault" message there. '((' could 6600# trigger a bug in pdksh 5.2.14. 6601for as_var in BASH_ENV ENV MAIL MAILPATH 6602do eval test x\${$as_var+set} = xset \ 6603 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6604done 6605PS1='$ ' 6606PS2='> ' 6607PS4='+ ' 6608 6609# NLS nuisances. 6610LC_ALL=C 6611export LC_ALL 6612LANGUAGE=C 6613export LANGUAGE 6614 6615# CDPATH. 6616(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6617 6618 6619# as_fn_error STATUS ERROR [LINENO LOG_FD] 6620# ---------------------------------------- 6621# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6622# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6623# script with STATUS, using 1 if that was 0. 6624as_fn_error () 6625{ 6626 as_status=$1; test $as_status -eq 0 && as_status=1 6627 if test "$4"; then 6628 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6629 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 6630 fi 6631 $as_echo "$as_me: error: $2" >&2 6632 as_fn_exit $as_status 6633} # as_fn_error 6634 6635 6636# as_fn_set_status STATUS 6637# ----------------------- 6638# Set $? to STATUS, without forking. 6639as_fn_set_status () 6640{ 6641 return $1 6642} # as_fn_set_status 6643 6644# as_fn_exit STATUS 6645# ----------------- 6646# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6647as_fn_exit () 6648{ 6649 set +e 6650 as_fn_set_status $1 6651 exit $1 6652} # as_fn_exit 6653 6654# as_fn_unset VAR 6655# --------------- 6656# Portably unset VAR. 6657as_fn_unset () 6658{ 6659 { eval $1=; unset $1;} 6660} 6661as_unset=as_fn_unset 6662# as_fn_append VAR VALUE 6663# ---------------------- 6664# Append the text in VALUE to the end of the definition contained in VAR. Take 6665# advantage of any shell optimizations that allow amortized linear growth over 6666# repeated appends, instead of the typical quadratic growth present in naive 6667# implementations. 6668if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6669 eval 'as_fn_append () 6670 { 6671 eval $1+=\$2 6672 }' 6673else 6674 as_fn_append () 6675 { 6676 eval $1=\$$1\$2 6677 } 6678fi # as_fn_append 6679 6680# as_fn_arith ARG... 6681# ------------------ 6682# Perform arithmetic evaluation on the ARGs, and store the result in the 6683# global $as_val. Take advantage of shells that can avoid forks. The arguments 6684# must be portable across $(()) and expr. 6685if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6686 eval 'as_fn_arith () 6687 { 6688 as_val=$(( $* )) 6689 }' 6690else 6691 as_fn_arith () 6692 { 6693 as_val=`expr "$@" || test $? -eq 1` 6694 } 6695fi # as_fn_arith 6696 6697 6698if expr a : '\(a\)' >/dev/null 2>&1 && 6699 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6700 as_expr=expr 6701else 6702 as_expr=false 6703fi 6704 6705if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6706 as_basename=basename 6707else 6708 as_basename=false 6709fi 6710 6711if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6712 as_dirname=dirname 6713else 6714 as_dirname=false 6715fi 6716 6717as_me=`$as_basename -- "$0" || 6718$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6719 X"$0" : 'X\(//\)$' \| \ 6720 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6721$as_echo X/"$0" | 6722 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6723 s//\1/ 6724 q 6725 } 6726 /^X\/\(\/\/\)$/{ 6727 s//\1/ 6728 q 6729 } 6730 /^X\/\(\/\).*/{ 6731 s//\1/ 6732 q 6733 } 6734 s/.*/./; q'` 6735 6736# Avoid depending upon Character Ranges. 6737as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6738as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6739as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6740as_cr_digits='0123456789' 6741as_cr_alnum=$as_cr_Letters$as_cr_digits 6742 6743ECHO_C= ECHO_N= ECHO_T= 6744case `echo -n x` in #((((( 6745-n*) 6746 case `echo 'xy\c'` in 6747 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6748 xy) ECHO_C='\c';; 6749 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6750 ECHO_T=' ';; 6751 esac;; 6752*) 6753 ECHO_N='-n';; 6754esac 6755 6756rm -f conf$$ conf$$.exe conf$$.file 6757if test -d conf$$.dir; then 6758 rm -f conf$$.dir/conf$$.file 6759else 6760 rm -f conf$$.dir 6761 mkdir conf$$.dir 2>/dev/null 6762fi 6763if (echo >conf$$.file) 2>/dev/null; then 6764 if ln -s conf$$.file conf$$ 2>/dev/null; then 6765 as_ln_s='ln -s' 6766 # ... but there are two gotchas: 6767 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6768 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6769 # In both cases, we have to default to `cp -p'. 6770 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6771 as_ln_s='cp -p' 6772 elif ln conf$$.file conf$$ 2>/dev/null; then 6773 as_ln_s=ln 6774 else 6775 as_ln_s='cp -p' 6776 fi 6777else 6778 as_ln_s='cp -p' 6779fi 6780rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6781rmdir conf$$.dir 2>/dev/null 6782 6783 6784# as_fn_mkdir_p 6785# ------------- 6786# Create "$as_dir" as a directory, including parents if necessary. 6787as_fn_mkdir_p () 6788{ 6789 6790 case $as_dir in #( 6791 -*) as_dir=./$as_dir;; 6792 esac 6793 test -d "$as_dir" || eval $as_mkdir_p || { 6794 as_dirs= 6795 while :; do 6796 case $as_dir in #( 6797 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6798 *) as_qdir=$as_dir;; 6799 esac 6800 as_dirs="'$as_qdir' $as_dirs" 6801 as_dir=`$as_dirname -- "$as_dir" || 6802$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6803 X"$as_dir" : 'X\(//\)[^/]' \| \ 6804 X"$as_dir" : 'X\(//\)$' \| \ 6805 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6806$as_echo X"$as_dir" | 6807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6808 s//\1/ 6809 q 6810 } 6811 /^X\(\/\/\)[^/].*/{ 6812 s//\1/ 6813 q 6814 } 6815 /^X\(\/\/\)$/{ 6816 s//\1/ 6817 q 6818 } 6819 /^X\(\/\).*/{ 6820 s//\1/ 6821 q 6822 } 6823 s/.*/./; q'` 6824 test -d "$as_dir" && break 6825 done 6826 test -z "$as_dirs" || eval "mkdir $as_dirs" 6827 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 6828 6829 6830} # as_fn_mkdir_p 6831if mkdir -p . 2>/dev/null; then 6832 as_mkdir_p='mkdir -p "$as_dir"' 6833else 6834 test -d ./-p && rmdir ./-p 6835 as_mkdir_p=false 6836fi 6837 6838if test -x / >/dev/null 2>&1; then 6839 as_test_x='test -x' 6840else 6841 if ls -dL / >/dev/null 2>&1; then 6842 as_ls_L_option=L 6843 else 6844 as_ls_L_option= 6845 fi 6846 as_test_x=' 6847 eval sh -c '\'' 6848 if test -d "$1"; then 6849 test -d "$1/."; 6850 else 6851 case $1 in #( 6852 -*)set "./$1";; 6853 esac; 6854 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 6855 ???[sx]*):;;*)false;;esac;fi 6856 '\'' sh 6857 ' 6858fi 6859as_executable_p=$as_test_x 6860 6861# Sed expression to map a string onto a valid CPP name. 6862as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6863 6864# Sed expression to map a string onto a valid variable name. 6865as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6866 6867 6868exec 6>&1 6869## ----------------------------------- ## 6870## Main body of $CONFIG_STATUS script. ## 6871## ----------------------------------- ## 6872_ASEOF 6873test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6874 6875cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6876# Save the log message, to keep $0 and so on meaningful, and to 6877# report actual input values of CONFIG_FILES etc. instead of their 6878# values after options handling. 6879ac_log=" 6880This file was extended by miau $as_me 0.6.6, which was 6881generated by GNU Autoconf 2.67. Invocation command line was 6882 6883 CONFIG_FILES = $CONFIG_FILES 6884 CONFIG_HEADERS = $CONFIG_HEADERS 6885 CONFIG_LINKS = $CONFIG_LINKS 6886 CONFIG_COMMANDS = $CONFIG_COMMANDS 6887 $ $0 $@ 6888 6889on `(hostname || uname -n) 2>/dev/null | sed 1q` 6890" 6891 6892_ACEOF 6893 6894case $ac_config_files in *" 6895"*) set x $ac_config_files; shift; ac_config_files=$*;; 6896esac 6897 6898case $ac_config_headers in *" 6899"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 6900esac 6901 6902 6903cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6904# Files that config.status was made for. 6905config_files="$ac_config_files" 6906config_headers="$ac_config_headers" 6907config_commands="$ac_config_commands" 6908 6909_ACEOF 6910 6911cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6912ac_cs_usage="\ 6913\`$as_me' instantiates files and other configuration actions 6914from templates according to the current configuration. Unless the files 6915and actions are specified as TAGs, all are instantiated by default. 6916 6917Usage: $0 [OPTION]... [TAG]... 6918 6919 -h, --help print this help, then exit 6920 -V, --version print version number and configuration settings, then exit 6921 --config print configuration, then exit 6922 -q, --quiet, --silent 6923 do not print progress messages 6924 -d, --debug don't remove temporary files 6925 --recheck update $as_me by reconfiguring in the same conditions 6926 --file=FILE[:TEMPLATE] 6927 instantiate the configuration file FILE 6928 --header=FILE[:TEMPLATE] 6929 instantiate the configuration header FILE 6930 6931Configuration files: 6932$config_files 6933 6934Configuration headers: 6935$config_headers 6936 6937Configuration commands: 6938$config_commands 6939 6940Report bugs to the package provider." 6941 6942_ACEOF 6943cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6944ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 6945ac_cs_version="\\ 6946miau config.status 0.6.6 6947configured by $0, generated by GNU Autoconf 2.67, 6948 with options \\"\$ac_cs_config\\" 6949 6950Copyright (C) 2010 Free Software Foundation, Inc. 6951This config.status script is free software; the Free Software Foundation 6952gives unlimited permission to copy, distribute and modify it." 6953 6954ac_pwd='$ac_pwd' 6955srcdir='$srcdir' 6956INSTALL='$INSTALL' 6957MKDIR_P='$MKDIR_P' 6958AWK='$AWK' 6959test -n "\$AWK" || AWK=awk 6960_ACEOF 6961 6962cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6963# The default lists apply if the user does not specify any file. 6964ac_need_defaults=: 6965while test $# != 0 6966do 6967 case $1 in 6968 --*=?*) 6969 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6970 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6971 ac_shift=: 6972 ;; 6973 --*=) 6974 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6975 ac_optarg= 6976 ac_shift=: 6977 ;; 6978 *) 6979 ac_option=$1 6980 ac_optarg=$2 6981 ac_shift=shift 6982 ;; 6983 esac 6984 6985 case $ac_option in 6986 # Handling of the options. 6987 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6988 ac_cs_recheck=: ;; 6989 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6990 $as_echo "$ac_cs_version"; exit ;; 6991 --config | --confi | --conf | --con | --co | --c ) 6992 $as_echo "$ac_cs_config"; exit ;; 6993 --debug | --debu | --deb | --de | --d | -d ) 6994 debug=: ;; 6995 --file | --fil | --fi | --f ) 6996 $ac_shift 6997 case $ac_optarg in 6998 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6999 '') as_fn_error $? "missing file argument" ;; 7000 esac 7001 as_fn_append CONFIG_FILES " '$ac_optarg'" 7002 ac_need_defaults=false;; 7003 --header | --heade | --head | --hea ) 7004 $ac_shift 7005 case $ac_optarg in 7006 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7007 esac 7008 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7009 ac_need_defaults=false;; 7010 --he | --h) 7011 # Conflict between --help and --header 7012 as_fn_error $? "ambiguous option: \`$1' 7013Try \`$0 --help' for more information.";; 7014 --help | --hel | -h ) 7015 $as_echo "$ac_cs_usage"; exit ;; 7016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7017 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7018 ac_cs_silent=: ;; 7019 7020 # This is an error. 7021 -*) as_fn_error $? "unrecognized option: \`$1' 7022Try \`$0 --help' for more information." ;; 7023 7024 *) as_fn_append ac_config_targets " $1" 7025 ac_need_defaults=false ;; 7026 7027 esac 7028 shift 7029done 7030 7031ac_configure_extra_args= 7032 7033if $ac_cs_silent; then 7034 exec 6>/dev/null 7035 ac_configure_extra_args="$ac_configure_extra_args --silent" 7036fi 7037 7038_ACEOF 7039cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7040if \$ac_cs_recheck; then 7041 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7042 shift 7043 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7044 CONFIG_SHELL='$SHELL' 7045 export CONFIG_SHELL 7046 exec "\$@" 7047fi 7048 7049_ACEOF 7050cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7051exec 5>>config.log 7052{ 7053 echo 7054 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7055## Running $as_me. ## 7056_ASBOX 7057 $as_echo "$ac_log" 7058} >&5 7059 7060_ACEOF 7061cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7062# 7063# INIT-COMMANDS 7064# 7065AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 7066 7067_ACEOF 7068 7069cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7070 7071# Handling of arguments. 7072for ac_config_target in $ac_config_targets 7073do 7074 case $ac_config_target in 7075 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 7076 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7077 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7078 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 7079 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 7080 "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;; 7081 7082 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 7083 esac 7084done 7085 7086 7087# If the user did not use the arguments to specify the items to instantiate, 7088# then the envvar interface is used. Set only those that are not. 7089# We use the long form for the default assignment because of an extremely 7090# bizarre bug on SunOS 4.1.3. 7091if $ac_need_defaults; then 7092 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7093 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7094 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 7095fi 7096 7097# Have a temporary directory for convenience. Make it in the build tree 7098# simply because there is no reason against having it here, and in addition, 7099# creating and moving files from /tmp can sometimes cause problems. 7100# Hook for its removal unless debugging. 7101# Note that there is a small window in which the directory will not be cleaned: 7102# after its creation but before its name has been assigned to `$tmp'. 7103$debug || 7104{ 7105 tmp= 7106 trap 'exit_status=$? 7107 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7108' 0 7109 trap 'as_fn_exit 1' 1 2 13 15 7110} 7111# Create a (secure) tmp directory for tmp files. 7112 7113{ 7114 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7115 test -n "$tmp" && test -d "$tmp" 7116} || 7117{ 7118 tmp=./conf$$-$RANDOM 7119 (umask 077 && mkdir "$tmp") 7120} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7121 7122# Set up the scripts for CONFIG_FILES section. 7123# No need to generate them if there are no CONFIG_FILES. 7124# This happens for instance with `./config.status config.h'. 7125if test -n "$CONFIG_FILES"; then 7126 7127 7128ac_cr=`echo X | tr X '\015'` 7129# On cygwin, bash can eat \r inside `` if the user requested igncr. 7130# But we know of no other shell where ac_cr would be empty at this 7131# point, so we can use a bashism as a fallback. 7132if test "x$ac_cr" = x; then 7133 eval ac_cr=\$\'\\r\' 7134fi 7135ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7136if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7137 ac_cs_awk_cr='\\r' 7138else 7139 ac_cs_awk_cr=$ac_cr 7140fi 7141 7142echo 'BEGIN {' >"$tmp/subs1.awk" && 7143_ACEOF 7144 7145 7146{ 7147 echo "cat >conf$$subs.awk <<_ACEOF" && 7148 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7149 echo "_ACEOF" 7150} >conf$$subs.sh || 7151 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7152ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7153ac_delim='%!_!# ' 7154for ac_last_try in false false false false false :; do 7155 . ./conf$$subs.sh || 7156 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7157 7158 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7159 if test $ac_delim_n = $ac_delim_num; then 7160 break 7161 elif $ac_last_try; then 7162 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7163 else 7164 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7165 fi 7166done 7167rm -f conf$$subs.sh 7168 7169cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7170cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 7171_ACEOF 7172sed -n ' 7173h 7174s/^/S["/; s/!.*/"]=/ 7175p 7176g 7177s/^[^!]*!// 7178:repl 7179t repl 7180s/'"$ac_delim"'$// 7181t delim 7182:nl 7183h 7184s/\(.\{148\}\)..*/\1/ 7185t more1 7186s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7187p 7188n 7189b repl 7190:more1 7191s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7192p 7193g 7194s/.\{148\}// 7195t nl 7196:delim 7197h 7198s/\(.\{148\}\)..*/\1/ 7199t more2 7200s/["\\]/\\&/g; s/^/"/; s/$/"/ 7201p 7202b 7203:more2 7204s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7205p 7206g 7207s/.\{148\}// 7208t delim 7209' <conf$$subs.awk | sed ' 7210/^[^""]/{ 7211 N 7212 s/\n// 7213} 7214' >>$CONFIG_STATUS || ac_write_fail=1 7215rm -f conf$$subs.awk 7216cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7217_ACAWK 7218cat >>"\$tmp/subs1.awk" <<_ACAWK && 7219 for (key in S) S_is_set[key] = 1 7220 FS = "" 7221 7222} 7223{ 7224 line = $ 0 7225 nfields = split(line, field, "@") 7226 substed = 0 7227 len = length(field[1]) 7228 for (i = 2; i < nfields; i++) { 7229 key = field[i] 7230 keylen = length(key) 7231 if (S_is_set[key]) { 7232 value = S[key] 7233 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7234 len += length(value) + length(field[++i]) 7235 substed = 1 7236 } else 7237 len += 1 + keylen 7238 } 7239 7240 print line 7241} 7242 7243_ACAWK 7244_ACEOF 7245cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7246if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7247 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7248else 7249 cat 7250fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 7251 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7252_ACEOF 7253 7254# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7255# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 7256# trailing colons and then remove the whole line if VPATH becomes empty 7257# (actually we leave an empty line to preserve line numbers). 7258if test "x$srcdir" = x.; then 7259 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7260h 7261s/// 7262s/^/:/ 7263s/[ ]*$/:/ 7264s/:\$(srcdir):/:/g 7265s/:\${srcdir}:/:/g 7266s/:@srcdir@:/:/g 7267s/^:*// 7268s/:*$// 7269x 7270s/\(=[ ]*\).*/\1/ 7271G 7272s/\n// 7273s/^[^=]*=[ ]*$// 7274}' 7275fi 7276 7277cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7278fi # test -n "$CONFIG_FILES" 7279 7280# Set up the scripts for CONFIG_HEADERS section. 7281# No need to generate them if there are no CONFIG_HEADERS. 7282# This happens for instance with `./config.status Makefile'. 7283if test -n "$CONFIG_HEADERS"; then 7284cat >"$tmp/defines.awk" <<\_ACAWK || 7285BEGIN { 7286_ACEOF 7287 7288# Transform confdefs.h into an awk script `defines.awk', embedded as 7289# here-document in config.status, that substitutes the proper values into 7290# config.h.in to produce config.h. 7291 7292# Create a delimiter string that does not exist in confdefs.h, to ease 7293# handling of long lines. 7294ac_delim='%!_!# ' 7295for ac_last_try in false false :; do 7296 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 7297 if test -z "$ac_t"; then 7298 break 7299 elif $ac_last_try; then 7300 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 7301 else 7302 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7303 fi 7304done 7305 7306# For the awk script, D is an array of macro values keyed by name, 7307# likewise P contains macro parameters if any. Preserve backslash 7308# newline sequences. 7309 7310ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7311sed -n ' 7312s/.\{148\}/&'"$ac_delim"'/g 7313t rset 7314:rset 7315s/^[ ]*#[ ]*define[ ][ ]*/ / 7316t def 7317d 7318:def 7319s/\\$// 7320t bsnl 7321s/["\\]/\\&/g 7322s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7323D["\1"]=" \3"/p 7324s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7325d 7326:bsnl 7327s/["\\]/\\&/g 7328s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7329D["\1"]=" \3\\\\\\n"\\/p 7330t cont 7331s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7332t cont 7333d 7334:cont 7335n 7336s/.\{148\}/&'"$ac_delim"'/g 7337t clear 7338:clear 7339s/\\$// 7340t bsnlc 7341s/["\\]/\\&/g; s/^/"/; s/$/"/p 7342d 7343:bsnlc 7344s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7345b cont 7346' <confdefs.h | sed ' 7347s/'"$ac_delim"'/"\\\ 7348"/g' >>$CONFIG_STATUS || ac_write_fail=1 7349 7350cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7351 for (key in D) D_is_set[key] = 1 7352 FS = "" 7353} 7354/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7355 line = \$ 0 7356 split(line, arg, " ") 7357 if (arg[1] == "#") { 7358 defundef = arg[2] 7359 mac1 = arg[3] 7360 } else { 7361 defundef = substr(arg[1], 2) 7362 mac1 = arg[2] 7363 } 7364 split(mac1, mac2, "(") #) 7365 macro = mac2[1] 7366 prefix = substr(line, 1, index(line, defundef) - 1) 7367 if (D_is_set[macro]) { 7368 # Preserve the white space surrounding the "#". 7369 print prefix "define", macro P[macro] D[macro] 7370 next 7371 } else { 7372 # Replace #undef with comments. This is necessary, for example, 7373 # in the case of _POSIX_SOURCE, which is predefined and required 7374 # on some systems where configure will not decide to define it. 7375 if (defundef == "undef") { 7376 print "/*", prefix defundef, macro, "*/" 7377 next 7378 } 7379 } 7380} 7381{ print } 7382_ACAWK 7383_ACEOF 7384cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7385 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7386fi # test -n "$CONFIG_HEADERS" 7387 7388 7389eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 7390shift 7391for ac_tag 7392do 7393 case $ac_tag in 7394 :[FHLC]) ac_mode=$ac_tag; continue;; 7395 esac 7396 case $ac_mode$ac_tag in 7397 :[FHL]*:*);; 7398 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 7399 :[FH]-) ac_tag=-:-;; 7400 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7401 esac 7402 ac_save_IFS=$IFS 7403 IFS=: 7404 set x $ac_tag 7405 IFS=$ac_save_IFS 7406 shift 7407 ac_file=$1 7408 shift 7409 7410 case $ac_mode in 7411 :L) ac_source=$1;; 7412 :[FH]) 7413 ac_file_inputs= 7414 for ac_f 7415 do 7416 case $ac_f in 7417 -) ac_f="$tmp/stdin";; 7418 *) # Look for the file first in the build tree, then in the source tree 7419 # (if the path is not absolute). The absolute path cannot be DOS-style, 7420 # because $ac_f cannot contain `:'. 7421 test -f "$ac_f" || 7422 case $ac_f in 7423 [\\/$]*) false;; 7424 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7425 esac || 7426 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 7427 esac 7428 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7429 as_fn_append ac_file_inputs " '$ac_f'" 7430 done 7431 7432 # Let's still pretend it is `configure' which instantiates (i.e., don't 7433 # use $as_me), people would be surprised to read: 7434 # /* config.h. Generated by config.status. */ 7435 configure_input='Generated from '` 7436 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7437 `' by configure.' 7438 if test x"$ac_file" != x-; then 7439 configure_input="$ac_file. $configure_input" 7440 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7441$as_echo "$as_me: creating $ac_file" >&6;} 7442 fi 7443 # Neutralize special characters interpreted by sed in replacement strings. 7444 case $configure_input in #( 7445 *\&* | *\|* | *\\* ) 7446 ac_sed_conf_input=`$as_echo "$configure_input" | 7447 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7448 *) ac_sed_conf_input=$configure_input;; 7449 esac 7450 7451 case $ac_tag in 7452 *:-:* | *:-) cat >"$tmp/stdin" \ 7453 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7454 esac 7455 ;; 7456 esac 7457 7458 ac_dir=`$as_dirname -- "$ac_file" || 7459$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7460 X"$ac_file" : 'X\(//\)[^/]' \| \ 7461 X"$ac_file" : 'X\(//\)$' \| \ 7462 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7463$as_echo X"$ac_file" | 7464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7465 s//\1/ 7466 q 7467 } 7468 /^X\(\/\/\)[^/].*/{ 7469 s//\1/ 7470 q 7471 } 7472 /^X\(\/\/\)$/{ 7473 s//\1/ 7474 q 7475 } 7476 /^X\(\/\).*/{ 7477 s//\1/ 7478 q 7479 } 7480 s/.*/./; q'` 7481 as_dir="$ac_dir"; as_fn_mkdir_p 7482 ac_builddir=. 7483 7484case "$ac_dir" in 7485.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7486*) 7487 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7488 # A ".." for each directory in $ac_dir_suffix. 7489 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7490 case $ac_top_builddir_sub in 7491 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7492 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7493 esac ;; 7494esac 7495ac_abs_top_builddir=$ac_pwd 7496ac_abs_builddir=$ac_pwd$ac_dir_suffix 7497# for backward compatibility: 7498ac_top_builddir=$ac_top_build_prefix 7499 7500case $srcdir in 7501 .) # We are building in place. 7502 ac_srcdir=. 7503 ac_top_srcdir=$ac_top_builddir_sub 7504 ac_abs_top_srcdir=$ac_pwd ;; 7505 [\\/]* | ?:[\\/]* ) # Absolute name. 7506 ac_srcdir=$srcdir$ac_dir_suffix; 7507 ac_top_srcdir=$srcdir 7508 ac_abs_top_srcdir=$srcdir ;; 7509 *) # Relative name. 7510 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7511 ac_top_srcdir=$ac_top_build_prefix$srcdir 7512 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7513esac 7514ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7515 7516 7517 case $ac_mode in 7518 :F) 7519 # 7520 # CONFIG_FILE 7521 # 7522 7523 case $INSTALL in 7524 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7525 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7526 esac 7527 ac_MKDIR_P=$MKDIR_P 7528 case $MKDIR_P in 7529 [\\/$]* | ?:[\\/]* ) ;; 7530 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 7531 esac 7532_ACEOF 7533 7534cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7535# If the template does not know about datarootdir, expand it. 7536# FIXME: This hack should be removed a few years after 2.60. 7537ac_datarootdir_hack=; ac_datarootdir_seen= 7538ac_sed_dataroot=' 7539/datarootdir/ { 7540 p 7541 q 7542} 7543/@datadir@/p 7544/@docdir@/p 7545/@infodir@/p 7546/@localedir@/p 7547/@mandir@/p' 7548case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7549*datarootdir*) ac_datarootdir_seen=yes;; 7550*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7552$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7553_ACEOF 7554cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7555 ac_datarootdir_hack=' 7556 s&@datadir@&$datadir&g 7557 s&@docdir@&$docdir&g 7558 s&@infodir@&$infodir&g 7559 s&@localedir@&$localedir&g 7560 s&@mandir@&$mandir&g 7561 s&\\\${datarootdir}&$datarootdir&g' ;; 7562esac 7563_ACEOF 7564 7565# Neutralize VPATH when `$srcdir' = `.'. 7566# Shell code in configure.ac might set extrasub. 7567# FIXME: do we really want to maintain this feature? 7568cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7569ac_sed_extra="$ac_vpsub 7570$extrasub 7571_ACEOF 7572cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7573:t 7574/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7575s|@configure_input@|$ac_sed_conf_input|;t t 7576s&@top_builddir@&$ac_top_builddir_sub&;t t 7577s&@top_build_prefix@&$ac_top_build_prefix&;t t 7578s&@srcdir@&$ac_srcdir&;t t 7579s&@abs_srcdir@&$ac_abs_srcdir&;t t 7580s&@top_srcdir@&$ac_top_srcdir&;t t 7581s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7582s&@builddir@&$ac_builddir&;t t 7583s&@abs_builddir@&$ac_abs_builddir&;t t 7584s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7585s&@INSTALL@&$ac_INSTALL&;t t 7586s&@MKDIR_P@&$ac_MKDIR_P&;t t 7587$ac_datarootdir_hack 7588" 7589eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 7590 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7591 7592test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7593 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 7594 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 7595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7596which seems to be undefined. Please make sure it is defined" >&5 7597$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7598which seems to be undefined. Please make sure it is defined" >&2;} 7599 7600 rm -f "$tmp/stdin" 7601 case $ac_file in 7602 -) cat "$tmp/out" && rm -f "$tmp/out";; 7603 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 7604 esac \ 7605 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7606 ;; 7607 :H) 7608 # 7609 # CONFIG_HEADER 7610 # 7611 if test x"$ac_file" != x-; then 7612 { 7613 $as_echo "/* $configure_input */" \ 7614 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 7615 } >"$tmp/config.h" \ 7616 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7617 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 7618 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7619$as_echo "$as_me: $ac_file is unchanged" >&6;} 7620 else 7621 rm -f "$ac_file" 7622 mv "$tmp/config.h" "$ac_file" \ 7623 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7624 fi 7625 else 7626 $as_echo "/* $configure_input */" \ 7627 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 7628 || as_fn_error $? "could not create -" "$LINENO" 5 7629 fi 7630# Compute "$ac_file"'s index in $config_headers. 7631_am_arg="$ac_file" 7632_am_stamp_count=1 7633for _am_header in $config_headers :; do 7634 case $_am_header in 7635 $_am_arg | $_am_arg:* ) 7636 break ;; 7637 * ) 7638 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 7639 esac 7640done 7641echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 7642$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7643 X"$_am_arg" : 'X\(//\)[^/]' \| \ 7644 X"$_am_arg" : 'X\(//\)$' \| \ 7645 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 7646$as_echo X"$_am_arg" | 7647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7648 s//\1/ 7649 q 7650 } 7651 /^X\(\/\/\)[^/].*/{ 7652 s//\1/ 7653 q 7654 } 7655 /^X\(\/\/\)$/{ 7656 s//\1/ 7657 q 7658 } 7659 /^X\(\/\).*/{ 7660 s//\1/ 7661 q 7662 } 7663 s/.*/./; q'`/stamp-h$_am_stamp_count 7664 ;; 7665 7666 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 7667$as_echo "$as_me: executing $ac_file commands" >&6;} 7668 ;; 7669 esac 7670 7671 7672 case $ac_file$ac_mode in 7673 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 7674 # Autoconf 2.62 quotes --file arguments for eval, but not when files 7675 # are listed without --file. Let's play safe and only enable the eval 7676 # if we detect the quoting. 7677 case $CONFIG_FILES in 7678 *\'*) eval set x "$CONFIG_FILES" ;; 7679 *) set x $CONFIG_FILES ;; 7680 esac 7681 shift 7682 for mf 7683 do 7684 # Strip MF so we end up with the name of the file. 7685 mf=`echo "$mf" | sed -e 's/:.*$//'` 7686 # Check whether this is an Automake generated Makefile or not. 7687 # We used to match only the files named `Makefile.in', but 7688 # some people rename them; so instead we look at the file content. 7689 # Grep'ing the first line is not enough: some people post-process 7690 # each Makefile.in and add a new line on top of each file to say so. 7691 # Grep'ing the whole file is not good either: AIX grep has a line 7692 # limit of 2048, but all sed's we know have understand at least 4000. 7693 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 7694 dirpart=`$as_dirname -- "$mf" || 7695$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7696 X"$mf" : 'X\(//\)[^/]' \| \ 7697 X"$mf" : 'X\(//\)$' \| \ 7698 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 7699$as_echo X"$mf" | 7700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7701 s//\1/ 7702 q 7703 } 7704 /^X\(\/\/\)[^/].*/{ 7705 s//\1/ 7706 q 7707 } 7708 /^X\(\/\/\)$/{ 7709 s//\1/ 7710 q 7711 } 7712 /^X\(\/\).*/{ 7713 s//\1/ 7714 q 7715 } 7716 s/.*/./; q'` 7717 else 7718 continue 7719 fi 7720 # Extract the definition of DEPDIR, am__include, and am__quote 7721 # from the Makefile without running `make'. 7722 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7723 test -z "$DEPDIR" && continue 7724 am__include=`sed -n 's/^am__include = //p' < "$mf"` 7725 test -z "am__include" && continue 7726 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 7727 # When using ansi2knr, U may be empty or an underscore; expand it 7728 U=`sed -n 's/^U = //p' < "$mf"` 7729 # Find all dependency output files, they are included files with 7730 # $(DEPDIR) in their names. We invoke sed twice because it is the 7731 # simplest approach to changing $(DEPDIR) to its actual value in the 7732 # expansion. 7733 for file in `sed -n " 7734 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 7735 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 7736 # Make sure the directory exists. 7737 test -f "$dirpart/$file" && continue 7738 fdir=`$as_dirname -- "$file" || 7739$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7740 X"$file" : 'X\(//\)[^/]' \| \ 7741 X"$file" : 'X\(//\)$' \| \ 7742 X"$file" : 'X\(/\)' \| . 2>/dev/null || 7743$as_echo X"$file" | 7744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7745 s//\1/ 7746 q 7747 } 7748 /^X\(\/\/\)[^/].*/{ 7749 s//\1/ 7750 q 7751 } 7752 /^X\(\/\/\)$/{ 7753 s//\1/ 7754 q 7755 } 7756 /^X\(\/\).*/{ 7757 s//\1/ 7758 q 7759 } 7760 s/.*/./; q'` 7761 as_dir=$dirpart/$fdir; as_fn_mkdir_p 7762 # echo "creating $dirpart/$file" 7763 echo '# dummy' > "$dirpart/$file" 7764 done 7765 done 7766} 7767 ;; 7768 7769 esac 7770done # for ac_tag 7771 7772 7773as_fn_exit 0 7774_ACEOF 7775ac_clean_files=$ac_clean_files_save 7776 7777test $ac_write_fail = 0 || 7778 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 7779 7780 7781# configure is writing to config.log, and then calls config.status. 7782# config.status does its own redirection, appending to config.log. 7783# Unfortunately, on DOS this fails, as config.log is still kept open 7784# by configure, so config.status won't be able to write to it; its 7785# output is simply discarded. So we exec the FD to /dev/null, 7786# effectively closing config.log, so it can be properly (re)opened and 7787# appended to by config.status. When coming back to configure, we 7788# need to make the FD available again. 7789if test "$no_create" != yes; then 7790 ac_cs_success=: 7791 ac_config_status_args= 7792 test "$silent" = yes && 7793 ac_config_status_args="$ac_config_status_args --quiet" 7794 exec 5>/dev/null 7795 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7796 exec 5>>config.log 7797 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7798 # would make configure fail if this is the last instruction. 7799 $ac_cs_success || as_fn_exit 1 7800fi 7801if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7803$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7804fi 7805 7806ac_config_files="$ac_config_files misc/miaurc miau.spec" 7807 7808cat >confcache <<\_ACEOF 7809# This file is a shell script that caches the results of configure 7810# tests run on this system so they can be shared between configure 7811# scripts and configure runs, see configure's option --config-cache. 7812# It is not useful on other systems. If it contains results you don't 7813# want to keep, you may remove or edit it. 7814# 7815# config.status only pays attention to the cache file if you give it 7816# the --recheck option to rerun configure. 7817# 7818# `ac_cv_env_foo' variables (set or unset) will be overridden when 7819# loading this file, other *unset* `ac_cv_foo' will be assigned the 7820# following values. 7821 7822_ACEOF 7823 7824# The following way of writing the cache mishandles newlines in values, 7825# but we know of no workaround that is simple, portable, and efficient. 7826# So, we kill variables containing newlines. 7827# Ultrix sh set writes to stderr and can't be redirected directly, 7828# and sets the high bit in the cache file unless we assign to the vars. 7829( 7830 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7831 eval ac_val=\$$ac_var 7832 case $ac_val in #( 7833 *${as_nl}*) 7834 case $ac_var in #( 7835 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 7836$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 7837 esac 7838 case $ac_var in #( 7839 _ | IFS | as_nl) ;; #( 7840 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 7841 *) { eval $ac_var=; unset $ac_var;} ;; 7842 esac ;; 7843 esac 7844 done 7845 7846 (set) 2>&1 | 7847 case $as_nl`(ac_space=' '; set) 2>&1` in #( 7848 *${as_nl}ac_space=\ *) 7849 # `set' does not quote correctly, so add quotes: double-quote 7850 # substitution turns \\\\ into \\, and sed turns \\ into \. 7851 sed -n \ 7852 "s/'/'\\\\''/g; 7853 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7854 ;; #( 7855 *) 7856 # `set' quotes correctly as required by POSIX, so do not add quotes. 7857 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7858 ;; 7859 esac | 7860 sort 7861) | 7862 sed ' 7863 /^ac_cv_env_/b end 7864 t clear 7865 :clear 7866 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7867 t end 7868 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7869 :end' >>confcache 7870if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7871 if test -w "$cache_file"; then 7872 test "x$cache_file" != "x/dev/null" && 7873 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7874$as_echo "$as_me: updating cache $cache_file" >&6;} 7875 cat confcache >$cache_file 7876 else 7877 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7878$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7879 fi 7880fi 7881rm -f confcache 7882 7883test "x$prefix" = xNONE && prefix=$ac_default_prefix 7884# Let make expand exec_prefix. 7885test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7886 7887DEFS=-DHAVE_CONFIG_H 7888 7889ac_libobjs= 7890ac_ltlibobjs= 7891U= 7892for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7893 # 1. Remove the extension, and $U if already installed. 7894 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7895 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 7896 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7897 # will be set to the directory where LIBOBJS objects are built. 7898 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7899 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7900done 7901LIBOBJS=$ac_libobjs 7902 7903LTLIBOBJS=$ac_ltlibobjs 7904 7905 7906 if test -n "$EXEEXT"; then 7907 am__EXEEXT_TRUE= 7908 am__EXEEXT_FALSE='#' 7909else 7910 am__EXEEXT_TRUE='#' 7911 am__EXEEXT_FALSE= 7912fi 7913 7914if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 7915 as_fn_error $? "conditional \"AMDEP\" was never defined. 7916Usually this means the macro was only invoked conditionally." "$LINENO" 5 7917fi 7918if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 7919 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 7920Usually this means the macro was only invoked conditionally." "$LINENO" 5 7921fi 7922if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then 7923 as_fn_error $? "conditional \"am__EXEEXT\" was never defined. 7924Usually this means the macro was only invoked conditionally." "$LINENO" 5 7925fi 7926 7927: ${CONFIG_STATUS=./config.status} 7928ac_write_fail=0 7929ac_clean_files_save=$ac_clean_files 7930ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7931{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 7932$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 7933as_write_fail=0 7934cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7935#! $SHELL 7936# Generated by $as_me. 7937# Run this file to recreate the current configuration. 7938# Compiler output produced by configure, useful for debugging 7939# configure, is in config.log if it exists. 7940 7941debug=false 7942ac_cs_recheck=false 7943ac_cs_silent=false 7944 7945SHELL=\${CONFIG_SHELL-$SHELL} 7946export SHELL 7947_ASEOF 7948cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 7949## -------------------- ## 7950## M4sh Initialization. ## 7951## -------------------- ## 7952 7953# Be more Bourne compatible 7954DUALCASE=1; export DUALCASE # for MKS sh 7955if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 7956 emulate sh 7957 NULLCMD=: 7958 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7959 # is contrary to our usage. Disable this feature. 7960 alias -g '${1+"$@"}'='"$@"' 7961 setopt NO_GLOB_SUBST 7962else 7963 case `(set -o) 2>/dev/null` in #( 7964 *posix*) : 7965 set -o posix ;; #( 7966 *) : 7967 ;; 7968esac 7969fi 7970 7971 7972as_nl=' 7973' 7974export as_nl 7975# Printing a long string crashes Solaris 7 /usr/bin/printf. 7976as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 7977as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 7978as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 7979# Prefer a ksh shell builtin over an external printf program on Solaris, 7980# but without wasting forks for bash or zsh. 7981if test -z "$BASH_VERSION$ZSH_VERSION" \ 7982 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 7983 as_echo='print -r --' 7984 as_echo_n='print -rn --' 7985elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 7986 as_echo='printf %s\n' 7987 as_echo_n='printf %s' 7988else 7989 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 7990 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 7991 as_echo_n='/usr/ucb/echo -n' 7992 else 7993 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 7994 as_echo_n_body='eval 7995 arg=$1; 7996 case $arg in #( 7997 *"$as_nl"*) 7998 expr "X$arg" : "X\\(.*\\)$as_nl"; 7999 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 8000 esac; 8001 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 8002 ' 8003 export as_echo_n_body 8004 as_echo_n='sh -c $as_echo_n_body as_echo' 8005 fi 8006 export as_echo_body 8007 as_echo='sh -c $as_echo_body as_echo' 8008fi 8009 8010# The user is always right. 8011if test "${PATH_SEPARATOR+set}" != set; then 8012 PATH_SEPARATOR=: 8013 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 8014 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 8015 PATH_SEPARATOR=';' 8016 } 8017fi 8018 8019 8020# IFS 8021# We need space, tab and new line, in precisely that order. Quoting is 8022# there to prevent editors from complaining about space-tab. 8023# (If _AS_PATH_WALK were called with IFS unset, it would disable word 8024# splitting by setting IFS to empty value.) 8025IFS=" "" $as_nl" 8026 8027# Find who we are. Look in the path if we contain no directory separator. 8028case $0 in #(( 8029 *[\\/]* ) as_myself=$0 ;; 8030 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8031for as_dir in $PATH 8032do 8033 IFS=$as_save_IFS 8034 test -z "$as_dir" && as_dir=. 8035 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 8036 done 8037IFS=$as_save_IFS 8038 8039 ;; 8040esac 8041# We did not find ourselves, most probably we were run as `sh COMMAND' 8042# in which case we are not to be found in the path. 8043if test "x$as_myself" = x; then 8044 as_myself=$0 8045fi 8046if test ! -f "$as_myself"; then 8047 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 8048 exit 1 8049fi 8050 8051# Unset variables that we do not need and which cause bugs (e.g. in 8052# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 8053# suppresses any "Segmentation fault" message there. '((' could 8054# trigger a bug in pdksh 5.2.14. 8055for as_var in BASH_ENV ENV MAIL MAILPATH 8056do eval test x\${$as_var+set} = xset \ 8057 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 8058done 8059PS1='$ ' 8060PS2='> ' 8061PS4='+ ' 8062 8063# NLS nuisances. 8064LC_ALL=C 8065export LC_ALL 8066LANGUAGE=C 8067export LANGUAGE 8068 8069# CDPATH. 8070(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 8071 8072 8073# as_fn_error STATUS ERROR [LINENO LOG_FD] 8074# ---------------------------------------- 8075# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 8076# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 8077# script with STATUS, using 1 if that was 0. 8078as_fn_error () 8079{ 8080 as_status=$1; test $as_status -eq 0 && as_status=1 8081 if test "$4"; then 8082 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 8083 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 8084 fi 8085 $as_echo "$as_me: error: $2" >&2 8086 as_fn_exit $as_status 8087} # as_fn_error 8088 8089 8090# as_fn_set_status STATUS 8091# ----------------------- 8092# Set $? to STATUS, without forking. 8093as_fn_set_status () 8094{ 8095 return $1 8096} # as_fn_set_status 8097 8098# as_fn_exit STATUS 8099# ----------------- 8100# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 8101as_fn_exit () 8102{ 8103 set +e 8104 as_fn_set_status $1 8105 exit $1 8106} # as_fn_exit 8107 8108# as_fn_unset VAR 8109# --------------- 8110# Portably unset VAR. 8111as_fn_unset () 8112{ 8113 { eval $1=; unset $1;} 8114} 8115as_unset=as_fn_unset 8116# as_fn_append VAR VALUE 8117# ---------------------- 8118# Append the text in VALUE to the end of the definition contained in VAR. Take 8119# advantage of any shell optimizations that allow amortized linear growth over 8120# repeated appends, instead of the typical quadratic growth present in naive 8121# implementations. 8122if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 8123 eval 'as_fn_append () 8124 { 8125 eval $1+=\$2 8126 }' 8127else 8128 as_fn_append () 8129 { 8130 eval $1=\$$1\$2 8131 } 8132fi # as_fn_append 8133 8134# as_fn_arith ARG... 8135# ------------------ 8136# Perform arithmetic evaluation on the ARGs, and store the result in the 8137# global $as_val. Take advantage of shells that can avoid forks. The arguments 8138# must be portable across $(()) and expr. 8139if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 8140 eval 'as_fn_arith () 8141 { 8142 as_val=$(( $* )) 8143 }' 8144else 8145 as_fn_arith () 8146 { 8147 as_val=`expr "$@" || test $? -eq 1` 8148 } 8149fi # as_fn_arith 8150 8151 8152if expr a : '\(a\)' >/dev/null 2>&1 && 8153 test "X`expr 00001 : '.*\(...\)'`" = X001; then 8154 as_expr=expr 8155else 8156 as_expr=false 8157fi 8158 8159if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 8160 as_basename=basename 8161else 8162 as_basename=false 8163fi 8164 8165if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 8166 as_dirname=dirname 8167else 8168 as_dirname=false 8169fi 8170 8171as_me=`$as_basename -- "$0" || 8172$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 8173 X"$0" : 'X\(//\)$' \| \ 8174 X"$0" : 'X\(/\)' \| . 2>/dev/null || 8175$as_echo X/"$0" | 8176 sed '/^.*\/\([^/][^/]*\)\/*$/{ 8177 s//\1/ 8178 q 8179 } 8180 /^X\/\(\/\/\)$/{ 8181 s//\1/ 8182 q 8183 } 8184 /^X\/\(\/\).*/{ 8185 s//\1/ 8186 q 8187 } 8188 s/.*/./; q'` 8189 8190# Avoid depending upon Character Ranges. 8191as_cr_letters='abcdefghijklmnopqrstuvwxyz' 8192as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 8193as_cr_Letters=$as_cr_letters$as_cr_LETTERS 8194as_cr_digits='0123456789' 8195as_cr_alnum=$as_cr_Letters$as_cr_digits 8196 8197ECHO_C= ECHO_N= ECHO_T= 8198case `echo -n x` in #((((( 8199-n*) 8200 case `echo 'xy\c'` in 8201 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 8202 xy) ECHO_C='\c';; 8203 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 8204 ECHO_T=' ';; 8205 esac;; 8206*) 8207 ECHO_N='-n';; 8208esac 8209 8210rm -f conf$$ conf$$.exe conf$$.file 8211if test -d conf$$.dir; then 8212 rm -f conf$$.dir/conf$$.file 8213else 8214 rm -f conf$$.dir 8215 mkdir conf$$.dir 2>/dev/null 8216fi 8217if (echo >conf$$.file) 2>/dev/null; then 8218 if ln -s conf$$.file conf$$ 2>/dev/null; then 8219 as_ln_s='ln -s' 8220 # ... but there are two gotchas: 8221 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 8222 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 8223 # In both cases, we have to default to `cp -p'. 8224 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 8225 as_ln_s='cp -p' 8226 elif ln conf$$.file conf$$ 2>/dev/null; then 8227 as_ln_s=ln 8228 else 8229 as_ln_s='cp -p' 8230 fi 8231else 8232 as_ln_s='cp -p' 8233fi 8234rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 8235rmdir conf$$.dir 2>/dev/null 8236 8237 8238# as_fn_mkdir_p 8239# ------------- 8240# Create "$as_dir" as a directory, including parents if necessary. 8241as_fn_mkdir_p () 8242{ 8243 8244 case $as_dir in #( 8245 -*) as_dir=./$as_dir;; 8246 esac 8247 test -d "$as_dir" || eval $as_mkdir_p || { 8248 as_dirs= 8249 while :; do 8250 case $as_dir in #( 8251 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 8252 *) as_qdir=$as_dir;; 8253 esac 8254 as_dirs="'$as_qdir' $as_dirs" 8255 as_dir=`$as_dirname -- "$as_dir" || 8256$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8257 X"$as_dir" : 'X\(//\)[^/]' \| \ 8258 X"$as_dir" : 'X\(//\)$' \| \ 8259 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 8260$as_echo X"$as_dir" | 8261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8262 s//\1/ 8263 q 8264 } 8265 /^X\(\/\/\)[^/].*/{ 8266 s//\1/ 8267 q 8268 } 8269 /^X\(\/\/\)$/{ 8270 s//\1/ 8271 q 8272 } 8273 /^X\(\/\).*/{ 8274 s//\1/ 8275 q 8276 } 8277 s/.*/./; q'` 8278 test -d "$as_dir" && break 8279 done 8280 test -z "$as_dirs" || eval "mkdir $as_dirs" 8281 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 8282 8283 8284} # as_fn_mkdir_p 8285if mkdir -p . 2>/dev/null; then 8286 as_mkdir_p='mkdir -p "$as_dir"' 8287else 8288 test -d ./-p && rmdir ./-p 8289 as_mkdir_p=false 8290fi 8291 8292if test -x / >/dev/null 2>&1; then 8293 as_test_x='test -x' 8294else 8295 if ls -dL / >/dev/null 2>&1; then 8296 as_ls_L_option=L 8297 else 8298 as_ls_L_option= 8299 fi 8300 as_test_x=' 8301 eval sh -c '\'' 8302 if test -d "$1"; then 8303 test -d "$1/."; 8304 else 8305 case $1 in #( 8306 -*)set "./$1";; 8307 esac; 8308 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 8309 ???[sx]*):;;*)false;;esac;fi 8310 '\'' sh 8311 ' 8312fi 8313as_executable_p=$as_test_x 8314 8315# Sed expression to map a string onto a valid CPP name. 8316as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 8317 8318# Sed expression to map a string onto a valid variable name. 8319as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 8320 8321 8322exec 6>&1 8323## ----------------------------------- ## 8324## Main body of $CONFIG_STATUS script. ## 8325## ----------------------------------- ## 8326_ASEOF 8327test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 8328 8329cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8330# Save the log message, to keep $0 and so on meaningful, and to 8331# report actual input values of CONFIG_FILES etc. instead of their 8332# values after options handling. 8333ac_log=" 8334This file was extended by miau $as_me 0.6.6, which was 8335generated by GNU Autoconf 2.67. Invocation command line was 8336 8337 CONFIG_FILES = $CONFIG_FILES 8338 CONFIG_HEADERS = $CONFIG_HEADERS 8339 CONFIG_LINKS = $CONFIG_LINKS 8340 CONFIG_COMMANDS = $CONFIG_COMMANDS 8341 $ $0 $@ 8342 8343on `(hostname || uname -n) 2>/dev/null | sed 1q` 8344" 8345 8346_ACEOF 8347 8348case $ac_config_files in *" 8349"*) set x $ac_config_files; shift; ac_config_files=$*;; 8350esac 8351 8352case $ac_config_headers in *" 8353"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 8354esac 8355 8356 8357cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8358# Files that config.status was made for. 8359config_files="$ac_config_files" 8360config_headers="$ac_config_headers" 8361config_commands="$ac_config_commands" 8362 8363_ACEOF 8364 8365cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8366ac_cs_usage="\ 8367\`$as_me' instantiates files and other configuration actions 8368from templates according to the current configuration. Unless the files 8369and actions are specified as TAGs, all are instantiated by default. 8370 8371Usage: $0 [OPTION]... [TAG]... 8372 8373 -h, --help print this help, then exit 8374 -V, --version print version number and configuration settings, then exit 8375 --config print configuration, then exit 8376 -q, --quiet, --silent 8377 do not print progress messages 8378 -d, --debug don't remove temporary files 8379 --recheck update $as_me by reconfiguring in the same conditions 8380 --file=FILE[:TEMPLATE] 8381 instantiate the configuration file FILE 8382 --header=FILE[:TEMPLATE] 8383 instantiate the configuration header FILE 8384 8385Configuration files: 8386$config_files 8387 8388Configuration headers: 8389$config_headers 8390 8391Configuration commands: 8392$config_commands 8393 8394Report bugs to the package provider." 8395 8396_ACEOF 8397cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8398ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 8399ac_cs_version="\\ 8400miau config.status 0.6.6 8401configured by $0, generated by GNU Autoconf 2.67, 8402 with options \\"\$ac_cs_config\\" 8403 8404Copyright (C) 2010 Free Software Foundation, Inc. 8405This config.status script is free software; the Free Software Foundation 8406gives unlimited permission to copy, distribute and modify it." 8407 8408ac_pwd='$ac_pwd' 8409srcdir='$srcdir' 8410INSTALL='$INSTALL' 8411MKDIR_P='$MKDIR_P' 8412AWK='$AWK' 8413test -n "\$AWK" || AWK=awk 8414_ACEOF 8415 8416cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8417# The default lists apply if the user does not specify any file. 8418ac_need_defaults=: 8419while test $# != 0 8420do 8421 case $1 in 8422 --*=?*) 8423 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8424 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 8425 ac_shift=: 8426 ;; 8427 --*=) 8428 ac_option=`expr "X$1" : 'X\([^=]*\)='` 8429 ac_optarg= 8430 ac_shift=: 8431 ;; 8432 *) 8433 ac_option=$1 8434 ac_optarg=$2 8435 ac_shift=shift 8436 ;; 8437 esac 8438 8439 case $ac_option in 8440 # Handling of the options. 8441 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 8442 ac_cs_recheck=: ;; 8443 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 8444 $as_echo "$ac_cs_version"; exit ;; 8445 --config | --confi | --conf | --con | --co | --c ) 8446 $as_echo "$ac_cs_config"; exit ;; 8447 --debug | --debu | --deb | --de | --d | -d ) 8448 debug=: ;; 8449 --file | --fil | --fi | --f ) 8450 $ac_shift 8451 case $ac_optarg in 8452 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8453 '') as_fn_error $? "missing file argument" ;; 8454 esac 8455 as_fn_append CONFIG_FILES " '$ac_optarg'" 8456 ac_need_defaults=false;; 8457 --header | --heade | --head | --hea ) 8458 $ac_shift 8459 case $ac_optarg in 8460 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 8461 esac 8462 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 8463 ac_need_defaults=false;; 8464 --he | --h) 8465 # Conflict between --help and --header 8466 as_fn_error $? "ambiguous option: \`$1' 8467Try \`$0 --help' for more information.";; 8468 --help | --hel | -h ) 8469 $as_echo "$ac_cs_usage"; exit ;; 8470 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 8471 | -silent | --silent | --silen | --sile | --sil | --si | --s) 8472 ac_cs_silent=: ;; 8473 8474 # This is an error. 8475 -*) as_fn_error $? "unrecognized option: \`$1' 8476Try \`$0 --help' for more information." ;; 8477 8478 *) as_fn_append ac_config_targets " $1" 8479 ac_need_defaults=false ;; 8480 8481 esac 8482 shift 8483done 8484 8485ac_configure_extra_args= 8486 8487if $ac_cs_silent; then 8488 exec 6>/dev/null 8489 ac_configure_extra_args="$ac_configure_extra_args --silent" 8490fi 8491 8492_ACEOF 8493cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8494if \$ac_cs_recheck; then 8495 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 8496 shift 8497 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 8498 CONFIG_SHELL='$SHELL' 8499 export CONFIG_SHELL 8500 exec "\$@" 8501fi 8502 8503_ACEOF 8504cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8505exec 5>>config.log 8506{ 8507 echo 8508 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8509## Running $as_me. ## 8510_ASBOX 8511 $as_echo "$ac_log" 8512} >&5 8513 8514_ACEOF 8515cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8516# 8517# INIT-COMMANDS 8518# 8519AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 8520 8521_ACEOF 8522 8523cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8524 8525# Handling of arguments. 8526for ac_config_target in $ac_config_targets 8527do 8528 case $ac_config_target in 8529 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8530 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 8531 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8532 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 8533 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 8534 "misc/Makefile") CONFIG_FILES="$CONFIG_FILES misc/Makefile" ;; 8535 "misc/miaurc") CONFIG_FILES="$CONFIG_FILES misc/miaurc" ;; 8536 "miau.spec") CONFIG_FILES="$CONFIG_FILES miau.spec" ;; 8537 8538 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 8539 esac 8540done 8541 8542 8543# If the user did not use the arguments to specify the items to instantiate, 8544# then the envvar interface is used. Set only those that are not. 8545# We use the long form for the default assignment because of an extremely 8546# bizarre bug on SunOS 4.1.3. 8547if $ac_need_defaults; then 8548 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 8549 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 8550 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 8551fi 8552 8553# Have a temporary directory for convenience. Make it in the build tree 8554# simply because there is no reason against having it here, and in addition, 8555# creating and moving files from /tmp can sometimes cause problems. 8556# Hook for its removal unless debugging. 8557# Note that there is a small window in which the directory will not be cleaned: 8558# after its creation but before its name has been assigned to `$tmp'. 8559$debug || 8560{ 8561 tmp= 8562 trap 'exit_status=$? 8563 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 8564' 0 8565 trap 'as_fn_exit 1' 1 2 13 15 8566} 8567# Create a (secure) tmp directory for tmp files. 8568 8569{ 8570 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8571 test -n "$tmp" && test -d "$tmp" 8572} || 8573{ 8574 tmp=./conf$$-$RANDOM 8575 (umask 077 && mkdir "$tmp") 8576} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 8577 8578# Set up the scripts for CONFIG_FILES section. 8579# No need to generate them if there are no CONFIG_FILES. 8580# This happens for instance with `./config.status config.h'. 8581if test -n "$CONFIG_FILES"; then 8582 8583 8584ac_cr=`echo X | tr X '\015'` 8585# On cygwin, bash can eat \r inside `` if the user requested igncr. 8586# But we know of no other shell where ac_cr would be empty at this 8587# point, so we can use a bashism as a fallback. 8588if test "x$ac_cr" = x; then 8589 eval ac_cr=\$\'\\r\' 8590fi 8591ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 8592if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 8593 ac_cs_awk_cr='\\r' 8594else 8595 ac_cs_awk_cr=$ac_cr 8596fi 8597 8598echo 'BEGIN {' >"$tmp/subs1.awk" && 8599_ACEOF 8600 8601 8602{ 8603 echo "cat >conf$$subs.awk <<_ACEOF" && 8604 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 8605 echo "_ACEOF" 8606} >conf$$subs.sh || 8607 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8608ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 8609ac_delim='%!_!# ' 8610for ac_last_try in false false false false false :; do 8611 . ./conf$$subs.sh || 8612 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8613 8614 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 8615 if test $ac_delim_n = $ac_delim_num; then 8616 break 8617 elif $ac_last_try; then 8618 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8619 else 8620 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8621 fi 8622done 8623rm -f conf$$subs.sh 8624 8625cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8626cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 8627_ACEOF 8628sed -n ' 8629h 8630s/^/S["/; s/!.*/"]=/ 8631p 8632g 8633s/^[^!]*!// 8634:repl 8635t repl 8636s/'"$ac_delim"'$// 8637t delim 8638:nl 8639h 8640s/\(.\{148\}\)..*/\1/ 8641t more1 8642s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 8643p 8644n 8645b repl 8646:more1 8647s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8648p 8649g 8650s/.\{148\}// 8651t nl 8652:delim 8653h 8654s/\(.\{148\}\)..*/\1/ 8655t more2 8656s/["\\]/\\&/g; s/^/"/; s/$/"/ 8657p 8658b 8659:more2 8660s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8661p 8662g 8663s/.\{148\}// 8664t delim 8665' <conf$$subs.awk | sed ' 8666/^[^""]/{ 8667 N 8668 s/\n// 8669} 8670' >>$CONFIG_STATUS || ac_write_fail=1 8671rm -f conf$$subs.awk 8672cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8673_ACAWK 8674cat >>"\$tmp/subs1.awk" <<_ACAWK && 8675 for (key in S) S_is_set[key] = 1 8676 FS = "" 8677 8678} 8679{ 8680 line = $ 0 8681 nfields = split(line, field, "@") 8682 substed = 0 8683 len = length(field[1]) 8684 for (i = 2; i < nfields; i++) { 8685 key = field[i] 8686 keylen = length(key) 8687 if (S_is_set[key]) { 8688 value = S[key] 8689 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 8690 len += length(value) + length(field[++i]) 8691 substed = 1 8692 } else 8693 len += 1 + keylen 8694 } 8695 8696 print line 8697} 8698 8699_ACAWK 8700_ACEOF 8701cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8702if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 8703 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 8704else 8705 cat 8706fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 8707 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 8708_ACEOF 8709 8710# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 8711# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 8712# trailing colons and then remove the whole line if VPATH becomes empty 8713# (actually we leave an empty line to preserve line numbers). 8714if test "x$srcdir" = x.; then 8715 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 8716h 8717s/// 8718s/^/:/ 8719s/[ ]*$/:/ 8720s/:\$(srcdir):/:/g 8721s/:\${srcdir}:/:/g 8722s/:@srcdir@:/:/g 8723s/^:*// 8724s/:*$// 8725x 8726s/\(=[ ]*\).*/\1/ 8727G 8728s/\n// 8729s/^[^=]*=[ ]*$// 8730}' 8731fi 8732 8733cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8734fi # test -n "$CONFIG_FILES" 8735 8736# Set up the scripts for CONFIG_HEADERS section. 8737# No need to generate them if there are no CONFIG_HEADERS. 8738# This happens for instance with `./config.status Makefile'. 8739if test -n "$CONFIG_HEADERS"; then 8740cat >"$tmp/defines.awk" <<\_ACAWK || 8741BEGIN { 8742_ACEOF 8743 8744# Transform confdefs.h into an awk script `defines.awk', embedded as 8745# here-document in config.status, that substitutes the proper values into 8746# config.h.in to produce config.h. 8747 8748# Create a delimiter string that does not exist in confdefs.h, to ease 8749# handling of long lines. 8750ac_delim='%!_!# ' 8751for ac_last_try in false false :; do 8752 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 8753 if test -z "$ac_t"; then 8754 break 8755 elif $ac_last_try; then 8756 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 8757 else 8758 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8759 fi 8760done 8761 8762# For the awk script, D is an array of macro values keyed by name, 8763# likewise P contains macro parameters if any. Preserve backslash 8764# newline sequences. 8765 8766ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 8767sed -n ' 8768s/.\{148\}/&'"$ac_delim"'/g 8769t rset 8770:rset 8771s/^[ ]*#[ ]*define[ ][ ]*/ / 8772t def 8773d 8774:def 8775s/\\$// 8776t bsnl 8777s/["\\]/\\&/g 8778s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8779D["\1"]=" \3"/p 8780s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 8781d 8782:bsnl 8783s/["\\]/\\&/g 8784s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8785D["\1"]=" \3\\\\\\n"\\/p 8786t cont 8787s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 8788t cont 8789d 8790:cont 8791n 8792s/.\{148\}/&'"$ac_delim"'/g 8793t clear 8794:clear 8795s/\\$// 8796t bsnlc 8797s/["\\]/\\&/g; s/^/"/; s/$/"/p 8798d 8799:bsnlc 8800s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 8801b cont 8802' <confdefs.h | sed ' 8803s/'"$ac_delim"'/"\\\ 8804"/g' >>$CONFIG_STATUS || ac_write_fail=1 8805 8806cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8807 for (key in D) D_is_set[key] = 1 8808 FS = "" 8809} 8810/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 8811 line = \$ 0 8812 split(line, arg, " ") 8813 if (arg[1] == "#") { 8814 defundef = arg[2] 8815 mac1 = arg[3] 8816 } else { 8817 defundef = substr(arg[1], 2) 8818 mac1 = arg[2] 8819 } 8820 split(mac1, mac2, "(") #) 8821 macro = mac2[1] 8822 prefix = substr(line, 1, index(line, defundef) - 1) 8823 if (D_is_set[macro]) { 8824 # Preserve the white space surrounding the "#". 8825 print prefix "define", macro P[macro] D[macro] 8826 next 8827 } else { 8828 # Replace #undef with comments. This is necessary, for example, 8829 # in the case of _POSIX_SOURCE, which is predefined and required 8830 # on some systems where configure will not decide to define it. 8831 if (defundef == "undef") { 8832 print "/*", prefix defundef, macro, "*/" 8833 next 8834 } 8835 } 8836} 8837{ print } 8838_ACAWK 8839_ACEOF 8840cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8841 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 8842fi # test -n "$CONFIG_HEADERS" 8843 8844 8845eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 8846shift 8847for ac_tag 8848do 8849 case $ac_tag in 8850 :[FHLC]) ac_mode=$ac_tag; continue;; 8851 esac 8852 case $ac_mode$ac_tag in 8853 :[FHL]*:*);; 8854 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 8855 :[FH]-) ac_tag=-:-;; 8856 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8857 esac 8858 ac_save_IFS=$IFS 8859 IFS=: 8860 set x $ac_tag 8861 IFS=$ac_save_IFS 8862 shift 8863 ac_file=$1 8864 shift 8865 8866 case $ac_mode in 8867 :L) ac_source=$1;; 8868 :[FH]) 8869 ac_file_inputs= 8870 for ac_f 8871 do 8872 case $ac_f in 8873 -) ac_f="$tmp/stdin";; 8874 *) # Look for the file first in the build tree, then in the source tree 8875 # (if the path is not absolute). The absolute path cannot be DOS-style, 8876 # because $ac_f cannot contain `:'. 8877 test -f "$ac_f" || 8878 case $ac_f in 8879 [\\/$]*) false;; 8880 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8881 esac || 8882 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 8883 esac 8884 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 8885 as_fn_append ac_file_inputs " '$ac_f'" 8886 done 8887 8888 # Let's still pretend it is `configure' which instantiates (i.e., don't 8889 # use $as_me), people would be surprised to read: 8890 # /* config.h. Generated by config.status. */ 8891 configure_input='Generated from '` 8892 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 8893 `' by configure.' 8894 if test x"$ac_file" != x-; then 8895 configure_input="$ac_file. $configure_input" 8896 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 8897$as_echo "$as_me: creating $ac_file" >&6;} 8898 fi 8899 # Neutralize special characters interpreted by sed in replacement strings. 8900 case $configure_input in #( 8901 *\&* | *\|* | *\\* ) 8902 ac_sed_conf_input=`$as_echo "$configure_input" | 8903 sed 's/[\\\\&|]/\\\\&/g'`;; #( 8904 *) ac_sed_conf_input=$configure_input;; 8905 esac 8906 8907 case $ac_tag in 8908 *:-:* | *:-) cat >"$tmp/stdin" \ 8909 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 8910 esac 8911 ;; 8912 esac 8913 8914 ac_dir=`$as_dirname -- "$ac_file" || 8915$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8916 X"$ac_file" : 'X\(//\)[^/]' \| \ 8917 X"$ac_file" : 'X\(//\)$' \| \ 8918 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8919$as_echo X"$ac_file" | 8920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8921 s//\1/ 8922 q 8923 } 8924 /^X\(\/\/\)[^/].*/{ 8925 s//\1/ 8926 q 8927 } 8928 /^X\(\/\/\)$/{ 8929 s//\1/ 8930 q 8931 } 8932 /^X\(\/\).*/{ 8933 s//\1/ 8934 q 8935 } 8936 s/.*/./; q'` 8937 as_dir="$ac_dir"; as_fn_mkdir_p 8938 ac_builddir=. 8939 8940case "$ac_dir" in 8941.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8942*) 8943 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 8944 # A ".." for each directory in $ac_dir_suffix. 8945 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 8946 case $ac_top_builddir_sub in 8947 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8948 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8949 esac ;; 8950esac 8951ac_abs_top_builddir=$ac_pwd 8952ac_abs_builddir=$ac_pwd$ac_dir_suffix 8953# for backward compatibility: 8954ac_top_builddir=$ac_top_build_prefix 8955 8956case $srcdir in 8957 .) # We are building in place. 8958 ac_srcdir=. 8959 ac_top_srcdir=$ac_top_builddir_sub 8960 ac_abs_top_srcdir=$ac_pwd ;; 8961 [\\/]* | ?:[\\/]* ) # Absolute name. 8962 ac_srcdir=$srcdir$ac_dir_suffix; 8963 ac_top_srcdir=$srcdir 8964 ac_abs_top_srcdir=$srcdir ;; 8965 *) # Relative name. 8966 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8967 ac_top_srcdir=$ac_top_build_prefix$srcdir 8968 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8969esac 8970ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8971 8972 8973 case $ac_mode in 8974 :F) 8975 # 8976 # CONFIG_FILE 8977 # 8978 8979 case $INSTALL in 8980 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8981 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8982 esac 8983 ac_MKDIR_P=$MKDIR_P 8984 case $MKDIR_P in 8985 [\\/$]* | ?:[\\/]* ) ;; 8986 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 8987 esac 8988_ACEOF 8989 8990cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8991# If the template does not know about datarootdir, expand it. 8992# FIXME: This hack should be removed a few years after 2.60. 8993ac_datarootdir_hack=; ac_datarootdir_seen= 8994ac_sed_dataroot=' 8995/datarootdir/ { 8996 p 8997 q 8998} 8999/@datadir@/p 9000/@docdir@/p 9001/@infodir@/p 9002/@localedir@/p 9003/@mandir@/p' 9004case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 9005*datarootdir*) ac_datarootdir_seen=yes;; 9006*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 9007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 9008$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 9009_ACEOF 9010cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9011 ac_datarootdir_hack=' 9012 s&@datadir@&$datadir&g 9013 s&@docdir@&$docdir&g 9014 s&@infodir@&$infodir&g 9015 s&@localedir@&$localedir&g 9016 s&@mandir@&$mandir&g 9017 s&\\\${datarootdir}&$datarootdir&g' ;; 9018esac 9019_ACEOF 9020 9021# Neutralize VPATH when `$srcdir' = `.'. 9022# Shell code in configure.ac might set extrasub. 9023# FIXME: do we really want to maintain this feature? 9024cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9025ac_sed_extra="$ac_vpsub 9026$extrasub 9027_ACEOF 9028cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9029:t 9030/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 9031s|@configure_input@|$ac_sed_conf_input|;t t 9032s&@top_builddir@&$ac_top_builddir_sub&;t t 9033s&@top_build_prefix@&$ac_top_build_prefix&;t t 9034s&@srcdir@&$ac_srcdir&;t t 9035s&@abs_srcdir@&$ac_abs_srcdir&;t t 9036s&@top_srcdir@&$ac_top_srcdir&;t t 9037s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 9038s&@builddir@&$ac_builddir&;t t 9039s&@abs_builddir@&$ac_abs_builddir&;t t 9040s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 9041s&@INSTALL@&$ac_INSTALL&;t t 9042s&@MKDIR_P@&$ac_MKDIR_P&;t t 9043$ac_datarootdir_hack 9044" 9045eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 9046 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9047 9048test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 9049 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 9050 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 9051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9052which seems to be undefined. Please make sure it is defined" >&5 9053$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 9054which seems to be undefined. Please make sure it is defined" >&2;} 9055 9056 rm -f "$tmp/stdin" 9057 case $ac_file in 9058 -) cat "$tmp/out" && rm -f "$tmp/out";; 9059 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 9060 esac \ 9061 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9062 ;; 9063 :H) 9064 # 9065 # CONFIG_HEADER 9066 # 9067 if test x"$ac_file" != x-; then 9068 { 9069 $as_echo "/* $configure_input */" \ 9070 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 9071 } >"$tmp/config.h" \ 9072 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9073 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 9074 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 9075$as_echo "$as_me: $ac_file is unchanged" >&6;} 9076 else 9077 rm -f "$ac_file" 9078 mv "$tmp/config.h" "$ac_file" \ 9079 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 9080 fi 9081 else 9082 $as_echo "/* $configure_input */" \ 9083 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 9084 || as_fn_error $? "could not create -" "$LINENO" 5 9085 fi 9086# Compute "$ac_file"'s index in $config_headers. 9087_am_arg="$ac_file" 9088_am_stamp_count=1 9089for _am_header in $config_headers :; do 9090 case $_am_header in 9091 $_am_arg | $_am_arg:* ) 9092 break ;; 9093 * ) 9094 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 9095 esac 9096done 9097echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 9098$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9099 X"$_am_arg" : 'X\(//\)[^/]' \| \ 9100 X"$_am_arg" : 'X\(//\)$' \| \ 9101 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 9102$as_echo X"$_am_arg" | 9103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9104 s//\1/ 9105 q 9106 } 9107 /^X\(\/\/\)[^/].*/{ 9108 s//\1/ 9109 q 9110 } 9111 /^X\(\/\/\)$/{ 9112 s//\1/ 9113 q 9114 } 9115 /^X\(\/\).*/{ 9116 s//\1/ 9117 q 9118 } 9119 s/.*/./; q'`/stamp-h$_am_stamp_count 9120 ;; 9121 9122 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 9123$as_echo "$as_me: executing $ac_file commands" >&6;} 9124 ;; 9125 esac 9126 9127 9128 case $ac_file$ac_mode in 9129 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 9130 # Autoconf 2.62 quotes --file arguments for eval, but not when files 9131 # are listed without --file. Let's play safe and only enable the eval 9132 # if we detect the quoting. 9133 case $CONFIG_FILES in 9134 *\'*) eval set x "$CONFIG_FILES" ;; 9135 *) set x $CONFIG_FILES ;; 9136 esac 9137 shift 9138 for mf 9139 do 9140 # Strip MF so we end up with the name of the file. 9141 mf=`echo "$mf" | sed -e 's/:.*$//'` 9142 # Check whether this is an Automake generated Makefile or not. 9143 # We used to match only the files named `Makefile.in', but 9144 # some people rename them; so instead we look at the file content. 9145 # Grep'ing the first line is not enough: some people post-process 9146 # each Makefile.in and add a new line on top of each file to say so. 9147 # Grep'ing the whole file is not good either: AIX grep has a line 9148 # limit of 2048, but all sed's we know have understand at least 4000. 9149 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 9150 dirpart=`$as_dirname -- "$mf" || 9151$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9152 X"$mf" : 'X\(//\)[^/]' \| \ 9153 X"$mf" : 'X\(//\)$' \| \ 9154 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 9155$as_echo X"$mf" | 9156 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9157 s//\1/ 9158 q 9159 } 9160 /^X\(\/\/\)[^/].*/{ 9161 s//\1/ 9162 q 9163 } 9164 /^X\(\/\/\)$/{ 9165 s//\1/ 9166 q 9167 } 9168 /^X\(\/\).*/{ 9169 s//\1/ 9170 q 9171 } 9172 s/.*/./; q'` 9173 else 9174 continue 9175 fi 9176 # Extract the definition of DEPDIR, am__include, and am__quote 9177 # from the Makefile without running `make'. 9178 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 9179 test -z "$DEPDIR" && continue 9180 am__include=`sed -n 's/^am__include = //p' < "$mf"` 9181 test -z "am__include" && continue 9182 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 9183 # When using ansi2knr, U may be empty or an underscore; expand it 9184 U=`sed -n 's/^U = //p' < "$mf"` 9185 # Find all dependency output files, they are included files with 9186 # $(DEPDIR) in their names. We invoke sed twice because it is the 9187 # simplest approach to changing $(DEPDIR) to its actual value in the 9188 # expansion. 9189 for file in `sed -n " 9190 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 9191 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 9192 # Make sure the directory exists. 9193 test -f "$dirpart/$file" && continue 9194 fdir=`$as_dirname -- "$file" || 9195$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9196 X"$file" : 'X\(//\)[^/]' \| \ 9197 X"$file" : 'X\(//\)$' \| \ 9198 X"$file" : 'X\(/\)' \| . 2>/dev/null || 9199$as_echo X"$file" | 9200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9201 s//\1/ 9202 q 9203 } 9204 /^X\(\/\/\)[^/].*/{ 9205 s//\1/ 9206 q 9207 } 9208 /^X\(\/\/\)$/{ 9209 s//\1/ 9210 q 9211 } 9212 /^X\(\/\).*/{ 9213 s//\1/ 9214 q 9215 } 9216 s/.*/./; q'` 9217 as_dir=$dirpart/$fdir; as_fn_mkdir_p 9218 # echo "creating $dirpart/$file" 9219 echo '# dummy' > "$dirpart/$file" 9220 done 9221 done 9222} 9223 ;; 9224 9225 esac 9226done # for ac_tag 9227 9228 9229as_fn_exit 0 9230_ACEOF 9231ac_clean_files=$ac_clean_files_save 9232 9233test $ac_write_fail = 0 || 9234 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 9235 9236 9237# configure is writing to config.log, and then calls config.status. 9238# config.status does its own redirection, appending to config.log. 9239# Unfortunately, on DOS this fails, as config.log is still kept open 9240# by configure, so config.status won't be able to write to it; its 9241# output is simply discarded. So we exec the FD to /dev/null, 9242# effectively closing config.log, so it can be properly (re)opened and 9243# appended to by config.status. When coming back to configure, we 9244# need to make the FD available again. 9245if test "$no_create" != yes; then 9246 ac_cs_success=: 9247 ac_config_status_args= 9248 test "$silent" = yes && 9249 ac_config_status_args="$ac_config_status_args --quiet" 9250 exec 5>/dev/null 9251 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 9252 exec 5>>config.log 9253 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 9254 # would make configure fail if this is the last instruction. 9255 $ac_cs_success || as_fn_exit 1 9256fi 9257if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 9258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 9259$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 9260fi 9261 9262 9263if test "x$have_snprintf" != "xyes" -a \ 9264 "x$snprintf_workaround" = "xyes"; then 9265 echo "- WARNING: Using INSECURE and crash-prone snprintf-workaround." 9266fi 9267if test "x$dont_check_select" = "xtrue"; then 9268 echo "- WARNING: Never checked for select." 9269fi 9270 9271test "x$use_QLOGSTAMP" && have_QLOGSTAMP=", with timestamps" 9272cat <<EOF 9273 9274miau $VERSION 9275 9276quicklog ...... : $use_QUICKLOG$have_QLOGSTAMP 9277chanlog ....... : $use_CHANLOG privlog ....... : $use_PRIVLOG inbox ......... : $use_INBOX 9278CTCP-replies .. : $use_CTCPREPLIES on-connect .... : $use_ONCONNECT DCC-bounce .... : $use_DCCBOUNCE 9279automode ...... : $use_AUTOMODE ascii-art ..... : $use_ASCIIART mkpasswd ...... : $use_MKPASSWD 9280releasenick ... : $use_RELEASENICK 9281 9282empty-awaymsg . : $use_EMPTYAWAY uptime ........ : $use_UPTIME pingstat ...... : $use_PINGSTAT 9283dumpstatus .... : $use_DUMPSTATUS enduserdebug .. : $use_ENDUSERDEBUG debug ......... : $use_DEBUG 9284 9285hstrerror: $ac_cv_func_hstrerror socklen_t: $ac_cv_type_socklen_t snprintf: $have_snprintf 9286 9287EOF 9288if test "x$use_IPV6" = "xyes"; then 9289 echo "Uses IPv6, exclusively!" 9290 echo "" 9291fi 9292