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