1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 199 if (eval "$as_required") 2>/dev/null; then : 200 as_have_required=yes 201else 202 as_have_required=no 203fi 204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 205 206else 207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 208as_found=false 209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 210do 211 IFS=$as_save_IFS 212 test -z "$as_dir" && as_dir=. 213 as_found=: 214 case $as_dir in #( 215 /*) 216 for as_base in sh bash ksh sh5; do 217 # Try only shells that exist, to save several forks. 218 as_shell=$as_dir/$as_base 219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 221 CONFIG_SHELL=$as_shell as_have_required=yes 222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 223 break 2 224fi 225fi 226 done;; 227 esac 228 as_found=false 229done 230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 232 CONFIG_SHELL=$SHELL as_have_required=yes 233fi; } 234IFS=$as_save_IFS 235 236 237 if test "x$CONFIG_SHELL" != x; then : 238 export CONFIG_SHELL 239 # We cannot yet assume a decent shell, so we have to provide a 240# neutralization value for shells without unset; and this also 241# works around shells that cannot unset nonexistent variables. 242# Preserve -v and -x to the replacement shell. 243BASH_ENV=/dev/null 244ENV=/dev/null 245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246case $- in # (((( 247 *v*x* | *x*v* ) as_opts=-vx ;; 248 *v* ) as_opts=-v ;; 249 *x* ) as_opts=-x ;; 250 * ) as_opts= ;; 251esac 252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 253# Admittedly, this is quite paranoid, since all the known shells bail 254# out after a failed `exec'. 255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 256exit 255 257fi 258 259 if test x$as_have_required = xno; then : 260 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: the shells that I found on your system." 262 if test x${ZSH_VERSION+set} = xset ; then 263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 264 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 265 else 266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 267$0: including any error possibly output before this 268$0: message. Then install a modern shell, or manually run 269$0: the script under such a shell if you do have one." 270 fi 271 exit 1 272fi 273fi 274fi 275SHELL=${CONFIG_SHELL-/bin/sh} 276export SHELL 277# Unset more variables known to interfere with behavior of common tools. 278CLICOLOR_FORCE= GREP_OPTIONS= 279unset CLICOLOR_FORCE GREP_OPTIONS 280 281## --------------------- ## 282## M4sh Shell Functions. ## 283## --------------------- ## 284# as_fn_unset VAR 285# --------------- 286# Portably unset VAR. 287as_fn_unset () 288{ 289 { eval $1=; unset $1;} 290} 291as_unset=as_fn_unset 292 293# as_fn_set_status STATUS 294# ----------------------- 295# Set $? to STATUS, without forking. 296as_fn_set_status () 297{ 298 return $1 299} # as_fn_set_status 300 301# as_fn_exit STATUS 302# ----------------- 303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 304as_fn_exit () 305{ 306 set +e 307 as_fn_set_status $1 308 exit $1 309} # as_fn_exit 310 311# as_fn_mkdir_p 312# ------------- 313# Create "$as_dir" as a directory, including parents if necessary. 314as_fn_mkdir_p () 315{ 316 317 case $as_dir in #( 318 -*) as_dir=./$as_dir;; 319 esac 320 test -d "$as_dir" || eval $as_mkdir_p || { 321 as_dirs= 322 while :; do 323 case $as_dir in #( 324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 325 *) as_qdir=$as_dir;; 326 esac 327 as_dirs="'$as_qdir' $as_dirs" 328 as_dir=`$as_dirname -- "$as_dir" || 329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 330 X"$as_dir" : 'X\(//\)[^/]' \| \ 331 X"$as_dir" : 'X\(//\)$' \| \ 332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 333$as_echo X"$as_dir" | 334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 335 s//\1/ 336 q 337 } 338 /^X\(\/\/\)[^/].*/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)$/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\).*/{ 347 s//\1/ 348 q 349 } 350 s/.*/./; q'` 351 test -d "$as_dir" && break 352 done 353 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 355 356 357} # as_fn_mkdir_p 358 359# as_fn_executable_p FILE 360# ----------------------- 361# Test if FILE is an executable regular file. 362as_fn_executable_p () 363{ 364 test -f "$1" && test -x "$1" 365} # as_fn_executable_p 366# as_fn_append VAR VALUE 367# ---------------------- 368# Append the text in VALUE to the end of the definition contained in VAR. Take 369# advantage of any shell optimizations that allow amortized linear growth over 370# repeated appends, instead of the typical quadratic growth present in naive 371# implementations. 372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 373 eval 'as_fn_append () 374 { 375 eval $1+=\$2 376 }' 377else 378 as_fn_append () 379 { 380 eval $1=\$$1\$2 381 } 382fi # as_fn_append 383 384# as_fn_arith ARG... 385# ------------------ 386# Perform arithmetic evaluation on the ARGs, and store the result in the 387# global $as_val. Take advantage of shells that can avoid forks. The arguments 388# must be portable across $(()) and expr. 389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 390 eval 'as_fn_arith () 391 { 392 as_val=$(( $* )) 393 }' 394else 395 as_fn_arith () 396 { 397 as_val=`expr "$@" || test $? -eq 1` 398 } 399fi # as_fn_arith 400 401 402# as_fn_error STATUS ERROR [LINENO LOG_FD] 403# ---------------------------------------- 404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 406# script with STATUS, using 1 if that was 0. 407as_fn_error () 408{ 409 as_status=$1; test $as_status -eq 0 && as_status=1 410 if test "$4"; then 411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 413 fi 414 $as_echo "$as_me: error: $2" >&2 415 as_fn_exit $as_status 416} # as_fn_error 417 418if expr a : '\(a\)' >/dev/null 2>&1 && 419 test "X`expr 00001 : '.*\(...\)'`" = X001; then 420 as_expr=expr 421else 422 as_expr=false 423fi 424 425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 426 as_basename=basename 427else 428 as_basename=false 429fi 430 431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 432 as_dirname=dirname 433else 434 as_dirname=false 435fi 436 437as_me=`$as_basename -- "$0" || 438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 439 X"$0" : 'X\(//\)$' \| \ 440 X"$0" : 'X\(/\)' \| . 2>/dev/null || 441$as_echo X/"$0" | 442 sed '/^.*\/\([^/][^/]*\)\/*$/{ 443 s//\1/ 444 q 445 } 446 /^X\/\(\/\/\)$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\).*/{ 451 s//\1/ 452 q 453 } 454 s/.*/./; q'` 455 456# Avoid depending upon Character Ranges. 457as_cr_letters='abcdefghijklmnopqrstuvwxyz' 458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 459as_cr_Letters=$as_cr_letters$as_cr_LETTERS 460as_cr_digits='0123456789' 461as_cr_alnum=$as_cr_Letters$as_cr_digits 462 463 464 as_lineno_1=$LINENO as_lineno_1a=$LINENO 465 as_lineno_2=$LINENO as_lineno_2a=$LINENO 466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 469 sed -n ' 470 p 471 /[$]LINENO/= 472 ' <$as_myself | 473 sed ' 474 s/[$]LINENO.*/&-/ 475 t lineno 476 b 477 :lineno 478 N 479 :loop 480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 481 t loop 482 s/-\n.*// 483 ' >$as_me.lineno && 484 chmod +x "$as_me.lineno" || 485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 488 # already done that, so ensure we don't try to do so again and fall 489 # in an infinite loop. This has already happened in practice. 490 _as_can_reexec=no; export _as_can_reexec 491 # Don't try to exec as it changes $[0], causing all sort of problems 492 # (the dirname of $[0] is not the place where we might find the 493 # original and so on. Autoconf is especially sensitive to this). 494 . "./$as_me.lineno" 495 # Exit status is that of the last command. 496 exit 497} 498 499ECHO_C= ECHO_N= ECHO_T= 500case `echo -n x` in #((((( 501-n*) 502 case `echo 'xy\c'` in 503 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 504 xy) ECHO_C='\c';; 505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 506 ECHO_T=' ';; 507 esac;; 508*) 509 ECHO_N='-n';; 510esac 511 512rm -f conf$$ conf$$.exe conf$$.file 513if test -d conf$$.dir; then 514 rm -f conf$$.dir/conf$$.file 515else 516 rm -f conf$$.dir 517 mkdir conf$$.dir 2>/dev/null 518fi 519if (echo >conf$$.file) 2>/dev/null; then 520 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 as_ln_s='ln -s' 522 # ... but there are two gotchas: 523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # In both cases, we have to default to `cp -pR'. 526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 as_ln_s='cp -pR' 528 elif ln conf$$.file conf$$ 2>/dev/null; then 529 as_ln_s=ln 530 else 531 as_ln_s='cp -pR' 532 fi 533else 534 as_ln_s='cp -pR' 535fi 536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rmdir conf$$.dir 2>/dev/null 538 539if mkdir -p . 2>/dev/null; then 540 as_mkdir_p='mkdir -p "$as_dir"' 541else 542 test -d ./-p && rmdir ./-p 543 as_mkdir_p=false 544fi 545 546as_test_x='test -x' 547as_executable_p=as_fn_executable_p 548 549# Sed expression to map a string onto a valid CPP name. 550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551 552# Sed expression to map a string onto a valid variable name. 553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 554 555 556test -n "$DJDIR" || exec 7<&0 </dev/null 557exec 6>&1 558 559# Name of the host. 560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 561# so uname gets run too. 562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 563 564# 565# Initializations. 566# 567ac_default_prefix=/usr/local 568ac_clean_files= 569ac_config_libobj_dir=. 570LIBOBJS= 571cross_compiling=no 572subdirs= 573MFLAGS= 574MAKEFLAGS= 575 576# Identity of this package. 577PACKAGE_NAME= 578PACKAGE_TARNAME= 579PACKAGE_VERSION= 580PACKAGE_STRING= 581PACKAGE_BUGREPORT= 582PACKAGE_URL= 583 584ac_unique_file="doc/gperf.texi" 585enable_option_checking=no 586ac_subst_vars='LTLIBOBJS 587LIBOBJS 588subdirs 589SET_MAKE 590target_alias 591host_alias 592build_alias 593LIBS 594ECHO_T 595ECHO_N 596ECHO_C 597DEFS 598mandir 599localedir 600libdir 601psdir 602pdfdir 603dvidir 604htmldir 605infodir 606docdir 607oldincludedir 608includedir 609localstatedir 610sharedstatedir 611sysconfdir 612datadir 613datarootdir 614libexecdir 615sbindir 616bindir 617program_transform_name 618prefix 619exec_prefix 620PACKAGE_URL 621PACKAGE_BUGREPORT 622PACKAGE_STRING 623PACKAGE_VERSION 624PACKAGE_TARNAME 625PACKAGE_NAME 626PATH_SEPARATOR 627SHELL' 628ac_subst_files='' 629ac_user_opts=' 630enable_option_checking 631' 632 ac_precious_vars='build_alias 633host_alias 634target_alias' 635ac_subdirs_all='lib src tests doc' 636 637# Initialize some variables set by options. 638ac_init_help= 639ac_init_version=false 640ac_unrecognized_opts= 641ac_unrecognized_sep= 642# The variables have the same names as the options, with 643# dashes changed to underlines. 644cache_file=/dev/null 645exec_prefix=NONE 646no_create= 647no_recursion= 648prefix=NONE 649program_prefix=NONE 650program_suffix=NONE 651program_transform_name=s,x,x, 652silent= 653site= 654srcdir= 655verbose= 656x_includes=NONE 657x_libraries=NONE 658 659# Installation directory options. 660# These are left unexpanded so users can "make install exec_prefix=/foo" 661# and all the variables that are supposed to be based on exec_prefix 662# by default will actually change. 663# Use braces instead of parens because sh, perl, etc. also accept them. 664# (The list follows the same order as the GNU Coding Standards.) 665bindir='${exec_prefix}/bin' 666sbindir='${exec_prefix}/sbin' 667libexecdir='${exec_prefix}/libexec' 668datarootdir='${prefix}/share' 669datadir='${datarootdir}' 670sysconfdir='${prefix}/etc' 671sharedstatedir='${prefix}/com' 672localstatedir='${prefix}/var' 673includedir='${prefix}/include' 674oldincludedir='/usr/include' 675docdir='${datarootdir}/doc/${PACKAGE}' 676infodir='${datarootdir}/info' 677htmldir='${docdir}' 678dvidir='${docdir}' 679pdfdir='${docdir}' 680psdir='${docdir}' 681libdir='${exec_prefix}/lib' 682localedir='${datarootdir}/locale' 683mandir='${datarootdir}/man' 684 685ac_prev= 686ac_dashdash= 687for ac_option 688do 689 # If the previous option needs an argument, assign it. 690 if test -n "$ac_prev"; then 691 eval $ac_prev=\$ac_option 692 ac_prev= 693 continue 694 fi 695 696 case $ac_option in 697 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 698 *=) ac_optarg= ;; 699 *) ac_optarg=yes ;; 700 esac 701 702 # Accept the important Cygnus configure options, so we can diagnose typos. 703 704 case $ac_dashdash$ac_option in 705 --) 706 ac_dashdash=yes ;; 707 708 -bindir | --bindir | --bindi | --bind | --bin | --bi) 709 ac_prev=bindir ;; 710 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 711 bindir=$ac_optarg ;; 712 713 -build | --build | --buil | --bui | --bu) 714 ac_prev=build_alias ;; 715 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 716 build_alias=$ac_optarg ;; 717 718 -cache-file | --cache-file | --cache-fil | --cache-fi \ 719 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 720 ac_prev=cache_file ;; 721 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 722 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 723 cache_file=$ac_optarg ;; 724 725 --config-cache | -C) 726 cache_file=config.cache ;; 727 728 -datadir | --datadir | --datadi | --datad) 729 ac_prev=datadir ;; 730 -datadir=* | --datadir=* | --datadi=* | --datad=*) 731 datadir=$ac_optarg ;; 732 733 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 734 | --dataroo | --dataro | --datar) 735 ac_prev=datarootdir ;; 736 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 737 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 738 datarootdir=$ac_optarg ;; 739 740 -disable-* | --disable-*) 741 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 742 # Reject names that are not valid shell variable names. 743 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 744 as_fn_error $? "invalid feature name: $ac_useropt" 745 ac_useropt_orig=$ac_useropt 746 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 747 case $ac_user_opts in 748 *" 749"enable_$ac_useropt" 750"*) ;; 751 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 752 ac_unrecognized_sep=', ';; 753 esac 754 eval enable_$ac_useropt=no ;; 755 756 -docdir | --docdir | --docdi | --doc | --do) 757 ac_prev=docdir ;; 758 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 759 docdir=$ac_optarg ;; 760 761 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 762 ac_prev=dvidir ;; 763 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 764 dvidir=$ac_optarg ;; 765 766 -enable-* | --enable-*) 767 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 768 # Reject names that are not valid shell variable names. 769 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 770 as_fn_error $? "invalid feature name: $ac_useropt" 771 ac_useropt_orig=$ac_useropt 772 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 773 case $ac_user_opts in 774 *" 775"enable_$ac_useropt" 776"*) ;; 777 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 778 ac_unrecognized_sep=', ';; 779 esac 780 eval enable_$ac_useropt=\$ac_optarg ;; 781 782 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 783 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 784 | --exec | --exe | --ex) 785 ac_prev=exec_prefix ;; 786 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 787 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 788 | --exec=* | --exe=* | --ex=*) 789 exec_prefix=$ac_optarg ;; 790 791 -gas | --gas | --ga | --g) 792 # Obsolete; use --with-gas. 793 with_gas=yes ;; 794 795 -help | --help | --hel | --he | -h) 796 ac_init_help=long ;; 797 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 798 ac_init_help=recursive ;; 799 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 800 ac_init_help=short ;; 801 802 -host | --host | --hos | --ho) 803 ac_prev=host_alias ;; 804 -host=* | --host=* | --hos=* | --ho=*) 805 host_alias=$ac_optarg ;; 806 807 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 808 ac_prev=htmldir ;; 809 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 810 | --ht=*) 811 htmldir=$ac_optarg ;; 812 813 -includedir | --includedir | --includedi | --included | --include \ 814 | --includ | --inclu | --incl | --inc) 815 ac_prev=includedir ;; 816 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 817 | --includ=* | --inclu=* | --incl=* | --inc=*) 818 includedir=$ac_optarg ;; 819 820 -infodir | --infodir | --infodi | --infod | --info | --inf) 821 ac_prev=infodir ;; 822 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 823 infodir=$ac_optarg ;; 824 825 -libdir | --libdir | --libdi | --libd) 826 ac_prev=libdir ;; 827 -libdir=* | --libdir=* | --libdi=* | --libd=*) 828 libdir=$ac_optarg ;; 829 830 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 831 | --libexe | --libex | --libe) 832 ac_prev=libexecdir ;; 833 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 834 | --libexe=* | --libex=* | --libe=*) 835 libexecdir=$ac_optarg ;; 836 837 -localedir | --localedir | --localedi | --localed | --locale) 838 ac_prev=localedir ;; 839 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 840 localedir=$ac_optarg ;; 841 842 -localstatedir | --localstatedir | --localstatedi | --localstated \ 843 | --localstate | --localstat | --localsta | --localst | --locals) 844 ac_prev=localstatedir ;; 845 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 846 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 847 localstatedir=$ac_optarg ;; 848 849 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 850 ac_prev=mandir ;; 851 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 852 mandir=$ac_optarg ;; 853 854 -nfp | --nfp | --nf) 855 # Obsolete; use --without-fp. 856 with_fp=no ;; 857 858 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 859 | --no-cr | --no-c | -n) 860 no_create=yes ;; 861 862 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 863 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 864 no_recursion=yes ;; 865 866 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 867 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 868 | --oldin | --oldi | --old | --ol | --o) 869 ac_prev=oldincludedir ;; 870 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 871 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 872 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 873 oldincludedir=$ac_optarg ;; 874 875 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 876 ac_prev=prefix ;; 877 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 878 prefix=$ac_optarg ;; 879 880 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 881 | --program-pre | --program-pr | --program-p) 882 ac_prev=program_prefix ;; 883 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 884 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 885 program_prefix=$ac_optarg ;; 886 887 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 888 | --program-suf | --program-su | --program-s) 889 ac_prev=program_suffix ;; 890 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 891 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 892 program_suffix=$ac_optarg ;; 893 894 -program-transform-name | --program-transform-name \ 895 | --program-transform-nam | --program-transform-na \ 896 | --program-transform-n | --program-transform- \ 897 | --program-transform | --program-transfor \ 898 | --program-transfo | --program-transf \ 899 | --program-trans | --program-tran \ 900 | --progr-tra | --program-tr | --program-t) 901 ac_prev=program_transform_name ;; 902 -program-transform-name=* | --program-transform-name=* \ 903 | --program-transform-nam=* | --program-transform-na=* \ 904 | --program-transform-n=* | --program-transform-=* \ 905 | --program-transform=* | --program-transfor=* \ 906 | --program-transfo=* | --program-transf=* \ 907 | --program-trans=* | --program-tran=* \ 908 | --progr-tra=* | --program-tr=* | --program-t=*) 909 program_transform_name=$ac_optarg ;; 910 911 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 912 ac_prev=pdfdir ;; 913 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 914 pdfdir=$ac_optarg ;; 915 916 -psdir | --psdir | --psdi | --psd | --ps) 917 ac_prev=psdir ;; 918 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 919 psdir=$ac_optarg ;; 920 921 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 922 | -silent | --silent | --silen | --sile | --sil) 923 silent=yes ;; 924 925 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 926 ac_prev=sbindir ;; 927 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 928 | --sbi=* | --sb=*) 929 sbindir=$ac_optarg ;; 930 931 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 932 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 933 | --sharedst | --shareds | --shared | --share | --shar \ 934 | --sha | --sh) 935 ac_prev=sharedstatedir ;; 936 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 937 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 938 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 939 | --sha=* | --sh=*) 940 sharedstatedir=$ac_optarg ;; 941 942 -site | --site | --sit) 943 ac_prev=site ;; 944 -site=* | --site=* | --sit=*) 945 site=$ac_optarg ;; 946 947 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 948 ac_prev=srcdir ;; 949 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 950 srcdir=$ac_optarg ;; 951 952 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 953 | --syscon | --sysco | --sysc | --sys | --sy) 954 ac_prev=sysconfdir ;; 955 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 956 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 957 sysconfdir=$ac_optarg ;; 958 959 -target | --target | --targe | --targ | --tar | --ta | --t) 960 ac_prev=target_alias ;; 961 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 962 target_alias=$ac_optarg ;; 963 964 -v | -verbose | --verbose | --verbos | --verbo | --verb) 965 verbose=yes ;; 966 967 -version | --version | --versio | --versi | --vers | -V) 968 ac_init_version=: ;; 969 970 -with-* | --with-*) 971 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 972 # Reject names that are not valid shell variable names. 973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 974 as_fn_error $? "invalid package name: $ac_useropt" 975 ac_useropt_orig=$ac_useropt 976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 977 case $ac_user_opts in 978 *" 979"with_$ac_useropt" 980"*) ;; 981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 982 ac_unrecognized_sep=', ';; 983 esac 984 eval with_$ac_useropt=\$ac_optarg ;; 985 986 -without-* | --without-*) 987 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 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--without-$ac_useropt_orig" 998 ac_unrecognized_sep=', ';; 999 esac 1000 eval with_$ac_useropt=no ;; 1001 1002 --x) 1003 # Obsolete; use --with-x. 1004 with_x=yes ;; 1005 1006 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1007 | --x-incl | --x-inc | --x-in | --x-i) 1008 ac_prev=x_includes ;; 1009 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1010 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1011 x_includes=$ac_optarg ;; 1012 1013 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1014 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1015 ac_prev=x_libraries ;; 1016 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1017 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1018 x_libraries=$ac_optarg ;; 1019 1020 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1021Try \`$0 --help' for more information" 1022 ;; 1023 1024 *=*) 1025 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1026 # Reject names that are not valid shell variable names. 1027 case $ac_envvar in #( 1028 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1029 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1030 esac 1031 eval $ac_envvar=\$ac_optarg 1032 export $ac_envvar ;; 1033 1034 *) 1035 # FIXME: should be removed in autoconf 3.0. 1036 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1037 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1038 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1039 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1040 ;; 1041 1042 esac 1043done 1044 1045if test -n "$ac_prev"; then 1046 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1047 as_fn_error $? "missing argument to $ac_option" 1048fi 1049 1050if test -n "$ac_unrecognized_opts"; then 1051 case $enable_option_checking in 1052 no) ;; 1053 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1054 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1055 esac 1056fi 1057 1058# Check all directory arguments for consistency. 1059for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1060 datadir sysconfdir sharedstatedir localstatedir includedir \ 1061 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1062 libdir localedir mandir 1063do 1064 eval ac_val=\$$ac_var 1065 # Remove trailing slashes. 1066 case $ac_val in 1067 */ ) 1068 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1069 eval $ac_var=\$ac_val;; 1070 esac 1071 # Be sure to have absolute directory names. 1072 case $ac_val in 1073 [\\/$]* | ?:[\\/]* ) continue;; 1074 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1075 esac 1076 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1077done 1078 1079# There might be people who depend on the old broken behavior: `$host' 1080# used to hold the argument of --host etc. 1081# FIXME: To remove some day. 1082build=$build_alias 1083host=$host_alias 1084target=$target_alias 1085 1086# FIXME: To remove some day. 1087if test "x$host_alias" != x; then 1088 if test "x$build_alias" = x; then 1089 cross_compiling=maybe 1090 elif test "x$build_alias" != "x$host_alias"; then 1091 cross_compiling=yes 1092 fi 1093fi 1094 1095ac_tool_prefix= 1096test -n "$host_alias" && ac_tool_prefix=$host_alias- 1097 1098test "$silent" = yes && exec 6>/dev/null 1099 1100 1101ac_pwd=`pwd` && test -n "$ac_pwd" && 1102ac_ls_di=`ls -di .` && 1103ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1104 as_fn_error $? "working directory cannot be determined" 1105test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1106 as_fn_error $? "pwd does not report name of working directory" 1107 1108 1109# Find the source files, if location was not specified. 1110if test -z "$srcdir"; then 1111 ac_srcdir_defaulted=yes 1112 # Try the directory containing this script, then the parent directory. 1113 ac_confdir=`$as_dirname -- "$as_myself" || 1114$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1115 X"$as_myself" : 'X\(//\)[^/]' \| \ 1116 X"$as_myself" : 'X\(//\)$' \| \ 1117 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1118$as_echo X"$as_myself" | 1119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1120 s//\1/ 1121 q 1122 } 1123 /^X\(\/\/\)[^/].*/{ 1124 s//\1/ 1125 q 1126 } 1127 /^X\(\/\/\)$/{ 1128 s//\1/ 1129 q 1130 } 1131 /^X\(\/\).*/{ 1132 s//\1/ 1133 q 1134 } 1135 s/.*/./; q'` 1136 srcdir=$ac_confdir 1137 if test ! -r "$srcdir/$ac_unique_file"; then 1138 srcdir=.. 1139 fi 1140else 1141 ac_srcdir_defaulted=no 1142fi 1143if test ! -r "$srcdir/$ac_unique_file"; then 1144 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1145 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1146fi 1147ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1148ac_abs_confdir=`( 1149 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1150 pwd)` 1151# When building in place, set srcdir=. 1152if test "$ac_abs_confdir" = "$ac_pwd"; then 1153 srcdir=. 1154fi 1155# Remove unnecessary trailing slashes from srcdir. 1156# Double slashes in file names in object file debugging info 1157# mess up M-x gdb in Emacs. 1158case $srcdir in 1159*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1160esac 1161for ac_var in $ac_precious_vars; do 1162 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1163 eval ac_env_${ac_var}_value=\$${ac_var} 1164 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1165 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1166done 1167 1168# 1169# Report the --help message. 1170# 1171if test "$ac_init_help" = "long"; then 1172 # Omit some internal or obsolete options to make the list less imposing. 1173 # This message is too long to be a string in the A/UX 3.1 sh. 1174 cat <<_ACEOF 1175\`configure' configures this package to adapt to many kinds of systems. 1176 1177Usage: $0 [OPTION]... [VAR=VALUE]... 1178 1179To assign environment variables (e.g., CC, CFLAGS...), specify them as 1180VAR=VALUE. See below for descriptions of some of the useful variables. 1181 1182Defaults for the options are specified in brackets. 1183 1184Configuration: 1185 -h, --help display this help and exit 1186 --help=short display options specific to this package 1187 --help=recursive display the short help of all the included packages 1188 -V, --version display version information and exit 1189 -q, --quiet, --silent do not print \`checking ...' messages 1190 --cache-file=FILE cache test results in FILE [disabled] 1191 -C, --config-cache alias for \`--cache-file=config.cache' 1192 -n, --no-create do not create output files 1193 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1194 1195Installation directories: 1196 --prefix=PREFIX install architecture-independent files in PREFIX 1197 [$ac_default_prefix] 1198 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1199 [PREFIX] 1200 1201By default, \`make install' will install all the files in 1202\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1203an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1204for instance \`--prefix=\$HOME'. 1205 1206For better control, use the options below. 1207 1208Fine tuning of the installation directories: 1209 --bindir=DIR user executables [EPREFIX/bin] 1210 --sbindir=DIR system admin executables [EPREFIX/sbin] 1211 --libexecdir=DIR program executables [EPREFIX/libexec] 1212 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1213 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1214 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1215 --libdir=DIR object code libraries [EPREFIX/lib] 1216 --includedir=DIR C header files [PREFIX/include] 1217 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1218 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1219 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1220 --infodir=DIR info documentation [DATAROOTDIR/info] 1221 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1222 --mandir=DIR man documentation [DATAROOTDIR/man] 1223 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1224 --htmldir=DIR html documentation [DOCDIR] 1225 --dvidir=DIR dvi documentation [DOCDIR] 1226 --pdfdir=DIR pdf documentation [DOCDIR] 1227 --psdir=DIR ps documentation [DOCDIR] 1228_ACEOF 1229 1230 cat <<\_ACEOF 1231_ACEOF 1232fi 1233 1234if test -n "$ac_init_help"; then 1235 1236 cat <<\_ACEOF 1237 1238Report bugs to the package provider. 1239_ACEOF 1240ac_status=$? 1241fi 1242 1243if test "$ac_init_help" = "recursive"; then 1244 # If there are subdirs, report their specific --help. 1245 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1246 test -d "$ac_dir" || 1247 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1248 continue 1249 ac_builddir=. 1250 1251case "$ac_dir" in 1252.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1253*) 1254 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1255 # A ".." for each directory in $ac_dir_suffix. 1256 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1257 case $ac_top_builddir_sub in 1258 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1259 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1260 esac ;; 1261esac 1262ac_abs_top_builddir=$ac_pwd 1263ac_abs_builddir=$ac_pwd$ac_dir_suffix 1264# for backward compatibility: 1265ac_top_builddir=$ac_top_build_prefix 1266 1267case $srcdir in 1268 .) # We are building in place. 1269 ac_srcdir=. 1270 ac_top_srcdir=$ac_top_builddir_sub 1271 ac_abs_top_srcdir=$ac_pwd ;; 1272 [\\/]* | ?:[\\/]* ) # Absolute name. 1273 ac_srcdir=$srcdir$ac_dir_suffix; 1274 ac_top_srcdir=$srcdir 1275 ac_abs_top_srcdir=$srcdir ;; 1276 *) # Relative name. 1277 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1278 ac_top_srcdir=$ac_top_build_prefix$srcdir 1279 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1280esac 1281ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1282 1283 cd "$ac_dir" || { ac_status=$?; continue; } 1284 # Check for guested configure. 1285 if test -f "$ac_srcdir/configure.gnu"; then 1286 echo && 1287 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1288 elif test -f "$ac_srcdir/configure"; then 1289 echo && 1290 $SHELL "$ac_srcdir/configure" --help=recursive 1291 else 1292 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1293 fi || ac_status=$? 1294 cd "$ac_pwd" || { ac_status=$?; break; } 1295 done 1296fi 1297 1298test -n "$ac_init_help" && exit $ac_status 1299if $ac_init_version; then 1300 cat <<\_ACEOF 1301configure 1302generated by GNU Autoconf 2.69 1303 1304Copyright (C) 2012 Free Software Foundation, Inc. 1305This configure script is free software; the Free Software Foundation 1306gives unlimited permission to copy, distribute and modify it. 1307_ACEOF 1308 exit 1309fi 1310 1311## ------------------------ ## 1312## Autoconf initialization. ## 1313## ------------------------ ## 1314cat >config.log <<_ACEOF 1315This file contains any messages produced by compilers while 1316running configure, to aid debugging if configure makes a mistake. 1317 1318It was created by $as_me, which was 1319generated by GNU Autoconf 2.69. Invocation command line was 1320 1321 $ $0 $@ 1322 1323_ACEOF 1324exec 5>>config.log 1325{ 1326cat <<_ASUNAME 1327## --------- ## 1328## Platform. ## 1329## --------- ## 1330 1331hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1332uname -m = `(uname -m) 2>/dev/null || echo unknown` 1333uname -r = `(uname -r) 2>/dev/null || echo unknown` 1334uname -s = `(uname -s) 2>/dev/null || echo unknown` 1335uname -v = `(uname -v) 2>/dev/null || echo unknown` 1336 1337/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1338/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1339 1340/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1341/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1342/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1343/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1344/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1345/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1346/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1347 1348_ASUNAME 1349 1350as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1351for as_dir in $PATH 1352do 1353 IFS=$as_save_IFS 1354 test -z "$as_dir" && as_dir=. 1355 $as_echo "PATH: $as_dir" 1356 done 1357IFS=$as_save_IFS 1358 1359} >&5 1360 1361cat >&5 <<_ACEOF 1362 1363 1364## ----------- ## 1365## Core tests. ## 1366## ----------- ## 1367 1368_ACEOF 1369 1370 1371# Keep a trace of the command line. 1372# Strip out --no-create and --no-recursion so they do not pile up. 1373# Strip out --silent because we don't want to record it for future runs. 1374# Also quote any args containing shell meta-characters. 1375# Make two passes to allow for proper duplicate-argument suppression. 1376ac_configure_args= 1377ac_configure_args0= 1378ac_configure_args1= 1379ac_must_keep_next=false 1380for ac_pass in 1 2 1381do 1382 for ac_arg 1383 do 1384 case $ac_arg in 1385 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1386 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1387 | -silent | --silent | --silen | --sile | --sil) 1388 continue ;; 1389 *\'*) 1390 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1391 esac 1392 case $ac_pass in 1393 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1394 2) 1395 as_fn_append ac_configure_args1 " '$ac_arg'" 1396 if test $ac_must_keep_next = true; then 1397 ac_must_keep_next=false # Got value, back to normal. 1398 else 1399 case $ac_arg in 1400 *=* | --config-cache | -C | -disable-* | --disable-* \ 1401 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1402 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1403 | -with-* | --with-* | -without-* | --without-* | --x) 1404 case "$ac_configure_args0 " in 1405 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1406 esac 1407 ;; 1408 -* ) ac_must_keep_next=true ;; 1409 esac 1410 fi 1411 as_fn_append ac_configure_args " '$ac_arg'" 1412 ;; 1413 esac 1414 done 1415done 1416{ ac_configure_args0=; unset ac_configure_args0;} 1417{ ac_configure_args1=; unset ac_configure_args1;} 1418 1419# When interrupted or exit'd, cleanup temporary files, and complete 1420# config.log. We remove comments because anyway the quotes in there 1421# would cause problems or look ugly. 1422# WARNING: Use '\'' to represent an apostrophe within the trap. 1423# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1424trap 'exit_status=$? 1425 # Save into config.log some information that might help in debugging. 1426 { 1427 echo 1428 1429 $as_echo "## ---------------- ## 1430## Cache variables. ## 1431## ---------------- ##" 1432 echo 1433 # The following way of writing the cache mishandles newlines in values, 1434( 1435 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1436 eval ac_val=\$$ac_var 1437 case $ac_val in #( 1438 *${as_nl}*) 1439 case $ac_var in #( 1440 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1441$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1442 esac 1443 case $ac_var in #( 1444 _ | IFS | as_nl) ;; #( 1445 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1446 *) { eval $ac_var=; unset $ac_var;} ;; 1447 esac ;; 1448 esac 1449 done 1450 (set) 2>&1 | 1451 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1452 *${as_nl}ac_space=\ *) 1453 sed -n \ 1454 "s/'\''/'\''\\\\'\'''\''/g; 1455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1456 ;; #( 1457 *) 1458 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1459 ;; 1460 esac | 1461 sort 1462) 1463 echo 1464 1465 $as_echo "## ----------------- ## 1466## Output variables. ## 1467## ----------------- ##" 1468 echo 1469 for ac_var in $ac_subst_vars 1470 do 1471 eval ac_val=\$$ac_var 1472 case $ac_val in 1473 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1474 esac 1475 $as_echo "$ac_var='\''$ac_val'\''" 1476 done | sort 1477 echo 1478 1479 if test -n "$ac_subst_files"; then 1480 $as_echo "## ------------------- ## 1481## File substitutions. ## 1482## ------------------- ##" 1483 echo 1484 for ac_var in $ac_subst_files 1485 do 1486 eval ac_val=\$$ac_var 1487 case $ac_val in 1488 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1489 esac 1490 $as_echo "$ac_var='\''$ac_val'\''" 1491 done | sort 1492 echo 1493 fi 1494 1495 if test -s confdefs.h; then 1496 $as_echo "## ----------- ## 1497## confdefs.h. ## 1498## ----------- ##" 1499 echo 1500 cat confdefs.h 1501 echo 1502 fi 1503 test "$ac_signal" != 0 && 1504 $as_echo "$as_me: caught signal $ac_signal" 1505 $as_echo "$as_me: exit $exit_status" 1506 } >&5 1507 rm -f core *.core core.conftest.* && 1508 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1509 exit $exit_status 1510' 0 1511for ac_signal in 1 2 13 15; do 1512 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1513done 1514ac_signal=0 1515 1516# confdefs.h avoids OS command line length limits that DEFS can exceed. 1517rm -f -r conftest* confdefs.h 1518 1519$as_echo "/* confdefs.h */" > confdefs.h 1520 1521# Predefined preprocessor variables. 1522 1523cat >>confdefs.h <<_ACEOF 1524#define PACKAGE_NAME "$PACKAGE_NAME" 1525_ACEOF 1526 1527cat >>confdefs.h <<_ACEOF 1528#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1529_ACEOF 1530 1531cat >>confdefs.h <<_ACEOF 1532#define PACKAGE_VERSION "$PACKAGE_VERSION" 1533_ACEOF 1534 1535cat >>confdefs.h <<_ACEOF 1536#define PACKAGE_STRING "$PACKAGE_STRING" 1537_ACEOF 1538 1539cat >>confdefs.h <<_ACEOF 1540#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1541_ACEOF 1542 1543cat >>confdefs.h <<_ACEOF 1544#define PACKAGE_URL "$PACKAGE_URL" 1545_ACEOF 1546 1547 1548# Let the site file select an alternate cache file if it wants to. 1549# Prefer an explicitly selected file to automatically selected ones. 1550ac_site_file1=NONE 1551ac_site_file2=NONE 1552if test -n "$CONFIG_SITE"; then 1553 # We do not want a PATH search for config.site. 1554 case $CONFIG_SITE in #(( 1555 -*) ac_site_file1=./$CONFIG_SITE;; 1556 */*) ac_site_file1=$CONFIG_SITE;; 1557 *) ac_site_file1=./$CONFIG_SITE;; 1558 esac 1559elif test "x$prefix" != xNONE; then 1560 ac_site_file1=$prefix/share/config.site 1561 ac_site_file2=$prefix/etc/config.site 1562else 1563 ac_site_file1=$ac_default_prefix/share/config.site 1564 ac_site_file2=$ac_default_prefix/etc/config.site 1565fi 1566for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1567do 1568 test "x$ac_site_file" = xNONE && continue 1569 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1570 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1571$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1572 sed 's/^/| /' "$ac_site_file" >&5 1573 . "$ac_site_file" \ 1574 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1575$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1576as_fn_error $? "failed to load site script $ac_site_file 1577See \`config.log' for more details" "$LINENO" 5; } 1578 fi 1579done 1580 1581if test -r "$cache_file"; then 1582 # Some versions of bash will fail to source /dev/null (special files 1583 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1584 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1585 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1586$as_echo "$as_me: loading cache $cache_file" >&6;} 1587 case $cache_file in 1588 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1589 *) . "./$cache_file";; 1590 esac 1591 fi 1592else 1593 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1594$as_echo "$as_me: creating cache $cache_file" >&6;} 1595 >$cache_file 1596fi 1597 1598# Check that the precious variables saved in the cache have kept the same 1599# value. 1600ac_cache_corrupted=false 1601for ac_var in $ac_precious_vars; do 1602 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1603 eval ac_new_set=\$ac_env_${ac_var}_set 1604 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1605 eval ac_new_val=\$ac_env_${ac_var}_value 1606 case $ac_old_set,$ac_new_set in 1607 set,) 1608 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1609$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1610 ac_cache_corrupted=: ;; 1611 ,set) 1612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1613$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1614 ac_cache_corrupted=: ;; 1615 ,);; 1616 *) 1617 if test "x$ac_old_val" != "x$ac_new_val"; then 1618 # differences in whitespace do not lead to failure. 1619 ac_old_val_w=`echo x $ac_old_val` 1620 ac_new_val_w=`echo x $ac_new_val` 1621 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1622 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1623$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1624 ac_cache_corrupted=: 1625 else 1626 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1627$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1628 eval $ac_var=\$ac_old_val 1629 fi 1630 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1631$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1632 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1633$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1634 fi;; 1635 esac 1636 # Pass precious variables to config.status. 1637 if test "$ac_new_set" = set; then 1638 case $ac_new_val in 1639 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1640 *) ac_arg=$ac_var=$ac_new_val ;; 1641 esac 1642 case " $ac_configure_args " in 1643 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1644 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1645 esac 1646 fi 1647done 1648if $ac_cache_corrupted; then 1649 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1650$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1652$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1653 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1654fi 1655## -------------------- ## 1656## Main body of script. ## 1657## -------------------- ## 1658 1659ac_ext=c 1660ac_cpp='$CPP $CPPFLAGS' 1661ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1662ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1663ac_compiler_gnu=$ac_cv_c_compiler_gnu 1664 1665 1666ac_aux_dir= 1667for ac_dir in build-aux "$srcdir"/build-aux; do 1668 if test -f "$ac_dir/install-sh"; then 1669 ac_aux_dir=$ac_dir 1670 ac_install_sh="$ac_aux_dir/install-sh -c" 1671 break 1672 elif test -f "$ac_dir/install.sh"; then 1673 ac_aux_dir=$ac_dir 1674 ac_install_sh="$ac_aux_dir/install.sh -c" 1675 break 1676 elif test -f "$ac_dir/shtool"; then 1677 ac_aux_dir=$ac_dir 1678 ac_install_sh="$ac_aux_dir/shtool install -c" 1679 break 1680 fi 1681done 1682if test -z "$ac_aux_dir"; then 1683 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 1684fi 1685 1686# These three variables are undocumented and unsupported, 1687# and are intended to be withdrawn in a future Autoconf release. 1688# They can cause serious problems if a builder's source tree is in a directory 1689# whose full name contains unusual characters. 1690ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1691ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1692ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1693 1694 1695 1696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1697$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 1698set x ${MAKE-make} 1699ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 1700if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 1701 $as_echo_n "(cached) " >&6 1702else 1703 cat >conftest.make <<\_ACEOF 1704SHELL = /bin/sh 1705all: 1706 @echo '@@@%%%=$(MAKE)=@@@%%%' 1707_ACEOF 1708# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 1709case `${MAKE-make} -f conftest.make 2>/dev/null` in 1710 *@@@%%%=?*=@@@%%%*) 1711 eval ac_cv_prog_make_${ac_make}_set=yes;; 1712 *) 1713 eval ac_cv_prog_make_${ac_make}_set=no;; 1714esac 1715rm -f conftest.make 1716fi 1717if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1719$as_echo "yes" >&6; } 1720 SET_MAKE= 1721else 1722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1723$as_echo "no" >&6; } 1724 SET_MAKE="MAKE=${MAKE-make}" 1725fi 1726 1727 1728 1729 1730 1731 1732subdirs="$subdirs lib src tests doc" 1733 1734 1735extrasub="$extrasub"' 1736/@subdir@/{ 1737h 1738g 1739s/@subdir@/lib/ 1740p 1741g 1742s/@subdir@/src/ 1743p 1744g 1745s/@subdir@/tests/ 1746p 1747g 1748s/@subdir@/doc/ 1749p 1750d 1751} 1752' 1753ac_config_files="$ac_config_files Makefile" 1754 1755cat >confcache <<\_ACEOF 1756# This file is a shell script that caches the results of configure 1757# tests run on this system so they can be shared between configure 1758# scripts and configure runs, see configure's option --config-cache. 1759# It is not useful on other systems. If it contains results you don't 1760# want to keep, you may remove or edit it. 1761# 1762# config.status only pays attention to the cache file if you give it 1763# the --recheck option to rerun configure. 1764# 1765# `ac_cv_env_foo' variables (set or unset) will be overridden when 1766# loading this file, other *unset* `ac_cv_foo' will be assigned the 1767# following values. 1768 1769_ACEOF 1770 1771# The following way of writing the cache mishandles newlines in values, 1772# but we know of no workaround that is simple, portable, and efficient. 1773# So, we kill variables containing newlines. 1774# Ultrix sh set writes to stderr and can't be redirected directly, 1775# and sets the high bit in the cache file unless we assign to the vars. 1776( 1777 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 1778 eval ac_val=\$$ac_var 1779 case $ac_val in #( 1780 *${as_nl}*) 1781 case $ac_var in #( 1782 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1783$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1784 esac 1785 case $ac_var in #( 1786 _ | IFS | as_nl) ;; #( 1787 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1788 *) { eval $ac_var=; unset $ac_var;} ;; 1789 esac ;; 1790 esac 1791 done 1792 1793 (set) 2>&1 | 1794 case $as_nl`(ac_space=' '; set) 2>&1` in #( 1795 *${as_nl}ac_space=\ *) 1796 # `set' does not quote correctly, so add quotes: double-quote 1797 # substitution turns \\\\ into \\, and sed turns \\ into \. 1798 sed -n \ 1799 "s/'/'\\\\''/g; 1800 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 1801 ;; #( 1802 *) 1803 # `set' quotes correctly as required by POSIX, so do not add quotes. 1804 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1805 ;; 1806 esac | 1807 sort 1808) | 1809 sed ' 1810 /^ac_cv_env_/b end 1811 t clear 1812 :clear 1813 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 1814 t end 1815 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 1816 :end' >>confcache 1817if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 1818 if test -w "$cache_file"; then 1819 if test "x$cache_file" != "x/dev/null"; then 1820 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 1821$as_echo "$as_me: updating cache $cache_file" >&6;} 1822 if test ! -f "$cache_file" || test -h "$cache_file"; then 1823 cat confcache >"$cache_file" 1824 else 1825 case $cache_file in #( 1826 */* | ?:*) 1827 mv -f confcache "$cache_file"$$ && 1828 mv -f "$cache_file"$$ "$cache_file" ;; #( 1829 *) 1830 mv -f confcache "$cache_file" ;; 1831 esac 1832 fi 1833 fi 1834 else 1835 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 1836$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 1837 fi 1838fi 1839rm -f confcache 1840 1841test "x$prefix" = xNONE && prefix=$ac_default_prefix 1842# Let make expand exec_prefix. 1843test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1844 1845# Transform confdefs.h into DEFS. 1846# Protect against shell expansion while executing Makefile rules. 1847# Protect against Makefile macro expansion. 1848# 1849# If the first sed substitution is executed (which looks for macros that 1850# take arguments), then branch to the quote section. Otherwise, 1851# look for a macro that doesn't take arguments. 1852ac_script=' 1853:mline 1854/\\$/{ 1855 N 1856 s,\\\n,, 1857 b mline 1858} 1859t clear 1860:clear 1861s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 1862t quote 1863s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 1864t quote 1865b any 1866:quote 1867s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 1868s/\[/\\&/g 1869s/\]/\\&/g 1870s/\$/$$/g 1871H 1872:any 1873${ 1874 g 1875 s/^\n// 1876 s/\n/ /g 1877 p 1878} 1879' 1880DEFS=`sed -n "$ac_script" confdefs.h` 1881 1882 1883ac_libobjs= 1884ac_ltlibobjs= 1885U= 1886for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 1887 # 1. Remove the extension, and $U if already installed. 1888 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 1889 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 1890 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 1891 # will be set to the directory where LIBOBJS objects are built. 1892 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 1893 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 1894done 1895LIBOBJS=$ac_libobjs 1896 1897LTLIBOBJS=$ac_ltlibobjs 1898 1899 1900 1901: "${CONFIG_STATUS=./config.status}" 1902ac_write_fail=0 1903ac_clean_files_save=$ac_clean_files 1904ac_clean_files="$ac_clean_files $CONFIG_STATUS" 1905{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 1906$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 1907as_write_fail=0 1908cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 1909#! $SHELL 1910# Generated by $as_me. 1911# Run this file to recreate the current configuration. 1912# Compiler output produced by configure, useful for debugging 1913# configure, is in config.log if it exists. 1914 1915debug=false 1916ac_cs_recheck=false 1917ac_cs_silent=false 1918 1919SHELL=\${CONFIG_SHELL-$SHELL} 1920export SHELL 1921_ASEOF 1922cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 1923## -------------------- ## 1924## M4sh Initialization. ## 1925## -------------------- ## 1926 1927# Be more Bourne compatible 1928DUALCASE=1; export DUALCASE # for MKS sh 1929if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 1930 emulate sh 1931 NULLCMD=: 1932 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 1933 # is contrary to our usage. Disable this feature. 1934 alias -g '${1+"$@"}'='"$@"' 1935 setopt NO_GLOB_SUBST 1936else 1937 case `(set -o) 2>/dev/null` in #( 1938 *posix*) : 1939 set -o posix ;; #( 1940 *) : 1941 ;; 1942esac 1943fi 1944 1945 1946as_nl=' 1947' 1948export as_nl 1949# Printing a long string crashes Solaris 7 /usr/bin/printf. 1950as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 1951as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 1952as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 1953# Prefer a ksh shell builtin over an external printf program on Solaris, 1954# but without wasting forks for bash or zsh. 1955if test -z "$BASH_VERSION$ZSH_VERSION" \ 1956 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 1957 as_echo='print -r --' 1958 as_echo_n='print -rn --' 1959elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 1960 as_echo='printf %s\n' 1961 as_echo_n='printf %s' 1962else 1963 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 1964 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 1965 as_echo_n='/usr/ucb/echo -n' 1966 else 1967 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 1968 as_echo_n_body='eval 1969 arg=$1; 1970 case $arg in #( 1971 *"$as_nl"*) 1972 expr "X$arg" : "X\\(.*\\)$as_nl"; 1973 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 1974 esac; 1975 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 1976 ' 1977 export as_echo_n_body 1978 as_echo_n='sh -c $as_echo_n_body as_echo' 1979 fi 1980 export as_echo_body 1981 as_echo='sh -c $as_echo_body as_echo' 1982fi 1983 1984# The user is always right. 1985if test "${PATH_SEPARATOR+set}" != set; then 1986 PATH_SEPARATOR=: 1987 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 1988 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 1989 PATH_SEPARATOR=';' 1990 } 1991fi 1992 1993 1994# IFS 1995# We need space, tab and new line, in precisely that order. Quoting is 1996# there to prevent editors from complaining about space-tab. 1997# (If _AS_PATH_WALK were called with IFS unset, it would disable word 1998# splitting by setting IFS to empty value.) 1999IFS=" "" $as_nl" 2000 2001# Find who we are. Look in the path if we contain no directory separator. 2002as_myself= 2003case $0 in #(( 2004 *[\\/]* ) as_myself=$0 ;; 2005 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2006for as_dir in $PATH 2007do 2008 IFS=$as_save_IFS 2009 test -z "$as_dir" && as_dir=. 2010 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 2011 done 2012IFS=$as_save_IFS 2013 2014 ;; 2015esac 2016# We did not find ourselves, most probably we were run as `sh COMMAND' 2017# in which case we are not to be found in the path. 2018if test "x$as_myself" = x; then 2019 as_myself=$0 2020fi 2021if test ! -f "$as_myself"; then 2022 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 2023 exit 1 2024fi 2025 2026# Unset variables that we do not need and which cause bugs (e.g. in 2027# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 2028# suppresses any "Segmentation fault" message there. '((' could 2029# trigger a bug in pdksh 5.2.14. 2030for as_var in BASH_ENV ENV MAIL MAILPATH 2031do eval test x\${$as_var+set} = xset \ 2032 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 2033done 2034PS1='$ ' 2035PS2='> ' 2036PS4='+ ' 2037 2038# NLS nuisances. 2039LC_ALL=C 2040export LC_ALL 2041LANGUAGE=C 2042export LANGUAGE 2043 2044# CDPATH. 2045(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 2046 2047 2048# as_fn_error STATUS ERROR [LINENO LOG_FD] 2049# ---------------------------------------- 2050# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 2051# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 2052# script with STATUS, using 1 if that was 0. 2053as_fn_error () 2054{ 2055 as_status=$1; test $as_status -eq 0 && as_status=1 2056 if test "$4"; then 2057 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2058 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 2059 fi 2060 $as_echo "$as_me: error: $2" >&2 2061 as_fn_exit $as_status 2062} # as_fn_error 2063 2064 2065# as_fn_set_status STATUS 2066# ----------------------- 2067# Set $? to STATUS, without forking. 2068as_fn_set_status () 2069{ 2070 return $1 2071} # as_fn_set_status 2072 2073# as_fn_exit STATUS 2074# ----------------- 2075# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2076as_fn_exit () 2077{ 2078 set +e 2079 as_fn_set_status $1 2080 exit $1 2081} # as_fn_exit 2082 2083# as_fn_unset VAR 2084# --------------- 2085# Portably unset VAR. 2086as_fn_unset () 2087{ 2088 { eval $1=; unset $1;} 2089} 2090as_unset=as_fn_unset 2091# as_fn_append VAR VALUE 2092# ---------------------- 2093# Append the text in VALUE to the end of the definition contained in VAR. Take 2094# advantage of any shell optimizations that allow amortized linear growth over 2095# repeated appends, instead of the typical quadratic growth present in naive 2096# implementations. 2097if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 2098 eval 'as_fn_append () 2099 { 2100 eval $1+=\$2 2101 }' 2102else 2103 as_fn_append () 2104 { 2105 eval $1=\$$1\$2 2106 } 2107fi # as_fn_append 2108 2109# as_fn_arith ARG... 2110# ------------------ 2111# Perform arithmetic evaluation on the ARGs, and store the result in the 2112# global $as_val. Take advantage of shells that can avoid forks. The arguments 2113# must be portable across $(()) and expr. 2114if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 2115 eval 'as_fn_arith () 2116 { 2117 as_val=$(( $* )) 2118 }' 2119else 2120 as_fn_arith () 2121 { 2122 as_val=`expr "$@" || test $? -eq 1` 2123 } 2124fi # as_fn_arith 2125 2126 2127if expr a : '\(a\)' >/dev/null 2>&1 && 2128 test "X`expr 00001 : '.*\(...\)'`" = X001; then 2129 as_expr=expr 2130else 2131 as_expr=false 2132fi 2133 2134if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 2135 as_basename=basename 2136else 2137 as_basename=false 2138fi 2139 2140if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 2141 as_dirname=dirname 2142else 2143 as_dirname=false 2144fi 2145 2146as_me=`$as_basename -- "$0" || 2147$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 2148 X"$0" : 'X\(//\)$' \| \ 2149 X"$0" : 'X\(/\)' \| . 2>/dev/null || 2150$as_echo X/"$0" | 2151 sed '/^.*\/\([^/][^/]*\)\/*$/{ 2152 s//\1/ 2153 q 2154 } 2155 /^X\/\(\/\/\)$/{ 2156 s//\1/ 2157 q 2158 } 2159 /^X\/\(\/\).*/{ 2160 s//\1/ 2161 q 2162 } 2163 s/.*/./; q'` 2164 2165# Avoid depending upon Character Ranges. 2166as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2167as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2168as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2169as_cr_digits='0123456789' 2170as_cr_alnum=$as_cr_Letters$as_cr_digits 2171 2172ECHO_C= ECHO_N= ECHO_T= 2173case `echo -n x` in #((((( 2174-n*) 2175 case `echo 'xy\c'` in 2176 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 2177 xy) ECHO_C='\c';; 2178 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 2179 ECHO_T=' ';; 2180 esac;; 2181*) 2182 ECHO_N='-n';; 2183esac 2184 2185rm -f conf$$ conf$$.exe conf$$.file 2186if test -d conf$$.dir; then 2187 rm -f conf$$.dir/conf$$.file 2188else 2189 rm -f conf$$.dir 2190 mkdir conf$$.dir 2>/dev/null 2191fi 2192if (echo >conf$$.file) 2>/dev/null; then 2193 if ln -s conf$$.file conf$$ 2>/dev/null; then 2194 as_ln_s='ln -s' 2195 # ... but there are two gotchas: 2196 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 2197 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 2198 # In both cases, we have to default to `cp -pR'. 2199 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 2200 as_ln_s='cp -pR' 2201 elif ln conf$$.file conf$$ 2>/dev/null; then 2202 as_ln_s=ln 2203 else 2204 as_ln_s='cp -pR' 2205 fi 2206else 2207 as_ln_s='cp -pR' 2208fi 2209rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 2210rmdir conf$$.dir 2>/dev/null 2211 2212 2213# as_fn_mkdir_p 2214# ------------- 2215# Create "$as_dir" as a directory, including parents if necessary. 2216as_fn_mkdir_p () 2217{ 2218 2219 case $as_dir in #( 2220 -*) as_dir=./$as_dir;; 2221 esac 2222 test -d "$as_dir" || eval $as_mkdir_p || { 2223 as_dirs= 2224 while :; do 2225 case $as_dir in #( 2226 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 2227 *) as_qdir=$as_dir;; 2228 esac 2229 as_dirs="'$as_qdir' $as_dirs" 2230 as_dir=`$as_dirname -- "$as_dir" || 2231$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2232 X"$as_dir" : 'X\(//\)[^/]' \| \ 2233 X"$as_dir" : 'X\(//\)$' \| \ 2234 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 2235$as_echo X"$as_dir" | 2236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 2237 s//\1/ 2238 q 2239 } 2240 /^X\(\/\/\)[^/].*/{ 2241 s//\1/ 2242 q 2243 } 2244 /^X\(\/\/\)$/{ 2245 s//\1/ 2246 q 2247 } 2248 /^X\(\/\).*/{ 2249 s//\1/ 2250 q 2251 } 2252 s/.*/./; q'` 2253 test -d "$as_dir" && break 2254 done 2255 test -z "$as_dirs" || eval "mkdir $as_dirs" 2256 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 2257 2258 2259} # as_fn_mkdir_p 2260if mkdir -p . 2>/dev/null; then 2261 as_mkdir_p='mkdir -p "$as_dir"' 2262else 2263 test -d ./-p && rmdir ./-p 2264 as_mkdir_p=false 2265fi 2266 2267 2268# as_fn_executable_p FILE 2269# ----------------------- 2270# Test if FILE is an executable regular file. 2271as_fn_executable_p () 2272{ 2273 test -f "$1" && test -x "$1" 2274} # as_fn_executable_p 2275as_test_x='test -x' 2276as_executable_p=as_fn_executable_p 2277 2278# Sed expression to map a string onto a valid CPP name. 2279as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2280 2281# Sed expression to map a string onto a valid variable name. 2282as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2283 2284 2285exec 6>&1 2286## ----------------------------------- ## 2287## Main body of $CONFIG_STATUS script. ## 2288## ----------------------------------- ## 2289_ASEOF 2290test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 2291 2292cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2293# Save the log message, to keep $0 and so on meaningful, and to 2294# report actual input values of CONFIG_FILES etc. instead of their 2295# values after options handling. 2296ac_log=" 2297This file was extended by $as_me, which was 2298generated by GNU Autoconf 2.69. Invocation command line was 2299 2300 CONFIG_FILES = $CONFIG_FILES 2301 CONFIG_HEADERS = $CONFIG_HEADERS 2302 CONFIG_LINKS = $CONFIG_LINKS 2303 CONFIG_COMMANDS = $CONFIG_COMMANDS 2304 $ $0 $@ 2305 2306on `(hostname || uname -n) 2>/dev/null | sed 1q` 2307" 2308 2309_ACEOF 2310 2311case $ac_config_files in *" 2312"*) set x $ac_config_files; shift; ac_config_files=$*;; 2313esac 2314 2315 2316 2317cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2318# Files that config.status was made for. 2319config_files="$ac_config_files" 2320 2321_ACEOF 2322 2323cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2324ac_cs_usage="\ 2325\`$as_me' instantiates files and other configuration actions 2326from templates according to the current configuration. Unless the files 2327and actions are specified as TAGs, all are instantiated by default. 2328 2329Usage: $0 [OPTION]... [TAG]... 2330 2331 -h, --help print this help, then exit 2332 -V, --version print version number and configuration settings, then exit 2333 --config print configuration, then exit 2334 -q, --quiet, --silent 2335 do not print progress messages 2336 -d, --debug don't remove temporary files 2337 --recheck update $as_me by reconfiguring in the same conditions 2338 --file=FILE[:TEMPLATE] 2339 instantiate the configuration file FILE 2340 2341Configuration files: 2342$config_files 2343 2344Report bugs to the package provider." 2345 2346_ACEOF 2347cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2348ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 2349ac_cs_version="\\ 2350config.status 2351configured by $0, generated by GNU Autoconf 2.69, 2352 with options \\"\$ac_cs_config\\" 2353 2354Copyright (C) 2012 Free Software Foundation, Inc. 2355This config.status script is free software; the Free Software Foundation 2356gives unlimited permission to copy, distribute and modify it." 2357 2358ac_pwd='$ac_pwd' 2359srcdir='$srcdir' 2360test -n "\$AWK" || AWK=awk 2361_ACEOF 2362 2363cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2364# The default lists apply if the user does not specify any file. 2365ac_need_defaults=: 2366while test $# != 0 2367do 2368 case $1 in 2369 --*=?*) 2370 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2371 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 2372 ac_shift=: 2373 ;; 2374 --*=) 2375 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2376 ac_optarg= 2377 ac_shift=: 2378 ;; 2379 *) 2380 ac_option=$1 2381 ac_optarg=$2 2382 ac_shift=shift 2383 ;; 2384 esac 2385 2386 case $ac_option in 2387 # Handling of the options. 2388 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2389 ac_cs_recheck=: ;; 2390 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 2391 $as_echo "$ac_cs_version"; exit ;; 2392 --config | --confi | --conf | --con | --co | --c ) 2393 $as_echo "$ac_cs_config"; exit ;; 2394 --debug | --debu | --deb | --de | --d | -d ) 2395 debug=: ;; 2396 --file | --fil | --fi | --f ) 2397 $ac_shift 2398 case $ac_optarg in 2399 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 2400 '') as_fn_error $? "missing file argument" ;; 2401 esac 2402 as_fn_append CONFIG_FILES " '$ac_optarg'" 2403 ac_need_defaults=false;; 2404 --he | --h | --help | --hel | -h ) 2405 $as_echo "$ac_cs_usage"; exit ;; 2406 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2407 | -silent | --silent | --silen | --sile | --sil | --si | --s) 2408 ac_cs_silent=: ;; 2409 2410 # This is an error. 2411 -*) as_fn_error $? "unrecognized option: \`$1' 2412Try \`$0 --help' for more information." ;; 2413 2414 *) as_fn_append ac_config_targets " $1" 2415 ac_need_defaults=false ;; 2416 2417 esac 2418 shift 2419done 2420 2421ac_configure_extra_args= 2422 2423if $ac_cs_silent; then 2424 exec 6>/dev/null 2425 ac_configure_extra_args="$ac_configure_extra_args --silent" 2426fi 2427 2428_ACEOF 2429cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2430if \$ac_cs_recheck; then 2431 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 2432 shift 2433 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 2434 CONFIG_SHELL='$SHELL' 2435 export CONFIG_SHELL 2436 exec "\$@" 2437fi 2438 2439_ACEOF 2440cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2441exec 5>>config.log 2442{ 2443 echo 2444 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 2445## Running $as_me. ## 2446_ASBOX 2447 $as_echo "$ac_log" 2448} >&5 2449 2450_ACEOF 2451cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2452_ACEOF 2453 2454cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2455 2456# Handling of arguments. 2457for ac_config_target in $ac_config_targets 2458do 2459 case $ac_config_target in 2460 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 2461 2462 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 2463 esac 2464done 2465 2466 2467# If the user did not use the arguments to specify the items to instantiate, 2468# then the envvar interface is used. Set only those that are not. 2469# We use the long form for the default assignment because of an extremely 2470# bizarre bug on SunOS 4.1.3. 2471if $ac_need_defaults; then 2472 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 2473fi 2474 2475# Have a temporary directory for convenience. Make it in the build tree 2476# simply because there is no reason against having it here, and in addition, 2477# creating and moving files from /tmp can sometimes cause problems. 2478# Hook for its removal unless debugging. 2479# Note that there is a small window in which the directory will not be cleaned: 2480# after its creation but before its name has been assigned to `$tmp'. 2481$debug || 2482{ 2483 tmp= ac_tmp= 2484 trap 'exit_status=$? 2485 : "${ac_tmp:=$tmp}" 2486 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 2487' 0 2488 trap 'as_fn_exit 1' 1 2 13 15 2489} 2490# Create a (secure) tmp directory for tmp files. 2491 2492{ 2493 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 2494 test -d "$tmp" 2495} || 2496{ 2497 tmp=./conf$$-$RANDOM 2498 (umask 077 && mkdir "$tmp") 2499} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 2500ac_tmp=$tmp 2501 2502# Set up the scripts for CONFIG_FILES section. 2503# No need to generate them if there are no CONFIG_FILES. 2504# This happens for instance with `./config.status config.h'. 2505if test -n "$CONFIG_FILES"; then 2506 2507 2508ac_cr=`echo X | tr X '\015'` 2509# On cygwin, bash can eat \r inside `` if the user requested igncr. 2510# But we know of no other shell where ac_cr would be empty at this 2511# point, so we can use a bashism as a fallback. 2512if test "x$ac_cr" = x; then 2513 eval ac_cr=\$\'\\r\' 2514fi 2515ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 2516if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 2517 ac_cs_awk_cr='\\r' 2518else 2519 ac_cs_awk_cr=$ac_cr 2520fi 2521 2522echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 2523_ACEOF 2524 2525 2526{ 2527 echo "cat >conf$$subs.awk <<_ACEOF" && 2528 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 2529 echo "_ACEOF" 2530} >conf$$subs.sh || 2531 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 2532ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 2533ac_delim='%!_!# ' 2534for ac_last_try in false false false false false :; do 2535 . ./conf$$subs.sh || 2536 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 2537 2538 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 2539 if test $ac_delim_n = $ac_delim_num; then 2540 break 2541 elif $ac_last_try; then 2542 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 2543 else 2544 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 2545 fi 2546done 2547rm -f conf$$subs.sh 2548 2549cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2550cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 2551_ACEOF 2552sed -n ' 2553h 2554s/^/S["/; s/!.*/"]=/ 2555p 2556g 2557s/^[^!]*!// 2558:repl 2559t repl 2560s/'"$ac_delim"'$// 2561t delim 2562:nl 2563h 2564s/\(.\{148\}\)..*/\1/ 2565t more1 2566s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 2567p 2568n 2569b repl 2570:more1 2571s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 2572p 2573g 2574s/.\{148\}// 2575t nl 2576:delim 2577h 2578s/\(.\{148\}\)..*/\1/ 2579t more2 2580s/["\\]/\\&/g; s/^/"/; s/$/"/ 2581p 2582b 2583:more2 2584s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 2585p 2586g 2587s/.\{148\}// 2588t delim 2589' <conf$$subs.awk | sed ' 2590/^[^""]/{ 2591 N 2592 s/\n// 2593} 2594' >>$CONFIG_STATUS || ac_write_fail=1 2595rm -f conf$$subs.awk 2596cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2597_ACAWK 2598cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 2599 for (key in S) S_is_set[key] = 1 2600 FS = "" 2601 2602} 2603{ 2604 line = $ 0 2605 nfields = split(line, field, "@") 2606 substed = 0 2607 len = length(field[1]) 2608 for (i = 2; i < nfields; i++) { 2609 key = field[i] 2610 keylen = length(key) 2611 if (S_is_set[key]) { 2612 value = S[key] 2613 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 2614 len += length(value) + length(field[++i]) 2615 substed = 1 2616 } else 2617 len += 1 + keylen 2618 } 2619 2620 print line 2621} 2622 2623_ACAWK 2624_ACEOF 2625cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2626if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 2627 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 2628else 2629 cat 2630fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 2631 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 2632_ACEOF 2633 2634# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 2635# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 2636# trailing colons and then remove the whole line if VPATH becomes empty 2637# (actually we leave an empty line to preserve line numbers). 2638if test "x$srcdir" = x.; then 2639 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 2640h 2641s/// 2642s/^/:/ 2643s/[ ]*$/:/ 2644s/:\$(srcdir):/:/g 2645s/:\${srcdir}:/:/g 2646s/:@srcdir@:/:/g 2647s/^:*// 2648s/:*$// 2649x 2650s/\(=[ ]*\).*/\1/ 2651G 2652s/\n// 2653s/^[^=]*=[ ]*$// 2654}' 2655fi 2656 2657cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2658fi # test -n "$CONFIG_FILES" 2659 2660 2661eval set X " :F $CONFIG_FILES " 2662shift 2663for ac_tag 2664do 2665 case $ac_tag in 2666 :[FHLC]) ac_mode=$ac_tag; continue;; 2667 esac 2668 case $ac_mode$ac_tag in 2669 :[FHL]*:*);; 2670 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 2671 :[FH]-) ac_tag=-:-;; 2672 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 2673 esac 2674 ac_save_IFS=$IFS 2675 IFS=: 2676 set x $ac_tag 2677 IFS=$ac_save_IFS 2678 shift 2679 ac_file=$1 2680 shift 2681 2682 case $ac_mode in 2683 :L) ac_source=$1;; 2684 :[FH]) 2685 ac_file_inputs= 2686 for ac_f 2687 do 2688 case $ac_f in 2689 -) ac_f="$ac_tmp/stdin";; 2690 *) # Look for the file first in the build tree, then in the source tree 2691 # (if the path is not absolute). The absolute path cannot be DOS-style, 2692 # because $ac_f cannot contain `:'. 2693 test -f "$ac_f" || 2694 case $ac_f in 2695 [\\/$]*) false;; 2696 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 2697 esac || 2698 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 2699 esac 2700 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 2701 as_fn_append ac_file_inputs " '$ac_f'" 2702 done 2703 2704 # Let's still pretend it is `configure' which instantiates (i.e., don't 2705 # use $as_me), people would be surprised to read: 2706 # /* config.h. Generated by config.status. */ 2707 configure_input='Generated from '` 2708 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 2709 `' by configure.' 2710 if test x"$ac_file" != x-; then 2711 configure_input="$ac_file. $configure_input" 2712 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 2713$as_echo "$as_me: creating $ac_file" >&6;} 2714 fi 2715 # Neutralize special characters interpreted by sed in replacement strings. 2716 case $configure_input in #( 2717 *\&* | *\|* | *\\* ) 2718 ac_sed_conf_input=`$as_echo "$configure_input" | 2719 sed 's/[\\\\&|]/\\\\&/g'`;; #( 2720 *) ac_sed_conf_input=$configure_input;; 2721 esac 2722 2723 case $ac_tag in 2724 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 2725 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 2726 esac 2727 ;; 2728 esac 2729 2730 ac_dir=`$as_dirname -- "$ac_file" || 2731$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2732 X"$ac_file" : 'X\(//\)[^/]' \| \ 2733 X"$ac_file" : 'X\(//\)$' \| \ 2734 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 2735$as_echo X"$ac_file" | 2736 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 2737 s//\1/ 2738 q 2739 } 2740 /^X\(\/\/\)[^/].*/{ 2741 s//\1/ 2742 q 2743 } 2744 /^X\(\/\/\)$/{ 2745 s//\1/ 2746 q 2747 } 2748 /^X\(\/\).*/{ 2749 s//\1/ 2750 q 2751 } 2752 s/.*/./; q'` 2753 as_dir="$ac_dir"; as_fn_mkdir_p 2754 ac_builddir=. 2755 2756case "$ac_dir" in 2757.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 2758*) 2759 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 2760 # A ".." for each directory in $ac_dir_suffix. 2761 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 2762 case $ac_top_builddir_sub in 2763 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 2764 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 2765 esac ;; 2766esac 2767ac_abs_top_builddir=$ac_pwd 2768ac_abs_builddir=$ac_pwd$ac_dir_suffix 2769# for backward compatibility: 2770ac_top_builddir=$ac_top_build_prefix 2771 2772case $srcdir in 2773 .) # We are building in place. 2774 ac_srcdir=. 2775 ac_top_srcdir=$ac_top_builddir_sub 2776 ac_abs_top_srcdir=$ac_pwd ;; 2777 [\\/]* | ?:[\\/]* ) # Absolute name. 2778 ac_srcdir=$srcdir$ac_dir_suffix; 2779 ac_top_srcdir=$srcdir 2780 ac_abs_top_srcdir=$srcdir ;; 2781 *) # Relative name. 2782 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 2783 ac_top_srcdir=$ac_top_build_prefix$srcdir 2784 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 2785esac 2786ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 2787 2788 2789 case $ac_mode in 2790 :F) 2791 # 2792 # CONFIG_FILE 2793 # 2794 2795_ACEOF 2796 2797cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2798# If the template does not know about datarootdir, expand it. 2799# FIXME: This hack should be removed a few years after 2.60. 2800ac_datarootdir_hack=; ac_datarootdir_seen= 2801ac_sed_dataroot=' 2802/datarootdir/ { 2803 p 2804 q 2805} 2806/@datadir@/p 2807/@docdir@/p 2808/@infodir@/p 2809/@localedir@/p 2810/@mandir@/p' 2811case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 2812*datarootdir*) ac_datarootdir_seen=yes;; 2813*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 2814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 2815$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 2816_ACEOF 2817cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2818 ac_datarootdir_hack=' 2819 s&@datadir@&$datadir&g 2820 s&@docdir@&$docdir&g 2821 s&@infodir@&$infodir&g 2822 s&@localedir@&$localedir&g 2823 s&@mandir@&$mandir&g 2824 s&\\\${datarootdir}&$datarootdir&g' ;; 2825esac 2826_ACEOF 2827 2828# Neutralize VPATH when `$srcdir' = `.'. 2829# Shell code in configure.ac might set extrasub. 2830# FIXME: do we really want to maintain this feature? 2831cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2832ac_sed_extra="$ac_vpsub 2833$extrasub 2834_ACEOF 2835cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2836:t 2837/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 2838s|@configure_input@|$ac_sed_conf_input|;t t 2839s&@top_builddir@&$ac_top_builddir_sub&;t t 2840s&@top_build_prefix@&$ac_top_build_prefix&;t t 2841s&@srcdir@&$ac_srcdir&;t t 2842s&@abs_srcdir@&$ac_abs_srcdir&;t t 2843s&@top_srcdir@&$ac_top_srcdir&;t t 2844s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 2845s&@builddir@&$ac_builddir&;t t 2846s&@abs_builddir@&$ac_abs_builddir&;t t 2847s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 2848$ac_datarootdir_hack 2849" 2850eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 2851 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 2852 2853test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 2854 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 2855 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 2856 "$ac_tmp/out"`; test -z "$ac_out"; } && 2857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 2858which seems to be undefined. Please make sure it is defined" >&5 2859$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 2860which seems to be undefined. Please make sure it is defined" >&2;} 2861 2862 rm -f "$ac_tmp/stdin" 2863 case $ac_file in 2864 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 2865 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 2866 esac \ 2867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 2868 ;; 2869 2870 2871 2872 esac 2873 2874done # for ac_tag 2875 2876 2877as_fn_exit 0 2878_ACEOF 2879ac_clean_files=$ac_clean_files_save 2880 2881test $ac_write_fail = 0 || 2882 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 2883 2884 2885# configure is writing to config.log, and then calls config.status. 2886# config.status does its own redirection, appending to config.log. 2887# Unfortunately, on DOS this fails, as config.log is still kept open 2888# by configure, so config.status won't be able to write to it; its 2889# output is simply discarded. So we exec the FD to /dev/null, 2890# effectively closing config.log, so it can be properly (re)opened and 2891# appended to by config.status. When coming back to configure, we 2892# need to make the FD available again. 2893if test "$no_create" != yes; then 2894 ac_cs_success=: 2895 ac_config_status_args= 2896 test "$silent" = yes && 2897 ac_config_status_args="$ac_config_status_args --quiet" 2898 exec 5>/dev/null 2899 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 2900 exec 5>>config.log 2901 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 2902 # would make configure fail if this is the last instruction. 2903 $ac_cs_success || as_fn_exit 1 2904fi 2905 2906# 2907# CONFIG_SUBDIRS section. 2908# 2909if test "$no_recursion" != yes; then 2910 2911 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 2912 # so they do not pile up. 2913 ac_sub_configure_args= 2914 ac_prev= 2915 eval "set x $ac_configure_args" 2916 shift 2917 for ac_arg 2918 do 2919 if test -n "$ac_prev"; then 2920 ac_prev= 2921 continue 2922 fi 2923 case $ac_arg in 2924 -cache-file | --cache-file | --cache-fil | --cache-fi \ 2925 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 2926 ac_prev=cache_file ;; 2927 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 2928 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 2929 | --c=*) 2930 ;; 2931 --config-cache | -C) 2932 ;; 2933 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 2934 ac_prev=srcdir ;; 2935 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 2936 ;; 2937 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 2938 ac_prev=prefix ;; 2939 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 2940 ;; 2941 --disable-option-checking) 2942 ;; 2943 *) 2944 case $ac_arg in 2945 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2946 esac 2947 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 2948 esac 2949 done 2950 2951 # Always prepend --prefix to ensure using the same prefix 2952 # in subdir configurations. 2953 ac_arg="--prefix=$prefix" 2954 case $ac_arg in 2955 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2956 esac 2957 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 2958 2959 # Pass --silent 2960 if test "$silent" = yes; then 2961 ac_sub_configure_args="--silent $ac_sub_configure_args" 2962 fi 2963 2964 # Always prepend --disable-option-checking to silence warnings, since 2965 # different subdirs can have different --enable and --with options. 2966 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 2967 2968 ac_popdir=`pwd` 2969 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 2970 2971 # Do not complain, so a configure script can configure whichever 2972 # parts of a large source tree are present. 2973 test -d "$srcdir/$ac_dir" || continue 2974 2975 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 2976 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 2977 $as_echo "$ac_msg" >&6 2978 as_dir="$ac_dir"; as_fn_mkdir_p 2979 ac_builddir=. 2980 2981case "$ac_dir" in 2982.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 2983*) 2984 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 2985 # A ".." for each directory in $ac_dir_suffix. 2986 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 2987 case $ac_top_builddir_sub in 2988 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 2989 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 2990 esac ;; 2991esac 2992ac_abs_top_builddir=$ac_pwd 2993ac_abs_builddir=$ac_pwd$ac_dir_suffix 2994# for backward compatibility: 2995ac_top_builddir=$ac_top_build_prefix 2996 2997case $srcdir in 2998 .) # We are building in place. 2999 ac_srcdir=. 3000 ac_top_srcdir=$ac_top_builddir_sub 3001 ac_abs_top_srcdir=$ac_pwd ;; 3002 [\\/]* | ?:[\\/]* ) # Absolute name. 3003 ac_srcdir=$srcdir$ac_dir_suffix; 3004 ac_top_srcdir=$srcdir 3005 ac_abs_top_srcdir=$srcdir ;; 3006 *) # Relative name. 3007 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 3008 ac_top_srcdir=$ac_top_build_prefix$srcdir 3009 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 3010esac 3011ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 3012 3013 3014 cd "$ac_dir" 3015 3016 # Check for guested configure; otherwise get Cygnus style configure. 3017 if test -f "$ac_srcdir/configure.gnu"; then 3018 ac_sub_configure=$ac_srcdir/configure.gnu 3019 elif test -f "$ac_srcdir/configure"; then 3020 ac_sub_configure=$ac_srcdir/configure 3021 elif test -f "$ac_srcdir/configure.in"; then 3022 # This should be Cygnus configure. 3023 ac_sub_configure=$ac_aux_dir/configure 3024 else 3025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 3026$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 3027 ac_sub_configure= 3028 fi 3029 3030 # The recursion is here. 3031 if test -n "$ac_sub_configure"; then 3032 # Make the cache file name correct relative to the subdirectory. 3033 case $cache_file in 3034 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 3035 *) # Relative name. 3036 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 3037 esac 3038 3039 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 3040$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 3041 # The eval makes quoting arguments work. 3042 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 3043 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 3044 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 3045 fi 3046 3047 cd "$ac_popdir" 3048 done 3049fi 3050if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 3051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 3052$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 3053fi 3054 3055