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