1#! /bin/sh 2# From configure.ac Revision. 3# Guess values for system-dependent variables and create Makefiles. 4# Generated by GNU Autoconf 2.69. 5# 6# 7# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 8# 9# 10# This configure script is free software; the Free Software Foundation 11# gives unlimited permission to copy, distribute and modify it. 12## -------------------- ## 13## M4sh Initialization. ## 14## -------------------- ## 15 16# Be more Bourne compatible 17DUALCASE=1; export DUALCASE # for MKS sh 18if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 19 emulate sh 20 NULLCMD=: 21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 22 # is contrary to our usage. Disable this feature. 23 alias -g '${1+"$@"}'='"$@"' 24 setopt NO_GLOB_SUBST 25else 26 case `(set -o) 2>/dev/null` in #( 27 *posix*) : 28 set -o posix ;; #( 29 *) : 30 ;; 31esac 32fi 33 34 35as_nl=' 36' 37export as_nl 38# Printing a long string crashes Solaris 7 /usr/bin/printf. 39as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 42# Prefer a ksh shell builtin over an external printf program on Solaris, 43# but without wasting forks for bash or zsh. 44if test -z "$BASH_VERSION$ZSH_VERSION" \ 45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 46 as_echo='print -r --' 47 as_echo_n='print -rn --' 48elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='printf %s\n' 50 as_echo_n='printf %s' 51else 52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 54 as_echo_n='/usr/ucb/echo -n' 55 else 56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 57 as_echo_n_body='eval 58 arg=$1; 59 case $arg in #( 60 *"$as_nl"*) 61 expr "X$arg" : "X\\(.*\\)$as_nl"; 62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 63 esac; 64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 65 ' 66 export as_echo_n_body 67 as_echo_n='sh -c $as_echo_n_body as_echo' 68 fi 69 export as_echo_body 70 as_echo='sh -c $as_echo_body as_echo' 71fi 72 73# The user is always right. 74if test "${PATH_SEPARATOR+set}" != set; then 75 PATH_SEPARATOR=: 76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 78 PATH_SEPARATOR=';' 79 } 80fi 81 82 83# IFS 84# We need space, tab and new line, in precisely that order. Quoting is 85# there to prevent editors from complaining about space-tab. 86# (If _AS_PATH_WALK were called with IFS unset, it would disable word 87# splitting by setting IFS to empty value.) 88IFS=" "" $as_nl" 89 90# Find who we are. Look in the path if we contain no directory separator. 91as_myself= 92case $0 in #(( 93 *[\\/]* ) as_myself=$0 ;; 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95for as_dir in $PATH 96do 97 IFS=$as_save_IFS 98 test -z "$as_dir" && as_dir=. 99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 done 101IFS=$as_save_IFS 102 103 ;; 104esac 105# We did not find ourselves, most probably we were run as `sh COMMAND' 106# in which case we are not to be found in the path. 107if test "x$as_myself" = x; then 108 as_myself=$0 109fi 110if test ! -f "$as_myself"; then 111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 exit 1 113fi 114 115# Unset variables that we do not need and which cause bugs (e.g. in 116# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117# suppresses any "Segmentation fault" message there. '((' could 118# trigger a bug in pdksh 5.2.14. 119for as_var in BASH_ENV ENV MAIL MAILPATH 120do eval test x\${$as_var+set} = xset \ 121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 122done 123PS1='$ ' 124PS2='> ' 125PS4='+ ' 126 127# NLS nuisances. 128LC_ALL=C 129export LC_ALL 130LANGUAGE=C 131export LANGUAGE 132 133# CDPATH. 134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 136# Use a proper internal environment variable to ensure we don't fall 137 # into an infinite loop, continuously re-executing ourselves. 138 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 139 _as_can_reexec=no; export _as_can_reexec; 140 # We cannot yet assume a decent shell, so we have to provide a 141# neutralization value for shells without unset; and this also 142# works around shells that cannot unset nonexistent variables. 143# Preserve -v and -x to the replacement shell. 144BASH_ENV=/dev/null 145ENV=/dev/null 146(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 147case $- in # (((( 148 *v*x* | *x*v* ) as_opts=-vx ;; 149 *v* ) as_opts=-v ;; 150 *x* ) as_opts=-x ;; 151 * ) as_opts= ;; 152esac 153exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 154# Admittedly, this is quite paranoid, since all the known shells bail 155# out after a failed `exec'. 156$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 157as_fn_exit 255 158 fi 159 # We don't want this to propagate to other subprocesses. 160 { _as_can_reexec=; unset _as_can_reexec;} 161if test "x$CONFIG_SHELL" = x; then 162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 163 emulate sh 164 NULLCMD=: 165 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 166 # is contrary to our usage. Disable this feature. 167 alias -g '\${1+\"\$@\"}'='\"\$@\"' 168 setopt NO_GLOB_SUBST 169else 170 case \`(set -o) 2>/dev/null\` in #( 171 *posix*) : 172 set -o posix ;; #( 173 *) : 174 ;; 175esac 176fi 177" 178 as_required="as_fn_return () { (exit \$1); } 179as_fn_success () { as_fn_return 0; } 180as_fn_failure () { as_fn_return 1; } 181as_fn_ret_success () { return 0; } 182as_fn_ret_failure () { return 1; } 183 184exitcode=0 185as_fn_success || { exitcode=1; echo as_fn_success failed.; } 186as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 187as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 188as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 189if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 190 191else 192 exitcode=1; echo positional parameters were not saved. 193fi 194test x\$exitcode = x0 || exit 1 195test -x / || exit 1" 196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 199 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || 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="rlm_unbound.c" 586ac_subst_vars='LTLIBOBJS 587LIBOBJS 588targetname 589mod_ldflags 590mod_cflags 591OBJEXT 592EXEEXT 593ac_ct_CC 594CPPFLAGS 595LDFLAGS 596CFLAGS 597CC 598target_alias 599host_alias 600build_alias 601LIBS 602ECHO_T 603ECHO_N 604ECHO_C 605DEFS 606mandir 607localedir 608libdir 609psdir 610pdfdir 611dvidir 612htmldir 613infodir 614docdir 615oldincludedir 616includedir 617localstatedir 618sharedstatedir 619sysconfdir 620datadir 621datarootdir 622libexecdir 623sbindir 624bindir 625program_transform_name 626prefix 627exec_prefix 628PACKAGE_URL 629PACKAGE_BUGREPORT 630PACKAGE_STRING 631PACKAGE_VERSION 632PACKAGE_TARNAME 633PACKAGE_NAME 634PATH_SEPARATOR 635SHELL' 636ac_subst_files='' 637ac_user_opts=' 638enable_option_checking 639with_rlm_unbound 640with_rlm_unbound_lib_dir 641with_rlm_unbound_include_dir 642' 643 ac_precious_vars='build_alias 644host_alias 645target_alias 646CC 647CFLAGS 648LDFLAGS 649LIBS 650CPPFLAGS' 651 652 653# Initialize some variables set by options. 654ac_init_help= 655ac_init_version=false 656ac_unrecognized_opts= 657ac_unrecognized_sep= 658# The variables have the same names as the options, with 659# dashes changed to underlines. 660cache_file=/dev/null 661exec_prefix=NONE 662no_create= 663no_recursion= 664prefix=NONE 665program_prefix=NONE 666program_suffix=NONE 667program_transform_name=s,x,x, 668silent= 669site= 670srcdir= 671verbose= 672x_includes=NONE 673x_libraries=NONE 674 675# Installation directory options. 676# These are left unexpanded so users can "make install exec_prefix=/foo" 677# and all the variables that are supposed to be based on exec_prefix 678# by default will actually change. 679# Use braces instead of parens because sh, perl, etc. also accept them. 680# (The list follows the same order as the GNU Coding Standards.) 681bindir='${exec_prefix}/bin' 682sbindir='${exec_prefix}/sbin' 683libexecdir='${exec_prefix}/libexec' 684datarootdir='${prefix}/share' 685datadir='${datarootdir}' 686sysconfdir='${prefix}/etc' 687sharedstatedir='${prefix}/com' 688localstatedir='${prefix}/var' 689includedir='${prefix}/include' 690oldincludedir='/usr/include' 691docdir='${datarootdir}/doc/${PACKAGE}' 692infodir='${datarootdir}/info' 693htmldir='${docdir}' 694dvidir='${docdir}' 695pdfdir='${docdir}' 696psdir='${docdir}' 697libdir='${exec_prefix}/lib' 698localedir='${datarootdir}/locale' 699mandir='${datarootdir}/man' 700 701ac_prev= 702ac_dashdash= 703for ac_option 704do 705 # If the previous option needs an argument, assign it. 706 if test -n "$ac_prev"; then 707 eval $ac_prev=\$ac_option 708 ac_prev= 709 continue 710 fi 711 712 case $ac_option in 713 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 714 *=) ac_optarg= ;; 715 *) ac_optarg=yes ;; 716 esac 717 718 # Accept the important Cygnus configure options, so we can diagnose typos. 719 720 case $ac_dashdash$ac_option in 721 --) 722 ac_dashdash=yes ;; 723 724 -bindir | --bindir | --bindi | --bind | --bin | --bi) 725 ac_prev=bindir ;; 726 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 727 bindir=$ac_optarg ;; 728 729 -build | --build | --buil | --bui | --bu) 730 ac_prev=build_alias ;; 731 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 732 build_alias=$ac_optarg ;; 733 734 -cache-file | --cache-file | --cache-fil | --cache-fi \ 735 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 736 ac_prev=cache_file ;; 737 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 738 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 739 cache_file=$ac_optarg ;; 740 741 --config-cache | -C) 742 cache_file=config.cache ;; 743 744 -datadir | --datadir | --datadi | --datad) 745 ac_prev=datadir ;; 746 -datadir=* | --datadir=* | --datadi=* | --datad=*) 747 datadir=$ac_optarg ;; 748 749 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 750 | --dataroo | --dataro | --datar) 751 ac_prev=datarootdir ;; 752 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 753 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 754 datarootdir=$ac_optarg ;; 755 756 -disable-* | --disable-*) 757 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 758 # Reject names that are not valid shell variable names. 759 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 760 as_fn_error $? "invalid feature name: $ac_useropt" 761 ac_useropt_orig=$ac_useropt 762 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 763 case $ac_user_opts in 764 *" 765"enable_$ac_useropt" 766"*) ;; 767 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 768 ac_unrecognized_sep=', ';; 769 esac 770 eval enable_$ac_useropt=no ;; 771 772 -docdir | --docdir | --docdi | --doc | --do) 773 ac_prev=docdir ;; 774 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 775 docdir=$ac_optarg ;; 776 777 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 778 ac_prev=dvidir ;; 779 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 780 dvidir=$ac_optarg ;; 781 782 -enable-* | --enable-*) 783 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 784 # Reject names that are not valid shell variable names. 785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 786 as_fn_error $? "invalid feature name: $ac_useropt" 787 ac_useropt_orig=$ac_useropt 788 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 789 case $ac_user_opts in 790 *" 791"enable_$ac_useropt" 792"*) ;; 793 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 794 ac_unrecognized_sep=', ';; 795 esac 796 eval enable_$ac_useropt=\$ac_optarg ;; 797 798 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 799 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 800 | --exec | --exe | --ex) 801 ac_prev=exec_prefix ;; 802 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 803 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 804 | --exec=* | --exe=* | --ex=*) 805 exec_prefix=$ac_optarg ;; 806 807 -gas | --gas | --ga | --g) 808 # Obsolete; use --with-gas. 809 with_gas=yes ;; 810 811 -help | --help | --hel | --he | -h) 812 ac_init_help=long ;; 813 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 814 ac_init_help=recursive ;; 815 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 816 ac_init_help=short ;; 817 818 -host | --host | --hos | --ho) 819 ac_prev=host_alias ;; 820 -host=* | --host=* | --hos=* | --ho=*) 821 host_alias=$ac_optarg ;; 822 823 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 824 ac_prev=htmldir ;; 825 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 826 | --ht=*) 827 htmldir=$ac_optarg ;; 828 829 -includedir | --includedir | --includedi | --included | --include \ 830 | --includ | --inclu | --incl | --inc) 831 ac_prev=includedir ;; 832 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 833 | --includ=* | --inclu=* | --incl=* | --inc=*) 834 includedir=$ac_optarg ;; 835 836 -infodir | --infodir | --infodi | --infod | --info | --inf) 837 ac_prev=infodir ;; 838 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 839 infodir=$ac_optarg ;; 840 841 -libdir | --libdir | --libdi | --libd) 842 ac_prev=libdir ;; 843 -libdir=* | --libdir=* | --libdi=* | --libd=*) 844 libdir=$ac_optarg ;; 845 846 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 847 | --libexe | --libex | --libe) 848 ac_prev=libexecdir ;; 849 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 850 | --libexe=* | --libex=* | --libe=*) 851 libexecdir=$ac_optarg ;; 852 853 -localedir | --localedir | --localedi | --localed | --locale) 854 ac_prev=localedir ;; 855 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 856 localedir=$ac_optarg ;; 857 858 -localstatedir | --localstatedir | --localstatedi | --localstated \ 859 | --localstate | --localstat | --localsta | --localst | --locals) 860 ac_prev=localstatedir ;; 861 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 862 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 863 localstatedir=$ac_optarg ;; 864 865 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 866 ac_prev=mandir ;; 867 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 868 mandir=$ac_optarg ;; 869 870 -nfp | --nfp | --nf) 871 # Obsolete; use --without-fp. 872 with_fp=no ;; 873 874 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 875 | --no-cr | --no-c | -n) 876 no_create=yes ;; 877 878 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 879 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 880 no_recursion=yes ;; 881 882 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 883 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 884 | --oldin | --oldi | --old | --ol | --o) 885 ac_prev=oldincludedir ;; 886 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 887 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 888 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 889 oldincludedir=$ac_optarg ;; 890 891 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 892 ac_prev=prefix ;; 893 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 894 prefix=$ac_optarg ;; 895 896 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 897 | --program-pre | --program-pr | --program-p) 898 ac_prev=program_prefix ;; 899 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 900 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 901 program_prefix=$ac_optarg ;; 902 903 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 904 | --program-suf | --program-su | --program-s) 905 ac_prev=program_suffix ;; 906 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 907 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 908 program_suffix=$ac_optarg ;; 909 910 -program-transform-name | --program-transform-name \ 911 | --program-transform-nam | --program-transform-na \ 912 | --program-transform-n | --program-transform- \ 913 | --program-transform | --program-transfor \ 914 | --program-transfo | --program-transf \ 915 | --program-trans | --program-tran \ 916 | --progr-tra | --program-tr | --program-t) 917 ac_prev=program_transform_name ;; 918 -program-transform-name=* | --program-transform-name=* \ 919 | --program-transform-nam=* | --program-transform-na=* \ 920 | --program-transform-n=* | --program-transform-=* \ 921 | --program-transform=* | --program-transfor=* \ 922 | --program-transfo=* | --program-transf=* \ 923 | --program-trans=* | --program-tran=* \ 924 | --progr-tra=* | --program-tr=* | --program-t=*) 925 program_transform_name=$ac_optarg ;; 926 927 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 928 ac_prev=pdfdir ;; 929 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 930 pdfdir=$ac_optarg ;; 931 932 -psdir | --psdir | --psdi | --psd | --ps) 933 ac_prev=psdir ;; 934 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 935 psdir=$ac_optarg ;; 936 937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 938 | -silent | --silent | --silen | --sile | --sil) 939 silent=yes ;; 940 941 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 942 ac_prev=sbindir ;; 943 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 944 | --sbi=* | --sb=*) 945 sbindir=$ac_optarg ;; 946 947 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 948 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 949 | --sharedst | --shareds | --shared | --share | --shar \ 950 | --sha | --sh) 951 ac_prev=sharedstatedir ;; 952 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 953 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 954 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 955 | --sha=* | --sh=*) 956 sharedstatedir=$ac_optarg ;; 957 958 -site | --site | --sit) 959 ac_prev=site ;; 960 -site=* | --site=* | --sit=*) 961 site=$ac_optarg ;; 962 963 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 964 ac_prev=srcdir ;; 965 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 966 srcdir=$ac_optarg ;; 967 968 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 969 | --syscon | --sysco | --sysc | --sys | --sy) 970 ac_prev=sysconfdir ;; 971 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 972 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 973 sysconfdir=$ac_optarg ;; 974 975 -target | --target | --targe | --targ | --tar | --ta | --t) 976 ac_prev=target_alias ;; 977 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 978 target_alias=$ac_optarg ;; 979 980 -v | -verbose | --verbose | --verbos | --verbo | --verb) 981 verbose=yes ;; 982 983 -version | --version | --versio | --versi | --vers | -V) 984 ac_init_version=: ;; 985 986 -with-* | --with-*) 987 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 988 # Reject names that are not valid shell variable names. 989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 990 as_fn_error $? "invalid package name: $ac_useropt" 991 ac_useropt_orig=$ac_useropt 992 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 993 case $ac_user_opts in 994 *" 995"with_$ac_useropt" 996"*) ;; 997 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 998 ac_unrecognized_sep=', ';; 999 esac 1000 eval with_$ac_useropt=\$ac_optarg ;; 1001 1002 -without-* | --without-*) 1003 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1004 # Reject names that are not valid shell variable names. 1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1006 as_fn_error $? "invalid package name: $ac_useropt" 1007 ac_useropt_orig=$ac_useropt 1008 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1009 case $ac_user_opts in 1010 *" 1011"with_$ac_useropt" 1012"*) ;; 1013 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1014 ac_unrecognized_sep=', ';; 1015 esac 1016 eval with_$ac_useropt=no ;; 1017 1018 --x) 1019 # Obsolete; use --with-x. 1020 with_x=yes ;; 1021 1022 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1023 | --x-incl | --x-inc | --x-in | --x-i) 1024 ac_prev=x_includes ;; 1025 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1026 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1027 x_includes=$ac_optarg ;; 1028 1029 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1030 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1031 ac_prev=x_libraries ;; 1032 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1033 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1034 x_libraries=$ac_optarg ;; 1035 1036 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1037Try \`$0 --help' for more information" 1038 ;; 1039 1040 *=*) 1041 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1042 # Reject names that are not valid shell variable names. 1043 case $ac_envvar in #( 1044 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1045 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1046 esac 1047 eval $ac_envvar=\$ac_optarg 1048 export $ac_envvar ;; 1049 1050 *) 1051 # FIXME: should be removed in autoconf 3.0. 1052 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1053 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1054 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1055 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1056 ;; 1057 1058 esac 1059done 1060 1061if test -n "$ac_prev"; then 1062 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1063 as_fn_error $? "missing argument to $ac_option" 1064fi 1065 1066if test -n "$ac_unrecognized_opts"; then 1067 case $enable_option_checking in 1068 no) ;; 1069 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1070 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1071 esac 1072fi 1073 1074# Check all directory arguments for consistency. 1075for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1076 datadir sysconfdir sharedstatedir localstatedir includedir \ 1077 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1078 libdir localedir mandir 1079do 1080 eval ac_val=\$$ac_var 1081 # Remove trailing slashes. 1082 case $ac_val in 1083 */ ) 1084 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1085 eval $ac_var=\$ac_val;; 1086 esac 1087 # Be sure to have absolute directory names. 1088 case $ac_val in 1089 [\\/$]* | ?:[\\/]* ) continue;; 1090 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1091 esac 1092 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1093done 1094 1095# There might be people who depend on the old broken behavior: `$host' 1096# used to hold the argument of --host etc. 1097# FIXME: To remove some day. 1098build=$build_alias 1099host=$host_alias 1100target=$target_alias 1101 1102# FIXME: To remove some day. 1103if test "x$host_alias" != x; then 1104 if test "x$build_alias" = x; then 1105 cross_compiling=maybe 1106 elif test "x$build_alias" != "x$host_alias"; then 1107 cross_compiling=yes 1108 fi 1109fi 1110 1111ac_tool_prefix= 1112test -n "$host_alias" && ac_tool_prefix=$host_alias- 1113 1114test "$silent" = yes && exec 6>/dev/null 1115 1116 1117ac_pwd=`pwd` && test -n "$ac_pwd" && 1118ac_ls_di=`ls -di .` && 1119ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1120 as_fn_error $? "working directory cannot be determined" 1121test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1122 as_fn_error $? "pwd does not report name of working directory" 1123 1124 1125# Find the source files, if location was not specified. 1126if test -z "$srcdir"; then 1127 ac_srcdir_defaulted=yes 1128 # Try the directory containing this script, then the parent directory. 1129 ac_confdir=`$as_dirname -- "$as_myself" || 1130$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1131 X"$as_myself" : 'X\(//\)[^/]' \| \ 1132 X"$as_myself" : 'X\(//\)$' \| \ 1133 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1134$as_echo X"$as_myself" | 1135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1136 s//\1/ 1137 q 1138 } 1139 /^X\(\/\/\)[^/].*/{ 1140 s//\1/ 1141 q 1142 } 1143 /^X\(\/\/\)$/{ 1144 s//\1/ 1145 q 1146 } 1147 /^X\(\/\).*/{ 1148 s//\1/ 1149 q 1150 } 1151 s/.*/./; q'` 1152 srcdir=$ac_confdir 1153 if test ! -r "$srcdir/$ac_unique_file"; then 1154 srcdir=.. 1155 fi 1156else 1157 ac_srcdir_defaulted=no 1158fi 1159if test ! -r "$srcdir/$ac_unique_file"; then 1160 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1161 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1162fi 1163ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1164ac_abs_confdir=`( 1165 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1166 pwd)` 1167# When building in place, set srcdir=. 1168if test "$ac_abs_confdir" = "$ac_pwd"; then 1169 srcdir=. 1170fi 1171# Remove unnecessary trailing slashes from srcdir. 1172# Double slashes in file names in object file debugging info 1173# mess up M-x gdb in Emacs. 1174case $srcdir in 1175*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1176esac 1177for ac_var in $ac_precious_vars; do 1178 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1179 eval ac_env_${ac_var}_value=\$${ac_var} 1180 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1181 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1182done 1183 1184# 1185# Report the --help message. 1186# 1187if test "$ac_init_help" = "long"; then 1188 # Omit some internal or obsolete options to make the list less imposing. 1189 # This message is too long to be a string in the A/UX 3.1 sh. 1190 cat <<_ACEOF 1191\`configure' configures this package to adapt to many kinds of systems. 1192 1193Usage: $0 [OPTION]... [VAR=VALUE]... 1194 1195To assign environment variables (e.g., CC, CFLAGS...), specify them as 1196VAR=VALUE. See below for descriptions of some of the useful variables. 1197 1198Defaults for the options are specified in brackets. 1199 1200Configuration: 1201 -h, --help display this help and exit 1202 --help=short display options specific to this package 1203 --help=recursive display the short help of all the included packages 1204 -V, --version display version information and exit 1205 -q, --quiet, --silent do not print \`checking ...' messages 1206 --cache-file=FILE cache test results in FILE [disabled] 1207 -C, --config-cache alias for \`--cache-file=config.cache' 1208 -n, --no-create do not create output files 1209 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1210 1211Installation directories: 1212 --prefix=PREFIX install architecture-independent files in PREFIX 1213 [$ac_default_prefix] 1214 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1215 [PREFIX] 1216 1217By default, \`make install' will install all the files in 1218\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1219an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1220for instance \`--prefix=\$HOME'. 1221 1222For better control, use the options below. 1223 1224Fine tuning of the installation directories: 1225 --bindir=DIR user executables [EPREFIX/bin] 1226 --sbindir=DIR system admin executables [EPREFIX/sbin] 1227 --libexecdir=DIR program executables [EPREFIX/libexec] 1228 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1229 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1230 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1231 --libdir=DIR object code libraries [EPREFIX/lib] 1232 --includedir=DIR C header files [PREFIX/include] 1233 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1234 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1235 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1236 --infodir=DIR info documentation [DATAROOTDIR/info] 1237 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1238 --mandir=DIR man documentation [DATAROOTDIR/man] 1239 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1240 --htmldir=DIR html documentation [DOCDIR] 1241 --dvidir=DIR dvi documentation [DOCDIR] 1242 --pdfdir=DIR pdf documentation [DOCDIR] 1243 --psdir=DIR ps documentation [DOCDIR] 1244_ACEOF 1245 1246 cat <<\_ACEOF 1247_ACEOF 1248fi 1249 1250if test -n "$ac_init_help"; then 1251 1252 cat <<\_ACEOF 1253 1254Optional Packages: 1255 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1256 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1257 --with-rlm_unbound build rlm_unbound. (default=yes) 1258 --with-rlm-unbound-lib-dir=DIR directory for libunbound library files 1259 --with-rlm-unbound-include-dir=DIR directory for libunbound include files 1260 1261Some influential environment variables: 1262 CC C compiler command 1263 CFLAGS C compiler flags 1264 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1265 nonstandard directory <lib dir> 1266 LIBS libraries to pass to the linker, e.g. -l<library> 1267 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1268 you have headers in a nonstandard directory <include dir> 1269 1270Use these variables to override the choices made by `configure' or to help 1271it to find libraries and programs with nonstandard names/locations. 1272 1273Report bugs to the package provider. 1274_ACEOF 1275ac_status=$? 1276fi 1277 1278if test "$ac_init_help" = "recursive"; then 1279 # If there are subdirs, report their specific --help. 1280 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1281 test -d "$ac_dir" || 1282 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1283 continue 1284 ac_builddir=. 1285 1286case "$ac_dir" in 1287.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1288*) 1289 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1290 # A ".." for each directory in $ac_dir_suffix. 1291 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1292 case $ac_top_builddir_sub in 1293 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1294 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1295 esac ;; 1296esac 1297ac_abs_top_builddir=$ac_pwd 1298ac_abs_builddir=$ac_pwd$ac_dir_suffix 1299# for backward compatibility: 1300ac_top_builddir=$ac_top_build_prefix 1301 1302case $srcdir in 1303 .) # We are building in place. 1304 ac_srcdir=. 1305 ac_top_srcdir=$ac_top_builddir_sub 1306 ac_abs_top_srcdir=$ac_pwd ;; 1307 [\\/]* | ?:[\\/]* ) # Absolute name. 1308 ac_srcdir=$srcdir$ac_dir_suffix; 1309 ac_top_srcdir=$srcdir 1310 ac_abs_top_srcdir=$srcdir ;; 1311 *) # Relative name. 1312 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1313 ac_top_srcdir=$ac_top_build_prefix$srcdir 1314 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1315esac 1316ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1317 1318 cd "$ac_dir" || { ac_status=$?; continue; } 1319 # Check for guested configure. 1320 if test -f "$ac_srcdir/configure.gnu"; then 1321 echo && 1322 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1323 elif test -f "$ac_srcdir/configure"; then 1324 echo && 1325 $SHELL "$ac_srcdir/configure" --help=recursive 1326 else 1327 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1328 fi || ac_status=$? 1329 cd "$ac_pwd" || { ac_status=$?; break; } 1330 done 1331fi 1332 1333test -n "$ac_init_help" && exit $ac_status 1334if $ac_init_version; then 1335 cat <<\_ACEOF 1336configure 1337generated by GNU Autoconf 2.69 1338 1339Copyright (C) 2012 Free Software Foundation, Inc. 1340This configure script is free software; the Free Software Foundation 1341gives unlimited permission to copy, distribute and modify it. 1342_ACEOF 1343 exit 1344fi 1345 1346## ------------------------ ## 1347## Autoconf initialization. ## 1348## ------------------------ ## 1349 1350# ac_fn_c_try_compile LINENO 1351# -------------------------- 1352# Try to compile conftest.$ac_ext, and return whether this succeeded. 1353ac_fn_c_try_compile () 1354{ 1355 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1356 rm -f conftest.$ac_objext 1357 if { { ac_try="$ac_compile" 1358case "(($ac_try" in 1359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1360 *) ac_try_echo=$ac_try;; 1361esac 1362eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1363$as_echo "$ac_try_echo"; } >&5 1364 (eval "$ac_compile") 2>conftest.err 1365 ac_status=$? 1366 if test -s conftest.err; then 1367 grep -v '^ *+' conftest.err >conftest.er1 1368 cat conftest.er1 >&5 1369 mv -f conftest.er1 conftest.err 1370 fi 1371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1372 test $ac_status = 0; } && { 1373 test -z "$ac_c_werror_flag" || 1374 test ! -s conftest.err 1375 } && test -s conftest.$ac_objext; then : 1376 ac_retval=0 1377else 1378 $as_echo "$as_me: failed program was:" >&5 1379sed 's/^/| /' conftest.$ac_ext >&5 1380 1381 ac_retval=1 1382fi 1383 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1384 as_fn_set_status $ac_retval 1385 1386} # ac_fn_c_try_compile 1387 1388# ac_fn_c_try_link LINENO 1389# ----------------------- 1390# Try to link conftest.$ac_ext, and return whether this succeeded. 1391ac_fn_c_try_link () 1392{ 1393 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1394 rm -f conftest.$ac_objext conftest$ac_exeext 1395 if { { ac_try="$ac_link" 1396case "(($ac_try" in 1397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1398 *) ac_try_echo=$ac_try;; 1399esac 1400eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1401$as_echo "$ac_try_echo"; } >&5 1402 (eval "$ac_link") 2>conftest.err 1403 ac_status=$? 1404 if test -s conftest.err; then 1405 grep -v '^ *+' conftest.err >conftest.er1 1406 cat conftest.er1 >&5 1407 mv -f conftest.er1 conftest.err 1408 fi 1409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1410 test $ac_status = 0; } && { 1411 test -z "$ac_c_werror_flag" || 1412 test ! -s conftest.err 1413 } && test -s conftest$ac_exeext && { 1414 test "$cross_compiling" = yes || 1415 test -x conftest$ac_exeext 1416 }; then : 1417 ac_retval=0 1418else 1419 $as_echo "$as_me: failed program was:" >&5 1420sed 's/^/| /' conftest.$ac_ext >&5 1421 1422 ac_retval=1 1423fi 1424 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1425 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1426 # interfere with the next link command; also delete a directory that is 1427 # left behind by Apple's compiler. We do this before executing the actions. 1428 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1429 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1430 as_fn_set_status $ac_retval 1431 1432} # ac_fn_c_try_link 1433cat >config.log <<_ACEOF 1434This file contains any messages produced by compilers while 1435running configure, to aid debugging if configure makes a mistake. 1436 1437It was created by $as_me, which was 1438generated by GNU Autoconf 2.69. Invocation command line was 1439 1440 $ $0 $@ 1441 1442_ACEOF 1443exec 5>>config.log 1444{ 1445cat <<_ASUNAME 1446## --------- ## 1447## Platform. ## 1448## --------- ## 1449 1450hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1451uname -m = `(uname -m) 2>/dev/null || echo unknown` 1452uname -r = `(uname -r) 2>/dev/null || echo unknown` 1453uname -s = `(uname -s) 2>/dev/null || echo unknown` 1454uname -v = `(uname -v) 2>/dev/null || echo unknown` 1455 1456/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1457/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1458 1459/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1460/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1461/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1462/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1463/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1464/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1465/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1466 1467_ASUNAME 1468 1469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1470for as_dir in $PATH 1471do 1472 IFS=$as_save_IFS 1473 test -z "$as_dir" && as_dir=. 1474 $as_echo "PATH: $as_dir" 1475 done 1476IFS=$as_save_IFS 1477 1478} >&5 1479 1480cat >&5 <<_ACEOF 1481 1482 1483## ----------- ## 1484## Core tests. ## 1485## ----------- ## 1486 1487_ACEOF 1488 1489 1490# Keep a trace of the command line. 1491# Strip out --no-create and --no-recursion so they do not pile up. 1492# Strip out --silent because we don't want to record it for future runs. 1493# Also quote any args containing shell meta-characters. 1494# Make two passes to allow for proper duplicate-argument suppression. 1495ac_configure_args= 1496ac_configure_args0= 1497ac_configure_args1= 1498ac_must_keep_next=false 1499for ac_pass in 1 2 1500do 1501 for ac_arg 1502 do 1503 case $ac_arg in 1504 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1505 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1506 | -silent | --silent | --silen | --sile | --sil) 1507 continue ;; 1508 *\'*) 1509 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1510 esac 1511 case $ac_pass in 1512 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1513 2) 1514 as_fn_append ac_configure_args1 " '$ac_arg'" 1515 if test $ac_must_keep_next = true; then 1516 ac_must_keep_next=false # Got value, back to normal. 1517 else 1518 case $ac_arg in 1519 *=* | --config-cache | -C | -disable-* | --disable-* \ 1520 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1521 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1522 | -with-* | --with-* | -without-* | --without-* | --x) 1523 case "$ac_configure_args0 " in 1524 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1525 esac 1526 ;; 1527 -* ) ac_must_keep_next=true ;; 1528 esac 1529 fi 1530 as_fn_append ac_configure_args " '$ac_arg'" 1531 ;; 1532 esac 1533 done 1534done 1535{ ac_configure_args0=; unset ac_configure_args0;} 1536{ ac_configure_args1=; unset ac_configure_args1;} 1537 1538# When interrupted or exit'd, cleanup temporary files, and complete 1539# config.log. We remove comments because anyway the quotes in there 1540# would cause problems or look ugly. 1541# WARNING: Use '\'' to represent an apostrophe within the trap. 1542# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1543trap 'exit_status=$? 1544 # Save into config.log some information that might help in debugging. 1545 { 1546 echo 1547 1548 $as_echo "## ---------------- ## 1549## Cache variables. ## 1550## ---------------- ##" 1551 echo 1552 # The following way of writing the cache mishandles newlines in values, 1553( 1554 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1555 eval ac_val=\$$ac_var 1556 case $ac_val in #( 1557 *${as_nl}*) 1558 case $ac_var in #( 1559 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1560$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1561 esac 1562 case $ac_var in #( 1563 _ | IFS | as_nl) ;; #( 1564 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1565 *) { eval $ac_var=; unset $ac_var;} ;; 1566 esac ;; 1567 esac 1568 done 1569 (set) 2>&1 | 1570 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1571 *${as_nl}ac_space=\ *) 1572 sed -n \ 1573 "s/'\''/'\''\\\\'\'''\''/g; 1574 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1575 ;; #( 1576 *) 1577 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1578 ;; 1579 esac | 1580 sort 1581) 1582 echo 1583 1584 $as_echo "## ----------------- ## 1585## Output variables. ## 1586## ----------------- ##" 1587 echo 1588 for ac_var in $ac_subst_vars 1589 do 1590 eval ac_val=\$$ac_var 1591 case $ac_val in 1592 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1593 esac 1594 $as_echo "$ac_var='\''$ac_val'\''" 1595 done | sort 1596 echo 1597 1598 if test -n "$ac_subst_files"; then 1599 $as_echo "## ------------------- ## 1600## File substitutions. ## 1601## ------------------- ##" 1602 echo 1603 for ac_var in $ac_subst_files 1604 do 1605 eval ac_val=\$$ac_var 1606 case $ac_val in 1607 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1608 esac 1609 $as_echo "$ac_var='\''$ac_val'\''" 1610 done | sort 1611 echo 1612 fi 1613 1614 if test -s confdefs.h; then 1615 $as_echo "## ----------- ## 1616## confdefs.h. ## 1617## ----------- ##" 1618 echo 1619 cat confdefs.h 1620 echo 1621 fi 1622 test "$ac_signal" != 0 && 1623 $as_echo "$as_me: caught signal $ac_signal" 1624 $as_echo "$as_me: exit $exit_status" 1625 } >&5 1626 rm -f core *.core core.conftest.* && 1627 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1628 exit $exit_status 1629' 0 1630for ac_signal in 1 2 13 15; do 1631 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1632done 1633ac_signal=0 1634 1635# confdefs.h avoids OS command line length limits that DEFS can exceed. 1636rm -f -r conftest* confdefs.h 1637 1638$as_echo "/* confdefs.h */" > confdefs.h 1639 1640# Predefined preprocessor variables. 1641 1642cat >>confdefs.h <<_ACEOF 1643#define PACKAGE_NAME "$PACKAGE_NAME" 1644_ACEOF 1645 1646cat >>confdefs.h <<_ACEOF 1647#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1648_ACEOF 1649 1650cat >>confdefs.h <<_ACEOF 1651#define PACKAGE_VERSION "$PACKAGE_VERSION" 1652_ACEOF 1653 1654cat >>confdefs.h <<_ACEOF 1655#define PACKAGE_STRING "$PACKAGE_STRING" 1656_ACEOF 1657 1658cat >>confdefs.h <<_ACEOF 1659#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1660_ACEOF 1661 1662cat >>confdefs.h <<_ACEOF 1663#define PACKAGE_URL "$PACKAGE_URL" 1664_ACEOF 1665 1666 1667# Let the site file select an alternate cache file if it wants to. 1668# Prefer an explicitly selected file to automatically selected ones. 1669ac_site_file1=NONE 1670ac_site_file2=NONE 1671if test -n "$CONFIG_SITE"; then 1672 # We do not want a PATH search for config.site. 1673 case $CONFIG_SITE in #(( 1674 -*) ac_site_file1=./$CONFIG_SITE;; 1675 */*) ac_site_file1=$CONFIG_SITE;; 1676 *) ac_site_file1=./$CONFIG_SITE;; 1677 esac 1678elif test "x$prefix" != xNONE; then 1679 ac_site_file1=$prefix/share/config.site 1680 ac_site_file2=$prefix/etc/config.site 1681else 1682 ac_site_file1=$ac_default_prefix/share/config.site 1683 ac_site_file2=$ac_default_prefix/etc/config.site 1684fi 1685for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1686do 1687 test "x$ac_site_file" = xNONE && continue 1688 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1689 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1690$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1691 sed 's/^/| /' "$ac_site_file" >&5 1692 . "$ac_site_file" \ 1693 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1694$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1695as_fn_error $? "failed to load site script $ac_site_file 1696See \`config.log' for more details" "$LINENO" 5; } 1697 fi 1698done 1699 1700if test -r "$cache_file"; then 1701 # Some versions of bash will fail to source /dev/null (special files 1702 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1703 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1704 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1705$as_echo "$as_me: loading cache $cache_file" >&6;} 1706 case $cache_file in 1707 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1708 *) . "./$cache_file";; 1709 esac 1710 fi 1711else 1712 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1713$as_echo "$as_me: creating cache $cache_file" >&6;} 1714 >$cache_file 1715fi 1716 1717# Check that the precious variables saved in the cache have kept the same 1718# value. 1719ac_cache_corrupted=false 1720for ac_var in $ac_precious_vars; do 1721 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1722 eval ac_new_set=\$ac_env_${ac_var}_set 1723 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1724 eval ac_new_val=\$ac_env_${ac_var}_value 1725 case $ac_old_set,$ac_new_set in 1726 set,) 1727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1728$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1729 ac_cache_corrupted=: ;; 1730 ,set) 1731 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1732$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1733 ac_cache_corrupted=: ;; 1734 ,);; 1735 *) 1736 if test "x$ac_old_val" != "x$ac_new_val"; then 1737 # differences in whitespace do not lead to failure. 1738 ac_old_val_w=`echo x $ac_old_val` 1739 ac_new_val_w=`echo x $ac_new_val` 1740 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1741 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1742$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1743 ac_cache_corrupted=: 1744 else 1745 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1746$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1747 eval $ac_var=\$ac_old_val 1748 fi 1749 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1750$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1752$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1753 fi;; 1754 esac 1755 # Pass precious variables to config.status. 1756 if test "$ac_new_set" = set; then 1757 case $ac_new_val in 1758 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1759 *) ac_arg=$ac_var=$ac_new_val ;; 1760 esac 1761 case " $ac_configure_args " in 1762 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1763 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1764 esac 1765 fi 1766done 1767if $ac_cache_corrupted; then 1768 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1769$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1770 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1771$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1772 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1773fi 1774## -------------------- ## 1775## Main body of script. ## 1776## -------------------- ## 1777 1778ac_ext=c 1779ac_cpp='$CPP $CPPFLAGS' 1780ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1781ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1782ac_compiler_gnu=$ac_cv_c_compiler_gnu 1783 1784 1785 1786 1787 1788 1789# Check whether --with-rlm_unbound was given. 1790if test "${with_rlm_unbound+set}" = set; then : 1791 withval=$with_rlm_unbound; 1792fi 1793 1794 1795if test x$with_rlm_unbound != xno; then 1796 rlm_unbound_lib_dir= 1797 1798# Check whether --with-rlm-unbound-lib-dir was given. 1799if test "${with_rlm_unbound_lib_dir+set}" = set; then : 1800 withval=$with_rlm_unbound_lib_dir; case "$withval" in 1801 no) 1802 as_fn_error $? "Need rlm-unbound-lib-dir" "$LINENO" 5 1803 ;; 1804 yes) 1805 ;; 1806 *) 1807 rlm_unbound_lib_dir="$withval" 1808 ;; 1809 esac 1810 1811fi 1812 1813 1814 rlm_unbound_include_dir= 1815 1816# Check whether --with-rlm-unbound-include-dir was given. 1817if test "${with_rlm_unbound_include_dir+set}" = set; then : 1818 withval=$with_rlm_unbound_include_dir; case "$withval" in 1819 no) 1820 as_fn_error $? "Need rlm-unbound-include-dir" "$LINENO" 5 1821 ;; 1822 yes) 1823 ;; 1824 *) 1825 rlm_unbound_include_dir="$withval" 1826 ;; 1827 esac 1828 1829fi 1830 1831 1832 smart_try_dir=$rlm_unbound_lib_dir 1833 ac_ext=c 1834ac_cpp='$CPP $CPPFLAGS' 1835ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1836ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1837ac_compiler_gnu=$ac_cv_c_compiler_gnu 1838if test -n "$ac_tool_prefix"; then 1839 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1840set dummy ${ac_tool_prefix}gcc; ac_word=$2 1841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1842$as_echo_n "checking for $ac_word... " >&6; } 1843if ${ac_cv_prog_CC+:} false; then : 1844 $as_echo_n "(cached) " >&6 1845else 1846 if test -n "$CC"; then 1847 ac_cv_prog_CC="$CC" # Let the user override the test. 1848else 1849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1850for as_dir in $PATH 1851do 1852 IFS=$as_save_IFS 1853 test -z "$as_dir" && as_dir=. 1854 for ac_exec_ext in '' $ac_executable_extensions; do 1855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1856 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1858 break 2 1859 fi 1860done 1861 done 1862IFS=$as_save_IFS 1863 1864fi 1865fi 1866CC=$ac_cv_prog_CC 1867if test -n "$CC"; then 1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1869$as_echo "$CC" >&6; } 1870else 1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1872$as_echo "no" >&6; } 1873fi 1874 1875 1876fi 1877if test -z "$ac_cv_prog_CC"; then 1878 ac_ct_CC=$CC 1879 # Extract the first word of "gcc", so it can be a program name with args. 1880set dummy gcc; ac_word=$2 1881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1882$as_echo_n "checking for $ac_word... " >&6; } 1883if ${ac_cv_prog_ac_ct_CC+:} false; then : 1884 $as_echo_n "(cached) " >&6 1885else 1886 if test -n "$ac_ct_CC"; then 1887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1888else 1889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1890for as_dir in $PATH 1891do 1892 IFS=$as_save_IFS 1893 test -z "$as_dir" && as_dir=. 1894 for ac_exec_ext in '' $ac_executable_extensions; do 1895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1896 ac_cv_prog_ac_ct_CC="gcc" 1897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1898 break 2 1899 fi 1900done 1901 done 1902IFS=$as_save_IFS 1903 1904fi 1905fi 1906ac_ct_CC=$ac_cv_prog_ac_ct_CC 1907if test -n "$ac_ct_CC"; then 1908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 1909$as_echo "$ac_ct_CC" >&6; } 1910else 1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1912$as_echo "no" >&6; } 1913fi 1914 1915 if test "x$ac_ct_CC" = x; then 1916 CC="" 1917 else 1918 case $cross_compiling:$ac_tool_warned in 1919yes:) 1920{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1921$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1922ac_tool_warned=yes ;; 1923esac 1924 CC=$ac_ct_CC 1925 fi 1926else 1927 CC="$ac_cv_prog_CC" 1928fi 1929 1930if test -z "$CC"; then 1931 if test -n "$ac_tool_prefix"; then 1932 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1933set dummy ${ac_tool_prefix}cc; ac_word=$2 1934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1935$as_echo_n "checking for $ac_word... " >&6; } 1936if ${ac_cv_prog_CC+:} false; then : 1937 $as_echo_n "(cached) " >&6 1938else 1939 if test -n "$CC"; then 1940 ac_cv_prog_CC="$CC" # Let the user override the test. 1941else 1942as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1943for as_dir in $PATH 1944do 1945 IFS=$as_save_IFS 1946 test -z "$as_dir" && as_dir=. 1947 for ac_exec_ext in '' $ac_executable_extensions; do 1948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1949 ac_cv_prog_CC="${ac_tool_prefix}cc" 1950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1951 break 2 1952 fi 1953done 1954 done 1955IFS=$as_save_IFS 1956 1957fi 1958fi 1959CC=$ac_cv_prog_CC 1960if test -n "$CC"; then 1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1962$as_echo "$CC" >&6; } 1963else 1964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1965$as_echo "no" >&6; } 1966fi 1967 1968 1969 fi 1970fi 1971if test -z "$CC"; then 1972 # Extract the first word of "cc", so it can be a program name with args. 1973set dummy cc; ac_word=$2 1974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1975$as_echo_n "checking for $ac_word... " >&6; } 1976if ${ac_cv_prog_CC+:} false; then : 1977 $as_echo_n "(cached) " >&6 1978else 1979 if test -n "$CC"; then 1980 ac_cv_prog_CC="$CC" # Let the user override the test. 1981else 1982 ac_prog_rejected=no 1983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1984for as_dir in $PATH 1985do 1986 IFS=$as_save_IFS 1987 test -z "$as_dir" && as_dir=. 1988 for ac_exec_ext in '' $ac_executable_extensions; do 1989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1990 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1991 ac_prog_rejected=yes 1992 continue 1993 fi 1994 ac_cv_prog_CC="cc" 1995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1996 break 2 1997 fi 1998done 1999 done 2000IFS=$as_save_IFS 2001 2002if test $ac_prog_rejected = yes; then 2003 # We found a bogon in the path, so make sure we never use it. 2004 set dummy $ac_cv_prog_CC 2005 shift 2006 if test $# != 0; then 2007 # We chose a different compiler from the bogus one. 2008 # However, it has the same basename, so the bogon will be chosen 2009 # first if we set CC to just the basename; use the full file name. 2010 shift 2011 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2012 fi 2013fi 2014fi 2015fi 2016CC=$ac_cv_prog_CC 2017if test -n "$CC"; then 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2019$as_echo "$CC" >&6; } 2020else 2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2022$as_echo "no" >&6; } 2023fi 2024 2025 2026fi 2027if test -z "$CC"; then 2028 if test -n "$ac_tool_prefix"; then 2029 for ac_prog in cl.exe 2030 do 2031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2032set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2034$as_echo_n "checking for $ac_word... " >&6; } 2035if ${ac_cv_prog_CC+:} false; then : 2036 $as_echo_n "(cached) " >&6 2037else 2038 if test -n "$CC"; then 2039 ac_cv_prog_CC="$CC" # Let the user override the test. 2040else 2041as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2042for as_dir in $PATH 2043do 2044 IFS=$as_save_IFS 2045 test -z "$as_dir" && as_dir=. 2046 for ac_exec_ext in '' $ac_executable_extensions; do 2047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2048 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2050 break 2 2051 fi 2052done 2053 done 2054IFS=$as_save_IFS 2055 2056fi 2057fi 2058CC=$ac_cv_prog_CC 2059if test -n "$CC"; then 2060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2061$as_echo "$CC" >&6; } 2062else 2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2064$as_echo "no" >&6; } 2065fi 2066 2067 2068 test -n "$CC" && break 2069 done 2070fi 2071if test -z "$CC"; then 2072 ac_ct_CC=$CC 2073 for ac_prog in cl.exe 2074do 2075 # Extract the first word of "$ac_prog", so it can be a program name with args. 2076set dummy $ac_prog; ac_word=$2 2077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2078$as_echo_n "checking for $ac_word... " >&6; } 2079if ${ac_cv_prog_ac_ct_CC+:} false; then : 2080 $as_echo_n "(cached) " >&6 2081else 2082 if test -n "$ac_ct_CC"; then 2083 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2084else 2085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2086for as_dir in $PATH 2087do 2088 IFS=$as_save_IFS 2089 test -z "$as_dir" && as_dir=. 2090 for ac_exec_ext in '' $ac_executable_extensions; do 2091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2092 ac_cv_prog_ac_ct_CC="$ac_prog" 2093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2094 break 2 2095 fi 2096done 2097 done 2098IFS=$as_save_IFS 2099 2100fi 2101fi 2102ac_ct_CC=$ac_cv_prog_ac_ct_CC 2103if test -n "$ac_ct_CC"; then 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2105$as_echo "$ac_ct_CC" >&6; } 2106else 2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2108$as_echo "no" >&6; } 2109fi 2110 2111 2112 test -n "$ac_ct_CC" && break 2113done 2114 2115 if test "x$ac_ct_CC" = x; then 2116 CC="" 2117 else 2118 case $cross_compiling:$ac_tool_warned in 2119yes:) 2120{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2121$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2122ac_tool_warned=yes ;; 2123esac 2124 CC=$ac_ct_CC 2125 fi 2126fi 2127 2128fi 2129 2130 2131test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2132$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2133as_fn_error $? "no acceptable C compiler found in \$PATH 2134See \`config.log' for more details" "$LINENO" 5; } 2135 2136# Provide some information about the compiler. 2137$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2138set X $ac_compile 2139ac_compiler=$2 2140for ac_option in --version -v -V -qversion; do 2141 { { ac_try="$ac_compiler $ac_option >&5" 2142case "(($ac_try" in 2143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2144 *) ac_try_echo=$ac_try;; 2145esac 2146eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2147$as_echo "$ac_try_echo"; } >&5 2148 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2149 ac_status=$? 2150 if test -s conftest.err; then 2151 sed '10a\ 2152... rest of stderr output deleted ... 2153 10q' conftest.err >conftest.er1 2154 cat conftest.er1 >&5 2155 fi 2156 rm -f conftest.er1 conftest.err 2157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2158 test $ac_status = 0; } 2159done 2160 2161cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2162/* end confdefs.h. */ 2163 2164int 2165main () 2166{ 2167 2168 ; 2169 return 0; 2170} 2171_ACEOF 2172ac_clean_files_save=$ac_clean_files 2173ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2174# Try to create an executable without -o first, disregard a.out. 2175# It will help us diagnose broken compilers, and finding out an intuition 2176# of exeext. 2177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2178$as_echo_n "checking whether the C compiler works... " >&6; } 2179ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2180 2181# The possible output files: 2182ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2183 2184ac_rmfiles= 2185for ac_file in $ac_files 2186do 2187 case $ac_file in 2188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2189 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2190 esac 2191done 2192rm -f $ac_rmfiles 2193 2194if { { ac_try="$ac_link_default" 2195case "(($ac_try" in 2196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2197 *) ac_try_echo=$ac_try;; 2198esac 2199eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2200$as_echo "$ac_try_echo"; } >&5 2201 (eval "$ac_link_default") 2>&5 2202 ac_status=$? 2203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2204 test $ac_status = 0; }; then : 2205 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2206# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2207# in a Makefile. We should not override ac_cv_exeext if it was cached, 2208# so that the user can short-circuit this test for compilers unknown to 2209# Autoconf. 2210for ac_file in $ac_files '' 2211do 2212 test -f "$ac_file" || continue 2213 case $ac_file in 2214 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2215 ;; 2216 [ab].out ) 2217 # We found the default executable, but exeext='' is most 2218 # certainly right. 2219 break;; 2220 *.* ) 2221 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2222 then :; else 2223 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2224 fi 2225 # We set ac_cv_exeext here because the later test for it is not 2226 # safe: cross compilers may not add the suffix if given an `-o' 2227 # argument, so we may need to know it at that point already. 2228 # Even if this section looks crufty: it has the advantage of 2229 # actually working. 2230 break;; 2231 * ) 2232 break;; 2233 esac 2234done 2235test "$ac_cv_exeext" = no && ac_cv_exeext= 2236 2237else 2238 ac_file='' 2239fi 2240if test -z "$ac_file"; then : 2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2242$as_echo "no" >&6; } 2243$as_echo "$as_me: failed program was:" >&5 2244sed 's/^/| /' conftest.$ac_ext >&5 2245 2246{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2247$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2248as_fn_error 77 "C compiler cannot create executables 2249See \`config.log' for more details" "$LINENO" 5; } 2250else 2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2252$as_echo "yes" >&6; } 2253fi 2254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2255$as_echo_n "checking for C compiler default output file name... " >&6; } 2256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2257$as_echo "$ac_file" >&6; } 2258ac_exeext=$ac_cv_exeext 2259 2260rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2261ac_clean_files=$ac_clean_files_save 2262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2263$as_echo_n "checking for suffix of executables... " >&6; } 2264if { { ac_try="$ac_link" 2265case "(($ac_try" in 2266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2267 *) ac_try_echo=$ac_try;; 2268esac 2269eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2270$as_echo "$ac_try_echo"; } >&5 2271 (eval "$ac_link") 2>&5 2272 ac_status=$? 2273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2274 test $ac_status = 0; }; then : 2275 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2276# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2277# work properly (i.e., refer to `conftest.exe'), while it won't with 2278# `rm'. 2279for ac_file in conftest.exe conftest conftest.*; do 2280 test -f "$ac_file" || continue 2281 case $ac_file in 2282 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2283 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2284 break;; 2285 * ) break;; 2286 esac 2287done 2288else 2289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2290$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2291as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2292See \`config.log' for more details" "$LINENO" 5; } 2293fi 2294rm -f conftest conftest$ac_cv_exeext 2295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2296$as_echo "$ac_cv_exeext" >&6; } 2297 2298rm -f conftest.$ac_ext 2299EXEEXT=$ac_cv_exeext 2300ac_exeext=$EXEEXT 2301cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2302/* end confdefs.h. */ 2303#include <stdio.h> 2304int 2305main () 2306{ 2307FILE *f = fopen ("conftest.out", "w"); 2308 return ferror (f) || fclose (f) != 0; 2309 2310 ; 2311 return 0; 2312} 2313_ACEOF 2314ac_clean_files="$ac_clean_files conftest.out" 2315# Check that the compiler produces executables we can run. If not, either 2316# the compiler is broken, or we cross compile. 2317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2318$as_echo_n "checking whether we are cross compiling... " >&6; } 2319if test "$cross_compiling" != yes; then 2320 { { ac_try="$ac_link" 2321case "(($ac_try" in 2322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2323 *) ac_try_echo=$ac_try;; 2324esac 2325eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2326$as_echo "$ac_try_echo"; } >&5 2327 (eval "$ac_link") 2>&5 2328 ac_status=$? 2329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2330 test $ac_status = 0; } 2331 if { ac_try='./conftest$ac_cv_exeext' 2332 { { case "(($ac_try" in 2333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2334 *) ac_try_echo=$ac_try;; 2335esac 2336eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2337$as_echo "$ac_try_echo"; } >&5 2338 (eval "$ac_try") 2>&5 2339 ac_status=$? 2340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2341 test $ac_status = 0; }; }; then 2342 cross_compiling=no 2343 else 2344 if test "$cross_compiling" = maybe; then 2345 cross_compiling=yes 2346 else 2347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2348$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2349as_fn_error $? "cannot run C compiled programs. 2350If you meant to cross compile, use \`--host'. 2351See \`config.log' for more details" "$LINENO" 5; } 2352 fi 2353 fi 2354fi 2355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2356$as_echo "$cross_compiling" >&6; } 2357 2358rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2359ac_clean_files=$ac_clean_files_save 2360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2361$as_echo_n "checking for suffix of object files... " >&6; } 2362if ${ac_cv_objext+:} false; then : 2363 $as_echo_n "(cached) " >&6 2364else 2365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2366/* end confdefs.h. */ 2367 2368int 2369main () 2370{ 2371 2372 ; 2373 return 0; 2374} 2375_ACEOF 2376rm -f conftest.o conftest.obj 2377if { { ac_try="$ac_compile" 2378case "(($ac_try" in 2379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2380 *) ac_try_echo=$ac_try;; 2381esac 2382eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2383$as_echo "$ac_try_echo"; } >&5 2384 (eval "$ac_compile") 2>&5 2385 ac_status=$? 2386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2387 test $ac_status = 0; }; then : 2388 for ac_file in conftest.o conftest.obj conftest.*; do 2389 test -f "$ac_file" || continue; 2390 case $ac_file in 2391 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2392 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2393 break;; 2394 esac 2395done 2396else 2397 $as_echo "$as_me: failed program was:" >&5 2398sed 's/^/| /' conftest.$ac_ext >&5 2399 2400{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2401$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2402as_fn_error $? "cannot compute suffix of object files: cannot compile 2403See \`config.log' for more details" "$LINENO" 5; } 2404fi 2405rm -f conftest.$ac_cv_objext conftest.$ac_ext 2406fi 2407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2408$as_echo "$ac_cv_objext" >&6; } 2409OBJEXT=$ac_cv_objext 2410ac_objext=$OBJEXT 2411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2412$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2413if ${ac_cv_c_compiler_gnu+:} false; then : 2414 $as_echo_n "(cached) " >&6 2415else 2416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2417/* end confdefs.h. */ 2418 2419int 2420main () 2421{ 2422#ifndef __GNUC__ 2423 choke me 2424#endif 2425 2426 ; 2427 return 0; 2428} 2429_ACEOF 2430if ac_fn_c_try_compile "$LINENO"; then : 2431 ac_compiler_gnu=yes 2432else 2433 ac_compiler_gnu=no 2434fi 2435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2436ac_cv_c_compiler_gnu=$ac_compiler_gnu 2437 2438fi 2439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2440$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2441if test $ac_compiler_gnu = yes; then 2442 GCC=yes 2443else 2444 GCC= 2445fi 2446ac_test_CFLAGS=${CFLAGS+set} 2447ac_save_CFLAGS=$CFLAGS 2448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2449$as_echo_n "checking whether $CC accepts -g... " >&6; } 2450if ${ac_cv_prog_cc_g+:} false; then : 2451 $as_echo_n "(cached) " >&6 2452else 2453 ac_save_c_werror_flag=$ac_c_werror_flag 2454 ac_c_werror_flag=yes 2455 ac_cv_prog_cc_g=no 2456 CFLAGS="-g" 2457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2458/* end confdefs.h. */ 2459 2460int 2461main () 2462{ 2463 2464 ; 2465 return 0; 2466} 2467_ACEOF 2468if ac_fn_c_try_compile "$LINENO"; then : 2469 ac_cv_prog_cc_g=yes 2470else 2471 CFLAGS="" 2472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2473/* end confdefs.h. */ 2474 2475int 2476main () 2477{ 2478 2479 ; 2480 return 0; 2481} 2482_ACEOF 2483if ac_fn_c_try_compile "$LINENO"; then : 2484 2485else 2486 ac_c_werror_flag=$ac_save_c_werror_flag 2487 CFLAGS="-g" 2488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2489/* end confdefs.h. */ 2490 2491int 2492main () 2493{ 2494 2495 ; 2496 return 0; 2497} 2498_ACEOF 2499if ac_fn_c_try_compile "$LINENO"; then : 2500 ac_cv_prog_cc_g=yes 2501fi 2502rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2503fi 2504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2505fi 2506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2507 ac_c_werror_flag=$ac_save_c_werror_flag 2508fi 2509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2510$as_echo "$ac_cv_prog_cc_g" >&6; } 2511if test "$ac_test_CFLAGS" = set; then 2512 CFLAGS=$ac_save_CFLAGS 2513elif test $ac_cv_prog_cc_g = yes; then 2514 if test "$GCC" = yes; then 2515 CFLAGS="-g -O2" 2516 else 2517 CFLAGS="-g" 2518 fi 2519else 2520 if test "$GCC" = yes; then 2521 CFLAGS="-O2" 2522 else 2523 CFLAGS= 2524 fi 2525fi 2526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2527$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2528if ${ac_cv_prog_cc_c89+:} false; then : 2529 $as_echo_n "(cached) " >&6 2530else 2531 ac_cv_prog_cc_c89=no 2532ac_save_CC=$CC 2533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2534/* end confdefs.h. */ 2535#include <stdarg.h> 2536#include <stdio.h> 2537struct stat; 2538/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2539struct buf { int x; }; 2540FILE * (*rcsopen) (struct buf *, struct stat *, int); 2541static char *e (p, i) 2542 char **p; 2543 int i; 2544{ 2545 return p[i]; 2546} 2547static char *f (char * (*g) (char **, int), char **p, ...) 2548{ 2549 char *s; 2550 va_list v; 2551 va_start (v,p); 2552 s = g (p, va_arg (v,int)); 2553 va_end (v); 2554 return s; 2555} 2556 2557/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2558 function prototypes and stuff, but not '\xHH' hex character constants. 2559 These don't provoke an error unfortunately, instead are silently treated 2560 as 'x'. The following induces an error, until -std is added to get 2561 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2562 array size at least. It's necessary to write '\x00'==0 to get something 2563 that's true only with -std. */ 2564int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2565 2566/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2567 inside strings and character constants. */ 2568#define FOO(x) 'x' 2569int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2570 2571int test (int i, double x); 2572struct s1 {int (*f) (int a);}; 2573struct s2 {int (*f) (double a);}; 2574int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2575int argc; 2576char **argv; 2577int 2578main () 2579{ 2580return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2581 ; 2582 return 0; 2583} 2584_ACEOF 2585for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2586 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2587do 2588 CC="$ac_save_CC $ac_arg" 2589 if ac_fn_c_try_compile "$LINENO"; then : 2590 ac_cv_prog_cc_c89=$ac_arg 2591fi 2592rm -f core conftest.err conftest.$ac_objext 2593 test "x$ac_cv_prog_cc_c89" != "xno" && break 2594done 2595rm -f conftest.$ac_ext 2596CC=$ac_save_CC 2597 2598fi 2599# AC_CACHE_VAL 2600case "x$ac_cv_prog_cc_c89" in 2601 x) 2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2603$as_echo "none needed" >&6; } ;; 2604 xno) 2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2606$as_echo "unsupported" >&6; } ;; 2607 *) 2608 CC="$CC $ac_cv_prog_cc_c89" 2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2610$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2611esac 2612if test "x$ac_cv_prog_cc_c89" != xno; then : 2613 2614fi 2615 2616ac_ext=c 2617ac_cpp='$CPP $CPPFLAGS' 2618ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2619ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2620ac_compiler_gnu=$ac_cv_c_compiler_gnu 2621 2622 2623 2624 2625sm_lib_safe=`echo "unbound" | sed 'y%./+-%__p_%'` 2626sm_func_safe=`echo "ub_ctx_create" | sed 'y%./+-%__p_%'` 2627 2628old_LIBS="$LIBS" 2629old_CPPFLAGS="$CPPFLAGS" 2630smart_lib= 2631smart_ldflags= 2632smart_lib_dir= 2633 2634if test "x$smart_try_dir" != "x"; then 2635 for try in $smart_try_dir; do 2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ub_ctx_create in -lunbound in $try" >&5 2637$as_echo_n "checking for ub_ctx_create in -lunbound in $try... " >&6; } 2638 LIBS="-lunbound $old_LIBS" 2639 CPPFLAGS="-L$try -Wl,-rpath,$try $old_CPPFLAGS" 2640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2641/* end confdefs.h. */ 2642extern char ub_ctx_create(); 2643int 2644main () 2645{ 2646ub_ctx_create() 2647 ; 2648 return 0; 2649} 2650_ACEOF 2651if ac_fn_c_try_link "$LINENO"; then : 2652 2653 smart_lib="-lunbound" 2654 smart_ldflags="-L$try -Wl,-rpath,$try" 2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2656$as_echo "yes" >&6; } 2657 break 2658 2659else 2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2661$as_echo "no" >&6; } 2662fi 2663rm -f core conftest.err conftest.$ac_objext \ 2664 conftest$ac_exeext conftest.$ac_ext 2665 done 2666 LIBS="$old_LIBS" 2667 CPPFLAGS="$old_CPPFLAGS" 2668fi 2669 2670if test "x$smart_lib" = "x"; then 2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ub_ctx_create in -lunbound" >&5 2672$as_echo_n "checking for ub_ctx_create in -lunbound... " >&6; } 2673 LIBS="-lunbound $old_LIBS" 2674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2675/* end confdefs.h. */ 2676extern char ub_ctx_create(); 2677int 2678main () 2679{ 2680ub_ctx_create() 2681 ; 2682 return 0; 2683} 2684_ACEOF 2685if ac_fn_c_try_link "$LINENO"; then : 2686 2687 smart_lib="-lunbound" 2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2689$as_echo "yes" >&6; } 2690 2691else 2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2693$as_echo "no" >&6; } 2694fi 2695rm -f core conftest.err conftest.$ac_objext \ 2696 conftest$ac_exeext conftest.$ac_ext 2697 LIBS="$old_LIBS" 2698fi 2699 2700if test "x$smart_lib" = "x"; then 2701 2702 2703if test "x$LOCATE" != "x"; then 2704 DIRS= 2705 file=libunbound${libltdl_cv_shlibext} 2706 2707 for x in `${LOCATE} $file 2>/dev/null`; do 2708 base=`echo $x | sed "s%/${file}%%"` 2709 if test "x$x" = "x$base"; then 2710 continue; 2711 fi 2712 2713 dir=`${DIRNAME} $x 2>/dev/null` 2714 exclude=`echo ${dir} | ${GREP} /home` 2715 if test "x$exclude" != "x"; then 2716 continue 2717 fi 2718 2719 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}` 2720 if test "x$already" = "x"; then 2721 DIRS="$DIRS $dir" 2722 fi 2723 done 2724fi 2725 2726eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\"" 2727 2728 2729 2730if test "x$LOCATE" != "x"; then 2731 DIRS= 2732 file=libunbound.a 2733 2734 for x in `${LOCATE} $file 2>/dev/null`; do 2735 base=`echo $x | sed "s%/${file}%%"` 2736 if test "x$x" = "x$base"; then 2737 continue; 2738 fi 2739 2740 dir=`${DIRNAME} $x 2>/dev/null` 2741 exclude=`echo ${dir} | ${GREP} /home` 2742 if test "x$exclude" != "x"; then 2743 continue 2744 fi 2745 2746 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}` 2747 if test "x$already" = "x"; then 2748 DIRS="$DIRS $dir" 2749 fi 2750 done 2751fi 2752 2753eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\"" 2754 2755 2756 for try in $smart_lib_dir /usr/local/lib /opt/lib; do 2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ub_ctx_create in -lunbound in $try" >&5 2758$as_echo_n "checking for ub_ctx_create in -lunbound in $try... " >&6; } 2759 LIBS="-lunbound $old_LIBS" 2760 CPPFLAGS="-L$try -Wl,-rpath,$try $old_CPPFLAGS" 2761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2762/* end confdefs.h. */ 2763extern char ub_ctx_create(); 2764int 2765main () 2766{ 2767ub_ctx_create() 2768 ; 2769 return 0; 2770} 2771_ACEOF 2772if ac_fn_c_try_link "$LINENO"; then : 2773 2774 smart_lib="-lunbound" 2775 smart_ldflags="-L$try -Wl,-rpath,$try" 2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2777$as_echo "yes" >&6; } 2778 break 2779 2780else 2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2782$as_echo "no" >&6; } 2783fi 2784rm -f core conftest.err conftest.$ac_objext \ 2785 conftest$ac_exeext conftest.$ac_ext 2786 done 2787 LIBS="$old_LIBS" 2788 CPPFLAGS="$old_CPPFLAGS" 2789fi 2790 2791if test "x$smart_lib" != "x"; then 2792 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes" 2793 LIBS="$smart_ldflags $smart_lib $old_LIBS" 2794 SMART_LIBS="$smart_ldflags $smart_lib $SMART_LIBS" 2795fi 2796 2797 if test "x$ac_cv_lib_unbound_ub_ctx_create" != "xyes"; then 2798 fail="$fail libunbound" 2799 fi 2800 2801 smart_try_dir=$rlm_unbound_include_dir 2802 2803 2804ac_safe=`echo "unbound.h" | sed 'y%./+-%__pm%'` 2805old_CPPFLAGS="$CPPFLAGS" 2806smart_include= 2807smart_include_dir="/usr/local/include /opt/include" 2808 2809_smart_try_dir= 2810_smart_include_dir= 2811 2812for _prefix in $smart_prefix ""; do 2813 for _dir in $smart_try_dir; do 2814 _smart_try_dir="${_smart_try_dir} ${_dir}/${_prefix}" 2815 done 2816 2817 for _dir in $smart_include_dir; do 2818 _smart_include_dir="${_smart_include_dir} ${_dir}/${_prefix}" 2819 done 2820done 2821 2822if test "x$_smart_try_dir" != "x"; then 2823 for try in $_smart_try_dir; do 2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unbound.h in $try" >&5 2825$as_echo_n "checking for unbound.h in $try... " >&6; } 2826 CPPFLAGS="-isystem $try $old_CPPFLAGS" 2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2828/* end confdefs.h. */ 2829 2830 #include <unbound.h> 2831int 2832main () 2833{ 2834int a = 1; 2835 ; 2836 return 0; 2837} 2838_ACEOF 2839if ac_fn_c_try_compile "$LINENO"; then : 2840 2841 smart_include="-isystem $try" 2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2843$as_echo "yes" >&6; } 2844 break 2845 2846else 2847 2848 smart_include= 2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2850$as_echo "no" >&6; } 2851 2852fi 2853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2854 done 2855 CPPFLAGS="$old_CPPFLAGS" 2856fi 2857 2858if test "x$smart_include" = "x"; then 2859 for _prefix in $smart_prefix; do 2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${_prefix}/unbound.h" >&5 2861$as_echo_n "checking for ${_prefix}/unbound.h... " >&6; } 2862 2863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2864/* end confdefs.h. */ 2865 2866 #include <unbound.h> 2867int 2868main () 2869{ 2870int a = 1; 2871 ; 2872 return 0; 2873} 2874_ACEOF 2875if ac_fn_c_try_compile "$LINENO"; then : 2876 2877 smart_include="-isystem ${_prefix}/" 2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2879$as_echo "yes" >&6; } 2880 break 2881 2882else 2883 2884 smart_include= 2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2886$as_echo "no" >&6; } 2887 2888fi 2889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2890 done 2891fi 2892 2893if test "x$smart_include" = "x"; then 2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unbound.h" >&5 2895$as_echo_n "checking for unbound.h... " >&6; } 2896 2897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2898/* end confdefs.h. */ 2899 2900 #include <unbound.h> 2901int 2902main () 2903{ 2904int a = 1; 2905 ; 2906 return 0; 2907} 2908_ACEOF 2909if ac_fn_c_try_compile "$LINENO"; then : 2910 2911 smart_include=" " 2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2913$as_echo "yes" >&6; } 2914 break 2915 2916else 2917 2918 smart_include= 2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2920$as_echo "no" >&6; } 2921 2922fi 2923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2924fi 2925 2926if test "x$smart_include" = "x"; then 2927 2928 for prefix in $smart_prefix; do 2929 2930 2931if test "x$LOCATE" != "x"; then 2932 DIRS= 2933 file="${_prefix}/${1}" 2934 2935 for x in `${LOCATE} $file 2>/dev/null`; do 2936 base=`echo $x | sed "s%/${file}%%"` 2937 if test "x$x" = "x$base"; then 2938 continue; 2939 fi 2940 2941 dir=`${DIRNAME} $x 2>/dev/null` 2942 exclude=`echo ${dir} | ${GREP} /home` 2943 if test "x$exclude" != "x"; then 2944 continue 2945 fi 2946 2947 already=`echo \$_smart_include_dir ${DIRS} | ${GREP} ${dir}` 2948 if test "x$already" = "x"; then 2949 DIRS="$DIRS $dir" 2950 fi 2951 done 2952fi 2953 2954eval "_smart_include_dir=\"\$_smart_include_dir $DIRS\"" 2955 2956 done 2957 2958 2959if test "x$LOCATE" != "x"; then 2960 DIRS= 2961 file=unbound.h 2962 2963 for x in `${LOCATE} $file 2>/dev/null`; do 2964 base=`echo $x | sed "s%/${file}%%"` 2965 if test "x$x" = "x$base"; then 2966 continue; 2967 fi 2968 2969 dir=`${DIRNAME} $x 2>/dev/null` 2970 exclude=`echo ${dir} | ${GREP} /home` 2971 if test "x$exclude" != "x"; then 2972 continue 2973 fi 2974 2975 already=`echo \$_smart_include_dir ${DIRS} | ${GREP} ${dir}` 2976 if test "x$already" = "x"; then 2977 DIRS="$DIRS $dir" 2978 fi 2979 done 2980fi 2981 2982eval "_smart_include_dir=\"\$_smart_include_dir $DIRS\"" 2983 2984 2985 for try in $_smart_include_dir; do 2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unbound.h in $try" >&5 2987$as_echo_n "checking for unbound.h in $try... " >&6; } 2988 CPPFLAGS="-isystem $try $old_CPPFLAGS" 2989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2990/* end confdefs.h. */ 2991 2992 #include <unbound.h> 2993int 2994main () 2995{ 2996int a = 1; 2997 ; 2998 return 0; 2999} 3000_ACEOF 3001if ac_fn_c_try_compile "$LINENO"; then : 3002 3003 smart_include="-isystem $try" 3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3005$as_echo "yes" >&6; } 3006 break 3007 3008else 3009 3010 smart_include= 3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3012$as_echo "no" >&6; } 3013 3014fi 3015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3016 done 3017 CPPFLAGS="$old_CPPFLAGS" 3018fi 3019 3020if test "x$smart_include" != "x"; then 3021 eval "ac_cv_header_$ac_safe=yes" 3022 CPPFLAGS="$smart_include $old_CPPFLAGS" 3023 SMART_CPPFLAGS="$smart_include $SMART_CPPFLAGS" 3024fi 3025 3026smart_prefix= 3027 3028 if test "$ac_cv_header_unbound_h" != "yes"; then 3029 fail="$fail unbound.h" 3030 fi 3031 3032 targetname=rlm_unbound 3033else 3034 targetname= 3035 echo \*\*\* module rlm_unbound is disabled. 3036fi 3037 3038if test x"$fail" != x""; then 3039 if test x"${enable_strict_dependencies}" = x"yes"; then 3040 as_fn_error $? "set --without-rlm_unbound to disable it explicitly." "$LINENO" 5 3041 else 3042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_unbound." >&5 3043$as_echo "$as_me: WARNING: silently not building rlm_unbound." >&2;} 3044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_unbound requires: $fail." >&5 3045$as_echo "$as_me: WARNING: FAILURE: rlm_unbound requires: $fail." >&2;}; 3046 targetname="" 3047 fi 3048fi 3049 3050mod_ldflags="${SMART_LIBS}" 3051mod_cflags="${SMART_CFLAGS}" 3052 3053 3054 3055 3056ac_config_headers="$ac_config_headers config.h" 3057 3058 3059 3060 3061 unset ac_cv_env_LIBS_set 3062 unset ac_cv_env_LIBS_value 3063 3064 ac_config_files="$ac_config_files all.mk" 3065 3066cat >confcache <<\_ACEOF 3067# This file is a shell script that caches the results of configure 3068# tests run on this system so they can be shared between configure 3069# scripts and configure runs, see configure's option --config-cache. 3070# It is not useful on other systems. If it contains results you don't 3071# want to keep, you may remove or edit it. 3072# 3073# config.status only pays attention to the cache file if you give it 3074# the --recheck option to rerun configure. 3075# 3076# `ac_cv_env_foo' variables (set or unset) will be overridden when 3077# loading this file, other *unset* `ac_cv_foo' will be assigned the 3078# following values. 3079 3080_ACEOF 3081 3082# The following way of writing the cache mishandles newlines in values, 3083# but we know of no workaround that is simple, portable, and efficient. 3084# So, we kill variables containing newlines. 3085# Ultrix sh set writes to stderr and can't be redirected directly, 3086# and sets the high bit in the cache file unless we assign to the vars. 3087( 3088 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3089 eval ac_val=\$$ac_var 3090 case $ac_val in #( 3091 *${as_nl}*) 3092 case $ac_var in #( 3093 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3094$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3095 esac 3096 case $ac_var in #( 3097 _ | IFS | as_nl) ;; #( 3098 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3099 *) { eval $ac_var=; unset $ac_var;} ;; 3100 esac ;; 3101 esac 3102 done 3103 3104 (set) 2>&1 | 3105 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3106 *${as_nl}ac_space=\ *) 3107 # `set' does not quote correctly, so add quotes: double-quote 3108 # substitution turns \\\\ into \\, and sed turns \\ into \. 3109 sed -n \ 3110 "s/'/'\\\\''/g; 3111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3112 ;; #( 3113 *) 3114 # `set' quotes correctly as required by POSIX, so do not add quotes. 3115 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3116 ;; 3117 esac | 3118 sort 3119) | 3120 sed ' 3121 /^ac_cv_env_/b end 3122 t clear 3123 :clear 3124 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3125 t end 3126 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3127 :end' >>confcache 3128if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3129 if test -w "$cache_file"; then 3130 if test "x$cache_file" != "x/dev/null"; then 3131 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3132$as_echo "$as_me: updating cache $cache_file" >&6;} 3133 if test ! -f "$cache_file" || test -h "$cache_file"; then 3134 cat confcache >"$cache_file" 3135 else 3136 case $cache_file in #( 3137 */* | ?:*) 3138 mv -f confcache "$cache_file"$$ && 3139 mv -f "$cache_file"$$ "$cache_file" ;; #( 3140 *) 3141 mv -f confcache "$cache_file" ;; 3142 esac 3143 fi 3144 fi 3145 else 3146 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3147$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3148 fi 3149fi 3150rm -f confcache 3151 3152test "x$prefix" = xNONE && prefix=$ac_default_prefix 3153# Let make expand exec_prefix. 3154test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3155 3156DEFS=-DHAVE_CONFIG_H 3157 3158ac_libobjs= 3159ac_ltlibobjs= 3160U= 3161for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3162 # 1. Remove the extension, and $U if already installed. 3163 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3164 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 3165 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3166 # will be set to the directory where LIBOBJS objects are built. 3167 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3168 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3169done 3170LIBOBJS=$ac_libobjs 3171 3172LTLIBOBJS=$ac_ltlibobjs 3173 3174 3175 3176: "${CONFIG_STATUS=./config.status}" 3177ac_write_fail=0 3178ac_clean_files_save=$ac_clean_files 3179ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3180{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3181$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 3182as_write_fail=0 3183cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3184#! $SHELL 3185# Generated by $as_me. 3186# Run this file to recreate the current configuration. 3187# Compiler output produced by configure, useful for debugging 3188# configure, is in config.log if it exists. 3189 3190debug=false 3191ac_cs_recheck=false 3192ac_cs_silent=false 3193 3194SHELL=\${CONFIG_SHELL-$SHELL} 3195export SHELL 3196_ASEOF 3197cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3198## -------------------- ## 3199## M4sh Initialization. ## 3200## -------------------- ## 3201 3202# Be more Bourne compatible 3203DUALCASE=1; export DUALCASE # for MKS sh 3204if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 3205 emulate sh 3206 NULLCMD=: 3207 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3208 # is contrary to our usage. Disable this feature. 3209 alias -g '${1+"$@"}'='"$@"' 3210 setopt NO_GLOB_SUBST 3211else 3212 case `(set -o) 2>/dev/null` in #( 3213 *posix*) : 3214 set -o posix ;; #( 3215 *) : 3216 ;; 3217esac 3218fi 3219 3220 3221as_nl=' 3222' 3223export as_nl 3224# Printing a long string crashes Solaris 7 /usr/bin/printf. 3225as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3226as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 3227as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 3228# Prefer a ksh shell builtin over an external printf program on Solaris, 3229# but without wasting forks for bash or zsh. 3230if test -z "$BASH_VERSION$ZSH_VERSION" \ 3231 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 3232 as_echo='print -r --' 3233 as_echo_n='print -rn --' 3234elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 3235 as_echo='printf %s\n' 3236 as_echo_n='printf %s' 3237else 3238 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 3239 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 3240 as_echo_n='/usr/ucb/echo -n' 3241 else 3242 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 3243 as_echo_n_body='eval 3244 arg=$1; 3245 case $arg in #( 3246 *"$as_nl"*) 3247 expr "X$arg" : "X\\(.*\\)$as_nl"; 3248 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 3249 esac; 3250 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 3251 ' 3252 export as_echo_n_body 3253 as_echo_n='sh -c $as_echo_n_body as_echo' 3254 fi 3255 export as_echo_body 3256 as_echo='sh -c $as_echo_body as_echo' 3257fi 3258 3259# The user is always right. 3260if test "${PATH_SEPARATOR+set}" != set; then 3261 PATH_SEPARATOR=: 3262 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3263 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3264 PATH_SEPARATOR=';' 3265 } 3266fi 3267 3268 3269# IFS 3270# We need space, tab and new line, in precisely that order. Quoting is 3271# there to prevent editors from complaining about space-tab. 3272# (If _AS_PATH_WALK were called with IFS unset, it would disable word 3273# splitting by setting IFS to empty value.) 3274IFS=" "" $as_nl" 3275 3276# Find who we are. Look in the path if we contain no directory separator. 3277as_myself= 3278case $0 in #(( 3279 *[\\/]* ) as_myself=$0 ;; 3280 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3281for as_dir in $PATH 3282do 3283 IFS=$as_save_IFS 3284 test -z "$as_dir" && as_dir=. 3285 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3286 done 3287IFS=$as_save_IFS 3288 3289 ;; 3290esac 3291# We did not find ourselves, most probably we were run as `sh COMMAND' 3292# in which case we are not to be found in the path. 3293if test "x$as_myself" = x; then 3294 as_myself=$0 3295fi 3296if test ! -f "$as_myself"; then 3297 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3298 exit 1 3299fi 3300 3301# Unset variables that we do not need and which cause bugs (e.g. in 3302# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 3303# suppresses any "Segmentation fault" message there. '((' could 3304# trigger a bug in pdksh 5.2.14. 3305for as_var in BASH_ENV ENV MAIL MAILPATH 3306do eval test x\${$as_var+set} = xset \ 3307 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3308done 3309PS1='$ ' 3310PS2='> ' 3311PS4='+ ' 3312 3313# NLS nuisances. 3314LC_ALL=C 3315export LC_ALL 3316LANGUAGE=C 3317export LANGUAGE 3318 3319# CDPATH. 3320(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3321 3322 3323# as_fn_error STATUS ERROR [LINENO LOG_FD] 3324# ---------------------------------------- 3325# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3326# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3327# script with STATUS, using 1 if that was 0. 3328as_fn_error () 3329{ 3330 as_status=$1; test $as_status -eq 0 && as_status=1 3331 if test "$4"; then 3332 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3333 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3334 fi 3335 $as_echo "$as_me: error: $2" >&2 3336 as_fn_exit $as_status 3337} # as_fn_error 3338 3339 3340# as_fn_set_status STATUS 3341# ----------------------- 3342# Set $? to STATUS, without forking. 3343as_fn_set_status () 3344{ 3345 return $1 3346} # as_fn_set_status 3347 3348# as_fn_exit STATUS 3349# ----------------- 3350# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3351as_fn_exit () 3352{ 3353 set +e 3354 as_fn_set_status $1 3355 exit $1 3356} # as_fn_exit 3357 3358# as_fn_unset VAR 3359# --------------- 3360# Portably unset VAR. 3361as_fn_unset () 3362{ 3363 { eval $1=; unset $1;} 3364} 3365as_unset=as_fn_unset 3366# as_fn_append VAR VALUE 3367# ---------------------- 3368# Append the text in VALUE to the end of the definition contained in VAR. Take 3369# advantage of any shell optimizations that allow amortized linear growth over 3370# repeated appends, instead of the typical quadratic growth present in naive 3371# implementations. 3372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3373 eval 'as_fn_append () 3374 { 3375 eval $1+=\$2 3376 }' 3377else 3378 as_fn_append () 3379 { 3380 eval $1=\$$1\$2 3381 } 3382fi # as_fn_append 3383 3384# as_fn_arith ARG... 3385# ------------------ 3386# Perform arithmetic evaluation on the ARGs, and store the result in the 3387# global $as_val. Take advantage of shells that can avoid forks. The arguments 3388# must be portable across $(()) and expr. 3389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3390 eval 'as_fn_arith () 3391 { 3392 as_val=$(( $* )) 3393 }' 3394else 3395 as_fn_arith () 3396 { 3397 as_val=`expr "$@" || test $? -eq 1` 3398 } 3399fi # as_fn_arith 3400 3401 3402if expr a : '\(a\)' >/dev/null 2>&1 && 3403 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3404 as_expr=expr 3405else 3406 as_expr=false 3407fi 3408 3409if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3410 as_basename=basename 3411else 3412 as_basename=false 3413fi 3414 3415if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3416 as_dirname=dirname 3417else 3418 as_dirname=false 3419fi 3420 3421as_me=`$as_basename -- "$0" || 3422$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3423 X"$0" : 'X\(//\)$' \| \ 3424 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3425$as_echo X/"$0" | 3426 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3427 s//\1/ 3428 q 3429 } 3430 /^X\/\(\/\/\)$/{ 3431 s//\1/ 3432 q 3433 } 3434 /^X\/\(\/\).*/{ 3435 s//\1/ 3436 q 3437 } 3438 s/.*/./; q'` 3439 3440# Avoid depending upon Character Ranges. 3441as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3442as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3443as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3444as_cr_digits='0123456789' 3445as_cr_alnum=$as_cr_Letters$as_cr_digits 3446 3447ECHO_C= ECHO_N= ECHO_T= 3448case `echo -n x` in #((((( 3449-n*) 3450 case `echo 'xy\c'` in 3451 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3452 xy) ECHO_C='\c';; 3453 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3454 ECHO_T=' ';; 3455 esac;; 3456*) 3457 ECHO_N='-n';; 3458esac 3459 3460rm -f conf$$ conf$$.exe conf$$.file 3461if test -d conf$$.dir; then 3462 rm -f conf$$.dir/conf$$.file 3463else 3464 rm -f conf$$.dir 3465 mkdir conf$$.dir 2>/dev/null 3466fi 3467if (echo >conf$$.file) 2>/dev/null; then 3468 if ln -s conf$$.file conf$$ 2>/dev/null; then 3469 as_ln_s='ln -s' 3470 # ... but there are two gotchas: 3471 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3472 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3473 # In both cases, we have to default to `cp -pR'. 3474 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3475 as_ln_s='cp -pR' 3476 elif ln conf$$.file conf$$ 2>/dev/null; then 3477 as_ln_s=ln 3478 else 3479 as_ln_s='cp -pR' 3480 fi 3481else 3482 as_ln_s='cp -pR' 3483fi 3484rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3485rmdir conf$$.dir 2>/dev/null 3486 3487 3488# as_fn_mkdir_p 3489# ------------- 3490# Create "$as_dir" as a directory, including parents if necessary. 3491as_fn_mkdir_p () 3492{ 3493 3494 case $as_dir in #( 3495 -*) as_dir=./$as_dir;; 3496 esac 3497 test -d "$as_dir" || eval $as_mkdir_p || { 3498 as_dirs= 3499 while :; do 3500 case $as_dir in #( 3501 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3502 *) as_qdir=$as_dir;; 3503 esac 3504 as_dirs="'$as_qdir' $as_dirs" 3505 as_dir=`$as_dirname -- "$as_dir" || 3506$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3507 X"$as_dir" : 'X\(//\)[^/]' \| \ 3508 X"$as_dir" : 'X\(//\)$' \| \ 3509 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3510$as_echo X"$as_dir" | 3511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3512 s//\1/ 3513 q 3514 } 3515 /^X\(\/\/\)[^/].*/{ 3516 s//\1/ 3517 q 3518 } 3519 /^X\(\/\/\)$/{ 3520 s//\1/ 3521 q 3522 } 3523 /^X\(\/\).*/{ 3524 s//\1/ 3525 q 3526 } 3527 s/.*/./; q'` 3528 test -d "$as_dir" && break 3529 done 3530 test -z "$as_dirs" || eval "mkdir $as_dirs" 3531 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3532 3533 3534} # as_fn_mkdir_p 3535if mkdir -p . 2>/dev/null; then 3536 as_mkdir_p='mkdir -p "$as_dir"' 3537else 3538 test -d ./-p && rmdir ./-p 3539 as_mkdir_p=false 3540fi 3541 3542 3543# as_fn_executable_p FILE 3544# ----------------------- 3545# Test if FILE is an executable regular file. 3546as_fn_executable_p () 3547{ 3548 test -f "$1" && test -x "$1" 3549} # as_fn_executable_p 3550as_test_x='test -x' 3551as_executable_p=as_fn_executable_p 3552 3553# Sed expression to map a string onto a valid CPP name. 3554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3555 3556# Sed expression to map a string onto a valid variable name. 3557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3558 3559 3560exec 6>&1 3561## ----------------------------------- ## 3562## Main body of $CONFIG_STATUS script. ## 3563## ----------------------------------- ## 3564_ASEOF 3565test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3566 3567cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3568# Save the log message, to keep $0 and so on meaningful, and to 3569# report actual input values of CONFIG_FILES etc. instead of their 3570# values after options handling. 3571ac_log=" 3572This file was extended by $as_me, which was 3573generated by GNU Autoconf 2.69. Invocation command line was 3574 3575 CONFIG_FILES = $CONFIG_FILES 3576 CONFIG_HEADERS = $CONFIG_HEADERS 3577 CONFIG_LINKS = $CONFIG_LINKS 3578 CONFIG_COMMANDS = $CONFIG_COMMANDS 3579 $ $0 $@ 3580 3581on `(hostname || uname -n) 2>/dev/null | sed 1q` 3582" 3583 3584_ACEOF 3585 3586case $ac_config_files in *" 3587"*) set x $ac_config_files; shift; ac_config_files=$*;; 3588esac 3589 3590case $ac_config_headers in *" 3591"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 3592esac 3593 3594 3595cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3596# Files that config.status was made for. 3597config_files="$ac_config_files" 3598config_headers="$ac_config_headers" 3599 3600_ACEOF 3601 3602cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3603ac_cs_usage="\ 3604\`$as_me' instantiates files and other configuration actions 3605from templates according to the current configuration. Unless the files 3606and actions are specified as TAGs, all are instantiated by default. 3607 3608Usage: $0 [OPTION]... [TAG]... 3609 3610 -h, --help print this help, then exit 3611 -V, --version print version number and configuration settings, then exit 3612 --config print configuration, then exit 3613 -q, --quiet, --silent 3614 do not print progress messages 3615 -d, --debug don't remove temporary files 3616 --recheck update $as_me by reconfiguring in the same conditions 3617 --file=FILE[:TEMPLATE] 3618 instantiate the configuration file FILE 3619 --header=FILE[:TEMPLATE] 3620 instantiate the configuration header FILE 3621 3622Configuration files: 3623$config_files 3624 3625Configuration headers: 3626$config_headers 3627 3628Report bugs to the package provider." 3629 3630_ACEOF 3631cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3632ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 3633ac_cs_version="\\ 3634config.status 3635configured by $0, generated by GNU Autoconf 2.69, 3636 with options \\"\$ac_cs_config\\" 3637 3638Copyright (C) 2012 Free Software Foundation, Inc. 3639This config.status script is free software; the Free Software Foundation 3640gives unlimited permission to copy, distribute and modify it." 3641 3642ac_pwd='$ac_pwd' 3643srcdir='$srcdir' 3644test -n "\$AWK" || AWK=awk 3645_ACEOF 3646 3647cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3648# The default lists apply if the user does not specify any file. 3649ac_need_defaults=: 3650while test $# != 0 3651do 3652 case $1 in 3653 --*=?*) 3654 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3655 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3656 ac_shift=: 3657 ;; 3658 --*=) 3659 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3660 ac_optarg= 3661 ac_shift=: 3662 ;; 3663 *) 3664 ac_option=$1 3665 ac_optarg=$2 3666 ac_shift=shift 3667 ;; 3668 esac 3669 3670 case $ac_option in 3671 # Handling of the options. 3672 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3673 ac_cs_recheck=: ;; 3674 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3675 $as_echo "$ac_cs_version"; exit ;; 3676 --config | --confi | --conf | --con | --co | --c ) 3677 $as_echo "$ac_cs_config"; exit ;; 3678 --debug | --debu | --deb | --de | --d | -d ) 3679 debug=: ;; 3680 --file | --fil | --fi | --f ) 3681 $ac_shift 3682 case $ac_optarg in 3683 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3684 '') as_fn_error $? "missing file argument" ;; 3685 esac 3686 as_fn_append CONFIG_FILES " '$ac_optarg'" 3687 ac_need_defaults=false;; 3688 --header | --heade | --head | --hea ) 3689 $ac_shift 3690 case $ac_optarg in 3691 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3692 esac 3693 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 3694 ac_need_defaults=false;; 3695 --he | --h) 3696 # Conflict between --help and --header 3697 as_fn_error $? "ambiguous option: \`$1' 3698Try \`$0 --help' for more information.";; 3699 --help | --hel | -h ) 3700 $as_echo "$ac_cs_usage"; exit ;; 3701 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3702 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3703 ac_cs_silent=: ;; 3704 3705 # This is an error. 3706 -*) as_fn_error $? "unrecognized option: \`$1' 3707Try \`$0 --help' for more information." ;; 3708 3709 *) as_fn_append ac_config_targets " $1" 3710 ac_need_defaults=false ;; 3711 3712 esac 3713 shift 3714done 3715 3716ac_configure_extra_args= 3717 3718if $ac_cs_silent; then 3719 exec 6>/dev/null 3720 ac_configure_extra_args="$ac_configure_extra_args --silent" 3721fi 3722 3723_ACEOF 3724cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3725if \$ac_cs_recheck; then 3726 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3727 shift 3728 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 3729 CONFIG_SHELL='$SHELL' 3730 export CONFIG_SHELL 3731 exec "\$@" 3732fi 3733 3734_ACEOF 3735cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3736exec 5>>config.log 3737{ 3738 echo 3739 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3740## Running $as_me. ## 3741_ASBOX 3742 $as_echo "$ac_log" 3743} >&5 3744 3745_ACEOF 3746cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3747_ACEOF 3748 3749cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3750 3751# Handling of arguments. 3752for ac_config_target in $ac_config_targets 3753do 3754 case $ac_config_target in 3755 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 3756 "all.mk") CONFIG_FILES="$CONFIG_FILES all.mk" ;; 3757 3758 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3759 esac 3760done 3761 3762 3763# If the user did not use the arguments to specify the items to instantiate, 3764# then the envvar interface is used. Set only those that are not. 3765# We use the long form for the default assignment because of an extremely 3766# bizarre bug on SunOS 4.1.3. 3767if $ac_need_defaults; then 3768 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3769 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 3770fi 3771 3772# Have a temporary directory for convenience. Make it in the build tree 3773# simply because there is no reason against having it here, and in addition, 3774# creating and moving files from /tmp can sometimes cause problems. 3775# Hook for its removal unless debugging. 3776# Note that there is a small window in which the directory will not be cleaned: 3777# after its creation but before its name has been assigned to `$tmp'. 3778$debug || 3779{ 3780 tmp= ac_tmp= 3781 trap 'exit_status=$? 3782 : "${ac_tmp:=$tmp}" 3783 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 3784' 0 3785 trap 'as_fn_exit 1' 1 2 13 15 3786} 3787# Create a (secure) tmp directory for tmp files. 3788 3789{ 3790 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3791 test -d "$tmp" 3792} || 3793{ 3794 tmp=./conf$$-$RANDOM 3795 (umask 077 && mkdir "$tmp") 3796} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 3797ac_tmp=$tmp 3798 3799# Set up the scripts for CONFIG_FILES section. 3800# No need to generate them if there are no CONFIG_FILES. 3801# This happens for instance with `./config.status config.h'. 3802if test -n "$CONFIG_FILES"; then 3803 3804 3805ac_cr=`echo X | tr X '\015'` 3806# On cygwin, bash can eat \r inside `` if the user requested igncr. 3807# But we know of no other shell where ac_cr would be empty at this 3808# point, so we can use a bashism as a fallback. 3809if test "x$ac_cr" = x; then 3810 eval ac_cr=\$\'\\r\' 3811fi 3812ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3813if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3814 ac_cs_awk_cr='\\r' 3815else 3816 ac_cs_awk_cr=$ac_cr 3817fi 3818 3819echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 3820_ACEOF 3821 3822 3823{ 3824 echo "cat >conf$$subs.awk <<_ACEOF" && 3825 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 3826 echo "_ACEOF" 3827} >conf$$subs.sh || 3828 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3829ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 3830ac_delim='%!_!# ' 3831for ac_last_try in false false false false false :; do 3832 . ./conf$$subs.sh || 3833 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3834 3835 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 3836 if test $ac_delim_n = $ac_delim_num; then 3837 break 3838 elif $ac_last_try; then 3839 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3840 else 3841 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3842 fi 3843done 3844rm -f conf$$subs.sh 3845 3846cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3847cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 3848_ACEOF 3849sed -n ' 3850h 3851s/^/S["/; s/!.*/"]=/ 3852p 3853g 3854s/^[^!]*!// 3855:repl 3856t repl 3857s/'"$ac_delim"'$// 3858t delim 3859:nl 3860h 3861s/\(.\{148\}\)..*/\1/ 3862t more1 3863s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 3864p 3865n 3866b repl 3867:more1 3868s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3869p 3870g 3871s/.\{148\}// 3872t nl 3873:delim 3874h 3875s/\(.\{148\}\)..*/\1/ 3876t more2 3877s/["\\]/\\&/g; s/^/"/; s/$/"/ 3878p 3879b 3880:more2 3881s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3882p 3883g 3884s/.\{148\}// 3885t delim 3886' <conf$$subs.awk | sed ' 3887/^[^""]/{ 3888 N 3889 s/\n// 3890} 3891' >>$CONFIG_STATUS || ac_write_fail=1 3892rm -f conf$$subs.awk 3893cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3894_ACAWK 3895cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 3896 for (key in S) S_is_set[key] = 1 3897 FS = "" 3898 3899} 3900{ 3901 line = $ 0 3902 nfields = split(line, field, "@") 3903 substed = 0 3904 len = length(field[1]) 3905 for (i = 2; i < nfields; i++) { 3906 key = field[i] 3907 keylen = length(key) 3908 if (S_is_set[key]) { 3909 value = S[key] 3910 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 3911 len += length(value) + length(field[++i]) 3912 substed = 1 3913 } else 3914 len += 1 + keylen 3915 } 3916 3917 print line 3918} 3919 3920_ACAWK 3921_ACEOF 3922cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3923if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 3924 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 3925else 3926 cat 3927fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 3928 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 3929_ACEOF 3930 3931# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 3932# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 3933# trailing colons and then remove the whole line if VPATH becomes empty 3934# (actually we leave an empty line to preserve line numbers). 3935if test "x$srcdir" = x.; then 3936 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 3937h 3938s/// 3939s/^/:/ 3940s/[ ]*$/:/ 3941s/:\$(srcdir):/:/g 3942s/:\${srcdir}:/:/g 3943s/:@srcdir@:/:/g 3944s/^:*// 3945s/:*$// 3946x 3947s/\(=[ ]*\).*/\1/ 3948G 3949s/\n// 3950s/^[^=]*=[ ]*$// 3951}' 3952fi 3953 3954cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3955fi # test -n "$CONFIG_FILES" 3956 3957# Set up the scripts for CONFIG_HEADERS section. 3958# No need to generate them if there are no CONFIG_HEADERS. 3959# This happens for instance with `./config.status Makefile'. 3960if test -n "$CONFIG_HEADERS"; then 3961cat >"$ac_tmp/defines.awk" <<\_ACAWK || 3962BEGIN { 3963_ACEOF 3964 3965# Transform confdefs.h into an awk script `defines.awk', embedded as 3966# here-document in config.status, that substitutes the proper values into 3967# config.h.in to produce config.h. 3968 3969# Create a delimiter string that does not exist in confdefs.h, to ease 3970# handling of long lines. 3971ac_delim='%!_!# ' 3972for ac_last_try in false false :; do 3973 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 3974 if test -z "$ac_tt"; then 3975 break 3976 elif $ac_last_try; then 3977 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 3978 else 3979 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3980 fi 3981done 3982 3983# For the awk script, D is an array of macro values keyed by name, 3984# likewise P contains macro parameters if any. Preserve backslash 3985# newline sequences. 3986 3987ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 3988sed -n ' 3989s/.\{148\}/&'"$ac_delim"'/g 3990t rset 3991:rset 3992s/^[ ]*#[ ]*define[ ][ ]*/ / 3993t def 3994d 3995:def 3996s/\\$// 3997t bsnl 3998s/["\\]/\\&/g 3999s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 4000D["\1"]=" \3"/p 4001s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 4002d 4003:bsnl 4004s/["\\]/\\&/g 4005s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 4006D["\1"]=" \3\\\\\\n"\\/p 4007t cont 4008s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 4009t cont 4010d 4011:cont 4012n 4013s/.\{148\}/&'"$ac_delim"'/g 4014t clear 4015:clear 4016s/\\$// 4017t bsnlc 4018s/["\\]/\\&/g; s/^/"/; s/$/"/p 4019d 4020:bsnlc 4021s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 4022b cont 4023' <confdefs.h | sed ' 4024s/'"$ac_delim"'/"\\\ 4025"/g' >>$CONFIG_STATUS || ac_write_fail=1 4026 4027cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4028 for (key in D) D_is_set[key] = 1 4029 FS = "" 4030} 4031/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 4032 line = \$ 0 4033 split(line, arg, " ") 4034 if (arg[1] == "#") { 4035 defundef = arg[2] 4036 mac1 = arg[3] 4037 } else { 4038 defundef = substr(arg[1], 2) 4039 mac1 = arg[2] 4040 } 4041 split(mac1, mac2, "(") #) 4042 macro = mac2[1] 4043 prefix = substr(line, 1, index(line, defundef) - 1) 4044 if (D_is_set[macro]) { 4045 # Preserve the white space surrounding the "#". 4046 print prefix "define", macro P[macro] D[macro] 4047 next 4048 } else { 4049 # Replace #undef with comments. This is necessary, for example, 4050 # in the case of _POSIX_SOURCE, which is predefined and required 4051 # on some systems where configure will not decide to define it. 4052 if (defundef == "undef") { 4053 print "/*", prefix defundef, macro, "*/" 4054 next 4055 } 4056 } 4057} 4058{ print } 4059_ACAWK 4060_ACEOF 4061cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4062 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 4063fi # test -n "$CONFIG_HEADERS" 4064 4065 4066eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 4067shift 4068for ac_tag 4069do 4070 case $ac_tag in 4071 :[FHLC]) ac_mode=$ac_tag; continue;; 4072 esac 4073 case $ac_mode$ac_tag in 4074 :[FHL]*:*);; 4075 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4076 :[FH]-) ac_tag=-:-;; 4077 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4078 esac 4079 ac_save_IFS=$IFS 4080 IFS=: 4081 set x $ac_tag 4082 IFS=$ac_save_IFS 4083 shift 4084 ac_file=$1 4085 shift 4086 4087 case $ac_mode in 4088 :L) ac_source=$1;; 4089 :[FH]) 4090 ac_file_inputs= 4091 for ac_f 4092 do 4093 case $ac_f in 4094 -) ac_f="$ac_tmp/stdin";; 4095 *) # Look for the file first in the build tree, then in the source tree 4096 # (if the path is not absolute). The absolute path cannot be DOS-style, 4097 # because $ac_f cannot contain `:'. 4098 test -f "$ac_f" || 4099 case $ac_f in 4100 [\\/$]*) false;; 4101 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4102 esac || 4103 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4104 esac 4105 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4106 as_fn_append ac_file_inputs " '$ac_f'" 4107 done 4108 4109 # Let's still pretend it is `configure' which instantiates (i.e., don't 4110 # use $as_me), people would be surprised to read: 4111 # /* config.h. Generated by config.status. */ 4112 configure_input='Generated from '` 4113 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4114 `' by configure.' 4115 if test x"$ac_file" != x-; then 4116 configure_input="$ac_file. $configure_input" 4117 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4118$as_echo "$as_me: creating $ac_file" >&6;} 4119 fi 4120 # Neutralize special characters interpreted by sed in replacement strings. 4121 case $configure_input in #( 4122 *\&* | *\|* | *\\* ) 4123 ac_sed_conf_input=`$as_echo "$configure_input" | 4124 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4125 *) ac_sed_conf_input=$configure_input;; 4126 esac 4127 4128 case $ac_tag in 4129 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4130 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4131 esac 4132 ;; 4133 esac 4134 4135 ac_dir=`$as_dirname -- "$ac_file" || 4136$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4137 X"$ac_file" : 'X\(//\)[^/]' \| \ 4138 X"$ac_file" : 'X\(//\)$' \| \ 4139 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4140$as_echo X"$ac_file" | 4141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4142 s//\1/ 4143 q 4144 } 4145 /^X\(\/\/\)[^/].*/{ 4146 s//\1/ 4147 q 4148 } 4149 /^X\(\/\/\)$/{ 4150 s//\1/ 4151 q 4152 } 4153 /^X\(\/\).*/{ 4154 s//\1/ 4155 q 4156 } 4157 s/.*/./; q'` 4158 as_dir="$ac_dir"; as_fn_mkdir_p 4159 ac_builddir=. 4160 4161case "$ac_dir" in 4162.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4163*) 4164 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 4165 # A ".." for each directory in $ac_dir_suffix. 4166 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4167 case $ac_top_builddir_sub in 4168 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4169 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4170 esac ;; 4171esac 4172ac_abs_top_builddir=$ac_pwd 4173ac_abs_builddir=$ac_pwd$ac_dir_suffix 4174# for backward compatibility: 4175ac_top_builddir=$ac_top_build_prefix 4176 4177case $srcdir in 4178 .) # We are building in place. 4179 ac_srcdir=. 4180 ac_top_srcdir=$ac_top_builddir_sub 4181 ac_abs_top_srcdir=$ac_pwd ;; 4182 [\\/]* | ?:[\\/]* ) # Absolute name. 4183 ac_srcdir=$srcdir$ac_dir_suffix; 4184 ac_top_srcdir=$srcdir 4185 ac_abs_top_srcdir=$srcdir ;; 4186 *) # Relative name. 4187 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4188 ac_top_srcdir=$ac_top_build_prefix$srcdir 4189 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4190esac 4191ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4192 4193 4194 case $ac_mode in 4195 :F) 4196 # 4197 # CONFIG_FILE 4198 # 4199 4200_ACEOF 4201 4202cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4203# If the template does not know about datarootdir, expand it. 4204# FIXME: This hack should be removed a few years after 2.60. 4205ac_datarootdir_hack=; ac_datarootdir_seen= 4206ac_sed_dataroot=' 4207/datarootdir/ { 4208 p 4209 q 4210} 4211/@datadir@/p 4212/@docdir@/p 4213/@infodir@/p 4214/@localedir@/p 4215/@mandir@/p' 4216case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4217*datarootdir*) ac_datarootdir_seen=yes;; 4218*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4220$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4221_ACEOF 4222cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4223 ac_datarootdir_hack=' 4224 s&@datadir@&$datadir&g 4225 s&@docdir@&$docdir&g 4226 s&@infodir@&$infodir&g 4227 s&@localedir@&$localedir&g 4228 s&@mandir@&$mandir&g 4229 s&\\\${datarootdir}&$datarootdir&g' ;; 4230esac 4231_ACEOF 4232 4233# Neutralize VPATH when `$srcdir' = `.'. 4234# Shell code in configure.ac might set extrasub. 4235# FIXME: do we really want to maintain this feature? 4236cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4237ac_sed_extra="$ac_vpsub 4238$extrasub 4239_ACEOF 4240cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4241:t 4242/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4243s|@configure_input@|$ac_sed_conf_input|;t t 4244s&@top_builddir@&$ac_top_builddir_sub&;t t 4245s&@top_build_prefix@&$ac_top_build_prefix&;t t 4246s&@srcdir@&$ac_srcdir&;t t 4247s&@abs_srcdir@&$ac_abs_srcdir&;t t 4248s&@top_srcdir@&$ac_top_srcdir&;t t 4249s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4250s&@builddir@&$ac_builddir&;t t 4251s&@abs_builddir@&$ac_abs_builddir&;t t 4252s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4253$ac_datarootdir_hack 4254" 4255eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4256 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4257 4258test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4259 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4260 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4261 "$ac_tmp/out"`; test -z "$ac_out"; } && 4262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4263which seems to be undefined. Please make sure it is defined" >&5 4264$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4265which seems to be undefined. Please make sure it is defined" >&2;} 4266 4267 rm -f "$ac_tmp/stdin" 4268 case $ac_file in 4269 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 4270 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4271 esac \ 4272 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4273 ;; 4274 :H) 4275 # 4276 # CONFIG_HEADER 4277 # 4278 if test x"$ac_file" != x-; then 4279 { 4280 $as_echo "/* $configure_input */" \ 4281 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 4282 } >"$ac_tmp/config.h" \ 4283 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4284 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 4285 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 4286$as_echo "$as_me: $ac_file is unchanged" >&6;} 4287 else 4288 rm -f "$ac_file" 4289 mv "$ac_tmp/config.h" "$ac_file" \ 4290 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4291 fi 4292 else 4293 $as_echo "/* $configure_input */" \ 4294 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 4295 || as_fn_error $? "could not create -" "$LINENO" 5 4296 fi 4297 ;; 4298 4299 4300 esac 4301 4302done # for ac_tag 4303 4304 4305as_fn_exit 0 4306_ACEOF 4307ac_clean_files=$ac_clean_files_save 4308 4309test $ac_write_fail = 0 || 4310 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4311 4312 4313# configure is writing to config.log, and then calls config.status. 4314# config.status does its own redirection, appending to config.log. 4315# Unfortunately, on DOS this fails, as config.log is still kept open 4316# by configure, so config.status won't be able to write to it; its 4317# output is simply discarded. So we exec the FD to /dev/null, 4318# effectively closing config.log, so it can be properly (re)opened and 4319# appended to by config.status. When coming back to configure, we 4320# need to make the FD available again. 4321if test "$no_create" != yes; then 4322 ac_cs_success=: 4323 ac_config_status_args= 4324 test "$silent" = yes && 4325 ac_config_status_args="$ac_config_status_args --quiet" 4326 exec 5>/dev/null 4327 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4328 exec 5>>config.log 4329 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4330 # would make configure fail if this is the last instruction. 4331 $ac_cs_success || as_fn_exit 1 4332fi 4333if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4335$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4336fi 4337 4338 4339