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