1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for mingw-w64-libmangle 1.0. 4# 5# Report bugs to <mingw-w64-public@lists.sf.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.sf.net about your system, 271$0: 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-libmangle' 582PACKAGE_TARNAME='mingw-w64-libmangle' 583PACKAGE_VERSION='1.0' 584PACKAGE_STRING='mingw-w64-libmangle 1.0' 585PACKAGE_BUGREPORT='mingw-w64-public@lists.sf.net' 586PACKAGE_URL='' 587 588ac_unique_file="src/m_token.c" 589# Factoring default headers for most tests. 590ac_includes_default="\ 591#include <stdio.h> 592#ifdef HAVE_SYS_TYPES_H 593# include <sys/types.h> 594#endif 595#ifdef HAVE_SYS_STAT_H 596# include <sys/stat.h> 597#endif 598#ifdef STDC_HEADERS 599# include <stdlib.h> 600# include <stddef.h> 601#else 602# ifdef HAVE_STDLIB_H 603# include <stdlib.h> 604# endif 605#endif 606#ifdef HAVE_STRING_H 607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 608# include <memory.h> 609# endif 610# include <string.h> 611#endif 612#ifdef HAVE_STRINGS_H 613# include <strings.h> 614#endif 615#ifdef HAVE_INTTYPES_H 616# include <inttypes.h> 617#endif 618#ifdef HAVE_STDINT_H 619# include <stdint.h> 620#endif 621#ifdef HAVE_UNISTD_H 622# include <unistd.h> 623#endif" 624 625ac_subst_vars='am__EXEEXT_FALSE 626am__EXEEXT_TRUE 627LTLIBOBJS 628LIBOBJS 629EGREP 630GREP 631CPP 632ac_ct_AR 633AR 634RANLIB 635am__fastdepCC_FALSE 636am__fastdepCC_TRUE 637CCDEPMODE 638am__nodep 639AMDEPBACKSLASH 640AMDEP_FALSE 641AMDEP_TRUE 642am__quote 643am__include 644DEPDIR 645OBJEXT 646EXEEXT 647ac_ct_CC 648CPPFLAGS 649LDFLAGS 650CFLAGS 651CC 652MAINT 653MAINTAINER_MODE_FALSE 654MAINTAINER_MODE_TRUE 655AM_BACKSLASH 656AM_DEFAULT_VERBOSITY 657AM_DEFAULT_V 658AM_V 659am__untar 660am__tar 661AMTAR 662am__leading_dot 663SET_MAKE 664AWK 665mkdir_p 666MKDIR_P 667INSTALL_STRIP_PROGRAM 668STRIP 669install_sh 670MAKEINFO 671AUTOHEADER 672AUTOMAKE 673AUTOCONF 674ACLOCAL 675VERSION 676PACKAGE 677CYGPATH_W 678am__isrc 679INSTALL_DATA 680INSTALL_SCRIPT 681INSTALL_PROGRAM 682target_alias 683host_alias 684build_alias 685LIBS 686ECHO_T 687ECHO_N 688ECHO_C 689DEFS 690mandir 691localedir 692libdir 693psdir 694pdfdir 695dvidir 696htmldir 697infodir 698docdir 699oldincludedir 700includedir 701localstatedir 702sharedstatedir 703sysconfdir 704datadir 705datarootdir 706libexecdir 707sbindir 708bindir 709program_transform_name 710prefix 711exec_prefix 712PACKAGE_URL 713PACKAGE_BUGREPORT 714PACKAGE_STRING 715PACKAGE_VERSION 716PACKAGE_TARNAME 717PACKAGE_NAME 718PATH_SEPARATOR 719SHELL' 720ac_subst_files='' 721ac_user_opts=' 722enable_option_checking 723enable_silent_rules 724enable_maintainer_mode 725enable_dependency_tracking 726' 727 ac_precious_vars='build_alias 728host_alias 729target_alias 730CC 731CFLAGS 732LDFLAGS 733LIBS 734CPPFLAGS 735CPP' 736 737 738# Initialize some variables set by options. 739ac_init_help= 740ac_init_version=false 741ac_unrecognized_opts= 742ac_unrecognized_sep= 743# The variables have the same names as the options, with 744# dashes changed to underlines. 745cache_file=/dev/null 746exec_prefix=NONE 747no_create= 748no_recursion= 749prefix=NONE 750program_prefix=NONE 751program_suffix=NONE 752program_transform_name=s,x,x, 753silent= 754site= 755srcdir= 756verbose= 757x_includes=NONE 758x_libraries=NONE 759 760# Installation directory options. 761# These are left unexpanded so users can "make install exec_prefix=/foo" 762# and all the variables that are supposed to be based on exec_prefix 763# by default will actually change. 764# Use braces instead of parens because sh, perl, etc. also accept them. 765# (The list follows the same order as the GNU Coding Standards.) 766bindir='${exec_prefix}/bin' 767sbindir='${exec_prefix}/sbin' 768libexecdir='${exec_prefix}/libexec' 769datarootdir='${prefix}/share' 770datadir='${datarootdir}' 771sysconfdir='${prefix}/etc' 772sharedstatedir='${prefix}/com' 773localstatedir='${prefix}/var' 774includedir='${prefix}/include' 775oldincludedir='/usr/include' 776docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 777infodir='${datarootdir}/info' 778htmldir='${docdir}' 779dvidir='${docdir}' 780pdfdir='${docdir}' 781psdir='${docdir}' 782libdir='${exec_prefix}/lib' 783localedir='${datarootdir}/locale' 784mandir='${datarootdir}/man' 785 786ac_prev= 787ac_dashdash= 788for ac_option 789do 790 # If the previous option needs an argument, assign it. 791 if test -n "$ac_prev"; then 792 eval $ac_prev=\$ac_option 793 ac_prev= 794 continue 795 fi 796 797 case $ac_option in 798 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 799 *=) ac_optarg= ;; 800 *) ac_optarg=yes ;; 801 esac 802 803 # Accept the important Cygnus configure options, so we can diagnose typos. 804 805 case $ac_dashdash$ac_option in 806 --) 807 ac_dashdash=yes ;; 808 809 -bindir | --bindir | --bindi | --bind | --bin | --bi) 810 ac_prev=bindir ;; 811 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 812 bindir=$ac_optarg ;; 813 814 -build | --build | --buil | --bui | --bu) 815 ac_prev=build_alias ;; 816 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 817 build_alias=$ac_optarg ;; 818 819 -cache-file | --cache-file | --cache-fil | --cache-fi \ 820 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 821 ac_prev=cache_file ;; 822 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 823 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 824 cache_file=$ac_optarg ;; 825 826 --config-cache | -C) 827 cache_file=config.cache ;; 828 829 -datadir | --datadir | --datadi | --datad) 830 ac_prev=datadir ;; 831 -datadir=* | --datadir=* | --datadi=* | --datad=*) 832 datadir=$ac_optarg ;; 833 834 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 835 | --dataroo | --dataro | --datar) 836 ac_prev=datarootdir ;; 837 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 838 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 839 datarootdir=$ac_optarg ;; 840 841 -disable-* | --disable-*) 842 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 843 # Reject names that are not valid shell variable names. 844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 845 as_fn_error $? "invalid feature name: $ac_useropt" 846 ac_useropt_orig=$ac_useropt 847 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 848 case $ac_user_opts in 849 *" 850"enable_$ac_useropt" 851"*) ;; 852 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 853 ac_unrecognized_sep=', ';; 854 esac 855 eval enable_$ac_useropt=no ;; 856 857 -docdir | --docdir | --docdi | --doc | --do) 858 ac_prev=docdir ;; 859 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 860 docdir=$ac_optarg ;; 861 862 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 863 ac_prev=dvidir ;; 864 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 865 dvidir=$ac_optarg ;; 866 867 -enable-* | --enable-*) 868 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 869 # Reject names that are not valid shell variable names. 870 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 871 as_fn_error $? "invalid feature name: $ac_useropt" 872 ac_useropt_orig=$ac_useropt 873 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 874 case $ac_user_opts in 875 *" 876"enable_$ac_useropt" 877"*) ;; 878 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 879 ac_unrecognized_sep=', ';; 880 esac 881 eval enable_$ac_useropt=\$ac_optarg ;; 882 883 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 884 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 885 | --exec | --exe | --ex) 886 ac_prev=exec_prefix ;; 887 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 888 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 889 | --exec=* | --exe=* | --ex=*) 890 exec_prefix=$ac_optarg ;; 891 892 -gas | --gas | --ga | --g) 893 # Obsolete; use --with-gas. 894 with_gas=yes ;; 895 896 -help | --help | --hel | --he | -h) 897 ac_init_help=long ;; 898 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 899 ac_init_help=recursive ;; 900 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 901 ac_init_help=short ;; 902 903 -host | --host | --hos | --ho) 904 ac_prev=host_alias ;; 905 -host=* | --host=* | --hos=* | --ho=*) 906 host_alias=$ac_optarg ;; 907 908 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 909 ac_prev=htmldir ;; 910 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 911 | --ht=*) 912 htmldir=$ac_optarg ;; 913 914 -includedir | --includedir | --includedi | --included | --include \ 915 | --includ | --inclu | --incl | --inc) 916 ac_prev=includedir ;; 917 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 918 | --includ=* | --inclu=* | --incl=* | --inc=*) 919 includedir=$ac_optarg ;; 920 921 -infodir | --infodir | --infodi | --infod | --info | --inf) 922 ac_prev=infodir ;; 923 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 924 infodir=$ac_optarg ;; 925 926 -libdir | --libdir | --libdi | --libd) 927 ac_prev=libdir ;; 928 -libdir=* | --libdir=* | --libdi=* | --libd=*) 929 libdir=$ac_optarg ;; 930 931 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 932 | --libexe | --libex | --libe) 933 ac_prev=libexecdir ;; 934 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 935 | --libexe=* | --libex=* | --libe=*) 936 libexecdir=$ac_optarg ;; 937 938 -localedir | --localedir | --localedi | --localed | --locale) 939 ac_prev=localedir ;; 940 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 941 localedir=$ac_optarg ;; 942 943 -localstatedir | --localstatedir | --localstatedi | --localstated \ 944 | --localstate | --localstat | --localsta | --localst | --locals) 945 ac_prev=localstatedir ;; 946 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 947 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 948 localstatedir=$ac_optarg ;; 949 950 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 951 ac_prev=mandir ;; 952 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 953 mandir=$ac_optarg ;; 954 955 -nfp | --nfp | --nf) 956 # Obsolete; use --without-fp. 957 with_fp=no ;; 958 959 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 960 | --no-cr | --no-c | -n) 961 no_create=yes ;; 962 963 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 964 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 965 no_recursion=yes ;; 966 967 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 968 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 969 | --oldin | --oldi | --old | --ol | --o) 970 ac_prev=oldincludedir ;; 971 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 972 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 973 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 974 oldincludedir=$ac_optarg ;; 975 976 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 977 ac_prev=prefix ;; 978 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 979 prefix=$ac_optarg ;; 980 981 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 982 | --program-pre | --program-pr | --program-p) 983 ac_prev=program_prefix ;; 984 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 985 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 986 program_prefix=$ac_optarg ;; 987 988 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 989 | --program-suf | --program-su | --program-s) 990 ac_prev=program_suffix ;; 991 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 992 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 993 program_suffix=$ac_optarg ;; 994 995 -program-transform-name | --program-transform-name \ 996 | --program-transform-nam | --program-transform-na \ 997 | --program-transform-n | --program-transform- \ 998 | --program-transform | --program-transfor \ 999 | --program-transfo | --program-transf \ 1000 | --program-trans | --program-tran \ 1001 | --progr-tra | --program-tr | --program-t) 1002 ac_prev=program_transform_name ;; 1003 -program-transform-name=* | --program-transform-name=* \ 1004 | --program-transform-nam=* | --program-transform-na=* \ 1005 | --program-transform-n=* | --program-transform-=* \ 1006 | --program-transform=* | --program-transfor=* \ 1007 | --program-transfo=* | --program-transf=* \ 1008 | --program-trans=* | --program-tran=* \ 1009 | --progr-tra=* | --program-tr=* | --program-t=*) 1010 program_transform_name=$ac_optarg ;; 1011 1012 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1013 ac_prev=pdfdir ;; 1014 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1015 pdfdir=$ac_optarg ;; 1016 1017 -psdir | --psdir | --psdi | --psd | --ps) 1018 ac_prev=psdir ;; 1019 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1020 psdir=$ac_optarg ;; 1021 1022 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1023 | -silent | --silent | --silen | --sile | --sil) 1024 silent=yes ;; 1025 1026 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1027 ac_prev=sbindir ;; 1028 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1029 | --sbi=* | --sb=*) 1030 sbindir=$ac_optarg ;; 1031 1032 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1033 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1034 | --sharedst | --shareds | --shared | --share | --shar \ 1035 | --sha | --sh) 1036 ac_prev=sharedstatedir ;; 1037 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1038 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1039 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1040 | --sha=* | --sh=*) 1041 sharedstatedir=$ac_optarg ;; 1042 1043 -site | --site | --sit) 1044 ac_prev=site ;; 1045 -site=* | --site=* | --sit=*) 1046 site=$ac_optarg ;; 1047 1048 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1049 ac_prev=srcdir ;; 1050 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1051 srcdir=$ac_optarg ;; 1052 1053 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1054 | --syscon | --sysco | --sysc | --sys | --sy) 1055 ac_prev=sysconfdir ;; 1056 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1057 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1058 sysconfdir=$ac_optarg ;; 1059 1060 -target | --target | --targe | --targ | --tar | --ta | --t) 1061 ac_prev=target_alias ;; 1062 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1063 target_alias=$ac_optarg ;; 1064 1065 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1066 verbose=yes ;; 1067 1068 -version | --version | --versio | --versi | --vers | -V) 1069 ac_init_version=: ;; 1070 1071 -with-* | --with-*) 1072 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1073 # Reject names that are not valid shell variable names. 1074 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1075 as_fn_error $? "invalid package name: $ac_useropt" 1076 ac_useropt_orig=$ac_useropt 1077 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1078 case $ac_user_opts in 1079 *" 1080"with_$ac_useropt" 1081"*) ;; 1082 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1083 ac_unrecognized_sep=', ';; 1084 esac 1085 eval with_$ac_useropt=\$ac_optarg ;; 1086 1087 -without-* | --without-*) 1088 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1089 # Reject names that are not valid shell variable names. 1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1091 as_fn_error $? "invalid package name: $ac_useropt" 1092 ac_useropt_orig=$ac_useropt 1093 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1094 case $ac_user_opts in 1095 *" 1096"with_$ac_useropt" 1097"*) ;; 1098 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1099 ac_unrecognized_sep=', ';; 1100 esac 1101 eval with_$ac_useropt=no ;; 1102 1103 --x) 1104 # Obsolete; use --with-x. 1105 with_x=yes ;; 1106 1107 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1108 | --x-incl | --x-inc | --x-in | --x-i) 1109 ac_prev=x_includes ;; 1110 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1111 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1112 x_includes=$ac_optarg ;; 1113 1114 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1115 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1116 ac_prev=x_libraries ;; 1117 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1118 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1119 x_libraries=$ac_optarg ;; 1120 1121 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1122Try \`$0 --help' for more information" 1123 ;; 1124 1125 *=*) 1126 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1127 # Reject names that are not valid shell variable names. 1128 case $ac_envvar in #( 1129 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1130 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1131 esac 1132 eval $ac_envvar=\$ac_optarg 1133 export $ac_envvar ;; 1134 1135 *) 1136 # FIXME: should be removed in autoconf 3.0. 1137 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1138 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1139 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1140 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1141 ;; 1142 1143 esac 1144done 1145 1146if test -n "$ac_prev"; then 1147 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1148 as_fn_error $? "missing argument to $ac_option" 1149fi 1150 1151if test -n "$ac_unrecognized_opts"; then 1152 case $enable_option_checking in 1153 no) ;; 1154 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1155 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1156 esac 1157fi 1158 1159# Check all directory arguments for consistency. 1160for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1161 datadir sysconfdir sharedstatedir localstatedir includedir \ 1162 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1163 libdir localedir mandir 1164do 1165 eval ac_val=\$$ac_var 1166 # Remove trailing slashes. 1167 case $ac_val in 1168 */ ) 1169 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1170 eval $ac_var=\$ac_val;; 1171 esac 1172 # Be sure to have absolute directory names. 1173 case $ac_val in 1174 [\\/$]* | ?:[\\/]* ) continue;; 1175 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1176 esac 1177 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1178done 1179 1180# There might be people who depend on the old broken behavior: `$host' 1181# used to hold the argument of --host etc. 1182# FIXME: To remove some day. 1183build=$build_alias 1184host=$host_alias 1185target=$target_alias 1186 1187# FIXME: To remove some day. 1188if test "x$host_alias" != x; then 1189 if test "x$build_alias" = x; then 1190 cross_compiling=maybe 1191 elif test "x$build_alias" != "x$host_alias"; then 1192 cross_compiling=yes 1193 fi 1194fi 1195 1196ac_tool_prefix= 1197test -n "$host_alias" && ac_tool_prefix=$host_alias- 1198 1199test "$silent" = yes && exec 6>/dev/null 1200 1201 1202ac_pwd=`pwd` && test -n "$ac_pwd" && 1203ac_ls_di=`ls -di .` && 1204ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1205 as_fn_error $? "working directory cannot be determined" 1206test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1207 as_fn_error $? "pwd does not report name of working directory" 1208 1209 1210# Find the source files, if location was not specified. 1211if test -z "$srcdir"; then 1212 ac_srcdir_defaulted=yes 1213 # Try the directory containing this script, then the parent directory. 1214 ac_confdir=`$as_dirname -- "$as_myself" || 1215$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1216 X"$as_myself" : 'X\(//\)[^/]' \| \ 1217 X"$as_myself" : 'X\(//\)$' \| \ 1218 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1219$as_echo X"$as_myself" | 1220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1221 s//\1/ 1222 q 1223 } 1224 /^X\(\/\/\)[^/].*/{ 1225 s//\1/ 1226 q 1227 } 1228 /^X\(\/\/\)$/{ 1229 s//\1/ 1230 q 1231 } 1232 /^X\(\/\).*/{ 1233 s//\1/ 1234 q 1235 } 1236 s/.*/./; q'` 1237 srcdir=$ac_confdir 1238 if test ! -r "$srcdir/$ac_unique_file"; then 1239 srcdir=.. 1240 fi 1241else 1242 ac_srcdir_defaulted=no 1243fi 1244if test ! -r "$srcdir/$ac_unique_file"; then 1245 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1246 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1247fi 1248ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1249ac_abs_confdir=`( 1250 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1251 pwd)` 1252# When building in place, set srcdir=. 1253if test "$ac_abs_confdir" = "$ac_pwd"; then 1254 srcdir=. 1255fi 1256# Remove unnecessary trailing slashes from srcdir. 1257# Double slashes in file names in object file debugging info 1258# mess up M-x gdb in Emacs. 1259case $srcdir in 1260*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1261esac 1262for ac_var in $ac_precious_vars; do 1263 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1264 eval ac_env_${ac_var}_value=\$${ac_var} 1265 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1266 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1267done 1268 1269# 1270# Report the --help message. 1271# 1272if test "$ac_init_help" = "long"; then 1273 # Omit some internal or obsolete options to make the list less imposing. 1274 # This message is too long to be a string in the A/UX 3.1 sh. 1275 cat <<_ACEOF 1276\`configure' configures mingw-w64-libmangle 1.0 to adapt to many kinds of systems. 1277 1278Usage: $0 [OPTION]... [VAR=VALUE]... 1279 1280To assign environment variables (e.g., CC, CFLAGS...), specify them as 1281VAR=VALUE. See below for descriptions of some of the useful variables. 1282 1283Defaults for the options are specified in brackets. 1284 1285Configuration: 1286 -h, --help display this help and exit 1287 --help=short display options specific to this package 1288 --help=recursive display the short help of all the included packages 1289 -V, --version display version information and exit 1290 -q, --quiet, --silent do not print \`checking ...' messages 1291 --cache-file=FILE cache test results in FILE [disabled] 1292 -C, --config-cache alias for \`--cache-file=config.cache' 1293 -n, --no-create do not create output files 1294 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1295 1296Installation directories: 1297 --prefix=PREFIX install architecture-independent files in PREFIX 1298 [$ac_default_prefix] 1299 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1300 [PREFIX] 1301 1302By default, \`make install' will install all the files in 1303\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1304an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1305for instance \`--prefix=\$HOME'. 1306 1307For better control, use the options below. 1308 1309Fine tuning of the installation directories: 1310 --bindir=DIR user executables [EPREFIX/bin] 1311 --sbindir=DIR system admin executables [EPREFIX/sbin] 1312 --libexecdir=DIR program executables [EPREFIX/libexec] 1313 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1314 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1315 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1316 --libdir=DIR object code libraries [EPREFIX/lib] 1317 --includedir=DIR C header files [PREFIX/include] 1318 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1319 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1320 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1321 --infodir=DIR info documentation [DATAROOTDIR/info] 1322 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1323 --mandir=DIR man documentation [DATAROOTDIR/man] 1324 --docdir=DIR documentation root 1325 [DATAROOTDIR/doc/mingw-w64-libmangle] 1326 --htmldir=DIR html documentation [DOCDIR] 1327 --dvidir=DIR dvi documentation [DOCDIR] 1328 --pdfdir=DIR pdf documentation [DOCDIR] 1329 --psdir=DIR ps documentation [DOCDIR] 1330_ACEOF 1331 1332 cat <<\_ACEOF 1333 1334Program names: 1335 --program-prefix=PREFIX prepend PREFIX to installed program names 1336 --program-suffix=SUFFIX append SUFFIX to installed program names 1337 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1338_ACEOF 1339fi 1340 1341if test -n "$ac_init_help"; then 1342 case $ac_init_help in 1343 short | recursive ) echo "Configuration of mingw-w64-libmangle 1.0:";; 1344 esac 1345 cat <<\_ACEOF 1346 1347Optional Features: 1348 --disable-option-checking ignore unrecognized --enable/--with options 1349 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1350 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1351 --enable-silent-rules less verbose build output (undo: "make V=1") 1352 --disable-silent-rules verbose build output (undo: "make V=0") 1353 --enable-maintainer-mode 1354 enable make rules and dependencies not useful (and 1355 sometimes confusing) to the casual installer 1356 --enable-dependency-tracking 1357 do not reject slow dependency extractors 1358 --disable-dependency-tracking 1359 speeds up one-time build 1360 1361Some influential environment variables: 1362 CC C compiler command 1363 CFLAGS C compiler flags 1364 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1365 nonstandard directory <lib dir> 1366 LIBS libraries to pass to the linker, e.g. -l<library> 1367 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1368 you have headers in a nonstandard directory <include dir> 1369 CPP C preprocessor 1370 1371Use these variables to override the choices made by `configure' or to help 1372it to find libraries and programs with nonstandard names/locations. 1373 1374Report bugs to <mingw-w64-public@lists.sf.net>. 1375_ACEOF 1376ac_status=$? 1377fi 1378 1379if test "$ac_init_help" = "recursive"; then 1380 # If there are subdirs, report their specific --help. 1381 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1382 test -d "$ac_dir" || 1383 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1384 continue 1385 ac_builddir=. 1386 1387case "$ac_dir" in 1388.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1389*) 1390 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1391 # A ".." for each directory in $ac_dir_suffix. 1392 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1393 case $ac_top_builddir_sub in 1394 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1395 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1396 esac ;; 1397esac 1398ac_abs_top_builddir=$ac_pwd 1399ac_abs_builddir=$ac_pwd$ac_dir_suffix 1400# for backward compatibility: 1401ac_top_builddir=$ac_top_build_prefix 1402 1403case $srcdir in 1404 .) # We are building in place. 1405 ac_srcdir=. 1406 ac_top_srcdir=$ac_top_builddir_sub 1407 ac_abs_top_srcdir=$ac_pwd ;; 1408 [\\/]* | ?:[\\/]* ) # Absolute name. 1409 ac_srcdir=$srcdir$ac_dir_suffix; 1410 ac_top_srcdir=$srcdir 1411 ac_abs_top_srcdir=$srcdir ;; 1412 *) # Relative name. 1413 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1414 ac_top_srcdir=$ac_top_build_prefix$srcdir 1415 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1416esac 1417ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1418 1419 cd "$ac_dir" || { ac_status=$?; continue; } 1420 # Check for guested configure. 1421 if test -f "$ac_srcdir/configure.gnu"; then 1422 echo && 1423 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1424 elif test -f "$ac_srcdir/configure"; then 1425 echo && 1426 $SHELL "$ac_srcdir/configure" --help=recursive 1427 else 1428 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1429 fi || ac_status=$? 1430 cd "$ac_pwd" || { ac_status=$?; break; } 1431 done 1432fi 1433 1434test -n "$ac_init_help" && exit $ac_status 1435if $ac_init_version; then 1436 cat <<\_ACEOF 1437mingw-w64-libmangle configure 1.0 1438generated by GNU Autoconf 2.69 1439 1440Copyright (C) 2012 Free Software Foundation, Inc. 1441This configure script is free software; the Free Software Foundation 1442gives unlimited permission to copy, distribute and modify it. 1443_ACEOF 1444 exit 1445fi 1446 1447## ------------------------ ## 1448## Autoconf initialization. ## 1449## ------------------------ ## 1450 1451# ac_fn_c_try_compile LINENO 1452# -------------------------- 1453# Try to compile conftest.$ac_ext, and return whether this succeeded. 1454ac_fn_c_try_compile () 1455{ 1456 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1457 rm -f conftest.$ac_objext 1458 if { { ac_try="$ac_compile" 1459case "(($ac_try" in 1460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1461 *) ac_try_echo=$ac_try;; 1462esac 1463eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1464$as_echo "$ac_try_echo"; } >&5 1465 (eval "$ac_compile") 2>conftest.err 1466 ac_status=$? 1467 if test -s conftest.err; then 1468 grep -v '^ *+' conftest.err >conftest.er1 1469 cat conftest.er1 >&5 1470 mv -f conftest.er1 conftest.err 1471 fi 1472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1473 test $ac_status = 0; } && { 1474 test -z "$ac_c_werror_flag" || 1475 test ! -s conftest.err 1476 } && test -s conftest.$ac_objext; then : 1477 ac_retval=0 1478else 1479 $as_echo "$as_me: failed program was:" >&5 1480sed 's/^/| /' conftest.$ac_ext >&5 1481 1482 ac_retval=1 1483fi 1484 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1485 as_fn_set_status $ac_retval 1486 1487} # ac_fn_c_try_compile 1488 1489# ac_fn_c_try_cpp LINENO 1490# ---------------------- 1491# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1492ac_fn_c_try_cpp () 1493{ 1494 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1495 if { { ac_try="$ac_cpp conftest.$ac_ext" 1496case "(($ac_try" in 1497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1498 *) ac_try_echo=$ac_try;; 1499esac 1500eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1501$as_echo "$ac_try_echo"; } >&5 1502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1503 ac_status=$? 1504 if test -s conftest.err; then 1505 grep -v '^ *+' conftest.err >conftest.er1 1506 cat conftest.er1 >&5 1507 mv -f conftest.er1 conftest.err 1508 fi 1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1510 test $ac_status = 0; } > conftest.i && { 1511 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1512 test ! -s conftest.err 1513 }; then : 1514 ac_retval=0 1515else 1516 $as_echo "$as_me: failed program was:" >&5 1517sed 's/^/| /' conftest.$ac_ext >&5 1518 1519 ac_retval=1 1520fi 1521 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1522 as_fn_set_status $ac_retval 1523 1524} # ac_fn_c_try_cpp 1525 1526# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1527# ------------------------------------------------------- 1528# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1529# the include files in INCLUDES and setting the cache variable VAR 1530# accordingly. 1531ac_fn_c_check_header_mongrel () 1532{ 1533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1534 if eval \${$3+:} false; then : 1535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1536$as_echo_n "checking for $2... " >&6; } 1537if eval \${$3+:} false; then : 1538 $as_echo_n "(cached) " >&6 1539fi 1540eval ac_res=\$$3 1541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1542$as_echo "$ac_res" >&6; } 1543else 1544 # Is the header compilable? 1545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1546$as_echo_n "checking $2 usability... " >&6; } 1547cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1548/* end confdefs.h. */ 1549$4 1550#include <$2> 1551_ACEOF 1552if ac_fn_c_try_compile "$LINENO"; then : 1553 ac_header_compiler=yes 1554else 1555 ac_header_compiler=no 1556fi 1557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1559$as_echo "$ac_header_compiler" >&6; } 1560 1561# Is the header present? 1562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1563$as_echo_n "checking $2 presence... " >&6; } 1564cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1565/* end confdefs.h. */ 1566#include <$2> 1567_ACEOF 1568if ac_fn_c_try_cpp "$LINENO"; then : 1569 ac_header_preproc=yes 1570else 1571 ac_header_preproc=no 1572fi 1573rm -f conftest.err conftest.i conftest.$ac_ext 1574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1575$as_echo "$ac_header_preproc" >&6; } 1576 1577# So? What about this header? 1578case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1579 yes:no: ) 1580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1581$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1583$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1584 ;; 1585 no:yes:* ) 1586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1587$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1589$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1591$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1593$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1595$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1596( $as_echo "## -------------------------------------------- ## 1597## Report this to mingw-w64-public@lists.sf.net ## 1598## -------------------------------------------- ##" 1599 ) | sed "s/^/$as_me: WARNING: /" >&2 1600 ;; 1601esac 1602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1603$as_echo_n "checking for $2... " >&6; } 1604if eval \${$3+:} false; then : 1605 $as_echo_n "(cached) " >&6 1606else 1607 eval "$3=\$ac_header_compiler" 1608fi 1609eval ac_res=\$$3 1610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1611$as_echo "$ac_res" >&6; } 1612fi 1613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1614 1615} # ac_fn_c_check_header_mongrel 1616 1617# ac_fn_c_try_run LINENO 1618# ---------------------- 1619# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1620# that executables *can* be run. 1621ac_fn_c_try_run () 1622{ 1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1624 if { { ac_try="$ac_link" 1625case "(($ac_try" in 1626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1627 *) ac_try_echo=$ac_try;; 1628esac 1629eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1630$as_echo "$ac_try_echo"; } >&5 1631 (eval "$ac_link") 2>&5 1632 ac_status=$? 1633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1634 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1635 { { case "(($ac_try" in 1636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1637 *) ac_try_echo=$ac_try;; 1638esac 1639eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1640$as_echo "$ac_try_echo"; } >&5 1641 (eval "$ac_try") 2>&5 1642 ac_status=$? 1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1644 test $ac_status = 0; }; }; then : 1645 ac_retval=0 1646else 1647 $as_echo "$as_me: program exited with status $ac_status" >&5 1648 $as_echo "$as_me: failed program was:" >&5 1649sed 's/^/| /' conftest.$ac_ext >&5 1650 1651 ac_retval=$ac_status 1652fi 1653 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1655 as_fn_set_status $ac_retval 1656 1657} # ac_fn_c_try_run 1658 1659# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1660# ------------------------------------------------------- 1661# Tests whether HEADER exists and can be compiled using the include files in 1662# INCLUDES, setting the cache variable VAR accordingly. 1663ac_fn_c_check_header_compile () 1664{ 1665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1667$as_echo_n "checking for $2... " >&6; } 1668if eval \${$3+:} false; then : 1669 $as_echo_n "(cached) " >&6 1670else 1671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1672/* end confdefs.h. */ 1673$4 1674#include <$2> 1675_ACEOF 1676if ac_fn_c_try_compile "$LINENO"; then : 1677 eval "$3=yes" 1678else 1679 eval "$3=no" 1680fi 1681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1682fi 1683eval ac_res=\$$3 1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1685$as_echo "$ac_res" >&6; } 1686 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1687 1688} # ac_fn_c_check_header_compile 1689 1690# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1691# ------------------------------------------- 1692# Tests whether TYPE exists after having included INCLUDES, setting cache 1693# variable VAR accordingly. 1694ac_fn_c_check_type () 1695{ 1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1698$as_echo_n "checking for $2... " >&6; } 1699if eval \${$3+:} false; then : 1700 $as_echo_n "(cached) " >&6 1701else 1702 eval "$3=no" 1703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1704/* end confdefs.h. */ 1705$4 1706int 1707main () 1708{ 1709if (sizeof ($2)) 1710 return 0; 1711 ; 1712 return 0; 1713} 1714_ACEOF 1715if ac_fn_c_try_compile "$LINENO"; then : 1716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1717/* end confdefs.h. */ 1718$4 1719int 1720main () 1721{ 1722if (sizeof (($2))) 1723 return 0; 1724 ; 1725 return 0; 1726} 1727_ACEOF 1728if ac_fn_c_try_compile "$LINENO"; then : 1729 1730else 1731 eval "$3=yes" 1732fi 1733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1734fi 1735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1736fi 1737eval ac_res=\$$3 1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1739$as_echo "$ac_res" >&6; } 1740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1741 1742} # ac_fn_c_check_type 1743 1744# ac_fn_c_find_uintX_t LINENO BITS VAR 1745# ------------------------------------ 1746# Finds an unsigned integer type with width BITS, setting cache variable VAR 1747# accordingly. 1748ac_fn_c_find_uintX_t () 1749{ 1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 1752$as_echo_n "checking for uint$2_t... " >&6; } 1753if eval \${$3+:} false; then : 1754 $as_echo_n "(cached) " >&6 1755else 1756 eval "$3=no" 1757 # Order is important - never check a type that is potentially smaller 1758 # than half of the expected target width. 1759 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 1760 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 1761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1762/* end confdefs.h. */ 1763$ac_includes_default 1764int 1765main () 1766{ 1767static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 1768test_array [0] = 0; 1769return test_array [0]; 1770 1771 ; 1772 return 0; 1773} 1774_ACEOF 1775if ac_fn_c_try_compile "$LINENO"; then : 1776 case $ac_type in #( 1777 uint$2_t) : 1778 eval "$3=yes" ;; #( 1779 *) : 1780 eval "$3=\$ac_type" ;; 1781esac 1782fi 1783rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1784 if eval test \"x\$"$3"\" = x"no"; then : 1785 1786else 1787 break 1788fi 1789 done 1790fi 1791eval ac_res=\$$3 1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1793$as_echo "$ac_res" >&6; } 1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1795 1796} # ac_fn_c_find_uintX_t 1797 1798# ac_fn_c_try_link LINENO 1799# ----------------------- 1800# Try to link conftest.$ac_ext, and return whether this succeeded. 1801ac_fn_c_try_link () 1802{ 1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1804 rm -f conftest.$ac_objext conftest$ac_exeext 1805 if { { ac_try="$ac_link" 1806case "(($ac_try" in 1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1808 *) ac_try_echo=$ac_try;; 1809esac 1810eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1811$as_echo "$ac_try_echo"; } >&5 1812 (eval "$ac_link") 2>conftest.err 1813 ac_status=$? 1814 if test -s conftest.err; then 1815 grep -v '^ *+' conftest.err >conftest.er1 1816 cat conftest.er1 >&5 1817 mv -f conftest.er1 conftest.err 1818 fi 1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1820 test $ac_status = 0; } && { 1821 test -z "$ac_c_werror_flag" || 1822 test ! -s conftest.err 1823 } && test -s conftest$ac_exeext && { 1824 test "$cross_compiling" = yes || 1825 test -x conftest$ac_exeext 1826 }; then : 1827 ac_retval=0 1828else 1829 $as_echo "$as_me: failed program was:" >&5 1830sed 's/^/| /' conftest.$ac_ext >&5 1831 1832 ac_retval=1 1833fi 1834 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1835 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1836 # interfere with the next link command; also delete a directory that is 1837 # left behind by Apple's compiler. We do this before executing the actions. 1838 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1840 as_fn_set_status $ac_retval 1841 1842} # ac_fn_c_try_link 1843 1844# ac_fn_c_check_func LINENO FUNC VAR 1845# ---------------------------------- 1846# Tests whether FUNC exists, setting the cache variable VAR accordingly 1847ac_fn_c_check_func () 1848{ 1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1851$as_echo_n "checking for $2... " >&6; } 1852if eval \${$3+:} false; then : 1853 $as_echo_n "(cached) " >&6 1854else 1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1856/* end confdefs.h. */ 1857/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1858 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1859#define $2 innocuous_$2 1860 1861/* System header to define __stub macros and hopefully few prototypes, 1862 which can conflict with char $2 (); below. 1863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1864 <limits.h> exists even on freestanding compilers. */ 1865 1866#ifdef __STDC__ 1867# include <limits.h> 1868#else 1869# include <assert.h> 1870#endif 1871 1872#undef $2 1873 1874/* Override any GCC internal prototype to avoid an error. 1875 Use char because int might match the return type of a GCC 1876 builtin and then its argument prototype would still apply. */ 1877#ifdef __cplusplus 1878extern "C" 1879#endif 1880char $2 (); 1881/* The GNU C library defines this for functions which it implements 1882 to always fail with ENOSYS. Some functions are actually named 1883 something starting with __ and the normal name is an alias. */ 1884#if defined __stub_$2 || defined __stub___$2 1885choke me 1886#endif 1887 1888int 1889main () 1890{ 1891return $2 (); 1892 ; 1893 return 0; 1894} 1895_ACEOF 1896if ac_fn_c_try_link "$LINENO"; then : 1897 eval "$3=yes" 1898else 1899 eval "$3=no" 1900fi 1901rm -f core conftest.err conftest.$ac_objext \ 1902 conftest$ac_exeext conftest.$ac_ext 1903fi 1904eval ac_res=\$$3 1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1906$as_echo "$ac_res" >&6; } 1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1908 1909} # ac_fn_c_check_func 1910cat >config.log <<_ACEOF 1911This file contains any messages produced by compilers while 1912running configure, to aid debugging if configure makes a mistake. 1913 1914It was created by mingw-w64-libmangle $as_me 1.0, which was 1915generated by GNU Autoconf 2.69. Invocation command line was 1916 1917 $ $0 $@ 1918 1919_ACEOF 1920exec 5>>config.log 1921{ 1922cat <<_ASUNAME 1923## --------- ## 1924## Platform. ## 1925## --------- ## 1926 1927hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1928uname -m = `(uname -m) 2>/dev/null || echo unknown` 1929uname -r = `(uname -r) 2>/dev/null || echo unknown` 1930uname -s = `(uname -s) 2>/dev/null || echo unknown` 1931uname -v = `(uname -v) 2>/dev/null || echo unknown` 1932 1933/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1934/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1935 1936/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1937/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1938/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1939/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1940/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1941/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1942/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1943 1944_ASUNAME 1945 1946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1947for as_dir in $PATH 1948do 1949 IFS=$as_save_IFS 1950 test -z "$as_dir" && as_dir=. 1951 $as_echo "PATH: $as_dir" 1952 done 1953IFS=$as_save_IFS 1954 1955} >&5 1956 1957cat >&5 <<_ACEOF 1958 1959 1960## ----------- ## 1961## Core tests. ## 1962## ----------- ## 1963 1964_ACEOF 1965 1966 1967# Keep a trace of the command line. 1968# Strip out --no-create and --no-recursion so they do not pile up. 1969# Strip out --silent because we don't want to record it for future runs. 1970# Also quote any args containing shell meta-characters. 1971# Make two passes to allow for proper duplicate-argument suppression. 1972ac_configure_args= 1973ac_configure_args0= 1974ac_configure_args1= 1975ac_must_keep_next=false 1976for ac_pass in 1 2 1977do 1978 for ac_arg 1979 do 1980 case $ac_arg in 1981 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1982 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1983 | -silent | --silent | --silen | --sile | --sil) 1984 continue ;; 1985 *\'*) 1986 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1987 esac 1988 case $ac_pass in 1989 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1990 2) 1991 as_fn_append ac_configure_args1 " '$ac_arg'" 1992 if test $ac_must_keep_next = true; then 1993 ac_must_keep_next=false # Got value, back to normal. 1994 else 1995 case $ac_arg in 1996 *=* | --config-cache | -C | -disable-* | --disable-* \ 1997 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1998 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1999 | -with-* | --with-* | -without-* | --without-* | --x) 2000 case "$ac_configure_args0 " in 2001 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2002 esac 2003 ;; 2004 -* ) ac_must_keep_next=true ;; 2005 esac 2006 fi 2007 as_fn_append ac_configure_args " '$ac_arg'" 2008 ;; 2009 esac 2010 done 2011done 2012{ ac_configure_args0=; unset ac_configure_args0;} 2013{ ac_configure_args1=; unset ac_configure_args1;} 2014 2015# When interrupted or exit'd, cleanup temporary files, and complete 2016# config.log. We remove comments because anyway the quotes in there 2017# would cause problems or look ugly. 2018# WARNING: Use '\'' to represent an apostrophe within the trap. 2019# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2020trap 'exit_status=$? 2021 # Save into config.log some information that might help in debugging. 2022 { 2023 echo 2024 2025 $as_echo "## ---------------- ## 2026## Cache variables. ## 2027## ---------------- ##" 2028 echo 2029 # The following way of writing the cache mishandles newlines in values, 2030( 2031 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2032 eval ac_val=\$$ac_var 2033 case $ac_val in #( 2034 *${as_nl}*) 2035 case $ac_var in #( 2036 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2037$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2038 esac 2039 case $ac_var in #( 2040 _ | IFS | as_nl) ;; #( 2041 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2042 *) { eval $ac_var=; unset $ac_var;} ;; 2043 esac ;; 2044 esac 2045 done 2046 (set) 2>&1 | 2047 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2048 *${as_nl}ac_space=\ *) 2049 sed -n \ 2050 "s/'\''/'\''\\\\'\'''\''/g; 2051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2052 ;; #( 2053 *) 2054 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2055 ;; 2056 esac | 2057 sort 2058) 2059 echo 2060 2061 $as_echo "## ----------------- ## 2062## Output variables. ## 2063## ----------------- ##" 2064 echo 2065 for ac_var in $ac_subst_vars 2066 do 2067 eval ac_val=\$$ac_var 2068 case $ac_val in 2069 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2070 esac 2071 $as_echo "$ac_var='\''$ac_val'\''" 2072 done | sort 2073 echo 2074 2075 if test -n "$ac_subst_files"; then 2076 $as_echo "## ------------------- ## 2077## File substitutions. ## 2078## ------------------- ##" 2079 echo 2080 for ac_var in $ac_subst_files 2081 do 2082 eval ac_val=\$$ac_var 2083 case $ac_val in 2084 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2085 esac 2086 $as_echo "$ac_var='\''$ac_val'\''" 2087 done | sort 2088 echo 2089 fi 2090 2091 if test -s confdefs.h; then 2092 $as_echo "## ----------- ## 2093## confdefs.h. ## 2094## ----------- ##" 2095 echo 2096 cat confdefs.h 2097 echo 2098 fi 2099 test "$ac_signal" != 0 && 2100 $as_echo "$as_me: caught signal $ac_signal" 2101 $as_echo "$as_me: exit $exit_status" 2102 } >&5 2103 rm -f core *.core core.conftest.* && 2104 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2105 exit $exit_status 2106' 0 2107for ac_signal in 1 2 13 15; do 2108 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2109done 2110ac_signal=0 2111 2112# confdefs.h avoids OS command line length limits that DEFS can exceed. 2113rm -f -r conftest* confdefs.h 2114 2115$as_echo "/* confdefs.h */" > confdefs.h 2116 2117# Predefined preprocessor variables. 2118 2119cat >>confdefs.h <<_ACEOF 2120#define PACKAGE_NAME "$PACKAGE_NAME" 2121_ACEOF 2122 2123cat >>confdefs.h <<_ACEOF 2124#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2125_ACEOF 2126 2127cat >>confdefs.h <<_ACEOF 2128#define PACKAGE_VERSION "$PACKAGE_VERSION" 2129_ACEOF 2130 2131cat >>confdefs.h <<_ACEOF 2132#define PACKAGE_STRING "$PACKAGE_STRING" 2133_ACEOF 2134 2135cat >>confdefs.h <<_ACEOF 2136#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2137_ACEOF 2138 2139cat >>confdefs.h <<_ACEOF 2140#define PACKAGE_URL "$PACKAGE_URL" 2141_ACEOF 2142 2143 2144# Let the site file select an alternate cache file if it wants to. 2145# Prefer an explicitly selected file to automatically selected ones. 2146ac_site_file1=NONE 2147ac_site_file2=NONE 2148if test -n "$CONFIG_SITE"; then 2149 # We do not want a PATH search for config.site. 2150 case $CONFIG_SITE in #(( 2151 -*) ac_site_file1=./$CONFIG_SITE;; 2152 */*) ac_site_file1=$CONFIG_SITE;; 2153 *) ac_site_file1=./$CONFIG_SITE;; 2154 esac 2155elif test "x$prefix" != xNONE; then 2156 ac_site_file1=$prefix/share/config.site 2157 ac_site_file2=$prefix/etc/config.site 2158else 2159 ac_site_file1=$ac_default_prefix/share/config.site 2160 ac_site_file2=$ac_default_prefix/etc/config.site 2161fi 2162for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2163do 2164 test "x$ac_site_file" = xNONE && continue 2165 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2166 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2167$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2168 sed 's/^/| /' "$ac_site_file" >&5 2169 . "$ac_site_file" \ 2170 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2171$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2172as_fn_error $? "failed to load site script $ac_site_file 2173See \`config.log' for more details" "$LINENO" 5; } 2174 fi 2175done 2176 2177if test -r "$cache_file"; then 2178 # Some versions of bash will fail to source /dev/null (special files 2179 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2180 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2181 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2182$as_echo "$as_me: loading cache $cache_file" >&6;} 2183 case $cache_file in 2184 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2185 *) . "./$cache_file";; 2186 esac 2187 fi 2188else 2189 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2190$as_echo "$as_me: creating cache $cache_file" >&6;} 2191 >$cache_file 2192fi 2193 2194# Check that the precious variables saved in the cache have kept the same 2195# value. 2196ac_cache_corrupted=false 2197for ac_var in $ac_precious_vars; do 2198 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2199 eval ac_new_set=\$ac_env_${ac_var}_set 2200 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2201 eval ac_new_val=\$ac_env_${ac_var}_value 2202 case $ac_old_set,$ac_new_set in 2203 set,) 2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2205$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2206 ac_cache_corrupted=: ;; 2207 ,set) 2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2209$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2210 ac_cache_corrupted=: ;; 2211 ,);; 2212 *) 2213 if test "x$ac_old_val" != "x$ac_new_val"; then 2214 # differences in whitespace do not lead to failure. 2215 ac_old_val_w=`echo x $ac_old_val` 2216 ac_new_val_w=`echo x $ac_new_val` 2217 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2219$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2220 ac_cache_corrupted=: 2221 else 2222 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2223$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2224 eval $ac_var=\$ac_old_val 2225 fi 2226 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2227$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2228 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2229$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2230 fi;; 2231 esac 2232 # Pass precious variables to config.status. 2233 if test "$ac_new_set" = set; then 2234 case $ac_new_val in 2235 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2236 *) ac_arg=$ac_var=$ac_new_val ;; 2237 esac 2238 case " $ac_configure_args " in 2239 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2240 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2241 esac 2242 fi 2243done 2244if $ac_cache_corrupted; then 2245 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2246$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2248$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2249 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2250fi 2251## -------------------- ## 2252## Main body of script. ## 2253## -------------------- ## 2254 2255ac_ext=c 2256ac_cpp='$CPP $CPPFLAGS' 2257ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2258ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2259ac_compiler_gnu=$ac_cv_c_compiler_gnu 2260 2261 2262ac_aux_dir= 2263for ac_dir in build-aux "$srcdir"/build-aux; do 2264 if test -f "$ac_dir/install-sh"; then 2265 ac_aux_dir=$ac_dir 2266 ac_install_sh="$ac_aux_dir/install-sh -c" 2267 break 2268 elif test -f "$ac_dir/install.sh"; then 2269 ac_aux_dir=$ac_dir 2270 ac_install_sh="$ac_aux_dir/install.sh -c" 2271 break 2272 elif test -f "$ac_dir/shtool"; then 2273 ac_aux_dir=$ac_dir 2274 ac_install_sh="$ac_aux_dir/shtool install -c" 2275 break 2276 fi 2277done 2278if test -z "$ac_aux_dir"; then 2279 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 2280fi 2281 2282# These three variables are undocumented and unsupported, 2283# and are intended to be withdrawn in a future Autoconf release. 2284# They can cause serious problems if a builder's source tree is in a directory 2285# whose full name contains unusual characters. 2286ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2287ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2288ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2289 2290 2291 2292ac_config_headers="$ac_config_headers config.h" 2293 2294 2295am__api_version='1.15' 2296 2297# Find a good install program. We prefer a C program (faster), 2298# so one script is as good as another. But avoid the broken or 2299# incompatible versions: 2300# SysV /etc/install, /usr/sbin/install 2301# SunOS /usr/etc/install 2302# IRIX /sbin/install 2303# AIX /bin/install 2304# AmigaOS /C/install, which installs bootblocks on floppy discs 2305# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2306# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2307# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2308# OS/2's system install, which has a completely different semantic 2309# ./install, which can be erroneously created by make from ./install.sh. 2310# Reject install programs that cannot install multiple files. 2311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2312$as_echo_n "checking for a BSD-compatible install... " >&6; } 2313if test -z "$INSTALL"; then 2314if ${ac_cv_path_install+:} false; then : 2315 $as_echo_n "(cached) " >&6 2316else 2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2318for as_dir in $PATH 2319do 2320 IFS=$as_save_IFS 2321 test -z "$as_dir" && as_dir=. 2322 # Account for people who put trailing slashes in PATH elements. 2323case $as_dir/ in #(( 2324 ./ | .// | /[cC]/* | \ 2325 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2326 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2327 /usr/ucb/* ) ;; 2328 *) 2329 # OSF1 and SCO ODT 3.0 have their own names for install. 2330 # Don't use installbsd from OSF since it installs stuff as root 2331 # by default. 2332 for ac_prog in ginstall scoinst install; do 2333 for ac_exec_ext in '' $ac_executable_extensions; do 2334 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2335 if test $ac_prog = install && 2336 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2337 # AIX install. It has an incompatible calling convention. 2338 : 2339 elif test $ac_prog = install && 2340 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2341 # program-specific install script used by HP pwplus--don't use. 2342 : 2343 else 2344 rm -rf conftest.one conftest.two conftest.dir 2345 echo one > conftest.one 2346 echo two > conftest.two 2347 mkdir conftest.dir 2348 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2349 test -s conftest.one && test -s conftest.two && 2350 test -s conftest.dir/conftest.one && 2351 test -s conftest.dir/conftest.two 2352 then 2353 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2354 break 3 2355 fi 2356 fi 2357 fi 2358 done 2359 done 2360 ;; 2361esac 2362 2363 done 2364IFS=$as_save_IFS 2365 2366rm -rf conftest.one conftest.two conftest.dir 2367 2368fi 2369 if test "${ac_cv_path_install+set}" = set; then 2370 INSTALL=$ac_cv_path_install 2371 else 2372 # As a last resort, use the slow shell script. Don't cache a 2373 # value for INSTALL within a source directory, because that will 2374 # break other packages using the cache if that directory is 2375 # removed, or if the value is a relative name. 2376 INSTALL=$ac_install_sh 2377 fi 2378fi 2379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2380$as_echo "$INSTALL" >&6; } 2381 2382# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2383# It thinks the first close brace ends the variable substitution. 2384test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2385 2386test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2387 2388test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2389 2390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2391$as_echo_n "checking whether build environment is sane... " >&6; } 2392# Reject unsafe characters in $srcdir or the absolute working directory 2393# name. Accept space and tab only in the latter. 2394am_lf=' 2395' 2396case `pwd` in 2397 *[\\\"\#\$\&\'\`$am_lf]*) 2398 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2399esac 2400case $srcdir in 2401 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2402 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2403esac 2404 2405# Do 'set' in a subshell so we don't clobber the current shell's 2406# arguments. Must try -L first in case configure is actually a 2407# symlink; some systems play weird games with the mod time of symlinks 2408# (eg FreeBSD returns the mod time of the symlink's containing 2409# directory). 2410if ( 2411 am_has_slept=no 2412 for am_try in 1 2; do 2413 echo "timestamp, slept: $am_has_slept" > conftest.file 2414 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2415 if test "$*" = "X"; then 2416 # -L didn't work. 2417 set X `ls -t "$srcdir/configure" conftest.file` 2418 fi 2419 if test "$*" != "X $srcdir/configure conftest.file" \ 2420 && test "$*" != "X conftest.file $srcdir/configure"; then 2421 2422 # If neither matched, then we have a broken ls. This can happen 2423 # if, for instance, CONFIG_SHELL is bash and it inherits a 2424 # broken ls alias from the environment. This has actually 2425 # happened. Such a system could not be considered "sane". 2426 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2427 alias in your environment" "$LINENO" 5 2428 fi 2429 if test "$2" = conftest.file || test $am_try -eq 2; then 2430 break 2431 fi 2432 # Just in case. 2433 sleep 1 2434 am_has_slept=yes 2435 done 2436 test "$2" = conftest.file 2437 ) 2438then 2439 # Ok. 2440 : 2441else 2442 as_fn_error $? "newly created file is older than distributed files! 2443Check your system clock" "$LINENO" 5 2444fi 2445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2446$as_echo "yes" >&6; } 2447# If we didn't sleep, we still need to ensure time stamps of config.status and 2448# generated files are strictly newer. 2449am_sleep_pid= 2450if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2451 ( sleep 1 ) & 2452 am_sleep_pid=$! 2453fi 2454 2455rm -f conftest.file 2456 2457test "$program_prefix" != NONE && 2458 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2459# Use a double $ so make ignores it. 2460test "$program_suffix" != NONE && 2461 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2462# Double any \ or $. 2463# By default was `s,x,x', remove it if useless. 2464ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2465program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2466 2467# Expand $ac_aux_dir to an absolute path. 2468am_aux_dir=`cd "$ac_aux_dir" && pwd` 2469 2470if test x"${MISSING+set}" != xset; then 2471 case $am_aux_dir in 2472 *\ * | *\ *) 2473 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2474 *) 2475 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2476 esac 2477fi 2478# Use eval to expand $SHELL 2479if eval "$MISSING --is-lightweight"; then 2480 am_missing_run="$MISSING " 2481else 2482 am_missing_run= 2483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2484$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2485fi 2486 2487if test x"${install_sh+set}" != xset; then 2488 case $am_aux_dir in 2489 *\ * | *\ *) 2490 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2491 *) 2492 install_sh="\${SHELL} $am_aux_dir/install-sh" 2493 esac 2494fi 2495 2496# Installed binaries are usually stripped using 'strip' when the user 2497# run "make install-strip". However 'strip' might not be the right 2498# tool to use in cross-compilation environments, therefore Automake 2499# will honor the 'STRIP' environment variable to overrule this program. 2500if test "$cross_compiling" != no; then 2501 if test -n "$ac_tool_prefix"; then 2502 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2503set dummy ${ac_tool_prefix}strip; ac_word=$2 2504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2505$as_echo_n "checking for $ac_word... " >&6; } 2506if ${ac_cv_prog_STRIP+:} false; then : 2507 $as_echo_n "(cached) " >&6 2508else 2509 if test -n "$STRIP"; then 2510 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2511else 2512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2513for as_dir in $PATH 2514do 2515 IFS=$as_save_IFS 2516 test -z "$as_dir" && as_dir=. 2517 for ac_exec_ext in '' $ac_executable_extensions; do 2518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2519 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2521 break 2 2522 fi 2523done 2524 done 2525IFS=$as_save_IFS 2526 2527fi 2528fi 2529STRIP=$ac_cv_prog_STRIP 2530if test -n "$STRIP"; then 2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2532$as_echo "$STRIP" >&6; } 2533else 2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2535$as_echo "no" >&6; } 2536fi 2537 2538 2539fi 2540if test -z "$ac_cv_prog_STRIP"; then 2541 ac_ct_STRIP=$STRIP 2542 # Extract the first word of "strip", so it can be a program name with args. 2543set dummy strip; ac_word=$2 2544{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2545$as_echo_n "checking for $ac_word... " >&6; } 2546if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2547 $as_echo_n "(cached) " >&6 2548else 2549 if test -n "$ac_ct_STRIP"; then 2550 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2551else 2552as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2553for as_dir in $PATH 2554do 2555 IFS=$as_save_IFS 2556 test -z "$as_dir" && as_dir=. 2557 for ac_exec_ext in '' $ac_executable_extensions; do 2558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2559 ac_cv_prog_ac_ct_STRIP="strip" 2560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2561 break 2 2562 fi 2563done 2564 done 2565IFS=$as_save_IFS 2566 2567fi 2568fi 2569ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2570if test -n "$ac_ct_STRIP"; then 2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2572$as_echo "$ac_ct_STRIP" >&6; } 2573else 2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2575$as_echo "no" >&6; } 2576fi 2577 2578 if test "x$ac_ct_STRIP" = x; then 2579 STRIP=":" 2580 else 2581 case $cross_compiling:$ac_tool_warned in 2582yes:) 2583{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2584$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2585ac_tool_warned=yes ;; 2586esac 2587 STRIP=$ac_ct_STRIP 2588 fi 2589else 2590 STRIP="$ac_cv_prog_STRIP" 2591fi 2592 2593fi 2594INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2595 2596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2597$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2598if test -z "$MKDIR_P"; then 2599 if ${ac_cv_path_mkdir+:} false; then : 2600 $as_echo_n "(cached) " >&6 2601else 2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2603for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2604do 2605 IFS=$as_save_IFS 2606 test -z "$as_dir" && as_dir=. 2607 for ac_prog in mkdir gmkdir; do 2608 for ac_exec_ext in '' $ac_executable_extensions; do 2609 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2610 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2611 'mkdir (GNU coreutils) '* | \ 2612 'mkdir (coreutils) '* | \ 2613 'mkdir (fileutils) '4.1*) 2614 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2615 break 3;; 2616 esac 2617 done 2618 done 2619 done 2620IFS=$as_save_IFS 2621 2622fi 2623 2624 test -d ./--version && rmdir ./--version 2625 if test "${ac_cv_path_mkdir+set}" = set; then 2626 MKDIR_P="$ac_cv_path_mkdir -p" 2627 else 2628 # As a last resort, use the slow shell script. Don't cache a 2629 # value for MKDIR_P within a source directory, because that will 2630 # break other packages using the cache if that directory is 2631 # removed, or if the value is a relative name. 2632 MKDIR_P="$ac_install_sh -d" 2633 fi 2634fi 2635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2636$as_echo "$MKDIR_P" >&6; } 2637 2638for ac_prog in gawk mawk nawk awk 2639do 2640 # Extract the first word of "$ac_prog", so it can be a program name with args. 2641set dummy $ac_prog; ac_word=$2 2642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2643$as_echo_n "checking for $ac_word... " >&6; } 2644if ${ac_cv_prog_AWK+:} false; then : 2645 $as_echo_n "(cached) " >&6 2646else 2647 if test -n "$AWK"; then 2648 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2649else 2650as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2651for as_dir in $PATH 2652do 2653 IFS=$as_save_IFS 2654 test -z "$as_dir" && as_dir=. 2655 for ac_exec_ext in '' $ac_executable_extensions; do 2656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2657 ac_cv_prog_AWK="$ac_prog" 2658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2659 break 2 2660 fi 2661done 2662 done 2663IFS=$as_save_IFS 2664 2665fi 2666fi 2667AWK=$ac_cv_prog_AWK 2668if test -n "$AWK"; then 2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2670$as_echo "$AWK" >&6; } 2671else 2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2673$as_echo "no" >&6; } 2674fi 2675 2676 2677 test -n "$AWK" && break 2678done 2679 2680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2681$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2682set x ${MAKE-make} 2683ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2684if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2685 $as_echo_n "(cached) " >&6 2686else 2687 cat >conftest.make <<\_ACEOF 2688SHELL = /bin/sh 2689all: 2690 @echo '@@@%%%=$(MAKE)=@@@%%%' 2691_ACEOF 2692# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2693case `${MAKE-make} -f conftest.make 2>/dev/null` in 2694 *@@@%%%=?*=@@@%%%*) 2695 eval ac_cv_prog_make_${ac_make}_set=yes;; 2696 *) 2697 eval ac_cv_prog_make_${ac_make}_set=no;; 2698esac 2699rm -f conftest.make 2700fi 2701if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2703$as_echo "yes" >&6; } 2704 SET_MAKE= 2705else 2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2707$as_echo "no" >&6; } 2708 SET_MAKE="MAKE=${MAKE-make}" 2709fi 2710 2711rm -rf .tst 2>/dev/null 2712mkdir .tst 2>/dev/null 2713if test -d .tst; then 2714 am__leading_dot=. 2715else 2716 am__leading_dot=_ 2717fi 2718rmdir .tst 2>/dev/null 2719 2720# Check whether --enable-silent-rules was given. 2721if test "${enable_silent_rules+set}" = set; then : 2722 enableval=$enable_silent_rules; 2723fi 2724 2725case $enable_silent_rules in # ((( 2726 yes) AM_DEFAULT_VERBOSITY=0;; 2727 no) AM_DEFAULT_VERBOSITY=1;; 2728 *) AM_DEFAULT_VERBOSITY=1;; 2729esac 2730am_make=${MAKE-make} 2731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2732$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2733if ${am_cv_make_support_nested_variables+:} false; then : 2734 $as_echo_n "(cached) " >&6 2735else 2736 if $as_echo 'TRUE=$(BAR$(V)) 2737BAR0=false 2738BAR1=true 2739V=1 2740am__doit: 2741 @$(TRUE) 2742.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2743 am_cv_make_support_nested_variables=yes 2744else 2745 am_cv_make_support_nested_variables=no 2746fi 2747fi 2748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2749$as_echo "$am_cv_make_support_nested_variables" >&6; } 2750if test $am_cv_make_support_nested_variables = yes; then 2751 AM_V='$(V)' 2752 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2753else 2754 AM_V=$AM_DEFAULT_VERBOSITY 2755 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2756fi 2757AM_BACKSLASH='\' 2758 2759if test "`cd $srcdir && pwd`" != "`pwd`"; then 2760 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2761 # is not polluted with repeated "-I." 2762 am__isrc=' -I$(srcdir)' 2763 # test to see if srcdir already configured 2764 if test -f $srcdir/config.status; then 2765 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2766 fi 2767fi 2768 2769# test whether we have cygpath 2770if test -z "$CYGPATH_W"; then 2771 if (cygpath --version) >/dev/null 2>/dev/null; then 2772 CYGPATH_W='cygpath -w' 2773 else 2774 CYGPATH_W=echo 2775 fi 2776fi 2777 2778 2779# Define the identity of the package. 2780 PACKAGE='mingw-w64-libmangle' 2781 VERSION='1.0' 2782 2783 2784cat >>confdefs.h <<_ACEOF 2785#define PACKAGE "$PACKAGE" 2786_ACEOF 2787 2788 2789cat >>confdefs.h <<_ACEOF 2790#define VERSION "$VERSION" 2791_ACEOF 2792 2793# Some tools Automake needs. 2794 2795ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2796 2797 2798AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2799 2800 2801AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2802 2803 2804AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2805 2806 2807MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2808 2809# For better backward compatibility. To be removed once Automake 1.9.x 2810# dies out for good. For more background, see: 2811# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2812# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2813mkdir_p='$(MKDIR_P)' 2814 2815# We need awk for the "check" target (and possibly the TAP driver). The 2816# system "awk" is bad on some platforms. 2817# Always define AMTAR for backward compatibility. Yes, it's still used 2818# in the wild :-( We should find a proper way to deprecate it ... 2819AMTAR='$${TAR-tar}' 2820 2821 2822# We'll loop over all known methods to create a tar archive until one works. 2823_am_tools='gnutar pax cpio none' 2824 2825am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2826 2827 2828 2829 2830 2831 2832# POSIX will say in a future version that running "rm -f" with no argument 2833# is OK; and we want to be able to make that assumption in our Makefile 2834# recipes. So use an aggressive probe to check that the usage we want is 2835# actually supported "in the wild" to an acceptable degree. 2836# See automake bug#10828. 2837# To make any issue more visible, cause the running configure to be aborted 2838# by default if the 'rm' program in use doesn't match our expectations; the 2839# user can still override this though. 2840if rm -f && rm -fr && rm -rf; then : OK; else 2841 cat >&2 <<'END' 2842Oops! 2843 2844Your 'rm' program seems unable to run without file operands specified 2845on the command line, even when the '-f' option is present. This is contrary 2846to the behaviour of most rm programs out there, and not conforming with 2847the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2848 2849Please tell bug-automake@gnu.org about your system, including the value 2850of your $PATH and any error possibly output before this message. This 2851can help us improve future automake versions. 2852 2853END 2854 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2855 echo 'Configuration will proceed anyway, since you have set the' >&2 2856 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2857 echo >&2 2858 else 2859 cat >&2 <<'END' 2860Aborting the configuration process, to ensure you take notice of the issue. 2861 2862You can download and install GNU coreutils to get an 'rm' implementation 2863that behaves properly: <http://www.gnu.org/software/coreutils/>. 2864 2865If you want to complete the configuration process using your problematic 2866'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2867to "yes", and re-run configure. 2868 2869END 2870 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2871 fi 2872fi 2873 2874 2875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2876$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2877 # Check whether --enable-maintainer-mode was given. 2878if test "${enable_maintainer_mode+set}" = set; then : 2879 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2880else 2881 USE_MAINTAINER_MODE=no 2882fi 2883 2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2885$as_echo "$USE_MAINTAINER_MODE" >&6; } 2886 if test $USE_MAINTAINER_MODE = yes; then 2887 MAINTAINER_MODE_TRUE= 2888 MAINTAINER_MODE_FALSE='#' 2889else 2890 MAINTAINER_MODE_TRUE='#' 2891 MAINTAINER_MODE_FALSE= 2892fi 2893 2894 MAINT=$MAINTAINER_MODE_TRUE 2895 2896 2897 2898# Checks for programs. 2899ac_ext=c 2900ac_cpp='$CPP $CPPFLAGS' 2901ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2902ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2903ac_compiler_gnu=$ac_cv_c_compiler_gnu 2904if test -n "$ac_tool_prefix"; then 2905 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2906set dummy ${ac_tool_prefix}gcc; ac_word=$2 2907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2908$as_echo_n "checking for $ac_word... " >&6; } 2909if ${ac_cv_prog_CC+:} false; then : 2910 $as_echo_n "(cached) " >&6 2911else 2912 if test -n "$CC"; then 2913 ac_cv_prog_CC="$CC" # Let the user override the test. 2914else 2915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2916for as_dir in $PATH 2917do 2918 IFS=$as_save_IFS 2919 test -z "$as_dir" && as_dir=. 2920 for ac_exec_ext in '' $ac_executable_extensions; do 2921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2922 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2924 break 2 2925 fi 2926done 2927 done 2928IFS=$as_save_IFS 2929 2930fi 2931fi 2932CC=$ac_cv_prog_CC 2933if test -n "$CC"; then 2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2935$as_echo "$CC" >&6; } 2936else 2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2938$as_echo "no" >&6; } 2939fi 2940 2941 2942fi 2943if test -z "$ac_cv_prog_CC"; then 2944 ac_ct_CC=$CC 2945 # Extract the first word of "gcc", so it can be a program name with args. 2946set dummy gcc; ac_word=$2 2947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2948$as_echo_n "checking for $ac_word... " >&6; } 2949if ${ac_cv_prog_ac_ct_CC+:} false; then : 2950 $as_echo_n "(cached) " >&6 2951else 2952 if test -n "$ac_ct_CC"; then 2953 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2954else 2955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2956for as_dir in $PATH 2957do 2958 IFS=$as_save_IFS 2959 test -z "$as_dir" && as_dir=. 2960 for ac_exec_ext in '' $ac_executable_extensions; do 2961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2962 ac_cv_prog_ac_ct_CC="gcc" 2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2964 break 2 2965 fi 2966done 2967 done 2968IFS=$as_save_IFS 2969 2970fi 2971fi 2972ac_ct_CC=$ac_cv_prog_ac_ct_CC 2973if test -n "$ac_ct_CC"; then 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2975$as_echo "$ac_ct_CC" >&6; } 2976else 2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2978$as_echo "no" >&6; } 2979fi 2980 2981 if test "x$ac_ct_CC" = x; then 2982 CC="" 2983 else 2984 case $cross_compiling:$ac_tool_warned in 2985yes:) 2986{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2987$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2988ac_tool_warned=yes ;; 2989esac 2990 CC=$ac_ct_CC 2991 fi 2992else 2993 CC="$ac_cv_prog_CC" 2994fi 2995 2996if test -z "$CC"; then 2997 if test -n "$ac_tool_prefix"; then 2998 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2999set dummy ${ac_tool_prefix}cc; ac_word=$2 3000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3001$as_echo_n "checking for $ac_word... " >&6; } 3002if ${ac_cv_prog_CC+:} false; then : 3003 $as_echo_n "(cached) " >&6 3004else 3005 if test -n "$CC"; then 3006 ac_cv_prog_CC="$CC" # Let the user override the test. 3007else 3008as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3009for as_dir in $PATH 3010do 3011 IFS=$as_save_IFS 3012 test -z "$as_dir" && as_dir=. 3013 for ac_exec_ext in '' $ac_executable_extensions; do 3014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3015 ac_cv_prog_CC="${ac_tool_prefix}cc" 3016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3017 break 2 3018 fi 3019done 3020 done 3021IFS=$as_save_IFS 3022 3023fi 3024fi 3025CC=$ac_cv_prog_CC 3026if test -n "$CC"; then 3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3028$as_echo "$CC" >&6; } 3029else 3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3031$as_echo "no" >&6; } 3032fi 3033 3034 3035 fi 3036fi 3037if test -z "$CC"; then 3038 # Extract the first word of "cc", so it can be a program name with args. 3039set dummy cc; ac_word=$2 3040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3041$as_echo_n "checking for $ac_word... " >&6; } 3042if ${ac_cv_prog_CC+:} false; then : 3043 $as_echo_n "(cached) " >&6 3044else 3045 if test -n "$CC"; then 3046 ac_cv_prog_CC="$CC" # Let the user override the test. 3047else 3048 ac_prog_rejected=no 3049as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3050for as_dir in $PATH 3051do 3052 IFS=$as_save_IFS 3053 test -z "$as_dir" && as_dir=. 3054 for ac_exec_ext in '' $ac_executable_extensions; do 3055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3056 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3057 ac_prog_rejected=yes 3058 continue 3059 fi 3060 ac_cv_prog_CC="cc" 3061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3062 break 2 3063 fi 3064done 3065 done 3066IFS=$as_save_IFS 3067 3068if test $ac_prog_rejected = yes; then 3069 # We found a bogon in the path, so make sure we never use it. 3070 set dummy $ac_cv_prog_CC 3071 shift 3072 if test $# != 0; then 3073 # We chose a different compiler from the bogus one. 3074 # However, it has the same basename, so the bogon will be chosen 3075 # first if we set CC to just the basename; use the full file name. 3076 shift 3077 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3078 fi 3079fi 3080fi 3081fi 3082CC=$ac_cv_prog_CC 3083if test -n "$CC"; then 3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3085$as_echo "$CC" >&6; } 3086else 3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3088$as_echo "no" >&6; } 3089fi 3090 3091 3092fi 3093if test -z "$CC"; then 3094 if test -n "$ac_tool_prefix"; then 3095 for ac_prog in cl.exe 3096 do 3097 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3098set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3100$as_echo_n "checking for $ac_word... " >&6; } 3101if ${ac_cv_prog_CC+:} false; then : 3102 $as_echo_n "(cached) " >&6 3103else 3104 if test -n "$CC"; then 3105 ac_cv_prog_CC="$CC" # Let the user override the test. 3106else 3107as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3108for as_dir in $PATH 3109do 3110 IFS=$as_save_IFS 3111 test -z "$as_dir" && as_dir=. 3112 for ac_exec_ext in '' $ac_executable_extensions; do 3113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3114 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3116 break 2 3117 fi 3118done 3119 done 3120IFS=$as_save_IFS 3121 3122fi 3123fi 3124CC=$ac_cv_prog_CC 3125if test -n "$CC"; then 3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3127$as_echo "$CC" >&6; } 3128else 3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3130$as_echo "no" >&6; } 3131fi 3132 3133 3134 test -n "$CC" && break 3135 done 3136fi 3137if test -z "$CC"; then 3138 ac_ct_CC=$CC 3139 for ac_prog in cl.exe 3140do 3141 # Extract the first word of "$ac_prog", so it can be a program name with args. 3142set dummy $ac_prog; ac_word=$2 3143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3144$as_echo_n "checking for $ac_word... " >&6; } 3145if ${ac_cv_prog_ac_ct_CC+:} false; then : 3146 $as_echo_n "(cached) " >&6 3147else 3148 if test -n "$ac_ct_CC"; then 3149 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3150else 3151as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3152for as_dir in $PATH 3153do 3154 IFS=$as_save_IFS 3155 test -z "$as_dir" && as_dir=. 3156 for ac_exec_ext in '' $ac_executable_extensions; do 3157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3158 ac_cv_prog_ac_ct_CC="$ac_prog" 3159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3160 break 2 3161 fi 3162done 3163 done 3164IFS=$as_save_IFS 3165 3166fi 3167fi 3168ac_ct_CC=$ac_cv_prog_ac_ct_CC 3169if test -n "$ac_ct_CC"; then 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3171$as_echo "$ac_ct_CC" >&6; } 3172else 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3174$as_echo "no" >&6; } 3175fi 3176 3177 3178 test -n "$ac_ct_CC" && break 3179done 3180 3181 if test "x$ac_ct_CC" = x; then 3182 CC="" 3183 else 3184 case $cross_compiling:$ac_tool_warned in 3185yes:) 3186{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3187$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3188ac_tool_warned=yes ;; 3189esac 3190 CC=$ac_ct_CC 3191 fi 3192fi 3193 3194fi 3195 3196 3197test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3198$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3199as_fn_error $? "no acceptable C compiler found in \$PATH 3200See \`config.log' for more details" "$LINENO" 5; } 3201 3202# Provide some information about the compiler. 3203$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3204set X $ac_compile 3205ac_compiler=$2 3206for ac_option in --version -v -V -qversion; do 3207 { { ac_try="$ac_compiler $ac_option >&5" 3208case "(($ac_try" in 3209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3210 *) ac_try_echo=$ac_try;; 3211esac 3212eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3213$as_echo "$ac_try_echo"; } >&5 3214 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3215 ac_status=$? 3216 if test -s conftest.err; then 3217 sed '10a\ 3218... rest of stderr output deleted ... 3219 10q' conftest.err >conftest.er1 3220 cat conftest.er1 >&5 3221 fi 3222 rm -f conftest.er1 conftest.err 3223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3224 test $ac_status = 0; } 3225done 3226 3227cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3228/* end confdefs.h. */ 3229 3230int 3231main () 3232{ 3233 3234 ; 3235 return 0; 3236} 3237_ACEOF 3238ac_clean_files_save=$ac_clean_files 3239ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3240# Try to create an executable without -o first, disregard a.out. 3241# It will help us diagnose broken compilers, and finding out an intuition 3242# of exeext. 3243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3244$as_echo_n "checking whether the C compiler works... " >&6; } 3245ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3246 3247# The possible output files: 3248ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3249 3250ac_rmfiles= 3251for ac_file in $ac_files 3252do 3253 case $ac_file in 3254 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3255 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3256 esac 3257done 3258rm -f $ac_rmfiles 3259 3260if { { ac_try="$ac_link_default" 3261case "(($ac_try" in 3262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3263 *) ac_try_echo=$ac_try;; 3264esac 3265eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3266$as_echo "$ac_try_echo"; } >&5 3267 (eval "$ac_link_default") 2>&5 3268 ac_status=$? 3269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3270 test $ac_status = 0; }; then : 3271 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3272# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3273# in a Makefile. We should not override ac_cv_exeext if it was cached, 3274# so that the user can short-circuit this test for compilers unknown to 3275# Autoconf. 3276for ac_file in $ac_files '' 3277do 3278 test -f "$ac_file" || continue 3279 case $ac_file in 3280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3281 ;; 3282 [ab].out ) 3283 # We found the default executable, but exeext='' is most 3284 # certainly right. 3285 break;; 3286 *.* ) 3287 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3288 then :; else 3289 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3290 fi 3291 # We set ac_cv_exeext here because the later test for it is not 3292 # safe: cross compilers may not add the suffix if given an `-o' 3293 # argument, so we may need to know it at that point already. 3294 # Even if this section looks crufty: it has the advantage of 3295 # actually working. 3296 break;; 3297 * ) 3298 break;; 3299 esac 3300done 3301test "$ac_cv_exeext" = no && ac_cv_exeext= 3302 3303else 3304 ac_file='' 3305fi 3306if test -z "$ac_file"; then : 3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3308$as_echo "no" >&6; } 3309$as_echo "$as_me: failed program was:" >&5 3310sed 's/^/| /' conftest.$ac_ext >&5 3311 3312{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3313$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3314as_fn_error 77 "C compiler cannot create executables 3315See \`config.log' for more details" "$LINENO" 5; } 3316else 3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3318$as_echo "yes" >&6; } 3319fi 3320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3321$as_echo_n "checking for C compiler default output file name... " >&6; } 3322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3323$as_echo "$ac_file" >&6; } 3324ac_exeext=$ac_cv_exeext 3325 3326rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3327ac_clean_files=$ac_clean_files_save 3328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3329$as_echo_n "checking for suffix of executables... " >&6; } 3330if { { ac_try="$ac_link" 3331case "(($ac_try" in 3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3333 *) ac_try_echo=$ac_try;; 3334esac 3335eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3336$as_echo "$ac_try_echo"; } >&5 3337 (eval "$ac_link") 2>&5 3338 ac_status=$? 3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3340 test $ac_status = 0; }; then : 3341 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3342# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3343# work properly (i.e., refer to `conftest.exe'), while it won't with 3344# `rm'. 3345for ac_file in conftest.exe conftest conftest.*; do 3346 test -f "$ac_file" || continue 3347 case $ac_file in 3348 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3349 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3350 break;; 3351 * ) break;; 3352 esac 3353done 3354else 3355 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3356$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3357as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3358See \`config.log' for more details" "$LINENO" 5; } 3359fi 3360rm -f conftest conftest$ac_cv_exeext 3361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3362$as_echo "$ac_cv_exeext" >&6; } 3363 3364rm -f conftest.$ac_ext 3365EXEEXT=$ac_cv_exeext 3366ac_exeext=$EXEEXT 3367cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3368/* end confdefs.h. */ 3369#include <stdio.h> 3370int 3371main () 3372{ 3373FILE *f = fopen ("conftest.out", "w"); 3374 return ferror (f) || fclose (f) != 0; 3375 3376 ; 3377 return 0; 3378} 3379_ACEOF 3380ac_clean_files="$ac_clean_files conftest.out" 3381# Check that the compiler produces executables we can run. If not, either 3382# the compiler is broken, or we cross compile. 3383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3384$as_echo_n "checking whether we are cross compiling... " >&6; } 3385if test "$cross_compiling" != yes; then 3386 { { ac_try="$ac_link" 3387case "(($ac_try" in 3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3389 *) ac_try_echo=$ac_try;; 3390esac 3391eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3392$as_echo "$ac_try_echo"; } >&5 3393 (eval "$ac_link") 2>&5 3394 ac_status=$? 3395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3396 test $ac_status = 0; } 3397 if { ac_try='./conftest$ac_cv_exeext' 3398 { { case "(($ac_try" in 3399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3400 *) ac_try_echo=$ac_try;; 3401esac 3402eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3403$as_echo "$ac_try_echo"; } >&5 3404 (eval "$ac_try") 2>&5 3405 ac_status=$? 3406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3407 test $ac_status = 0; }; }; then 3408 cross_compiling=no 3409 else 3410 if test "$cross_compiling" = maybe; then 3411 cross_compiling=yes 3412 else 3413 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3414$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3415as_fn_error $? "cannot run C compiled programs. 3416If you meant to cross compile, use \`--host'. 3417See \`config.log' for more details" "$LINENO" 5; } 3418 fi 3419 fi 3420fi 3421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3422$as_echo "$cross_compiling" >&6; } 3423 3424rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3425ac_clean_files=$ac_clean_files_save 3426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3427$as_echo_n "checking for suffix of object files... " >&6; } 3428if ${ac_cv_objext+:} false; then : 3429 $as_echo_n "(cached) " >&6 3430else 3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3432/* end confdefs.h. */ 3433 3434int 3435main () 3436{ 3437 3438 ; 3439 return 0; 3440} 3441_ACEOF 3442rm -f conftest.o conftest.obj 3443if { { ac_try="$ac_compile" 3444case "(($ac_try" in 3445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3446 *) ac_try_echo=$ac_try;; 3447esac 3448eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3449$as_echo "$ac_try_echo"; } >&5 3450 (eval "$ac_compile") 2>&5 3451 ac_status=$? 3452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3453 test $ac_status = 0; }; then : 3454 for ac_file in conftest.o conftest.obj conftest.*; do 3455 test -f "$ac_file" || continue; 3456 case $ac_file in 3457 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3458 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3459 break;; 3460 esac 3461done 3462else 3463 $as_echo "$as_me: failed program was:" >&5 3464sed 's/^/| /' conftest.$ac_ext >&5 3465 3466{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3467$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3468as_fn_error $? "cannot compute suffix of object files: cannot compile 3469See \`config.log' for more details" "$LINENO" 5; } 3470fi 3471rm -f conftest.$ac_cv_objext conftest.$ac_ext 3472fi 3473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3474$as_echo "$ac_cv_objext" >&6; } 3475OBJEXT=$ac_cv_objext 3476ac_objext=$OBJEXT 3477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3478$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3479if ${ac_cv_c_compiler_gnu+:} false; then : 3480 $as_echo_n "(cached) " >&6 3481else 3482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3483/* end confdefs.h. */ 3484 3485int 3486main () 3487{ 3488#ifndef __GNUC__ 3489 choke me 3490#endif 3491 3492 ; 3493 return 0; 3494} 3495_ACEOF 3496if ac_fn_c_try_compile "$LINENO"; then : 3497 ac_compiler_gnu=yes 3498else 3499 ac_compiler_gnu=no 3500fi 3501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3502ac_cv_c_compiler_gnu=$ac_compiler_gnu 3503 3504fi 3505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3506$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3507if test $ac_compiler_gnu = yes; then 3508 GCC=yes 3509else 3510 GCC= 3511fi 3512ac_test_CFLAGS=${CFLAGS+set} 3513ac_save_CFLAGS=$CFLAGS 3514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3515$as_echo_n "checking whether $CC accepts -g... " >&6; } 3516if ${ac_cv_prog_cc_g+:} false; then : 3517 $as_echo_n "(cached) " >&6 3518else 3519 ac_save_c_werror_flag=$ac_c_werror_flag 3520 ac_c_werror_flag=yes 3521 ac_cv_prog_cc_g=no 3522 CFLAGS="-g" 3523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3524/* end confdefs.h. */ 3525 3526int 3527main () 3528{ 3529 3530 ; 3531 return 0; 3532} 3533_ACEOF 3534if ac_fn_c_try_compile "$LINENO"; then : 3535 ac_cv_prog_cc_g=yes 3536else 3537 CFLAGS="" 3538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3539/* end confdefs.h. */ 3540 3541int 3542main () 3543{ 3544 3545 ; 3546 return 0; 3547} 3548_ACEOF 3549if ac_fn_c_try_compile "$LINENO"; then : 3550 3551else 3552 ac_c_werror_flag=$ac_save_c_werror_flag 3553 CFLAGS="-g" 3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3555/* end confdefs.h. */ 3556 3557int 3558main () 3559{ 3560 3561 ; 3562 return 0; 3563} 3564_ACEOF 3565if ac_fn_c_try_compile "$LINENO"; then : 3566 ac_cv_prog_cc_g=yes 3567fi 3568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3569fi 3570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3571fi 3572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3573 ac_c_werror_flag=$ac_save_c_werror_flag 3574fi 3575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3576$as_echo "$ac_cv_prog_cc_g" >&6; } 3577if test "$ac_test_CFLAGS" = set; then 3578 CFLAGS=$ac_save_CFLAGS 3579elif test $ac_cv_prog_cc_g = yes; then 3580 if test "$GCC" = yes; then 3581 CFLAGS="-g -O2" 3582 else 3583 CFLAGS="-g" 3584 fi 3585else 3586 if test "$GCC" = yes; then 3587 CFLAGS="-O2" 3588 else 3589 CFLAGS= 3590 fi 3591fi 3592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3593$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3594if ${ac_cv_prog_cc_c89+:} false; then : 3595 $as_echo_n "(cached) " >&6 3596else 3597 ac_cv_prog_cc_c89=no 3598ac_save_CC=$CC 3599cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3600/* end confdefs.h. */ 3601#include <stdarg.h> 3602#include <stdio.h> 3603struct stat; 3604/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3605struct buf { int x; }; 3606FILE * (*rcsopen) (struct buf *, struct stat *, int); 3607static char *e (p, i) 3608 char **p; 3609 int i; 3610{ 3611 return p[i]; 3612} 3613static char *f (char * (*g) (char **, int), char **p, ...) 3614{ 3615 char *s; 3616 va_list v; 3617 va_start (v,p); 3618 s = g (p, va_arg (v,int)); 3619 va_end (v); 3620 return s; 3621} 3622 3623/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3624 function prototypes and stuff, but not '\xHH' hex character constants. 3625 These don't provoke an error unfortunately, instead are silently treated 3626 as 'x'. The following induces an error, until -std is added to get 3627 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3628 array size at least. It's necessary to write '\x00'==0 to get something 3629 that's true only with -std. */ 3630int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3631 3632/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3633 inside strings and character constants. */ 3634#define FOO(x) 'x' 3635int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3636 3637int test (int i, double x); 3638struct s1 {int (*f) (int a);}; 3639struct s2 {int (*f) (double a);}; 3640int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3641int argc; 3642char **argv; 3643int 3644main () 3645{ 3646return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3647 ; 3648 return 0; 3649} 3650_ACEOF 3651for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3652 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3653do 3654 CC="$ac_save_CC $ac_arg" 3655 if ac_fn_c_try_compile "$LINENO"; then : 3656 ac_cv_prog_cc_c89=$ac_arg 3657fi 3658rm -f core conftest.err conftest.$ac_objext 3659 test "x$ac_cv_prog_cc_c89" != "xno" && break 3660done 3661rm -f conftest.$ac_ext 3662CC=$ac_save_CC 3663 3664fi 3665# AC_CACHE_VAL 3666case "x$ac_cv_prog_cc_c89" in 3667 x) 3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3669$as_echo "none needed" >&6; } ;; 3670 xno) 3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3672$as_echo "unsupported" >&6; } ;; 3673 *) 3674 CC="$CC $ac_cv_prog_cc_c89" 3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3676$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3677esac 3678if test "x$ac_cv_prog_cc_c89" != xno; then : 3679 3680fi 3681 3682ac_ext=c 3683ac_cpp='$CPP $CPPFLAGS' 3684ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3685ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3686ac_compiler_gnu=$ac_cv_c_compiler_gnu 3687 3688ac_ext=c 3689ac_cpp='$CPP $CPPFLAGS' 3690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3692ac_compiler_gnu=$ac_cv_c_compiler_gnu 3693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3694$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3695if ${am_cv_prog_cc_c_o+:} false; then : 3696 $as_echo_n "(cached) " >&6 3697else 3698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3699/* end confdefs.h. */ 3700 3701int 3702main () 3703{ 3704 3705 ; 3706 return 0; 3707} 3708_ACEOF 3709 # Make sure it works both with $CC and with simple cc. 3710 # Following AC_PROG_CC_C_O, we do the test twice because some 3711 # compilers refuse to overwrite an existing .o file with -o, 3712 # though they will create one. 3713 am_cv_prog_cc_c_o=yes 3714 for am_i in 1 2; do 3715 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3716 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3717 ac_status=$? 3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3719 (exit $ac_status); } \ 3720 && test -f conftest2.$ac_objext; then 3721 : OK 3722 else 3723 am_cv_prog_cc_c_o=no 3724 break 3725 fi 3726 done 3727 rm -f core conftest* 3728 unset am_i 3729fi 3730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3731$as_echo "$am_cv_prog_cc_c_o" >&6; } 3732if test "$am_cv_prog_cc_c_o" != yes; then 3733 # Losing compiler, so override with the script. 3734 # FIXME: It is wrong to rewrite CC. 3735 # But if we don't then we get into trouble of one sort or another. 3736 # A longer-term fix would be to have automake use am__CC in this case, 3737 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3738 CC="$am_aux_dir/compile $CC" 3739fi 3740ac_ext=c 3741ac_cpp='$CPP $CPPFLAGS' 3742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3744ac_compiler_gnu=$ac_cv_c_compiler_gnu 3745 3746DEPDIR="${am__leading_dot}deps" 3747 3748ac_config_commands="$ac_config_commands depfiles" 3749 3750 3751am_make=${MAKE-make} 3752cat > confinc << 'END' 3753am__doit: 3754 @echo this is the am__doit target 3755.PHONY: am__doit 3756END 3757# If we don't find an include directive, just comment out the code. 3758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3759$as_echo_n "checking for style of include used by $am_make... " >&6; } 3760am__include="#" 3761am__quote= 3762_am_result=none 3763# First try GNU make style include. 3764echo "include confinc" > confmf 3765# Ignore all kinds of additional output from 'make'. 3766case `$am_make -s -f confmf 2> /dev/null` in #( 3767*the\ am__doit\ target*) 3768 am__include=include 3769 am__quote= 3770 _am_result=GNU 3771 ;; 3772esac 3773# Now try BSD make style include. 3774if test "$am__include" = "#"; then 3775 echo '.include "confinc"' > confmf 3776 case `$am_make -s -f confmf 2> /dev/null` in #( 3777 *the\ am__doit\ target*) 3778 am__include=.include 3779 am__quote="\"" 3780 _am_result=BSD 3781 ;; 3782 esac 3783fi 3784 3785 3786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3787$as_echo "$_am_result" >&6; } 3788rm -f confinc confmf 3789 3790# Check whether --enable-dependency-tracking was given. 3791if test "${enable_dependency_tracking+set}" = set; then : 3792 enableval=$enable_dependency_tracking; 3793fi 3794 3795if test "x$enable_dependency_tracking" != xno; then 3796 am_depcomp="$ac_aux_dir/depcomp" 3797 AMDEPBACKSLASH='\' 3798 am__nodep='_no' 3799fi 3800 if test "x$enable_dependency_tracking" != xno; then 3801 AMDEP_TRUE= 3802 AMDEP_FALSE='#' 3803else 3804 AMDEP_TRUE='#' 3805 AMDEP_FALSE= 3806fi 3807 3808 3809 3810depcc="$CC" am_compiler_list= 3811 3812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3813$as_echo_n "checking dependency style of $depcc... " >&6; } 3814if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3815 $as_echo_n "(cached) " >&6 3816else 3817 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3818 # We make a subdir and do the tests there. Otherwise we can end up 3819 # making bogus files that we don't know about and never remove. For 3820 # instance it was reported that on HP-UX the gcc test will end up 3821 # making a dummy file named 'D' -- because '-MD' means "put the output 3822 # in D". 3823 rm -rf conftest.dir 3824 mkdir conftest.dir 3825 # Copy depcomp to subdir because otherwise we won't find it if we're 3826 # using a relative directory. 3827 cp "$am_depcomp" conftest.dir 3828 cd conftest.dir 3829 # We will build objects and dependencies in a subdirectory because 3830 # it helps to detect inapplicable dependency modes. For instance 3831 # both Tru64's cc and ICC support -MD to output dependencies as a 3832 # side effect of compilation, but ICC will put the dependencies in 3833 # the current directory while Tru64 will put them in the object 3834 # directory. 3835 mkdir sub 3836 3837 am_cv_CC_dependencies_compiler_type=none 3838 if test "$am_compiler_list" = ""; then 3839 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3840 fi 3841 am__universal=false 3842 case " $depcc " in #( 3843 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3844 esac 3845 3846 for depmode in $am_compiler_list; do 3847 # Setup a source with many dependencies, because some compilers 3848 # like to wrap large dependency lists on column 80 (with \), and 3849 # we should not choose a depcomp mode which is confused by this. 3850 # 3851 # We need to recreate these files for each test, as the compiler may 3852 # overwrite some of them when testing with obscure command lines. 3853 # This happens at least with the AIX C compiler. 3854 : > sub/conftest.c 3855 for i in 1 2 3 4 5 6; do 3856 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3857 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3858 # Solaris 10 /bin/sh. 3859 echo '/* dummy */' > sub/conftst$i.h 3860 done 3861 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3862 3863 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3864 # mode. It turns out that the SunPro C++ compiler does not properly 3865 # handle '-M -o', and we need to detect this. Also, some Intel 3866 # versions had trouble with output in subdirs. 3867 am__obj=sub/conftest.${OBJEXT-o} 3868 am__minus_obj="-o $am__obj" 3869 case $depmode in 3870 gcc) 3871 # This depmode causes a compiler race in universal mode. 3872 test "$am__universal" = false || continue 3873 ;; 3874 nosideeffect) 3875 # After this tag, mechanisms are not by side-effect, so they'll 3876 # only be used when explicitly requested. 3877 if test "x$enable_dependency_tracking" = xyes; then 3878 continue 3879 else 3880 break 3881 fi 3882 ;; 3883 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3884 # This compiler won't grok '-c -o', but also, the minuso test has 3885 # not run yet. These depmodes are late enough in the game, and 3886 # so weak that their functioning should not be impacted. 3887 am__obj=conftest.${OBJEXT-o} 3888 am__minus_obj= 3889 ;; 3890 none) break ;; 3891 esac 3892 if depmode=$depmode \ 3893 source=sub/conftest.c object=$am__obj \ 3894 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3895 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3896 >/dev/null 2>conftest.err && 3897 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3898 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3899 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3900 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3901 # icc doesn't choke on unknown options, it will just issue warnings 3902 # or remarks (even with -Werror). So we grep stderr for any message 3903 # that says an option was ignored or not supported. 3904 # When given -MP, icc 7.0 and 7.1 complain thusly: 3905 # icc: Command line warning: ignoring option '-M'; no argument required 3906 # The diagnosis changed in icc 8.0: 3907 # icc: Command line remark: option '-MP' not supported 3908 if (grep 'ignoring option' conftest.err || 3909 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3910 am_cv_CC_dependencies_compiler_type=$depmode 3911 break 3912 fi 3913 fi 3914 done 3915 3916 cd .. 3917 rm -rf conftest.dir 3918else 3919 am_cv_CC_dependencies_compiler_type=none 3920fi 3921 3922fi 3923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3924$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3925CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3926 3927 if 3928 test "x$enable_dependency_tracking" != xno \ 3929 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3930 am__fastdepCC_TRUE= 3931 am__fastdepCC_FALSE='#' 3932else 3933 am__fastdepCC_TRUE='#' 3934 am__fastdepCC_FALSE= 3935fi 3936 3937 3938if test -n "$ac_tool_prefix"; then 3939 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3940set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3942$as_echo_n "checking for $ac_word... " >&6; } 3943if ${ac_cv_prog_RANLIB+:} false; then : 3944 $as_echo_n "(cached) " >&6 3945else 3946 if test -n "$RANLIB"; then 3947 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3948else 3949as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3950for as_dir in $PATH 3951do 3952 IFS=$as_save_IFS 3953 test -z "$as_dir" && as_dir=. 3954 for ac_exec_ext in '' $ac_executable_extensions; do 3955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3956 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3958 break 2 3959 fi 3960done 3961 done 3962IFS=$as_save_IFS 3963 3964fi 3965fi 3966RANLIB=$ac_cv_prog_RANLIB 3967if test -n "$RANLIB"; then 3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3969$as_echo "$RANLIB" >&6; } 3970else 3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3972$as_echo "no" >&6; } 3973fi 3974 3975 3976fi 3977if test -z "$ac_cv_prog_RANLIB"; then 3978 ac_ct_RANLIB=$RANLIB 3979 # Extract the first word of "ranlib", so it can be a program name with args. 3980set dummy ranlib; ac_word=$2 3981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3982$as_echo_n "checking for $ac_word... " >&6; } 3983if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3984 $as_echo_n "(cached) " >&6 3985else 3986 if test -n "$ac_ct_RANLIB"; then 3987 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3988else 3989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3990for as_dir in $PATH 3991do 3992 IFS=$as_save_IFS 3993 test -z "$as_dir" && as_dir=. 3994 for ac_exec_ext in '' $ac_executable_extensions; do 3995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3996 ac_cv_prog_ac_ct_RANLIB="ranlib" 3997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3998 break 2 3999 fi 4000done 4001 done 4002IFS=$as_save_IFS 4003 4004fi 4005fi 4006ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4007if test -n "$ac_ct_RANLIB"; then 4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4009$as_echo "$ac_ct_RANLIB" >&6; } 4010else 4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4012$as_echo "no" >&6; } 4013fi 4014 4015 if test "x$ac_ct_RANLIB" = x; then 4016 RANLIB=":" 4017 else 4018 case $cross_compiling:$ac_tool_warned in 4019yes:) 4020{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4021$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4022ac_tool_warned=yes ;; 4023esac 4024 RANLIB=$ac_ct_RANLIB 4025 fi 4026else 4027 RANLIB="$ac_cv_prog_RANLIB" 4028fi 4029 4030if test -n "$ac_tool_prefix"; then 4031 for ac_prog in ar 4032 do 4033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4034set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4036$as_echo_n "checking for $ac_word... " >&6; } 4037if ${ac_cv_prog_AR+:} false; then : 4038 $as_echo_n "(cached) " >&6 4039else 4040 if test -n "$AR"; then 4041 ac_cv_prog_AR="$AR" # Let the user override the test. 4042else 4043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4044for as_dir in $PATH 4045do 4046 IFS=$as_save_IFS 4047 test -z "$as_dir" && as_dir=. 4048 for ac_exec_ext in '' $ac_executable_extensions; do 4049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4050 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 4051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4052 break 2 4053 fi 4054done 4055 done 4056IFS=$as_save_IFS 4057 4058fi 4059fi 4060AR=$ac_cv_prog_AR 4061if test -n "$AR"; then 4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 4063$as_echo "$AR" >&6; } 4064else 4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4066$as_echo "no" >&6; } 4067fi 4068 4069 4070 test -n "$AR" && break 4071 done 4072fi 4073if test -z "$AR"; then 4074 ac_ct_AR=$AR 4075 for ac_prog in ar 4076do 4077 # Extract the first word of "$ac_prog", so it can be a program name with args. 4078set dummy $ac_prog; ac_word=$2 4079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4080$as_echo_n "checking for $ac_word... " >&6; } 4081if ${ac_cv_prog_ac_ct_AR+:} false; then : 4082 $as_echo_n "(cached) " >&6 4083else 4084 if test -n "$ac_ct_AR"; then 4085 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4086else 4087as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4088for as_dir in $PATH 4089do 4090 IFS=$as_save_IFS 4091 test -z "$as_dir" && as_dir=. 4092 for ac_exec_ext in '' $ac_executable_extensions; do 4093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4094 ac_cv_prog_ac_ct_AR="$ac_prog" 4095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4096 break 2 4097 fi 4098done 4099 done 4100IFS=$as_save_IFS 4101 4102fi 4103fi 4104ac_ct_AR=$ac_cv_prog_ac_ct_AR 4105if test -n "$ac_ct_AR"; then 4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4107$as_echo "$ac_ct_AR" >&6; } 4108else 4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4110$as_echo "no" >&6; } 4111fi 4112 4113 4114 test -n "$ac_ct_AR" && break 4115done 4116 4117 if test "x$ac_ct_AR" = x; then 4118 AR=":" 4119 else 4120 case $cross_compiling:$ac_tool_warned in 4121yes:) 4122{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4123$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4124ac_tool_warned=yes ;; 4125esac 4126 AR=$ac_ct_AR 4127 fi 4128fi 4129 4130 4131# Checks for libraries. 4132 4133# Checks for header files. 4134 4135ac_ext=c 4136ac_cpp='$CPP $CPPFLAGS' 4137ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4138ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4139ac_compiler_gnu=$ac_cv_c_compiler_gnu 4140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4141$as_echo_n "checking how to run the C preprocessor... " >&6; } 4142# On Suns, sometimes $CPP names a directory. 4143if test -n "$CPP" && test -d "$CPP"; then 4144 CPP= 4145fi 4146if test -z "$CPP"; then 4147 if ${ac_cv_prog_CPP+:} false; then : 4148 $as_echo_n "(cached) " >&6 4149else 4150 # Double quotes because CPP needs to be expanded 4151 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4152 do 4153 ac_preproc_ok=false 4154for ac_c_preproc_warn_flag in '' yes 4155do 4156 # Use a header file that comes with gcc, so configuring glibc 4157 # with a fresh cross-compiler works. 4158 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4159 # <limits.h> exists even on freestanding compilers. 4160 # On the NeXT, cc -E runs the code through the compiler's parser, 4161 # not just through cpp. "Syntax error" is here to catch this case. 4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4163/* end confdefs.h. */ 4164#ifdef __STDC__ 4165# include <limits.h> 4166#else 4167# include <assert.h> 4168#endif 4169 Syntax error 4170_ACEOF 4171if ac_fn_c_try_cpp "$LINENO"; then : 4172 4173else 4174 # Broken: fails on valid input. 4175continue 4176fi 4177rm -f conftest.err conftest.i conftest.$ac_ext 4178 4179 # OK, works on sane cases. Now check whether nonexistent headers 4180 # can be detected and how. 4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4182/* end confdefs.h. */ 4183#include <ac_nonexistent.h> 4184_ACEOF 4185if ac_fn_c_try_cpp "$LINENO"; then : 4186 # Broken: success on invalid input. 4187continue 4188else 4189 # Passes both tests. 4190ac_preproc_ok=: 4191break 4192fi 4193rm -f conftest.err conftest.i conftest.$ac_ext 4194 4195done 4196# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4197rm -f conftest.i conftest.err conftest.$ac_ext 4198if $ac_preproc_ok; then : 4199 break 4200fi 4201 4202 done 4203 ac_cv_prog_CPP=$CPP 4204 4205fi 4206 CPP=$ac_cv_prog_CPP 4207else 4208 ac_cv_prog_CPP=$CPP 4209fi 4210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4211$as_echo "$CPP" >&6; } 4212ac_preproc_ok=false 4213for ac_c_preproc_warn_flag in '' yes 4214do 4215 # Use a header file that comes with gcc, so configuring glibc 4216 # with a fresh cross-compiler works. 4217 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4218 # <limits.h> exists even on freestanding compilers. 4219 # On the NeXT, cc -E runs the code through the compiler's parser, 4220 # not just through cpp. "Syntax error" is here to catch this case. 4221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4222/* end confdefs.h. */ 4223#ifdef __STDC__ 4224# include <limits.h> 4225#else 4226# include <assert.h> 4227#endif 4228 Syntax error 4229_ACEOF 4230if ac_fn_c_try_cpp "$LINENO"; then : 4231 4232else 4233 # Broken: fails on valid input. 4234continue 4235fi 4236rm -f conftest.err conftest.i conftest.$ac_ext 4237 4238 # OK, works on sane cases. Now check whether nonexistent headers 4239 # can be detected and how. 4240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4241/* end confdefs.h. */ 4242#include <ac_nonexistent.h> 4243_ACEOF 4244if ac_fn_c_try_cpp "$LINENO"; then : 4245 # Broken: success on invalid input. 4246continue 4247else 4248 # Passes both tests. 4249ac_preproc_ok=: 4250break 4251fi 4252rm -f conftest.err conftest.i conftest.$ac_ext 4253 4254done 4255# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4256rm -f conftest.i conftest.err conftest.$ac_ext 4257if $ac_preproc_ok; then : 4258 4259else 4260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4261$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4262as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4263See \`config.log' for more details" "$LINENO" 5; } 4264fi 4265 4266ac_ext=c 4267ac_cpp='$CPP $CPPFLAGS' 4268ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4269ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4270ac_compiler_gnu=$ac_cv_c_compiler_gnu 4271 4272 4273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4274$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4275if ${ac_cv_path_GREP+:} false; then : 4276 $as_echo_n "(cached) " >&6 4277else 4278 if test -z "$GREP"; then 4279 ac_path_GREP_found=false 4280 # Loop through the user's path and test for each of PROGNAME-LIST 4281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4282for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4283do 4284 IFS=$as_save_IFS 4285 test -z "$as_dir" && as_dir=. 4286 for ac_prog in grep ggrep; do 4287 for ac_exec_ext in '' $ac_executable_extensions; do 4288 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4289 as_fn_executable_p "$ac_path_GREP" || continue 4290# Check for GNU ac_path_GREP and select it if it is found. 4291 # Check for GNU $ac_path_GREP 4292case `"$ac_path_GREP" --version 2>&1` in 4293*GNU*) 4294 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4295*) 4296 ac_count=0 4297 $as_echo_n 0123456789 >"conftest.in" 4298 while : 4299 do 4300 cat "conftest.in" "conftest.in" >"conftest.tmp" 4301 mv "conftest.tmp" "conftest.in" 4302 cp "conftest.in" "conftest.nl" 4303 $as_echo 'GREP' >> "conftest.nl" 4304 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4305 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4306 as_fn_arith $ac_count + 1 && ac_count=$as_val 4307 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4308 # Best one so far, save it but keep looking for a better one 4309 ac_cv_path_GREP="$ac_path_GREP" 4310 ac_path_GREP_max=$ac_count 4311 fi 4312 # 10*(2^10) chars as input seems more than enough 4313 test $ac_count -gt 10 && break 4314 done 4315 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4316esac 4317 4318 $ac_path_GREP_found && break 3 4319 done 4320 done 4321 done 4322IFS=$as_save_IFS 4323 if test -z "$ac_cv_path_GREP"; then 4324 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4325 fi 4326else 4327 ac_cv_path_GREP=$GREP 4328fi 4329 4330fi 4331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4332$as_echo "$ac_cv_path_GREP" >&6; } 4333 GREP="$ac_cv_path_GREP" 4334 4335 4336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4337$as_echo_n "checking for egrep... " >&6; } 4338if ${ac_cv_path_EGREP+:} false; then : 4339 $as_echo_n "(cached) " >&6 4340else 4341 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4342 then ac_cv_path_EGREP="$GREP -E" 4343 else 4344 if test -z "$EGREP"; then 4345 ac_path_EGREP_found=false 4346 # Loop through the user's path and test for each of PROGNAME-LIST 4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4348for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4349do 4350 IFS=$as_save_IFS 4351 test -z "$as_dir" && as_dir=. 4352 for ac_prog in egrep; do 4353 for ac_exec_ext in '' $ac_executable_extensions; do 4354 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4355 as_fn_executable_p "$ac_path_EGREP" || continue 4356# Check for GNU ac_path_EGREP and select it if it is found. 4357 # Check for GNU $ac_path_EGREP 4358case `"$ac_path_EGREP" --version 2>&1` in 4359*GNU*) 4360 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4361*) 4362 ac_count=0 4363 $as_echo_n 0123456789 >"conftest.in" 4364 while : 4365 do 4366 cat "conftest.in" "conftest.in" >"conftest.tmp" 4367 mv "conftest.tmp" "conftest.in" 4368 cp "conftest.in" "conftest.nl" 4369 $as_echo 'EGREP' >> "conftest.nl" 4370 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4371 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4372 as_fn_arith $ac_count + 1 && ac_count=$as_val 4373 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4374 # Best one so far, save it but keep looking for a better one 4375 ac_cv_path_EGREP="$ac_path_EGREP" 4376 ac_path_EGREP_max=$ac_count 4377 fi 4378 # 10*(2^10) chars as input seems more than enough 4379 test $ac_count -gt 10 && break 4380 done 4381 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4382esac 4383 4384 $ac_path_EGREP_found && break 3 4385 done 4386 done 4387 done 4388IFS=$as_save_IFS 4389 if test -z "$ac_cv_path_EGREP"; then 4390 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4391 fi 4392else 4393 ac_cv_path_EGREP=$EGREP 4394fi 4395 4396 fi 4397fi 4398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4399$as_echo "$ac_cv_path_EGREP" >&6; } 4400 EGREP="$ac_cv_path_EGREP" 4401 4402 4403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4404$as_echo_n "checking for ANSI C header files... " >&6; } 4405if ${ac_cv_header_stdc+:} false; then : 4406 $as_echo_n "(cached) " >&6 4407else 4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4409/* end confdefs.h. */ 4410#include <stdlib.h> 4411#include <stdarg.h> 4412#include <string.h> 4413#include <float.h> 4414 4415int 4416main () 4417{ 4418 4419 ; 4420 return 0; 4421} 4422_ACEOF 4423if ac_fn_c_try_compile "$LINENO"; then : 4424 ac_cv_header_stdc=yes 4425else 4426 ac_cv_header_stdc=no 4427fi 4428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4429 4430if test $ac_cv_header_stdc = yes; then 4431 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4433/* end confdefs.h. */ 4434#include <string.h> 4435 4436_ACEOF 4437if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4438 $EGREP "memchr" >/dev/null 2>&1; then : 4439 4440else 4441 ac_cv_header_stdc=no 4442fi 4443rm -f conftest* 4444 4445fi 4446 4447if test $ac_cv_header_stdc = yes; then 4448 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4450/* end confdefs.h. */ 4451#include <stdlib.h> 4452 4453_ACEOF 4454if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4455 $EGREP "free" >/dev/null 2>&1; then : 4456 4457else 4458 ac_cv_header_stdc=no 4459fi 4460rm -f conftest* 4461 4462fi 4463 4464if test $ac_cv_header_stdc = yes; then 4465 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4466 if test "$cross_compiling" = yes; then : 4467 : 4468else 4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4470/* end confdefs.h. */ 4471#include <ctype.h> 4472#include <stdlib.h> 4473#if ((' ' & 0x0FF) == 0x020) 4474# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4475# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4476#else 4477# define ISLOWER(c) \ 4478 (('a' <= (c) && (c) <= 'i') \ 4479 || ('j' <= (c) && (c) <= 'r') \ 4480 || ('s' <= (c) && (c) <= 'z')) 4481# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4482#endif 4483 4484#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4485int 4486main () 4487{ 4488 int i; 4489 for (i = 0; i < 256; i++) 4490 if (XOR (islower (i), ISLOWER (i)) 4491 || toupper (i) != TOUPPER (i)) 4492 return 2; 4493 return 0; 4494} 4495_ACEOF 4496if ac_fn_c_try_run "$LINENO"; then : 4497 4498else 4499 ac_cv_header_stdc=no 4500fi 4501rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4502 conftest.$ac_objext conftest.beam conftest.$ac_ext 4503fi 4504 4505fi 4506fi 4507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4508$as_echo "$ac_cv_header_stdc" >&6; } 4509if test $ac_cv_header_stdc = yes; then 4510 4511$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4512 4513fi 4514 4515# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4516for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4517 inttypes.h stdint.h unistd.h 4518do : 4519 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4520ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4521" 4522if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4523 cat >>confdefs.h <<_ACEOF 4524#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4525_ACEOF 4526 4527fi 4528 4529done 4530 4531 4532for ac_header in inttypes.h malloc.h stdint.h stdlib.h string.h 4533do : 4534 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4535ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4536if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4537 cat >>confdefs.h <<_ACEOF 4538#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4539_ACEOF 4540 4541fi 4542 4543done 4544 4545 4546# Checks for typedefs, structures, and compiler characteristics. 4547ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 4548if test "x$ac_cv_type_size_t" = xyes; then : 4549 4550else 4551 4552cat >>confdefs.h <<_ACEOF 4553#define size_t unsigned int 4554_ACEOF 4555 4556fi 4557 4558ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" 4559case $ac_cv_c_uint64_t in #( 4560 no|yes) ;; #( 4561 *) 4562 4563$as_echo "#define _UINT64_T 1" >>confdefs.h 4564 4565 4566cat >>confdefs.h <<_ACEOF 4567#define uint64_t $ac_cv_c_uint64_t 4568_ACEOF 4569;; 4570 esac 4571 4572 4573# Checks for library functions. 4574for ac_header in stdlib.h 4575do : 4576 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 4577if test "x$ac_cv_header_stdlib_h" = xyes; then : 4578 cat >>confdefs.h <<_ACEOF 4579#define HAVE_STDLIB_H 1 4580_ACEOF 4581 4582fi 4583 4584done 4585 4586{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 4587$as_echo_n "checking for GNU libc compatible malloc... " >&6; } 4588if ${ac_cv_func_malloc_0_nonnull+:} false; then : 4589 $as_echo_n "(cached) " >&6 4590else 4591 if test "$cross_compiling" = yes; then : 4592 ac_cv_func_malloc_0_nonnull=no 4593else 4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4595/* end confdefs.h. */ 4596#if defined STDC_HEADERS || defined HAVE_STDLIB_H 4597# include <stdlib.h> 4598#else 4599char *malloc (); 4600#endif 4601 4602int 4603main () 4604{ 4605return ! malloc (0); 4606 ; 4607 return 0; 4608} 4609_ACEOF 4610if ac_fn_c_try_run "$LINENO"; then : 4611 ac_cv_func_malloc_0_nonnull=yes 4612else 4613 ac_cv_func_malloc_0_nonnull=no 4614fi 4615rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4616 conftest.$ac_objext conftest.beam conftest.$ac_ext 4617fi 4618 4619fi 4620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 4621$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } 4622if test $ac_cv_func_malloc_0_nonnull = yes; then : 4623 4624$as_echo "#define HAVE_MALLOC 1" >>confdefs.h 4625 4626else 4627 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h 4628 4629 case " $LIBOBJS " in 4630 *" malloc.$ac_objext "* ) ;; 4631 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 4632 ;; 4633esac 4634 4635 4636$as_echo "#define malloc rpl_malloc" >>confdefs.h 4637 4638fi 4639 4640 4641for ac_func in memset strdup 4642do : 4643 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 4644ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 4645if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 4646 cat >>confdefs.h <<_ACEOF 4647#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 4648_ACEOF 4649 4650fi 4651done 4652 4653 4654ac_config_files="$ac_config_files Makefile" 4655 4656cat >confcache <<\_ACEOF 4657# This file is a shell script that caches the results of configure 4658# tests run on this system so they can be shared between configure 4659# scripts and configure runs, see configure's option --config-cache. 4660# It is not useful on other systems. If it contains results you don't 4661# want to keep, you may remove or edit it. 4662# 4663# config.status only pays attention to the cache file if you give it 4664# the --recheck option to rerun configure. 4665# 4666# `ac_cv_env_foo' variables (set or unset) will be overridden when 4667# loading this file, other *unset* `ac_cv_foo' will be assigned the 4668# following values. 4669 4670_ACEOF 4671 4672# The following way of writing the cache mishandles newlines in values, 4673# but we know of no workaround that is simple, portable, and efficient. 4674# So, we kill variables containing newlines. 4675# Ultrix sh set writes to stderr and can't be redirected directly, 4676# and sets the high bit in the cache file unless we assign to the vars. 4677( 4678 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4679 eval ac_val=\$$ac_var 4680 case $ac_val in #( 4681 *${as_nl}*) 4682 case $ac_var in #( 4683 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4684$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4685 esac 4686 case $ac_var in #( 4687 _ | IFS | as_nl) ;; #( 4688 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4689 *) { eval $ac_var=; unset $ac_var;} ;; 4690 esac ;; 4691 esac 4692 done 4693 4694 (set) 2>&1 | 4695 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4696 *${as_nl}ac_space=\ *) 4697 # `set' does not quote correctly, so add quotes: double-quote 4698 # substitution turns \\\\ into \\, and sed turns \\ into \. 4699 sed -n \ 4700 "s/'/'\\\\''/g; 4701 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4702 ;; #( 4703 *) 4704 # `set' quotes correctly as required by POSIX, so do not add quotes. 4705 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4706 ;; 4707 esac | 4708 sort 4709) | 4710 sed ' 4711 /^ac_cv_env_/b end 4712 t clear 4713 :clear 4714 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4715 t end 4716 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4717 :end' >>confcache 4718if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4719 if test -w "$cache_file"; then 4720 if test "x$cache_file" != "x/dev/null"; then 4721 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4722$as_echo "$as_me: updating cache $cache_file" >&6;} 4723 if test ! -f "$cache_file" || test -h "$cache_file"; then 4724 cat confcache >"$cache_file" 4725 else 4726 case $cache_file in #( 4727 */* | ?:*) 4728 mv -f confcache "$cache_file"$$ && 4729 mv -f "$cache_file"$$ "$cache_file" ;; #( 4730 *) 4731 mv -f confcache "$cache_file" ;; 4732 esac 4733 fi 4734 fi 4735 else 4736 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4737$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4738 fi 4739fi 4740rm -f confcache 4741 4742test "x$prefix" = xNONE && prefix=$ac_default_prefix 4743# Let make expand exec_prefix. 4744test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4745 4746DEFS=-DHAVE_CONFIG_H 4747 4748ac_libobjs= 4749ac_ltlibobjs= 4750U= 4751for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4752 # 1. Remove the extension, and $U if already installed. 4753 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4754 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4755 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4756 # will be set to the directory where LIBOBJS objects are built. 4757 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4758 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4759done 4760LIBOBJS=$ac_libobjs 4761 4762LTLIBOBJS=$ac_ltlibobjs 4763 4764 4765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 4766$as_echo_n "checking that generated files are newer than configure... " >&6; } 4767 if test -n "$am_sleep_pid"; then 4768 # Hide warnings about reused PIDs. 4769 wait $am_sleep_pid 2>/dev/null 4770 fi 4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 4772$as_echo "done" >&6; } 4773 if test -n "$EXEEXT"; then 4774 am__EXEEXT_TRUE= 4775 am__EXEEXT_FALSE='#' 4776else 4777 am__EXEEXT_TRUE='#' 4778 am__EXEEXT_FALSE= 4779fi 4780 4781if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 4782 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 4783Usually this means the macro was only invoked conditionally." "$LINENO" 5 4784fi 4785if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4786 as_fn_error $? "conditional \"AMDEP\" was never defined. 4787Usually this means the macro was only invoked conditionally." "$LINENO" 5 4788fi 4789if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4790 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 4791Usually this means the macro was only invoked conditionally." "$LINENO" 5 4792fi 4793 4794: "${CONFIG_STATUS=./config.status}" 4795ac_write_fail=0 4796ac_clean_files_save=$ac_clean_files 4797ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4798{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4799$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4800as_write_fail=0 4801cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4802#! $SHELL 4803# Generated by $as_me. 4804# Run this file to recreate the current configuration. 4805# Compiler output produced by configure, useful for debugging 4806# configure, is in config.log if it exists. 4807 4808debug=false 4809ac_cs_recheck=false 4810ac_cs_silent=false 4811 4812SHELL=\${CONFIG_SHELL-$SHELL} 4813export SHELL 4814_ASEOF 4815cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4816## -------------------- ## 4817## M4sh Initialization. ## 4818## -------------------- ## 4819 4820# Be more Bourne compatible 4821DUALCASE=1; export DUALCASE # for MKS sh 4822if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4823 emulate sh 4824 NULLCMD=: 4825 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4826 # is contrary to our usage. Disable this feature. 4827 alias -g '${1+"$@"}'='"$@"' 4828 setopt NO_GLOB_SUBST 4829else 4830 case `(set -o) 2>/dev/null` in #( 4831 *posix*) : 4832 set -o posix ;; #( 4833 *) : 4834 ;; 4835esac 4836fi 4837 4838 4839as_nl=' 4840' 4841export as_nl 4842# Printing a long string crashes Solaris 7 /usr/bin/printf. 4843as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4844as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4845as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4846# Prefer a ksh shell builtin over an external printf program on Solaris, 4847# but without wasting forks for bash or zsh. 4848if test -z "$BASH_VERSION$ZSH_VERSION" \ 4849 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4850 as_echo='print -r --' 4851 as_echo_n='print -rn --' 4852elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4853 as_echo='printf %s\n' 4854 as_echo_n='printf %s' 4855else 4856 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4857 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4858 as_echo_n='/usr/ucb/echo -n' 4859 else 4860 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4861 as_echo_n_body='eval 4862 arg=$1; 4863 case $arg in #( 4864 *"$as_nl"*) 4865 expr "X$arg" : "X\\(.*\\)$as_nl"; 4866 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4867 esac; 4868 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4869 ' 4870 export as_echo_n_body 4871 as_echo_n='sh -c $as_echo_n_body as_echo' 4872 fi 4873 export as_echo_body 4874 as_echo='sh -c $as_echo_body as_echo' 4875fi 4876 4877# The user is always right. 4878if test "${PATH_SEPARATOR+set}" != set; then 4879 PATH_SEPARATOR=: 4880 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4881 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4882 PATH_SEPARATOR=';' 4883 } 4884fi 4885 4886 4887# IFS 4888# We need space, tab and new line, in precisely that order. Quoting is 4889# there to prevent editors from complaining about space-tab. 4890# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4891# splitting by setting IFS to empty value.) 4892IFS=" "" $as_nl" 4893 4894# Find who we are. Look in the path if we contain no directory separator. 4895as_myself= 4896case $0 in #(( 4897 *[\\/]* ) as_myself=$0 ;; 4898 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4899for as_dir in $PATH 4900do 4901 IFS=$as_save_IFS 4902 test -z "$as_dir" && as_dir=. 4903 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4904 done 4905IFS=$as_save_IFS 4906 4907 ;; 4908esac 4909# We did not find ourselves, most probably we were run as `sh COMMAND' 4910# in which case we are not to be found in the path. 4911if test "x$as_myself" = x; then 4912 as_myself=$0 4913fi 4914if test ! -f "$as_myself"; then 4915 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4916 exit 1 4917fi 4918 4919# Unset variables that we do not need and which cause bugs (e.g. in 4920# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4921# suppresses any "Segmentation fault" message there. '((' could 4922# trigger a bug in pdksh 5.2.14. 4923for as_var in BASH_ENV ENV MAIL MAILPATH 4924do eval test x\${$as_var+set} = xset \ 4925 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4926done 4927PS1='$ ' 4928PS2='> ' 4929PS4='+ ' 4930 4931# NLS nuisances. 4932LC_ALL=C 4933export LC_ALL 4934LANGUAGE=C 4935export LANGUAGE 4936 4937# CDPATH. 4938(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4939 4940 4941# as_fn_error STATUS ERROR [LINENO LOG_FD] 4942# ---------------------------------------- 4943# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4944# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4945# script with STATUS, using 1 if that was 0. 4946as_fn_error () 4947{ 4948 as_status=$1; test $as_status -eq 0 && as_status=1 4949 if test "$4"; then 4950 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4951 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4952 fi 4953 $as_echo "$as_me: error: $2" >&2 4954 as_fn_exit $as_status 4955} # as_fn_error 4956 4957 4958# as_fn_set_status STATUS 4959# ----------------------- 4960# Set $? to STATUS, without forking. 4961as_fn_set_status () 4962{ 4963 return $1 4964} # as_fn_set_status 4965 4966# as_fn_exit STATUS 4967# ----------------- 4968# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4969as_fn_exit () 4970{ 4971 set +e 4972 as_fn_set_status $1 4973 exit $1 4974} # as_fn_exit 4975 4976# as_fn_unset VAR 4977# --------------- 4978# Portably unset VAR. 4979as_fn_unset () 4980{ 4981 { eval $1=; unset $1;} 4982} 4983as_unset=as_fn_unset 4984# as_fn_append VAR VALUE 4985# ---------------------- 4986# Append the text in VALUE to the end of the definition contained in VAR. Take 4987# advantage of any shell optimizations that allow amortized linear growth over 4988# repeated appends, instead of the typical quadratic growth present in naive 4989# implementations. 4990if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4991 eval 'as_fn_append () 4992 { 4993 eval $1+=\$2 4994 }' 4995else 4996 as_fn_append () 4997 { 4998 eval $1=\$$1\$2 4999 } 5000fi # as_fn_append 5001 5002# as_fn_arith ARG... 5003# ------------------ 5004# Perform arithmetic evaluation on the ARGs, and store the result in the 5005# global $as_val. Take advantage of shells that can avoid forks. The arguments 5006# must be portable across $(()) and expr. 5007if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5008 eval 'as_fn_arith () 5009 { 5010 as_val=$(( $* )) 5011 }' 5012else 5013 as_fn_arith () 5014 { 5015 as_val=`expr "$@" || test $? -eq 1` 5016 } 5017fi # as_fn_arith 5018 5019 5020if expr a : '\(a\)' >/dev/null 2>&1 && 5021 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5022 as_expr=expr 5023else 5024 as_expr=false 5025fi 5026 5027if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5028 as_basename=basename 5029else 5030 as_basename=false 5031fi 5032 5033if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5034 as_dirname=dirname 5035else 5036 as_dirname=false 5037fi 5038 5039as_me=`$as_basename -- "$0" || 5040$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5041 X"$0" : 'X\(//\)$' \| \ 5042 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5043$as_echo X/"$0" | 5044 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5045 s//\1/ 5046 q 5047 } 5048 /^X\/\(\/\/\)$/{ 5049 s//\1/ 5050 q 5051 } 5052 /^X\/\(\/\).*/{ 5053 s//\1/ 5054 q 5055 } 5056 s/.*/./; q'` 5057 5058# Avoid depending upon Character Ranges. 5059as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5060as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5061as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5062as_cr_digits='0123456789' 5063as_cr_alnum=$as_cr_Letters$as_cr_digits 5064 5065ECHO_C= ECHO_N= ECHO_T= 5066case `echo -n x` in #((((( 5067-n*) 5068 case `echo 'xy\c'` in 5069 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5070 xy) ECHO_C='\c';; 5071 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5072 ECHO_T=' ';; 5073 esac;; 5074*) 5075 ECHO_N='-n';; 5076esac 5077 5078rm -f conf$$ conf$$.exe conf$$.file 5079if test -d conf$$.dir; then 5080 rm -f conf$$.dir/conf$$.file 5081else 5082 rm -f conf$$.dir 5083 mkdir conf$$.dir 2>/dev/null 5084fi 5085if (echo >conf$$.file) 2>/dev/null; then 5086 if ln -s conf$$.file conf$$ 2>/dev/null; then 5087 as_ln_s='ln -s' 5088 # ... but there are two gotchas: 5089 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5090 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5091 # In both cases, we have to default to `cp -pR'. 5092 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5093 as_ln_s='cp -pR' 5094 elif ln conf$$.file conf$$ 2>/dev/null; then 5095 as_ln_s=ln 5096 else 5097 as_ln_s='cp -pR' 5098 fi 5099else 5100 as_ln_s='cp -pR' 5101fi 5102rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5103rmdir conf$$.dir 2>/dev/null 5104 5105 5106# as_fn_mkdir_p 5107# ------------- 5108# Create "$as_dir" as a directory, including parents if necessary. 5109as_fn_mkdir_p () 5110{ 5111 5112 case $as_dir in #( 5113 -*) as_dir=./$as_dir;; 5114 esac 5115 test -d "$as_dir" || eval $as_mkdir_p || { 5116 as_dirs= 5117 while :; do 5118 case $as_dir in #( 5119 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5120 *) as_qdir=$as_dir;; 5121 esac 5122 as_dirs="'$as_qdir' $as_dirs" 5123 as_dir=`$as_dirname -- "$as_dir" || 5124$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5125 X"$as_dir" : 'X\(//\)[^/]' \| \ 5126 X"$as_dir" : 'X\(//\)$' \| \ 5127 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5128$as_echo X"$as_dir" | 5129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5130 s//\1/ 5131 q 5132 } 5133 /^X\(\/\/\)[^/].*/{ 5134 s//\1/ 5135 q 5136 } 5137 /^X\(\/\/\)$/{ 5138 s//\1/ 5139 q 5140 } 5141 /^X\(\/\).*/{ 5142 s//\1/ 5143 q 5144 } 5145 s/.*/./; q'` 5146 test -d "$as_dir" && break 5147 done 5148 test -z "$as_dirs" || eval "mkdir $as_dirs" 5149 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5150 5151 5152} # as_fn_mkdir_p 5153if mkdir -p . 2>/dev/null; then 5154 as_mkdir_p='mkdir -p "$as_dir"' 5155else 5156 test -d ./-p && rmdir ./-p 5157 as_mkdir_p=false 5158fi 5159 5160 5161# as_fn_executable_p FILE 5162# ----------------------- 5163# Test if FILE is an executable regular file. 5164as_fn_executable_p () 5165{ 5166 test -f "$1" && test -x "$1" 5167} # as_fn_executable_p 5168as_test_x='test -x' 5169as_executable_p=as_fn_executable_p 5170 5171# Sed expression to map a string onto a valid CPP name. 5172as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5173 5174# Sed expression to map a string onto a valid variable name. 5175as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5176 5177 5178exec 6>&1 5179## ----------------------------------- ## 5180## Main body of $CONFIG_STATUS script. ## 5181## ----------------------------------- ## 5182_ASEOF 5183test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5184 5185cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5186# Save the log message, to keep $0 and so on meaningful, and to 5187# report actual input values of CONFIG_FILES etc. instead of their 5188# values after options handling. 5189ac_log=" 5190This file was extended by mingw-w64-libmangle $as_me 1.0, which was 5191generated by GNU Autoconf 2.69. Invocation command line was 5192 5193 CONFIG_FILES = $CONFIG_FILES 5194 CONFIG_HEADERS = $CONFIG_HEADERS 5195 CONFIG_LINKS = $CONFIG_LINKS 5196 CONFIG_COMMANDS = $CONFIG_COMMANDS 5197 $ $0 $@ 5198 5199on `(hostname || uname -n) 2>/dev/null | sed 1q` 5200" 5201 5202_ACEOF 5203 5204case $ac_config_files in *" 5205"*) set x $ac_config_files; shift; ac_config_files=$*;; 5206esac 5207 5208case $ac_config_headers in *" 5209"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 5210esac 5211 5212 5213cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5214# Files that config.status was made for. 5215config_files="$ac_config_files" 5216config_headers="$ac_config_headers" 5217config_commands="$ac_config_commands" 5218 5219_ACEOF 5220 5221cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5222ac_cs_usage="\ 5223\`$as_me' instantiates files and other configuration actions 5224from templates according to the current configuration. Unless the files 5225and actions are specified as TAGs, all are instantiated by default. 5226 5227Usage: $0 [OPTION]... [TAG]... 5228 5229 -h, --help print this help, then exit 5230 -V, --version print version number and configuration settings, then exit 5231 --config print configuration, then exit 5232 -q, --quiet, --silent 5233 do not print progress messages 5234 -d, --debug don't remove temporary files 5235 --recheck update $as_me by reconfiguring in the same conditions 5236 --file=FILE[:TEMPLATE] 5237 instantiate the configuration file FILE 5238 --header=FILE[:TEMPLATE] 5239 instantiate the configuration header FILE 5240 5241Configuration files: 5242$config_files 5243 5244Configuration headers: 5245$config_headers 5246 5247Configuration commands: 5248$config_commands 5249 5250Report bugs to <mingw-w64-public@lists.sf.net>." 5251 5252_ACEOF 5253cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5254ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5255ac_cs_version="\\ 5256mingw-w64-libmangle config.status 1.0 5257configured by $0, generated by GNU Autoconf 2.69, 5258 with options \\"\$ac_cs_config\\" 5259 5260Copyright (C) 2012 Free Software Foundation, Inc. 5261This config.status script is free software; the Free Software Foundation 5262gives unlimited permission to copy, distribute and modify it." 5263 5264ac_pwd='$ac_pwd' 5265srcdir='$srcdir' 5266INSTALL='$INSTALL' 5267MKDIR_P='$MKDIR_P' 5268AWK='$AWK' 5269test -n "\$AWK" || AWK=awk 5270_ACEOF 5271 5272cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5273# The default lists apply if the user does not specify any file. 5274ac_need_defaults=: 5275while test $# != 0 5276do 5277 case $1 in 5278 --*=?*) 5279 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5280 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5281 ac_shift=: 5282 ;; 5283 --*=) 5284 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5285 ac_optarg= 5286 ac_shift=: 5287 ;; 5288 *) 5289 ac_option=$1 5290 ac_optarg=$2 5291 ac_shift=shift 5292 ;; 5293 esac 5294 5295 case $ac_option in 5296 # Handling of the options. 5297 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5298 ac_cs_recheck=: ;; 5299 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5300 $as_echo "$ac_cs_version"; exit ;; 5301 --config | --confi | --conf | --con | --co | --c ) 5302 $as_echo "$ac_cs_config"; exit ;; 5303 --debug | --debu | --deb | --de | --d | -d ) 5304 debug=: ;; 5305 --file | --fil | --fi | --f ) 5306 $ac_shift 5307 case $ac_optarg in 5308 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5309 '') as_fn_error $? "missing file argument" ;; 5310 esac 5311 as_fn_append CONFIG_FILES " '$ac_optarg'" 5312 ac_need_defaults=false;; 5313 --header | --heade | --head | --hea ) 5314 $ac_shift 5315 case $ac_optarg in 5316 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5317 esac 5318 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 5319 ac_need_defaults=false;; 5320 --he | --h) 5321 # Conflict between --help and --header 5322 as_fn_error $? "ambiguous option: \`$1' 5323Try \`$0 --help' for more information.";; 5324 --help | --hel | -h ) 5325 $as_echo "$ac_cs_usage"; exit ;; 5326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5327 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5328 ac_cs_silent=: ;; 5329 5330 # This is an error. 5331 -*) as_fn_error $? "unrecognized option: \`$1' 5332Try \`$0 --help' for more information." ;; 5333 5334 *) as_fn_append ac_config_targets " $1" 5335 ac_need_defaults=false ;; 5336 5337 esac 5338 shift 5339done 5340 5341ac_configure_extra_args= 5342 5343if $ac_cs_silent; then 5344 exec 6>/dev/null 5345 ac_configure_extra_args="$ac_configure_extra_args --silent" 5346fi 5347 5348_ACEOF 5349cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5350if \$ac_cs_recheck; then 5351 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5352 shift 5353 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5354 CONFIG_SHELL='$SHELL' 5355 export CONFIG_SHELL 5356 exec "\$@" 5357fi 5358 5359_ACEOF 5360cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5361exec 5>>config.log 5362{ 5363 echo 5364 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5365## Running $as_me. ## 5366_ASBOX 5367 $as_echo "$ac_log" 5368} >&5 5369 5370_ACEOF 5371cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5372# 5373# INIT-COMMANDS 5374# 5375AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5376 5377_ACEOF 5378 5379cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5380 5381# Handling of arguments. 5382for ac_config_target in $ac_config_targets 5383do 5384 case $ac_config_target in 5385 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 5386 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5387 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5388 5389 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5390 esac 5391done 5392 5393 5394# If the user did not use the arguments to specify the items to instantiate, 5395# then the envvar interface is used. Set only those that are not. 5396# We use the long form for the default assignment because of an extremely 5397# bizarre bug on SunOS 4.1.3. 5398if $ac_need_defaults; then 5399 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5400 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5401 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5402fi 5403 5404# Have a temporary directory for convenience. Make it in the build tree 5405# simply because there is no reason against having it here, and in addition, 5406# creating and moving files from /tmp can sometimes cause problems. 5407# Hook for its removal unless debugging. 5408# Note that there is a small window in which the directory will not be cleaned: 5409# after its creation but before its name has been assigned to `$tmp'. 5410$debug || 5411{ 5412 tmp= ac_tmp= 5413 trap 'exit_status=$? 5414 : "${ac_tmp:=$tmp}" 5415 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5416' 0 5417 trap 'as_fn_exit 1' 1 2 13 15 5418} 5419# Create a (secure) tmp directory for tmp files. 5420 5421{ 5422 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5423 test -d "$tmp" 5424} || 5425{ 5426 tmp=./conf$$-$RANDOM 5427 (umask 077 && mkdir "$tmp") 5428} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5429ac_tmp=$tmp 5430 5431# Set up the scripts for CONFIG_FILES section. 5432# No need to generate them if there are no CONFIG_FILES. 5433# This happens for instance with `./config.status config.h'. 5434if test -n "$CONFIG_FILES"; then 5435 5436 5437ac_cr=`echo X | tr X '\015'` 5438# On cygwin, bash can eat \r inside `` if the user requested igncr. 5439# But we know of no other shell where ac_cr would be empty at this 5440# point, so we can use a bashism as a fallback. 5441if test "x$ac_cr" = x; then 5442 eval ac_cr=\$\'\\r\' 5443fi 5444ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5445if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5446 ac_cs_awk_cr='\\r' 5447else 5448 ac_cs_awk_cr=$ac_cr 5449fi 5450 5451echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 5452_ACEOF 5453 5454 5455{ 5456 echo "cat >conf$$subs.awk <<_ACEOF" && 5457 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5458 echo "_ACEOF" 5459} >conf$$subs.sh || 5460 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5461ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5462ac_delim='%!_!# ' 5463for ac_last_try in false false false false false :; do 5464 . ./conf$$subs.sh || 5465 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5466 5467 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5468 if test $ac_delim_n = $ac_delim_num; then 5469 break 5470 elif $ac_last_try; then 5471 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5472 else 5473 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5474 fi 5475done 5476rm -f conf$$subs.sh 5477 5478cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5479cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5480_ACEOF 5481sed -n ' 5482h 5483s/^/S["/; s/!.*/"]=/ 5484p 5485g 5486s/^[^!]*!// 5487:repl 5488t repl 5489s/'"$ac_delim"'$// 5490t delim 5491:nl 5492h 5493s/\(.\{148\}\)..*/\1/ 5494t more1 5495s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5496p 5497n 5498b repl 5499:more1 5500s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5501p 5502g 5503s/.\{148\}// 5504t nl 5505:delim 5506h 5507s/\(.\{148\}\)..*/\1/ 5508t more2 5509s/["\\]/\\&/g; s/^/"/; s/$/"/ 5510p 5511b 5512:more2 5513s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5514p 5515g 5516s/.\{148\}// 5517t delim 5518' <conf$$subs.awk | sed ' 5519/^[^""]/{ 5520 N 5521 s/\n// 5522} 5523' >>$CONFIG_STATUS || ac_write_fail=1 5524rm -f conf$$subs.awk 5525cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5526_ACAWK 5527cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5528 for (key in S) S_is_set[key] = 1 5529 FS = "" 5530 5531} 5532{ 5533 line = $ 0 5534 nfields = split(line, field, "@") 5535 substed = 0 5536 len = length(field[1]) 5537 for (i = 2; i < nfields; i++) { 5538 key = field[i] 5539 keylen = length(key) 5540 if (S_is_set[key]) { 5541 value = S[key] 5542 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5543 len += length(value) + length(field[++i]) 5544 substed = 1 5545 } else 5546 len += 1 + keylen 5547 } 5548 5549 print line 5550} 5551 5552_ACAWK 5553_ACEOF 5554cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5555if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5556 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5557else 5558 cat 5559fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5560 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5561_ACEOF 5562 5563# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5564# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5565# trailing colons and then remove the whole line if VPATH becomes empty 5566# (actually we leave an empty line to preserve line numbers). 5567if test "x$srcdir" = x.; then 5568 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5569h 5570s/// 5571s/^/:/ 5572s/[ ]*$/:/ 5573s/:\$(srcdir):/:/g 5574s/:\${srcdir}:/:/g 5575s/:@srcdir@:/:/g 5576s/^:*// 5577s/:*$// 5578x 5579s/\(=[ ]*\).*/\1/ 5580G 5581s/\n// 5582s/^[^=]*=[ ]*$// 5583}' 5584fi 5585 5586cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5587fi # test -n "$CONFIG_FILES" 5588 5589# Set up the scripts for CONFIG_HEADERS section. 5590# No need to generate them if there are no CONFIG_HEADERS. 5591# This happens for instance with `./config.status Makefile'. 5592if test -n "$CONFIG_HEADERS"; then 5593cat >"$ac_tmp/defines.awk" <<\_ACAWK || 5594BEGIN { 5595_ACEOF 5596 5597# Transform confdefs.h into an awk script `defines.awk', embedded as 5598# here-document in config.status, that substitutes the proper values into 5599# config.h.in to produce config.h. 5600 5601# Create a delimiter string that does not exist in confdefs.h, to ease 5602# handling of long lines. 5603ac_delim='%!_!# ' 5604for ac_last_try in false false :; do 5605 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 5606 if test -z "$ac_tt"; then 5607 break 5608 elif $ac_last_try; then 5609 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 5610 else 5611 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5612 fi 5613done 5614 5615# For the awk script, D is an array of macro values keyed by name, 5616# likewise P contains macro parameters if any. Preserve backslash 5617# newline sequences. 5618 5619ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 5620sed -n ' 5621s/.\{148\}/&'"$ac_delim"'/g 5622t rset 5623:rset 5624s/^[ ]*#[ ]*define[ ][ ]*/ / 5625t def 5626d 5627:def 5628s/\\$// 5629t bsnl 5630s/["\\]/\\&/g 5631s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5632D["\1"]=" \3"/p 5633s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 5634d 5635:bsnl 5636s/["\\]/\\&/g 5637s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5638D["\1"]=" \3\\\\\\n"\\/p 5639t cont 5640s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 5641t cont 5642d 5643:cont 5644n 5645s/.\{148\}/&'"$ac_delim"'/g 5646t clear 5647:clear 5648s/\\$// 5649t bsnlc 5650s/["\\]/\\&/g; s/^/"/; s/$/"/p 5651d 5652:bsnlc 5653s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 5654b cont 5655' <confdefs.h | sed ' 5656s/'"$ac_delim"'/"\\\ 5657"/g' >>$CONFIG_STATUS || ac_write_fail=1 5658 5659cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5660 for (key in D) D_is_set[key] = 1 5661 FS = "" 5662} 5663/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 5664 line = \$ 0 5665 split(line, arg, " ") 5666 if (arg[1] == "#") { 5667 defundef = arg[2] 5668 mac1 = arg[3] 5669 } else { 5670 defundef = substr(arg[1], 2) 5671 mac1 = arg[2] 5672 } 5673 split(mac1, mac2, "(") #) 5674 macro = mac2[1] 5675 prefix = substr(line, 1, index(line, defundef) - 1) 5676 if (D_is_set[macro]) { 5677 # Preserve the white space surrounding the "#". 5678 print prefix "define", macro P[macro] D[macro] 5679 next 5680 } else { 5681 # Replace #undef with comments. This is necessary, for example, 5682 # in the case of _POSIX_SOURCE, which is predefined and required 5683 # on some systems where configure will not decide to define it. 5684 if (defundef == "undef") { 5685 print "/*", prefix defundef, macro, "*/" 5686 next 5687 } 5688 } 5689} 5690{ print } 5691_ACAWK 5692_ACEOF 5693cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5694 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 5695fi # test -n "$CONFIG_HEADERS" 5696 5697 5698eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 5699shift 5700for ac_tag 5701do 5702 case $ac_tag in 5703 :[FHLC]) ac_mode=$ac_tag; continue;; 5704 esac 5705 case $ac_mode$ac_tag in 5706 :[FHL]*:*);; 5707 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5708 :[FH]-) ac_tag=-:-;; 5709 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5710 esac 5711 ac_save_IFS=$IFS 5712 IFS=: 5713 set x $ac_tag 5714 IFS=$ac_save_IFS 5715 shift 5716 ac_file=$1 5717 shift 5718 5719 case $ac_mode in 5720 :L) ac_source=$1;; 5721 :[FH]) 5722 ac_file_inputs= 5723 for ac_f 5724 do 5725 case $ac_f in 5726 -) ac_f="$ac_tmp/stdin";; 5727 *) # Look for the file first in the build tree, then in the source tree 5728 # (if the path is not absolute). The absolute path cannot be DOS-style, 5729 # because $ac_f cannot contain `:'. 5730 test -f "$ac_f" || 5731 case $ac_f in 5732 [\\/$]*) false;; 5733 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5734 esac || 5735 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5736 esac 5737 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5738 as_fn_append ac_file_inputs " '$ac_f'" 5739 done 5740 5741 # Let's still pretend it is `configure' which instantiates (i.e., don't 5742 # use $as_me), people would be surprised to read: 5743 # /* config.h. Generated by config.status. */ 5744 configure_input='Generated from '` 5745 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5746 `' by configure.' 5747 if test x"$ac_file" != x-; then 5748 configure_input="$ac_file. $configure_input" 5749 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5750$as_echo "$as_me: creating $ac_file" >&6;} 5751 fi 5752 # Neutralize special characters interpreted by sed in replacement strings. 5753 case $configure_input in #( 5754 *\&* | *\|* | *\\* ) 5755 ac_sed_conf_input=`$as_echo "$configure_input" | 5756 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5757 *) ac_sed_conf_input=$configure_input;; 5758 esac 5759 5760 case $ac_tag in 5761 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5762 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5763 esac 5764 ;; 5765 esac 5766 5767 ac_dir=`$as_dirname -- "$ac_file" || 5768$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5769 X"$ac_file" : 'X\(//\)[^/]' \| \ 5770 X"$ac_file" : 'X\(//\)$' \| \ 5771 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5772$as_echo X"$ac_file" | 5773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5774 s//\1/ 5775 q 5776 } 5777 /^X\(\/\/\)[^/].*/{ 5778 s//\1/ 5779 q 5780 } 5781 /^X\(\/\/\)$/{ 5782 s//\1/ 5783 q 5784 } 5785 /^X\(\/\).*/{ 5786 s//\1/ 5787 q 5788 } 5789 s/.*/./; q'` 5790 as_dir="$ac_dir"; as_fn_mkdir_p 5791 ac_builddir=. 5792 5793case "$ac_dir" in 5794.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5795*) 5796 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5797 # A ".." for each directory in $ac_dir_suffix. 5798 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5799 case $ac_top_builddir_sub in 5800 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5801 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5802 esac ;; 5803esac 5804ac_abs_top_builddir=$ac_pwd 5805ac_abs_builddir=$ac_pwd$ac_dir_suffix 5806# for backward compatibility: 5807ac_top_builddir=$ac_top_build_prefix 5808 5809case $srcdir in 5810 .) # We are building in place. 5811 ac_srcdir=. 5812 ac_top_srcdir=$ac_top_builddir_sub 5813 ac_abs_top_srcdir=$ac_pwd ;; 5814 [\\/]* | ?:[\\/]* ) # Absolute name. 5815 ac_srcdir=$srcdir$ac_dir_suffix; 5816 ac_top_srcdir=$srcdir 5817 ac_abs_top_srcdir=$srcdir ;; 5818 *) # Relative name. 5819 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5820 ac_top_srcdir=$ac_top_build_prefix$srcdir 5821 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5822esac 5823ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5824 5825 5826 case $ac_mode in 5827 :F) 5828 # 5829 # CONFIG_FILE 5830 # 5831 5832 case $INSTALL in 5833 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5834 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5835 esac 5836 ac_MKDIR_P=$MKDIR_P 5837 case $MKDIR_P in 5838 [\\/$]* | ?:[\\/]* ) ;; 5839 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5840 esac 5841_ACEOF 5842 5843cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5844# If the template does not know about datarootdir, expand it. 5845# FIXME: This hack should be removed a few years after 2.60. 5846ac_datarootdir_hack=; ac_datarootdir_seen= 5847ac_sed_dataroot=' 5848/datarootdir/ { 5849 p 5850 q 5851} 5852/@datadir@/p 5853/@docdir@/p 5854/@infodir@/p 5855/@localedir@/p 5856/@mandir@/p' 5857case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5858*datarootdir*) ac_datarootdir_seen=yes;; 5859*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5861$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5862_ACEOF 5863cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5864 ac_datarootdir_hack=' 5865 s&@datadir@&$datadir&g 5866 s&@docdir@&$docdir&g 5867 s&@infodir@&$infodir&g 5868 s&@localedir@&$localedir&g 5869 s&@mandir@&$mandir&g 5870 s&\\\${datarootdir}&$datarootdir&g' ;; 5871esac 5872_ACEOF 5873 5874# Neutralize VPATH when `$srcdir' = `.'. 5875# Shell code in configure.ac might set extrasub. 5876# FIXME: do we really want to maintain this feature? 5877cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5878ac_sed_extra="$ac_vpsub 5879$extrasub 5880_ACEOF 5881cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5882:t 5883/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5884s|@configure_input@|$ac_sed_conf_input|;t t 5885s&@top_builddir@&$ac_top_builddir_sub&;t t 5886s&@top_build_prefix@&$ac_top_build_prefix&;t t 5887s&@srcdir@&$ac_srcdir&;t t 5888s&@abs_srcdir@&$ac_abs_srcdir&;t t 5889s&@top_srcdir@&$ac_top_srcdir&;t t 5890s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5891s&@builddir@&$ac_builddir&;t t 5892s&@abs_builddir@&$ac_abs_builddir&;t t 5893s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5894s&@INSTALL@&$ac_INSTALL&;t t 5895s&@MKDIR_P@&$ac_MKDIR_P&;t t 5896$ac_datarootdir_hack 5897" 5898eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5899 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5900 5901test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5902 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5903 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5904 "$ac_tmp/out"`; test -z "$ac_out"; } && 5905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5906which seems to be undefined. Please make sure it is defined" >&5 5907$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5908which seems to be undefined. Please make sure it is defined" >&2;} 5909 5910 rm -f "$ac_tmp/stdin" 5911 case $ac_file in 5912 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5913 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5914 esac \ 5915 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5916 ;; 5917 :H) 5918 # 5919 # CONFIG_HEADER 5920 # 5921 if test x"$ac_file" != x-; then 5922 { 5923 $as_echo "/* $configure_input */" \ 5924 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 5925 } >"$ac_tmp/config.h" \ 5926 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5927 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 5928 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 5929$as_echo "$as_me: $ac_file is unchanged" >&6;} 5930 else 5931 rm -f "$ac_file" 5932 mv "$ac_tmp/config.h" "$ac_file" \ 5933 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5934 fi 5935 else 5936 $as_echo "/* $configure_input */" \ 5937 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 5938 || as_fn_error $? "could not create -" "$LINENO" 5 5939 fi 5940# Compute "$ac_file"'s index in $config_headers. 5941_am_arg="$ac_file" 5942_am_stamp_count=1 5943for _am_header in $config_headers :; do 5944 case $_am_header in 5945 $_am_arg | $_am_arg:* ) 5946 break ;; 5947 * ) 5948 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 5949 esac 5950done 5951echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 5952$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5953 X"$_am_arg" : 'X\(//\)[^/]' \| \ 5954 X"$_am_arg" : 'X\(//\)$' \| \ 5955 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 5956$as_echo X"$_am_arg" | 5957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5958 s//\1/ 5959 q 5960 } 5961 /^X\(\/\/\)[^/].*/{ 5962 s//\1/ 5963 q 5964 } 5965 /^X\(\/\/\)$/{ 5966 s//\1/ 5967 q 5968 } 5969 /^X\(\/\).*/{ 5970 s//\1/ 5971 q 5972 } 5973 s/.*/./; q'`/stamp-h$_am_stamp_count 5974 ;; 5975 5976 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 5977$as_echo "$as_me: executing $ac_file commands" >&6;} 5978 ;; 5979 esac 5980 5981 5982 case $ac_file$ac_mode in 5983 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 5984 # Older Autoconf quotes --file arguments for eval, but not when files 5985 # are listed without --file. Let's play safe and only enable the eval 5986 # if we detect the quoting. 5987 case $CONFIG_FILES in 5988 *\'*) eval set x "$CONFIG_FILES" ;; 5989 *) set x $CONFIG_FILES ;; 5990 esac 5991 shift 5992 for mf 5993 do 5994 # Strip MF so we end up with the name of the file. 5995 mf=`echo "$mf" | sed -e 's/:.*$//'` 5996 # Check whether this is an Automake generated Makefile or not. 5997 # We used to match only the files named 'Makefile.in', but 5998 # some people rename them; so instead we look at the file content. 5999 # Grep'ing the first line is not enough: some people post-process 6000 # each Makefile.in and add a new line on top of each file to say so. 6001 # Grep'ing the whole file is not good either: AIX grep has a line 6002 # limit of 2048, but all sed's we know have understand at least 4000. 6003 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6004 dirpart=`$as_dirname -- "$mf" || 6005$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6006 X"$mf" : 'X\(//\)[^/]' \| \ 6007 X"$mf" : 'X\(//\)$' \| \ 6008 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6009$as_echo X"$mf" | 6010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6011 s//\1/ 6012 q 6013 } 6014 /^X\(\/\/\)[^/].*/{ 6015 s//\1/ 6016 q 6017 } 6018 /^X\(\/\/\)$/{ 6019 s//\1/ 6020 q 6021 } 6022 /^X\(\/\).*/{ 6023 s//\1/ 6024 q 6025 } 6026 s/.*/./; q'` 6027 else 6028 continue 6029 fi 6030 # Extract the definition of DEPDIR, am__include, and am__quote 6031 # from the Makefile without running 'make'. 6032 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6033 test -z "$DEPDIR" && continue 6034 am__include=`sed -n 's/^am__include = //p' < "$mf"` 6035 test -z "$am__include" && continue 6036 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6037 # Find all dependency output files, they are included files with 6038 # $(DEPDIR) in their names. We invoke sed twice because it is the 6039 # simplest approach to changing $(DEPDIR) to its actual value in the 6040 # expansion. 6041 for file in `sed -n " 6042 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6043 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 6044 # Make sure the directory exists. 6045 test -f "$dirpart/$file" && continue 6046 fdir=`$as_dirname -- "$file" || 6047$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6048 X"$file" : 'X\(//\)[^/]' \| \ 6049 X"$file" : 'X\(//\)$' \| \ 6050 X"$file" : 'X\(/\)' \| . 2>/dev/null || 6051$as_echo X"$file" | 6052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6053 s//\1/ 6054 q 6055 } 6056 /^X\(\/\/\)[^/].*/{ 6057 s//\1/ 6058 q 6059 } 6060 /^X\(\/\/\)$/{ 6061 s//\1/ 6062 q 6063 } 6064 /^X\(\/\).*/{ 6065 s//\1/ 6066 q 6067 } 6068 s/.*/./; q'` 6069 as_dir=$dirpart/$fdir; as_fn_mkdir_p 6070 # echo "creating $dirpart/$file" 6071 echo '# dummy' > "$dirpart/$file" 6072 done 6073 done 6074} 6075 ;; 6076 6077 esac 6078done # for ac_tag 6079 6080 6081as_fn_exit 0 6082_ACEOF 6083ac_clean_files=$ac_clean_files_save 6084 6085test $ac_write_fail = 0 || 6086 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 6087 6088 6089# configure is writing to config.log, and then calls config.status. 6090# config.status does its own redirection, appending to config.log. 6091# Unfortunately, on DOS this fails, as config.log is still kept open 6092# by configure, so config.status won't be able to write to it; its 6093# output is simply discarded. So we exec the FD to /dev/null, 6094# effectively closing config.log, so it can be properly (re)opened and 6095# appended to by config.status. When coming back to configure, we 6096# need to make the FD available again. 6097if test "$no_create" != yes; then 6098 ac_cs_success=: 6099 ac_config_status_args= 6100 test "$silent" = yes && 6101 ac_config_status_args="$ac_config_status_args --quiet" 6102 exec 5>/dev/null 6103 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6104 exec 5>>config.log 6105 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6106 # would make configure fail if this is the last instruction. 6107 $ac_cs_success || as_fn_exit 1 6108fi 6109if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6111$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6112fi 6113 6114