1#! /bin/ksh 2# Generated by configure. 3# Run this file to recreate the current configuration. 4# Compiler output produced by configure, useful for debugging 5# configure, is in config.log if it exists. 6 7debug=false 8ac_cs_recheck=false 9ac_cs_silent=false 10 11SHELL=${CONFIG_SHELL-/bin/ksh} 12export SHELL 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92case $0 in #(( 93 *[\\/]* ) as_myself=$0 ;; 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95for as_dir in $PATH 96do 97 IFS=$as_save_IFS 98 test -z "$as_dir" && as_dir=. 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 101IFS=$as_save_IFS 102 103 ;; 104esac 105# We did not find ourselves, most probably we were run as `sh COMMAND' 106# in which case we are not to be found in the path. 107if test "x$as_myself" = x; then 108 as_myself=$0 109fi 110if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113fi 114 115# Unset variables that we do not need and which cause bugs (e.g. in 116# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117# suppresses any "Segmentation fault" message there. '((' could 118# trigger a bug in pdksh 5.2.14. 119for as_var in BASH_ENV ENV MAIL MAILPATH 120do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 122done 123PS1='$ ' 124PS2='> ' 125PS4='+ ' 126 127# NLS nuisances. 128LC_ALL=C 129export LC_ALL 130LANGUAGE=C 131export LANGUAGE 132 133# CDPATH. 134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136 137# as_fn_error ERROR [LINENO LOG_FD] 138# --------------------------------- 139# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 140# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 141# script with status $?, using 1 if that was 0. 142as_fn_error () 143{ 144 as_status=$?; test $as_status -eq 0 && as_status=1 145 if test "$3"; then 146 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 147 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 148 fi 149 $as_echo "$as_me: error: $1" >&2 150 as_fn_exit $as_status 151} # as_fn_error 152 153 154# as_fn_set_status STATUS 155# ----------------------- 156# Set $? to STATUS, without forking. 157as_fn_set_status () 158{ 159 return $1 160} # as_fn_set_status 161 162# as_fn_exit STATUS 163# ----------------- 164# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 165as_fn_exit () 166{ 167 set +e 168 as_fn_set_status $1 169 exit $1 170} # as_fn_exit 171 172# as_fn_unset VAR 173# --------------- 174# Portably unset VAR. 175as_fn_unset () 176{ 177 { eval $1=; unset $1;} 178} 179as_unset=as_fn_unset 180# as_fn_append VAR VALUE 181# ---------------------- 182# Append the text in VALUE to the end of the definition contained in VAR. Take 183# advantage of any shell optimizations that allow amortized linear growth over 184# repeated appends, instead of the typical quadratic growth present in naive 185# implementations. 186if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 187 eval 'as_fn_append () 188 { 189 eval $1+=\$2 190 }' 191else 192 as_fn_append () 193 { 194 eval $1=\$$1\$2 195 } 196fi # as_fn_append 197 198# as_fn_arith ARG... 199# ------------------ 200# Perform arithmetic evaluation on the ARGs, and store the result in the 201# global $as_val. Take advantage of shells that can avoid forks. The arguments 202# must be portable across $(()) and expr. 203if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 204 eval 'as_fn_arith () 205 { 206 as_val=$(( $* )) 207 }' 208else 209 as_fn_arith () 210 { 211 as_val=`expr "$@" || test $? -eq 1` 212 } 213fi # as_fn_arith 214 215 216if expr a : '\(a\)' >/dev/null 2>&1 && 217 test "X`expr 00001 : '.*\(...\)'`" = X001; then 218 as_expr=expr 219else 220 as_expr=false 221fi 222 223if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 224 as_basename=basename 225else 226 as_basename=false 227fi 228 229if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 230 as_dirname=dirname 231else 232 as_dirname=false 233fi 234 235as_me=`$as_basename -- "$0" || 236$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 237 X"$0" : 'X\(//\)$' \| \ 238 X"$0" : 'X\(/\)' \| . 2>/dev/null || 239$as_echo X/"$0" | 240 sed '/^.*\/\([^/][^/]*\)\/*$/{ 241 s//\1/ 242 q 243 } 244 /^X\/\(\/\/\)$/{ 245 s//\1/ 246 q 247 } 248 /^X\/\(\/\).*/{ 249 s//\1/ 250 q 251 } 252 s/.*/./; q'` 253 254# Avoid depending upon Character Ranges. 255as_cr_letters='abcdefghijklmnopqrstuvwxyz' 256as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 257as_cr_Letters=$as_cr_letters$as_cr_LETTERS 258as_cr_digits='0123456789' 259as_cr_alnum=$as_cr_Letters$as_cr_digits 260 261ECHO_C= ECHO_N= ECHO_T= 262case `echo -n x` in #((((( 263-n*) 264 case `echo 'xy\c'` in 265 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 266 xy) ECHO_C='\c';; 267 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 268 ECHO_T=' ';; 269 esac;; 270*) 271 ECHO_N='-n';; 272esac 273 274rm -f conf$$ conf$$.exe conf$$.file 275if test -d conf$$.dir; then 276 rm -f conf$$.dir/conf$$.file 277else 278 rm -f conf$$.dir 279 mkdir conf$$.dir 2>/dev/null 280fi 281if (echo >conf$$.file) 2>/dev/null; then 282 if ln -s conf$$.file conf$$ 2>/dev/null; then 283 as_ln_s='ln -s' 284 # ... but there are two gotchas: 285 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 286 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 287 # In both cases, we have to default to `cp -p'. 288 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 289 as_ln_s='cp -p' 290 elif ln conf$$.file conf$$ 2>/dev/null; then 291 as_ln_s=ln 292 else 293 as_ln_s='cp -p' 294 fi 295else 296 as_ln_s='cp -p' 297fi 298rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 299rmdir conf$$.dir 2>/dev/null 300 301 302# as_fn_mkdir_p 303# ------------- 304# Create "$as_dir" as a directory, including parents if necessary. 305as_fn_mkdir_p () 306{ 307 308 case $as_dir in #( 309 -*) as_dir=./$as_dir;; 310 esac 311 test -d "$as_dir" || eval $as_mkdir_p || { 312 as_dirs= 313 while :; do 314 case $as_dir in #( 315 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 316 *) as_qdir=$as_dir;; 317 esac 318 as_dirs="'$as_qdir' $as_dirs" 319 as_dir=`$as_dirname -- "$as_dir" || 320$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 321 X"$as_dir" : 'X\(//\)[^/]' \| \ 322 X"$as_dir" : 'X\(//\)$' \| \ 323 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 324$as_echo X"$as_dir" | 325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 326 s//\1/ 327 q 328 } 329 /^X\(\/\/\)[^/].*/{ 330 s//\1/ 331 q 332 } 333 /^X\(\/\/\)$/{ 334 s//\1/ 335 q 336 } 337 /^X\(\/\).*/{ 338 s//\1/ 339 q 340 } 341 s/.*/./; q'` 342 test -d "$as_dir" && break 343 done 344 test -z "$as_dirs" || eval "mkdir $as_dirs" 345 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 346 347 348} # as_fn_mkdir_p 349if mkdir -p . 2>/dev/null; then 350 as_mkdir_p='mkdir -p "$as_dir"' 351else 352 test -d ./-p && rmdir ./-p 353 as_mkdir_p=false 354fi 355 356if test -x / >/dev/null 2>&1; then 357 as_test_x='test -x' 358else 359 if ls -dL / >/dev/null 2>&1; then 360 as_ls_L_option=L 361 else 362 as_ls_L_option= 363 fi 364 as_test_x=' 365 eval sh -c '\'' 366 if test -d "$1"; then 367 test -d "$1/."; 368 else 369 case $1 in #( 370 -*)set "./$1";; 371 esac; 372 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 373 ???[sx]*):;;*)false;;esac;fi 374 '\'' sh 375 ' 376fi 377as_executable_p=$as_test_x 378 379# Sed expression to map a string onto a valid CPP name. 380as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 381 382# Sed expression to map a string onto a valid variable name. 383as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 384 385 386exec 6>&1 387## ----------------------------------- ## 388## Main body of $CONFIG_STATUS script. ## 389## ----------------------------------- ## 390# Save the log message, to keep $0 and so on meaningful, and to 391# report actual input values of CONFIG_FILES etc. instead of their 392# values after options handling. 393ac_log=" 394This file was extended by milter-greylist $as_me 4.6.4, which was 395generated by GNU Autoconf 2.65. Invocation command line was 396 397 CONFIG_FILES = $CONFIG_FILES 398 CONFIG_HEADERS = $CONFIG_HEADERS 399 CONFIG_LINKS = $CONFIG_LINKS 400 CONFIG_COMMANDS = $CONFIG_COMMANDS 401 $ $0 $@ 402 403on `(hostname || uname -n) 2>/dev/null | sed 1q` 404" 405 406# Files that config.status was made for. 407config_files=" Makefile milter-greylist.spec" 408config_headers=" config.h" 409 410ac_cs_usage="\ 411\`$as_me' instantiates files and other configuration actions 412from templates according to the current configuration. Unless the files 413and actions are specified as TAGs, all are instantiated by default. 414 415Usage: $0 [OPTION]... [TAG]... 416 417 -h, --help print this help, then exit 418 -V, --version print version number and configuration settings, then exit 419 --config print configuration, then exit 420 -q, --quiet, --silent 421 do not print progress messages 422 -d, --debug don't remove temporary files 423 --recheck update $as_me by reconfiguring in the same conditions 424 --file=FILE[:TEMPLATE] 425 instantiate the configuration file FILE 426 --header=FILE[:TEMPLATE] 427 instantiate the configuration header FILE 428 429Configuration files: 430$config_files 431 432Configuration headers: 433$config_headers 434 435Report bugs to <manu@netbsd.org>." 436 437ac_cs_config="'--with-libmilter=/usr/pkg'" 438ac_cs_version="\ 439milter-greylist config.status 4.6.4 440configured by ./configure, generated by GNU Autoconf 2.65, 441 with options \"$ac_cs_config\" 442 443Copyright (C) 2009 Free Software Foundation, Inc. 444This config.status script is free software; the Free Software Foundation 445gives unlimited permission to copy, distribute and modify it." 446 447ac_pwd='/home/manu/milter-greylist-current' 448srcdir='.' 449INSTALL='/usr/bin/install -c' 450test -n "$AWK" || AWK=awk 451# The default lists apply if the user does not specify any file. 452ac_need_defaults=: 453while test $# != 0 454do 455 case $1 in 456 --*=*) 457 ac_option=`expr "X$1" : 'X\([^=]*\)='` 458 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 459 ac_shift=: 460 ;; 461 *) 462 ac_option=$1 463 ac_optarg=$2 464 ac_shift=shift 465 ;; 466 esac 467 468 case $ac_option in 469 # Handling of the options. 470 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 471 ac_cs_recheck=: ;; 472 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 473 $as_echo "$ac_cs_version"; exit ;; 474 --config | --confi | --conf | --con | --co | --c ) 475 $as_echo "$ac_cs_config"; exit ;; 476 --debug | --debu | --deb | --de | --d | -d ) 477 debug=: ;; 478 --file | --fil | --fi | --f ) 479 $ac_shift 480 case $ac_optarg in 481 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 482 esac 483 as_fn_append CONFIG_FILES " '$ac_optarg'" 484 ac_need_defaults=false;; 485 --header | --heade | --head | --hea ) 486 $ac_shift 487 case $ac_optarg in 488 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 489 esac 490 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 491 ac_need_defaults=false;; 492 --he | --h) 493 # Conflict between --help and --header 494 as_fn_error "ambiguous option: \`$1' 495Try \`$0 --help' for more information.";; 496 --help | --hel | -h ) 497 $as_echo "$ac_cs_usage"; exit ;; 498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 499 | -silent | --silent | --silen | --sile | --sil | --si | --s) 500 ac_cs_silent=: ;; 501 502 # This is an error. 503 -*) as_fn_error "unrecognized option: \`$1' 504Try \`$0 --help' for more information." ;; 505 506 *) as_fn_append ac_config_targets " $1" 507 ac_need_defaults=false ;; 508 509 esac 510 shift 511done 512 513ac_configure_extra_args= 514 515if $ac_cs_silent; then 516 exec 6>/dev/null 517 ac_configure_extra_args="$ac_configure_extra_args --silent" 518fi 519 520if $ac_cs_recheck; then 521 set X '/bin/ksh' './configure' '--with-libmilter=/usr/pkg' $ac_configure_extra_args --no-create --no-recursion 522 shift 523 $as_echo "running CONFIG_SHELL=/bin/ksh $*" >&6 524 CONFIG_SHELL='/bin/ksh' 525 export CONFIG_SHELL 526 exec "$@" 527fi 528 529exec 5>>config.log 530{ 531 echo 532 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 533## Running $as_me. ## 534_ASBOX 535 $as_echo "$ac_log" 536} >&5 537 538 539# Handling of arguments. 540for ac_config_target in $ac_config_targets 541do 542 case $ac_config_target in 543 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 544 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 545 "milter-greylist.spec") CONFIG_FILES="$CONFIG_FILES milter-greylist.spec" ;; 546 547 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 548 esac 549done 550 551 552# If the user did not use the arguments to specify the items to instantiate, 553# then the envvar interface is used. Set only those that are not. 554# We use the long form for the default assignment because of an extremely 555# bizarre bug on SunOS 4.1.3. 556if $ac_need_defaults; then 557 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 558 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 559fi 560 561# Have a temporary directory for convenience. Make it in the build tree 562# simply because there is no reason against having it here, and in addition, 563# creating and moving files from /tmp can sometimes cause problems. 564# Hook for its removal unless debugging. 565# Note that there is a small window in which the directory will not be cleaned: 566# after its creation but before its name has been assigned to `$tmp'. 567$debug || 568{ 569 tmp= 570 trap 'exit_status=$? 571 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 572' 0 573 trap 'as_fn_exit 1' 1 2 13 15 574} 575# Create a (secure) tmp directory for tmp files. 576 577{ 578 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 579 test -n "$tmp" && test -d "$tmp" 580} || 581{ 582 tmp=./conf$$-$RANDOM 583 (umask 077 && mkdir "$tmp") 584} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 585 586# Set up the scripts for CONFIG_FILES section. 587# No need to generate them if there are no CONFIG_FILES. 588# This happens for instance with `./config.status config.h'. 589if test -n "$CONFIG_FILES"; then 590 591 592ac_cr=`echo X | tr X '\015'` 593# On cygwin, bash can eat \r inside `` if the user requested igncr. 594# But we know of no other shell where ac_cr would be empty at this 595# point, so we can use a bashism as a fallback. 596if test "x$ac_cr" = x; then 597 eval ac_cr=\$\'\\r\' 598fi 599ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 600if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 601 ac_cs_awk_cr='\r' 602else 603 ac_cs_awk_cr=$ac_cr 604fi 605 606echo 'BEGIN {' >"$tmp/subs1.awk" && 607cat >>"$tmp/subs1.awk" <<\_ACAWK && 608S["LTLIBOBJS"]="" 609S["DUMPFILE"]="${LOCALSTATEDIR}/milter-greylist/greylist.db" 610S["CONFFILE"]="${SYSCONFDIR}/mail/greylist.conf" 611S["USER"]="root" 612S["MAKE_J1"]="-j 1" 613S["LIBOBJS"]="" 614S["EGREP"]="/usr/bin/grep -E" 615S["GREP"]="/usr/bin/grep" 616S["CPP"]="gcc -E" 617S["TOUCH"]="touch" 618S["TRUE"]="true" 619S["SED"]="sed" 620S["TEST"]="test" 621S["MV"]="mv" 622S["RM"]="rm" 623S["MKDEP"]="mkdep" 624S["INSTALL_DATA"]="${INSTALL} -m 644" 625S["INSTALL_SCRIPT"]="${INSTALL}" 626S["INSTALL_PROGRAM"]="${INSTALL}" 627S["YFLAGS"]="" 628S["YACC"]="yacc" 629S["LEXLIB"]="-lfl" 630S["LEX_OUTPUT_ROOT"]="lex.yy" 631S["LEX"]="flex" 632S["OBJEXT"]="o" 633S["EXEEXT"]="" 634S["ac_ct_CC"]="gcc" 635S["CPPFLAGS"]="" 636S["LDFLAGS"]=" -L/usr/pkg/lib -Wl,--rpath=/usr/pkg/lib" 637S["CFLAGS"]="-g -O2 -Wall -I/usr/pkg/include -DHAVE_DATA_CALLBACK -DCONFFILE=\\\"${CONFFILE}\\\" -DDUMPFILE=\\\"${DUMPFILE}\\\"" 638S["CC"]="gcc" 639S["target_alias"]="" 640S["host_alias"]="" 641S["build_alias"]="" 642S["LIBS"]=" -lpthread -lresolv -lmilter" 643S["ECHO_T"]="" 644S["ECHO_N"]="-n" 645S["ECHO_C"]="" 646S["DEFS"]="-DHAVE_CONFIG_H" 647S["mandir"]="${datarootdir}/man" 648S["localedir"]="${datarootdir}/locale" 649S["libdir"]="${exec_prefix}/lib" 650S["psdir"]="${docdir}" 651S["pdfdir"]="${docdir}" 652S["dvidir"]="${docdir}" 653S["htmldir"]="${docdir}" 654S["infodir"]="${datarootdir}/info" 655S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" 656S["oldincludedir"]="/usr/include" 657S["includedir"]="${prefix}/include" 658S["localstatedir"]="${prefix}/var" 659S["sharedstatedir"]="${prefix}/com" 660S["sysconfdir"]="${prefix}/etc" 661S["datadir"]="${datarootdir}" 662S["datarootdir"]="${prefix}/share" 663S["libexecdir"]="${exec_prefix}/libexec" 664S["sbindir"]="${exec_prefix}/sbin" 665S["bindir"]="${exec_prefix}/bin" 666S["program_transform_name"]="s,x,x," 667S["prefix"]="/usr/local" 668S["exec_prefix"]="${prefix}" 669S["PACKAGE_URL"]="" 670S["PACKAGE_BUGREPORT"]="manu@netbsd.org" 671S["PACKAGE_STRING"]="milter-greylist 4.6.4" 672S["PACKAGE_VERSION"]="4.6.4" 673S["PACKAGE_TARNAME"]="milter-greylist" 674S["PACKAGE_NAME"]="milter-greylist" 675S["PATH_SEPARATOR"]=":" 676S["SHELL"]="/bin/ksh" 677_ACAWK 678cat >>"$tmp/subs1.awk" <<_ACAWK && 679 for (key in S) S_is_set[key] = 1 680 FS = "" 681 682} 683{ 684 line = $ 0 685 nfields = split(line, field, "@") 686 substed = 0 687 len = length(field[1]) 688 for (i = 2; i < nfields; i++) { 689 key = field[i] 690 keylen = length(key) 691 if (S_is_set[key]) { 692 value = S[key] 693 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 694 len += length(value) + length(field[++i]) 695 substed = 1 696 } else 697 len += 1 + keylen 698 } 699 700 print line 701} 702 703_ACAWK 704if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 705 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 706else 707 cat 708fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 709 || as_fn_error "could not setup config files machinery" "$LINENO" 5 710fi # test -n "$CONFIG_FILES" 711 712# Set up the scripts for CONFIG_HEADERS section. 713# No need to generate them if there are no CONFIG_HEADERS. 714# This happens for instance with `./config.status Makefile'. 715if test -n "$CONFIG_HEADERS"; then 716cat >"$tmp/defines.awk" <<\_ACAWK || 717BEGIN { 718D["PACKAGE_NAME"]=" \"milter-greylist\"" 719D["PACKAGE_TARNAME"]=" \"milter-greylist\"" 720D["PACKAGE_VERSION"]=" \"4.6.4\"" 721D["PACKAGE_STRING"]=" \"milter-greylist 4.6.4\"" 722D["PACKAGE_BUGREPORT"]=" \"manu@netbsd.org\"" 723D["PACKAGE_URL"]=" \"\"" 724D["YYTEXT_POINTER"]=" 1" 725D["PACKAGE_VERSION_UPSTREAM"]=" \"4.6.4\"" 726D["PACKAGE_VERSION_SUFFIX"]=" \"\"" 727D["STDC_HEADERS"]=" 1" 728D["HAVE_SYS_TYPES_H"]=" 1" 729D["HAVE_SYS_STAT_H"]=" 1" 730D["HAVE_STDLIB_H"]=" 1" 731D["HAVE_STRING_H"]=" 1" 732D["HAVE_MEMORY_H"]=" 1" 733D["HAVE_STRINGS_H"]=" 1" 734D["HAVE_INTTYPES_H"]=" 1" 735D["HAVE_STDINT_H"]=" 1" 736D["HAVE_UNISTD_H"]=" 1" 737D["HAVE_ARPA_INET_H"]=" 1" 738D["HAVE_FCNTL_H"]=" 1" 739D["HAVE_NETINET_IN_H"]=" 1" 740D["HAVE_STDLIB_H"]=" 1" 741D["HAVE_STRING_H"]=" 1" 742D["HAVE_STRINGS_H"]=" 1" 743D["HAVE_SYS_SOCKET_H"]=" 1" 744D["HAVE_SYS_TIME_H"]=" 1" 745D["HAVE_SYSLOG_H"]=" 1" 746D["HAVE_UNISTD_H"]=" 1" 747D["HAVE_SYS_PARAM_H"]=" 1" 748D["HAVE_NETDB_H"]=" 1" 749D["HAVE_GETOPT_H"]=" 1" 750D["HAVE_SYS_CDEFS_H"]=" 1" 751D["HAVE_ARPA_NAMESER_H"]=" 1" 752D["HAVE_STDBOOL_H"]=" 1" 753D["HAVE_SYS_QUEUE_H"]=" 1" 754D["TIME_WITH_SYS_TIME"]=" 1" 755D["HAVE_RES_STATE"]=" 1" 756D["HAVE_FORK"]=" 1" 757D["HAVE_VFORK"]=" 1" 758D["HAVE_WORKING_VFORK"]=" 1" 759D["HAVE_WORKING_FORK"]=" 1" 760D["HAVE_STRFTIME"]=" 1" 761D["HAVE_SYS_SELECT_H"]=" 1" 762D["HAVE_SYS_SOCKET_H"]=" 1" 763D["SELECT_TYPE_ARG1"]=" int" 764D["SELECT_TYPE_ARG234"]=" (fd_set *)" 765D["SELECT_TYPE_ARG5"]=" (struct timeval *)" 766D["LSTAT_FOLLOWS_SLASHED_SYMLINK"]=" 1" 767D["HAVE_BZERO"]=" 1" 768D["HAVE_GETTIMEOFDAY"]=" 1" 769D["HAVE_MALLOC"]=" 1" 770D["HAVE_INET_NTOA"]=" 1" 771D["HAVE_STRERROR"]=" 1" 772D["HAVE_SELECT"]=" 1" 773D["HAVE_SOCKET"]=" 1" 774D["HAVE_INITGROUPS"]=" 1" 775D["HAVE_STRLCAT"]=" 1" 776D["HAVE_VSYSLOG"]=" 1" 777D["HAVE_STRCASESTR"]=" 1" 778D["HAVE_GETADDRINFO"]=" 1" 779D["HAVE_GETNAMEINFO"]=" 1" 780D["HAVE_RES_NINIT"]=" 1" 781D["HAVE_RES_NDESTROY"]=" 1" 782D["HAVE_GETADDRINFO"]=" 1" 783D["HAVE_GETNAMEINFO"]=" 1" 784D["HAVE_SA_LEN"]=" /**/" 785D["HAVE_SIN6_SCOPE_ID"]=" 1" 786D["BUILD_ENV"]=" \"manu@adipocyte.hcpnet.net:/home/manu/milter-greylist-current Fri Aug 28 02:05:59 CEST 2020\"" 787 for (key in D) D_is_set[key] = 1 788 FS = "" 789} 790/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { 791 line = $ 0 792 split(line, arg, " ") 793 if (arg[1] == "#") { 794 defundef = arg[2] 795 mac1 = arg[3] 796 } else { 797 defundef = substr(arg[1], 2) 798 mac1 = arg[2] 799 } 800 split(mac1, mac2, "(") #) 801 macro = mac2[1] 802 prefix = substr(line, 1, index(line, defundef) - 1) 803 if (D_is_set[macro]) { 804 # Preserve the white space surrounding the "#". 805 print prefix "define", macro P[macro] D[macro] 806 next 807 } else { 808 # Replace #undef with comments. This is necessary, for example, 809 # in the case of _POSIX_SOURCE, which is predefined and required 810 # on some systems where configure will not decide to define it. 811 if (defundef == "undef") { 812 print "/*", prefix defundef, macro, "*/" 813 next 814 } 815 } 816} 817{ print } 818_ACAWK 819 as_fn_error "could not setup config headers machinery" "$LINENO" 5 820fi # test -n "$CONFIG_HEADERS" 821 822 823eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 824shift 825for ac_tag 826do 827 case $ac_tag in 828 :[FHLC]) ac_mode=$ac_tag; continue;; 829 esac 830 case $ac_mode$ac_tag in 831 :[FHL]*:*);; 832 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 833 :[FH]-) ac_tag=-:-;; 834 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 835 esac 836 ac_save_IFS=$IFS 837 IFS=: 838 set x $ac_tag 839 IFS=$ac_save_IFS 840 shift 841 ac_file=$1 842 shift 843 844 case $ac_mode in 845 :L) ac_source=$1;; 846 :[FH]) 847 ac_file_inputs= 848 for ac_f 849 do 850 case $ac_f in 851 -) ac_f="$tmp/stdin";; 852 *) # Look for the file first in the build tree, then in the source tree 853 # (if the path is not absolute). The absolute path cannot be DOS-style, 854 # because $ac_f cannot contain `:'. 855 test -f "$ac_f" || 856 case $ac_f in 857 [\\/$]*) false;; 858 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 859 esac || 860 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 861 esac 862 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 863 as_fn_append ac_file_inputs " '$ac_f'" 864 done 865 866 # Let's still pretend it is `configure' which instantiates (i.e., don't 867 # use $as_me), people would be surprised to read: 868 # /* config.h. Generated by config.status. */ 869 configure_input='Generated from '` 870 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 871 `' by configure.' 872 if test x"$ac_file" != x-; then 873 configure_input="$ac_file. $configure_input" 874 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 875$as_echo "$as_me: creating $ac_file" >&6;} 876 fi 877 # Neutralize special characters interpreted by sed in replacement strings. 878 case $configure_input in #( 879 *\&* | *\|* | *\\* ) 880 ac_sed_conf_input=`$as_echo "$configure_input" | 881 sed 's/[\\\\&|]/\\\\&/g'`;; #( 882 *) ac_sed_conf_input=$configure_input;; 883 esac 884 885 case $ac_tag in 886 *:-:* | *:-) cat >"$tmp/stdin" \ 887 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 888 esac 889 ;; 890 esac 891 892 ac_dir=`$as_dirname -- "$ac_file" || 893$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 894 X"$ac_file" : 'X\(//\)[^/]' \| \ 895 X"$ac_file" : 'X\(//\)$' \| \ 896 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 897$as_echo X"$ac_file" | 898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 899 s//\1/ 900 q 901 } 902 /^X\(\/\/\)[^/].*/{ 903 s//\1/ 904 q 905 } 906 /^X\(\/\/\)$/{ 907 s//\1/ 908 q 909 } 910 /^X\(\/\).*/{ 911 s//\1/ 912 q 913 } 914 s/.*/./; q'` 915 as_dir="$ac_dir"; as_fn_mkdir_p 916 ac_builddir=. 917 918case "$ac_dir" in 919.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 920*) 921 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 922 # A ".." for each directory in $ac_dir_suffix. 923 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 924 case $ac_top_builddir_sub in 925 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 926 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 927 esac ;; 928esac 929ac_abs_top_builddir=$ac_pwd 930ac_abs_builddir=$ac_pwd$ac_dir_suffix 931# for backward compatibility: 932ac_top_builddir=$ac_top_build_prefix 933 934case $srcdir in 935 .) # We are building in place. 936 ac_srcdir=. 937 ac_top_srcdir=$ac_top_builddir_sub 938 ac_abs_top_srcdir=$ac_pwd ;; 939 [\\/]* | ?:[\\/]* ) # Absolute name. 940 ac_srcdir=$srcdir$ac_dir_suffix; 941 ac_top_srcdir=$srcdir 942 ac_abs_top_srcdir=$srcdir ;; 943 *) # Relative name. 944 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 945 ac_top_srcdir=$ac_top_build_prefix$srcdir 946 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 947esac 948ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 949 950 951 case $ac_mode in 952 :F) 953 # 954 # CONFIG_FILE 955 # 956 957 case $INSTALL in 958 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 959 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 960 esac 961# If the template does not know about datarootdir, expand it. 962# FIXME: This hack should be removed a few years after 2.60. 963ac_datarootdir_hack=; ac_datarootdir_seen= 964ac_sed_dataroot=' 965/datarootdir/ { 966 p 967 q 968} 969/@datadir@/p 970/@docdir@/p 971/@infodir@/p 972/@localedir@/p 973/@mandir@/p' 974case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 975*datarootdir*) ac_datarootdir_seen=yes;; 976*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 978$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 979 ac_datarootdir_hack=' 980 s&@datadir@&${datarootdir}&g 981 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g 982 s&@infodir@&${datarootdir}/info&g 983 s&@localedir@&${datarootdir}/locale&g 984 s&@mandir@&${datarootdir}/man&g 985 s&\${datarootdir}&${prefix}/share&g' ;; 986esac 987ac_sed_extra="/^[ ]*VPATH[ ]*=/{ 988s/:*\$(srcdir):*/:/ 989s/:*\${srcdir}:*/:/ 990s/:*@srcdir@:*/:/ 991s/^\([^=]*=[ ]*\):*/\1/ 992s/:*$// 993s/^[^=]*=[ ]*$// 994} 995 996:t 997/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 998s|@configure_input@|$ac_sed_conf_input|;t t 999s&@top_builddir@&$ac_top_builddir_sub&;t t 1000s&@top_build_prefix@&$ac_top_build_prefix&;t t 1001s&@srcdir@&$ac_srcdir&;t t 1002s&@abs_srcdir@&$ac_abs_srcdir&;t t 1003s&@top_srcdir@&$ac_top_srcdir&;t t 1004s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 1005s&@builddir@&$ac_builddir&;t t 1006s&@abs_builddir@&$ac_abs_builddir&;t t 1007s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 1008s&@INSTALL@&$ac_INSTALL&;t t 1009$ac_datarootdir_hack 1010" 1011eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 1012 || as_fn_error "could not create $ac_file" "$LINENO" 5 1013 1014test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 1015 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 1016 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 1017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1018which seems to be undefined. Please make sure it is defined." >&5 1019$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 1020which seems to be undefined. Please make sure it is defined." >&2;} 1021 1022 rm -f "$tmp/stdin" 1023 case $ac_file in 1024 -) cat "$tmp/out" && rm -f "$tmp/out";; 1025 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 1026 esac \ 1027 || as_fn_error "could not create $ac_file" "$LINENO" 5 1028 ;; 1029 :H) 1030 # 1031 # CONFIG_HEADER 1032 # 1033 if test x"$ac_file" != x-; then 1034 { 1035 $as_echo "/* $configure_input */" \ 1036 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 1037 } >"$tmp/config.h" \ 1038 || as_fn_error "could not create $ac_file" "$LINENO" 5 1039 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 1040 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 1041$as_echo "$as_me: $ac_file is unchanged" >&6;} 1042 else 1043 rm -f "$ac_file" 1044 mv "$tmp/config.h" "$ac_file" \ 1045 || as_fn_error "could not create $ac_file" "$LINENO" 5 1046 fi 1047 else 1048 $as_echo "/* $configure_input */" \ 1049 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 1050 || as_fn_error "could not create -" "$LINENO" 5 1051 fi 1052 ;; 1053 1054 1055 esac 1056 1057done # for ac_tag 1058 1059 1060as_fn_exit 0 1061