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