1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199test \$(( 1 + 1 )) = 2 || exit 1" 200 if (eval "$as_required") 2>/dev/null; then : 201 as_have_required=yes 202else 203 as_have_required=no 204fi 205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 206 207else 208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 209as_found=false 210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 211do 212 IFS=$as_save_IFS 213 test -z "$as_dir" && as_dir=. 214 as_found=: 215 case $as_dir in #( 216 /*) 217 for as_base in sh bash ksh sh5; do 218 # Try only shells that exist, to save several forks. 219 as_shell=$as_dir/$as_base 220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 222 CONFIG_SHELL=$as_shell as_have_required=yes 223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 break 2 225fi 226fi 227 done;; 228 esac 229 as_found=false 230done 231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 233 CONFIG_SHELL=$SHELL as_have_required=yes 234fi; } 235IFS=$as_save_IFS 236 237 238 if test "x$CONFIG_SHELL" != x; then : 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241# neutralization value for shells without unset; and this also 242# works around shells that cannot unset nonexistent variables. 243# Preserve -v and -x to the replacement shell. 244BASH_ENV=/dev/null 245ENV=/dev/null 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252esac 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254# Admittedly, this is quite paranoid, since all the known shells bail 255# out after a failed `exec'. 256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257exit 255 258fi 259 260 if test x$as_have_required = xno; then : 261 $as_echo "$0: This script requires a shell more modern than all" 262 $as_echo "$0: the shells that I found on your system." 263 if test x${ZSH_VERSION+set} = xset ; then 264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 266 else 267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 268$0: including any error possibly output before this 269$0: message. Then install a modern shell, or manually run 270$0: the script under such a shell if you do have one." 271 fi 272 exit 1 273fi 274fi 275fi 276SHELL=${CONFIG_SHELL-/bin/sh} 277export SHELL 278# Unset more variables known to interfere with behavior of common tools. 279CLICOLOR_FORCE= GREP_OPTIONS= 280unset CLICOLOR_FORCE GREP_OPTIONS 281 282## --------------------- ## 283## M4sh Shell Functions. ## 284## --------------------- ## 285# as_fn_unset VAR 286# --------------- 287# Portably unset VAR. 288as_fn_unset () 289{ 290 { eval $1=; unset $1;} 291} 292as_unset=as_fn_unset 293 294# as_fn_set_status STATUS 295# ----------------------- 296# Set $? to STATUS, without forking. 297as_fn_set_status () 298{ 299 return $1 300} # as_fn_set_status 301 302# as_fn_exit STATUS 303# ----------------- 304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 305as_fn_exit () 306{ 307 set +e 308 as_fn_set_status $1 309 exit $1 310} # as_fn_exit 311 312# as_fn_mkdir_p 313# ------------- 314# Create "$as_dir" as a directory, including parents if necessary. 315as_fn_mkdir_p () 316{ 317 318 case $as_dir in #( 319 -*) as_dir=./$as_dir;; 320 esac 321 test -d "$as_dir" || eval $as_mkdir_p || { 322 as_dirs= 323 while :; do 324 case $as_dir in #( 325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 326 *) as_qdir=$as_dir;; 327 esac 328 as_dirs="'$as_qdir' $as_dirs" 329 as_dir=`$as_dirname -- "$as_dir" || 330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 331 X"$as_dir" : 'X\(//\)[^/]' \| \ 332 X"$as_dir" : 'X\(//\)$' \| \ 333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 334$as_echo X"$as_dir" | 335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 336 s//\1/ 337 q 338 } 339 /^X\(\/\/\)[^/].*/{ 340 s//\1/ 341 q 342 } 343 /^X\(\/\/\)$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\).*/{ 348 s//\1/ 349 q 350 } 351 s/.*/./; q'` 352 test -d "$as_dir" && break 353 done 354 test -z "$as_dirs" || eval "mkdir $as_dirs" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 356 357 358} # as_fn_mkdir_p 359 360# as_fn_executable_p FILE 361# ----------------------- 362# Test if FILE is an executable regular file. 363as_fn_executable_p () 364{ 365 test -f "$1" && test -x "$1" 366} # as_fn_executable_p 367# as_fn_append VAR VALUE 368# ---------------------- 369# Append the text in VALUE to the end of the definition contained in VAR. Take 370# advantage of any shell optimizations that allow amortized linear growth over 371# repeated appends, instead of the typical quadratic growth present in naive 372# implementations. 373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 374 eval 'as_fn_append () 375 { 376 eval $1+=\$2 377 }' 378else 379 as_fn_append () 380 { 381 eval $1=\$$1\$2 382 } 383fi # as_fn_append 384 385# as_fn_arith ARG... 386# ------------------ 387# Perform arithmetic evaluation on the ARGs, and store the result in the 388# global $as_val. Take advantage of shells that can avoid forks. The arguments 389# must be portable across $(()) and expr. 390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 391 eval 'as_fn_arith () 392 { 393 as_val=$(( $* )) 394 }' 395else 396 as_fn_arith () 397 { 398 as_val=`expr "$@" || test $? -eq 1` 399 } 400fi # as_fn_arith 401 402 403# as_fn_error STATUS ERROR [LINENO LOG_FD] 404# ---------------------------------------- 405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 407# script with STATUS, using 1 if that was 0. 408as_fn_error () 409{ 410 as_status=$1; test $as_status -eq 0 && as_status=1 411 if test "$4"; then 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 414 fi 415 $as_echo "$as_me: error: $2" >&2 416 as_fn_exit $as_status 417} # as_fn_error 418 419if expr a : '\(a\)' >/dev/null 2>&1 && 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then 421 as_expr=expr 422else 423 as_expr=false 424fi 425 426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 427 as_basename=basename 428else 429 as_basename=false 430fi 431 432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 433 as_dirname=dirname 434else 435 as_dirname=false 436fi 437 438as_me=`$as_basename -- "$0" || 439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 440 X"$0" : 'X\(//\)$' \| \ 441 X"$0" : 'X\(/\)' \| . 2>/dev/null || 442$as_echo X/"$0" | 443 sed '/^.*\/\([^/][^/]*\)\/*$/{ 444 s//\1/ 445 q 446 } 447 /^X\/\(\/\/\)$/{ 448 s//\1/ 449 q 450 } 451 /^X\/\(\/\).*/{ 452 s//\1/ 453 q 454 } 455 s/.*/./; q'` 456 457# Avoid depending upon Character Ranges. 458as_cr_letters='abcdefghijklmnopqrstuvwxyz' 459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 460as_cr_Letters=$as_cr_letters$as_cr_LETTERS 461as_cr_digits='0123456789' 462as_cr_alnum=$as_cr_Letters$as_cr_digits 463 464 465 as_lineno_1=$LINENO as_lineno_1a=$LINENO 466 as_lineno_2=$LINENO as_lineno_2a=$LINENO 467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 470 sed -n ' 471 p 472 /[$]LINENO/= 473 ' <$as_myself | 474 sed ' 475 s/[$]LINENO.*/&-/ 476 t lineno 477 b 478 :lineno 479 N 480 :loop 481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 482 t loop 483 s/-\n.*// 484 ' >$as_me.lineno && 485 chmod +x "$as_me.lineno" || 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 487 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 # already done that, so ensure we don't try to do so again and fall 490 # in an infinite loop. This has already happened in practice. 491 _as_can_reexec=no; export _as_can_reexec 492 # Don't try to exec as it changes $[0], causing all sort of problems 493 # (the dirname of $[0] is not the place where we might find the 494 # original and so on. Autoconf is especially sensitive to this). 495 . "./$as_me.lineno" 496 # Exit status is that of the last command. 497 exit 498} 499 500ECHO_C= ECHO_N= ECHO_T= 501case `echo -n x` in #((((( 502-n*) 503 case `echo 'xy\c'` in 504 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 505 xy) ECHO_C='\c';; 506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 507 ECHO_T=' ';; 508 esac;; 509*) 510 ECHO_N='-n';; 511esac 512 513rm -f conf$$ conf$$.exe conf$$.file 514if test -d conf$$.dir; then 515 rm -f conf$$.dir/conf$$.file 516else 517 rm -f conf$$.dir 518 mkdir conf$$.dir 2>/dev/null 519fi 520if (echo >conf$$.file) 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then 522 as_ln_s='ln -s' 523 # ... but there are two gotchas: 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 526 # In both cases, we have to default to `cp -pR'. 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 528 as_ln_s='cp -pR' 529 elif ln conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s=ln 531 else 532 as_ln_s='cp -pR' 533 fi 534else 535 as_ln_s='cp -pR' 536fi 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 538rmdir conf$$.dir 2>/dev/null 539 540if mkdir -p . 2>/dev/null; then 541 as_mkdir_p='mkdir -p "$as_dir"' 542else 543 test -d ./-p && rmdir ./-p 544 as_mkdir_p=false 545fi 546 547as_test_x='test -x' 548as_executable_p=as_fn_executable_p 549 550# Sed expression to map a string onto a valid CPP name. 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 552 553# Sed expression to map a string onto a valid variable name. 554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 555 556 557test -n "$DJDIR" || exec 7<&0 </dev/null 558exec 6>&1 559 560# Name of the host. 561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 562# so uname gets run too. 563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 564 565# 566# Initializations. 567# 568ac_default_prefix=/usr/local 569ac_clean_files= 570ac_config_libobj_dir=. 571LIBOBJS= 572cross_compiling=no 573subdirs= 574MFLAGS= 575MAKEFLAGS= 576 577# Identity of this package. 578PACKAGE_NAME= 579PACKAGE_TARNAME= 580PACKAGE_VERSION= 581PACKAGE_STRING= 582PACKAGE_BUGREPORT= 583PACKAGE_URL= 584 585ac_unique_file="mimedefang.c" 586# Factoring default headers for most tests. 587ac_includes_default="\ 588#include <stdio.h> 589#ifdef HAVE_SYS_TYPES_H 590# include <sys/types.h> 591#endif 592#ifdef HAVE_SYS_STAT_H 593# include <sys/stat.h> 594#endif 595#ifdef STDC_HEADERS 596# include <stdlib.h> 597# include <stddef.h> 598#else 599# ifdef HAVE_STDLIB_H 600# include <stdlib.h> 601# endif 602#endif 603#ifdef HAVE_STRING_H 604# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 605# include <memory.h> 606# endif 607# include <string.h> 608#endif 609#ifdef HAVE_STRINGS_H 610# include <strings.h> 611#endif 612#ifdef HAVE_INTTYPES_H 613# include <inttypes.h> 614#endif 615#ifdef HAVE_STDINT_H 616# include <stdint.h> 617#endif 618#ifdef HAVE_UNISTD_H 619# include <unistd.h> 620#endif" 621 622ac_subst_vars='LTLIBOBJS 623LIBOBJS 624PERLINSTALLVENDORCONF 625PERLINSTALLSITECONF 626PERLINSTALLCONF 627PERLINSTALLVENDORDATA 628PERLINSTALLSITEDATA 629PERLINSTALLDATA 630PERLINSTALLSITELIB 631PERLINSTALLSITEARCH 632PERLINSTALLSCRIPT 633PERLINSTALLMAN3DIR 634PERLINSTALLMAN1DIR 635PERLINSTALLBIN 636PERLINSTALLPRIVLIB 637PERLINSTALLARCHLIB 638PERLVENDORPREFIX 639PERLSITEPREFIX 640PERLPREFIX 641CONFDIR_EVAL 642LIBS_WITHOUT_PTHREAD 643LIBMILTERSO 644LIBSM 645LIBMILTER 646MINCLUDE 647VERSION 648PTHREAD_FLAG 649ENABLE_DEBUGGING 650RM 651SENDMAILPROG 652NOD32 653TROPHIE 654CLAMD 655NVCC 656SOPHIE 657FPSCAN 658FPROT 659FSAV 660CSAV 661AVP5 662AVP_KAVDAEMON 663AVP 664CLAMSCAN 665KAVSCANNER 666TREND 667SAVSCAN 668SOPHOS 669BDC 670NAI 671VEXIRA 672HBEDV 673QDIR 674SPOOLDIR 675USEPOLL 676EMBPERLDEFS 677EMBPERLOBJS 678EMBPERLLIBS 679EMBPERLLDFLAGS 680EMBPERLCFLAGS 681HAVE_SPAM_ASSASSIN 682CLEANUP_DEFS 683CONFSUBDIR 684IP_HEADER 685DEFANGUSER 686NM 687EGREP 688GREP 689CPP 690PERL 691INSTALL_DATA 692INSTALL_SCRIPT 693INSTALL_PROGRAM 694AR 695OBJEXT 696EXEEXT 697ac_ct_CC 698CPPFLAGS 699LDFLAGS 700CFLAGS 701CC 702target_alias 703host_alias 704build_alias 705LIBS 706ECHO_T 707ECHO_N 708ECHO_C 709DEFS 710mandir 711localedir 712libdir 713psdir 714pdfdir 715dvidir 716htmldir 717infodir 718docdir 719oldincludedir 720includedir 721runstatedir 722localstatedir 723sharedstatedir 724sysconfdir 725datadir 726datarootdir 727libexecdir 728sbindir 729bindir 730program_transform_name 731prefix 732exec_prefix 733PACKAGE_URL 734PACKAGE_BUGREPORT 735PACKAGE_STRING 736PACKAGE_VERSION 737PACKAGE_TARNAME 738PACKAGE_NAME 739PATH_SEPARATOR 740SHELL' 741ac_subst_files='' 742ac_user_opts=' 743enable_option_checking 744enable_embedded_perl 745enable_poll 746with_sendmail 747with_user 748with_ipheader 749with_milterinc 750with_milterlib 751with_confsubdir 752with_spooldir 753with_quarantinedir 754enable_cleanup_with_rm 755enable_pthread_flag 756enable_check_perl_modules 757enable_debugging 758enable_anti_virus 759enable_antivir 760enable_vexira 761enable_uvscan 762enable_bdc 763enable_sweep 764enable_savscan 765enable_trend 766enable_AvpLinux 767enable_kavscanner 768enable_aveclient 769enable_clamav 770enable_fsav 771enable_csav 772enable_fprot 773enable_fpscan 774enable_sophie 775enable_nvcc 776enable_clamd 777enable_trophie 778enable_nod32 779' 780 ac_precious_vars='build_alias 781host_alias 782target_alias 783CC 784CFLAGS 785LDFLAGS 786LIBS 787CPPFLAGS 788CPP' 789 790 791# Initialize some variables set by options. 792ac_init_help= 793ac_init_version=false 794ac_unrecognized_opts= 795ac_unrecognized_sep= 796# The variables have the same names as the options, with 797# dashes changed to underlines. 798cache_file=/dev/null 799exec_prefix=NONE 800no_create= 801no_recursion= 802prefix=NONE 803program_prefix=NONE 804program_suffix=NONE 805program_transform_name=s,x,x, 806silent= 807site= 808srcdir= 809verbose= 810x_includes=NONE 811x_libraries=NONE 812 813# Installation directory options. 814# These are left unexpanded so users can "make install exec_prefix=/foo" 815# and all the variables that are supposed to be based on exec_prefix 816# by default will actually change. 817# Use braces instead of parens because sh, perl, etc. also accept them. 818# (The list follows the same order as the GNU Coding Standards.) 819bindir='${exec_prefix}/bin' 820sbindir='${exec_prefix}/sbin' 821libexecdir='${exec_prefix}/libexec' 822datarootdir='${prefix}/share' 823datadir='${datarootdir}' 824sysconfdir='${prefix}/etc' 825sharedstatedir='${prefix}/com' 826localstatedir='${prefix}/var' 827runstatedir='${localstatedir}/run' 828includedir='${prefix}/include' 829oldincludedir='/usr/include' 830docdir='${datarootdir}/doc/${PACKAGE}' 831infodir='${datarootdir}/info' 832htmldir='${docdir}' 833dvidir='${docdir}' 834pdfdir='${docdir}' 835psdir='${docdir}' 836libdir='${exec_prefix}/lib' 837localedir='${datarootdir}/locale' 838mandir='${datarootdir}/man' 839 840ac_prev= 841ac_dashdash= 842for ac_option 843do 844 # If the previous option needs an argument, assign it. 845 if test -n "$ac_prev"; then 846 eval $ac_prev=\$ac_option 847 ac_prev= 848 continue 849 fi 850 851 case $ac_option in 852 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 853 *=) ac_optarg= ;; 854 *) ac_optarg=yes ;; 855 esac 856 857 # Accept the important Cygnus configure options, so we can diagnose typos. 858 859 case $ac_dashdash$ac_option in 860 --) 861 ac_dashdash=yes ;; 862 863 -bindir | --bindir | --bindi | --bind | --bin | --bi) 864 ac_prev=bindir ;; 865 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 866 bindir=$ac_optarg ;; 867 868 -build | --build | --buil | --bui | --bu) 869 ac_prev=build_alias ;; 870 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 871 build_alias=$ac_optarg ;; 872 873 -cache-file | --cache-file | --cache-fil | --cache-fi \ 874 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 875 ac_prev=cache_file ;; 876 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 877 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 878 cache_file=$ac_optarg ;; 879 880 --config-cache | -C) 881 cache_file=config.cache ;; 882 883 -datadir | --datadir | --datadi | --datad) 884 ac_prev=datadir ;; 885 -datadir=* | --datadir=* | --datadi=* | --datad=*) 886 datadir=$ac_optarg ;; 887 888 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 889 | --dataroo | --dataro | --datar) 890 ac_prev=datarootdir ;; 891 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 892 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 893 datarootdir=$ac_optarg ;; 894 895 -disable-* | --disable-*) 896 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 897 # Reject names that are not valid shell variable names. 898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 899 as_fn_error $? "invalid feature name: $ac_useropt" 900 ac_useropt_orig=$ac_useropt 901 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 902 case $ac_user_opts in 903 *" 904"enable_$ac_useropt" 905"*) ;; 906 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 907 ac_unrecognized_sep=', ';; 908 esac 909 eval enable_$ac_useropt=no ;; 910 911 -docdir | --docdir | --docdi | --doc | --do) 912 ac_prev=docdir ;; 913 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 914 docdir=$ac_optarg ;; 915 916 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 917 ac_prev=dvidir ;; 918 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 919 dvidir=$ac_optarg ;; 920 921 -enable-* | --enable-*) 922 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 923 # Reject names that are not valid shell variable names. 924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 925 as_fn_error $? "invalid feature name: $ac_useropt" 926 ac_useropt_orig=$ac_useropt 927 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 928 case $ac_user_opts in 929 *" 930"enable_$ac_useropt" 931"*) ;; 932 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 933 ac_unrecognized_sep=', ';; 934 esac 935 eval enable_$ac_useropt=\$ac_optarg ;; 936 937 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 938 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 939 | --exec | --exe | --ex) 940 ac_prev=exec_prefix ;; 941 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 942 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 943 | --exec=* | --exe=* | --ex=*) 944 exec_prefix=$ac_optarg ;; 945 946 -gas | --gas | --ga | --g) 947 # Obsolete; use --with-gas. 948 with_gas=yes ;; 949 950 -help | --help | --hel | --he | -h) 951 ac_init_help=long ;; 952 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 953 ac_init_help=recursive ;; 954 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 955 ac_init_help=short ;; 956 957 -host | --host | --hos | --ho) 958 ac_prev=host_alias ;; 959 -host=* | --host=* | --hos=* | --ho=*) 960 host_alias=$ac_optarg ;; 961 962 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 963 ac_prev=htmldir ;; 964 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 965 | --ht=*) 966 htmldir=$ac_optarg ;; 967 968 -includedir | --includedir | --includedi | --included | --include \ 969 | --includ | --inclu | --incl | --inc) 970 ac_prev=includedir ;; 971 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 972 | --includ=* | --inclu=* | --incl=* | --inc=*) 973 includedir=$ac_optarg ;; 974 975 -infodir | --infodir | --infodi | --infod | --info | --inf) 976 ac_prev=infodir ;; 977 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 978 infodir=$ac_optarg ;; 979 980 -libdir | --libdir | --libdi | --libd) 981 ac_prev=libdir ;; 982 -libdir=* | --libdir=* | --libdi=* | --libd=*) 983 libdir=$ac_optarg ;; 984 985 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 986 | --libexe | --libex | --libe) 987 ac_prev=libexecdir ;; 988 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 989 | --libexe=* | --libex=* | --libe=*) 990 libexecdir=$ac_optarg ;; 991 992 -localedir | --localedir | --localedi | --localed | --locale) 993 ac_prev=localedir ;; 994 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 995 localedir=$ac_optarg ;; 996 997 -localstatedir | --localstatedir | --localstatedi | --localstated \ 998 | --localstate | --localstat | --localsta | --localst | --locals) 999 ac_prev=localstatedir ;; 1000 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1001 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1002 localstatedir=$ac_optarg ;; 1003 1004 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1005 ac_prev=mandir ;; 1006 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1007 mandir=$ac_optarg ;; 1008 1009 -nfp | --nfp | --nf) 1010 # Obsolete; use --without-fp. 1011 with_fp=no ;; 1012 1013 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1014 | --no-cr | --no-c | -n) 1015 no_create=yes ;; 1016 1017 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1018 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1019 no_recursion=yes ;; 1020 1021 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1022 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1023 | --oldin | --oldi | --old | --ol | --o) 1024 ac_prev=oldincludedir ;; 1025 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1026 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1027 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1028 oldincludedir=$ac_optarg ;; 1029 1030 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1031 ac_prev=prefix ;; 1032 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1033 prefix=$ac_optarg ;; 1034 1035 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1036 | --program-pre | --program-pr | --program-p) 1037 ac_prev=program_prefix ;; 1038 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1039 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1040 program_prefix=$ac_optarg ;; 1041 1042 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1043 | --program-suf | --program-su | --program-s) 1044 ac_prev=program_suffix ;; 1045 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1046 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1047 program_suffix=$ac_optarg ;; 1048 1049 -program-transform-name | --program-transform-name \ 1050 | --program-transform-nam | --program-transform-na \ 1051 | --program-transform-n | --program-transform- \ 1052 | --program-transform | --program-transfor \ 1053 | --program-transfo | --program-transf \ 1054 | --program-trans | --program-tran \ 1055 | --progr-tra | --program-tr | --program-t) 1056 ac_prev=program_transform_name ;; 1057 -program-transform-name=* | --program-transform-name=* \ 1058 | --program-transform-nam=* | --program-transform-na=* \ 1059 | --program-transform-n=* | --program-transform-=* \ 1060 | --program-transform=* | --program-transfor=* \ 1061 | --program-transfo=* | --program-transf=* \ 1062 | --program-trans=* | --program-tran=* \ 1063 | --progr-tra=* | --program-tr=* | --program-t=*) 1064 program_transform_name=$ac_optarg ;; 1065 1066 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1067 ac_prev=pdfdir ;; 1068 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1069 pdfdir=$ac_optarg ;; 1070 1071 -psdir | --psdir | --psdi | --psd | --ps) 1072 ac_prev=psdir ;; 1073 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1074 psdir=$ac_optarg ;; 1075 1076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1077 | -silent | --silent | --silen | --sile | --sil) 1078 silent=yes ;; 1079 1080 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1081 | --runstate | --runstat | --runsta | --runst | --runs \ 1082 | --run | --ru | --r) 1083 ac_prev=runstatedir ;; 1084 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1085 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1086 | --run=* | --ru=* | --r=*) 1087 runstatedir=$ac_optarg ;; 1088 1089 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1090 ac_prev=sbindir ;; 1091 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1092 | --sbi=* | --sb=*) 1093 sbindir=$ac_optarg ;; 1094 1095 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1096 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1097 | --sharedst | --shareds | --shared | --share | --shar \ 1098 | --sha | --sh) 1099 ac_prev=sharedstatedir ;; 1100 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1101 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1102 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1103 | --sha=* | --sh=*) 1104 sharedstatedir=$ac_optarg ;; 1105 1106 -site | --site | --sit) 1107 ac_prev=site ;; 1108 -site=* | --site=* | --sit=*) 1109 site=$ac_optarg ;; 1110 1111 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1112 ac_prev=srcdir ;; 1113 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1114 srcdir=$ac_optarg ;; 1115 1116 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1117 | --syscon | --sysco | --sysc | --sys | --sy) 1118 ac_prev=sysconfdir ;; 1119 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1120 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1121 sysconfdir=$ac_optarg ;; 1122 1123 -target | --target | --targe | --targ | --tar | --ta | --t) 1124 ac_prev=target_alias ;; 1125 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1126 target_alias=$ac_optarg ;; 1127 1128 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1129 verbose=yes ;; 1130 1131 -version | --version | --versio | --versi | --vers | -V) 1132 ac_init_version=: ;; 1133 1134 -with-* | --with-*) 1135 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1136 # Reject names that are not valid shell variable names. 1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1138 as_fn_error $? "invalid package name: $ac_useropt" 1139 ac_useropt_orig=$ac_useropt 1140 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1141 case $ac_user_opts in 1142 *" 1143"with_$ac_useropt" 1144"*) ;; 1145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1146 ac_unrecognized_sep=', ';; 1147 esac 1148 eval with_$ac_useropt=\$ac_optarg ;; 1149 1150 -without-* | --without-*) 1151 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1152 # Reject names that are not valid shell variable names. 1153 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1154 as_fn_error $? "invalid package name: $ac_useropt" 1155 ac_useropt_orig=$ac_useropt 1156 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1157 case $ac_user_opts in 1158 *" 1159"with_$ac_useropt" 1160"*) ;; 1161 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1162 ac_unrecognized_sep=', ';; 1163 esac 1164 eval with_$ac_useropt=no ;; 1165 1166 --x) 1167 # Obsolete; use --with-x. 1168 with_x=yes ;; 1169 1170 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1171 | --x-incl | --x-inc | --x-in | --x-i) 1172 ac_prev=x_includes ;; 1173 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1174 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1175 x_includes=$ac_optarg ;; 1176 1177 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1178 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1179 ac_prev=x_libraries ;; 1180 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1181 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1182 x_libraries=$ac_optarg ;; 1183 1184 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1185Try \`$0 --help' for more information" 1186 ;; 1187 1188 *=*) 1189 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1190 # Reject names that are not valid shell variable names. 1191 case $ac_envvar in #( 1192 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1193 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1194 esac 1195 eval $ac_envvar=\$ac_optarg 1196 export $ac_envvar ;; 1197 1198 *) 1199 # FIXME: should be removed in autoconf 3.0. 1200 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1201 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1202 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1203 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1204 ;; 1205 1206 esac 1207done 1208 1209if test -n "$ac_prev"; then 1210 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1211 as_fn_error $? "missing argument to $ac_option" 1212fi 1213 1214if test -n "$ac_unrecognized_opts"; then 1215 case $enable_option_checking in 1216 no) ;; 1217 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1218 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1219 esac 1220fi 1221 1222# Check all directory arguments for consistency. 1223for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1224 datadir sysconfdir sharedstatedir localstatedir includedir \ 1225 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1226 libdir localedir mandir runstatedir 1227do 1228 eval ac_val=\$$ac_var 1229 # Remove trailing slashes. 1230 case $ac_val in 1231 */ ) 1232 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1233 eval $ac_var=\$ac_val;; 1234 esac 1235 # Be sure to have absolute directory names. 1236 case $ac_val in 1237 [\\/$]* | ?:[\\/]* ) continue;; 1238 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1239 esac 1240 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1241done 1242 1243# There might be people who depend on the old broken behavior: `$host' 1244# used to hold the argument of --host etc. 1245# FIXME: To remove some day. 1246build=$build_alias 1247host=$host_alias 1248target=$target_alias 1249 1250# FIXME: To remove some day. 1251if test "x$host_alias" != x; then 1252 if test "x$build_alias" = x; then 1253 cross_compiling=maybe 1254 elif test "x$build_alias" != "x$host_alias"; then 1255 cross_compiling=yes 1256 fi 1257fi 1258 1259ac_tool_prefix= 1260test -n "$host_alias" && ac_tool_prefix=$host_alias- 1261 1262test "$silent" = yes && exec 6>/dev/null 1263 1264 1265ac_pwd=`pwd` && test -n "$ac_pwd" && 1266ac_ls_di=`ls -di .` && 1267ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1268 as_fn_error $? "working directory cannot be determined" 1269test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1270 as_fn_error $? "pwd does not report name of working directory" 1271 1272 1273# Find the source files, if location was not specified. 1274if test -z "$srcdir"; then 1275 ac_srcdir_defaulted=yes 1276 # Try the directory containing this script, then the parent directory. 1277 ac_confdir=`$as_dirname -- "$as_myself" || 1278$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1279 X"$as_myself" : 'X\(//\)[^/]' \| \ 1280 X"$as_myself" : 'X\(//\)$' \| \ 1281 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1282$as_echo X"$as_myself" | 1283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1284 s//\1/ 1285 q 1286 } 1287 /^X\(\/\/\)[^/].*/{ 1288 s//\1/ 1289 q 1290 } 1291 /^X\(\/\/\)$/{ 1292 s//\1/ 1293 q 1294 } 1295 /^X\(\/\).*/{ 1296 s//\1/ 1297 q 1298 } 1299 s/.*/./; q'` 1300 srcdir=$ac_confdir 1301 if test ! -r "$srcdir/$ac_unique_file"; then 1302 srcdir=.. 1303 fi 1304else 1305 ac_srcdir_defaulted=no 1306fi 1307if test ! -r "$srcdir/$ac_unique_file"; then 1308 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1309 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1310fi 1311ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1312ac_abs_confdir=`( 1313 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1314 pwd)` 1315# When building in place, set srcdir=. 1316if test "$ac_abs_confdir" = "$ac_pwd"; then 1317 srcdir=. 1318fi 1319# Remove unnecessary trailing slashes from srcdir. 1320# Double slashes in file names in object file debugging info 1321# mess up M-x gdb in Emacs. 1322case $srcdir in 1323*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1324esac 1325for ac_var in $ac_precious_vars; do 1326 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1327 eval ac_env_${ac_var}_value=\$${ac_var} 1328 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1329 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1330done 1331 1332# 1333# Report the --help message. 1334# 1335if test "$ac_init_help" = "long"; then 1336 # Omit some internal or obsolete options to make the list less imposing. 1337 # This message is too long to be a string in the A/UX 3.1 sh. 1338 cat <<_ACEOF 1339\`configure' configures this package to adapt to many kinds of systems. 1340 1341Usage: $0 [OPTION]... [VAR=VALUE]... 1342 1343To assign environment variables (e.g., CC, CFLAGS...), specify them as 1344VAR=VALUE. See below for descriptions of some of the useful variables. 1345 1346Defaults for the options are specified in brackets. 1347 1348Configuration: 1349 -h, --help display this help and exit 1350 --help=short display options specific to this package 1351 --help=recursive display the short help of all the included packages 1352 -V, --version display version information and exit 1353 -q, --quiet, --silent do not print \`checking ...' messages 1354 --cache-file=FILE cache test results in FILE [disabled] 1355 -C, --config-cache alias for \`--cache-file=config.cache' 1356 -n, --no-create do not create output files 1357 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1358 1359Installation directories: 1360 --prefix=PREFIX install architecture-independent files in PREFIX 1361 [$ac_default_prefix] 1362 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1363 [PREFIX] 1364 1365By default, \`make install' will install all the files in 1366\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1367an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1368for instance \`--prefix=\$HOME'. 1369 1370For better control, use the options below. 1371 1372Fine tuning of the installation directories: 1373 --bindir=DIR user executables [EPREFIX/bin] 1374 --sbindir=DIR system admin executables [EPREFIX/sbin] 1375 --libexecdir=DIR program executables [EPREFIX/libexec] 1376 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1377 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1378 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1379 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1380 --libdir=DIR object code libraries [EPREFIX/lib] 1381 --includedir=DIR C header files [PREFIX/include] 1382 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1385 --infodir=DIR info documentation [DATAROOTDIR/info] 1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1387 --mandir=DIR man documentation [DATAROOTDIR/man] 1388 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1389 --htmldir=DIR html documentation [DOCDIR] 1390 --dvidir=DIR dvi documentation [DOCDIR] 1391 --pdfdir=DIR pdf documentation [DOCDIR] 1392 --psdir=DIR ps documentation [DOCDIR] 1393_ACEOF 1394 1395 cat <<\_ACEOF 1396_ACEOF 1397fi 1398 1399if test -n "$ac_init_help"; then 1400 1401 cat <<\_ACEOF 1402 1403Optional Features: 1404 --disable-option-checking ignore unrecognized --enable/--with options 1405 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1406 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1407 --disable-embedded-perl Disable embedded Perl interpreter 1408 --enable-poll Use poll(2) instead of select(2) in multiplexor 1409 --enable-cleanup-with-rm 1410 Fork/exec "/bin/rm" to clean up instead of 1411 using built-in C code 1412 --enable-pthread-flag Supply the -pthread flag to the C compiler 1413 --disable-check-perl-modules 1414 Disable compile-time checks for Perl modules 1415 --enable-debugging Add debugging messages to syslog 1416 --disable-anti-virus Do not look for anti-virus scanners 1417 --disable-antivir Do not include support for H+BEDV antivir 1418 --disable-vexira Do not include support for Central Command Vexira 1419 --disable-uvscan Do not include support for NAI uvscan 1420 --disable-bdc Do not include support for Bitdefender bdc 1421 --disable-sweep Do not include support for Sophos sweep 1422 --disable-savscan Do not include support for Sophos savscan 1423 --disable-trend Do not include support for Trend Filescanner/Interscan 1424 --disable-AvpLinux Do not include support for AVP AvpLinux 1425 --disable-kavscanner Do not include support for Kaspersky kavscanner 1426 --disable-aveclient Do not include support for AVP5 aveclient 1427 --disable-clamav Do not include support for clamav 1428 --disable-fsav Do not include support for F-Secure Anti-Virus 1429 --disable-csav Do not include support for Command Software CSAV 1430 --disable-fprot Do not include support for F-prot Anti-Virus 1431 --disable-fpscan Do not include support for F-prot Anti-Virus v6 1432 --disable-sophie Do not include support for Sophie 1433 --disable-nvcc Do not include support for Nvcc 1434 --disable-clamd Do not include support for clamd 1435 --disable-trophie Do not include support for Trophie 1436 --disable-nod32 Do not include support for Eset NOD32 1437 1438Optional Packages: 1439 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1440 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1441 --with-sendmail=PATH specify location of Sendmail binary 1442 --with-user=LOGIN use LOGIN as the MIMEDefang user 1443 --with-ipheader install /etc/mail/mimedefang-ip-key 1444 --with-milterinc=PATH specify alternative location of milter includes 1445 --with-milterlib=PATH specify alternative location of milter libraries 1446 --with-confsubdir=DIR specify configuration subdirectory 1447 (mail) 1448 --with-spooldir=DIR specify location of spool directory 1449 (/var/spool/MIMEDefang) 1450 --with-quarantinedir=DIR 1451 specify location of quarantine directory 1452 (/var/spool/MD-Quarantine) 1453 1454Some influential environment variables: 1455 CC C compiler command 1456 CFLAGS C compiler flags 1457 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1458 nonstandard directory <lib dir> 1459 LIBS libraries to pass to the linker, e.g. -l<library> 1460 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1461 you have headers in a nonstandard directory <include dir> 1462 CPP C preprocessor 1463 1464Use these variables to override the choices made by `configure' or to help 1465it to find libraries and programs with nonstandard names/locations. 1466 1467Report bugs to the package provider. 1468_ACEOF 1469ac_status=$? 1470fi 1471 1472if test "$ac_init_help" = "recursive"; then 1473 # If there are subdirs, report their specific --help. 1474 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1475 test -d "$ac_dir" || 1476 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1477 continue 1478 ac_builddir=. 1479 1480case "$ac_dir" in 1481.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1482*) 1483 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1484 # A ".." for each directory in $ac_dir_suffix. 1485 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1486 case $ac_top_builddir_sub in 1487 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1488 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1489 esac ;; 1490esac 1491ac_abs_top_builddir=$ac_pwd 1492ac_abs_builddir=$ac_pwd$ac_dir_suffix 1493# for backward compatibility: 1494ac_top_builddir=$ac_top_build_prefix 1495 1496case $srcdir in 1497 .) # We are building in place. 1498 ac_srcdir=. 1499 ac_top_srcdir=$ac_top_builddir_sub 1500 ac_abs_top_srcdir=$ac_pwd ;; 1501 [\\/]* | ?:[\\/]* ) # Absolute name. 1502 ac_srcdir=$srcdir$ac_dir_suffix; 1503 ac_top_srcdir=$srcdir 1504 ac_abs_top_srcdir=$srcdir ;; 1505 *) # Relative name. 1506 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1507 ac_top_srcdir=$ac_top_build_prefix$srcdir 1508 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1509esac 1510ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1511 1512 cd "$ac_dir" || { ac_status=$?; continue; } 1513 # Check for guested configure. 1514 if test -f "$ac_srcdir/configure.gnu"; then 1515 echo && 1516 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1517 elif test -f "$ac_srcdir/configure"; then 1518 echo && 1519 $SHELL "$ac_srcdir/configure" --help=recursive 1520 else 1521 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1522 fi || ac_status=$? 1523 cd "$ac_pwd" || { ac_status=$?; break; } 1524 done 1525fi 1526 1527test -n "$ac_init_help" && exit $ac_status 1528if $ac_init_version; then 1529 cat <<\_ACEOF 1530configure 1531generated by GNU Autoconf 2.69 1532 1533Copyright (C) 2012 Free Software Foundation, Inc. 1534This configure script is free software; the Free Software Foundation 1535gives unlimited permission to copy, distribute and modify it. 1536_ACEOF 1537 exit 1538fi 1539 1540## ------------------------ ## 1541## Autoconf initialization. ## 1542## ------------------------ ## 1543 1544# ac_fn_c_try_compile LINENO 1545# -------------------------- 1546# Try to compile conftest.$ac_ext, and return whether this succeeded. 1547ac_fn_c_try_compile () 1548{ 1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1550 rm -f conftest.$ac_objext 1551 if { { ac_try="$ac_compile" 1552case "(($ac_try" in 1553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1554 *) ac_try_echo=$ac_try;; 1555esac 1556eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1557$as_echo "$ac_try_echo"; } >&5 1558 (eval "$ac_compile") 2>conftest.err 1559 ac_status=$? 1560 if test -s conftest.err; then 1561 grep -v '^ *+' conftest.err >conftest.er1 1562 cat conftest.er1 >&5 1563 mv -f conftest.er1 conftest.err 1564 fi 1565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1566 test $ac_status = 0; } && { 1567 test -z "$ac_c_werror_flag" || 1568 test ! -s conftest.err 1569 } && test -s conftest.$ac_objext; then : 1570 ac_retval=0 1571else 1572 $as_echo "$as_me: failed program was:" >&5 1573sed 's/^/| /' conftest.$ac_ext >&5 1574 1575 ac_retval=1 1576fi 1577 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1578 as_fn_set_status $ac_retval 1579 1580} # ac_fn_c_try_compile 1581 1582# ac_fn_c_try_link LINENO 1583# ----------------------- 1584# Try to link conftest.$ac_ext, and return whether this succeeded. 1585ac_fn_c_try_link () 1586{ 1587 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1588 rm -f conftest.$ac_objext conftest$ac_exeext 1589 if { { ac_try="$ac_link" 1590case "(($ac_try" in 1591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1592 *) ac_try_echo=$ac_try;; 1593esac 1594eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1595$as_echo "$ac_try_echo"; } >&5 1596 (eval "$ac_link") 2>conftest.err 1597 ac_status=$? 1598 if test -s conftest.err; then 1599 grep -v '^ *+' conftest.err >conftest.er1 1600 cat conftest.er1 >&5 1601 mv -f conftest.er1 conftest.err 1602 fi 1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1604 test $ac_status = 0; } && { 1605 test -z "$ac_c_werror_flag" || 1606 test ! -s conftest.err 1607 } && test -s conftest$ac_exeext && { 1608 test "$cross_compiling" = yes || 1609 test -x conftest$ac_exeext 1610 }; then : 1611 ac_retval=0 1612else 1613 $as_echo "$as_me: failed program was:" >&5 1614sed 's/^/| /' conftest.$ac_ext >&5 1615 1616 ac_retval=1 1617fi 1618 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1619 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1620 # interfere with the next link command; also delete a directory that is 1621 # left behind by Apple's compiler. We do this before executing the actions. 1622 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1624 as_fn_set_status $ac_retval 1625 1626} # ac_fn_c_try_link 1627 1628# ac_fn_c_try_run LINENO 1629# ---------------------- 1630# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1631# that executables *can* be run. 1632ac_fn_c_try_run () 1633{ 1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1635 if { { ac_try="$ac_link" 1636case "(($ac_try" in 1637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1638 *) ac_try_echo=$ac_try;; 1639esac 1640eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1641$as_echo "$ac_try_echo"; } >&5 1642 (eval "$ac_link") 2>&5 1643 ac_status=$? 1644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1645 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1646 { { case "(($ac_try" in 1647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1648 *) ac_try_echo=$ac_try;; 1649esac 1650eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1651$as_echo "$ac_try_echo"; } >&5 1652 (eval "$ac_try") 2>&5 1653 ac_status=$? 1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1655 test $ac_status = 0; }; }; then : 1656 ac_retval=0 1657else 1658 $as_echo "$as_me: program exited with status $ac_status" >&5 1659 $as_echo "$as_me: failed program was:" >&5 1660sed 's/^/| /' conftest.$ac_ext >&5 1661 1662 ac_retval=$ac_status 1663fi 1664 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1666 as_fn_set_status $ac_retval 1667 1668} # ac_fn_c_try_run 1669 1670# ac_fn_c_try_cpp LINENO 1671# ---------------------- 1672# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1673ac_fn_c_try_cpp () 1674{ 1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1676 if { { ac_try="$ac_cpp conftest.$ac_ext" 1677case "(($ac_try" in 1678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1679 *) ac_try_echo=$ac_try;; 1680esac 1681eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1682$as_echo "$ac_try_echo"; } >&5 1683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1684 ac_status=$? 1685 if test -s conftest.err; then 1686 grep -v '^ *+' conftest.err >conftest.er1 1687 cat conftest.er1 >&5 1688 mv -f conftest.er1 conftest.err 1689 fi 1690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1691 test $ac_status = 0; } > conftest.i && { 1692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1693 test ! -s conftest.err 1694 }; then : 1695 ac_retval=0 1696else 1697 $as_echo "$as_me: failed program was:" >&5 1698sed 's/^/| /' conftest.$ac_ext >&5 1699 1700 ac_retval=1 1701fi 1702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1703 as_fn_set_status $ac_retval 1704 1705} # ac_fn_c_try_cpp 1706 1707# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1708# ------------------------------------------------------- 1709# Tests whether HEADER exists and can be compiled using the include files in 1710# INCLUDES, setting the cache variable VAR accordingly. 1711ac_fn_c_check_header_compile () 1712{ 1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1715$as_echo_n "checking for $2... " >&6; } 1716if eval \${$3+:} false; then : 1717 $as_echo_n "(cached) " >&6 1718else 1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1720/* end confdefs.h. */ 1721$4 1722#include <$2> 1723_ACEOF 1724if ac_fn_c_try_compile "$LINENO"; then : 1725 eval "$3=yes" 1726else 1727 eval "$3=no" 1728fi 1729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1730fi 1731eval ac_res=\$$3 1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1733$as_echo "$ac_res" >&6; } 1734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1735 1736} # ac_fn_c_check_header_compile 1737 1738# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1739# ------------------------------------------------------- 1740# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1741# the include files in INCLUDES and setting the cache variable VAR 1742# accordingly. 1743ac_fn_c_check_header_mongrel () 1744{ 1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1746 if eval \${$3+:} false; then : 1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1748$as_echo_n "checking for $2... " >&6; } 1749if eval \${$3+:} false; then : 1750 $as_echo_n "(cached) " >&6 1751fi 1752eval ac_res=\$$3 1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1754$as_echo "$ac_res" >&6; } 1755else 1756 # Is the header compilable? 1757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1758$as_echo_n "checking $2 usability... " >&6; } 1759cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1760/* end confdefs.h. */ 1761$4 1762#include <$2> 1763_ACEOF 1764if ac_fn_c_try_compile "$LINENO"; then : 1765 ac_header_compiler=yes 1766else 1767 ac_header_compiler=no 1768fi 1769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1771$as_echo "$ac_header_compiler" >&6; } 1772 1773# Is the header present? 1774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1775$as_echo_n "checking $2 presence... " >&6; } 1776cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1777/* end confdefs.h. */ 1778#include <$2> 1779_ACEOF 1780if ac_fn_c_try_cpp "$LINENO"; then : 1781 ac_header_preproc=yes 1782else 1783 ac_header_preproc=no 1784fi 1785rm -f conftest.err conftest.i conftest.$ac_ext 1786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1787$as_echo "$ac_header_preproc" >&6; } 1788 1789# So? What about this header? 1790case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1791 yes:no: ) 1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1793$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1795$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1796 ;; 1797 no:yes:* ) 1798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1799$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1801$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1803$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1805$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1807$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1808 ;; 1809esac 1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1811$as_echo_n "checking for $2... " >&6; } 1812if eval \${$3+:} false; then : 1813 $as_echo_n "(cached) " >&6 1814else 1815 eval "$3=\$ac_header_compiler" 1816fi 1817eval ac_res=\$$3 1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1819$as_echo "$ac_res" >&6; } 1820fi 1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1822 1823} # ac_fn_c_check_header_mongrel 1824 1825# ac_fn_c_check_func LINENO FUNC VAR 1826# ---------------------------------- 1827# Tests whether FUNC exists, setting the cache variable VAR accordingly 1828ac_fn_c_check_func () 1829{ 1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1832$as_echo_n "checking for $2... " >&6; } 1833if eval \${$3+:} false; then : 1834 $as_echo_n "(cached) " >&6 1835else 1836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1837/* end confdefs.h. */ 1838/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1839 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1840#define $2 innocuous_$2 1841 1842/* System header to define __stub macros and hopefully few prototypes, 1843 which can conflict with char $2 (); below. 1844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1845 <limits.h> exists even on freestanding compilers. */ 1846 1847#ifdef __STDC__ 1848# include <limits.h> 1849#else 1850# include <assert.h> 1851#endif 1852 1853#undef $2 1854 1855/* Override any GCC internal prototype to avoid an error. 1856 Use char because int might match the return type of a GCC 1857 builtin and then its argument prototype would still apply. */ 1858#ifdef __cplusplus 1859extern "C" 1860#endif 1861char $2 (); 1862/* The GNU C library defines this for functions which it implements 1863 to always fail with ENOSYS. Some functions are actually named 1864 something starting with __ and the normal name is an alias. */ 1865#if defined __stub_$2 || defined __stub___$2 1866choke me 1867#endif 1868 1869int 1870main () 1871{ 1872return $2 (); 1873 ; 1874 return 0; 1875} 1876_ACEOF 1877if ac_fn_c_try_link "$LINENO"; then : 1878 eval "$3=yes" 1879else 1880 eval "$3=no" 1881fi 1882rm -f core conftest.err conftest.$ac_objext \ 1883 conftest$ac_exeext conftest.$ac_ext 1884fi 1885eval ac_res=\$$3 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1887$as_echo "$ac_res" >&6; } 1888 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1889 1890} # ac_fn_c_check_func 1891cat >config.log <<_ACEOF 1892This file contains any messages produced by compilers while 1893running configure, to aid debugging if configure makes a mistake. 1894 1895It was created by $as_me, which was 1896generated by GNU Autoconf 2.69. Invocation command line was 1897 1898 $ $0 $@ 1899 1900_ACEOF 1901exec 5>>config.log 1902{ 1903cat <<_ASUNAME 1904## --------- ## 1905## Platform. ## 1906## --------- ## 1907 1908hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1909uname -m = `(uname -m) 2>/dev/null || echo unknown` 1910uname -r = `(uname -r) 2>/dev/null || echo unknown` 1911uname -s = `(uname -s) 2>/dev/null || echo unknown` 1912uname -v = `(uname -v) 2>/dev/null || echo unknown` 1913 1914/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1915/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1916 1917/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1918/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1919/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1920/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1921/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1922/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1923/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1924 1925_ASUNAME 1926 1927as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1928for as_dir in $PATH 1929do 1930 IFS=$as_save_IFS 1931 test -z "$as_dir" && as_dir=. 1932 $as_echo "PATH: $as_dir" 1933 done 1934IFS=$as_save_IFS 1935 1936} >&5 1937 1938cat >&5 <<_ACEOF 1939 1940 1941## ----------- ## 1942## Core tests. ## 1943## ----------- ## 1944 1945_ACEOF 1946 1947 1948# Keep a trace of the command line. 1949# Strip out --no-create and --no-recursion so they do not pile up. 1950# Strip out --silent because we don't want to record it for future runs. 1951# Also quote any args containing shell meta-characters. 1952# Make two passes to allow for proper duplicate-argument suppression. 1953ac_configure_args= 1954ac_configure_args0= 1955ac_configure_args1= 1956ac_must_keep_next=false 1957for ac_pass in 1 2 1958do 1959 for ac_arg 1960 do 1961 case $ac_arg in 1962 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1964 | -silent | --silent | --silen | --sile | --sil) 1965 continue ;; 1966 *\'*) 1967 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1968 esac 1969 case $ac_pass in 1970 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1971 2) 1972 as_fn_append ac_configure_args1 " '$ac_arg'" 1973 if test $ac_must_keep_next = true; then 1974 ac_must_keep_next=false # Got value, back to normal. 1975 else 1976 case $ac_arg in 1977 *=* | --config-cache | -C | -disable-* | --disable-* \ 1978 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1979 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1980 | -with-* | --with-* | -without-* | --without-* | --x) 1981 case "$ac_configure_args0 " in 1982 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1983 esac 1984 ;; 1985 -* ) ac_must_keep_next=true ;; 1986 esac 1987 fi 1988 as_fn_append ac_configure_args " '$ac_arg'" 1989 ;; 1990 esac 1991 done 1992done 1993{ ac_configure_args0=; unset ac_configure_args0;} 1994{ ac_configure_args1=; unset ac_configure_args1;} 1995 1996# When interrupted or exit'd, cleanup temporary files, and complete 1997# config.log. We remove comments because anyway the quotes in there 1998# would cause problems or look ugly. 1999# WARNING: Use '\'' to represent an apostrophe within the trap. 2000# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2001trap 'exit_status=$? 2002 # Save into config.log some information that might help in debugging. 2003 { 2004 echo 2005 2006 $as_echo "## ---------------- ## 2007## Cache variables. ## 2008## ---------------- ##" 2009 echo 2010 # The following way of writing the cache mishandles newlines in values, 2011( 2012 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2013 eval ac_val=\$$ac_var 2014 case $ac_val in #( 2015 *${as_nl}*) 2016 case $ac_var in #( 2017 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2018$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2019 esac 2020 case $ac_var in #( 2021 _ | IFS | as_nl) ;; #( 2022 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2023 *) { eval $ac_var=; unset $ac_var;} ;; 2024 esac ;; 2025 esac 2026 done 2027 (set) 2>&1 | 2028 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2029 *${as_nl}ac_space=\ *) 2030 sed -n \ 2031 "s/'\''/'\''\\\\'\'''\''/g; 2032 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2033 ;; #( 2034 *) 2035 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2036 ;; 2037 esac | 2038 sort 2039) 2040 echo 2041 2042 $as_echo "## ----------------- ## 2043## Output variables. ## 2044## ----------------- ##" 2045 echo 2046 for ac_var in $ac_subst_vars 2047 do 2048 eval ac_val=\$$ac_var 2049 case $ac_val in 2050 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2051 esac 2052 $as_echo "$ac_var='\''$ac_val'\''" 2053 done | sort 2054 echo 2055 2056 if test -n "$ac_subst_files"; then 2057 $as_echo "## ------------------- ## 2058## File substitutions. ## 2059## ------------------- ##" 2060 echo 2061 for ac_var in $ac_subst_files 2062 do 2063 eval ac_val=\$$ac_var 2064 case $ac_val in 2065 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2066 esac 2067 $as_echo "$ac_var='\''$ac_val'\''" 2068 done | sort 2069 echo 2070 fi 2071 2072 if test -s confdefs.h; then 2073 $as_echo "## ----------- ## 2074## confdefs.h. ## 2075## ----------- ##" 2076 echo 2077 cat confdefs.h 2078 echo 2079 fi 2080 test "$ac_signal" != 0 && 2081 $as_echo "$as_me: caught signal $ac_signal" 2082 $as_echo "$as_me: exit $exit_status" 2083 } >&5 2084 rm -f core *.core core.conftest.* && 2085 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2086 exit $exit_status 2087' 0 2088for ac_signal in 1 2 13 15; do 2089 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2090done 2091ac_signal=0 2092 2093# confdefs.h avoids OS command line length limits that DEFS can exceed. 2094rm -f -r conftest* confdefs.h 2095 2096$as_echo "/* confdefs.h */" > confdefs.h 2097 2098# Predefined preprocessor variables. 2099 2100cat >>confdefs.h <<_ACEOF 2101#define PACKAGE_NAME "$PACKAGE_NAME" 2102_ACEOF 2103 2104cat >>confdefs.h <<_ACEOF 2105#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2106_ACEOF 2107 2108cat >>confdefs.h <<_ACEOF 2109#define PACKAGE_VERSION "$PACKAGE_VERSION" 2110_ACEOF 2111 2112cat >>confdefs.h <<_ACEOF 2113#define PACKAGE_STRING "$PACKAGE_STRING" 2114_ACEOF 2115 2116cat >>confdefs.h <<_ACEOF 2117#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2118_ACEOF 2119 2120cat >>confdefs.h <<_ACEOF 2121#define PACKAGE_URL "$PACKAGE_URL" 2122_ACEOF 2123 2124 2125# Let the site file select an alternate cache file if it wants to. 2126# Prefer an explicitly selected file to automatically selected ones. 2127ac_site_file1=NONE 2128ac_site_file2=NONE 2129if test -n "$CONFIG_SITE"; then 2130 # We do not want a PATH search for config.site. 2131 case $CONFIG_SITE in #(( 2132 -*) ac_site_file1=./$CONFIG_SITE;; 2133 */*) ac_site_file1=$CONFIG_SITE;; 2134 *) ac_site_file1=./$CONFIG_SITE;; 2135 esac 2136elif test "x$prefix" != xNONE; then 2137 ac_site_file1=$prefix/share/config.site 2138 ac_site_file2=$prefix/etc/config.site 2139else 2140 ac_site_file1=$ac_default_prefix/share/config.site 2141 ac_site_file2=$ac_default_prefix/etc/config.site 2142fi 2143for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2144do 2145 test "x$ac_site_file" = xNONE && continue 2146 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2147 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2148$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2149 sed 's/^/| /' "$ac_site_file" >&5 2150 . "$ac_site_file" \ 2151 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2152$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2153as_fn_error $? "failed to load site script $ac_site_file 2154See \`config.log' for more details" "$LINENO" 5; } 2155 fi 2156done 2157 2158if test -r "$cache_file"; then 2159 # Some versions of bash will fail to source /dev/null (special files 2160 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2161 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2162 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2163$as_echo "$as_me: loading cache $cache_file" >&6;} 2164 case $cache_file in 2165 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2166 *) . "./$cache_file";; 2167 esac 2168 fi 2169else 2170 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2171$as_echo "$as_me: creating cache $cache_file" >&6;} 2172 >$cache_file 2173fi 2174 2175# Check that the precious variables saved in the cache have kept the same 2176# value. 2177ac_cache_corrupted=false 2178for ac_var in $ac_precious_vars; do 2179 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2180 eval ac_new_set=\$ac_env_${ac_var}_set 2181 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2182 eval ac_new_val=\$ac_env_${ac_var}_value 2183 case $ac_old_set,$ac_new_set in 2184 set,) 2185 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2186$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2187 ac_cache_corrupted=: ;; 2188 ,set) 2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2190$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2191 ac_cache_corrupted=: ;; 2192 ,);; 2193 *) 2194 if test "x$ac_old_val" != "x$ac_new_val"; then 2195 # differences in whitespace do not lead to failure. 2196 ac_old_val_w=`echo x $ac_old_val` 2197 ac_new_val_w=`echo x $ac_new_val` 2198 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2199 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2200$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2201 ac_cache_corrupted=: 2202 else 2203 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2204$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2205 eval $ac_var=\$ac_old_val 2206 fi 2207 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2208$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2209 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2210$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2211 fi;; 2212 esac 2213 # Pass precious variables to config.status. 2214 if test "$ac_new_set" = set; then 2215 case $ac_new_val in 2216 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2217 *) ac_arg=$ac_var=$ac_new_val ;; 2218 esac 2219 case " $ac_configure_args " in 2220 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2221 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2222 esac 2223 fi 2224done 2225if $ac_cache_corrupted; then 2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2227$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2229$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2230 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2231fi 2232## -------------------- ## 2233## Main body of script. ## 2234## -------------------- ## 2235 2236ac_ext=c 2237ac_cpp='$CPP $CPPFLAGS' 2238ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2239ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2240ac_compiler_gnu=$ac_cv_c_compiler_gnu 2241 2242 2243 2244 2245 2246ac_ext=c 2247ac_cpp='$CPP $CPPFLAGS' 2248ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2249ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2250ac_compiler_gnu=$ac_cv_c_compiler_gnu 2251if test -n "$ac_tool_prefix"; then 2252 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2253set dummy ${ac_tool_prefix}gcc; ac_word=$2 2254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2255$as_echo_n "checking for $ac_word... " >&6; } 2256if ${ac_cv_prog_CC+:} false; then : 2257 $as_echo_n "(cached) " >&6 2258else 2259 if test -n "$CC"; then 2260 ac_cv_prog_CC="$CC" # Let the user override the test. 2261else 2262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2263for as_dir in $PATH 2264do 2265 IFS=$as_save_IFS 2266 test -z "$as_dir" && as_dir=. 2267 for ac_exec_ext in '' $ac_executable_extensions; do 2268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2269 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2271 break 2 2272 fi 2273done 2274 done 2275IFS=$as_save_IFS 2276 2277fi 2278fi 2279CC=$ac_cv_prog_CC 2280if test -n "$CC"; then 2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2282$as_echo "$CC" >&6; } 2283else 2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2285$as_echo "no" >&6; } 2286fi 2287 2288 2289fi 2290if test -z "$ac_cv_prog_CC"; then 2291 ac_ct_CC=$CC 2292 # Extract the first word of "gcc", so it can be a program name with args. 2293set dummy gcc; ac_word=$2 2294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2295$as_echo_n "checking for $ac_word... " >&6; } 2296if ${ac_cv_prog_ac_ct_CC+:} false; then : 2297 $as_echo_n "(cached) " >&6 2298else 2299 if test -n "$ac_ct_CC"; then 2300 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2301else 2302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2303for as_dir in $PATH 2304do 2305 IFS=$as_save_IFS 2306 test -z "$as_dir" && as_dir=. 2307 for ac_exec_ext in '' $ac_executable_extensions; do 2308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2309 ac_cv_prog_ac_ct_CC="gcc" 2310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2311 break 2 2312 fi 2313done 2314 done 2315IFS=$as_save_IFS 2316 2317fi 2318fi 2319ac_ct_CC=$ac_cv_prog_ac_ct_CC 2320if test -n "$ac_ct_CC"; then 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2322$as_echo "$ac_ct_CC" >&6; } 2323else 2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2325$as_echo "no" >&6; } 2326fi 2327 2328 if test "x$ac_ct_CC" = x; then 2329 CC="" 2330 else 2331 case $cross_compiling:$ac_tool_warned in 2332yes:) 2333{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2334$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2335ac_tool_warned=yes ;; 2336esac 2337 CC=$ac_ct_CC 2338 fi 2339else 2340 CC="$ac_cv_prog_CC" 2341fi 2342 2343if test -z "$CC"; then 2344 if test -n "$ac_tool_prefix"; then 2345 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2346set dummy ${ac_tool_prefix}cc; ac_word=$2 2347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2348$as_echo_n "checking for $ac_word... " >&6; } 2349if ${ac_cv_prog_CC+:} false; then : 2350 $as_echo_n "(cached) " >&6 2351else 2352 if test -n "$CC"; then 2353 ac_cv_prog_CC="$CC" # Let the user override the test. 2354else 2355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2356for as_dir in $PATH 2357do 2358 IFS=$as_save_IFS 2359 test -z "$as_dir" && as_dir=. 2360 for ac_exec_ext in '' $ac_executable_extensions; do 2361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2362 ac_cv_prog_CC="${ac_tool_prefix}cc" 2363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2364 break 2 2365 fi 2366done 2367 done 2368IFS=$as_save_IFS 2369 2370fi 2371fi 2372CC=$ac_cv_prog_CC 2373if test -n "$CC"; then 2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2375$as_echo "$CC" >&6; } 2376else 2377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2378$as_echo "no" >&6; } 2379fi 2380 2381 2382 fi 2383fi 2384if test -z "$CC"; then 2385 # Extract the first word of "cc", so it can be a program name with args. 2386set dummy cc; ac_word=$2 2387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2388$as_echo_n "checking for $ac_word... " >&6; } 2389if ${ac_cv_prog_CC+:} false; then : 2390 $as_echo_n "(cached) " >&6 2391else 2392 if test -n "$CC"; then 2393 ac_cv_prog_CC="$CC" # Let the user override the test. 2394else 2395 ac_prog_rejected=no 2396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2397for as_dir in $PATH 2398do 2399 IFS=$as_save_IFS 2400 test -z "$as_dir" && as_dir=. 2401 for ac_exec_ext in '' $ac_executable_extensions; do 2402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2403 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2404 ac_prog_rejected=yes 2405 continue 2406 fi 2407 ac_cv_prog_CC="cc" 2408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2409 break 2 2410 fi 2411done 2412 done 2413IFS=$as_save_IFS 2414 2415if test $ac_prog_rejected = yes; then 2416 # We found a bogon in the path, so make sure we never use it. 2417 set dummy $ac_cv_prog_CC 2418 shift 2419 if test $# != 0; then 2420 # We chose a different compiler from the bogus one. 2421 # However, it has the same basename, so the bogon will be chosen 2422 # first if we set CC to just the basename; use the full file name. 2423 shift 2424 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2425 fi 2426fi 2427fi 2428fi 2429CC=$ac_cv_prog_CC 2430if test -n "$CC"; then 2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2432$as_echo "$CC" >&6; } 2433else 2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2435$as_echo "no" >&6; } 2436fi 2437 2438 2439fi 2440if test -z "$CC"; then 2441 if test -n "$ac_tool_prefix"; then 2442 for ac_prog in cl.exe 2443 do 2444 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2445set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2447$as_echo_n "checking for $ac_word... " >&6; } 2448if ${ac_cv_prog_CC+:} false; then : 2449 $as_echo_n "(cached) " >&6 2450else 2451 if test -n "$CC"; then 2452 ac_cv_prog_CC="$CC" # Let the user override the test. 2453else 2454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2455for as_dir in $PATH 2456do 2457 IFS=$as_save_IFS 2458 test -z "$as_dir" && as_dir=. 2459 for ac_exec_ext in '' $ac_executable_extensions; do 2460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2461 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2463 break 2 2464 fi 2465done 2466 done 2467IFS=$as_save_IFS 2468 2469fi 2470fi 2471CC=$ac_cv_prog_CC 2472if test -n "$CC"; then 2473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2474$as_echo "$CC" >&6; } 2475else 2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2477$as_echo "no" >&6; } 2478fi 2479 2480 2481 test -n "$CC" && break 2482 done 2483fi 2484if test -z "$CC"; then 2485 ac_ct_CC=$CC 2486 for ac_prog in cl.exe 2487do 2488 # Extract the first word of "$ac_prog", so it can be a program name with args. 2489set dummy $ac_prog; ac_word=$2 2490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2491$as_echo_n "checking for $ac_word... " >&6; } 2492if ${ac_cv_prog_ac_ct_CC+:} false; then : 2493 $as_echo_n "(cached) " >&6 2494else 2495 if test -n "$ac_ct_CC"; then 2496 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2497else 2498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2499for as_dir in $PATH 2500do 2501 IFS=$as_save_IFS 2502 test -z "$as_dir" && as_dir=. 2503 for ac_exec_ext in '' $ac_executable_extensions; do 2504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2505 ac_cv_prog_ac_ct_CC="$ac_prog" 2506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2507 break 2 2508 fi 2509done 2510 done 2511IFS=$as_save_IFS 2512 2513fi 2514fi 2515ac_ct_CC=$ac_cv_prog_ac_ct_CC 2516if test -n "$ac_ct_CC"; then 2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2518$as_echo "$ac_ct_CC" >&6; } 2519else 2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2521$as_echo "no" >&6; } 2522fi 2523 2524 2525 test -n "$ac_ct_CC" && break 2526done 2527 2528 if test "x$ac_ct_CC" = x; then 2529 CC="" 2530 else 2531 case $cross_compiling:$ac_tool_warned in 2532yes:) 2533{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2534$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2535ac_tool_warned=yes ;; 2536esac 2537 CC=$ac_ct_CC 2538 fi 2539fi 2540 2541fi 2542 2543 2544test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2545$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2546as_fn_error $? "no acceptable C compiler found in \$PATH 2547See \`config.log' for more details" "$LINENO" 5; } 2548 2549# Provide some information about the compiler. 2550$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2551set X $ac_compile 2552ac_compiler=$2 2553for ac_option in --version -v -V -qversion; do 2554 { { ac_try="$ac_compiler $ac_option >&5" 2555case "(($ac_try" in 2556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2557 *) ac_try_echo=$ac_try;; 2558esac 2559eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2560$as_echo "$ac_try_echo"; } >&5 2561 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2562 ac_status=$? 2563 if test -s conftest.err; then 2564 sed '10a\ 2565... rest of stderr output deleted ... 2566 10q' conftest.err >conftest.er1 2567 cat conftest.er1 >&5 2568 fi 2569 rm -f conftest.er1 conftest.err 2570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2571 test $ac_status = 0; } 2572done 2573 2574cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2575/* end confdefs.h. */ 2576 2577int 2578main () 2579{ 2580 2581 ; 2582 return 0; 2583} 2584_ACEOF 2585ac_clean_files_save=$ac_clean_files 2586ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2587# Try to create an executable without -o first, disregard a.out. 2588# It will help us diagnose broken compilers, and finding out an intuition 2589# of exeext. 2590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2591$as_echo_n "checking whether the C compiler works... " >&6; } 2592ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2593 2594# The possible output files: 2595ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2596 2597ac_rmfiles= 2598for ac_file in $ac_files 2599do 2600 case $ac_file in 2601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2602 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2603 esac 2604done 2605rm -f $ac_rmfiles 2606 2607if { { ac_try="$ac_link_default" 2608case "(($ac_try" in 2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2610 *) ac_try_echo=$ac_try;; 2611esac 2612eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2613$as_echo "$ac_try_echo"; } >&5 2614 (eval "$ac_link_default") 2>&5 2615 ac_status=$? 2616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2617 test $ac_status = 0; }; then : 2618 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2619# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2620# in a Makefile. We should not override ac_cv_exeext if it was cached, 2621# so that the user can short-circuit this test for compilers unknown to 2622# Autoconf. 2623for ac_file in $ac_files '' 2624do 2625 test -f "$ac_file" || continue 2626 case $ac_file in 2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2628 ;; 2629 [ab].out ) 2630 # We found the default executable, but exeext='' is most 2631 # certainly right. 2632 break;; 2633 *.* ) 2634 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2635 then :; else 2636 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2637 fi 2638 # We set ac_cv_exeext here because the later test for it is not 2639 # safe: cross compilers may not add the suffix if given an `-o' 2640 # argument, so we may need to know it at that point already. 2641 # Even if this section looks crufty: it has the advantage of 2642 # actually working. 2643 break;; 2644 * ) 2645 break;; 2646 esac 2647done 2648test "$ac_cv_exeext" = no && ac_cv_exeext= 2649 2650else 2651 ac_file='' 2652fi 2653if test -z "$ac_file"; then : 2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2655$as_echo "no" >&6; } 2656$as_echo "$as_me: failed program was:" >&5 2657sed 's/^/| /' conftest.$ac_ext >&5 2658 2659{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2660$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2661as_fn_error 77 "C compiler cannot create executables 2662See \`config.log' for more details" "$LINENO" 5; } 2663else 2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2665$as_echo "yes" >&6; } 2666fi 2667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2668$as_echo_n "checking for C compiler default output file name... " >&6; } 2669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2670$as_echo "$ac_file" >&6; } 2671ac_exeext=$ac_cv_exeext 2672 2673rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2674ac_clean_files=$ac_clean_files_save 2675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2676$as_echo_n "checking for suffix of executables... " >&6; } 2677if { { ac_try="$ac_link" 2678case "(($ac_try" in 2679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2680 *) ac_try_echo=$ac_try;; 2681esac 2682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2683$as_echo "$ac_try_echo"; } >&5 2684 (eval "$ac_link") 2>&5 2685 ac_status=$? 2686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2687 test $ac_status = 0; }; then : 2688 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2689# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2690# work properly (i.e., refer to `conftest.exe'), while it won't with 2691# `rm'. 2692for ac_file in conftest.exe conftest conftest.*; do 2693 test -f "$ac_file" || continue 2694 case $ac_file in 2695 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2696 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2697 break;; 2698 * ) break;; 2699 esac 2700done 2701else 2702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2703$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2704as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2705See \`config.log' for more details" "$LINENO" 5; } 2706fi 2707rm -f conftest conftest$ac_cv_exeext 2708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2709$as_echo "$ac_cv_exeext" >&6; } 2710 2711rm -f conftest.$ac_ext 2712EXEEXT=$ac_cv_exeext 2713ac_exeext=$EXEEXT 2714cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2715/* end confdefs.h. */ 2716#include <stdio.h> 2717int 2718main () 2719{ 2720FILE *f = fopen ("conftest.out", "w"); 2721 return ferror (f) || fclose (f) != 0; 2722 2723 ; 2724 return 0; 2725} 2726_ACEOF 2727ac_clean_files="$ac_clean_files conftest.out" 2728# Check that the compiler produces executables we can run. If not, either 2729# the compiler is broken, or we cross compile. 2730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2731$as_echo_n "checking whether we are cross compiling... " >&6; } 2732if test "$cross_compiling" != yes; then 2733 { { ac_try="$ac_link" 2734case "(($ac_try" in 2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2736 *) ac_try_echo=$ac_try;; 2737esac 2738eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2739$as_echo "$ac_try_echo"; } >&5 2740 (eval "$ac_link") 2>&5 2741 ac_status=$? 2742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2743 test $ac_status = 0; } 2744 if { ac_try='./conftest$ac_cv_exeext' 2745 { { case "(($ac_try" in 2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2747 *) ac_try_echo=$ac_try;; 2748esac 2749eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2750$as_echo "$ac_try_echo"; } >&5 2751 (eval "$ac_try") 2>&5 2752 ac_status=$? 2753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2754 test $ac_status = 0; }; }; then 2755 cross_compiling=no 2756 else 2757 if test "$cross_compiling" = maybe; then 2758 cross_compiling=yes 2759 else 2760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2761$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2762as_fn_error $? "cannot run C compiled programs. 2763If you meant to cross compile, use \`--host'. 2764See \`config.log' for more details" "$LINENO" 5; } 2765 fi 2766 fi 2767fi 2768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2769$as_echo "$cross_compiling" >&6; } 2770 2771rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2772ac_clean_files=$ac_clean_files_save 2773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2774$as_echo_n "checking for suffix of object files... " >&6; } 2775if ${ac_cv_objext+:} false; then : 2776 $as_echo_n "(cached) " >&6 2777else 2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2779/* end confdefs.h. */ 2780 2781int 2782main () 2783{ 2784 2785 ; 2786 return 0; 2787} 2788_ACEOF 2789rm -f conftest.o conftest.obj 2790if { { ac_try="$ac_compile" 2791case "(($ac_try" in 2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2793 *) ac_try_echo=$ac_try;; 2794esac 2795eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2796$as_echo "$ac_try_echo"; } >&5 2797 (eval "$ac_compile") 2>&5 2798 ac_status=$? 2799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2800 test $ac_status = 0; }; then : 2801 for ac_file in conftest.o conftest.obj conftest.*; do 2802 test -f "$ac_file" || continue; 2803 case $ac_file in 2804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2805 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2806 break;; 2807 esac 2808done 2809else 2810 $as_echo "$as_me: failed program was:" >&5 2811sed 's/^/| /' conftest.$ac_ext >&5 2812 2813{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2814$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2815as_fn_error $? "cannot compute suffix of object files: cannot compile 2816See \`config.log' for more details" "$LINENO" 5; } 2817fi 2818rm -f conftest.$ac_cv_objext conftest.$ac_ext 2819fi 2820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2821$as_echo "$ac_cv_objext" >&6; } 2822OBJEXT=$ac_cv_objext 2823ac_objext=$OBJEXT 2824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2825$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2826if ${ac_cv_c_compiler_gnu+:} false; then : 2827 $as_echo_n "(cached) " >&6 2828else 2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2830/* end confdefs.h. */ 2831 2832int 2833main () 2834{ 2835#ifndef __GNUC__ 2836 choke me 2837#endif 2838 2839 ; 2840 return 0; 2841} 2842_ACEOF 2843if ac_fn_c_try_compile "$LINENO"; then : 2844 ac_compiler_gnu=yes 2845else 2846 ac_compiler_gnu=no 2847fi 2848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2849ac_cv_c_compiler_gnu=$ac_compiler_gnu 2850 2851fi 2852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2853$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2854if test $ac_compiler_gnu = yes; then 2855 GCC=yes 2856else 2857 GCC= 2858fi 2859ac_test_CFLAGS=${CFLAGS+set} 2860ac_save_CFLAGS=$CFLAGS 2861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2862$as_echo_n "checking whether $CC accepts -g... " >&6; } 2863if ${ac_cv_prog_cc_g+:} false; then : 2864 $as_echo_n "(cached) " >&6 2865else 2866 ac_save_c_werror_flag=$ac_c_werror_flag 2867 ac_c_werror_flag=yes 2868 ac_cv_prog_cc_g=no 2869 CFLAGS="-g" 2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2871/* end confdefs.h. */ 2872 2873int 2874main () 2875{ 2876 2877 ; 2878 return 0; 2879} 2880_ACEOF 2881if ac_fn_c_try_compile "$LINENO"; then : 2882 ac_cv_prog_cc_g=yes 2883else 2884 CFLAGS="" 2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2886/* end confdefs.h. */ 2887 2888int 2889main () 2890{ 2891 2892 ; 2893 return 0; 2894} 2895_ACEOF 2896if ac_fn_c_try_compile "$LINENO"; then : 2897 2898else 2899 ac_c_werror_flag=$ac_save_c_werror_flag 2900 CFLAGS="-g" 2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2902/* end confdefs.h. */ 2903 2904int 2905main () 2906{ 2907 2908 ; 2909 return 0; 2910} 2911_ACEOF 2912if ac_fn_c_try_compile "$LINENO"; then : 2913 ac_cv_prog_cc_g=yes 2914fi 2915rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2916fi 2917rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2918fi 2919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2920 ac_c_werror_flag=$ac_save_c_werror_flag 2921fi 2922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2923$as_echo "$ac_cv_prog_cc_g" >&6; } 2924if test "$ac_test_CFLAGS" = set; then 2925 CFLAGS=$ac_save_CFLAGS 2926elif test $ac_cv_prog_cc_g = yes; then 2927 if test "$GCC" = yes; then 2928 CFLAGS="-g -O2" 2929 else 2930 CFLAGS="-g" 2931 fi 2932else 2933 if test "$GCC" = yes; then 2934 CFLAGS="-O2" 2935 else 2936 CFLAGS= 2937 fi 2938fi 2939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2940$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2941if ${ac_cv_prog_cc_c89+:} false; then : 2942 $as_echo_n "(cached) " >&6 2943else 2944 ac_cv_prog_cc_c89=no 2945ac_save_CC=$CC 2946cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2947/* end confdefs.h. */ 2948#include <stdarg.h> 2949#include <stdio.h> 2950struct stat; 2951/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2952struct buf { int x; }; 2953FILE * (*rcsopen) (struct buf *, struct stat *, int); 2954static char *e (p, i) 2955 char **p; 2956 int i; 2957{ 2958 return p[i]; 2959} 2960static char *f (char * (*g) (char **, int), char **p, ...) 2961{ 2962 char *s; 2963 va_list v; 2964 va_start (v,p); 2965 s = g (p, va_arg (v,int)); 2966 va_end (v); 2967 return s; 2968} 2969 2970/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2971 function prototypes and stuff, but not '\xHH' hex character constants. 2972 These don't provoke an error unfortunately, instead are silently treated 2973 as 'x'. The following induces an error, until -std is added to get 2974 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2975 array size at least. It's necessary to write '\x00'==0 to get something 2976 that's true only with -std. */ 2977int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2978 2979/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2980 inside strings and character constants. */ 2981#define FOO(x) 'x' 2982int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2983 2984int test (int i, double x); 2985struct s1 {int (*f) (int a);}; 2986struct s2 {int (*f) (double a);}; 2987int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2988int argc; 2989char **argv; 2990int 2991main () 2992{ 2993return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2994 ; 2995 return 0; 2996} 2997_ACEOF 2998for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2999 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3000do 3001 CC="$ac_save_CC $ac_arg" 3002 if ac_fn_c_try_compile "$LINENO"; then : 3003 ac_cv_prog_cc_c89=$ac_arg 3004fi 3005rm -f core conftest.err conftest.$ac_objext 3006 test "x$ac_cv_prog_cc_c89" != "xno" && break 3007done 3008rm -f conftest.$ac_ext 3009CC=$ac_save_CC 3010 3011fi 3012# AC_CACHE_VAL 3013case "x$ac_cv_prog_cc_c89" in 3014 x) 3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3016$as_echo "none needed" >&6; } ;; 3017 xno) 3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3019$as_echo "unsupported" >&6; } ;; 3020 *) 3021 CC="$CC $ac_cv_prog_cc_c89" 3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3023$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3024esac 3025if test "x$ac_cv_prog_cc_c89" != xno; then : 3026 3027fi 3028 3029ac_ext=c 3030ac_cpp='$CPP $CPPFLAGS' 3031ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3032ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3033ac_compiler_gnu=$ac_cv_c_compiler_gnu 3034 for ac_prog in ar 3035do 3036 # Extract the first word of "$ac_prog", so it can be a program name with args. 3037set dummy $ac_prog; ac_word=$2 3038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3039$as_echo_n "checking for $ac_word... " >&6; } 3040if ${ac_cv_prog_AR+:} false; then : 3041 $as_echo_n "(cached) " >&6 3042else 3043 if test -n "$AR"; then 3044 ac_cv_prog_AR="$AR" # Let the user override the test. 3045else 3046as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3047for as_dir in $PATH 3048do 3049 IFS=$as_save_IFS 3050 test -z "$as_dir" && as_dir=. 3051 for ac_exec_ext in '' $ac_executable_extensions; do 3052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3053 ac_cv_prog_AR="$ac_prog" 3054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3055 break 2 3056 fi 3057done 3058 done 3059IFS=$as_save_IFS 3060 3061fi 3062fi 3063AR=$ac_cv_prog_AR 3064if test -n "$AR"; then 3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 3066$as_echo "$AR" >&6; } 3067else 3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3069$as_echo "no" >&6; } 3070fi 3071 3072 3073 test -n "$AR" && break 3074done 3075test -n "$AR" || AR="no" 3076 3077ac_config_headers="$ac_config_headers config.h" 3078 3079 3080PATH=$PATH:/usr/local/bin 3081 3082ac_aux_dir= 3083for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3084 if test -f "$ac_dir/install-sh"; then 3085 ac_aux_dir=$ac_dir 3086 ac_install_sh="$ac_aux_dir/install-sh -c" 3087 break 3088 elif test -f "$ac_dir/install.sh"; then 3089 ac_aux_dir=$ac_dir 3090 ac_install_sh="$ac_aux_dir/install.sh -c" 3091 break 3092 elif test -f "$ac_dir/shtool"; then 3093 ac_aux_dir=$ac_dir 3094 ac_install_sh="$ac_aux_dir/shtool install -c" 3095 break 3096 fi 3097done 3098if test -z "$ac_aux_dir"; then 3099 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3100fi 3101 3102# These three variables are undocumented and unsupported, 3103# and are intended to be withdrawn in a future Autoconf release. 3104# They can cause serious problems if a builder's source tree is in a directory 3105# whose full name contains unusual characters. 3106ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3107ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3108ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3109 3110 3111# Find a good install program. We prefer a C program (faster), 3112# so one script is as good as another. But avoid the broken or 3113# incompatible versions: 3114# SysV /etc/install, /usr/sbin/install 3115# SunOS /usr/etc/install 3116# IRIX /sbin/install 3117# AIX /bin/install 3118# AmigaOS /C/install, which installs bootblocks on floppy discs 3119# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3120# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3121# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3122# OS/2's system install, which has a completely different semantic 3123# ./install, which can be erroneously created by make from ./install.sh. 3124# Reject install programs that cannot install multiple files. 3125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3126$as_echo_n "checking for a BSD-compatible install... " >&6; } 3127if test -z "$INSTALL"; then 3128if ${ac_cv_path_install+:} false; then : 3129 $as_echo_n "(cached) " >&6 3130else 3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3132for as_dir in $PATH 3133do 3134 IFS=$as_save_IFS 3135 test -z "$as_dir" && as_dir=. 3136 # Account for people who put trailing slashes in PATH elements. 3137case $as_dir/ in #(( 3138 ./ | .// | /[cC]/* | \ 3139 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3140 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3141 /usr/ucb/* ) ;; 3142 *) 3143 # OSF1 and SCO ODT 3.0 have their own names for install. 3144 # Don't use installbsd from OSF since it installs stuff as root 3145 # by default. 3146 for ac_prog in ginstall scoinst install; do 3147 for ac_exec_ext in '' $ac_executable_extensions; do 3148 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3149 if test $ac_prog = install && 3150 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3151 # AIX install. It has an incompatible calling convention. 3152 : 3153 elif test $ac_prog = install && 3154 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3155 # program-specific install script used by HP pwplus--don't use. 3156 : 3157 else 3158 rm -rf conftest.one conftest.two conftest.dir 3159 echo one > conftest.one 3160 echo two > conftest.two 3161 mkdir conftest.dir 3162 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3163 test -s conftest.one && test -s conftest.two && 3164 test -s conftest.dir/conftest.one && 3165 test -s conftest.dir/conftest.two 3166 then 3167 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3168 break 3 3169 fi 3170 fi 3171 fi 3172 done 3173 done 3174 ;; 3175esac 3176 3177 done 3178IFS=$as_save_IFS 3179 3180rm -rf conftest.one conftest.two conftest.dir 3181 3182fi 3183 if test "${ac_cv_path_install+set}" = set; then 3184 INSTALL=$ac_cv_path_install 3185 else 3186 # As a last resort, use the slow shell script. Don't cache a 3187 # value for INSTALL within a source directory, because that will 3188 # break other packages using the cache if that directory is 3189 # removed, or if the value is a relative name. 3190 INSTALL=$ac_install_sh 3191 fi 3192fi 3193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3194$as_echo "$INSTALL" >&6; } 3195 3196# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3197# It thinks the first close brace ends the variable substitution. 3198test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3199 3200test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3201 3202test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3203 3204 3205 3206 3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 3208$as_echo_n "checking for unsigned long long int... " >&6; } 3209if ${ac_cv_type_unsigned_long_long_int+:} false; then : 3210 $as_echo_n "(cached) " >&6 3211else 3212 ac_cv_type_unsigned_long_long_int=yes 3213 if test "x${ac_cv_prog_cc_c99-no}" = xno; then 3214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3215/* end confdefs.h. */ 3216 3217 /* For now, do not test the preprocessor; as of 2007 there are too many 3218 implementations with broken preprocessors. Perhaps this can 3219 be revisited in 2012. In the meantime, code should not expect 3220 #if to work with literals wider than 32 bits. */ 3221 /* Test literals. */ 3222 long long int ll = 9223372036854775807ll; 3223 long long int nll = -9223372036854775807LL; 3224 unsigned long long int ull = 18446744073709551615ULL; 3225 /* Test constant expressions. */ 3226 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) 3227 ? 1 : -1)]; 3228 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 3229 ? 1 : -1)]; 3230 int i = 63; 3231int 3232main () 3233{ 3234/* Test availability of runtime routines for shift and division. */ 3235 long long int llmax = 9223372036854775807ll; 3236 unsigned long long int ullmax = 18446744073709551615ull; 3237 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) 3238 | (llmax / ll) | (llmax % ll) 3239 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) 3240 | (ullmax / ull) | (ullmax % ull)); 3241 ; 3242 return 0; 3243} 3244 3245_ACEOF 3246if ac_fn_c_try_link "$LINENO"; then : 3247 3248else 3249 ac_cv_type_unsigned_long_long_int=no 3250fi 3251rm -f core conftest.err conftest.$ac_objext \ 3252 conftest$ac_exeext conftest.$ac_ext 3253 fi 3254fi 3255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 3256$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } 3257 if test $ac_cv_type_unsigned_long_long_int = yes; then 3258 3259$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h 3260 3261 fi 3262 3263 3264 3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 3266$as_echo_n "checking for long long int... " >&6; } 3267if ${ac_cv_type_long_long_int+:} false; then : 3268 $as_echo_n "(cached) " >&6 3269else 3270 ac_cv_type_long_long_int=yes 3271 if test "x${ac_cv_prog_cc_c99-no}" = xno; then 3272 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int 3273 if test $ac_cv_type_long_long_int = yes; then 3274 if test "$cross_compiling" = yes; then : 3275 : 3276else 3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3278/* end confdefs.h. */ 3279#include <limits.h> 3280 #ifndef LLONG_MAX 3281 # define HALF \ 3282 (1LL << (sizeof (long long int) * CHAR_BIT - 2)) 3283 # define LLONG_MAX (HALF - 1 + HALF) 3284 #endif 3285int 3286main () 3287{ 3288long long int n = 1; 3289 int i; 3290 for (i = 0; ; i++) 3291 { 3292 long long int m = n << i; 3293 if (m >> i != n) 3294 return 1; 3295 if (LLONG_MAX / 2 < m) 3296 break; 3297 } 3298 return 0; 3299 ; 3300 return 0; 3301} 3302_ACEOF 3303if ac_fn_c_try_run "$LINENO"; then : 3304 3305else 3306 ac_cv_type_long_long_int=no 3307fi 3308rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3309 conftest.$ac_objext conftest.beam conftest.$ac_ext 3310fi 3311 3312 fi 3313 fi 3314fi 3315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 3316$as_echo "$ac_cv_type_long_long_int" >&6; } 3317 if test $ac_cv_type_long_long_int = yes; then 3318 3319$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h 3320 3321 fi 3322 3323 3324# Check whether --enable-embedded-perl was given. 3325if test "${enable_embedded_perl+set}" = set; then : 3326 enableval=$enable_embedded_perl; ac_cv_embedded_perl=$enableval 3327else 3328 ac_cv_embedded_perl=yes 3329fi 3330 3331# Check whether --enable-poll was given. 3332if test "${enable_poll+set}" = set; then : 3333 enableval=$enable_poll; ac_cv_use_poll=$enableval 3334else 3335 ac_cv_use_poll=no 3336fi 3337 3338# Extract the first word of "perl", so it can be a program name with args. 3339set dummy perl; ac_word=$2 3340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3341$as_echo_n "checking for $ac_word... " >&6; } 3342if ${ac_cv_path_PERL+:} false; then : 3343 $as_echo_n "(cached) " >&6 3344else 3345 case $PERL in 3346 [\\/]* | ?:[\\/]*) 3347 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 3348 ;; 3349 *) 3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3351for as_dir in $PATH 3352do 3353 IFS=$as_save_IFS 3354 test -z "$as_dir" && as_dir=. 3355 for ac_exec_ext in '' $ac_executable_extensions; do 3356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3357 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 3358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3359 break 2 3360 fi 3361done 3362 done 3363IFS=$as_save_IFS 3364 3365 ;; 3366esac 3367fi 3368PERL=$ac_cv_path_PERL 3369if test -n "$PERL"; then 3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5 3371$as_echo "$PERL" >&6; } 3372else 3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3374$as_echo "no" >&6; } 3375fi 3376 3377 3378 3379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether socklen_t is defined" >&5 3380$as_echo_n "checking whether socklen_t is defined... " >&6; } 3381cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3382/* end confdefs.h. */ 3383 3384#include <sys/types.h> 3385#include <sys/socket.h> 3386 3387int 3388main () 3389{ 3390socklen_t x; 3391 ; 3392 return 0; 3393} 3394_ACEOF 3395if ac_fn_c_try_compile "$LINENO"; then : 3396 ac_have_socklen_t=yes 3397else 3398 ac_have_socklen_t=no 3399fi 3400rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_socklen_t" >&5 3402$as_echo "$ac_have_socklen_t" >&6; } 3403if test "$ac_have_socklen_t" = "yes" ; then 3404 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h 3405 3406fi 3407 3408for thing in prefix siteprefix vendorprefix installarchlib installprivlib installbin installman1dir installman3dir installscript installsitearch installsitelib; do 3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl installation variable $thing" >&5 3410$as_echo_n "checking for Perl installation variable $thing... " >&6; } 3411 val=`$PERL -V:$thing | sed -e "s/^.*='//" -e "s/';$//"` 3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $val" >&5 3413$as_echo "$val" >&6; } 3414 up=`echo $thing | tr '[a-z]' '[A-Z]'` 3415 eval "PERL$up=$val" 3416done 3417 3418un=`uname -s -r` 3419if test "$un" = "SunOS 5.9" ; then 3420 ac_cv_func_wait3_rusage=yes 3421fi 3422 3423ac_ext=c 3424ac_cpp='$CPP $CPPFLAGS' 3425ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3426ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3427ac_compiler_gnu=$ac_cv_c_compiler_gnu 3428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3429$as_echo_n "checking how to run the C preprocessor... " >&6; } 3430# On Suns, sometimes $CPP names a directory. 3431if test -n "$CPP" && test -d "$CPP"; then 3432 CPP= 3433fi 3434if test -z "$CPP"; then 3435 if ${ac_cv_prog_CPP+:} false; then : 3436 $as_echo_n "(cached) " >&6 3437else 3438 # Double quotes because CPP needs to be expanded 3439 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3440 do 3441 ac_preproc_ok=false 3442for ac_c_preproc_warn_flag in '' yes 3443do 3444 # Use a header file that comes with gcc, so configuring glibc 3445 # with a fresh cross-compiler works. 3446 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3447 # <limits.h> exists even on freestanding compilers. 3448 # On the NeXT, cc -E runs the code through the compiler's parser, 3449 # not just through cpp. "Syntax error" is here to catch this case. 3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3451/* end confdefs.h. */ 3452#ifdef __STDC__ 3453# include <limits.h> 3454#else 3455# include <assert.h> 3456#endif 3457 Syntax error 3458_ACEOF 3459if ac_fn_c_try_cpp "$LINENO"; then : 3460 3461else 3462 # Broken: fails on valid input. 3463continue 3464fi 3465rm -f conftest.err conftest.i conftest.$ac_ext 3466 3467 # OK, works on sane cases. Now check whether nonexistent headers 3468 # can be detected and how. 3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3470/* end confdefs.h. */ 3471#include <ac_nonexistent.h> 3472_ACEOF 3473if ac_fn_c_try_cpp "$LINENO"; then : 3474 # Broken: success on invalid input. 3475continue 3476else 3477 # Passes both tests. 3478ac_preproc_ok=: 3479break 3480fi 3481rm -f conftest.err conftest.i conftest.$ac_ext 3482 3483done 3484# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3485rm -f conftest.i conftest.err conftest.$ac_ext 3486if $ac_preproc_ok; then : 3487 break 3488fi 3489 3490 done 3491 ac_cv_prog_CPP=$CPP 3492 3493fi 3494 CPP=$ac_cv_prog_CPP 3495else 3496 ac_cv_prog_CPP=$CPP 3497fi 3498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3499$as_echo "$CPP" >&6; } 3500ac_preproc_ok=false 3501for ac_c_preproc_warn_flag in '' yes 3502do 3503 # Use a header file that comes with gcc, so configuring glibc 3504 # with a fresh cross-compiler works. 3505 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3506 # <limits.h> exists even on freestanding compilers. 3507 # On the NeXT, cc -E runs the code through the compiler's parser, 3508 # not just through cpp. "Syntax error" is here to catch this case. 3509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3510/* end confdefs.h. */ 3511#ifdef __STDC__ 3512# include <limits.h> 3513#else 3514# include <assert.h> 3515#endif 3516 Syntax error 3517_ACEOF 3518if ac_fn_c_try_cpp "$LINENO"; then : 3519 3520else 3521 # Broken: fails on valid input. 3522continue 3523fi 3524rm -f conftest.err conftest.i conftest.$ac_ext 3525 3526 # OK, works on sane cases. Now check whether nonexistent headers 3527 # can be detected and how. 3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3529/* end confdefs.h. */ 3530#include <ac_nonexistent.h> 3531_ACEOF 3532if ac_fn_c_try_cpp "$LINENO"; then : 3533 # Broken: success on invalid input. 3534continue 3535else 3536 # Passes both tests. 3537ac_preproc_ok=: 3538break 3539fi 3540rm -f conftest.err conftest.i conftest.$ac_ext 3541 3542done 3543# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3544rm -f conftest.i conftest.err conftest.$ac_ext 3545if $ac_preproc_ok; then : 3546 3547else 3548 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3549$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3550as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3551See \`config.log' for more details" "$LINENO" 5; } 3552fi 3553 3554ac_ext=c 3555ac_cpp='$CPP $CPPFLAGS' 3556ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3557ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3558ac_compiler_gnu=$ac_cv_c_compiler_gnu 3559 3560 3561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3562$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3563if ${ac_cv_path_GREP+:} false; then : 3564 $as_echo_n "(cached) " >&6 3565else 3566 if test -z "$GREP"; then 3567 ac_path_GREP_found=false 3568 # Loop through the user's path and test for each of PROGNAME-LIST 3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3570for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3571do 3572 IFS=$as_save_IFS 3573 test -z "$as_dir" && as_dir=. 3574 for ac_prog in grep ggrep; do 3575 for ac_exec_ext in '' $ac_executable_extensions; do 3576 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3577 as_fn_executable_p "$ac_path_GREP" || continue 3578# Check for GNU ac_path_GREP and select it if it is found. 3579 # Check for GNU $ac_path_GREP 3580case `"$ac_path_GREP" --version 2>&1` in 3581*GNU*) 3582 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3583*) 3584 ac_count=0 3585 $as_echo_n 0123456789 >"conftest.in" 3586 while : 3587 do 3588 cat "conftest.in" "conftest.in" >"conftest.tmp" 3589 mv "conftest.tmp" "conftest.in" 3590 cp "conftest.in" "conftest.nl" 3591 $as_echo 'GREP' >> "conftest.nl" 3592 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3593 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3594 as_fn_arith $ac_count + 1 && ac_count=$as_val 3595 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3596 # Best one so far, save it but keep looking for a better one 3597 ac_cv_path_GREP="$ac_path_GREP" 3598 ac_path_GREP_max=$ac_count 3599 fi 3600 # 10*(2^10) chars as input seems more than enough 3601 test $ac_count -gt 10 && break 3602 done 3603 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3604esac 3605 3606 $ac_path_GREP_found && break 3 3607 done 3608 done 3609 done 3610IFS=$as_save_IFS 3611 if test -z "$ac_cv_path_GREP"; then 3612 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3613 fi 3614else 3615 ac_cv_path_GREP=$GREP 3616fi 3617 3618fi 3619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3620$as_echo "$ac_cv_path_GREP" >&6; } 3621 GREP="$ac_cv_path_GREP" 3622 3623 3624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3625$as_echo_n "checking for egrep... " >&6; } 3626if ${ac_cv_path_EGREP+:} false; then : 3627 $as_echo_n "(cached) " >&6 3628else 3629 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3630 then ac_cv_path_EGREP="$GREP -E" 3631 else 3632 if test -z "$EGREP"; then 3633 ac_path_EGREP_found=false 3634 # Loop through the user's path and test for each of PROGNAME-LIST 3635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3636for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3637do 3638 IFS=$as_save_IFS 3639 test -z "$as_dir" && as_dir=. 3640 for ac_prog in egrep; do 3641 for ac_exec_ext in '' $ac_executable_extensions; do 3642 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3643 as_fn_executable_p "$ac_path_EGREP" || continue 3644# Check for GNU ac_path_EGREP and select it if it is found. 3645 # Check for GNU $ac_path_EGREP 3646case `"$ac_path_EGREP" --version 2>&1` in 3647*GNU*) 3648 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3649*) 3650 ac_count=0 3651 $as_echo_n 0123456789 >"conftest.in" 3652 while : 3653 do 3654 cat "conftest.in" "conftest.in" >"conftest.tmp" 3655 mv "conftest.tmp" "conftest.in" 3656 cp "conftest.in" "conftest.nl" 3657 $as_echo 'EGREP' >> "conftest.nl" 3658 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3659 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3660 as_fn_arith $ac_count + 1 && ac_count=$as_val 3661 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3662 # Best one so far, save it but keep looking for a better one 3663 ac_cv_path_EGREP="$ac_path_EGREP" 3664 ac_path_EGREP_max=$ac_count 3665 fi 3666 # 10*(2^10) chars as input seems more than enough 3667 test $ac_count -gt 10 && break 3668 done 3669 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3670esac 3671 3672 $ac_path_EGREP_found && break 3 3673 done 3674 done 3675 done 3676IFS=$as_save_IFS 3677 if test -z "$ac_cv_path_EGREP"; then 3678 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3679 fi 3680else 3681 ac_cv_path_EGREP=$EGREP 3682fi 3683 3684 fi 3685fi 3686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3687$as_echo "$ac_cv_path_EGREP" >&6; } 3688 EGREP="$ac_cv_path_EGREP" 3689 3690 3691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3692$as_echo_n "checking for ANSI C header files... " >&6; } 3693if ${ac_cv_header_stdc+:} false; then : 3694 $as_echo_n "(cached) " >&6 3695else 3696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3697/* end confdefs.h. */ 3698#include <stdlib.h> 3699#include <stdarg.h> 3700#include <string.h> 3701#include <float.h> 3702 3703int 3704main () 3705{ 3706 3707 ; 3708 return 0; 3709} 3710_ACEOF 3711if ac_fn_c_try_compile "$LINENO"; then : 3712 ac_cv_header_stdc=yes 3713else 3714 ac_cv_header_stdc=no 3715fi 3716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3717 3718if test $ac_cv_header_stdc = yes; then 3719 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3721/* end confdefs.h. */ 3722#include <string.h> 3723 3724_ACEOF 3725if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3726 $EGREP "memchr" >/dev/null 2>&1; then : 3727 3728else 3729 ac_cv_header_stdc=no 3730fi 3731rm -f conftest* 3732 3733fi 3734 3735if test $ac_cv_header_stdc = yes; then 3736 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3738/* end confdefs.h. */ 3739#include <stdlib.h> 3740 3741_ACEOF 3742if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3743 $EGREP "free" >/dev/null 2>&1; then : 3744 3745else 3746 ac_cv_header_stdc=no 3747fi 3748rm -f conftest* 3749 3750fi 3751 3752if test $ac_cv_header_stdc = yes; then 3753 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3754 if test "$cross_compiling" = yes; then : 3755 : 3756else 3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3758/* end confdefs.h. */ 3759#include <ctype.h> 3760#include <stdlib.h> 3761#if ((' ' & 0x0FF) == 0x020) 3762# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3763# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3764#else 3765# define ISLOWER(c) \ 3766 (('a' <= (c) && (c) <= 'i') \ 3767 || ('j' <= (c) && (c) <= 'r') \ 3768 || ('s' <= (c) && (c) <= 'z')) 3769# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3770#endif 3771 3772#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3773int 3774main () 3775{ 3776 int i; 3777 for (i = 0; i < 256; i++) 3778 if (XOR (islower (i), ISLOWER (i)) 3779 || toupper (i) != TOUPPER (i)) 3780 return 2; 3781 return 0; 3782} 3783_ACEOF 3784if ac_fn_c_try_run "$LINENO"; then : 3785 3786else 3787 ac_cv_header_stdc=no 3788fi 3789rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3790 conftest.$ac_objext conftest.beam conftest.$ac_ext 3791fi 3792 3793fi 3794fi 3795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3796$as_echo "$ac_cv_header_stdc" >&6; } 3797if test $ac_cv_header_stdc = yes; then 3798 3799$as_echo "#define STDC_HEADERS 1" >>confdefs.h 3800 3801fi 3802 3803# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3804for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3805 inttypes.h stdint.h unistd.h 3806do : 3807 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3808ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3809" 3810if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3811 cat >>confdefs.h <<_ACEOF 3812#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3813_ACEOF 3814 3815fi 3816 3817done 3818 3819 3820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wait3 that fills in rusage" >&5 3821$as_echo_n "checking for wait3 that fills in rusage... " >&6; } 3822if ${ac_cv_func_wait3_rusage+:} false; then : 3823 $as_echo_n "(cached) " >&6 3824else 3825 if test "$cross_compiling" = yes; then : 3826 ac_cv_func_wait3_rusage=no 3827else 3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3829/* end confdefs.h. */ 3830$ac_includes_default 3831#include <sys/time.h> 3832#include <sys/resource.h> 3833#include <sys/wait.h> 3834/* HP-UX has wait3 but does not fill in rusage at all. */ 3835int 3836main () 3837{ 3838 struct rusage r; 3839 int i; 3840 /* Use a field that we can force nonzero -- 3841 voluntary context switches. 3842 For systems like NeXT and OSF/1 that don't set it, 3843 also use the system CPU time. And page faults (I/O) for Linux. */ 3844 r.ru_nvcsw = 0; 3845 r.ru_stime.tv_sec = 0; 3846 r.ru_stime.tv_usec = 0; 3847 r.ru_majflt = r.ru_minflt = 0; 3848 switch (fork ()) 3849 { 3850 case 0: /* Child. */ 3851 sleep(1); /* Give up the CPU. */ 3852 _exit(0); 3853 break; 3854 case -1: /* What can we do? */ 3855 _exit(0); 3856 break; 3857 default: /* Parent. */ 3858 wait3(&i, 0, &r); 3859 /* Avoid "text file busy" from rm on fast HP-UX machines. */ 3860 sleep(2); 3861 return (r.ru_nvcsw == 0 && r.ru_majflt == 0 && r.ru_minflt == 0 3862 && r.ru_stime.tv_sec == 0 && r.ru_stime.tv_usec == 0); 3863 } 3864} 3865_ACEOF 3866if ac_fn_c_try_run "$LINENO"; then : 3867 ac_cv_func_wait3_rusage=yes 3868else 3869 ac_cv_func_wait3_rusage=no 3870fi 3871rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3872 conftest.$ac_objext conftest.beam conftest.$ac_ext 3873fi 3874 3875fi 3876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_wait3_rusage" >&5 3877$as_echo "$ac_cv_func_wait3_rusage" >&6; } 3878if test $ac_cv_func_wait3_rusage = yes; then 3879 3880$as_echo "#define HAVE_WAIT3 1" >>confdefs.h 3881 3882fi 3883 3884 3885if test -z "$PERL" ; then 3886 as_fn_error $? "*** Cannot continue without Perl. Sorry." "$LINENO" 5 3887 exit 1 3888fi 3889 3890# Extract the first word of "nm", so it can be a program name with args. 3891set dummy nm; ac_word=$2 3892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3893$as_echo_n "checking for $ac_word... " >&6; } 3894if ${ac_cv_path_NM+:} false; then : 3895 $as_echo_n "(cached) " >&6 3896else 3897 case $NM in 3898 [\\/]* | ?:[\\/]*) 3899 ac_cv_path_NM="$NM" # Let the user override the test with a path. 3900 ;; 3901 *) 3902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3903for as_dir in $PATH 3904do 3905 IFS=$as_save_IFS 3906 test -z "$as_dir" && as_dir=. 3907 for ac_exec_ext in '' $ac_executable_extensions; do 3908 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3909 ac_cv_path_NM="$as_dir/$ac_word$ac_exec_ext" 3910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3911 break 2 3912 fi 3913done 3914 done 3915IFS=$as_save_IFS 3916 3917 ;; 3918esac 3919fi 3920NM=$ac_cv_path_NM 3921if test -n "$NM"; then 3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5 3923$as_echo "$NM" >&6; } 3924else 3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3926$as_echo "no" >&6; } 3927fi 3928 3929 3930 3931SENDMAILPROG=no 3932 3933# Check whether --with-sendmail was given. 3934if test "${with_sendmail+set}" = set; then : 3935 withval=$with_sendmail; SENDMAILPROG=$with_sendmail 3936else 3937 SENDMAILPROG=no 3938fi 3939 3940 3941DEFANGUSER="" 3942 3943# Check whether --with-user was given. 3944if test "${with_user+set}" = set; then : 3945 withval=$with_user; DEFANGUSER=$with_user 3946else 3947 DEFANGUSER=defang 3948fi 3949 3950 3951 3952 3953IP_HEADER=no 3954 3955# Check whether --with-ipheader was given. 3956if test "${with_ipheader+set}" = set; then : 3957 withval=$with_ipheader; IP_HEADER=$with_ipheader 3958else 3959 IP_HEADER=no 3960fi 3961 3962 3963 3964 3965MILTERINC= 3966 3967# Check whether --with-milterinc was given. 3968if test "${with_milterinc+set}" = set; then : 3969 withval=$with_milterinc; MILTERINC=$with_milterinc 3970else 3971 MILTERINC= 3972fi 3973 3974 3975MILTERLIB= 3976 3977# Check whether --with-milterlib was given. 3978if test "${with_milterlib+set}" = set; then : 3979 withval=$with_milterlib; MILTERLIB=$with_milterlib 3980else 3981 MILTERLIB= 3982fi 3983 3984 3985 3986# Check whether --with-confsubdir was given. 3987if test "${with_confsubdir+set}" = set; then : 3988 withval=$with_confsubdir; CONFSUBDIR="/$with_confsubdir" 3989else 3990 CONFSUBDIR=/mail 3991fi 3992 3993if test "$CONFSUBDIR" = "/" -o "$CONFSUBDIR" = "//" ; then 3994 CONFSUBDIR="" 3995fi 3996 3997 3998 3999 4000# Check whether --with-spooldir was given. 4001if test "${with_spooldir+set}" = set; then : 4002 withval=$with_spooldir; SPOOLDIR=$with_spooldir 4003else 4004 SPOOLDIR=/var/spool/MIMEDefang 4005fi 4006 4007 4008 4009# Check whether --with-quarantinedir was given. 4010if test "${with_quarantinedir+set}" = set; then : 4011 withval=$with_quarantinedir; QDIR=$with_quarantinedir 4012else 4013 QDIR=/var/spool/MD-Quarantine 4014fi 4015 4016 4017# Check whether --enable-cleanup-with-rm was given. 4018if test "${enable_cleanup_with_rm+set}" = set; then : 4019 enableval=$enable_cleanup_with_rm; ac_cv_cleanup_with_rm=$enableval 4020else 4021 ac_cv_cleanup_with_rm=no 4022fi 4023 4024 4025# Check whether --enable-pthread-flag was given. 4026if test "${enable_pthread_flag+set}" = set; then : 4027 enableval=$enable_pthread_flag; FORCE_PTHREAD_FLAG=-pthread 4028else 4029 FORCE_PTHREAD_FLAG="" 4030fi 4031 4032 4033if test "$ac_cv_cleanup_with_rm" = "yes" ; then 4034 CLEANUP_DEFS="-DEXEC_RM_FOR_CLEANUP" 4035else 4036 CLEANUP_DEFS="" 4037fi 4038 4039 4040 4041# Check whether --enable-check-perl-modules was given. 4042if test "${enable_check_perl_modules+set}" = set; then : 4043 enableval=$enable_check_perl_modules; ac_cv_perlmodcheck=$enableval 4044else 4045 ac_cv_perlmodcheck=yes 4046fi 4047 4048 4049if test "$ac_cv_perlmodcheck" = "no" ; then 4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compile-time checking for Perl modules disabled" >&5 4051$as_echo "Compile-time checking for Perl modules disabled" >&6; } 4052 HAVE_SPAM_ASSASSIN=yes 4053else 4054 for module in 'IO::Socket' 'MIME::Tools 5.410 ()' 'MIME::WordDecoder' 'Digest::SHA1' ; do 4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl module $module" >&5 4056$as_echo_n "checking for Perl module $module... " >&6; } 4057 (echo "use lib '$PERLINSTALLSITELIB'; use $module;" ; echo "exit(0);") | $PERL > /dev/null 2>&1 4058 if test $? != 0 ; then 4059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Error trying to use Perl module $module" >&5 4060$as_echo "$as_me: WARNING: *** Error trying to use Perl module $module" >&2;} 4061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Make sure the following Perl modules are installed:" >&5 4062$as_echo "$as_me: WARNING: *** Make sure the following Perl modules are installed:" >&2;} 4063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** MIME::Tools version 5.410 or higher (5.411a recommended)" >&5 4064$as_echo "$as_me: WARNING: *** MIME::Tools version 5.410 or higher (5.411a recommended)" >&2;} 4065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** MIME::WordDecoder" >&5 4066$as_echo "$as_me: WARNING: *** MIME::WordDecoder" >&2;} 4067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Digest::SHA1" >&5 4068$as_echo "$as_me: WARNING: *** Digest::SHA1" >&2;} 4069 exit 1 4070 fi 4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 4072$as_echo "ok" >&6; } 4073 done 4074 4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl module Mail::SpamAssassin 3.0 or better" >&5 4076$as_echo_n "checking for Perl module Mail::SpamAssassin 3.0 or better... " >&6; } 4077 (echo "use Mail::SpamAssassin 3.0 ();" ; echo "exit(0);") | $PERL > /dev/null 2>&1 4078 if test $? != 0 ; then 4079 HAVE_SPAM_ASSASSIN=no 4080 else 4081 HAVE_SPAM_ASSASSIN=yes 4082 fi 4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_SPAM_ASSASSIN" >&5 4084$as_echo "$HAVE_SPAM_ASSASSIN" >&6; } 4085 4086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl module HTML::Parser" >&5 4087$as_echo_n "checking for Perl module HTML::Parser... " >&6; } 4088 (echo "use HTML::Parser;" ; echo "exit(0);") | $PERL > /dev/null 2>&1 4089 if test $? != 0 ; then 4090 HAVE_HTML_PARSER=no 4091 else 4092 HAVE_HTML_PARSER=yes 4093 fi 4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_HTML_PARSER" >&5 4095$as_echo "$HAVE_HTML_PARSER" >&6; } 4096 4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl module Archive::Zip" >&5 4098$as_echo_n "checking for Perl module Archive::Zip... " >&6; } 4099 (echo "use Archive::Zip;" ; echo "exit(0);") | $PERL > /dev/null 2>&1 4100 if test $? != 0 ; then 4101 HAVE_ARCHIVE_ZIP=no 4102 else 4103 HAVE_ARCHIVE_ZIP=yes 4104 fi 4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ARCHIVE_ZIP" >&5 4106$as_echo "$HAVE_ARCHIVE_ZIP" >&6; } 4107 4108 dirs=`echo 'print "@INC\n";' | $PERL` 4109 foundit="" 4110 for i in $dirs ; do 4111 if test -r "$i/MIME/Field/ParamVal.pm" ; then 4112 foundit="$i/MIME/Field/ParamVal.pm" 4113 break 4114 fi 4115 done 4116 4117 if test "$foundit" != "" ; then 4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking MIME-Tools version" >&5 4119$as_echo_n "checking MIME-Tools version... " >&6; } 4120 mtversion=`echo '$x = $MIME::Tools::VERSION; $y = int($x) * 10000; $z = ($x - int($x)) * 10000; print $y + $z;' | $PERL -I$PERLINSTALLSITELIB -MMIME::Tools 2>/dev/null` 4121 mt_actual_version=`echo 'print "$MIME::Tools::VERSION";' | $PERL -I$PERLINSTALLSITELIB -MMIME::Tools 2>/dev/null` 4122 if test "$mtversion" = "" ; then 4123 mtversion="unknown" 4124 mt_actual_version="unknown" 4125 fi 4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mt_actual_version" >&5 4127$as_echo "$mt_actual_version" >&6; } 4128 else 4129 mtversion="unknown" 4130 fi 4131fi 4132 4133HAVE_A_SYSLOG=0 4134for module in 'Sys::Syslog' 'Unix::Syslog' ; do 4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl module $module" >&5 4136$as_echo_n "checking for Perl module $module... " >&6; } 4137 (echo "use $module;" ; echo "exit(0);") | $PERL > /dev/null 2>&1 4138 if test $? = 0 ; then 4139 HAVE_A_SYSLOG=1 4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 4141$as_echo "ok" >&6; } 4142 else 4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4144$as_echo "no" >&6; } 4145 fi 4146done 4147 4148if test $HAVE_A_SYSLOG = 0 ; then 4149 if test "$ac_cv_perlmodcheck" = "yes" ; then 4150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Error: Could not find Sys::Syslog or Unix::Syslog" >&5 4151$as_echo "$as_me: WARNING: *** Error: Could not find Sys::Syslog or Unix::Syslog" >&2;} 4152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** One of those Perl modules is required." >&5 4153$as_echo "$as_me: WARNING: *** One of those Perl modules is required." >&2;}; 4154 exit 1 4155 fi 4156fi 4157 4158if test "$ac_cv_embedded_perl" = "no" ; then 4159 echo "Check for embedded perl disabled by --disable-embedded-perl option" 4160 HAVE_EXTUTILS_EMBED=no 4161else 4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Perl module ExtUtils::Embed" >&5 4163$as_echo_n "checking for Perl module ExtUtils::Embed... " >&6; } 4164 (echo "use ExtUtils::Embed;" ; echo "exit(0);") | $PERL > /dev/null 2>&1 4165 if test $? = 0 ; then 4166 HAVE_EXTUTILS_EMBED=yes 4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 4168$as_echo "ok" >&6; } 4169 else 4170 HAVE_EXTUTILS_EMBED=no 4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4172$as_echo "no" >&6; } 4173 fi 4174fi 4175 4176 4177for ac_header in getopt.h unistd.h stdint.h poll.h stdint.h 4178do : 4179 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4180ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4181if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4182 cat >>confdefs.h <<_ACEOF 4183#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4184_ACEOF 4185 4186fi 4187 4188done 4189 4190 4191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h defines uint32_t" >&5 4192$as_echo_n "checking whether stdint.h defines uint32_t... " >&6; } 4193cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4194/* end confdefs.h. */ 4195 4196#include <stdint.h> 4197 4198int 4199main () 4200{ 4201uint32_t foo; 4202 ; 4203 return 0; 4204} 4205_ACEOF 4206if ac_fn_c_try_compile "$LINENO"; then : 4207 ac_uint32_t_defined=yes 4208else 4209 ac_uint32_t_defined=no 4210fi 4211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uint32_t_defined" >&5 4213$as_echo "$ac_uint32_t_defined" >&6; } 4214 4215if test "$ac_uint32_t_defined" = "yes" ; then 4216 $as_echo "#define HAVE_UINT32_T 1" >>confdefs.h 4217 4218fi 4219 4220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines uint32_t" >&5 4221$as_echo_n "checking whether sys/types.h defines uint32_t... " >&6; } 4222cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4223/* end confdefs.h. */ 4224 4225#include <sys/types.h> 4226 4227int 4228main () 4229{ 4230uint32_t foo; 4231 ; 4232 return 0; 4233} 4234_ACEOF 4235if ac_fn_c_try_compile "$LINENO"; then : 4236 ac_uint32_t_defined=yes 4237else 4238 ac_uint32_t_defined=no 4239fi 4240rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uint32_t_defined" >&5 4242$as_echo "$ac_uint32_t_defined" >&6; } 4243 4244if test "$ac_uint32_t_defined" = "yes" ; then 4245 $as_echo "#define HAVE_UINT32_T 1" >>confdefs.h 4246 4247fi 4248 4249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sig_atomic_t is defined" >&5 4250$as_echo_n "checking whether sig_atomic_t is defined... " >&6; } 4251cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4252/* end confdefs.h. */ 4253 4254#include <signal.h> 4255 4256int 4257main () 4258{ 4259sig_atomic_t foo; 4260 ; 4261 return 0; 4262} 4263_ACEOF 4264if ac_fn_c_try_compile "$LINENO"; then : 4265 ac_have_sig_atomic_t=yes 4266else 4267 ac_have_sig_atomic_t=no 4268fi 4269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_sig_atomic_t" >&5 4271$as_echo "$ac_have_sig_atomic_t" >&6; } 4272if test "$ac_have_sig_atomic_t" = "yes" ; then 4273 $as_echo "#define HAVE_SIG_ATOMIC_T 1" >>confdefs.h 4274 4275fi 4276 4277 4278if test "$FORCE_PTHREAD_FLAG" = "-pthread" ; then 4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Forcing use of -pthread C compiler flag" >&5 4280$as_echo "Forcing use of -pthread C compiler flag" >&6; } 4281 PTHREAD_FLAG=-pthread 4282elif test "$GCC" = yes ; then 4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts -pthread" >&5 4284$as_echo_n "checking whether ${CC-cc} accepts -pthread... " >&6; } 4285 echo 'void f(){}' > conftest.c 4286 if test -z "`${CC-cc} -pthread -c conftest.c 2>&1`"; then 4287 ac_cv_prog_cc_pthread=yes 4288 PTHREAD_FLAG="-pthread" 4289 else 4290 PTHREAD_FLAG="" 4291 ac_cv_prog_cc_pthread=no 4292 fi 4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_pthread" >&5 4294$as_echo "$ac_cv_prog_cc_pthread" >&6; } 4295 rm -f conftest* 4296else 4297 PTHREAD_FLAG="" 4298fi 4299 4300if test "$HAVE_EXTUTILS_EMBED" = "yes" ; then 4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can embed a Perl interpreter in C" >&5 4302$as_echo_n "checking if we can embed a Perl interpreter in C... " >&6; } 4303 OLDCFLAGS="$CFLAGS" 4304 OLDLDFLAGS="$LDFLAGS" 4305 OLDLIBS="$LIBS" 4306 LIBS="-lperl $LIBS" 4307 EMBPERLLDFLAGS="`$PERL -MExtUtils::Embed -e ldopts`" 4308 EMBPERLCFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" 4309 LDFLAGS="$EMBPERLLDFLAGS $LDFLAGS" 4310 CFLAGS="$EMBPERLCFLAGS $CFLAGS" 4311 if test "$cross_compiling" = yes; then : 4312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4313$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4314as_fn_error $? "cannot run test program while cross compiling 4315See \`config.log' for more details" "$LINENO" 5; } 4316else 4317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4318/* end confdefs.h. */ 4319 4320#include <EXTERN.h> 4321#include <perl.h> 4322#include <stdlib.h> 4323static PerlInterpreter *my_perl; 4324int main(int argc, char **argv, char **env) { 4325 my_perl = perl_alloc(); 4326 if (!my_perl) exit(1); 4327 exit(0); 4328} 4329 4330_ACEOF 4331if ac_fn_c_try_run "$LINENO"; then : 4332 EMBED_PERL=yes 4333else 4334 EMBED_PERL=no 4335fi 4336rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4337 conftest.$ac_objext conftest.beam conftest.$ac_ext 4338fi 4339 4340 LIBS="$OLDLIBS" 4341 CFLAGS="$OLDCFLAGS" 4342 LDFLAGS="$OLDLDFLAGS" 4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMBED_PERL" >&5 4344$as_echo "$EMBED_PERL" >&6; } 4345else 4346 EMBED_PERL=no 4347fi 4348if test "$EMBED_PERL" = "no" ; then 4349 EMBPERLCFLAGS="" 4350 EMBPERLLDFLAGS="" 4351 EMBPERLLIBS="" 4352 EMBPERLDEFS="" 4353 EMBPERLOBJS="" 4354else 4355 EMBPERLLIBS="-lperl" 4356 EMBPERLDEFS="-DEMBED_PERL" 4357 EMBPERLOBJS="embperl.o xs_init.o" 4358 # Check for buggy perl interpreter 4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if it is safe to destroy and recreate a Perl interpreter" >&5 4360$as_echo_n "checking if it is safe to destroy and recreate a Perl interpreter... " >&6; } 4361 LIBS="-lperl $LIBS" 4362 LDFLAGS="$EMBPERLLDFLAGS $LDFLAGS" 4363 CFLAGS="$EMBPERLCFLAGS $CFLAGS $PTHREAD_FLAG" 4364 if test "$cross_compiling" = yes; then : 4365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4366$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4367as_fn_error $? "cannot run test program while cross compiling 4368See \`config.log' for more details" "$LINENO" 5; } 4369else 4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4371/* end confdefs.h. */ 4372 4373#include <EXTERN.h> 4374#include <perl.h> 4375 4376static PerlInterpreter *my_perl = NULL; 4377static char **argv = NULL; 4378 4379int 4380make_embedded_interpreter(char **env) 4381{ 4382 int argc; 4383 if (!argv) { 4384 argv = (char **) malloc(6 * sizeof(char *)); 4385 } 4386 if (my_perl != NULL) { 4387 perl_destruct(my_perl); 4388 perl_free(my_perl); 4389#ifdef PERL_SYS_TERM 4390 PERL_SYS_TERM(); 4391#endif 4392 my_perl = NULL; 4393 } 4394 argv[0] = ""; 4395 argv[1] = "-e"; 4396 argv[2] = "print(\"\");"; 4397 argv[3] = NULL; 4398 argc = 3; 4399 4400#ifdef PERL_SYS_INIT3 4401 PERL_SYS_INIT3(&argc, &argv, &env); 4402#endif 4403 my_perl = perl_alloc(); 4404 if (!my_perl) { 4405 return -1; 4406 } 4407 PERL_SET_CONTEXT(my_perl); 4408 PL_perl_destruct_level = 1; 4409 perl_construct(my_perl); 4410 PL_perl_destruct_level = 1; 4411 argv[0] = ""; 4412 argv[1] = "-e"; 4413 argv[2] = "print(\"\");"; 4414 argv[3] = NULL; 4415 argc = 3; 4416 perl_parse(my_perl, NULL, argc, argv, NULL); 4417 perl_run(my_perl); 4418 return 0; 4419} 4420 4421int 4422main(int argc, char **argv, char **env) 4423{ 4424 make_embedded_interpreter(env); 4425 make_embedded_interpreter(env); 4426#ifdef PERL_SYS_TERM 4427 PERL_SYS_TERM(); 4428#endif 4429 return 0; 4430} 4431 4432_ACEOF 4433if ac_fn_c_try_run "$LINENO"; then : 4434 SAFE_EMBED_PERL=yes 4435else 4436 SAFE_EMBED_PERL=no 4437fi 4438rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4439 conftest.$ac_objext conftest.beam conftest.$ac_ext 4440fi 4441 4442 LIBS="$OLDLIBS" 4443 CFLAGS="$OLDCFLAGS" 4444 LDFLAGS="$OLDLDFLAGS" 4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SAFE_EMBED_PERL" >&5 4446$as_echo "$SAFE_EMBED_PERL" >&6; } 4447 if test "$SAFE_EMBED_PERL" = "yes" ; then 4448 EMBPERLDEFS="$EMBPERLDEFS -DSAFE_EMBED_PERL" 4449 fi 4450fi 4451 4452if test "$ac_cv_use_poll" = "no" ; then 4453 USEPOLL="" 4454else 4455 if test "$ac_cv_header_poll_h" = "no" ; then 4456 USEPOLL="" 4457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** You used --enable-poll, but I cannot find the" >&5 4458$as_echo "$as_me: WARNING: *** You used --enable-poll, but I cannot find the" >&2;} 4459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** poll.h header. Turning OFF --enable-poll" >&5 4460$as_echo "$as_me: WARNING: *** poll.h header. Turning OFF --enable-poll" >&2;} 4461 else 4462 USEPOLL="-DEVENT_USE_POLL=1" 4463 fi 4464fi 4465 4466 4467 4468 4469 4470 4471 4472 4473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init in -lresolv" >&5 4474$as_echo_n "checking for res_init in -lresolv... " >&6; } 4475if ${ac_cv_lib_resolv_res_init+:} false; then : 4476 $as_echo_n "(cached) " >&6 4477else 4478 ac_check_lib_save_LIBS=$LIBS 4479LIBS="-lresolv $LIBS" 4480cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4481/* end confdefs.h. */ 4482 4483/* Override any GCC internal prototype to avoid an error. 4484 Use char because int might match the return type of a GCC 4485 builtin and then its argument prototype would still apply. */ 4486#ifdef __cplusplus 4487extern "C" 4488#endif 4489char res_init (); 4490int 4491main () 4492{ 4493return res_init (); 4494 ; 4495 return 0; 4496} 4497_ACEOF 4498if ac_fn_c_try_link "$LINENO"; then : 4499 ac_cv_lib_resolv_res_init=yes 4500else 4501 ac_cv_lib_resolv_res_init=no 4502fi 4503rm -f core conftest.err conftest.$ac_objext \ 4504 conftest$ac_exeext conftest.$ac_ext 4505LIBS=$ac_check_lib_save_LIBS 4506fi 4507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_init" >&5 4508$as_echo "$ac_cv_lib_resolv_res_init" >&6; } 4509if test "x$ac_cv_lib_resolv_res_init" = xyes; then : 4510 cat >>confdefs.h <<_ACEOF 4511#define HAVE_LIBRESOLV 1 4512_ACEOF 4513 4514 LIBS="-lresolv $LIBS" 4515 4516fi 4517 4518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for htons in -lsocket" >&5 4519$as_echo_n "checking for htons in -lsocket... " >&6; } 4520if ${ac_cv_lib_socket_htons+:} false; then : 4521 $as_echo_n "(cached) " >&6 4522else 4523 ac_check_lib_save_LIBS=$LIBS 4524LIBS="-lsocket $LIBS" 4525cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4526/* end confdefs.h. */ 4527 4528/* Override any GCC internal prototype to avoid an error. 4529 Use char because int might match the return type of a GCC 4530 builtin and then its argument prototype would still apply. */ 4531#ifdef __cplusplus 4532extern "C" 4533#endif 4534char htons (); 4535int 4536main () 4537{ 4538return htons (); 4539 ; 4540 return 0; 4541} 4542_ACEOF 4543if ac_fn_c_try_link "$LINENO"; then : 4544 ac_cv_lib_socket_htons=yes 4545else 4546 ac_cv_lib_socket_htons=no 4547fi 4548rm -f core conftest.err conftest.$ac_objext \ 4549 conftest$ac_exeext conftest.$ac_ext 4550LIBS=$ac_check_lib_save_LIBS 4551fi 4552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_htons" >&5 4553$as_echo "$ac_cv_lib_socket_htons" >&6; } 4554if test "x$ac_cv_lib_socket_htons" = xyes; then : 4555 cat >>confdefs.h <<_ACEOF 4556#define HAVE_LIBSOCKET 1 4557_ACEOF 4558 4559 LIBS="-lsocket $LIBS" 4560 4561fi 4562 4563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 4564$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 4565if ${ac_cv_lib_nsl_gethostbyname+:} false; then : 4566 $as_echo_n "(cached) " >&6 4567else 4568 ac_check_lib_save_LIBS=$LIBS 4569LIBS="-lnsl $LIBS" 4570cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4571/* end confdefs.h. */ 4572 4573/* Override any GCC internal prototype to avoid an error. 4574 Use char because int might match the return type of a GCC 4575 builtin and then its argument prototype would still apply. */ 4576#ifdef __cplusplus 4577extern "C" 4578#endif 4579char gethostbyname (); 4580int 4581main () 4582{ 4583return gethostbyname (); 4584 ; 4585 return 0; 4586} 4587_ACEOF 4588if ac_fn_c_try_link "$LINENO"; then : 4589 ac_cv_lib_nsl_gethostbyname=yes 4590else 4591 ac_cv_lib_nsl_gethostbyname=no 4592fi 4593rm -f core conftest.err conftest.$ac_objext \ 4594 conftest$ac_exeext conftest.$ac_ext 4595LIBS=$ac_check_lib_save_LIBS 4596fi 4597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 4598$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 4599if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : 4600 cat >>confdefs.h <<_ACEOF 4601#define HAVE_LIBNSL 1 4602_ACEOF 4603 4604 LIBS="-lnsl $LIBS" 4605 4606fi 4607 4608LIBS_WITHOUT_PTHREAD="$LIBS" 4609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_once in -lpthread" >&5 4610$as_echo_n "checking for pthread_once in -lpthread... " >&6; } 4611if ${ac_cv_lib_pthread_pthread_once+:} false; then : 4612 $as_echo_n "(cached) " >&6 4613else 4614 ac_check_lib_save_LIBS=$LIBS 4615LIBS="-lpthread $LIBS" 4616cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4617/* end confdefs.h. */ 4618 4619/* Override any GCC internal prototype to avoid an error. 4620 Use char because int might match the return type of a GCC 4621 builtin and then its argument prototype would still apply. */ 4622#ifdef __cplusplus 4623extern "C" 4624#endif 4625char pthread_once (); 4626int 4627main () 4628{ 4629return pthread_once (); 4630 ; 4631 return 0; 4632} 4633_ACEOF 4634if ac_fn_c_try_link "$LINENO"; then : 4635 ac_cv_lib_pthread_pthread_once=yes 4636else 4637 ac_cv_lib_pthread_pthread_once=no 4638fi 4639rm -f core conftest.err conftest.$ac_objext \ 4640 conftest$ac_exeext conftest.$ac_ext 4641LIBS=$ac_check_lib_save_LIBS 4642fi 4643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_once" >&5 4644$as_echo "$ac_cv_lib_pthread_pthread_once" >&6; } 4645if test "x$ac_cv_lib_pthread_pthread_once" = xyes; then : 4646 cat >>confdefs.h <<_ACEOF 4647#define HAVE_LIBPTHREAD 1 4648_ACEOF 4649 4650 LIBS="-lpthread $LIBS" 4651 4652fi 4653 4654 4655for ac_func in initgroups 4656do : 4657 ac_fn_c_check_func "$LINENO" "initgroups" "ac_cv_func_initgroups" 4658if test "x$ac_cv_func_initgroups" = xyes; then : 4659 cat >>confdefs.h <<_ACEOF 4660#define HAVE_INITGROUPS 1 4661_ACEOF 4662 4663fi 4664done 4665 4666for ac_func in getpwnam_r 4667do : 4668 ac_fn_c_check_func "$LINENO" "getpwnam_r" "ac_cv_func_getpwnam_r" 4669if test "x$ac_cv_func_getpwnam_r" = xyes; then : 4670 cat >>confdefs.h <<_ACEOF 4671#define HAVE_GETPWNAM_R 1 4672_ACEOF 4673 4674fi 4675done 4676 4677for ac_func in setrlimit 4678do : 4679 ac_fn_c_check_func "$LINENO" "setrlimit" "ac_cv_func_setrlimit" 4680if test "x$ac_cv_func_setrlimit" = xyes; then : 4681 cat >>confdefs.h <<_ACEOF 4682#define HAVE_SETRLIMIT 1 4683_ACEOF 4684 4685fi 4686done 4687 4688for ac_func in snprintf 4689do : 4690 ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf" 4691if test "x$ac_cv_func_snprintf" = xyes; then : 4692 cat >>confdefs.h <<_ACEOF 4693#define HAVE_SNPRINTF 1 4694_ACEOF 4695 4696fi 4697done 4698 4699for ac_func in vsnprintf 4700do : 4701 ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf" 4702if test "x$ac_cv_func_vsnprintf" = xyes; then : 4703 cat >>confdefs.h <<_ACEOF 4704#define HAVE_VSNPRINTF 1 4705_ACEOF 4706 4707fi 4708done 4709 4710for ac_func in readdir_r 4711do : 4712 ac_fn_c_check_func "$LINENO" "readdir_r" "ac_cv_func_readdir_r" 4713if test "x$ac_cv_func_readdir_r" = xyes; then : 4714 cat >>confdefs.h <<_ACEOF 4715#define HAVE_READDIR_R 1 4716_ACEOF 4717 4718fi 4719done 4720 4721for ac_func in pathconf 4722do : 4723 ac_fn_c_check_func "$LINENO" "pathconf" "ac_cv_func_pathconf" 4724if test "x$ac_cv_func_pathconf" = xyes; then : 4725 cat >>confdefs.h <<_ACEOF 4726#define HAVE_PATHCONF 1 4727_ACEOF 4728 4729fi 4730done 4731 4732for ac_func in inet_ntop 4733do : 4734 ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop" 4735if test "x$ac_cv_func_inet_ntop" = xyes; then : 4736 cat >>confdefs.h <<_ACEOF 4737#define HAVE_INET_NTOP 1 4738_ACEOF 4739 4740fi 4741done 4742 4743 4744if test "$SPOOLDIR" = "no" -o "$SPOOLDIR" = "" ; then 4745 SPOOLDIR=/var/spool/MIMEDefang 4746fi 4747 4748if test "$QDIR" = "no" -o "$QDIR" = "" ; then 4749 QDIR=/var/spool/MIMEDefang 4750fi 4751 4752 4753 4754 4755# Check whether --enable-debugging was given. 4756if test "${enable_debugging+set}" = set; then : 4757 enableval=$enable_debugging; ac_cv_debugging=$enableval 4758else 4759 ac_cv_debugging=no 4760fi 4761 4762 4763# Check whether --enable-anti-virus was given. 4764if test "${enable_anti_virus+set}" = set; then : 4765 enableval=$enable_anti_virus; ac_cv_antivirus=$enableval 4766else 4767 ac_cv_antivirus=yes 4768fi 4769 4770# Check whether --enable-antivir was given. 4771if test "${enable_antivir+set}" = set; then : 4772 enableval=$enable_antivir; ac_cv_antivir=$enableval 4773else 4774 ac_cv_antivir=yes 4775fi 4776 4777# Check whether --enable-vexira was given. 4778if test "${enable_vexira+set}" = set; then : 4779 enableval=$enable_vexira; ac_cv_vexira=$enableval 4780else 4781 ac_cv_vexira=yes 4782fi 4783 4784# Check whether --enable-uvscan was given. 4785if test "${enable_uvscan+set}" = set; then : 4786 enableval=$enable_uvscan; ac_cv_uvscan=$enableval 4787else 4788 ac_cv_uvscan=yes 4789fi 4790 4791# Check whether --enable-bdc was given. 4792if test "${enable_bdc+set}" = set; then : 4793 enableval=$enable_bdc; ac_cv_bdc=$enableval 4794else 4795 ac_cv_bdc=yes 4796fi 4797 4798# Check whether --enable-sweep was given. 4799if test "${enable_sweep+set}" = set; then : 4800 enableval=$enable_sweep; ac_cv_sweep=$enableval 4801else 4802 ac_cv_sweep=yes 4803fi 4804 4805# Check whether --enable-savscan was given. 4806if test "${enable_savscan+set}" = set; then : 4807 enableval=$enable_savscan; ac_cv_savscan=$enableval 4808else 4809 ac_cv_savscan=yes 4810fi 4811 4812# Check whether --enable-trend was given. 4813if test "${enable_trend+set}" = set; then : 4814 enableval=$enable_trend; ac_cv_trend=$enableval 4815else 4816 ac_cv_trend=yes 4817fi 4818 4819# Check whether --enable-AvpLinux was given. 4820if test "${enable_AvpLinux+set}" = set; then : 4821 enableval=$enable_AvpLinux; ac_cv_AvpLinux=$enableval 4822else 4823 ac_cv_AvpLinux=yes 4824fi 4825 4826# Check whether --enable-kavscanner was given. 4827if test "${enable_kavscanner+set}" = set; then : 4828 enableval=$enable_kavscanner; ac_cv_kavscanner=$enableval 4829else 4830 ac_cv_kavscanner=yes 4831fi 4832 4833# Check whether --enable-aveclient was given. 4834if test "${enable_aveclient+set}" = set; then : 4835 enableval=$enable_aveclient; ac_cv_aveclient=$enableval 4836else 4837 ac_cv_aveclient=yes 4838fi 4839 4840# Check whether --enable-clamav was given. 4841if test "${enable_clamav+set}" = set; then : 4842 enableval=$enable_clamav; ac_cv_clamav=$enableval 4843else 4844 ac_cv_clamav=yes 4845fi 4846 4847# Check whether --enable-fsav was given. 4848if test "${enable_fsav+set}" = set; then : 4849 enableval=$enable_fsav; ac_cv_fsav=$enableval 4850else 4851 ac_cv_fsav=yes 4852fi 4853 4854# Check whether --enable-csav was given. 4855if test "${enable_csav+set}" = set; then : 4856 enableval=$enable_csav; ac_cv_csav=$enableval 4857else 4858 ac_cv_csav=yes 4859fi 4860 4861# Check whether --enable-fprot was given. 4862if test "${enable_fprot+set}" = set; then : 4863 enableval=$enable_fprot; ac_cv_fprot=$enableval 4864else 4865 ac_cv_fprot=yes 4866fi 4867 4868# Check whether --enable-fpscan was given. 4869if test "${enable_fpscan+set}" = set; then : 4870 enableval=$enable_fpscan; ac_cv_fpscan=$enableval 4871else 4872 ac_cv_fpscan=yes 4873fi 4874 4875# Check whether --enable-sophie was given. 4876if test "${enable_sophie+set}" = set; then : 4877 enableval=$enable_sophie; ac_cv_sophie=$enableval 4878else 4879 ac_cv_sophie=yes 4880fi 4881 4882# Check whether --enable-nvcc was given. 4883if test "${enable_nvcc+set}" = set; then : 4884 enableval=$enable_nvcc; ac_cv_nvcc=$enableval 4885else 4886 ac_cv_nvcc=yes 4887fi 4888 4889# Check whether --enable-clamd was given. 4890if test "${enable_clamd+set}" = set; then : 4891 enableval=$enable_clamd; ac_cv_clamd=$enableval 4892else 4893 ac_cv_clamd=yes 4894fi 4895 4896# Check whether --enable-trophie was given. 4897if test "${enable_trophie+set}" = set; then : 4898 enableval=$enable_trophie; ac_cv_trophie=$enableval 4899else 4900 ac_cv_trophie=yes 4901fi 4902 4903# Check whether --enable-nod32 was given. 4904if test "${enable_nod32+set}" = set; then : 4905 enableval=$enable_nod32; ac_cv_nod32=$enableval 4906else 4907 ac_cv_nod32=yes 4908fi 4909 4910 4911ANTIVIR_PATH="$PATH:/usr/lib/AntiVir:/usr/local/uvscan:/opt/AVP:/etc/iscan:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bd7:/usr/local/bd7/bin:/opt/kav/bin:/opt/kav/5.5/kav4unix/bin/:/opt/eset/nod32/bin" 4912 4913if test "$ac_cv_antivirus" = "yes"; then 4914 if test "$ac_cv_antivir" = yes; then 4915 # Extract the first word of "antivir", so it can be a program name with args. 4916set dummy antivir; ac_word=$2 4917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4918$as_echo_n "checking for $ac_word... " >&6; } 4919if ${ac_cv_path_HBEDV+:} false; then : 4920 $as_echo_n "(cached) " >&6 4921else 4922 case $HBEDV in 4923 [\\/]* | ?:[\\/]*) 4924 ac_cv_path_HBEDV="$HBEDV" # Let the user override the test with a path. 4925 ;; 4926 *) 4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4928for as_dir in $ANTIVIR_PATH 4929do 4930 IFS=$as_save_IFS 4931 test -z "$as_dir" && as_dir=. 4932 for ac_exec_ext in '' $ac_executable_extensions; do 4933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4934 ac_cv_path_HBEDV="$as_dir/$ac_word$ac_exec_ext" 4935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4936 break 2 4937 fi 4938done 4939 done 4940IFS=$as_save_IFS 4941 4942 test -z "$ac_cv_path_HBEDV" && ac_cv_path_HBEDV="/bin/false" 4943 ;; 4944esac 4945fi 4946HBEDV=$ac_cv_path_HBEDV 4947if test -n "$HBEDV"; then 4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HBEDV" >&5 4949$as_echo "$HBEDV" >&6; } 4950else 4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4952$as_echo "no" >&6; } 4953fi 4954 4955 4956 fi 4957 4958 if test "$ac_cv_vexira" = yes; then 4959 # Extract the first word of "vascan", so it can be a program name with args. 4960set dummy vascan; ac_word=$2 4961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4962$as_echo_n "checking for $ac_word... " >&6; } 4963if ${ac_cv_path_VEXIRA+:} false; then : 4964 $as_echo_n "(cached) " >&6 4965else 4966 case $VEXIRA in 4967 [\\/]* | ?:[\\/]*) 4968 ac_cv_path_VEXIRA="$VEXIRA" # Let the user override the test with a path. 4969 ;; 4970 *) 4971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4972for as_dir in $ANTIVIR_PATH 4973do 4974 IFS=$as_save_IFS 4975 test -z "$as_dir" && as_dir=. 4976 for ac_exec_ext in '' $ac_executable_extensions; do 4977 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4978 ac_cv_path_VEXIRA="$as_dir/$ac_word$ac_exec_ext" 4979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4980 break 2 4981 fi 4982done 4983 done 4984IFS=$as_save_IFS 4985 4986 test -z "$ac_cv_path_VEXIRA" && ac_cv_path_VEXIRA="/bin/false" 4987 ;; 4988esac 4989fi 4990VEXIRA=$ac_cv_path_VEXIRA 4991if test -n "$VEXIRA"; then 4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VEXIRA" >&5 4993$as_echo "$VEXIRA" >&6; } 4994else 4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4996$as_echo "no" >&6; } 4997fi 4998 4999 5000 fi 5001 5002 if test "$ac_cv_uvscan" = yes; then 5003 # Extract the first word of "uvscan", so it can be a program name with args. 5004set dummy uvscan; ac_word=$2 5005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5006$as_echo_n "checking for $ac_word... " >&6; } 5007if ${ac_cv_path_NAI+:} false; then : 5008 $as_echo_n "(cached) " >&6 5009else 5010 case $NAI in 5011 [\\/]* | ?:[\\/]*) 5012 ac_cv_path_NAI="$NAI" # Let the user override the test with a path. 5013 ;; 5014 *) 5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5016for as_dir in $ANTIVIR_PATH 5017do 5018 IFS=$as_save_IFS 5019 test -z "$as_dir" && as_dir=. 5020 for ac_exec_ext in '' $ac_executable_extensions; do 5021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5022 ac_cv_path_NAI="$as_dir/$ac_word$ac_exec_ext" 5023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5024 break 2 5025 fi 5026done 5027 done 5028IFS=$as_save_IFS 5029 5030 test -z "$ac_cv_path_NAI" && ac_cv_path_NAI="/bin/false" 5031 ;; 5032esac 5033fi 5034NAI=$ac_cv_path_NAI 5035if test -n "$NAI"; then 5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NAI" >&5 5037$as_echo "$NAI" >&6; } 5038else 5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5040$as_echo "no" >&6; } 5041fi 5042 5043 5044 fi 5045 5046 if test "$ac_cv_bdc" = yes; then 5047 # Extract the first word of "bdc", so it can be a program name with args. 5048set dummy bdc; ac_word=$2 5049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5050$as_echo_n "checking for $ac_word... " >&6; } 5051if ${ac_cv_path_BDC+:} false; then : 5052 $as_echo_n "(cached) " >&6 5053else 5054 case $BDC in 5055 [\\/]* | ?:[\\/]*) 5056 ac_cv_path_BDC="$BDC" # Let the user override the test with a path. 5057 ;; 5058 *) 5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5060for as_dir in $ANTIVIR_PATH 5061do 5062 IFS=$as_save_IFS 5063 test -z "$as_dir" && as_dir=. 5064 for ac_exec_ext in '' $ac_executable_extensions; do 5065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5066 ac_cv_path_BDC="$as_dir/$ac_word$ac_exec_ext" 5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5068 break 2 5069 fi 5070done 5071 done 5072IFS=$as_save_IFS 5073 5074 test -z "$ac_cv_path_BDC" && ac_cv_path_BDC="/bin/false" 5075 ;; 5076esac 5077fi 5078BDC=$ac_cv_path_BDC 5079if test -n "$BDC"; then 5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BDC" >&5 5081$as_echo "$BDC" >&6; } 5082else 5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5084$as_echo "no" >&6; } 5085fi 5086 5087 5088 fi 5089 5090 if test "$ac_cv_sweep" = yes; then 5091 # Extract the first word of "sweep", so it can be a program name with args. 5092set dummy sweep; ac_word=$2 5093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5094$as_echo_n "checking for $ac_word... " >&6; } 5095if ${ac_cv_path_SOPHOS+:} false; then : 5096 $as_echo_n "(cached) " >&6 5097else 5098 case $SOPHOS in 5099 [\\/]* | ?:[\\/]*) 5100 ac_cv_path_SOPHOS="$SOPHOS" # Let the user override the test with a path. 5101 ;; 5102 *) 5103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5104for as_dir in $ANTIVIR_PATH 5105do 5106 IFS=$as_save_IFS 5107 test -z "$as_dir" && as_dir=. 5108 for ac_exec_ext in '' $ac_executable_extensions; do 5109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5110 ac_cv_path_SOPHOS="$as_dir/$ac_word$ac_exec_ext" 5111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5112 break 2 5113 fi 5114done 5115 done 5116IFS=$as_save_IFS 5117 5118 test -z "$ac_cv_path_SOPHOS" && ac_cv_path_SOPHOS="/bin/false" 5119 ;; 5120esac 5121fi 5122SOPHOS=$ac_cv_path_SOPHOS 5123if test -n "$SOPHOS"; then 5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOPHOS" >&5 5125$as_echo "$SOPHOS" >&6; } 5126else 5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5128$as_echo "no" >&6; } 5129fi 5130 5131 5132 fi 5133 5134 if test "$ac_cv_savscan" = yes; then 5135 # Extract the first word of "savscan", so it can be a program name with args. 5136set dummy savscan; ac_word=$2 5137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5138$as_echo_n "checking for $ac_word... " >&6; } 5139if ${ac_cv_path_SAVSCAN+:} false; then : 5140 $as_echo_n "(cached) " >&6 5141else 5142 case $SAVSCAN in 5143 [\\/]* | ?:[\\/]*) 5144 ac_cv_path_SAVSCAN="$SAVSCAN" # Let the user override the test with a path. 5145 ;; 5146 *) 5147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5148for as_dir in $ANTIVIR_PATH 5149do 5150 IFS=$as_save_IFS 5151 test -z "$as_dir" && as_dir=. 5152 for ac_exec_ext in '' $ac_executable_extensions; do 5153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5154 ac_cv_path_SAVSCAN="$as_dir/$ac_word$ac_exec_ext" 5155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5156 break 2 5157 fi 5158done 5159 done 5160IFS=$as_save_IFS 5161 5162 test -z "$ac_cv_path_SAVSCAN" && ac_cv_path_SAVSCAN="/bin/false" 5163 ;; 5164esac 5165fi 5166SAVSCAN=$ac_cv_path_SAVSCAN 5167if test -n "$SAVSCAN"; then 5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SAVSCAN" >&5 5169$as_echo "$SAVSCAN" >&6; } 5170else 5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5172$as_echo "no" >&6; } 5173fi 5174 5175 5176 fi 5177 5178 if test "$ac_cv_trend" = yes; then 5179 # Extract the first word of "vscan", so it can be a program name with args. 5180set dummy vscan; ac_word=$2 5181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5182$as_echo_n "checking for $ac_word... " >&6; } 5183if ${ac_cv_path_TREND+:} false; then : 5184 $as_echo_n "(cached) " >&6 5185else 5186 case $TREND in 5187 [\\/]* | ?:[\\/]*) 5188 ac_cv_path_TREND="$TREND" # Let the user override the test with a path. 5189 ;; 5190 *) 5191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5192for as_dir in $ANTIVIR_PATH 5193do 5194 IFS=$as_save_IFS 5195 test -z "$as_dir" && as_dir=. 5196 for ac_exec_ext in '' $ac_executable_extensions; do 5197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5198 ac_cv_path_TREND="$as_dir/$ac_word$ac_exec_ext" 5199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5200 break 2 5201 fi 5202done 5203 done 5204IFS=$as_save_IFS 5205 5206 test -z "$ac_cv_path_TREND" && ac_cv_path_TREND="/bin/false" 5207 ;; 5208esac 5209fi 5210TREND=$ac_cv_path_TREND 5211if test -n "$TREND"; then 5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TREND" >&5 5213$as_echo "$TREND" >&6; } 5214else 5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5216$as_echo "no" >&6; } 5217fi 5218 5219 5220 fi 5221 5222 if test "$ac_cv_kavscanner" = yes ; then 5223 # Extract the first word of "kavscanner", so it can be a program name with args. 5224set dummy kavscanner; ac_word=$2 5225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5226$as_echo_n "checking for $ac_word... " >&6; } 5227if ${ac_cv_path_KAVSCANNER+:} false; then : 5228 $as_echo_n "(cached) " >&6 5229else 5230 case $KAVSCANNER in 5231 [\\/]* | ?:[\\/]*) 5232 ac_cv_path_KAVSCANNER="$KAVSCANNER" # Let the user override the test with a path. 5233 ;; 5234 *) 5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5236for as_dir in $ANTIVIR_PATH 5237do 5238 IFS=$as_save_IFS 5239 test -z "$as_dir" && as_dir=. 5240 for ac_exec_ext in '' $ac_executable_extensions; do 5241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5242 ac_cv_path_KAVSCANNER="$as_dir/$ac_word$ac_exec_ext" 5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5244 break 2 5245 fi 5246done 5247 done 5248IFS=$as_save_IFS 5249 5250 test -z "$ac_cv_path_KAVSCANNER" && ac_cv_path_KAVSCANNER="/bin/false" 5251 ;; 5252esac 5253fi 5254KAVSCANNER=$ac_cv_path_KAVSCANNER 5255if test -n "$KAVSCANNER"; then 5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KAVSCANNER" >&5 5257$as_echo "$KAVSCANNER" >&6; } 5258else 5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5260$as_echo "no" >&6; } 5261fi 5262 5263 5264 fi 5265 5266 if test "$ac_cv_clamav" = yes; then 5267 # Extract the first word of "clamscan", so it can be a program name with args. 5268set dummy clamscan; ac_word=$2 5269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5270$as_echo_n "checking for $ac_word... " >&6; } 5271if ${ac_cv_path_CLAMSCAN+:} false; then : 5272 $as_echo_n "(cached) " >&6 5273else 5274 case $CLAMSCAN in 5275 [\\/]* | ?:[\\/]*) 5276 ac_cv_path_CLAMSCAN="$CLAMSCAN" # Let the user override the test with a path. 5277 ;; 5278 *) 5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5280for as_dir in $ANTIVIR_PATH 5281do 5282 IFS=$as_save_IFS 5283 test -z "$as_dir" && as_dir=. 5284 for ac_exec_ext in '' $ac_executable_extensions; do 5285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5286 ac_cv_path_CLAMSCAN="$as_dir/$ac_word$ac_exec_ext" 5287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5288 break 2 5289 fi 5290done 5291 done 5292IFS=$as_save_IFS 5293 5294 test -z "$ac_cv_path_CLAMSCAN" && ac_cv_path_CLAMSCAN="/bin/false" 5295 ;; 5296esac 5297fi 5298CLAMSCAN=$ac_cv_path_CLAMSCAN 5299if test -n "$CLAMSCAN"; then 5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLAMSCAN" >&5 5301$as_echo "$CLAMSCAN" >&6; } 5302else 5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5304$as_echo "no" >&6; } 5305fi 5306 5307 5308 fi 5309 5310 if test "$ac_cv_AvpLinux" = yes; then 5311 # Extract the first word of "AvpLinux", so it can be a program name with args. 5312set dummy AvpLinux; ac_word=$2 5313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5314$as_echo_n "checking for $ac_word... " >&6; } 5315if ${ac_cv_path_AVP+:} false; then : 5316 $as_echo_n "(cached) " >&6 5317else 5318 case $AVP in 5319 [\\/]* | ?:[\\/]*) 5320 ac_cv_path_AVP="$AVP" # Let the user override the test with a path. 5321 ;; 5322 *) 5323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5324for as_dir in $ANTIVIR_PATH 5325do 5326 IFS=$as_save_IFS 5327 test -z "$as_dir" && as_dir=. 5328 for ac_exec_ext in '' $ac_executable_extensions; do 5329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5330 ac_cv_path_AVP="$as_dir/$ac_word$ac_exec_ext" 5331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5332 break 2 5333 fi 5334done 5335 done 5336IFS=$as_save_IFS 5337 5338 test -z "$ac_cv_path_AVP" && ac_cv_path_AVP="/bin/false" 5339 ;; 5340esac 5341fi 5342AVP=$ac_cv_path_AVP 5343if test -n "$AVP"; then 5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AVP" >&5 5345$as_echo "$AVP" >&6; } 5346else 5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5348$as_echo "no" >&6; } 5349fi 5350 5351 5352 # Extract the first word of "kavdaemon", so it can be a program name with args. 5353set dummy kavdaemon; ac_word=$2 5354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5355$as_echo_n "checking for $ac_word... " >&6; } 5356if ${ac_cv_path_AVP_KAVDAEMON+:} false; then : 5357 $as_echo_n "(cached) " >&6 5358else 5359 case $AVP_KAVDAEMON in 5360 [\\/]* | ?:[\\/]*) 5361 ac_cv_path_AVP_KAVDAEMON="$AVP_KAVDAEMON" # Let the user override the test with a path. 5362 ;; 5363 *) 5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5365for as_dir in $ANTIVIR_PATH 5366do 5367 IFS=$as_save_IFS 5368 test -z "$as_dir" && as_dir=. 5369 for ac_exec_ext in '' $ac_executable_extensions; do 5370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5371 ac_cv_path_AVP_KAVDAEMON="$as_dir/$ac_word$ac_exec_ext" 5372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5373 break 2 5374 fi 5375done 5376 done 5377IFS=$as_save_IFS 5378 5379 test -z "$ac_cv_path_AVP_KAVDAEMON" && ac_cv_path_AVP_KAVDAEMON="/bin/false" 5380 ;; 5381esac 5382fi 5383AVP_KAVDAEMON=$ac_cv_path_AVP_KAVDAEMON 5384if test -n "$AVP_KAVDAEMON"; then 5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AVP_KAVDAEMON" >&5 5386$as_echo "$AVP_KAVDAEMON" >&6; } 5387else 5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5389$as_echo "no" >&6; } 5390fi 5391 5392 5393 fi 5394 5395 if test "$ac_cv_aveclient" = yes; then 5396 # Extract the first word of "aveclient", so it can be a program name with args. 5397set dummy aveclient; ac_word=$2 5398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5399$as_echo_n "checking for $ac_word... " >&6; } 5400if ${ac_cv_path_AVP5+:} false; then : 5401 $as_echo_n "(cached) " >&6 5402else 5403 case $AVP5 in 5404 [\\/]* | ?:[\\/]*) 5405 ac_cv_path_AVP5="$AVP5" # Let the user override the test with a path. 5406 ;; 5407 *) 5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5409for as_dir in $ANTIVIR_PATH 5410do 5411 IFS=$as_save_IFS 5412 test -z "$as_dir" && as_dir=. 5413 for ac_exec_ext in '' $ac_executable_extensions; do 5414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5415 ac_cv_path_AVP5="$as_dir/$ac_word$ac_exec_ext" 5416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5417 break 2 5418 fi 5419done 5420 done 5421IFS=$as_save_IFS 5422 5423 test -z "$ac_cv_path_AVP5" && ac_cv_path_AVP5="/bin/false" 5424 ;; 5425esac 5426fi 5427AVP5=$ac_cv_path_AVP5 5428if test -n "$AVP5"; then 5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AVP5" >&5 5430$as_echo "$AVP5" >&6; } 5431else 5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5433$as_echo "no" >&6; } 5434fi 5435 5436 5437 fi 5438 5439# Update AVP for best scanner: kavdaemon preferred over AvpLinux 5440 5441 if test "$AVP_KAVDAEMON" != "/bin/false" ; then 5442 AVP="$AVP_KAVDAEMON" 5443 fi 5444 5445 if test "$ac_cv_csav" = yes ; then 5446 # Extract the first word of "csav", so it can be a program name with args. 5447set dummy csav; ac_word=$2 5448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5449$as_echo_n "checking for $ac_word... " >&6; } 5450if ${ac_cv_path_CSAV+:} false; then : 5451 $as_echo_n "(cached) " >&6 5452else 5453 case $CSAV in 5454 [\\/]* | ?:[\\/]*) 5455 ac_cv_path_CSAV="$CSAV" # Let the user override the test with a path. 5456 ;; 5457 *) 5458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5459for as_dir in $ANTIVIR_PATH 5460do 5461 IFS=$as_save_IFS 5462 test -z "$as_dir" && as_dir=. 5463 for ac_exec_ext in '' $ac_executable_extensions; do 5464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5465 ac_cv_path_CSAV="$as_dir/$ac_word$ac_exec_ext" 5466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5467 break 2 5468 fi 5469done 5470 done 5471IFS=$as_save_IFS 5472 5473 test -z "$ac_cv_path_CSAV" && ac_cv_path_CSAV="/bin/false" 5474 ;; 5475esac 5476fi 5477CSAV=$ac_cv_path_CSAV 5478if test -n "$CSAV"; then 5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CSAV" >&5 5480$as_echo "$CSAV" >&6; } 5481else 5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5483$as_echo "no" >&6; } 5484fi 5485 5486 5487 fi 5488 5489 if test "$ac_cv_fsav" = yes; then 5490 # Extract the first word of "fsav", so it can be a program name with args. 5491set dummy fsav; ac_word=$2 5492{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5493$as_echo_n "checking for $ac_word... " >&6; } 5494if ${ac_cv_path_FSAV+:} false; then : 5495 $as_echo_n "(cached) " >&6 5496else 5497 case $FSAV in 5498 [\\/]* | ?:[\\/]*) 5499 ac_cv_path_FSAV="$FSAV" # Let the user override the test with a path. 5500 ;; 5501 *) 5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5503for as_dir in $ANTIVIR_PATH 5504do 5505 IFS=$as_save_IFS 5506 test -z "$as_dir" && as_dir=. 5507 for ac_exec_ext in '' $ac_executable_extensions; do 5508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5509 ac_cv_path_FSAV="$as_dir/$ac_word$ac_exec_ext" 5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5511 break 2 5512 fi 5513done 5514 done 5515IFS=$as_save_IFS 5516 5517 test -z "$ac_cv_path_FSAV" && ac_cv_path_FSAV="/bin/false" 5518 ;; 5519esac 5520fi 5521FSAV=$ac_cv_path_FSAV 5522if test -n "$FSAV"; then 5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FSAV" >&5 5524$as_echo "$FSAV" >&6; } 5525else 5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5527$as_echo "no" >&6; } 5528fi 5529 5530 5531 fi 5532 5533 if test "$ac_cv_fprot" = yes; then 5534 # Extract the first word of "f-prot", so it can be a program name with args. 5535set dummy f-prot; ac_word=$2 5536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5537$as_echo_n "checking for $ac_word... " >&6; } 5538if ${ac_cv_path_FPROT+:} false; then : 5539 $as_echo_n "(cached) " >&6 5540else 5541 case $FPROT in 5542 [\\/]* | ?:[\\/]*) 5543 ac_cv_path_FPROT="$FPROT" # Let the user override the test with a path. 5544 ;; 5545 *) 5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5547for as_dir in $ANTIVIR_PATH 5548do 5549 IFS=$as_save_IFS 5550 test -z "$as_dir" && as_dir=. 5551 for ac_exec_ext in '' $ac_executable_extensions; do 5552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5553 ac_cv_path_FPROT="$as_dir/$ac_word$ac_exec_ext" 5554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5555 break 2 5556 fi 5557done 5558 done 5559IFS=$as_save_IFS 5560 5561 test -z "$ac_cv_path_FPROT" && ac_cv_path_FPROT="/bin/false" 5562 ;; 5563esac 5564fi 5565FPROT=$ac_cv_path_FPROT 5566if test -n "$FPROT"; then 5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FPROT" >&5 5568$as_echo "$FPROT" >&6; } 5569else 5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5571$as_echo "no" >&6; } 5572fi 5573 5574 5575 fi 5576 5577 if test "$ac_cv_fpscan" = yes; then 5578 # Extract the first word of "fpscan", so it can be a program name with args. 5579set dummy fpscan; ac_word=$2 5580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5581$as_echo_n "checking for $ac_word... " >&6; } 5582if ${ac_cv_path_FPSCAN+:} false; then : 5583 $as_echo_n "(cached) " >&6 5584else 5585 case $FPSCAN in 5586 [\\/]* | ?:[\\/]*) 5587 ac_cv_path_FPSCAN="$FPSCAN" # Let the user override the test with a path. 5588 ;; 5589 *) 5590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5591for as_dir in $ANTIVIR_PATH 5592do 5593 IFS=$as_save_IFS 5594 test -z "$as_dir" && as_dir=. 5595 for ac_exec_ext in '' $ac_executable_extensions; do 5596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5597 ac_cv_path_FPSCAN="$as_dir/$ac_word$ac_exec_ext" 5598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5599 break 2 5600 fi 5601done 5602 done 5603IFS=$as_save_IFS 5604 5605 test -z "$ac_cv_path_FPSCAN" && ac_cv_path_FPSCAN="/bin/false" 5606 ;; 5607esac 5608fi 5609FPSCAN=$ac_cv_path_FPSCAN 5610if test -n "$FPSCAN"; then 5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FPSCAN" >&5 5612$as_echo "$FPSCAN" >&6; } 5613else 5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5615$as_echo "no" >&6; } 5616fi 5617 5618 5619 fi 5620 5621 if test "$ac_cv_sophie" = yes; then 5622 # Extract the first word of "sophie", so it can be a program name with args. 5623set dummy sophie; ac_word=$2 5624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5625$as_echo_n "checking for $ac_word... " >&6; } 5626if ${ac_cv_path_SOPHIE+:} false; then : 5627 $as_echo_n "(cached) " >&6 5628else 5629 case $SOPHIE in 5630 [\\/]* | ?:[\\/]*) 5631 ac_cv_path_SOPHIE="$SOPHIE" # Let the user override the test with a path. 5632 ;; 5633 *) 5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5635for as_dir in $ANTIVIR_PATH 5636do 5637 IFS=$as_save_IFS 5638 test -z "$as_dir" && as_dir=. 5639 for ac_exec_ext in '' $ac_executable_extensions; do 5640 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5641 ac_cv_path_SOPHIE="$as_dir/$ac_word$ac_exec_ext" 5642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5643 break 2 5644 fi 5645done 5646 done 5647IFS=$as_save_IFS 5648 5649 test -z "$ac_cv_path_SOPHIE" && ac_cv_path_SOPHIE="/bin/false" 5650 ;; 5651esac 5652fi 5653SOPHIE=$ac_cv_path_SOPHIE 5654if test -n "$SOPHIE"; then 5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SOPHIE" >&5 5656$as_echo "$SOPHIE" >&6; } 5657else 5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5659$as_echo "no" >&6; } 5660fi 5661 5662 5663 fi 5664 5665 if test "$ac_cv_nvcc" = yes; then 5666 # Extract the first word of "nvcc", so it can be a program name with args. 5667set dummy nvcc; ac_word=$2 5668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5669$as_echo_n "checking for $ac_word... " >&6; } 5670if ${ac_cv_path_NVCC+:} false; then : 5671 $as_echo_n "(cached) " >&6 5672else 5673 case $NVCC in 5674 [\\/]* | ?:[\\/]*) 5675 ac_cv_path_NVCC="$NVCC" # Let the user override the test with a path. 5676 ;; 5677 *) 5678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5679for as_dir in $ANTIVIR_PATH 5680do 5681 IFS=$as_save_IFS 5682 test -z "$as_dir" && as_dir=. 5683 for ac_exec_ext in '' $ac_executable_extensions; do 5684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5685 ac_cv_path_NVCC="$as_dir/$ac_word$ac_exec_ext" 5686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5687 break 2 5688 fi 5689done 5690 done 5691IFS=$as_save_IFS 5692 5693 test -z "$ac_cv_path_NVCC" && ac_cv_path_NVCC="/bin/false" 5694 ;; 5695esac 5696fi 5697NVCC=$ac_cv_path_NVCC 5698if test -n "$NVCC"; then 5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NVCC" >&5 5700$as_echo "$NVCC" >&6; } 5701else 5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5703$as_echo "no" >&6; } 5704fi 5705 5706 5707 fi 5708 5709 if test "$ac_cv_clamd" = yes; then 5710 # Extract the first word of "clamd", so it can be a program name with args. 5711set dummy clamd; ac_word=$2 5712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5713$as_echo_n "checking for $ac_word... " >&6; } 5714if ${ac_cv_path_CLAMD+:} false; then : 5715 $as_echo_n "(cached) " >&6 5716else 5717 case $CLAMD in 5718 [\\/]* | ?:[\\/]*) 5719 ac_cv_path_CLAMD="$CLAMD" # Let the user override the test with a path. 5720 ;; 5721 *) 5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5723for as_dir in $ANTIVIR_PATH 5724do 5725 IFS=$as_save_IFS 5726 test -z "$as_dir" && as_dir=. 5727 for ac_exec_ext in '' $ac_executable_extensions; do 5728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5729 ac_cv_path_CLAMD="$as_dir/$ac_word$ac_exec_ext" 5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5731 break 2 5732 fi 5733done 5734 done 5735IFS=$as_save_IFS 5736 5737 test -z "$ac_cv_path_CLAMD" && ac_cv_path_CLAMD="/bin/false" 5738 ;; 5739esac 5740fi 5741CLAMD=$ac_cv_path_CLAMD 5742if test -n "$CLAMD"; then 5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLAMD" >&5 5744$as_echo "$CLAMD" >&6; } 5745else 5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5747$as_echo "no" >&6; } 5748fi 5749 5750 5751 fi 5752 5753 if test "$ac_cv_trophie" = yes; then 5754 # Extract the first word of "trophie", so it can be a program name with args. 5755set dummy trophie; ac_word=$2 5756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5757$as_echo_n "checking for $ac_word... " >&6; } 5758if ${ac_cv_path_TROPHIE+:} false; then : 5759 $as_echo_n "(cached) " >&6 5760else 5761 case $TROPHIE in 5762 [\\/]* | ?:[\\/]*) 5763 ac_cv_path_TROPHIE="$TROPHIE" # Let the user override the test with a path. 5764 ;; 5765 *) 5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5767for as_dir in $ANTIVIR_PATH 5768do 5769 IFS=$as_save_IFS 5770 test -z "$as_dir" && as_dir=. 5771 for ac_exec_ext in '' $ac_executable_extensions; do 5772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5773 ac_cv_path_TROPHIE="$as_dir/$ac_word$ac_exec_ext" 5774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5775 break 2 5776 fi 5777done 5778 done 5779IFS=$as_save_IFS 5780 5781 test -z "$ac_cv_path_TROPHIE" && ac_cv_path_TROPHIE="/bin/false" 5782 ;; 5783esac 5784fi 5785TROPHIE=$ac_cv_path_TROPHIE 5786if test -n "$TROPHIE"; then 5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TROPHIE" >&5 5788$as_echo "$TROPHIE" >&6; } 5789else 5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5791$as_echo "no" >&6; } 5792fi 5793 5794 5795 fi 5796 5797 if test "$ac_cv_nod32" = yes; then 5798 # Extract the first word of "nod32cli", so it can be a program name with args. 5799set dummy nod32cli; ac_word=$2 5800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5801$as_echo_n "checking for $ac_word... " >&6; } 5802if ${ac_cv_path_NOD32+:} false; then : 5803 $as_echo_n "(cached) " >&6 5804else 5805 case $NOD32 in 5806 [\\/]* | ?:[\\/]*) 5807 ac_cv_path_NOD32="$NOD32" # Let the user override the test with a path. 5808 ;; 5809 *) 5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5811for as_dir in $ANTIVIR_PATH 5812do 5813 IFS=$as_save_IFS 5814 test -z "$as_dir" && as_dir=. 5815 for ac_exec_ext in '' $ac_executable_extensions; do 5816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5817 ac_cv_path_NOD32="$as_dir/$ac_word$ac_exec_ext" 5818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5819 break 2 5820 fi 5821done 5822 done 5823IFS=$as_save_IFS 5824 5825 test -z "$ac_cv_path_NOD32" && ac_cv_path_NOD32="/bin/false" 5826 ;; 5827esac 5828fi 5829NOD32=$ac_cv_path_NOD32 5830if test -n "$NOD32"; then 5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOD32" >&5 5832$as_echo "$NOD32" >&6; } 5833else 5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5835$as_echo "no" >&6; } 5836fi 5837 5838 5839 fi 5840fi 5841 5842test -z "$HBEDV" && HBEDV=/bin/false 5843test -z "$VEXIRA" && VEXIRA=/bin/false 5844test -z "$NAI" && NAI=/bin/false 5845test -z "$BDC" && BDC=/bin/false 5846test -z "$SOPHOS" && SOPHOS=/bin/false 5847test -z "$SAVSCAN" && SAVSCAN=/bin/false 5848test -z "$TREND" && TREND=/bin/false 5849test -z "$CLAMSCAN" && CLAMSCAN=/bin/false 5850test -z "$AVP" && AVP=/bin/false 5851test -z "$AVP5" && AVP5=/bin/false 5852test -z "$AVP_KAVDAEMON" && AVP_KAVDAEMON=/bin/false 5853test -z "$KAVSCANNER" && KAVSCANNER=/bin/false 5854test -z "$CSAV" && CSAV=/bin/false 5855test -z "$FSAV" && FSAV=/bin/false 5856test -z "$FPROT" && FPROT=/bin/false 5857test -z "$FPSCAN" && FPSCAN=/bin/false 5858test -z "$SOPHIE" && SOPHIE=/bin/false 5859test -z "$NVCC" && NVCC=/bin/false 5860test -z "$CLAMD" && CLAMD=/bin/false 5861test -z "$TROPHIE" && TROPHIE=/bin/false 5862test -z "$NOD32" && NOD32=/bin/false 5863 5864if test "$ac_cv_debugging" = yes ; then 5865 ENABLE_DEBUGGING=-DENABLE_DEBUGGING 5866else 5867 ENABLE_DEBUGGING= 5868fi 5869 5870if test "$SENDMAILPROG" = "no" ; then 5871 # Extract the first word of "sendmail", so it can be a program name with args. 5872set dummy sendmail; ac_word=$2 5873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5874$as_echo_n "checking for $ac_word... " >&6; } 5875if ${ac_cv_path_SENDMAILPROG+:} false; then : 5876 $as_echo_n "(cached) " >&6 5877else 5878 case $SENDMAILPROG in 5879 [\\/]* | ?:[\\/]*) 5880 ac_cv_path_SENDMAILPROG="$SENDMAILPROG" # Let the user override the test with a path. 5881 ;; 5882 *) 5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5884as_dummy="$PATH:/sbin:/usr/sbin:/usr/lib:/usr/libexec" 5885for as_dir in $as_dummy 5886do 5887 IFS=$as_save_IFS 5888 test -z "$as_dir" && as_dir=. 5889 for ac_exec_ext in '' $ac_executable_extensions; do 5890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5891 ac_cv_path_SENDMAILPROG="$as_dir/$ac_word$ac_exec_ext" 5892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5893 break 2 5894 fi 5895done 5896 done 5897IFS=$as_save_IFS 5898 5899 test -z "$ac_cv_path_SENDMAILPROG" && ac_cv_path_SENDMAILPROG="no" 5900 ;; 5901esac 5902fi 5903SENDMAILPROG=$ac_cv_path_SENDMAILPROG 5904if test -n "$SENDMAILPROG"; then 5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAILPROG" >&5 5906$as_echo "$SENDMAILPROG" >&6; } 5907else 5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5909$as_echo "no" >&6; } 5910fi 5911 5912 5913fi 5914 5915# Extract the first word of "rm", so it can be a program name with args. 5916set dummy rm; ac_word=$2 5917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5918$as_echo_n "checking for $ac_word... " >&6; } 5919if ${ac_cv_path_RM+:} false; then : 5920 $as_echo_n "(cached) " >&6 5921else 5922 case $RM in 5923 [\\/]* | ?:[\\/]*) 5924 ac_cv_path_RM="$RM" # Let the user override the test with a path. 5925 ;; 5926 *) 5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5928for as_dir in $PATH 5929do 5930 IFS=$as_save_IFS 5931 test -z "$as_dir" && as_dir=. 5932 for ac_exec_ext in '' $ac_executable_extensions; do 5933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5934 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" 5935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5936 break 2 5937 fi 5938done 5939 done 5940IFS=$as_save_IFS 5941 5942 test -z "$ac_cv_path_RM" && ac_cv_path_RM="no" 5943 ;; 5944esac 5945fi 5946RM=$ac_cv_path_RM 5947if test -n "$RM"; then 5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5 5949$as_echo "$RM" >&6; } 5950else 5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5952$as_echo "no" >&6; } 5953fi 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965if test "$SENDMAILPROG" = "no" ; then 5966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Oops.. I couldn't find the 'sendmail' program. Please install it." >&5 5967$as_echo "$as_me: WARNING: Oops.. I couldn't find the 'sendmail' program. Please install it." >&2;} 5968 PROBLEM=1 5969fi 5970 5971if test "$PROBLEM" = 1 ; then 5972 exit 1 5973fi 5974 5975if test "$GCC" = yes; then 5976 if test "`uname -s`" = Linux; then 5977 CFLAGS="$CFLAGS -Wall -Wstrict-prototypes" 5978 fi 5979fi 5980 5981 5982 5983VERSION=2.84 5984 5985 5986if test "$ac_cv_func_snprintf" != "yes" -o "$ac_cv_func_vsnprintf" != "yes" ; then 5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Your OS lacks snprintf or vsnprintf. Sorry!" >&5 5988$as_echo "Your OS lacks snprintf or vsnprintf. Sorry!" >&6; } 5989 exit 1 5990fi 5991 5992SMMILTER=`echo ../sendmail-*/include` 5993as_test_x='test -e' 5994as_executable_p='test -e' 5995# Redefine so AC_PATH_PROG works 5996as_fn_executable_p() { 5997test -e "$1" 5998} 5999 6000# Extract the first word of "libmilter/mfapi.h", so it can be a program name with args. 6001set dummy libmilter/mfapi.h; ac_word=$2 6002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6003$as_echo_n "checking for $ac_word... " >&6; } 6004if ${ac_cv_path_MINCLUDE+:} false; then : 6005 $as_echo_n "(cached) " >&6 6006else 6007 case $MINCLUDE in 6008 [\\/]* | ?:[\\/]*) 6009 ac_cv_path_MINCLUDE="$MINCLUDE" # Let the user override the test with a path. 6010 ;; 6011 *) 6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6013as_dummy="$MILTERINC:$SMMILTER:/usr/include:/usr/local/include:/usr/local/include/sendmail:/opt/local/include" 6014for as_dir in $as_dummy 6015do 6016 IFS=$as_save_IFS 6017 test -z "$as_dir" && as_dir=. 6018 for ac_exec_ext in '' $ac_executable_extensions; do 6019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6020 ac_cv_path_MINCLUDE="$as_dir/$ac_word$ac_exec_ext" 6021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6022 break 2 6023 fi 6024done 6025 done 6026IFS=$as_save_IFS 6027 6028 test -z "$ac_cv_path_MINCLUDE" && ac_cv_path_MINCLUDE="no" 6029 ;; 6030esac 6031fi 6032MINCLUDE=$ac_cv_path_MINCLUDE 6033if test -n "$MINCLUDE"; then 6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MINCLUDE" >&5 6035$as_echo "$MINCLUDE" >&6; } 6036else 6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6038$as_echo "no" >&6; } 6039fi 6040 6041 6042 6043MINCLUDE=`dirname "$MINCLUDE"` 6044MINCLUDE=`dirname "$MINCLUDE"` 6045 6046if test "$MINCLUDE" = "/usr/include" ; then 6047 MINCLUDE="" 6048else 6049 MINCLUDE="-I${MINCLUDE}" 6050fi 6051 6052SMPATH=`echo ../sendmail-*/obj.*/libmilter` 6053MDLIBPATH=/usr/local/lib:/usr/local/lib64:/usr/lib:/usr/lib64:/lib:/lib64:/usr/lib/libmilter:/usr/lib64/libmilter 6054# Extract the first word of "libmilter.a", so it can be a program name with args. 6055set dummy libmilter.a; ac_word=$2 6056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6057$as_echo_n "checking for $ac_word... " >&6; } 6058if ${ac_cv_path_LIBMILTER+:} false; then : 6059 $as_echo_n "(cached) " >&6 6060else 6061 case $LIBMILTER in 6062 [\\/]* | ?:[\\/]*) 6063 ac_cv_path_LIBMILTER="$LIBMILTER" # Let the user override the test with a path. 6064 ;; 6065 *) 6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6067as_dummy="$MILTERLIB:$SMPATH:$MDLIBPATH" 6068for as_dir in $as_dummy 6069do 6070 IFS=$as_save_IFS 6071 test -z "$as_dir" && as_dir=. 6072 for ac_exec_ext in '' $ac_executable_extensions; do 6073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6074 ac_cv_path_LIBMILTER="$as_dir/$ac_word$ac_exec_ext" 6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6076 break 2 6077 fi 6078done 6079 done 6080IFS=$as_save_IFS 6081 6082 test -z "$ac_cv_path_LIBMILTER" && ac_cv_path_LIBMILTER="no" 6083 ;; 6084esac 6085fi 6086LIBMILTER=$ac_cv_path_LIBMILTER 6087if test -n "$LIBMILTER"; then 6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBMILTER" >&5 6089$as_echo "$LIBMILTER" >&6; } 6090else 6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6092$as_echo "no" >&6; } 6093fi 6094 6095 6096SMPATH=`echo ../sendmail-*/obj.*/libsm` 6097# Extract the first word of "libsm.a", so it can be a program name with args. 6098set dummy libsm.a; ac_word=$2 6099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6100$as_echo_n "checking for $ac_word... " >&6; } 6101if ${ac_cv_path_LIBSM+:} false; then : 6102 $as_echo_n "(cached) " >&6 6103else 6104 case $LIBSM in 6105 [\\/]* | ?:[\\/]*) 6106 ac_cv_path_LIBSM="$LIBSM" # Let the user override the test with a path. 6107 ;; 6108 *) 6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6110as_dummy="$SMPATH:$MDLIBPATH" 6111for as_dir in $as_dummy 6112do 6113 IFS=$as_save_IFS 6114 test -z "$as_dir" && as_dir=. 6115 for ac_exec_ext in '' $ac_executable_extensions; do 6116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6117 ac_cv_path_LIBSM="$as_dir/$ac_word$ac_exec_ext" 6118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6119 break 2 6120 fi 6121done 6122 done 6123IFS=$as_save_IFS 6124 6125 test -z "$ac_cv_path_LIBSM" && ac_cv_path_LIBSM="no" 6126 ;; 6127esac 6128fi 6129LIBSM=$ac_cv_path_LIBSM 6130if test -n "$LIBSM"; then 6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBSM" >&5 6132$as_echo "$LIBSM" >&6; } 6133else 6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6135$as_echo "no" >&6; } 6136fi 6137 6138 6139 6140# Extract the first word of "libmilter.so", so it can be a program name with args. 6141set dummy libmilter.so; ac_word=$2 6142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6143$as_echo_n "checking for $ac_word... " >&6; } 6144if ${ac_cv_path_LIBMILTERSO+:} false; then : 6145 $as_echo_n "(cached) " >&6 6146else 6147 case $LIBMILTERSO in 6148 [\\/]* | ?:[\\/]*) 6149 ac_cv_path_LIBMILTERSO="$LIBMILTERSO" # Let the user override the test with a path. 6150 ;; 6151 *) 6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6153as_dummy="$MILTERLIB:$SMPATH:$MDLIBPATH" 6154for as_dir in $as_dummy 6155do 6156 IFS=$as_save_IFS 6157 test -z "$as_dir" && as_dir=. 6158 for ac_exec_ext in '' $ac_executable_extensions; do 6159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6160 ac_cv_path_LIBMILTERSO="$as_dir/$ac_word$ac_exec_ext" 6161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6162 break 2 6163 fi 6164done 6165 done 6166IFS=$as_save_IFS 6167 6168 test -z "$ac_cv_path_LIBMILTERSO" && ac_cv_path_LIBMILTERSO="no" 6169 ;; 6170esac 6171fi 6172LIBMILTERSO=$ac_cv_path_LIBMILTERSO 6173if test -n "$LIBMILTERSO"; then 6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBMILTERSO" >&5 6175$as_echo "$LIBMILTERSO" >&6; } 6176else 6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6178$as_echo "no" >&6; } 6179fi 6180 6181 6182 6183PROBLEM=0 6184if test "$LIBMILTER" = "no" -a "$LIBMILTERSO" = "no" ; then 6185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Oops.. I couldn't find libmilter.a or libmilter.so. Please install Sendmail" >&5 6186$as_echo "$as_me: WARNING: Oops.. I couldn't find libmilter.a or libmilter.so. Please install Sendmail" >&2;} 6187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: and its libraries. You must run Build in the libmilter/ directory" >&5 6188$as_echo "$as_me: WARNING: and its libraries. You must run Build in the libmilter/ directory" >&2;} 6189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to compile libmilter." >&5 6190$as_echo "$as_me: WARNING: to compile libmilter." >&2;} 6191 PROBLEM=1 6192fi 6193 6194if test "$LIBMILTER" != "no" ; then 6195 LIBMILTERACTUAL="$LIBMILTER" 6196else 6197 LIBMILTERACTUAL="$LIBMILTERSO" 6198fi 6199 6200LIBMILTERDIR=`dirname "$LIBMILTERACTUAL"` 6201 6202if test "$LIBMILTERDIR" = "/usr/lib" -o "$LIBMILTERDIR" = "/lib" -o "$LIBMILTERDIR" = "/usr/lib64" -o "$LIBMILTERDIR" = "/lib64" ; then 6203 LIBMILTERDIR="" 6204else 6205 LDFLAGS="$LDFLAGS -L$LIBMILTERDIR" 6206fi 6207 6208if test "$MINCLUDE" = "no" ; then 6209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Oops.. I couldn't find libmilter/mfapi.h. Please install Sendmail 8.12" >&5 6210$as_echo "$as_me: WARNING: Oops.. I couldn't find libmilter/mfapi.h. Please install Sendmail 8.12" >&2;} 6211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: and its header files." >&5 6212$as_echo "$as_me: WARNING: and its header files." >&2;} 6213 PROBLEM=1 6214fi 6215 6216 6217 OLD_LIBS="$LIBS" 6218 LIBS="$LIBS -lmilter" 6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libmilter requires -lsm" >&5 6220$as_echo_n "checking whether libmilter requires -lsm... " >&6; } 6221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6222/* end confdefs.h. */ 6223#include "libmilter/mfapi.h" 6224 #include <string.h> 6225int 6226main () 6227{ 6228extern size_t sm_strlcpy(char *, char const *, ssize_t); char foo[10]; sm_strlcpy(foo, "", 0); 6229 ; 6230 return 0; 6231} 6232_ACEOF 6233if ac_fn_c_try_link "$LINENO"; then : 6234 NEED_LIBSM=no 6235else 6236 NEED_LIBSM=yes 6237fi 6238rm -f core conftest.err conftest.$ac_objext \ 6239 conftest$ac_exeext conftest.$ac_ext 6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NEED_LIBSM" >&5 6241$as_echo "$NEED_LIBSM" >&6; } 6242 LIBS="$OLD_LIBS" 6243 if test "$NEED_LIBSM" = yes ; then 6244 LIBS="$LIBS -lsm" 6245 6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libsm requires -lldap" >&5 6247$as_echo_n "checking whether libsm requires -lldap... " >&6; } 6248 RESULT=`$NM $LIBSM | grep ldap_` 6249 if test -z "$RESULT" ; then 6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6251$as_echo "no" >&6; } 6252 else 6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6254$as_echo "yes" >&6; } 6255 LIBS="$LIBS -lldap -llber" 6256 fi 6257 6258 else 6259 6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libmilter requires -lldap" >&5 6261$as_echo_n "checking whether libmilter requires -lldap... " >&6; } 6262 RESULT=`$NM $LIBMILTER 2>/dev/null | grep ldap_; $NM -D $LIBMILTERSO 2>/dev/null | grep ldap_` 6263 if test -z "$RESULT" ; then 6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6265$as_echo "no" >&6; } 6266 else 6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6268$as_echo "yes" >&6; } 6269 LIBS="$LIBS -lldap -llber" 6270 fi 6271 6272 fi 6273 6274 6275 6276CONFDIR_EVAL=`echo ${sysconfdir}${CONFSUBDIR}` 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297ac_config_files="$ac_config_files Makefile mimedefang.pl script/mimedefang-util examples/init-script mimedefang-filter.5 mimedefang-multiplexor.8 mimedefang-protocol.7 mimedefang-notify.7 mimedefang.8 mimedefang.pl.8 md-mx-ctrl.8 watch-mimedefang redhat/mimedefang-init redhat/mimedefang-sysconfig" 6298 6299cat >confcache <<\_ACEOF 6300# This file is a shell script that caches the results of configure 6301# tests run on this system so they can be shared between configure 6302# scripts and configure runs, see configure's option --config-cache. 6303# It is not useful on other systems. If it contains results you don't 6304# want to keep, you may remove or edit it. 6305# 6306# config.status only pays attention to the cache file if you give it 6307# the --recheck option to rerun configure. 6308# 6309# `ac_cv_env_foo' variables (set or unset) will be overridden when 6310# loading this file, other *unset* `ac_cv_foo' will be assigned the 6311# following values. 6312 6313_ACEOF 6314 6315# The following way of writing the cache mishandles newlines in values, 6316# but we know of no workaround that is simple, portable, and efficient. 6317# So, we kill variables containing newlines. 6318# Ultrix sh set writes to stderr and can't be redirected directly, 6319# and sets the high bit in the cache file unless we assign to the vars. 6320( 6321 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6322 eval ac_val=\$$ac_var 6323 case $ac_val in #( 6324 *${as_nl}*) 6325 case $ac_var in #( 6326 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6327$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6328 esac 6329 case $ac_var in #( 6330 _ | IFS | as_nl) ;; #( 6331 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6332 *) { eval $ac_var=; unset $ac_var;} ;; 6333 esac ;; 6334 esac 6335 done 6336 6337 (set) 2>&1 | 6338 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6339 *${as_nl}ac_space=\ *) 6340 # `set' does not quote correctly, so add quotes: double-quote 6341 # substitution turns \\\\ into \\, and sed turns \\ into \. 6342 sed -n \ 6343 "s/'/'\\\\''/g; 6344 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6345 ;; #( 6346 *) 6347 # `set' quotes correctly as required by POSIX, so do not add quotes. 6348 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6349 ;; 6350 esac | 6351 sort 6352) | 6353 sed ' 6354 /^ac_cv_env_/b end 6355 t clear 6356 :clear 6357 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6358 t end 6359 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6360 :end' >>confcache 6361if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6362 if test -w "$cache_file"; then 6363 if test "x$cache_file" != "x/dev/null"; then 6364 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6365$as_echo "$as_me: updating cache $cache_file" >&6;} 6366 if test ! -f "$cache_file" || test -h "$cache_file"; then 6367 cat confcache >"$cache_file" 6368 else 6369 case $cache_file in #( 6370 */* | ?:*) 6371 mv -f confcache "$cache_file"$$ && 6372 mv -f "$cache_file"$$ "$cache_file" ;; #( 6373 *) 6374 mv -f confcache "$cache_file" ;; 6375 esac 6376 fi 6377 fi 6378 else 6379 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6380$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6381 fi 6382fi 6383rm -f confcache 6384 6385test "x$prefix" = xNONE && prefix=$ac_default_prefix 6386# Let make expand exec_prefix. 6387test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6388 6389DEFS=-DHAVE_CONFIG_H 6390 6391ac_libobjs= 6392ac_ltlibobjs= 6393U= 6394for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6395 # 1. Remove the extension, and $U if already installed. 6396 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6397 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6398 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6399 # will be set to the directory where LIBOBJS objects are built. 6400 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6401 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 6402done 6403LIBOBJS=$ac_libobjs 6404 6405LTLIBOBJS=$ac_ltlibobjs 6406 6407 6408 6409: "${CONFIG_STATUS=./config.status}" 6410ac_write_fail=0 6411ac_clean_files_save=$ac_clean_files 6412ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6413{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6414$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6415as_write_fail=0 6416cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 6417#! $SHELL 6418# Generated by $as_me. 6419# Run this file to recreate the current configuration. 6420# Compiler output produced by configure, useful for debugging 6421# configure, is in config.log if it exists. 6422 6423debug=false 6424ac_cs_recheck=false 6425ac_cs_silent=false 6426 6427SHELL=\${CONFIG_SHELL-$SHELL} 6428export SHELL 6429_ASEOF 6430cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6431## -------------------- ## 6432## M4sh Initialization. ## 6433## -------------------- ## 6434 6435# Be more Bourne compatible 6436DUALCASE=1; export DUALCASE # for MKS sh 6437if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 6438 emulate sh 6439 NULLCMD=: 6440 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 6441 # is contrary to our usage. Disable this feature. 6442 alias -g '${1+"$@"}'='"$@"' 6443 setopt NO_GLOB_SUBST 6444else 6445 case `(set -o) 2>/dev/null` in #( 6446 *posix*) : 6447 set -o posix ;; #( 6448 *) : 6449 ;; 6450esac 6451fi 6452 6453 6454as_nl=' 6455' 6456export as_nl 6457# Printing a long string crashes Solaris 7 /usr/bin/printf. 6458as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6459as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6460as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6461# Prefer a ksh shell builtin over an external printf program on Solaris, 6462# but without wasting forks for bash or zsh. 6463if test -z "$BASH_VERSION$ZSH_VERSION" \ 6464 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6465 as_echo='print -r --' 6466 as_echo_n='print -rn --' 6467elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6468 as_echo='printf %s\n' 6469 as_echo_n='printf %s' 6470else 6471 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6472 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6473 as_echo_n='/usr/ucb/echo -n' 6474 else 6475 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6476 as_echo_n_body='eval 6477 arg=$1; 6478 case $arg in #( 6479 *"$as_nl"*) 6480 expr "X$arg" : "X\\(.*\\)$as_nl"; 6481 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6482 esac; 6483 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6484 ' 6485 export as_echo_n_body 6486 as_echo_n='sh -c $as_echo_n_body as_echo' 6487 fi 6488 export as_echo_body 6489 as_echo='sh -c $as_echo_body as_echo' 6490fi 6491 6492# The user is always right. 6493if test "${PATH_SEPARATOR+set}" != set; then 6494 PATH_SEPARATOR=: 6495 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6496 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6497 PATH_SEPARATOR=';' 6498 } 6499fi 6500 6501 6502# IFS 6503# We need space, tab and new line, in precisely that order. Quoting is 6504# there to prevent editors from complaining about space-tab. 6505# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6506# splitting by setting IFS to empty value.) 6507IFS=" "" $as_nl" 6508 6509# Find who we are. Look in the path if we contain no directory separator. 6510as_myself= 6511case $0 in #(( 6512 *[\\/]* ) as_myself=$0 ;; 6513 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6514for as_dir in $PATH 6515do 6516 IFS=$as_save_IFS 6517 test -z "$as_dir" && as_dir=. 6518 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6519 done 6520IFS=$as_save_IFS 6521 6522 ;; 6523esac 6524# We did not find ourselves, most probably we were run as `sh COMMAND' 6525# in which case we are not to be found in the path. 6526if test "x$as_myself" = x; then 6527 as_myself=$0 6528fi 6529if test ! -f "$as_myself"; then 6530 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6531 exit 1 6532fi 6533 6534# Unset variables that we do not need and which cause bugs (e.g. in 6535# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6536# suppresses any "Segmentation fault" message there. '((' could 6537# trigger a bug in pdksh 5.2.14. 6538for as_var in BASH_ENV ENV MAIL MAILPATH 6539do eval test x\${$as_var+set} = xset \ 6540 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6541done 6542PS1='$ ' 6543PS2='> ' 6544PS4='+ ' 6545 6546# NLS nuisances. 6547LC_ALL=C 6548export LC_ALL 6549LANGUAGE=C 6550export LANGUAGE 6551 6552# CDPATH. 6553(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6554 6555 6556# as_fn_error STATUS ERROR [LINENO LOG_FD] 6557# ---------------------------------------- 6558# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6559# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6560# script with STATUS, using 1 if that was 0. 6561as_fn_error () 6562{ 6563 as_status=$1; test $as_status -eq 0 && as_status=1 6564 if test "$4"; then 6565 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6566 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 6567 fi 6568 $as_echo "$as_me: error: $2" >&2 6569 as_fn_exit $as_status 6570} # as_fn_error 6571 6572 6573# as_fn_set_status STATUS 6574# ----------------------- 6575# Set $? to STATUS, without forking. 6576as_fn_set_status () 6577{ 6578 return $1 6579} # as_fn_set_status 6580 6581# as_fn_exit STATUS 6582# ----------------- 6583# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6584as_fn_exit () 6585{ 6586 set +e 6587 as_fn_set_status $1 6588 exit $1 6589} # as_fn_exit 6590 6591# as_fn_unset VAR 6592# --------------- 6593# Portably unset VAR. 6594as_fn_unset () 6595{ 6596 { eval $1=; unset $1;} 6597} 6598as_unset=as_fn_unset 6599# as_fn_append VAR VALUE 6600# ---------------------- 6601# Append the text in VALUE to the end of the definition contained in VAR. Take 6602# advantage of any shell optimizations that allow amortized linear growth over 6603# repeated appends, instead of the typical quadratic growth present in naive 6604# implementations. 6605if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6606 eval 'as_fn_append () 6607 { 6608 eval $1+=\$2 6609 }' 6610else 6611 as_fn_append () 6612 { 6613 eval $1=\$$1\$2 6614 } 6615fi # as_fn_append 6616 6617# as_fn_arith ARG... 6618# ------------------ 6619# Perform arithmetic evaluation on the ARGs, and store the result in the 6620# global $as_val. Take advantage of shells that can avoid forks. The arguments 6621# must be portable across $(()) and expr. 6622if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6623 eval 'as_fn_arith () 6624 { 6625 as_val=$(( $* )) 6626 }' 6627else 6628 as_fn_arith () 6629 { 6630 as_val=`expr "$@" || test $? -eq 1` 6631 } 6632fi # as_fn_arith 6633 6634 6635if expr a : '\(a\)' >/dev/null 2>&1 && 6636 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6637 as_expr=expr 6638else 6639 as_expr=false 6640fi 6641 6642if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6643 as_basename=basename 6644else 6645 as_basename=false 6646fi 6647 6648if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6649 as_dirname=dirname 6650else 6651 as_dirname=false 6652fi 6653 6654as_me=`$as_basename -- "$0" || 6655$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6656 X"$0" : 'X\(//\)$' \| \ 6657 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6658$as_echo X/"$0" | 6659 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6660 s//\1/ 6661 q 6662 } 6663 /^X\/\(\/\/\)$/{ 6664 s//\1/ 6665 q 6666 } 6667 /^X\/\(\/\).*/{ 6668 s//\1/ 6669 q 6670 } 6671 s/.*/./; q'` 6672 6673# Avoid depending upon Character Ranges. 6674as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6675as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6676as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6677as_cr_digits='0123456789' 6678as_cr_alnum=$as_cr_Letters$as_cr_digits 6679 6680ECHO_C= ECHO_N= ECHO_T= 6681case `echo -n x` in #((((( 6682-n*) 6683 case `echo 'xy\c'` in 6684 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6685 xy) ECHO_C='\c';; 6686 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6687 ECHO_T=' ';; 6688 esac;; 6689*) 6690 ECHO_N='-n';; 6691esac 6692 6693rm -f conf$$ conf$$.exe conf$$.file 6694if test -d conf$$.dir; then 6695 rm -f conf$$.dir/conf$$.file 6696else 6697 rm -f conf$$.dir 6698 mkdir conf$$.dir 2>/dev/null 6699fi 6700if (echo >conf$$.file) 2>/dev/null; then 6701 if ln -s conf$$.file conf$$ 2>/dev/null; then 6702 as_ln_s='ln -s' 6703 # ... but there are two gotchas: 6704 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6705 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6706 # In both cases, we have to default to `cp -pR'. 6707 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6708 as_ln_s='cp -pR' 6709 elif ln conf$$.file conf$$ 2>/dev/null; then 6710 as_ln_s=ln 6711 else 6712 as_ln_s='cp -pR' 6713 fi 6714else 6715 as_ln_s='cp -pR' 6716fi 6717rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6718rmdir conf$$.dir 2>/dev/null 6719 6720 6721# as_fn_mkdir_p 6722# ------------- 6723# Create "$as_dir" as a directory, including parents if necessary. 6724as_fn_mkdir_p () 6725{ 6726 6727 case $as_dir in #( 6728 -*) as_dir=./$as_dir;; 6729 esac 6730 test -d "$as_dir" || eval $as_mkdir_p || { 6731 as_dirs= 6732 while :; do 6733 case $as_dir in #( 6734 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6735 *) as_qdir=$as_dir;; 6736 esac 6737 as_dirs="'$as_qdir' $as_dirs" 6738 as_dir=`$as_dirname -- "$as_dir" || 6739$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6740 X"$as_dir" : 'X\(//\)[^/]' \| \ 6741 X"$as_dir" : 'X\(//\)$' \| \ 6742 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 6743$as_echo X"$as_dir" | 6744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6745 s//\1/ 6746 q 6747 } 6748 /^X\(\/\/\)[^/].*/{ 6749 s//\1/ 6750 q 6751 } 6752 /^X\(\/\/\)$/{ 6753 s//\1/ 6754 q 6755 } 6756 /^X\(\/\).*/{ 6757 s//\1/ 6758 q 6759 } 6760 s/.*/./; q'` 6761 test -d "$as_dir" && break 6762 done 6763 test -z "$as_dirs" || eval "mkdir $as_dirs" 6764 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 6765 6766 6767} # as_fn_mkdir_p 6768if mkdir -p . 2>/dev/null; then 6769 as_mkdir_p='mkdir -p "$as_dir"' 6770else 6771 test -d ./-p && rmdir ./-p 6772 as_mkdir_p=false 6773fi 6774 6775 6776# as_fn_executable_p FILE 6777# ----------------------- 6778# Test if FILE is an executable regular file. 6779as_fn_executable_p () 6780{ 6781 test -f "$1" && test -x "$1" 6782} # as_fn_executable_p 6783as_test_x='test -x' 6784as_executable_p=as_fn_executable_p 6785 6786# Sed expression to map a string onto a valid CPP name. 6787as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6788 6789# Sed expression to map a string onto a valid variable name. 6790as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6791 6792 6793exec 6>&1 6794## ----------------------------------- ## 6795## Main body of $CONFIG_STATUS script. ## 6796## ----------------------------------- ## 6797_ASEOF 6798test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 6799 6800cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6801# Save the log message, to keep $0 and so on meaningful, and to 6802# report actual input values of CONFIG_FILES etc. instead of their 6803# values after options handling. 6804ac_log=" 6805This file was extended by $as_me, which was 6806generated by GNU Autoconf 2.69. Invocation command line was 6807 6808 CONFIG_FILES = $CONFIG_FILES 6809 CONFIG_HEADERS = $CONFIG_HEADERS 6810 CONFIG_LINKS = $CONFIG_LINKS 6811 CONFIG_COMMANDS = $CONFIG_COMMANDS 6812 $ $0 $@ 6813 6814on `(hostname || uname -n) 2>/dev/null | sed 1q` 6815" 6816 6817_ACEOF 6818 6819case $ac_config_files in *" 6820"*) set x $ac_config_files; shift; ac_config_files=$*;; 6821esac 6822 6823case $ac_config_headers in *" 6824"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 6825esac 6826 6827 6828cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6829# Files that config.status was made for. 6830config_files="$ac_config_files" 6831config_headers="$ac_config_headers" 6832 6833_ACEOF 6834 6835cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6836ac_cs_usage="\ 6837\`$as_me' instantiates files and other configuration actions 6838from templates according to the current configuration. Unless the files 6839and actions are specified as TAGs, all are instantiated by default. 6840 6841Usage: $0 [OPTION]... [TAG]... 6842 6843 -h, --help print this help, then exit 6844 -V, --version print version number and configuration settings, then exit 6845 --config print configuration, then exit 6846 -q, --quiet, --silent 6847 do not print progress messages 6848 -d, --debug don't remove temporary files 6849 --recheck update $as_me by reconfiguring in the same conditions 6850 --file=FILE[:TEMPLATE] 6851 instantiate the configuration file FILE 6852 --header=FILE[:TEMPLATE] 6853 instantiate the configuration header FILE 6854 6855Configuration files: 6856$config_files 6857 6858Configuration headers: 6859$config_headers 6860 6861Report bugs to the package provider." 6862 6863_ACEOF 6864cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6865ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 6866ac_cs_version="\\ 6867config.status 6868configured by $0, generated by GNU Autoconf 2.69, 6869 with options \\"\$ac_cs_config\\" 6870 6871Copyright (C) 2012 Free Software Foundation, Inc. 6872This config.status script is free software; the Free Software Foundation 6873gives unlimited permission to copy, distribute and modify it." 6874 6875ac_pwd='$ac_pwd' 6876srcdir='$srcdir' 6877INSTALL='$INSTALL' 6878test -n "\$AWK" || AWK=awk 6879_ACEOF 6880 6881cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6882# The default lists apply if the user does not specify any file. 6883ac_need_defaults=: 6884while test $# != 0 6885do 6886 case $1 in 6887 --*=?*) 6888 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6889 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 6890 ac_shift=: 6891 ;; 6892 --*=) 6893 ac_option=`expr "X$1" : 'X\([^=]*\)='` 6894 ac_optarg= 6895 ac_shift=: 6896 ;; 6897 *) 6898 ac_option=$1 6899 ac_optarg=$2 6900 ac_shift=shift 6901 ;; 6902 esac 6903 6904 case $ac_option in 6905 # Handling of the options. 6906 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 6907 ac_cs_recheck=: ;; 6908 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 6909 $as_echo "$ac_cs_version"; exit ;; 6910 --config | --confi | --conf | --con | --co | --c ) 6911 $as_echo "$ac_cs_config"; exit ;; 6912 --debug | --debu | --deb | --de | --d | -d ) 6913 debug=: ;; 6914 --file | --fil | --fi | --f ) 6915 $ac_shift 6916 case $ac_optarg in 6917 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6918 '') as_fn_error $? "missing file argument" ;; 6919 esac 6920 as_fn_append CONFIG_FILES " '$ac_optarg'" 6921 ac_need_defaults=false;; 6922 --header | --heade | --head | --hea ) 6923 $ac_shift 6924 case $ac_optarg in 6925 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 6926 esac 6927 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 6928 ac_need_defaults=false;; 6929 --he | --h) 6930 # Conflict between --help and --header 6931 as_fn_error $? "ambiguous option: \`$1' 6932Try \`$0 --help' for more information.";; 6933 --help | --hel | -h ) 6934 $as_echo "$ac_cs_usage"; exit ;; 6935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6936 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6937 ac_cs_silent=: ;; 6938 6939 # This is an error. 6940 -*) as_fn_error $? "unrecognized option: \`$1' 6941Try \`$0 --help' for more information." ;; 6942 6943 *) as_fn_append ac_config_targets " $1" 6944 ac_need_defaults=false ;; 6945 6946 esac 6947 shift 6948done 6949 6950ac_configure_extra_args= 6951 6952if $ac_cs_silent; then 6953 exec 6>/dev/null 6954 ac_configure_extra_args="$ac_configure_extra_args --silent" 6955fi 6956 6957_ACEOF 6958cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6959if \$ac_cs_recheck; then 6960 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6961 shift 6962 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 6963 CONFIG_SHELL='$SHELL' 6964 export CONFIG_SHELL 6965 exec "\$@" 6966fi 6967 6968_ACEOF 6969cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6970exec 5>>config.log 6971{ 6972 echo 6973 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6974## Running $as_me. ## 6975_ASBOX 6976 $as_echo "$ac_log" 6977} >&5 6978 6979_ACEOF 6980cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6981_ACEOF 6982 6983cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6984 6985# Handling of arguments. 6986for ac_config_target in $ac_config_targets 6987do 6988 case $ac_config_target in 6989 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 6990 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6991 "mimedefang.pl") CONFIG_FILES="$CONFIG_FILES mimedefang.pl" ;; 6992 "script/mimedefang-util") CONFIG_FILES="$CONFIG_FILES script/mimedefang-util" ;; 6993 "examples/init-script") CONFIG_FILES="$CONFIG_FILES examples/init-script" ;; 6994 "mimedefang-filter.5") CONFIG_FILES="$CONFIG_FILES mimedefang-filter.5" ;; 6995 "mimedefang-multiplexor.8") CONFIG_FILES="$CONFIG_FILES mimedefang-multiplexor.8" ;; 6996 "mimedefang-protocol.7") CONFIG_FILES="$CONFIG_FILES mimedefang-protocol.7" ;; 6997 "mimedefang-notify.7") CONFIG_FILES="$CONFIG_FILES mimedefang-notify.7" ;; 6998 "mimedefang.8") CONFIG_FILES="$CONFIG_FILES mimedefang.8" ;; 6999 "mimedefang.pl.8") CONFIG_FILES="$CONFIG_FILES mimedefang.pl.8" ;; 7000 "md-mx-ctrl.8") CONFIG_FILES="$CONFIG_FILES md-mx-ctrl.8" ;; 7001 "watch-mimedefang") CONFIG_FILES="$CONFIG_FILES watch-mimedefang" ;; 7002 "redhat/mimedefang-init") CONFIG_FILES="$CONFIG_FILES redhat/mimedefang-init" ;; 7003 "redhat/mimedefang-sysconfig") CONFIG_FILES="$CONFIG_FILES redhat/mimedefang-sysconfig" ;; 7004 7005 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7006 esac 7007done 7008 7009 7010# If the user did not use the arguments to specify the items to instantiate, 7011# then the envvar interface is used. Set only those that are not. 7012# We use the long form for the default assignment because of an extremely 7013# bizarre bug on SunOS 4.1.3. 7014if $ac_need_defaults; then 7015 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7016 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7017fi 7018 7019# Have a temporary directory for convenience. Make it in the build tree 7020# simply because there is no reason against having it here, and in addition, 7021# creating and moving files from /tmp can sometimes cause problems. 7022# Hook for its removal unless debugging. 7023# Note that there is a small window in which the directory will not be cleaned: 7024# after its creation but before its name has been assigned to `$tmp'. 7025$debug || 7026{ 7027 tmp= ac_tmp= 7028 trap 'exit_status=$? 7029 : "${ac_tmp:=$tmp}" 7030 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7031' 0 7032 trap 'as_fn_exit 1' 1 2 13 15 7033} 7034# Create a (secure) tmp directory for tmp files. 7035 7036{ 7037 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7038 test -d "$tmp" 7039} || 7040{ 7041 tmp=./conf$$-$RANDOM 7042 (umask 077 && mkdir "$tmp") 7043} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7044ac_tmp=$tmp 7045 7046# Set up the scripts for CONFIG_FILES section. 7047# No need to generate them if there are no CONFIG_FILES. 7048# This happens for instance with `./config.status config.h'. 7049if test -n "$CONFIG_FILES"; then 7050 7051 7052ac_cr=`echo X | tr X '\015'` 7053# On cygwin, bash can eat \r inside `` if the user requested igncr. 7054# But we know of no other shell where ac_cr would be empty at this 7055# point, so we can use a bashism as a fallback. 7056if test "x$ac_cr" = x; then 7057 eval ac_cr=\$\'\\r\' 7058fi 7059ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7060if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7061 ac_cs_awk_cr='\\r' 7062else 7063 ac_cs_awk_cr=$ac_cr 7064fi 7065 7066echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 7067_ACEOF 7068 7069 7070{ 7071 echo "cat >conf$$subs.awk <<_ACEOF" && 7072 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7073 echo "_ACEOF" 7074} >conf$$subs.sh || 7075 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7076ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7077ac_delim='%!_!# ' 7078for ac_last_try in false false false false false :; do 7079 . ./conf$$subs.sh || 7080 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7081 7082 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7083 if test $ac_delim_n = $ac_delim_num; then 7084 break 7085 elif $ac_last_try; then 7086 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7087 else 7088 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7089 fi 7090done 7091rm -f conf$$subs.sh 7092 7093cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7094cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 7095_ACEOF 7096sed -n ' 7097h 7098s/^/S["/; s/!.*/"]=/ 7099p 7100g 7101s/^[^!]*!// 7102:repl 7103t repl 7104s/'"$ac_delim"'$// 7105t delim 7106:nl 7107h 7108s/\(.\{148\}\)..*/\1/ 7109t more1 7110s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7111p 7112n 7113b repl 7114:more1 7115s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7116p 7117g 7118s/.\{148\}// 7119t nl 7120:delim 7121h 7122s/\(.\{148\}\)..*/\1/ 7123t more2 7124s/["\\]/\\&/g; s/^/"/; s/$/"/ 7125p 7126b 7127:more2 7128s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7129p 7130g 7131s/.\{148\}// 7132t delim 7133' <conf$$subs.awk | sed ' 7134/^[^""]/{ 7135 N 7136 s/\n// 7137} 7138' >>$CONFIG_STATUS || ac_write_fail=1 7139rm -f conf$$subs.awk 7140cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7141_ACAWK 7142cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 7143 for (key in S) S_is_set[key] = 1 7144 FS = "" 7145 7146} 7147{ 7148 line = $ 0 7149 nfields = split(line, field, "@") 7150 substed = 0 7151 len = length(field[1]) 7152 for (i = 2; i < nfields; i++) { 7153 key = field[i] 7154 keylen = length(key) 7155 if (S_is_set[key]) { 7156 value = S[key] 7157 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7158 len += length(value) + length(field[++i]) 7159 substed = 1 7160 } else 7161 len += 1 + keylen 7162 } 7163 7164 print line 7165} 7166 7167_ACAWK 7168_ACEOF 7169cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7170if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7171 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7172else 7173 cat 7174fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 7175 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7176_ACEOF 7177 7178# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7179# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 7180# trailing colons and then remove the whole line if VPATH becomes empty 7181# (actually we leave an empty line to preserve line numbers). 7182if test "x$srcdir" = x.; then 7183 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7184h 7185s/// 7186s/^/:/ 7187s/[ ]*$/:/ 7188s/:\$(srcdir):/:/g 7189s/:\${srcdir}:/:/g 7190s/:@srcdir@:/:/g 7191s/^:*// 7192s/:*$// 7193x 7194s/\(=[ ]*\).*/\1/ 7195G 7196s/\n// 7197s/^[^=]*=[ ]*$// 7198}' 7199fi 7200 7201cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7202fi # test -n "$CONFIG_FILES" 7203 7204# Set up the scripts for CONFIG_HEADERS section. 7205# No need to generate them if there are no CONFIG_HEADERS. 7206# This happens for instance with `./config.status Makefile'. 7207if test -n "$CONFIG_HEADERS"; then 7208cat >"$ac_tmp/defines.awk" <<\_ACAWK || 7209BEGIN { 7210_ACEOF 7211 7212# Transform confdefs.h into an awk script `defines.awk', embedded as 7213# here-document in config.status, that substitutes the proper values into 7214# config.h.in to produce config.h. 7215 7216# Create a delimiter string that does not exist in confdefs.h, to ease 7217# handling of long lines. 7218ac_delim='%!_!# ' 7219for ac_last_try in false false :; do 7220 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 7221 if test -z "$ac_tt"; then 7222 break 7223 elif $ac_last_try; then 7224 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 7225 else 7226 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7227 fi 7228done 7229 7230# For the awk script, D is an array of macro values keyed by name, 7231# likewise P contains macro parameters if any. Preserve backslash 7232# newline sequences. 7233 7234ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7235sed -n ' 7236s/.\{148\}/&'"$ac_delim"'/g 7237t rset 7238:rset 7239s/^[ ]*#[ ]*define[ ][ ]*/ / 7240t def 7241d 7242:def 7243s/\\$// 7244t bsnl 7245s/["\\]/\\&/g 7246s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7247D["\1"]=" \3"/p 7248s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7249d 7250:bsnl 7251s/["\\]/\\&/g 7252s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7253D["\1"]=" \3\\\\\\n"\\/p 7254t cont 7255s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7256t cont 7257d 7258:cont 7259n 7260s/.\{148\}/&'"$ac_delim"'/g 7261t clear 7262:clear 7263s/\\$// 7264t bsnlc 7265s/["\\]/\\&/g; s/^/"/; s/$/"/p 7266d 7267:bsnlc 7268s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7269b cont 7270' <confdefs.h | sed ' 7271s/'"$ac_delim"'/"\\\ 7272"/g' >>$CONFIG_STATUS || ac_write_fail=1 7273 7274cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7275 for (key in D) D_is_set[key] = 1 7276 FS = "" 7277} 7278/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7279 line = \$ 0 7280 split(line, arg, " ") 7281 if (arg[1] == "#") { 7282 defundef = arg[2] 7283 mac1 = arg[3] 7284 } else { 7285 defundef = substr(arg[1], 2) 7286 mac1 = arg[2] 7287 } 7288 split(mac1, mac2, "(") #) 7289 macro = mac2[1] 7290 prefix = substr(line, 1, index(line, defundef) - 1) 7291 if (D_is_set[macro]) { 7292 # Preserve the white space surrounding the "#". 7293 print prefix "define", macro P[macro] D[macro] 7294 next 7295 } else { 7296 # Replace #undef with comments. This is necessary, for example, 7297 # in the case of _POSIX_SOURCE, which is predefined and required 7298 # on some systems where configure will not decide to define it. 7299 if (defundef == "undef") { 7300 print "/*", prefix defundef, macro, "*/" 7301 next 7302 } 7303 } 7304} 7305{ print } 7306_ACAWK 7307_ACEOF 7308cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7309 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7310fi # test -n "$CONFIG_HEADERS" 7311 7312 7313eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 7314shift 7315for ac_tag 7316do 7317 case $ac_tag in 7318 :[FHLC]) ac_mode=$ac_tag; continue;; 7319 esac 7320 case $ac_mode$ac_tag in 7321 :[FHL]*:*);; 7322 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 7323 :[FH]-) ac_tag=-:-;; 7324 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7325 esac 7326 ac_save_IFS=$IFS 7327 IFS=: 7328 set x $ac_tag 7329 IFS=$ac_save_IFS 7330 shift 7331 ac_file=$1 7332 shift 7333 7334 case $ac_mode in 7335 :L) ac_source=$1;; 7336 :[FH]) 7337 ac_file_inputs= 7338 for ac_f 7339 do 7340 case $ac_f in 7341 -) ac_f="$ac_tmp/stdin";; 7342 *) # Look for the file first in the build tree, then in the source tree 7343 # (if the path is not absolute). The absolute path cannot be DOS-style, 7344 # because $ac_f cannot contain `:'. 7345 test -f "$ac_f" || 7346 case $ac_f in 7347 [\\/$]*) false;; 7348 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7349 esac || 7350 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7351 esac 7352 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7353 as_fn_append ac_file_inputs " '$ac_f'" 7354 done 7355 7356 # Let's still pretend it is `configure' which instantiates (i.e., don't 7357 # use $as_me), people would be surprised to read: 7358 # /* config.h. Generated by config.status. */ 7359 configure_input='Generated from '` 7360 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7361 `' by configure.' 7362 if test x"$ac_file" != x-; then 7363 configure_input="$ac_file. $configure_input" 7364 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7365$as_echo "$as_me: creating $ac_file" >&6;} 7366 fi 7367 # Neutralize special characters interpreted by sed in replacement strings. 7368 case $configure_input in #( 7369 *\&* | *\|* | *\\* ) 7370 ac_sed_conf_input=`$as_echo "$configure_input" | 7371 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7372 *) ac_sed_conf_input=$configure_input;; 7373 esac 7374 7375 case $ac_tag in 7376 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 7377 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7378 esac 7379 ;; 7380 esac 7381 7382 ac_dir=`$as_dirname -- "$ac_file" || 7383$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7384 X"$ac_file" : 'X\(//\)[^/]' \| \ 7385 X"$ac_file" : 'X\(//\)$' \| \ 7386 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7387$as_echo X"$ac_file" | 7388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7389 s//\1/ 7390 q 7391 } 7392 /^X\(\/\/\)[^/].*/{ 7393 s//\1/ 7394 q 7395 } 7396 /^X\(\/\/\)$/{ 7397 s//\1/ 7398 q 7399 } 7400 /^X\(\/\).*/{ 7401 s//\1/ 7402 q 7403 } 7404 s/.*/./; q'` 7405 as_dir="$ac_dir"; as_fn_mkdir_p 7406 ac_builddir=. 7407 7408case "$ac_dir" in 7409.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7410*) 7411 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7412 # A ".." for each directory in $ac_dir_suffix. 7413 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7414 case $ac_top_builddir_sub in 7415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7417 esac ;; 7418esac 7419ac_abs_top_builddir=$ac_pwd 7420ac_abs_builddir=$ac_pwd$ac_dir_suffix 7421# for backward compatibility: 7422ac_top_builddir=$ac_top_build_prefix 7423 7424case $srcdir in 7425 .) # We are building in place. 7426 ac_srcdir=. 7427 ac_top_srcdir=$ac_top_builddir_sub 7428 ac_abs_top_srcdir=$ac_pwd ;; 7429 [\\/]* | ?:[\\/]* ) # Absolute name. 7430 ac_srcdir=$srcdir$ac_dir_suffix; 7431 ac_top_srcdir=$srcdir 7432 ac_abs_top_srcdir=$srcdir ;; 7433 *) # Relative name. 7434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7435 ac_top_srcdir=$ac_top_build_prefix$srcdir 7436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7437esac 7438ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7439 7440 7441 case $ac_mode in 7442 :F) 7443 # 7444 # CONFIG_FILE 7445 # 7446 7447 case $INSTALL in 7448 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7449 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7450 esac 7451_ACEOF 7452 7453cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7454# If the template does not know about datarootdir, expand it. 7455# FIXME: This hack should be removed a few years after 2.60. 7456ac_datarootdir_hack=; ac_datarootdir_seen= 7457ac_sed_dataroot=' 7458/datarootdir/ { 7459 p 7460 q 7461} 7462/@datadir@/p 7463/@docdir@/p 7464/@infodir@/p 7465/@localedir@/p 7466/@mandir@/p' 7467case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7468*datarootdir*) ac_datarootdir_seen=yes;; 7469*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7471$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7472_ACEOF 7473cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7474 ac_datarootdir_hack=' 7475 s&@datadir@&$datadir&g 7476 s&@docdir@&$docdir&g 7477 s&@infodir@&$infodir&g 7478 s&@localedir@&$localedir&g 7479 s&@mandir@&$mandir&g 7480 s&\\\${datarootdir}&$datarootdir&g' ;; 7481esac 7482_ACEOF 7483 7484# Neutralize VPATH when `$srcdir' = `.'. 7485# Shell code in configure.ac might set extrasub. 7486# FIXME: do we really want to maintain this feature? 7487cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7488ac_sed_extra="$ac_vpsub 7489$extrasub 7490_ACEOF 7491cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7492:t 7493/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7494s|@configure_input@|$ac_sed_conf_input|;t t 7495s&@top_builddir@&$ac_top_builddir_sub&;t t 7496s&@top_build_prefix@&$ac_top_build_prefix&;t t 7497s&@srcdir@&$ac_srcdir&;t t 7498s&@abs_srcdir@&$ac_abs_srcdir&;t t 7499s&@top_srcdir@&$ac_top_srcdir&;t t 7500s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7501s&@builddir@&$ac_builddir&;t t 7502s&@abs_builddir@&$ac_abs_builddir&;t t 7503s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7504s&@INSTALL@&$ac_INSTALL&;t t 7505$ac_datarootdir_hack 7506" 7507eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 7508 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7509 7510test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7511 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 7512 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 7513 "$ac_tmp/out"`; test -z "$ac_out"; } && 7514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7515which seems to be undefined. Please make sure it is defined" >&5 7516$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7517which seems to be undefined. Please make sure it is defined" >&2;} 7518 7519 rm -f "$ac_tmp/stdin" 7520 case $ac_file in 7521 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 7522 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 7523 esac \ 7524 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7525 ;; 7526 :H) 7527 # 7528 # CONFIG_HEADER 7529 # 7530 if test x"$ac_file" != x-; then 7531 { 7532 $as_echo "/* $configure_input */" \ 7533 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 7534 } >"$ac_tmp/config.h" \ 7535 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7536 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 7537 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7538$as_echo "$as_me: $ac_file is unchanged" >&6;} 7539 else 7540 rm -f "$ac_file" 7541 mv "$ac_tmp/config.h" "$ac_file" \ 7542 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7543 fi 7544 else 7545 $as_echo "/* $configure_input */" \ 7546 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 7547 || as_fn_error $? "could not create -" "$LINENO" 5 7548 fi 7549 ;; 7550 7551 7552 esac 7553 7554done # for ac_tag 7555 7556 7557as_fn_exit 0 7558_ACEOF 7559ac_clean_files=$ac_clean_files_save 7560 7561test $ac_write_fail = 0 || 7562 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 7563 7564 7565# configure is writing to config.log, and then calls config.status. 7566# config.status does its own redirection, appending to config.log. 7567# Unfortunately, on DOS this fails, as config.log is still kept open 7568# by configure, so config.status won't be able to write to it; its 7569# output is simply discarded. So we exec the FD to /dev/null, 7570# effectively closing config.log, so it can be properly (re)opened and 7571# appended to by config.status. When coming back to configure, we 7572# need to make the FD available again. 7573if test "$no_create" != yes; then 7574 ac_cs_success=: 7575 ac_config_status_args= 7576 test "$silent" = yes && 7577 ac_config_status_args="$ac_config_status_args --quiet" 7578 exec 5>/dev/null 7579 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7580 exec 5>>config.log 7581 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7582 # would make configure fail if this is the last instruction. 7583 $ac_cs_success || as_fn_exit 1 7584fi 7585if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7587$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7588fi 7589 7590chmod a+x examples/init-script > /dev/null 2>&1 7591chmod a+x watch-mimedefang > /dev/null 2>&1 7592chmod a+x redhat/mimedefang-init > /dev/null 2>&1 7593chmod a+x script/mimedefang-util > /dev/null 2>&1 7594 7595echo "" 7596echo "*** Virus scanner detection results:" 7597PROBLEM=0 7598GOT_VIRUS_SCANNER=0 7599if test "$ac_cv_antivirus" != "yes" ; then 7600 echo "All virus-scanner detection disabled by --disable-anti-virus" 7601else 7602 if test "$HBEDV" = "/bin/false" ; then 7603 if test "$ac_cv_antivir" != "yes" ; then 7604 echo "H+BEDV 'antivir' NO (Disabled by configure command)" 7605 else 7606 echo "H+BEDV 'antivir' NO (not found)" 7607 fi 7608 else 7609 echo "H+BEDV 'antivir' YES - $HBEDV" 7610 GOT_VIRUS_SCANNER=1 7611 fi 7612 7613 if test "$VEXIRA" = "/bin/false" ; then 7614 if test "$ac_cv_vexira" != "yes" ; then 7615 echo "Vexira 'vascan' NO (Disabled by configure command)" 7616 else 7617 echo "Vexira 'vascan' NO (not found)" 7618 fi 7619 else 7620 echo "Vexira 'vascan' YES - $VEXIRA" 7621 GOT_VIRUS_SCANNER=1 7622 fi 7623 7624 if test "$NAI" = "/bin/false" ; then 7625 if test "$ac_cv_uvscan" != "yes" ; then 7626 echo "NAI 'uvscan' NO (Disabled by configure command)" 7627 else 7628 echo "NAI 'uvscan' NO (not found)" 7629 fi 7630 else 7631 echo "NAI 'uvscan' YES - $NAI" 7632 GOT_VIRUS_SCANNER=1 7633 fi 7634 7635 if test "$BDC" = "/bin/false" ; then 7636 if test "$ac_cv_bdc" != "yes" ; then 7637 echo "BDC 'bdc' NO (Disabled by configure command)" 7638 else 7639 echo "BDC 'bdc' NO (not found)" 7640 fi 7641 else 7642 echo "BDC 'bdc' YES - $BDC" 7643 GOT_VIRUS_SCANNER=1 7644 fi 7645 7646 if test "$SOPHOS" = "/bin/false" ; then 7647 if test "$ac_cv_sweep" != "yes" ; then 7648 echo "Sophos 'sweep' NO (Disabled by configure command)" 7649 else 7650 echo "Sophos 'sweep' NO (not found)" 7651 fi 7652 else 7653 echo "Sophos 'sweep' YES - $SOPHOS" 7654 GOT_VIRUS_SCANNER=1 7655 fi 7656 7657 if test "$SAVSCAN" = "/bin/false" ; then 7658 if test "$ac_cv_savscan" != "yes" ; then 7659 echo "Sophos 'savscan' NO (Disabled by configure command)" 7660 else 7661 echo "Sophos 'savscan' NO (not found)" 7662 fi 7663 else 7664 echo "Sophos 'savscan' YES - $SAVSCAN" 7665 GOT_VIRUS_SCANNER=1 7666 fi 7667 7668 if test "$TREND" = "/bin/false" ; then 7669 if test "$ac_cv_trend" != "yes" ; then 7670 echo "TREND 'vscan' NO (Disabled by configure command)" 7671 else 7672 echo "TREND 'vscan' NO (not found)" 7673 fi 7674 else 7675 echo "TREND 'vscan' YES - $TREND" 7676 GOT_VIRUS_SCANNER=1 7677 fi 7678 7679 if test "$CLAMSCAN" = "/bin/false" ; then 7680 if test "$ac_cv_clamav" != "yes" ; then 7681 echo "CLAMSCAN 'clamav' NO (Disabled by configure command)" 7682 else 7683 echo "CLAMSCAN 'clamav' NO (not found)" 7684 fi 7685 else 7686 echo "CLAMSCAN 'clamav' YES - $CLAMSCAN" 7687 GOT_VIRUS_SCANNER=1 7688 fi 7689 7690 if test "$AVP" = "/bin/false" ; then 7691 if test "$ac_cv_AvpLinux" != "yes" ; then 7692 echo "AVP 'AvpLinux' NO (Disabled by configure command)" 7693 else 7694 echo "AVP 'AvpLinux' NO (not found)" 7695 fi 7696 else 7697 echo "AVP 'AvpLinux' YES - $AVP" 7698 GOT_VIRUS_SCANNER=1 7699 fi 7700 7701 if test "$AVP5" = "/bin/false" ; then 7702 if test "$ac_cv_aveclient" != "yes" ; then 7703 echo "AVP5 'aveclient' NO (Disabled by configure command)" 7704 else 7705 echo "AVP5 'aveclient' NO (not found)" 7706 fi 7707 else 7708 echo "AVP5 'aveclient' YES - $AVP5" 7709 GOT_VIRUS_SCANNER=1 7710 fi 7711 7712 if test "$KAVSCANNER" = "/bin/false" ; then 7713 if test "$ac_cv_kavscanner" != "yes" ; then 7714 echo "KAVSCANNER 'kavscanner' NO (Disabled by configure command)" 7715 else 7716 echo "KAVSCANNER 'kavscanner' NO (not found)" 7717 fi 7718 else 7719 echo "KAVSCANNER 'kavscanner' YES - $KAVSCANNER" 7720 GOT_VIRUS_SCANNER=1 7721 fi 7722 7723 if test "$CSAV" = "/bin/false" ; then 7724 if test "$ac_cv_csav" != "yes" ; then 7725 echo "CSAV 'csav' NO (Disabled by configure command)" 7726 else 7727 echo "CSAV 'csav' NO (not found)" 7728 fi 7729 else 7730 echo "CSAV 'csav' YES - $CSAV" 7731 GOT_VIRUS_SCANNER=1 7732 fi 7733 7734 if test "$FSAV" = "/bin/false" ; then 7735 if test "$ac_cv_fsav" != "yes" ; then 7736 echo "FSAV 'fsav' NO (Disabled by configure command)" 7737 else 7738 echo "FSAV 'fsav' NO (not found)" 7739 fi 7740 else 7741 echo "FSAV 'fsav' YES - $FSAV" 7742 GOT_VIRUS_SCANNER=1 7743 fi 7744 7745 if test "$FPROT" = "/bin/false" ; then 7746 if test "$ac_cv_fprot" != "yes" ; then 7747 echo "FPROT 'f-prot' NO (Disabled by configure command)" 7748 else 7749 echo "FPROT 'f-prot' NO (not found)" 7750 fi 7751 else 7752 echo "FPROT 'f-prot' YES - $FPROT" 7753 GOT_VIRUS_SCANNER=1 7754 fi 7755 7756 if test "$FPSCAN" = "/bin/false" ; then 7757 if test "$ac_cv_fpscan" != "yes" ; then 7758 echo "FPSCAN 'fpscan' NO (Disabled by configure command)" 7759 else 7760 echo "FPSCAN 'fpscan' NO (not found)" 7761 fi 7762 else 7763 echo "FPSCAN 'fpscan' YES - $FPSCAN" 7764 GOT_VIRUS_SCANNER=1 7765 fi 7766 7767 if test "$SOPHIE" = "/bin/false" ; then 7768 if test "$ac_cv_sophie" != "yes" ; then 7769 echo "SOPHIE 'sophie' NO (Disabled by configure command)" 7770 else 7771 echo "SOPHIE 'sophie' NO (not found)" 7772 fi 7773 else 7774 echo "SOPHIE 'sophie' YES - $SOPHIE" 7775 GOT_VIRUS_SCANNER=1 7776 fi 7777 7778 if test "$NVCC" = "/bin/false" ; then 7779 if test "$ac_cv_nvcc" != "yes" ; then 7780 echo "NVCC 'nvcc' NO (Disabled by configure command)" 7781 else 7782 echo "NVCC 'nvcc' NO (not found)" 7783 fi 7784 else 7785 echo "NVCC 'nvcc' YES - $NVCC" 7786 GOT_VIRUS_SCANNER=1 7787 fi 7788 7789 if test "$CLAMD" = "/bin/false" ; then 7790 if test "$ac_cv_clamd" != "yes" ; then 7791 echo "CLAMD 'clamd' NO (Disabled by configure command)" 7792 else 7793 echo "CLAMD 'clamd' NO (not found)" 7794 fi 7795 else 7796 echo "CLAMD 'clamd' YES - $CLAMD" 7797 GOT_VIRUS_SCANNER=1 7798 fi 7799 7800 if test "$TROPHIE" = "/bin/false" ; then 7801 if test "$ac_cv_trophie" != "yes" ; then 7802 echo "TROPHIE 'trophie' NO (Disabled by configure command)" 7803 else 7804 echo "TROPHIE 'trophie' NO (not found)" 7805 fi 7806 else 7807 echo "TROPHIE 'trophie' YES - $TROPHIE" 7808 GOT_VIRUS_SCANNER=1 7809 fi 7810 7811 if test "$NOD32" = "/bin/false" ; then 7812 if test "$ac_cv_nod32" != "yes" ; then 7813 echo "NOD32 'nod32cli' NO (Disabled by configure command)" 7814 else 7815 echo "NOD32 'nod32cli' NO (not found)" 7816 fi 7817 else 7818 echo "NOD32 'nod32cli' YES - $NOD32" 7819 GOT_VIRUS_SCANNER=1 7820 fi 7821fi 7822 7823if test "$GOT_VIRUS_SCANNER" = "0" ; then 7824 echo "" 7825 echo "Could not find any recognized virus scanner... do not use" 7826 echo "any of the contains_virus functions in your filter." 7827fi 7828 7829if test "$CLAMD" != "/bin/false" -o "$SOPHIE" != "/bin/false" -o "$TROPHIE" != "/bin/false" ; then 7830 echo "" 7831 if test "$CLAMD" != "/bin/false" ; then 7832 echo "Make sure clamd runs as the $DEFANGUSER user!" 7833 echo " ...and make sure you use clamd version 0.67 or higher." 7834 fi 7835 if test "$SOPHIE" != "/bin/false" ; then 7836 echo "See README.SOPHIE for more information about running Sophie." 7837 fi 7838 if test "$TROPHIE" != "/bin/false" ; then 7839 echo "Make sure Trophie runs as the $DEFANGUSER user!" 7840 fi 7841 echo "" 7842fi 7843 7844if test "$ac_cv_perlmodcheck" = "yes" ; then 7845 if test "$HAVE_SPAM_ASSASSIN" = "yes" ; then 7846 echo "Found Mail::SpamAssassin. You may use spam_assassin_* functions" 7847 else 7848 echo "Did not find Mail::SpamAssassin. Do not use spam_assassin_* functions" 7849 fi 7850 7851 if test "$HAVE_HTML_PARSER" = "yes" ; then 7852 echo "Found HTML::Parser. You may use append_html_boilerplate()" 7853 else 7854 echo "Did not find HTML::Parser. Do not use append_html_boilerplate()" 7855 fi 7856 echo "" 7857fi 7858 7859echo "Note: SpamAssassin and HTML::Parser are" 7860echo "detected at run-time, so if you install or remove any of those modules, you" 7861echo "do not need to re-run ./configure and make a new mimedefang.pl." 7862 7863if test "$ac_cv_perlmodcheck" = "yes" ; then 7864 if test "$mtversion" = "unknown" ; then 7865 echo "" 7866 echo "Could not determine version of MIME::Tools. Please use 5.412 or later." 1>&6 7867 elif test $mtversion -lt 54120 ; then 7868 echo "" 1>&6 7869 echo "**** WARNING: We strongly recommend that you use MIME::Tools" 1>&6 7870 echo "**** version 5.412 or later instead of version $mt_actual_version." 1>&6 7871 fi 7872fi 7873 7874if test "$DEFANGUSER" != "" ; then 7875 id $DEFANGUSER > /dev/null 2>&1 7876 if test "$?" != 0 ; then 7877 echo "" 7878 echo "Note: The MIMEDefang user '$DEFANGUSER' does not seem to" 7879 echo "exist. Please create this user before continuing." 7880 fi 7881fi 7882 7883if test "$ENABLE_DEBUGGING" != "" ; then 7884 echo "" 7885 echo "*** WARNING: You have configured with --enable-debugging." 7886 echo "*** This will produce LARGE VOLUMES of syslog messages and" 7887 echo "*** is NOT RECOMMENDED for a production system." 7888fi 7889