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