1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for mingw-w64 4.0b. 4# 5# Report bugs to <mingw-w64-public@lists.sourceforge.net>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software 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 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 201 if (eval "$as_required") 2>/dev/null; then : 202 as_have_required=yes 203else 204 as_have_required=no 205fi 206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 207 208else 209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 210as_found=false 211for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 212do 213 IFS=$as_save_IFS 214 test -z "$as_dir" && as_dir=. 215 as_found=: 216 case $as_dir in #( 217 /*) 218 for as_base in sh bash ksh sh5; do 219 # Try only shells that exist, to save several forks. 220 as_shell=$as_dir/$as_base 221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 223 CONFIG_SHELL=$as_shell as_have_required=yes 224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 225 break 2 226fi 227fi 228 done;; 229 esac 230 as_found=false 231done 232$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 234 CONFIG_SHELL=$SHELL as_have_required=yes 235fi; } 236IFS=$as_save_IFS 237 238 239 if test "x$CONFIG_SHELL" != x; then : 240 export CONFIG_SHELL 241 # We cannot yet assume a decent shell, so we have to provide a 242# neutralization value for shells without unset; and this also 243# works around shells that cannot unset nonexistent variables. 244# Preserve -v and -x to the replacement shell. 245BASH_ENV=/dev/null 246ENV=/dev/null 247(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 248case $- in # (((( 249 *v*x* | *x*v* ) as_opts=-vx ;; 250 *v* ) as_opts=-v ;; 251 *x* ) as_opts=-x ;; 252 * ) as_opts= ;; 253esac 254exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 255# Admittedly, this is quite paranoid, since all the known shells bail 256# out after a failed `exec'. 257$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 258exit 255 259fi 260 261 if test x$as_have_required = xno; then : 262 $as_echo "$0: This script requires a shell more modern than all" 263 $as_echo "$0: the shells that I found on your system." 264 if test x${ZSH_VERSION+set} = xset ; then 265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 266 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 267 else 268 $as_echo "$0: Please tell bug-autoconf@gnu.org and 269$0: mingw-w64-public@lists.sourceforge.net about your 270$0: system, including any error possibly output before this 271$0: message. Then install a modern shell, or manually run 272$0: the script under such a shell if you do have one." 273 fi 274 exit 1 275fi 276fi 277fi 278SHELL=${CONFIG_SHELL-/bin/sh} 279export SHELL 280# Unset more variables known to interfere with behavior of common tools. 281CLICOLOR_FORCE= GREP_OPTIONS= 282unset CLICOLOR_FORCE GREP_OPTIONS 283 284## --------------------- ## 285## M4sh Shell Functions. ## 286## --------------------- ## 287# as_fn_unset VAR 288# --------------- 289# Portably unset VAR. 290as_fn_unset () 291{ 292 { eval $1=; unset $1;} 293} 294as_unset=as_fn_unset 295 296# as_fn_set_status STATUS 297# ----------------------- 298# Set $? to STATUS, without forking. 299as_fn_set_status () 300{ 301 return $1 302} # as_fn_set_status 303 304# as_fn_exit STATUS 305# ----------------- 306# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 307as_fn_exit () 308{ 309 set +e 310 as_fn_set_status $1 311 exit $1 312} # as_fn_exit 313 314# as_fn_mkdir_p 315# ------------- 316# Create "$as_dir" as a directory, including parents if necessary. 317as_fn_mkdir_p () 318{ 319 320 case $as_dir in #( 321 -*) as_dir=./$as_dir;; 322 esac 323 test -d "$as_dir" || eval $as_mkdir_p || { 324 as_dirs= 325 while :; do 326 case $as_dir in #( 327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 328 *) as_qdir=$as_dir;; 329 esac 330 as_dirs="'$as_qdir' $as_dirs" 331 as_dir=`$as_dirname -- "$as_dir" || 332$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 333 X"$as_dir" : 'X\(//\)[^/]' \| \ 334 X"$as_dir" : 'X\(//\)$' \| \ 335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 336$as_echo X"$as_dir" | 337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 338 s//\1/ 339 q 340 } 341 /^X\(\/\/\)[^/].*/{ 342 s//\1/ 343 q 344 } 345 /^X\(\/\/\)$/{ 346 s//\1/ 347 q 348 } 349 /^X\(\/\).*/{ 350 s//\1/ 351 q 352 } 353 s/.*/./; q'` 354 test -d "$as_dir" && break 355 done 356 test -z "$as_dirs" || eval "mkdir $as_dirs" 357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 358 359 360} # as_fn_mkdir_p 361 362# as_fn_executable_p FILE 363# ----------------------- 364# Test if FILE is an executable regular file. 365as_fn_executable_p () 366{ 367 test -f "$1" && test -x "$1" 368} # as_fn_executable_p 369# as_fn_append VAR VALUE 370# ---------------------- 371# Append the text in VALUE to the end of the definition contained in VAR. Take 372# advantage of any shell optimizations that allow amortized linear growth over 373# repeated appends, instead of the typical quadratic growth present in naive 374# implementations. 375if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 376 eval 'as_fn_append () 377 { 378 eval $1+=\$2 379 }' 380else 381 as_fn_append () 382 { 383 eval $1=\$$1\$2 384 } 385fi # as_fn_append 386 387# as_fn_arith ARG... 388# ------------------ 389# Perform arithmetic evaluation on the ARGs, and store the result in the 390# global $as_val. Take advantage of shells that can avoid forks. The arguments 391# must be portable across $(()) and expr. 392if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 393 eval 'as_fn_arith () 394 { 395 as_val=$(( $* )) 396 }' 397else 398 as_fn_arith () 399 { 400 as_val=`expr "$@" || test $? -eq 1` 401 } 402fi # as_fn_arith 403 404 405# as_fn_error STATUS ERROR [LINENO LOG_FD] 406# ---------------------------------------- 407# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 408# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 409# script with STATUS, using 1 if that was 0. 410as_fn_error () 411{ 412 as_status=$1; test $as_status -eq 0 && as_status=1 413 if test "$4"; then 414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 416 fi 417 $as_echo "$as_me: error: $2" >&2 418 as_fn_exit $as_status 419} # as_fn_error 420 421if expr a : '\(a\)' >/dev/null 2>&1 && 422 test "X`expr 00001 : '.*\(...\)'`" = X001; then 423 as_expr=expr 424else 425 as_expr=false 426fi 427 428if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 429 as_basename=basename 430else 431 as_basename=false 432fi 433 434if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 435 as_dirname=dirname 436else 437 as_dirname=false 438fi 439 440as_me=`$as_basename -- "$0" || 441$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 442 X"$0" : 'X\(//\)$' \| \ 443 X"$0" : 'X\(/\)' \| . 2>/dev/null || 444$as_echo X/"$0" | 445 sed '/^.*\/\([^/][^/]*\)\/*$/{ 446 s//\1/ 447 q 448 } 449 /^X\/\(\/\/\)$/{ 450 s//\1/ 451 q 452 } 453 /^X\/\(\/\).*/{ 454 s//\1/ 455 q 456 } 457 s/.*/./; q'` 458 459# Avoid depending upon Character Ranges. 460as_cr_letters='abcdefghijklmnopqrstuvwxyz' 461as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 462as_cr_Letters=$as_cr_letters$as_cr_LETTERS 463as_cr_digits='0123456789' 464as_cr_alnum=$as_cr_Letters$as_cr_digits 465 466 467 as_lineno_1=$LINENO as_lineno_1a=$LINENO 468 as_lineno_2=$LINENO as_lineno_2a=$LINENO 469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 472 sed -n ' 473 p 474 /[$]LINENO/= 475 ' <$as_myself | 476 sed ' 477 s/[$]LINENO.*/&-/ 478 t lineno 479 b 480 :lineno 481 N 482 :loop 483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 484 t loop 485 s/-\n.*// 486 ' >$as_me.lineno && 487 chmod +x "$as_me.lineno" || 488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 489 490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 491 # already done that, so ensure we don't try to do so again and fall 492 # in an infinite loop. This has already happened in practice. 493 _as_can_reexec=no; export _as_can_reexec 494 # Don't try to exec as it changes $[0], causing all sort of problems 495 # (the dirname of $[0] is not the place where we might find the 496 # original and so on. Autoconf is especially sensitive to this). 497 . "./$as_me.lineno" 498 # Exit status is that of the last command. 499 exit 500} 501 502ECHO_C= ECHO_N= ECHO_T= 503case `echo -n x` in #((((( 504-n*) 505 case `echo 'xy\c'` in 506 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 507 xy) ECHO_C='\c';; 508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 509 ECHO_T=' ';; 510 esac;; 511*) 512 ECHO_N='-n';; 513esac 514 515rm -f conf$$ conf$$.exe conf$$.file 516if test -d conf$$.dir; then 517 rm -f conf$$.dir/conf$$.file 518else 519 rm -f conf$$.dir 520 mkdir conf$$.dir 2>/dev/null 521fi 522if (echo >conf$$.file) 2>/dev/null; then 523 if ln -s conf$$.file conf$$ 2>/dev/null; then 524 as_ln_s='ln -s' 525 # ... but there are two gotchas: 526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 528 # In both cases, we have to default to `cp -pR'. 529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 530 as_ln_s='cp -pR' 531 elif ln conf$$.file conf$$ 2>/dev/null; then 532 as_ln_s=ln 533 else 534 as_ln_s='cp -pR' 535 fi 536else 537 as_ln_s='cp -pR' 538fi 539rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 540rmdir conf$$.dir 2>/dev/null 541 542if mkdir -p . 2>/dev/null; then 543 as_mkdir_p='mkdir -p "$as_dir"' 544else 545 test -d ./-p && rmdir ./-p 546 as_mkdir_p=false 547fi 548 549as_test_x='test -x' 550as_executable_p=as_fn_executable_p 551 552# Sed expression to map a string onto a valid CPP name. 553as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 554 555# Sed expression to map a string onto a valid variable name. 556as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 557 558 559test -n "$DJDIR" || exec 7<&0 </dev/null 560exec 6>&1 561 562# Name of the host. 563# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 564# so uname gets run too. 565ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 566 567# 568# Initializations. 569# 570ac_default_prefix=/usr/local 571ac_clean_files= 572ac_config_libobj_dir=. 573LIBOBJS= 574cross_compiling=no 575subdirs= 576MFLAGS= 577MAKEFLAGS= 578 579# Identity of this package. 580PACKAGE_NAME='mingw-w64' 581PACKAGE_TARNAME='mingw-w64' 582PACKAGE_VERSION='4.0b' 583PACKAGE_STRING='mingw-w64 4.0b' 584PACKAGE_BUGREPORT='mingw-w64-public@lists.sourceforge.net' 585PACKAGE_URL='' 586 587ac_unique_file="AUTHORS" 588enable_option_checking=no 589ac_subst_vars='LTLIBOBJS 590LIBOBJS 591TOOLS_GENIDL_FALSE 592TOOLS_GENIDL_TRUE 593TOOLS_GENDEF_FALSE 594TOOLS_GENDEF_TRUE 595LIBRARIES_WINPTHREADS_FALSE 596LIBRARIES_WINPTHREADS_TRUE 597LIBRARIES_PSEH_FALSE 598LIBRARIES_PSEH_TRUE 599LIBRARIES_MANGLE_FALSE 600LIBRARIES_MANGLE_TRUE 601CRT_FALSE 602CRT_TRUE 603HEADER_FALSE 604HEADER_TRUE 605subdirs 606host_os 607host_vendor 608host_cpu 609host 610build_os 611build_vendor 612build_cpu 613build 614AM_BACKSLASH 615AM_DEFAULT_VERBOSITY 616AM_DEFAULT_V 617AM_V 618am__untar 619am__tar 620AMTAR 621am__leading_dot 622SET_MAKE 623AWK 624mkdir_p 625MKDIR_P 626INSTALL_STRIP_PROGRAM 627STRIP 628install_sh 629MAKEINFO 630AUTOHEADER 631AUTOMAKE 632AUTOCONF 633ACLOCAL 634VERSION 635PACKAGE 636CYGPATH_W 637am__isrc 638INSTALL_DATA 639INSTALL_SCRIPT 640INSTALL_PROGRAM 641MAINT 642MAINTAINER_MODE_FALSE 643MAINTAINER_MODE_TRUE 644target_alias 645host_alias 646build_alias 647LIBS 648ECHO_T 649ECHO_N 650ECHO_C 651DEFS 652mandir 653localedir 654libdir 655psdir 656pdfdir 657dvidir 658htmldir 659infodir 660docdir 661oldincludedir 662includedir 663localstatedir 664sharedstatedir 665sysconfdir 666datadir 667datarootdir 668libexecdir 669sbindir 670bindir 671program_transform_name 672prefix 673exec_prefix 674PACKAGE_URL 675PACKAGE_BUGREPORT 676PACKAGE_STRING 677PACKAGE_VERSION 678PACKAGE_TARNAME 679PACKAGE_NAME 680PATH_SEPARATOR 681SHELL' 682ac_subst_files='' 683ac_user_opts=' 684enable_option_checking 685enable_maintainer_mode 686enable_silent_rules 687with_headers 688with_crt 689with_libraries 690with_tools 691' 692 ac_precious_vars='build_alias 693host_alias 694target_alias' 695ac_subdirs_all='mingw-w64-headers 696mingw-w64-crt 697mingw-w64-libraries/libmangle 698mingw-w64-libraries/pseh 699mingw-w64-libraries/winpthreads 700mingw-w64-tools/gendef 701mingw-w64-tools/genidl' 702 703# Initialize some variables set by options. 704ac_init_help= 705ac_init_version=false 706ac_unrecognized_opts= 707ac_unrecognized_sep= 708# The variables have the same names as the options, with 709# dashes changed to underlines. 710cache_file=/dev/null 711exec_prefix=NONE 712no_create= 713no_recursion= 714prefix=NONE 715program_prefix=NONE 716program_suffix=NONE 717program_transform_name=s,x,x, 718silent= 719site= 720srcdir= 721verbose= 722x_includes=NONE 723x_libraries=NONE 724 725# Installation directory options. 726# These are left unexpanded so users can "make install exec_prefix=/foo" 727# and all the variables that are supposed to be based on exec_prefix 728# by default will actually change. 729# Use braces instead of parens because sh, perl, etc. also accept them. 730# (The list follows the same order as the GNU Coding Standards.) 731bindir='${exec_prefix}/bin' 732sbindir='${exec_prefix}/sbin' 733libexecdir='${exec_prefix}/libexec' 734datarootdir='${prefix}/share' 735datadir='${datarootdir}' 736sysconfdir='${prefix}/etc' 737sharedstatedir='${prefix}/com' 738localstatedir='${prefix}/var' 739includedir='${prefix}/include' 740oldincludedir='/usr/include' 741docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 742infodir='${datarootdir}/info' 743htmldir='${docdir}' 744dvidir='${docdir}' 745pdfdir='${docdir}' 746psdir='${docdir}' 747libdir='${exec_prefix}/lib' 748localedir='${datarootdir}/locale' 749mandir='${datarootdir}/man' 750 751ac_prev= 752ac_dashdash= 753for ac_option 754do 755 # If the previous option needs an argument, assign it. 756 if test -n "$ac_prev"; then 757 eval $ac_prev=\$ac_option 758 ac_prev= 759 continue 760 fi 761 762 case $ac_option in 763 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 764 *=) ac_optarg= ;; 765 *) ac_optarg=yes ;; 766 esac 767 768 # Accept the important Cygnus configure options, so we can diagnose typos. 769 770 case $ac_dashdash$ac_option in 771 --) 772 ac_dashdash=yes ;; 773 774 -bindir | --bindir | --bindi | --bind | --bin | --bi) 775 ac_prev=bindir ;; 776 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 777 bindir=$ac_optarg ;; 778 779 -build | --build | --buil | --bui | --bu) 780 ac_prev=build_alias ;; 781 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 782 build_alias=$ac_optarg ;; 783 784 -cache-file | --cache-file | --cache-fil | --cache-fi \ 785 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 786 ac_prev=cache_file ;; 787 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 788 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 789 cache_file=$ac_optarg ;; 790 791 --config-cache | -C) 792 cache_file=config.cache ;; 793 794 -datadir | --datadir | --datadi | --datad) 795 ac_prev=datadir ;; 796 -datadir=* | --datadir=* | --datadi=* | --datad=*) 797 datadir=$ac_optarg ;; 798 799 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 800 | --dataroo | --dataro | --datar) 801 ac_prev=datarootdir ;; 802 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 803 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 804 datarootdir=$ac_optarg ;; 805 806 -disable-* | --disable-*) 807 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 808 # Reject names that are not valid shell variable names. 809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 810 as_fn_error $? "invalid feature name: $ac_useropt" 811 ac_useropt_orig=$ac_useropt 812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 813 case $ac_user_opts in 814 *" 815"enable_$ac_useropt" 816"*) ;; 817 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 818 ac_unrecognized_sep=', ';; 819 esac 820 eval enable_$ac_useropt=no ;; 821 822 -docdir | --docdir | --docdi | --doc | --do) 823 ac_prev=docdir ;; 824 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 825 docdir=$ac_optarg ;; 826 827 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 828 ac_prev=dvidir ;; 829 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 830 dvidir=$ac_optarg ;; 831 832 -enable-* | --enable-*) 833 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 834 # Reject names that are not valid shell variable names. 835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 836 as_fn_error $? "invalid feature name: $ac_useropt" 837 ac_useropt_orig=$ac_useropt 838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 839 case $ac_user_opts in 840 *" 841"enable_$ac_useropt" 842"*) ;; 843 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 844 ac_unrecognized_sep=', ';; 845 esac 846 eval enable_$ac_useropt=\$ac_optarg ;; 847 848 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 849 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 850 | --exec | --exe | --ex) 851 ac_prev=exec_prefix ;; 852 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 853 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 854 | --exec=* | --exe=* | --ex=*) 855 exec_prefix=$ac_optarg ;; 856 857 -gas | --gas | --ga | --g) 858 # Obsolete; use --with-gas. 859 with_gas=yes ;; 860 861 -help | --help | --hel | --he | -h) 862 ac_init_help=long ;; 863 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 864 ac_init_help=recursive ;; 865 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 866 ac_init_help=short ;; 867 868 -host | --host | --hos | --ho) 869 ac_prev=host_alias ;; 870 -host=* | --host=* | --hos=* | --ho=*) 871 host_alias=$ac_optarg ;; 872 873 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 874 ac_prev=htmldir ;; 875 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 876 | --ht=*) 877 htmldir=$ac_optarg ;; 878 879 -includedir | --includedir | --includedi | --included | --include \ 880 | --includ | --inclu | --incl | --inc) 881 ac_prev=includedir ;; 882 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 883 | --includ=* | --inclu=* | --incl=* | --inc=*) 884 includedir=$ac_optarg ;; 885 886 -infodir | --infodir | --infodi | --infod | --info | --inf) 887 ac_prev=infodir ;; 888 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 889 infodir=$ac_optarg ;; 890 891 -libdir | --libdir | --libdi | --libd) 892 ac_prev=libdir ;; 893 -libdir=* | --libdir=* | --libdi=* | --libd=*) 894 libdir=$ac_optarg ;; 895 896 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 897 | --libexe | --libex | --libe) 898 ac_prev=libexecdir ;; 899 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 900 | --libexe=* | --libex=* | --libe=*) 901 libexecdir=$ac_optarg ;; 902 903 -localedir | --localedir | --localedi | --localed | --locale) 904 ac_prev=localedir ;; 905 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 906 localedir=$ac_optarg ;; 907 908 -localstatedir | --localstatedir | --localstatedi | --localstated \ 909 | --localstate | --localstat | --localsta | --localst | --locals) 910 ac_prev=localstatedir ;; 911 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 912 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 913 localstatedir=$ac_optarg ;; 914 915 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 916 ac_prev=mandir ;; 917 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 918 mandir=$ac_optarg ;; 919 920 -nfp | --nfp | --nf) 921 # Obsolete; use --without-fp. 922 with_fp=no ;; 923 924 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 925 | --no-cr | --no-c | -n) 926 no_create=yes ;; 927 928 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 929 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 930 no_recursion=yes ;; 931 932 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 933 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 934 | --oldin | --oldi | --old | --ol | --o) 935 ac_prev=oldincludedir ;; 936 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 937 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 938 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 939 oldincludedir=$ac_optarg ;; 940 941 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 942 ac_prev=prefix ;; 943 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 944 prefix=$ac_optarg ;; 945 946 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 947 | --program-pre | --program-pr | --program-p) 948 ac_prev=program_prefix ;; 949 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 950 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 951 program_prefix=$ac_optarg ;; 952 953 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 954 | --program-suf | --program-su | --program-s) 955 ac_prev=program_suffix ;; 956 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 957 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 958 program_suffix=$ac_optarg ;; 959 960 -program-transform-name | --program-transform-name \ 961 | --program-transform-nam | --program-transform-na \ 962 | --program-transform-n | --program-transform- \ 963 | --program-transform | --program-transfor \ 964 | --program-transfo | --program-transf \ 965 | --program-trans | --program-tran \ 966 | --progr-tra | --program-tr | --program-t) 967 ac_prev=program_transform_name ;; 968 -program-transform-name=* | --program-transform-name=* \ 969 | --program-transform-nam=* | --program-transform-na=* \ 970 | --program-transform-n=* | --program-transform-=* \ 971 | --program-transform=* | --program-transfor=* \ 972 | --program-transfo=* | --program-transf=* \ 973 | --program-trans=* | --program-tran=* \ 974 | --progr-tra=* | --program-tr=* | --program-t=*) 975 program_transform_name=$ac_optarg ;; 976 977 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 978 ac_prev=pdfdir ;; 979 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 980 pdfdir=$ac_optarg ;; 981 982 -psdir | --psdir | --psdi | --psd | --ps) 983 ac_prev=psdir ;; 984 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 985 psdir=$ac_optarg ;; 986 987 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 988 | -silent | --silent | --silen | --sile | --sil) 989 silent=yes ;; 990 991 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 992 ac_prev=sbindir ;; 993 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 994 | --sbi=* | --sb=*) 995 sbindir=$ac_optarg ;; 996 997 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 998 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 999 | --sharedst | --shareds | --shared | --share | --shar \ 1000 | --sha | --sh) 1001 ac_prev=sharedstatedir ;; 1002 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1003 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1004 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1005 | --sha=* | --sh=*) 1006 sharedstatedir=$ac_optarg ;; 1007 1008 -site | --site | --sit) 1009 ac_prev=site ;; 1010 -site=* | --site=* | --sit=*) 1011 site=$ac_optarg ;; 1012 1013 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1014 ac_prev=srcdir ;; 1015 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1016 srcdir=$ac_optarg ;; 1017 1018 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1019 | --syscon | --sysco | --sysc | --sys | --sy) 1020 ac_prev=sysconfdir ;; 1021 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1022 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1023 sysconfdir=$ac_optarg ;; 1024 1025 -target | --target | --targe | --targ | --tar | --ta | --t) 1026 ac_prev=target_alias ;; 1027 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1028 target_alias=$ac_optarg ;; 1029 1030 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1031 verbose=yes ;; 1032 1033 -version | --version | --versio | --versi | --vers | -V) 1034 ac_init_version=: ;; 1035 1036 -with-* | --with-*) 1037 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1038 # Reject names that are not valid shell variable names. 1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1040 as_fn_error $? "invalid package name: $ac_useropt" 1041 ac_useropt_orig=$ac_useropt 1042 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1043 case $ac_user_opts in 1044 *" 1045"with_$ac_useropt" 1046"*) ;; 1047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1048 ac_unrecognized_sep=', ';; 1049 esac 1050 eval with_$ac_useropt=\$ac_optarg ;; 1051 1052 -without-* | --without-*) 1053 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1054 # Reject names that are not valid shell variable names. 1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1056 as_fn_error $? "invalid package name: $ac_useropt" 1057 ac_useropt_orig=$ac_useropt 1058 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1059 case $ac_user_opts in 1060 *" 1061"with_$ac_useropt" 1062"*) ;; 1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1064 ac_unrecognized_sep=', ';; 1065 esac 1066 eval with_$ac_useropt=no ;; 1067 1068 --x) 1069 # Obsolete; use --with-x. 1070 with_x=yes ;; 1071 1072 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1073 | --x-incl | --x-inc | --x-in | --x-i) 1074 ac_prev=x_includes ;; 1075 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1076 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1077 x_includes=$ac_optarg ;; 1078 1079 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1080 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1081 ac_prev=x_libraries ;; 1082 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1083 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1084 x_libraries=$ac_optarg ;; 1085 1086 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1087Try \`$0 --help' for more information" 1088 ;; 1089 1090 *=*) 1091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1092 # Reject names that are not valid shell variable names. 1093 case $ac_envvar in #( 1094 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1095 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1096 esac 1097 eval $ac_envvar=\$ac_optarg 1098 export $ac_envvar ;; 1099 1100 *) 1101 # FIXME: should be removed in autoconf 3.0. 1102 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1103 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1104 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1105 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1106 ;; 1107 1108 esac 1109done 1110 1111if test -n "$ac_prev"; then 1112 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1113 as_fn_error $? "missing argument to $ac_option" 1114fi 1115 1116if test -n "$ac_unrecognized_opts"; then 1117 case $enable_option_checking in 1118 no) ;; 1119 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1120 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1121 esac 1122fi 1123 1124# Check all directory arguments for consistency. 1125for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1126 datadir sysconfdir sharedstatedir localstatedir includedir \ 1127 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1128 libdir localedir mandir 1129do 1130 eval ac_val=\$$ac_var 1131 # Remove trailing slashes. 1132 case $ac_val in 1133 */ ) 1134 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1135 eval $ac_var=\$ac_val;; 1136 esac 1137 # Be sure to have absolute directory names. 1138 case $ac_val in 1139 [\\/$]* | ?:[\\/]* ) continue;; 1140 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1141 esac 1142 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1143done 1144 1145# There might be people who depend on the old broken behavior: `$host' 1146# used to hold the argument of --host etc. 1147# FIXME: To remove some day. 1148build=$build_alias 1149host=$host_alias 1150target=$target_alias 1151 1152# FIXME: To remove some day. 1153if test "x$host_alias" != x; then 1154 if test "x$build_alias" = x; then 1155 cross_compiling=maybe 1156 elif test "x$build_alias" != "x$host_alias"; then 1157 cross_compiling=yes 1158 fi 1159fi 1160 1161ac_tool_prefix= 1162test -n "$host_alias" && ac_tool_prefix=$host_alias- 1163 1164test "$silent" = yes && exec 6>/dev/null 1165 1166 1167ac_pwd=`pwd` && test -n "$ac_pwd" && 1168ac_ls_di=`ls -di .` && 1169ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1170 as_fn_error $? "working directory cannot be determined" 1171test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1172 as_fn_error $? "pwd does not report name of working directory" 1173 1174 1175# Find the source files, if location was not specified. 1176if test -z "$srcdir"; then 1177 ac_srcdir_defaulted=yes 1178 # Try the directory containing this script, then the parent directory. 1179 ac_confdir=`$as_dirname -- "$as_myself" || 1180$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1181 X"$as_myself" : 'X\(//\)[^/]' \| \ 1182 X"$as_myself" : 'X\(//\)$' \| \ 1183 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1184$as_echo X"$as_myself" | 1185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1186 s//\1/ 1187 q 1188 } 1189 /^X\(\/\/\)[^/].*/{ 1190 s//\1/ 1191 q 1192 } 1193 /^X\(\/\/\)$/{ 1194 s//\1/ 1195 q 1196 } 1197 /^X\(\/\).*/{ 1198 s//\1/ 1199 q 1200 } 1201 s/.*/./; q'` 1202 srcdir=$ac_confdir 1203 if test ! -r "$srcdir/$ac_unique_file"; then 1204 srcdir=.. 1205 fi 1206else 1207 ac_srcdir_defaulted=no 1208fi 1209if test ! -r "$srcdir/$ac_unique_file"; then 1210 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1211 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1212fi 1213ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1214ac_abs_confdir=`( 1215 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1216 pwd)` 1217# When building in place, set srcdir=. 1218if test "$ac_abs_confdir" = "$ac_pwd"; then 1219 srcdir=. 1220fi 1221# Remove unnecessary trailing slashes from srcdir. 1222# Double slashes in file names in object file debugging info 1223# mess up M-x gdb in Emacs. 1224case $srcdir in 1225*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1226esac 1227for ac_var in $ac_precious_vars; do 1228 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1229 eval ac_env_${ac_var}_value=\$${ac_var} 1230 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1231 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1232done 1233 1234# 1235# Report the --help message. 1236# 1237if test "$ac_init_help" = "long"; then 1238 # Omit some internal or obsolete options to make the list less imposing. 1239 # This message is too long to be a string in the A/UX 3.1 sh. 1240 cat <<_ACEOF 1241\`configure' configures mingw-w64 4.0b to adapt to many kinds of systems. 1242 1243Usage: $0 [OPTION]... [VAR=VALUE]... 1244 1245To assign environment variables (e.g., CC, CFLAGS...), specify them as 1246VAR=VALUE. See below for descriptions of some of the useful variables. 1247 1248Defaults for the options are specified in brackets. 1249 1250Configuration: 1251 -h, --help display this help and exit 1252 --help=short display options specific to this package 1253 --help=recursive display the short help of all the included packages 1254 -V, --version display version information and exit 1255 -q, --quiet, --silent do not print \`checking ...' messages 1256 --cache-file=FILE cache test results in FILE [disabled] 1257 -C, --config-cache alias for \`--cache-file=config.cache' 1258 -n, --no-create do not create output files 1259 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1260 1261Installation directories: 1262 --prefix=PREFIX install architecture-independent files in PREFIX 1263 [$ac_default_prefix] 1264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1265 [PREFIX] 1266 1267By default, \`make install' will install all the files in 1268\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1269an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1270for instance \`--prefix=\$HOME'. 1271 1272For better control, use the options below. 1273 1274Fine tuning of the installation directories: 1275 --bindir=DIR user executables [EPREFIX/bin] 1276 --sbindir=DIR system admin executables [EPREFIX/sbin] 1277 --libexecdir=DIR program executables [EPREFIX/libexec] 1278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1280 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1281 --libdir=DIR object code libraries [EPREFIX/lib] 1282 --includedir=DIR C header files [PREFIX/include] 1283 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1284 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1285 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1286 --infodir=DIR info documentation [DATAROOTDIR/info] 1287 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1288 --mandir=DIR man documentation [DATAROOTDIR/man] 1289 --docdir=DIR documentation root [DATAROOTDIR/doc/mingw-w64] 1290 --htmldir=DIR html documentation [DOCDIR] 1291 --dvidir=DIR dvi documentation [DOCDIR] 1292 --pdfdir=DIR pdf documentation [DOCDIR] 1293 --psdir=DIR ps documentation [DOCDIR] 1294_ACEOF 1295 1296 cat <<\_ACEOF 1297 1298Program names: 1299 --program-prefix=PREFIX prepend PREFIX to installed program names 1300 --program-suffix=SUFFIX append SUFFIX to installed program names 1301 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1302 1303System types: 1304 --build=BUILD configure for building on BUILD [guessed] 1305 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1306_ACEOF 1307fi 1308 1309if test -n "$ac_init_help"; then 1310 case $ac_init_help in 1311 short | recursive ) echo "Configuration of mingw-w64 4.0b:";; 1312 esac 1313 cat <<\_ACEOF 1314 1315Optional Features: 1316 --disable-option-checking ignore unrecognized --enable/--with options 1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1319 --enable-maintainer-mode 1320 enable make rules and dependencies not useful (and 1321 sometimes confusing) to the casual installer 1322 --enable-silent-rules less verbose build output (undo: "make V=1") 1323 --disable-silent-rules verbose build output (undo: "make V=0") 1324 1325Optional Packages: 1326 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1327 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1328 --without-headers Skip building the mingw-w64 headers 1329 --without-crt Skip building the mingw-w64 crt 1330 --with-libraries=ARG Build the extra mingw-w64 libs, where ARG is comma 1331 separated list of libmangle, pseh, winpthreads, or 1332 all 1333 --with-tools=ARG Build the extra mingw-w64 tools, where ARG is comma 1334 separated list of gendef, genidl, or all 1335 1336Report bugs to <mingw-w64-public@lists.sourceforge.net>. 1337_ACEOF 1338ac_status=$? 1339fi 1340 1341if test "$ac_init_help" = "recursive"; then 1342 # If there are subdirs, report their specific --help. 1343 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1344 test -d "$ac_dir" || 1345 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1346 continue 1347 ac_builddir=. 1348 1349case "$ac_dir" in 1350.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1351*) 1352 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1353 # A ".." for each directory in $ac_dir_suffix. 1354 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1355 case $ac_top_builddir_sub in 1356 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1357 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1358 esac ;; 1359esac 1360ac_abs_top_builddir=$ac_pwd 1361ac_abs_builddir=$ac_pwd$ac_dir_suffix 1362# for backward compatibility: 1363ac_top_builddir=$ac_top_build_prefix 1364 1365case $srcdir in 1366 .) # We are building in place. 1367 ac_srcdir=. 1368 ac_top_srcdir=$ac_top_builddir_sub 1369 ac_abs_top_srcdir=$ac_pwd ;; 1370 [\\/]* | ?:[\\/]* ) # Absolute name. 1371 ac_srcdir=$srcdir$ac_dir_suffix; 1372 ac_top_srcdir=$srcdir 1373 ac_abs_top_srcdir=$srcdir ;; 1374 *) # Relative name. 1375 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1376 ac_top_srcdir=$ac_top_build_prefix$srcdir 1377 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1378esac 1379ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1380 1381 cd "$ac_dir" || { ac_status=$?; continue; } 1382 # Check for guested configure. 1383 if test -f "$ac_srcdir/configure.gnu"; then 1384 echo && 1385 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1386 elif test -f "$ac_srcdir/configure"; then 1387 echo && 1388 $SHELL "$ac_srcdir/configure" --help=recursive 1389 else 1390 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1391 fi || ac_status=$? 1392 cd "$ac_pwd" || { ac_status=$?; break; } 1393 done 1394fi 1395 1396test -n "$ac_init_help" && exit $ac_status 1397if $ac_init_version; then 1398 cat <<\_ACEOF 1399mingw-w64 configure 4.0b 1400generated by GNU Autoconf 2.69 1401 1402Copyright (C) 2012 Free Software Foundation, Inc. 1403This configure script is free software; the Free Software Foundation 1404gives unlimited permission to copy, distribute and modify it. 1405_ACEOF 1406 exit 1407fi 1408 1409## ------------------------ ## 1410## Autoconf initialization. ## 1411## ------------------------ ## 1412cat >config.log <<_ACEOF 1413This file contains any messages produced by compilers while 1414running configure, to aid debugging if configure makes a mistake. 1415 1416It was created by mingw-w64 $as_me 4.0b, which was 1417generated by GNU Autoconf 2.69. Invocation command line was 1418 1419 $ $0 $@ 1420 1421_ACEOF 1422exec 5>>config.log 1423{ 1424cat <<_ASUNAME 1425## --------- ## 1426## Platform. ## 1427## --------- ## 1428 1429hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1430uname -m = `(uname -m) 2>/dev/null || echo unknown` 1431uname -r = `(uname -r) 2>/dev/null || echo unknown` 1432uname -s = `(uname -s) 2>/dev/null || echo unknown` 1433uname -v = `(uname -v) 2>/dev/null || echo unknown` 1434 1435/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1436/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1437 1438/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1439/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1440/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1441/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1442/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1443/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1444/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1445 1446_ASUNAME 1447 1448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1449for as_dir in $PATH 1450do 1451 IFS=$as_save_IFS 1452 test -z "$as_dir" && as_dir=. 1453 $as_echo "PATH: $as_dir" 1454 done 1455IFS=$as_save_IFS 1456 1457} >&5 1458 1459cat >&5 <<_ACEOF 1460 1461 1462## ----------- ## 1463## Core tests. ## 1464## ----------- ## 1465 1466_ACEOF 1467 1468 1469# Keep a trace of the command line. 1470# Strip out --no-create and --no-recursion so they do not pile up. 1471# Strip out --silent because we don't want to record it for future runs. 1472# Also quote any args containing shell meta-characters. 1473# Make two passes to allow for proper duplicate-argument suppression. 1474ac_configure_args= 1475ac_configure_args0= 1476ac_configure_args1= 1477ac_must_keep_next=false 1478for ac_pass in 1 2 1479do 1480 for ac_arg 1481 do 1482 case $ac_arg in 1483 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1484 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1485 | -silent | --silent | --silen | --sile | --sil) 1486 continue ;; 1487 *\'*) 1488 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1489 esac 1490 case $ac_pass in 1491 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1492 2) 1493 as_fn_append ac_configure_args1 " '$ac_arg'" 1494 if test $ac_must_keep_next = true; then 1495 ac_must_keep_next=false # Got value, back to normal. 1496 else 1497 case $ac_arg in 1498 *=* | --config-cache | -C | -disable-* | --disable-* \ 1499 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1500 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1501 | -with-* | --with-* | -without-* | --without-* | --x) 1502 case "$ac_configure_args0 " in 1503 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1504 esac 1505 ;; 1506 -* ) ac_must_keep_next=true ;; 1507 esac 1508 fi 1509 as_fn_append ac_configure_args " '$ac_arg'" 1510 ;; 1511 esac 1512 done 1513done 1514{ ac_configure_args0=; unset ac_configure_args0;} 1515{ ac_configure_args1=; unset ac_configure_args1;} 1516 1517# When interrupted or exit'd, cleanup temporary files, and complete 1518# config.log. We remove comments because anyway the quotes in there 1519# would cause problems or look ugly. 1520# WARNING: Use '\'' to represent an apostrophe within the trap. 1521# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1522trap 'exit_status=$? 1523 # Save into config.log some information that might help in debugging. 1524 { 1525 echo 1526 1527 $as_echo "## ---------------- ## 1528## Cache variables. ## 1529## ---------------- ##" 1530 echo 1531 # The following way of writing the cache mishandles newlines in values, 1532( 1533 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1534 eval ac_val=\$$ac_var 1535 case $ac_val in #( 1536 *${as_nl}*) 1537 case $ac_var in #( 1538 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1539$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1540 esac 1541 case $ac_var in #( 1542 _ | IFS | as_nl) ;; #( 1543 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1544 *) { eval $ac_var=; unset $ac_var;} ;; 1545 esac ;; 1546 esac 1547 done 1548 (set) 2>&1 | 1549 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1550 *${as_nl}ac_space=\ *) 1551 sed -n \ 1552 "s/'\''/'\''\\\\'\'''\''/g; 1553 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1554 ;; #( 1555 *) 1556 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1557 ;; 1558 esac | 1559 sort 1560) 1561 echo 1562 1563 $as_echo "## ----------------- ## 1564## Output variables. ## 1565## ----------------- ##" 1566 echo 1567 for ac_var in $ac_subst_vars 1568 do 1569 eval ac_val=\$$ac_var 1570 case $ac_val in 1571 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1572 esac 1573 $as_echo "$ac_var='\''$ac_val'\''" 1574 done | sort 1575 echo 1576 1577 if test -n "$ac_subst_files"; then 1578 $as_echo "## ------------------- ## 1579## File substitutions. ## 1580## ------------------- ##" 1581 echo 1582 for ac_var in $ac_subst_files 1583 do 1584 eval ac_val=\$$ac_var 1585 case $ac_val in 1586 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1587 esac 1588 $as_echo "$ac_var='\''$ac_val'\''" 1589 done | sort 1590 echo 1591 fi 1592 1593 if test -s confdefs.h; then 1594 $as_echo "## ----------- ## 1595## confdefs.h. ## 1596## ----------- ##" 1597 echo 1598 cat confdefs.h 1599 echo 1600 fi 1601 test "$ac_signal" != 0 && 1602 $as_echo "$as_me: caught signal $ac_signal" 1603 $as_echo "$as_me: exit $exit_status" 1604 } >&5 1605 rm -f core *.core core.conftest.* && 1606 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1607 exit $exit_status 1608' 0 1609for ac_signal in 1 2 13 15; do 1610 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1611done 1612ac_signal=0 1613 1614# confdefs.h avoids OS command line length limits that DEFS can exceed. 1615rm -f -r conftest* confdefs.h 1616 1617$as_echo "/* confdefs.h */" > confdefs.h 1618 1619# Predefined preprocessor variables. 1620 1621cat >>confdefs.h <<_ACEOF 1622#define PACKAGE_NAME "$PACKAGE_NAME" 1623_ACEOF 1624 1625cat >>confdefs.h <<_ACEOF 1626#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1627_ACEOF 1628 1629cat >>confdefs.h <<_ACEOF 1630#define PACKAGE_VERSION "$PACKAGE_VERSION" 1631_ACEOF 1632 1633cat >>confdefs.h <<_ACEOF 1634#define PACKAGE_STRING "$PACKAGE_STRING" 1635_ACEOF 1636 1637cat >>confdefs.h <<_ACEOF 1638#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1639_ACEOF 1640 1641cat >>confdefs.h <<_ACEOF 1642#define PACKAGE_URL "$PACKAGE_URL" 1643_ACEOF 1644 1645 1646# Let the site file select an alternate cache file if it wants to. 1647# Prefer an explicitly selected file to automatically selected ones. 1648ac_site_file1=NONE 1649ac_site_file2=NONE 1650if test -n "$CONFIG_SITE"; then 1651 # We do not want a PATH search for config.site. 1652 case $CONFIG_SITE in #(( 1653 -*) ac_site_file1=./$CONFIG_SITE;; 1654 */*) ac_site_file1=$CONFIG_SITE;; 1655 *) ac_site_file1=./$CONFIG_SITE;; 1656 esac 1657elif test "x$prefix" != xNONE; then 1658 ac_site_file1=$prefix/share/config.site 1659 ac_site_file2=$prefix/etc/config.site 1660else 1661 ac_site_file1=$ac_default_prefix/share/config.site 1662 ac_site_file2=$ac_default_prefix/etc/config.site 1663fi 1664for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1665do 1666 test "x$ac_site_file" = xNONE && continue 1667 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1668 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1669$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1670 sed 's/^/| /' "$ac_site_file" >&5 1671 . "$ac_site_file" \ 1672 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1673$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1674as_fn_error $? "failed to load site script $ac_site_file 1675See \`config.log' for more details" "$LINENO" 5; } 1676 fi 1677done 1678 1679if test -r "$cache_file"; then 1680 # Some versions of bash will fail to source /dev/null (special files 1681 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1682 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1683 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1684$as_echo "$as_me: loading cache $cache_file" >&6;} 1685 case $cache_file in 1686 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1687 *) . "./$cache_file";; 1688 esac 1689 fi 1690else 1691 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1692$as_echo "$as_me: creating cache $cache_file" >&6;} 1693 >$cache_file 1694fi 1695 1696# Check that the precious variables saved in the cache have kept the same 1697# value. 1698ac_cache_corrupted=false 1699for ac_var in $ac_precious_vars; do 1700 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1701 eval ac_new_set=\$ac_env_${ac_var}_set 1702 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1703 eval ac_new_val=\$ac_env_${ac_var}_value 1704 case $ac_old_set,$ac_new_set in 1705 set,) 1706 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1707$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1708 ac_cache_corrupted=: ;; 1709 ,set) 1710 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1711$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1712 ac_cache_corrupted=: ;; 1713 ,);; 1714 *) 1715 if test "x$ac_old_val" != "x$ac_new_val"; then 1716 # differences in whitespace do not lead to failure. 1717 ac_old_val_w=`echo x $ac_old_val` 1718 ac_new_val_w=`echo x $ac_new_val` 1719 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1720 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1721$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1722 ac_cache_corrupted=: 1723 else 1724 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1725$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1726 eval $ac_var=\$ac_old_val 1727 fi 1728 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1729$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1730 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1731$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1732 fi;; 1733 esac 1734 # Pass precious variables to config.status. 1735 if test "$ac_new_set" = set; then 1736 case $ac_new_val in 1737 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1738 *) ac_arg=$ac_var=$ac_new_val ;; 1739 esac 1740 case " $ac_configure_args " in 1741 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1742 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1743 esac 1744 fi 1745done 1746if $ac_cache_corrupted; then 1747 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1748$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1749 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1750$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1751 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1752fi 1753## -------------------- ## 1754## Main body of script. ## 1755## -------------------- ## 1756 1757ac_ext=c 1758ac_cpp='$CPP $CPPFLAGS' 1759ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1760ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1761ac_compiler_gnu=$ac_cv_c_compiler_gnu 1762 1763 1764ac_aux_dir= 1765for ac_dir in build-aux "$srcdir"/build-aux; do 1766 if test -f "$ac_dir/install-sh"; then 1767 ac_aux_dir=$ac_dir 1768 ac_install_sh="$ac_aux_dir/install-sh -c" 1769 break 1770 elif test -f "$ac_dir/install.sh"; then 1771 ac_aux_dir=$ac_dir 1772 ac_install_sh="$ac_aux_dir/install.sh -c" 1773 break 1774 elif test -f "$ac_dir/shtool"; then 1775 ac_aux_dir=$ac_dir 1776 ac_install_sh="$ac_aux_dir/shtool install -c" 1777 break 1778 fi 1779done 1780if test -z "$ac_aux_dir"; then 1781 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 1782fi 1783 1784# These three variables are undocumented and unsupported, 1785# and are intended to be withdrawn in a future Autoconf release. 1786# They can cause serious problems if a builder's source tree is in a directory 1787# whose full name contains unusual characters. 1788ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1789ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1790ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1791 1792 1793 1794ac_config_headers="$ac_config_headers config.h" 1795 1796 1797 1798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 1799$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 1800 # Check whether --enable-maintainer-mode was given. 1801if test "${enable_maintainer_mode+set}" = set; then : 1802 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 1803else 1804 USE_MAINTAINER_MODE=no 1805fi 1806 1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 1808$as_echo "$USE_MAINTAINER_MODE" >&6; } 1809 if test $USE_MAINTAINER_MODE = yes; then 1810 MAINTAINER_MODE_TRUE= 1811 MAINTAINER_MODE_FALSE='#' 1812else 1813 MAINTAINER_MODE_TRUE='#' 1814 MAINTAINER_MODE_FALSE= 1815fi 1816 1817 MAINT=$MAINTAINER_MODE_TRUE 1818 1819 1820am__api_version='1.15' 1821 1822# Find a good install program. We prefer a C program (faster), 1823# so one script is as good as another. But avoid the broken or 1824# incompatible versions: 1825# SysV /etc/install, /usr/sbin/install 1826# SunOS /usr/etc/install 1827# IRIX /sbin/install 1828# AIX /bin/install 1829# AmigaOS /C/install, which installs bootblocks on floppy discs 1830# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1831# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1832# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1833# OS/2's system install, which has a completely different semantic 1834# ./install, which can be erroneously created by make from ./install.sh. 1835# Reject install programs that cannot install multiple files. 1836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 1837$as_echo_n "checking for a BSD-compatible install... " >&6; } 1838if test -z "$INSTALL"; then 1839if ${ac_cv_path_install+:} false; then : 1840 $as_echo_n "(cached) " >&6 1841else 1842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1843for as_dir in $PATH 1844do 1845 IFS=$as_save_IFS 1846 test -z "$as_dir" && as_dir=. 1847 # Account for people who put trailing slashes in PATH elements. 1848case $as_dir/ in #(( 1849 ./ | .// | /[cC]/* | \ 1850 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1851 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1852 /usr/ucb/* ) ;; 1853 *) 1854 # OSF1 and SCO ODT 3.0 have their own names for install. 1855 # Don't use installbsd from OSF since it installs stuff as root 1856 # by default. 1857 for ac_prog in ginstall scoinst install; do 1858 for ac_exec_ext in '' $ac_executable_extensions; do 1859 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1860 if test $ac_prog = install && 1861 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1862 # AIX install. It has an incompatible calling convention. 1863 : 1864 elif test $ac_prog = install && 1865 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1866 # program-specific install script used by HP pwplus--don't use. 1867 : 1868 else 1869 rm -rf conftest.one conftest.two conftest.dir 1870 echo one > conftest.one 1871 echo two > conftest.two 1872 mkdir conftest.dir 1873 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1874 test -s conftest.one && test -s conftest.two && 1875 test -s conftest.dir/conftest.one && 1876 test -s conftest.dir/conftest.two 1877 then 1878 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1879 break 3 1880 fi 1881 fi 1882 fi 1883 done 1884 done 1885 ;; 1886esac 1887 1888 done 1889IFS=$as_save_IFS 1890 1891rm -rf conftest.one conftest.two conftest.dir 1892 1893fi 1894 if test "${ac_cv_path_install+set}" = set; then 1895 INSTALL=$ac_cv_path_install 1896 else 1897 # As a last resort, use the slow shell script. Don't cache a 1898 # value for INSTALL within a source directory, because that will 1899 # break other packages using the cache if that directory is 1900 # removed, or if the value is a relative name. 1901 INSTALL=$ac_install_sh 1902 fi 1903fi 1904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 1905$as_echo "$INSTALL" >&6; } 1906 1907# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1908# It thinks the first close brace ends the variable substitution. 1909test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1910 1911test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1912 1913test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1914 1915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 1916$as_echo_n "checking whether build environment is sane... " >&6; } 1917# Reject unsafe characters in $srcdir or the absolute working directory 1918# name. Accept space and tab only in the latter. 1919am_lf=' 1920' 1921case `pwd` in 1922 *[\\\"\#\$\&\'\`$am_lf]*) 1923 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 1924esac 1925case $srcdir in 1926 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 1927 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 1928esac 1929 1930# Do 'set' in a subshell so we don't clobber the current shell's 1931# arguments. Must try -L first in case configure is actually a 1932# symlink; some systems play weird games with the mod time of symlinks 1933# (eg FreeBSD returns the mod time of the symlink's containing 1934# directory). 1935if ( 1936 am_has_slept=no 1937 for am_try in 1 2; do 1938 echo "timestamp, slept: $am_has_slept" > conftest.file 1939 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 1940 if test "$*" = "X"; then 1941 # -L didn't work. 1942 set X `ls -t "$srcdir/configure" conftest.file` 1943 fi 1944 if test "$*" != "X $srcdir/configure conftest.file" \ 1945 && test "$*" != "X conftest.file $srcdir/configure"; then 1946 1947 # If neither matched, then we have a broken ls. This can happen 1948 # if, for instance, CONFIG_SHELL is bash and it inherits a 1949 # broken ls alias from the environment. This has actually 1950 # happened. Such a system could not be considered "sane". 1951 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 1952 alias in your environment" "$LINENO" 5 1953 fi 1954 if test "$2" = conftest.file || test $am_try -eq 2; then 1955 break 1956 fi 1957 # Just in case. 1958 sleep 1 1959 am_has_slept=yes 1960 done 1961 test "$2" = conftest.file 1962 ) 1963then 1964 # Ok. 1965 : 1966else 1967 as_fn_error $? "newly created file is older than distributed files! 1968Check your system clock" "$LINENO" 5 1969fi 1970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1971$as_echo "yes" >&6; } 1972# If we didn't sleep, we still need to ensure time stamps of config.status and 1973# generated files are strictly newer. 1974am_sleep_pid= 1975if grep 'slept: no' conftest.file >/dev/null 2>&1; then 1976 ( sleep 1 ) & 1977 am_sleep_pid=$! 1978fi 1979 1980rm -f conftest.file 1981 1982test "$program_prefix" != NONE && 1983 program_transform_name="s&^&$program_prefix&;$program_transform_name" 1984# Use a double $ so make ignores it. 1985test "$program_suffix" != NONE && 1986 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 1987# Double any \ or $. 1988# By default was `s,x,x', remove it if useless. 1989ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 1990program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 1991 1992# Expand $ac_aux_dir to an absolute path. 1993am_aux_dir=`cd "$ac_aux_dir" && pwd` 1994 1995if test x"${MISSING+set}" != xset; then 1996 case $am_aux_dir in 1997 *\ * | *\ *) 1998 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 1999 *) 2000 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2001 esac 2002fi 2003# Use eval to expand $SHELL 2004if eval "$MISSING --is-lightweight"; then 2005 am_missing_run="$MISSING " 2006else 2007 am_missing_run= 2008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2009$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2010fi 2011 2012if test x"${install_sh+set}" != xset; then 2013 case $am_aux_dir in 2014 *\ * | *\ *) 2015 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2016 *) 2017 install_sh="\${SHELL} $am_aux_dir/install-sh" 2018 esac 2019fi 2020 2021# Installed binaries are usually stripped using 'strip' when the user 2022# run "make install-strip". However 'strip' might not be the right 2023# tool to use in cross-compilation environments, therefore Automake 2024# will honor the 'STRIP' environment variable to overrule this program. 2025if test "$cross_compiling" != no; then 2026 if test -n "$ac_tool_prefix"; then 2027 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2028set dummy ${ac_tool_prefix}strip; ac_word=$2 2029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2030$as_echo_n "checking for $ac_word... " >&6; } 2031if ${ac_cv_prog_STRIP+:} false; then : 2032 $as_echo_n "(cached) " >&6 2033else 2034 if test -n "$STRIP"; then 2035 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2036else 2037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2038for as_dir in $PATH 2039do 2040 IFS=$as_save_IFS 2041 test -z "$as_dir" && as_dir=. 2042 for ac_exec_ext in '' $ac_executable_extensions; do 2043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2044 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2046 break 2 2047 fi 2048done 2049 done 2050IFS=$as_save_IFS 2051 2052fi 2053fi 2054STRIP=$ac_cv_prog_STRIP 2055if test -n "$STRIP"; then 2056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2057$as_echo "$STRIP" >&6; } 2058else 2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2060$as_echo "no" >&6; } 2061fi 2062 2063 2064fi 2065if test -z "$ac_cv_prog_STRIP"; then 2066 ac_ct_STRIP=$STRIP 2067 # Extract the first word of "strip", so it can be a program name with args. 2068set dummy strip; ac_word=$2 2069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2070$as_echo_n "checking for $ac_word... " >&6; } 2071if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2072 $as_echo_n "(cached) " >&6 2073else 2074 if test -n "$ac_ct_STRIP"; then 2075 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2076else 2077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2078for as_dir in $PATH 2079do 2080 IFS=$as_save_IFS 2081 test -z "$as_dir" && as_dir=. 2082 for ac_exec_ext in '' $ac_executable_extensions; do 2083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2084 ac_cv_prog_ac_ct_STRIP="strip" 2085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2086 break 2 2087 fi 2088done 2089 done 2090IFS=$as_save_IFS 2091 2092fi 2093fi 2094ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2095if test -n "$ac_ct_STRIP"; then 2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2097$as_echo "$ac_ct_STRIP" >&6; } 2098else 2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2100$as_echo "no" >&6; } 2101fi 2102 2103 if test "x$ac_ct_STRIP" = x; then 2104 STRIP=":" 2105 else 2106 case $cross_compiling:$ac_tool_warned in 2107yes:) 2108{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2109$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2110ac_tool_warned=yes ;; 2111esac 2112 STRIP=$ac_ct_STRIP 2113 fi 2114else 2115 STRIP="$ac_cv_prog_STRIP" 2116fi 2117 2118fi 2119INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2120 2121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2122$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2123if test -z "$MKDIR_P"; then 2124 if ${ac_cv_path_mkdir+:} false; then : 2125 $as_echo_n "(cached) " >&6 2126else 2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2128for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2129do 2130 IFS=$as_save_IFS 2131 test -z "$as_dir" && as_dir=. 2132 for ac_prog in mkdir gmkdir; do 2133 for ac_exec_ext in '' $ac_executable_extensions; do 2134 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2135 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2136 'mkdir (GNU coreutils) '* | \ 2137 'mkdir (coreutils) '* | \ 2138 'mkdir (fileutils) '4.1*) 2139 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2140 break 3;; 2141 esac 2142 done 2143 done 2144 done 2145IFS=$as_save_IFS 2146 2147fi 2148 2149 test -d ./--version && rmdir ./--version 2150 if test "${ac_cv_path_mkdir+set}" = set; then 2151 MKDIR_P="$ac_cv_path_mkdir -p" 2152 else 2153 # As a last resort, use the slow shell script. Don't cache a 2154 # value for MKDIR_P within a source directory, because that will 2155 # break other packages using the cache if that directory is 2156 # removed, or if the value is a relative name. 2157 MKDIR_P="$ac_install_sh -d" 2158 fi 2159fi 2160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2161$as_echo "$MKDIR_P" >&6; } 2162 2163for ac_prog in gawk mawk nawk awk 2164do 2165 # Extract the first word of "$ac_prog", so it can be a program name with args. 2166set dummy $ac_prog; ac_word=$2 2167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2168$as_echo_n "checking for $ac_word... " >&6; } 2169if ${ac_cv_prog_AWK+:} false; then : 2170 $as_echo_n "(cached) " >&6 2171else 2172 if test -n "$AWK"; then 2173 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2174else 2175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2176for as_dir in $PATH 2177do 2178 IFS=$as_save_IFS 2179 test -z "$as_dir" && as_dir=. 2180 for ac_exec_ext in '' $ac_executable_extensions; do 2181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2182 ac_cv_prog_AWK="$ac_prog" 2183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2184 break 2 2185 fi 2186done 2187 done 2188IFS=$as_save_IFS 2189 2190fi 2191fi 2192AWK=$ac_cv_prog_AWK 2193if test -n "$AWK"; then 2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2195$as_echo "$AWK" >&6; } 2196else 2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2198$as_echo "no" >&6; } 2199fi 2200 2201 2202 test -n "$AWK" && break 2203done 2204 2205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2206$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2207set x ${MAKE-make} 2208ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2209if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2210 $as_echo_n "(cached) " >&6 2211else 2212 cat >conftest.make <<\_ACEOF 2213SHELL = /bin/sh 2214all: 2215 @echo '@@@%%%=$(MAKE)=@@@%%%' 2216_ACEOF 2217# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2218case `${MAKE-make} -f conftest.make 2>/dev/null` in 2219 *@@@%%%=?*=@@@%%%*) 2220 eval ac_cv_prog_make_${ac_make}_set=yes;; 2221 *) 2222 eval ac_cv_prog_make_${ac_make}_set=no;; 2223esac 2224rm -f conftest.make 2225fi 2226if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2228$as_echo "yes" >&6; } 2229 SET_MAKE= 2230else 2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2232$as_echo "no" >&6; } 2233 SET_MAKE="MAKE=${MAKE-make}" 2234fi 2235 2236rm -rf .tst 2>/dev/null 2237mkdir .tst 2>/dev/null 2238if test -d .tst; then 2239 am__leading_dot=. 2240else 2241 am__leading_dot=_ 2242fi 2243rmdir .tst 2>/dev/null 2244 2245# Check whether --enable-silent-rules was given. 2246if test "${enable_silent_rules+set}" = set; then : 2247 enableval=$enable_silent_rules; 2248fi 2249 2250case $enable_silent_rules in # ((( 2251 yes) AM_DEFAULT_VERBOSITY=0;; 2252 no) AM_DEFAULT_VERBOSITY=1;; 2253 *) AM_DEFAULT_VERBOSITY=1;; 2254esac 2255am_make=${MAKE-make} 2256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2257$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2258if ${am_cv_make_support_nested_variables+:} false; then : 2259 $as_echo_n "(cached) " >&6 2260else 2261 if $as_echo 'TRUE=$(BAR$(V)) 2262BAR0=false 2263BAR1=true 2264V=1 2265am__doit: 2266 @$(TRUE) 2267.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2268 am_cv_make_support_nested_variables=yes 2269else 2270 am_cv_make_support_nested_variables=no 2271fi 2272fi 2273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2274$as_echo "$am_cv_make_support_nested_variables" >&6; } 2275if test $am_cv_make_support_nested_variables = yes; then 2276 AM_V='$(V)' 2277 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2278else 2279 AM_V=$AM_DEFAULT_VERBOSITY 2280 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2281fi 2282AM_BACKSLASH='\' 2283 2284if test "`cd $srcdir && pwd`" != "`pwd`"; then 2285 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2286 # is not polluted with repeated "-I." 2287 am__isrc=' -I$(srcdir)' 2288 # test to see if srcdir already configured 2289 if test -f $srcdir/config.status; then 2290 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2291 fi 2292fi 2293 2294# test whether we have cygpath 2295if test -z "$CYGPATH_W"; then 2296 if (cygpath --version) >/dev/null 2>/dev/null; then 2297 CYGPATH_W='cygpath -w' 2298 else 2299 CYGPATH_W=echo 2300 fi 2301fi 2302 2303 2304# Define the identity of the package. 2305 PACKAGE='mingw-w64' 2306 VERSION='4.0b' 2307 2308 2309cat >>confdefs.h <<_ACEOF 2310#define PACKAGE "$PACKAGE" 2311_ACEOF 2312 2313 2314cat >>confdefs.h <<_ACEOF 2315#define VERSION "$VERSION" 2316_ACEOF 2317 2318# Some tools Automake needs. 2319 2320ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2321 2322 2323AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2324 2325 2326AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2327 2328 2329AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2330 2331 2332MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2333 2334# For better backward compatibility. To be removed once Automake 1.9.x 2335# dies out for good. For more background, see: 2336# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2337# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2338mkdir_p='$(MKDIR_P)' 2339 2340# We need awk for the "check" target (and possibly the TAP driver). The 2341# system "awk" is bad on some platforms. 2342# Always define AMTAR for backward compatibility. Yes, it's still used 2343# in the wild :-( We should find a proper way to deprecate it ... 2344AMTAR='$${TAR-tar}' 2345 2346 2347# We'll loop over all known methods to create a tar archive until one works. 2348_am_tools='gnutar pax cpio none' 2349 2350am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2351 2352 2353 2354 2355 2356 2357# POSIX will say in a future version that running "rm -f" with no argument 2358# is OK; and we want to be able to make that assumption in our Makefile 2359# recipes. So use an aggressive probe to check that the usage we want is 2360# actually supported "in the wild" to an acceptable degree. 2361# See automake bug#10828. 2362# To make any issue more visible, cause the running configure to be aborted 2363# by default if the 'rm' program in use doesn't match our expectations; the 2364# user can still override this though. 2365if rm -f && rm -fr && rm -rf; then : OK; else 2366 cat >&2 <<'END' 2367Oops! 2368 2369Your 'rm' program seems unable to run without file operands specified 2370on the command line, even when the '-f' option is present. This is contrary 2371to the behaviour of most rm programs out there, and not conforming with 2372the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2373 2374Please tell bug-automake@gnu.org about your system, including the value 2375of your $PATH and any error possibly output before this message. This 2376can help us improve future automake versions. 2377 2378END 2379 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2380 echo 'Configuration will proceed anyway, since you have set the' >&2 2381 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2382 echo >&2 2383 else 2384 cat >&2 <<'END' 2385Aborting the configuration process, to ensure you take notice of the issue. 2386 2387You can download and install GNU coreutils to get an 'rm' implementation 2388that behaves properly: <http://www.gnu.org/software/coreutils/>. 2389 2390If you want to complete the configuration process using your problematic 2391'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2392to "yes", and re-run configure. 2393 2394END 2395 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2396 fi 2397fi 2398 2399 2400# Make sure we can run config.sub. 2401$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2402 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2403 2404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2405$as_echo_n "checking build system type... " >&6; } 2406if ${ac_cv_build+:} false; then : 2407 $as_echo_n "(cached) " >&6 2408else 2409 ac_build_alias=$build_alias 2410test "x$ac_build_alias" = x && 2411 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2412test "x$ac_build_alias" = x && 2413 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2414ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2415 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2416 2417fi 2418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2419$as_echo "$ac_cv_build" >&6; } 2420case $ac_cv_build in 2421*-*-*) ;; 2422*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2423esac 2424build=$ac_cv_build 2425ac_save_IFS=$IFS; IFS='-' 2426set x $ac_cv_build 2427shift 2428build_cpu=$1 2429build_vendor=$2 2430shift; shift 2431# Remember, the first character of IFS is used to create $*, 2432# except with old shells: 2433build_os=$* 2434IFS=$ac_save_IFS 2435case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2436 2437 2438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2439$as_echo_n "checking host system type... " >&6; } 2440if ${ac_cv_host+:} false; then : 2441 $as_echo_n "(cached) " >&6 2442else 2443 if test "x$host_alias" = x; then 2444 ac_cv_host=$ac_cv_build 2445else 2446 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2447 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2448fi 2449 2450fi 2451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2452$as_echo "$ac_cv_host" >&6; } 2453case $ac_cv_host in 2454*-*-*) ;; 2455*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2456esac 2457host=$ac_cv_host 2458ac_save_IFS=$IFS; IFS='-' 2459set x $ac_cv_host 2460shift 2461host_cpu=$1 2462host_vendor=$2 2463shift; shift 2464# Remember, the first character of IFS is used to create $*, 2465# except with old shells: 2466host_os=$* 2467IFS=$ac_save_IFS 2468case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2469 2470 2471 2472 2473 2474# Checks for programs. 2475 2476# Checks for libraries. 2477 2478# Checks for header files. 2479 2480# Checks for typedefs, structures, and compiler characteristics. 2481 2482# Checks for library functions. 2483 2484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the headers" >&5 2485$as_echo_n "checking whether to build the headers... " >&6; } 2486 2487# Check whether --with-headers was given. 2488if test "${with_headers+set}" = set; then : 2489 withval=$with_headers; 2490else 2491 with_headers=yes 2492fi 2493 2494 2495 2496case $with_headers in #( 2497 yes) : 2498 subdirs="$subdirs mingw-w64-headers" 2499 ;; #( 2500 no) : 2501 ;; #( 2502 *) : 2503 as_fn_error $? "Invalid argument to --with-headers: $with_headers" "$LINENO" 5 ;; 2504esac 2505 if test "x$with_headers" = xyes; then 2506 HEADER_TRUE= 2507 HEADER_FALSE='#' 2508else 2509 HEADER_TRUE='#' 2510 HEADER_FALSE= 2511fi 2512 2513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_headers" >&5 2514$as_echo "$with_headers" >&6; } 2515 2516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the crt" >&5 2517$as_echo_n "checking whether to build the crt... " >&6; } 2518 2519# Check whether --with-crt was given. 2520if test "${with_crt+set}" = set; then : 2521 withval=$with_crt; 2522else 2523 with_crt=yes 2524fi 2525 2526case $with_crt in #( 2527 yes) : 2528 subdirs="$subdirs mingw-w64-crt" 2529 ;; #( 2530 no) : 2531 ;; #( 2532 *) : 2533 as_fn_error $? "Invalid argument to --with-crt: $with_crt" "$LINENO" 5 ;; 2534esac 2535 if test "x$with_crt" = xyes; then 2536 CRT_TRUE= 2537 CRT_FALSE='#' 2538else 2539 CRT_TRUE='#' 2540 CRT_FALSE= 2541fi 2542 2543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_crt" >&5 2544$as_echo "$with_crt" >&6; } 2545 2546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the optional libraries" >&5 2547$as_echo_n "checking whether to build the optional libraries... " >&6; } 2548 2549# Check whether --with-libraries was given. 2550if test "${with_libraries+set}" = set; then : 2551 withval=$with_libraries; 2552else 2553 with_libraries=no 2554fi 2555 2556libraries="winpthreads mangle" 2557case $host_cpu in #( 2558 i?86) : 2559 2560 libraries="$libraries pseh" 2561 ;; #( 2562 *) : 2563 ;; 2564esac 2565for l in $libraries; do 2566 res=`echo "$with_libraries" | grep $l > /dev/null && echo yes || echo no` 2567 case $with_libraries in #( 2568 all|yes) : 2569 res=yes ;; #( 2570 *) : 2571 ;; 2572esac 2573 eval with_libraries_$l=\$res 2574done 2575 if test "x$with_libraries_mangle" = xyes; then 2576 LIBRARIES_MANGLE_TRUE= 2577 LIBRARIES_MANGLE_FALSE='#' 2578else 2579 LIBRARIES_MANGLE_TRUE='#' 2580 LIBRARIES_MANGLE_FALSE= 2581fi 2582 2583 if test "x$with_libraries_pseh" = xyes; then 2584 LIBRARIES_PSEH_TRUE= 2585 LIBRARIES_PSEH_FALSE='#' 2586else 2587 LIBRARIES_PSEH_TRUE='#' 2588 LIBRARIES_PSEH_FALSE= 2589fi 2590 2591 if test "x$with_libraries_winpthreads" = xyes; then 2592 LIBRARIES_WINPTHREADS_TRUE= 2593 LIBRARIES_WINPTHREADS_FALSE='#' 2594else 2595 LIBRARIES_WINPTHREADS_TRUE='#' 2596 LIBRARIES_WINPTHREADS_FALSE= 2597fi 2598 2599if test -z "$LIBRARIES_MANGLE_TRUE"; then : 2600 subdirs="$subdirs mingw-w64-libraries/libmangle" 2601 2602fi 2603if test -z "$LIBRARIES_PSEH_TRUE"; then : 2604 subdirs="$subdirs mingw-w64-libraries/pseh" 2605 2606fi 2607if test -z "$LIBRARIES_WINPTHREADS_TRUE"; then : 2608 subdirs="$subdirs mingw-w64-libraries/winpthreads" 2609 2610fi 2611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_libraries" >&5 2612$as_echo "$with_libraries" >&6; } 2613 2614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build the optional tools" >&5 2615$as_echo_n "checking whether to build the optional tools... " >&6; } 2616 2617# Check whether --with-tools was given. 2618if test "${with_tools+set}" = set; then : 2619 withval=$with_tools; 2620else 2621 with_tools=no 2622fi 2623 2624for t in gendef genidl; do 2625 res=`echo "${with_tools}" | grep $t > /dev/null && echo yes || echo no` 2626 case $with_tools in #( 2627 all|yes) : 2628 res=yes ;; #( 2629 *) : 2630 ;; 2631esac 2632 eval with_tools_$t=\$res 2633done 2634 if test "x$with_tools_gendef" = xyes; then 2635 TOOLS_GENDEF_TRUE= 2636 TOOLS_GENDEF_FALSE='#' 2637else 2638 TOOLS_GENDEF_TRUE='#' 2639 TOOLS_GENDEF_FALSE= 2640fi 2641 2642 if test "x$with_tools_genidl" = xyes; then 2643 TOOLS_GENIDL_TRUE= 2644 TOOLS_GENIDL_FALSE='#' 2645else 2646 TOOLS_GENIDL_TRUE='#' 2647 TOOLS_GENIDL_FALSE= 2648fi 2649 2650if test -z "$TOOLS_GENDEF_TRUE"; then : 2651 subdirs="$subdirs mingw-w64-tools/gendef" 2652 2653fi 2654if test -z "$TOOLS_GENIDL_TRUE"; then : 2655 subdirs="$subdirs mingw-w64-tools/genidl" 2656 2657fi 2658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_tools" >&5 2659$as_echo "$with_tools" >&6; } 2660 2661ac_config_files="$ac_config_files Makefile" 2662 2663cat >confcache <<\_ACEOF 2664# This file is a shell script that caches the results of configure 2665# tests run on this system so they can be shared between configure 2666# scripts and configure runs, see configure's option --config-cache. 2667# It is not useful on other systems. If it contains results you don't 2668# want to keep, you may remove or edit it. 2669# 2670# config.status only pays attention to the cache file if you give it 2671# the --recheck option to rerun configure. 2672# 2673# `ac_cv_env_foo' variables (set or unset) will be overridden when 2674# loading this file, other *unset* `ac_cv_foo' will be assigned the 2675# following values. 2676 2677_ACEOF 2678 2679# The following way of writing the cache mishandles newlines in values, 2680# but we know of no workaround that is simple, portable, and efficient. 2681# So, we kill variables containing newlines. 2682# Ultrix sh set writes to stderr and can't be redirected directly, 2683# and sets the high bit in the cache file unless we assign to the vars. 2684( 2685 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 2686 eval ac_val=\$$ac_var 2687 case $ac_val in #( 2688 *${as_nl}*) 2689 case $ac_var in #( 2690 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2691$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2692 esac 2693 case $ac_var in #( 2694 _ | IFS | as_nl) ;; #( 2695 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2696 *) { eval $ac_var=; unset $ac_var;} ;; 2697 esac ;; 2698 esac 2699 done 2700 2701 (set) 2>&1 | 2702 case $as_nl`(ac_space=' '; set) 2>&1` in #( 2703 *${as_nl}ac_space=\ *) 2704 # `set' does not quote correctly, so add quotes: double-quote 2705 # substitution turns \\\\ into \\, and sed turns \\ into \. 2706 sed -n \ 2707 "s/'/'\\\\''/g; 2708 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2709 ;; #( 2710 *) 2711 # `set' quotes correctly as required by POSIX, so do not add quotes. 2712 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2713 ;; 2714 esac | 2715 sort 2716) | 2717 sed ' 2718 /^ac_cv_env_/b end 2719 t clear 2720 :clear 2721 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 2722 t end 2723 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2724 :end' >>confcache 2725if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 2726 if test -w "$cache_file"; then 2727 if test "x$cache_file" != "x/dev/null"; then 2728 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 2729$as_echo "$as_me: updating cache $cache_file" >&6;} 2730 if test ! -f "$cache_file" || test -h "$cache_file"; then 2731 cat confcache >"$cache_file" 2732 else 2733 case $cache_file in #( 2734 */* | ?:*) 2735 mv -f confcache "$cache_file"$$ && 2736 mv -f "$cache_file"$$ "$cache_file" ;; #( 2737 *) 2738 mv -f confcache "$cache_file" ;; 2739 esac 2740 fi 2741 fi 2742 else 2743 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 2744$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 2745 fi 2746fi 2747rm -f confcache 2748 2749test "x$prefix" = xNONE && prefix=$ac_default_prefix 2750# Let make expand exec_prefix. 2751test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2752 2753DEFS=-DHAVE_CONFIG_H 2754 2755ac_libobjs= 2756ac_ltlibobjs= 2757U= 2758for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2759 # 1. Remove the extension, and $U if already installed. 2760 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 2761 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 2762 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 2763 # will be set to the directory where LIBOBJS objects are built. 2764 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 2765 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 2766done 2767LIBOBJS=$ac_libobjs 2768 2769LTLIBOBJS=$ac_ltlibobjs 2770 2771 2772if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 2773 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 2774Usually this means the macro was only invoked conditionally." "$LINENO" 5 2775fi 2776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 2777$as_echo_n "checking that generated files are newer than configure... " >&6; } 2778 if test -n "$am_sleep_pid"; then 2779 # Hide warnings about reused PIDs. 2780 wait $am_sleep_pid 2>/dev/null 2781 fi 2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 2783$as_echo "done" >&6; } 2784 2785if test -z "${HEADER_TRUE}" && test -z "${HEADER_FALSE}"; then 2786 as_fn_error $? "conditional \"HEADER\" was never defined. 2787Usually this means the macro was only invoked conditionally." "$LINENO" 5 2788fi 2789if test -z "${CRT_TRUE}" && test -z "${CRT_FALSE}"; then 2790 as_fn_error $? "conditional \"CRT\" was never defined. 2791Usually this means the macro was only invoked conditionally." "$LINENO" 5 2792fi 2793if test -z "${LIBRARIES_MANGLE_TRUE}" && test -z "${LIBRARIES_MANGLE_FALSE}"; then 2794 as_fn_error $? "conditional \"LIBRARIES_MANGLE\" was never defined. 2795Usually this means the macro was only invoked conditionally." "$LINENO" 5 2796fi 2797if test -z "${LIBRARIES_PSEH_TRUE}" && test -z "${LIBRARIES_PSEH_FALSE}"; then 2798 as_fn_error $? "conditional \"LIBRARIES_PSEH\" was never defined. 2799Usually this means the macro was only invoked conditionally." "$LINENO" 5 2800fi 2801if test -z "${LIBRARIES_WINPTHREADS_TRUE}" && test -z "${LIBRARIES_WINPTHREADS_FALSE}"; then 2802 as_fn_error $? "conditional \"LIBRARIES_WINPTHREADS\" was never defined. 2803Usually this means the macro was only invoked conditionally." "$LINENO" 5 2804fi 2805if test -z "${TOOLS_GENDEF_TRUE}" && test -z "${TOOLS_GENDEF_FALSE}"; then 2806 as_fn_error $? "conditional \"TOOLS_GENDEF\" was never defined. 2807Usually this means the macro was only invoked conditionally." "$LINENO" 5 2808fi 2809if test -z "${TOOLS_GENIDL_TRUE}" && test -z "${TOOLS_GENIDL_FALSE}"; then 2810 as_fn_error $? "conditional \"TOOLS_GENIDL\" was never defined. 2811Usually this means the macro was only invoked conditionally." "$LINENO" 5 2812fi 2813 2814: "${CONFIG_STATUS=./config.status}" 2815ac_write_fail=0 2816ac_clean_files_save=$ac_clean_files 2817ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2818{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 2819$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 2820as_write_fail=0 2821cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 2822#! $SHELL 2823# Generated by $as_me. 2824# Run this file to recreate the current configuration. 2825# Compiler output produced by configure, useful for debugging 2826# configure, is in config.log if it exists. 2827 2828debug=false 2829ac_cs_recheck=false 2830ac_cs_silent=false 2831 2832SHELL=\${CONFIG_SHELL-$SHELL} 2833export SHELL 2834_ASEOF 2835cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 2836## -------------------- ## 2837## M4sh Initialization. ## 2838## -------------------- ## 2839 2840# Be more Bourne compatible 2841DUALCASE=1; export DUALCASE # for MKS sh 2842if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 2843 emulate sh 2844 NULLCMD=: 2845 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2846 # is contrary to our usage. Disable this feature. 2847 alias -g '${1+"$@"}'='"$@"' 2848 setopt NO_GLOB_SUBST 2849else 2850 case `(set -o) 2>/dev/null` in #( 2851 *posix*) : 2852 set -o posix ;; #( 2853 *) : 2854 ;; 2855esac 2856fi 2857 2858 2859as_nl=' 2860' 2861export as_nl 2862# Printing a long string crashes Solaris 7 /usr/bin/printf. 2863as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 2864as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 2865as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 2866# Prefer a ksh shell builtin over an external printf program on Solaris, 2867# but without wasting forks for bash or zsh. 2868if test -z "$BASH_VERSION$ZSH_VERSION" \ 2869 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 2870 as_echo='print -r --' 2871 as_echo_n='print -rn --' 2872elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 2873 as_echo='printf %s\n' 2874 as_echo_n='printf %s' 2875else 2876 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 2877 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 2878 as_echo_n='/usr/ucb/echo -n' 2879 else 2880 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 2881 as_echo_n_body='eval 2882 arg=$1; 2883 case $arg in #( 2884 *"$as_nl"*) 2885 expr "X$arg" : "X\\(.*\\)$as_nl"; 2886 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 2887 esac; 2888 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 2889 ' 2890 export as_echo_n_body 2891 as_echo_n='sh -c $as_echo_n_body as_echo' 2892 fi 2893 export as_echo_body 2894 as_echo='sh -c $as_echo_body as_echo' 2895fi 2896 2897# The user is always right. 2898if test "${PATH_SEPARATOR+set}" != set; then 2899 PATH_SEPARATOR=: 2900 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 2901 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 2902 PATH_SEPARATOR=';' 2903 } 2904fi 2905 2906 2907# IFS 2908# We need space, tab and new line, in precisely that order. Quoting is 2909# there to prevent editors from complaining about space-tab. 2910# (If _AS_PATH_WALK were called with IFS unset, it would disable word 2911# splitting by setting IFS to empty value.) 2912IFS=" "" $as_nl" 2913 2914# Find who we are. Look in the path if we contain no directory separator. 2915as_myself= 2916case $0 in #(( 2917 *[\\/]* ) as_myself=$0 ;; 2918 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2919for as_dir in $PATH 2920do 2921 IFS=$as_save_IFS 2922 test -z "$as_dir" && as_dir=. 2923 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 2924 done 2925IFS=$as_save_IFS 2926 2927 ;; 2928esac 2929# We did not find ourselves, most probably we were run as `sh COMMAND' 2930# in which case we are not to be found in the path. 2931if test "x$as_myself" = x; then 2932 as_myself=$0 2933fi 2934if test ! -f "$as_myself"; then 2935 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 2936 exit 1 2937fi 2938 2939# Unset variables that we do not need and which cause bugs (e.g. in 2940# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 2941# suppresses any "Segmentation fault" message there. '((' could 2942# trigger a bug in pdksh 5.2.14. 2943for as_var in BASH_ENV ENV MAIL MAILPATH 2944do eval test x\${$as_var+set} = xset \ 2945 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 2946done 2947PS1='$ ' 2948PS2='> ' 2949PS4='+ ' 2950 2951# NLS nuisances. 2952LC_ALL=C 2953export LC_ALL 2954LANGUAGE=C 2955export LANGUAGE 2956 2957# CDPATH. 2958(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 2959 2960 2961# as_fn_error STATUS ERROR [LINENO LOG_FD] 2962# ---------------------------------------- 2963# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 2964# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 2965# script with STATUS, using 1 if that was 0. 2966as_fn_error () 2967{ 2968 as_status=$1; test $as_status -eq 0 && as_status=1 2969 if test "$4"; then 2970 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2971 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 2972 fi 2973 $as_echo "$as_me: error: $2" >&2 2974 as_fn_exit $as_status 2975} # as_fn_error 2976 2977 2978# as_fn_set_status STATUS 2979# ----------------------- 2980# Set $? to STATUS, without forking. 2981as_fn_set_status () 2982{ 2983 return $1 2984} # as_fn_set_status 2985 2986# as_fn_exit STATUS 2987# ----------------- 2988# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2989as_fn_exit () 2990{ 2991 set +e 2992 as_fn_set_status $1 2993 exit $1 2994} # as_fn_exit 2995 2996# as_fn_unset VAR 2997# --------------- 2998# Portably unset VAR. 2999as_fn_unset () 3000{ 3001 { eval $1=; unset $1;} 3002} 3003as_unset=as_fn_unset 3004# as_fn_append VAR VALUE 3005# ---------------------- 3006# Append the text in VALUE to the end of the definition contained in VAR. Take 3007# advantage of any shell optimizations that allow amortized linear growth over 3008# repeated appends, instead of the typical quadratic growth present in naive 3009# implementations. 3010if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3011 eval 'as_fn_append () 3012 { 3013 eval $1+=\$2 3014 }' 3015else 3016 as_fn_append () 3017 { 3018 eval $1=\$$1\$2 3019 } 3020fi # as_fn_append 3021 3022# as_fn_arith ARG... 3023# ------------------ 3024# Perform arithmetic evaluation on the ARGs, and store the result in the 3025# global $as_val. Take advantage of shells that can avoid forks. The arguments 3026# must be portable across $(()) and expr. 3027if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3028 eval 'as_fn_arith () 3029 { 3030 as_val=$(( $* )) 3031 }' 3032else 3033 as_fn_arith () 3034 { 3035 as_val=`expr "$@" || test $? -eq 1` 3036 } 3037fi # as_fn_arith 3038 3039 3040if expr a : '\(a\)' >/dev/null 2>&1 && 3041 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3042 as_expr=expr 3043else 3044 as_expr=false 3045fi 3046 3047if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3048 as_basename=basename 3049else 3050 as_basename=false 3051fi 3052 3053if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3054 as_dirname=dirname 3055else 3056 as_dirname=false 3057fi 3058 3059as_me=`$as_basename -- "$0" || 3060$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3061 X"$0" : 'X\(//\)$' \| \ 3062 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3063$as_echo X/"$0" | 3064 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3065 s//\1/ 3066 q 3067 } 3068 /^X\/\(\/\/\)$/{ 3069 s//\1/ 3070 q 3071 } 3072 /^X\/\(\/\).*/{ 3073 s//\1/ 3074 q 3075 } 3076 s/.*/./; q'` 3077 3078# Avoid depending upon Character Ranges. 3079as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3080as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3081as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3082as_cr_digits='0123456789' 3083as_cr_alnum=$as_cr_Letters$as_cr_digits 3084 3085ECHO_C= ECHO_N= ECHO_T= 3086case `echo -n x` in #((((( 3087-n*) 3088 case `echo 'xy\c'` in 3089 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3090 xy) ECHO_C='\c';; 3091 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3092 ECHO_T=' ';; 3093 esac;; 3094*) 3095 ECHO_N='-n';; 3096esac 3097 3098rm -f conf$$ conf$$.exe conf$$.file 3099if test -d conf$$.dir; then 3100 rm -f conf$$.dir/conf$$.file 3101else 3102 rm -f conf$$.dir 3103 mkdir conf$$.dir 2>/dev/null 3104fi 3105if (echo >conf$$.file) 2>/dev/null; then 3106 if ln -s conf$$.file conf$$ 2>/dev/null; then 3107 as_ln_s='ln -s' 3108 # ... but there are two gotchas: 3109 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3110 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3111 # In both cases, we have to default to `cp -pR'. 3112 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3113 as_ln_s='cp -pR' 3114 elif ln conf$$.file conf$$ 2>/dev/null; then 3115 as_ln_s=ln 3116 else 3117 as_ln_s='cp -pR' 3118 fi 3119else 3120 as_ln_s='cp -pR' 3121fi 3122rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3123rmdir conf$$.dir 2>/dev/null 3124 3125 3126# as_fn_mkdir_p 3127# ------------- 3128# Create "$as_dir" as a directory, including parents if necessary. 3129as_fn_mkdir_p () 3130{ 3131 3132 case $as_dir in #( 3133 -*) as_dir=./$as_dir;; 3134 esac 3135 test -d "$as_dir" || eval $as_mkdir_p || { 3136 as_dirs= 3137 while :; do 3138 case $as_dir in #( 3139 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3140 *) as_qdir=$as_dir;; 3141 esac 3142 as_dirs="'$as_qdir' $as_dirs" 3143 as_dir=`$as_dirname -- "$as_dir" || 3144$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3145 X"$as_dir" : 'X\(//\)[^/]' \| \ 3146 X"$as_dir" : 'X\(//\)$' \| \ 3147 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3148$as_echo X"$as_dir" | 3149 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3150 s//\1/ 3151 q 3152 } 3153 /^X\(\/\/\)[^/].*/{ 3154 s//\1/ 3155 q 3156 } 3157 /^X\(\/\/\)$/{ 3158 s//\1/ 3159 q 3160 } 3161 /^X\(\/\).*/{ 3162 s//\1/ 3163 q 3164 } 3165 s/.*/./; q'` 3166 test -d "$as_dir" && break 3167 done 3168 test -z "$as_dirs" || eval "mkdir $as_dirs" 3169 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3170 3171 3172} # as_fn_mkdir_p 3173if mkdir -p . 2>/dev/null; then 3174 as_mkdir_p='mkdir -p "$as_dir"' 3175else 3176 test -d ./-p && rmdir ./-p 3177 as_mkdir_p=false 3178fi 3179 3180 3181# as_fn_executable_p FILE 3182# ----------------------- 3183# Test if FILE is an executable regular file. 3184as_fn_executable_p () 3185{ 3186 test -f "$1" && test -x "$1" 3187} # as_fn_executable_p 3188as_test_x='test -x' 3189as_executable_p=as_fn_executable_p 3190 3191# Sed expression to map a string onto a valid CPP name. 3192as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3193 3194# Sed expression to map a string onto a valid variable name. 3195as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3196 3197 3198exec 6>&1 3199## ----------------------------------- ## 3200## Main body of $CONFIG_STATUS script. ## 3201## ----------------------------------- ## 3202_ASEOF 3203test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3204 3205cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3206# Save the log message, to keep $0 and so on meaningful, and to 3207# report actual input values of CONFIG_FILES etc. instead of their 3208# values after options handling. 3209ac_log=" 3210This file was extended by mingw-w64 $as_me 4.0b, which was 3211generated by GNU Autoconf 2.69. Invocation command line was 3212 3213 CONFIG_FILES = $CONFIG_FILES 3214 CONFIG_HEADERS = $CONFIG_HEADERS 3215 CONFIG_LINKS = $CONFIG_LINKS 3216 CONFIG_COMMANDS = $CONFIG_COMMANDS 3217 $ $0 $@ 3218 3219on `(hostname || uname -n) 2>/dev/null | sed 1q` 3220" 3221 3222_ACEOF 3223 3224case $ac_config_files in *" 3225"*) set x $ac_config_files; shift; ac_config_files=$*;; 3226esac 3227 3228case $ac_config_headers in *" 3229"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 3230esac 3231 3232 3233cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3234# Files that config.status was made for. 3235config_files="$ac_config_files" 3236config_headers="$ac_config_headers" 3237 3238_ACEOF 3239 3240cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3241ac_cs_usage="\ 3242\`$as_me' instantiates files and other configuration actions 3243from templates according to the current configuration. Unless the files 3244and actions are specified as TAGs, all are instantiated by default. 3245 3246Usage: $0 [OPTION]... [TAG]... 3247 3248 -h, --help print this help, then exit 3249 -V, --version print version number and configuration settings, then exit 3250 --config print configuration, then exit 3251 -q, --quiet, --silent 3252 do not print progress messages 3253 -d, --debug don't remove temporary files 3254 --recheck update $as_me by reconfiguring in the same conditions 3255 --file=FILE[:TEMPLATE] 3256 instantiate the configuration file FILE 3257 --header=FILE[:TEMPLATE] 3258 instantiate the configuration header FILE 3259 3260Configuration files: 3261$config_files 3262 3263Configuration headers: 3264$config_headers 3265 3266Report bugs to <mingw-w64-public@lists.sourceforge.net>." 3267 3268_ACEOF 3269cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3270ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 3271ac_cs_version="\\ 3272mingw-w64 config.status 4.0b 3273configured by $0, generated by GNU Autoconf 2.69, 3274 with options \\"\$ac_cs_config\\" 3275 3276Copyright (C) 2012 Free Software Foundation, Inc. 3277This config.status script is free software; the Free Software Foundation 3278gives unlimited permission to copy, distribute and modify it." 3279 3280ac_pwd='$ac_pwd' 3281srcdir='$srcdir' 3282INSTALL='$INSTALL' 3283MKDIR_P='$MKDIR_P' 3284AWK='$AWK' 3285test -n "\$AWK" || AWK=awk 3286_ACEOF 3287 3288cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3289# The default lists apply if the user does not specify any file. 3290ac_need_defaults=: 3291while test $# != 0 3292do 3293 case $1 in 3294 --*=?*) 3295 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3296 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3297 ac_shift=: 3298 ;; 3299 --*=) 3300 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3301 ac_optarg= 3302 ac_shift=: 3303 ;; 3304 *) 3305 ac_option=$1 3306 ac_optarg=$2 3307 ac_shift=shift 3308 ;; 3309 esac 3310 3311 case $ac_option in 3312 # Handling of the options. 3313 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3314 ac_cs_recheck=: ;; 3315 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3316 $as_echo "$ac_cs_version"; exit ;; 3317 --config | --confi | --conf | --con | --co | --c ) 3318 $as_echo "$ac_cs_config"; exit ;; 3319 --debug | --debu | --deb | --de | --d | -d ) 3320 debug=: ;; 3321 --file | --fil | --fi | --f ) 3322 $ac_shift 3323 case $ac_optarg in 3324 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3325 '') as_fn_error $? "missing file argument" ;; 3326 esac 3327 as_fn_append CONFIG_FILES " '$ac_optarg'" 3328 ac_need_defaults=false;; 3329 --header | --heade | --head | --hea ) 3330 $ac_shift 3331 case $ac_optarg in 3332 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3333 esac 3334 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 3335 ac_need_defaults=false;; 3336 --he | --h) 3337 # Conflict between --help and --header 3338 as_fn_error $? "ambiguous option: \`$1' 3339Try \`$0 --help' for more information.";; 3340 --help | --hel | -h ) 3341 $as_echo "$ac_cs_usage"; exit ;; 3342 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3343 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3344 ac_cs_silent=: ;; 3345 3346 # This is an error. 3347 -*) as_fn_error $? "unrecognized option: \`$1' 3348Try \`$0 --help' for more information." ;; 3349 3350 *) as_fn_append ac_config_targets " $1" 3351 ac_need_defaults=false ;; 3352 3353 esac 3354 shift 3355done 3356 3357ac_configure_extra_args= 3358 3359if $ac_cs_silent; then 3360 exec 6>/dev/null 3361 ac_configure_extra_args="$ac_configure_extra_args --silent" 3362fi 3363 3364_ACEOF 3365cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3366if \$ac_cs_recheck; then 3367 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3368 shift 3369 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 3370 CONFIG_SHELL='$SHELL' 3371 export CONFIG_SHELL 3372 exec "\$@" 3373fi 3374 3375_ACEOF 3376cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3377exec 5>>config.log 3378{ 3379 echo 3380 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3381## Running $as_me. ## 3382_ASBOX 3383 $as_echo "$ac_log" 3384} >&5 3385 3386_ACEOF 3387cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3388_ACEOF 3389 3390cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3391 3392# Handling of arguments. 3393for ac_config_target in $ac_config_targets 3394do 3395 case $ac_config_target in 3396 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 3397 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3398 3399 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3400 esac 3401done 3402 3403 3404# If the user did not use the arguments to specify the items to instantiate, 3405# then the envvar interface is used. Set only those that are not. 3406# We use the long form for the default assignment because of an extremely 3407# bizarre bug on SunOS 4.1.3. 3408if $ac_need_defaults; then 3409 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3410 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 3411fi 3412 3413# Have a temporary directory for convenience. Make it in the build tree 3414# simply because there is no reason against having it here, and in addition, 3415# creating and moving files from /tmp can sometimes cause problems. 3416# Hook for its removal unless debugging. 3417# Note that there is a small window in which the directory will not be cleaned: 3418# after its creation but before its name has been assigned to `$tmp'. 3419$debug || 3420{ 3421 tmp= ac_tmp= 3422 trap 'exit_status=$? 3423 : "${ac_tmp:=$tmp}" 3424 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 3425' 0 3426 trap 'as_fn_exit 1' 1 2 13 15 3427} 3428# Create a (secure) tmp directory for tmp files. 3429 3430{ 3431 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3432 test -d "$tmp" 3433} || 3434{ 3435 tmp=./conf$$-$RANDOM 3436 (umask 077 && mkdir "$tmp") 3437} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 3438ac_tmp=$tmp 3439 3440# Set up the scripts for CONFIG_FILES section. 3441# No need to generate them if there are no CONFIG_FILES. 3442# This happens for instance with `./config.status config.h'. 3443if test -n "$CONFIG_FILES"; then 3444 3445 3446ac_cr=`echo X | tr X '\015'` 3447# On cygwin, bash can eat \r inside `` if the user requested igncr. 3448# But we know of no other shell where ac_cr would be empty at this 3449# point, so we can use a bashism as a fallback. 3450if test "x$ac_cr" = x; then 3451 eval ac_cr=\$\'\\r\' 3452fi 3453ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3454if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3455 ac_cs_awk_cr='\\r' 3456else 3457 ac_cs_awk_cr=$ac_cr 3458fi 3459 3460echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 3461_ACEOF 3462 3463 3464{ 3465 echo "cat >conf$$subs.awk <<_ACEOF" && 3466 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 3467 echo "_ACEOF" 3468} >conf$$subs.sh || 3469 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3470ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 3471ac_delim='%!_!# ' 3472for ac_last_try in false false false false false :; do 3473 . ./conf$$subs.sh || 3474 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3475 3476 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 3477 if test $ac_delim_n = $ac_delim_num; then 3478 break 3479 elif $ac_last_try; then 3480 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3481 else 3482 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3483 fi 3484done 3485rm -f conf$$subs.sh 3486 3487cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3488cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 3489_ACEOF 3490sed -n ' 3491h 3492s/^/S["/; s/!.*/"]=/ 3493p 3494g 3495s/^[^!]*!// 3496:repl 3497t repl 3498s/'"$ac_delim"'$// 3499t delim 3500:nl 3501h 3502s/\(.\{148\}\)..*/\1/ 3503t more1 3504s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 3505p 3506n 3507b repl 3508:more1 3509s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3510p 3511g 3512s/.\{148\}// 3513t nl 3514:delim 3515h 3516s/\(.\{148\}\)..*/\1/ 3517t more2 3518s/["\\]/\\&/g; s/^/"/; s/$/"/ 3519p 3520b 3521:more2 3522s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3523p 3524g 3525s/.\{148\}// 3526t delim 3527' <conf$$subs.awk | sed ' 3528/^[^""]/{ 3529 N 3530 s/\n// 3531} 3532' >>$CONFIG_STATUS || ac_write_fail=1 3533rm -f conf$$subs.awk 3534cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3535_ACAWK 3536cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 3537 for (key in S) S_is_set[key] = 1 3538 FS = "" 3539 3540} 3541{ 3542 line = $ 0 3543 nfields = split(line, field, "@") 3544 substed = 0 3545 len = length(field[1]) 3546 for (i = 2; i < nfields; i++) { 3547 key = field[i] 3548 keylen = length(key) 3549 if (S_is_set[key]) { 3550 value = S[key] 3551 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 3552 len += length(value) + length(field[++i]) 3553 substed = 1 3554 } else 3555 len += 1 + keylen 3556 } 3557 3558 print line 3559} 3560 3561_ACAWK 3562_ACEOF 3563cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3564if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 3565 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 3566else 3567 cat 3568fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 3569 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 3570_ACEOF 3571 3572# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 3573# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 3574# trailing colons and then remove the whole line if VPATH becomes empty 3575# (actually we leave an empty line to preserve line numbers). 3576if test "x$srcdir" = x.; then 3577 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 3578h 3579s/// 3580s/^/:/ 3581s/[ ]*$/:/ 3582s/:\$(srcdir):/:/g 3583s/:\${srcdir}:/:/g 3584s/:@srcdir@:/:/g 3585s/^:*// 3586s/:*$// 3587x 3588s/\(=[ ]*\).*/\1/ 3589G 3590s/\n// 3591s/^[^=]*=[ ]*$// 3592}' 3593fi 3594 3595cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3596fi # test -n "$CONFIG_FILES" 3597 3598# Set up the scripts for CONFIG_HEADERS section. 3599# No need to generate them if there are no CONFIG_HEADERS. 3600# This happens for instance with `./config.status Makefile'. 3601if test -n "$CONFIG_HEADERS"; then 3602cat >"$ac_tmp/defines.awk" <<\_ACAWK || 3603BEGIN { 3604_ACEOF 3605 3606# Transform confdefs.h into an awk script `defines.awk', embedded as 3607# here-document in config.status, that substitutes the proper values into 3608# config.h.in to produce config.h. 3609 3610# Create a delimiter string that does not exist in confdefs.h, to ease 3611# handling of long lines. 3612ac_delim='%!_!# ' 3613for ac_last_try in false false :; do 3614 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 3615 if test -z "$ac_tt"; then 3616 break 3617 elif $ac_last_try; then 3618 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 3619 else 3620 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3621 fi 3622done 3623 3624# For the awk script, D is an array of macro values keyed by name, 3625# likewise P contains macro parameters if any. Preserve backslash 3626# newline sequences. 3627 3628ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 3629sed -n ' 3630s/.\{148\}/&'"$ac_delim"'/g 3631t rset 3632:rset 3633s/^[ ]*#[ ]*define[ ][ ]*/ / 3634t def 3635d 3636:def 3637s/\\$// 3638t bsnl 3639s/["\\]/\\&/g 3640s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 3641D["\1"]=" \3"/p 3642s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 3643d 3644:bsnl 3645s/["\\]/\\&/g 3646s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 3647D["\1"]=" \3\\\\\\n"\\/p 3648t cont 3649s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 3650t cont 3651d 3652:cont 3653n 3654s/.\{148\}/&'"$ac_delim"'/g 3655t clear 3656:clear 3657s/\\$// 3658t bsnlc 3659s/["\\]/\\&/g; s/^/"/; s/$/"/p 3660d 3661:bsnlc 3662s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 3663b cont 3664' <confdefs.h | sed ' 3665s/'"$ac_delim"'/"\\\ 3666"/g' >>$CONFIG_STATUS || ac_write_fail=1 3667 3668cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3669 for (key in D) D_is_set[key] = 1 3670 FS = "" 3671} 3672/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 3673 line = \$ 0 3674 split(line, arg, " ") 3675 if (arg[1] == "#") { 3676 defundef = arg[2] 3677 mac1 = arg[3] 3678 } else { 3679 defundef = substr(arg[1], 2) 3680 mac1 = arg[2] 3681 } 3682 split(mac1, mac2, "(") #) 3683 macro = mac2[1] 3684 prefix = substr(line, 1, index(line, defundef) - 1) 3685 if (D_is_set[macro]) { 3686 # Preserve the white space surrounding the "#". 3687 print prefix "define", macro P[macro] D[macro] 3688 next 3689 } else { 3690 # Replace #undef with comments. This is necessary, for example, 3691 # in the case of _POSIX_SOURCE, which is predefined and required 3692 # on some systems where configure will not decide to define it. 3693 if (defundef == "undef") { 3694 print "/*", prefix defundef, macro, "*/" 3695 next 3696 } 3697 } 3698} 3699{ print } 3700_ACAWK 3701_ACEOF 3702cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3703 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 3704fi # test -n "$CONFIG_HEADERS" 3705 3706 3707eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 3708shift 3709for ac_tag 3710do 3711 case $ac_tag in 3712 :[FHLC]) ac_mode=$ac_tag; continue;; 3713 esac 3714 case $ac_mode$ac_tag in 3715 :[FHL]*:*);; 3716 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 3717 :[FH]-) ac_tag=-:-;; 3718 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3719 esac 3720 ac_save_IFS=$IFS 3721 IFS=: 3722 set x $ac_tag 3723 IFS=$ac_save_IFS 3724 shift 3725 ac_file=$1 3726 shift 3727 3728 case $ac_mode in 3729 :L) ac_source=$1;; 3730 :[FH]) 3731 ac_file_inputs= 3732 for ac_f 3733 do 3734 case $ac_f in 3735 -) ac_f="$ac_tmp/stdin";; 3736 *) # Look for the file first in the build tree, then in the source tree 3737 # (if the path is not absolute). The absolute path cannot be DOS-style, 3738 # because $ac_f cannot contain `:'. 3739 test -f "$ac_f" || 3740 case $ac_f in 3741 [\\/$]*) false;; 3742 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3743 esac || 3744 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 3745 esac 3746 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 3747 as_fn_append ac_file_inputs " '$ac_f'" 3748 done 3749 3750 # Let's still pretend it is `configure' which instantiates (i.e., don't 3751 # use $as_me), people would be surprised to read: 3752 # /* config.h. Generated by config.status. */ 3753 configure_input='Generated from '` 3754 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 3755 `' by configure.' 3756 if test x"$ac_file" != x-; then 3757 configure_input="$ac_file. $configure_input" 3758 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 3759$as_echo "$as_me: creating $ac_file" >&6;} 3760 fi 3761 # Neutralize special characters interpreted by sed in replacement strings. 3762 case $configure_input in #( 3763 *\&* | *\|* | *\\* ) 3764 ac_sed_conf_input=`$as_echo "$configure_input" | 3765 sed 's/[\\\\&|]/\\\\&/g'`;; #( 3766 *) ac_sed_conf_input=$configure_input;; 3767 esac 3768 3769 case $ac_tag in 3770 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 3771 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 3772 esac 3773 ;; 3774 esac 3775 3776 ac_dir=`$as_dirname -- "$ac_file" || 3777$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3778 X"$ac_file" : 'X\(//\)[^/]' \| \ 3779 X"$ac_file" : 'X\(//\)$' \| \ 3780 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 3781$as_echo X"$ac_file" | 3782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3783 s//\1/ 3784 q 3785 } 3786 /^X\(\/\/\)[^/].*/{ 3787 s//\1/ 3788 q 3789 } 3790 /^X\(\/\/\)$/{ 3791 s//\1/ 3792 q 3793 } 3794 /^X\(\/\).*/{ 3795 s//\1/ 3796 q 3797 } 3798 s/.*/./; q'` 3799 as_dir="$ac_dir"; as_fn_mkdir_p 3800 ac_builddir=. 3801 3802case "$ac_dir" in 3803.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 3804*) 3805 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 3806 # A ".." for each directory in $ac_dir_suffix. 3807 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 3808 case $ac_top_builddir_sub in 3809 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 3810 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 3811 esac ;; 3812esac 3813ac_abs_top_builddir=$ac_pwd 3814ac_abs_builddir=$ac_pwd$ac_dir_suffix 3815# for backward compatibility: 3816ac_top_builddir=$ac_top_build_prefix 3817 3818case $srcdir in 3819 .) # We are building in place. 3820 ac_srcdir=. 3821 ac_top_srcdir=$ac_top_builddir_sub 3822 ac_abs_top_srcdir=$ac_pwd ;; 3823 [\\/]* | ?:[\\/]* ) # Absolute name. 3824 ac_srcdir=$srcdir$ac_dir_suffix; 3825 ac_top_srcdir=$srcdir 3826 ac_abs_top_srcdir=$srcdir ;; 3827 *) # Relative name. 3828 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 3829 ac_top_srcdir=$ac_top_build_prefix$srcdir 3830 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 3831esac 3832ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 3833 3834 3835 case $ac_mode in 3836 :F) 3837 # 3838 # CONFIG_FILE 3839 # 3840 3841 case $INSTALL in 3842 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 3843 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 3844 esac 3845 ac_MKDIR_P=$MKDIR_P 3846 case $MKDIR_P in 3847 [\\/$]* | ?:[\\/]* ) ;; 3848 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 3849 esac 3850_ACEOF 3851 3852cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3853# If the template does not know about datarootdir, expand it. 3854# FIXME: This hack should be removed a few years after 2.60. 3855ac_datarootdir_hack=; ac_datarootdir_seen= 3856ac_sed_dataroot=' 3857/datarootdir/ { 3858 p 3859 q 3860} 3861/@datadir@/p 3862/@docdir@/p 3863/@infodir@/p 3864/@localedir@/p 3865/@mandir@/p' 3866case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 3867*datarootdir*) ac_datarootdir_seen=yes;; 3868*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 3869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 3870$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 3871_ACEOF 3872cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3873 ac_datarootdir_hack=' 3874 s&@datadir@&$datadir&g 3875 s&@docdir@&$docdir&g 3876 s&@infodir@&$infodir&g 3877 s&@localedir@&$localedir&g 3878 s&@mandir@&$mandir&g 3879 s&\\\${datarootdir}&$datarootdir&g' ;; 3880esac 3881_ACEOF 3882 3883# Neutralize VPATH when `$srcdir' = `.'. 3884# Shell code in configure.ac might set extrasub. 3885# FIXME: do we really want to maintain this feature? 3886cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3887ac_sed_extra="$ac_vpsub 3888$extrasub 3889_ACEOF 3890cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3891:t 3892/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3893s|@configure_input@|$ac_sed_conf_input|;t t 3894s&@top_builddir@&$ac_top_builddir_sub&;t t 3895s&@top_build_prefix@&$ac_top_build_prefix&;t t 3896s&@srcdir@&$ac_srcdir&;t t 3897s&@abs_srcdir@&$ac_abs_srcdir&;t t 3898s&@top_srcdir@&$ac_top_srcdir&;t t 3899s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 3900s&@builddir@&$ac_builddir&;t t 3901s&@abs_builddir@&$ac_abs_builddir&;t t 3902s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 3903s&@INSTALL@&$ac_INSTALL&;t t 3904s&@MKDIR_P@&$ac_MKDIR_P&;t t 3905$ac_datarootdir_hack 3906" 3907eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 3908 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3909 3910test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 3911 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 3912 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 3913 "$ac_tmp/out"`; test -z "$ac_out"; } && 3914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3915which seems to be undefined. Please make sure it is defined" >&5 3916$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3917which seems to be undefined. Please make sure it is defined" >&2;} 3918 3919 rm -f "$ac_tmp/stdin" 3920 case $ac_file in 3921 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 3922 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 3923 esac \ 3924 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3925 ;; 3926 :H) 3927 # 3928 # CONFIG_HEADER 3929 # 3930 if test x"$ac_file" != x-; then 3931 { 3932 $as_echo "/* $configure_input */" \ 3933 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 3934 } >"$ac_tmp/config.h" \ 3935 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3936 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 3937 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 3938$as_echo "$as_me: $ac_file is unchanged" >&6;} 3939 else 3940 rm -f "$ac_file" 3941 mv "$ac_tmp/config.h" "$ac_file" \ 3942 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3943 fi 3944 else 3945 $as_echo "/* $configure_input */" \ 3946 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 3947 || as_fn_error $? "could not create -" "$LINENO" 5 3948 fi 3949# Compute "$ac_file"'s index in $config_headers. 3950_am_arg="$ac_file" 3951_am_stamp_count=1 3952for _am_header in $config_headers :; do 3953 case $_am_header in 3954 $_am_arg | $_am_arg:* ) 3955 break ;; 3956 * ) 3957 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 3958 esac 3959done 3960echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 3961$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3962 X"$_am_arg" : 'X\(//\)[^/]' \| \ 3963 X"$_am_arg" : 'X\(//\)$' \| \ 3964 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 3965$as_echo X"$_am_arg" | 3966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3967 s//\1/ 3968 q 3969 } 3970 /^X\(\/\/\)[^/].*/{ 3971 s//\1/ 3972 q 3973 } 3974 /^X\(\/\/\)$/{ 3975 s//\1/ 3976 q 3977 } 3978 /^X\(\/\).*/{ 3979 s//\1/ 3980 q 3981 } 3982 s/.*/./; q'`/stamp-h$_am_stamp_count 3983 ;; 3984 3985 3986 esac 3987 3988done # for ac_tag 3989 3990 3991as_fn_exit 0 3992_ACEOF 3993ac_clean_files=$ac_clean_files_save 3994 3995test $ac_write_fail = 0 || 3996 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 3997 3998 3999# configure is writing to config.log, and then calls config.status. 4000# config.status does its own redirection, appending to config.log. 4001# Unfortunately, on DOS this fails, as config.log is still kept open 4002# by configure, so config.status won't be able to write to it; its 4003# output is simply discarded. So we exec the FD to /dev/null, 4004# effectively closing config.log, so it can be properly (re)opened and 4005# appended to by config.status. When coming back to configure, we 4006# need to make the FD available again. 4007if test "$no_create" != yes; then 4008 ac_cs_success=: 4009 ac_config_status_args= 4010 test "$silent" = yes && 4011 ac_config_status_args="$ac_config_status_args --quiet" 4012 exec 5>/dev/null 4013 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4014 exec 5>>config.log 4015 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4016 # would make configure fail if this is the last instruction. 4017 $ac_cs_success || as_fn_exit 1 4018fi 4019 4020# 4021# CONFIG_SUBDIRS section. 4022# 4023if test "$no_recursion" != yes; then 4024 4025 # Remove --cache-file, --srcdir, and --disable-option-checking arguments 4026 # so they do not pile up. 4027 ac_sub_configure_args= 4028 ac_prev= 4029 eval "set x $ac_configure_args" 4030 shift 4031 for ac_arg 4032 do 4033 if test -n "$ac_prev"; then 4034 ac_prev= 4035 continue 4036 fi 4037 case $ac_arg in 4038 -cache-file | --cache-file | --cache-fil | --cache-fi \ 4039 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 4040 ac_prev=cache_file ;; 4041 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 4042 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 4043 | --c=*) 4044 ;; 4045 --config-cache | -C) 4046 ;; 4047 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 4048 ac_prev=srcdir ;; 4049 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 4050 ;; 4051 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 4052 ac_prev=prefix ;; 4053 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 4054 ;; 4055 --disable-option-checking) 4056 ;; 4057 *) 4058 case $ac_arg in 4059 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 4060 esac 4061 as_fn_append ac_sub_configure_args " '$ac_arg'" ;; 4062 esac 4063 done 4064 4065 # Always prepend --prefix to ensure using the same prefix 4066 # in subdir configurations. 4067 ac_arg="--prefix=$prefix" 4068 case $ac_arg in 4069 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 4070 esac 4071 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" 4072 4073 # Pass --silent 4074 if test "$silent" = yes; then 4075 ac_sub_configure_args="--silent $ac_sub_configure_args" 4076 fi 4077 4078 # Always prepend --disable-option-checking to silence warnings, since 4079 # different subdirs can have different --enable and --with options. 4080 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" 4081 4082 ac_popdir=`pwd` 4083 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 4084 4085 # Do not complain, so a configure script can configure whichever 4086 # parts of a large source tree are present. 4087 test -d "$srcdir/$ac_dir" || continue 4088 4089 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" 4090 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 4091 $as_echo "$ac_msg" >&6 4092 as_dir="$ac_dir"; as_fn_mkdir_p 4093 ac_builddir=. 4094 4095case "$ac_dir" in 4096.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4097*) 4098 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 4099 # A ".." for each directory in $ac_dir_suffix. 4100 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4101 case $ac_top_builddir_sub in 4102 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4103 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4104 esac ;; 4105esac 4106ac_abs_top_builddir=$ac_pwd 4107ac_abs_builddir=$ac_pwd$ac_dir_suffix 4108# for backward compatibility: 4109ac_top_builddir=$ac_top_build_prefix 4110 4111case $srcdir in 4112 .) # We are building in place. 4113 ac_srcdir=. 4114 ac_top_srcdir=$ac_top_builddir_sub 4115 ac_abs_top_srcdir=$ac_pwd ;; 4116 [\\/]* | ?:[\\/]* ) # Absolute name. 4117 ac_srcdir=$srcdir$ac_dir_suffix; 4118 ac_top_srcdir=$srcdir 4119 ac_abs_top_srcdir=$srcdir ;; 4120 *) # Relative name. 4121 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4122 ac_top_srcdir=$ac_top_build_prefix$srcdir 4123 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4124esac 4125ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4126 4127 4128 cd "$ac_dir" 4129 4130 # Check for guested configure; otherwise get Cygnus style configure. 4131 if test -f "$ac_srcdir/configure.gnu"; then 4132 ac_sub_configure=$ac_srcdir/configure.gnu 4133 elif test -f "$ac_srcdir/configure"; then 4134 ac_sub_configure=$ac_srcdir/configure 4135 elif test -f "$ac_srcdir/configure.in"; then 4136 # This should be Cygnus configure. 4137 ac_sub_configure=$ac_aux_dir/configure 4138 else 4139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 4140$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 4141 ac_sub_configure= 4142 fi 4143 4144 # The recursion is here. 4145 if test -n "$ac_sub_configure"; then 4146 # Make the cache file name correct relative to the subdirectory. 4147 case $cache_file in 4148 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; 4149 *) # Relative name. 4150 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; 4151 esac 4152 4153 { $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 4154$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 4155 # The eval makes quoting arguments work. 4156 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ 4157 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || 4158 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 4159 fi 4160 4161 cd "$ac_popdir" 4162 done 4163fi 4164if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4166$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4167fi 4168 4169 4170