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