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