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