configure revision bba870084bf6b0901b948e1f3b7327b8684a6d0b
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.68 for breakpad 0.1. 4# 5# Report bugs to <google-breakpad-dev@googlegroups.com>. 6# 7# 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 10# Foundation, Inc. 11# 12# 13# This configure script is free software; the Free Software Foundation 14# gives unlimited permission to copy, distribute and modify it. 15## -------------------- ## 16## M4sh Initialization. ## 17## -------------------- ## 18 19# Be more Bourne compatible 20DUALCASE=1; export DUALCASE # for MKS sh 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 22 emulate sh 23 NULLCMD=: 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 25 # is contrary to our usage. Disable this feature. 26 alias -g '${1+"$@"}'='"$@"' 27 setopt NO_GLOB_SUBST 28else 29 case `(set -o) 2>/dev/null` in #( 30 *posix*) : 31 set -o posix ;; #( 32 *) : 33 ;; 34esac 35fi 36 37 38as_nl=' 39' 40export as_nl 41# Printing a long string crashes Solaris 7 /usr/bin/printf. 42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 45# Prefer a ksh shell builtin over an external printf program on Solaris, 46# but without wasting forks for bash or zsh. 47if test -z "$BASH_VERSION$ZSH_VERSION" \ 48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 49 as_echo='print -r --' 50 as_echo_n='print -rn --' 51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 52 as_echo='printf %s\n' 53 as_echo_n='printf %s' 54else 55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 57 as_echo_n='/usr/ucb/echo -n' 58 else 59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 60 as_echo_n_body='eval 61 arg=$1; 62 case $arg in #( 63 *"$as_nl"*) 64 expr "X$arg" : "X\\(.*\\)$as_nl"; 65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 66 esac; 67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 68 ' 69 export as_echo_n_body 70 as_echo_n='sh -c $as_echo_n_body as_echo' 71 fi 72 export as_echo_body 73 as_echo='sh -c $as_echo_body as_echo' 74fi 75 76# The user is always right. 77if test "${PATH_SEPARATOR+set}" != set; then 78 PATH_SEPARATOR=: 79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 81 PATH_SEPARATOR=';' 82 } 83fi 84 85 86# IFS 87# We need space, tab and new line, in precisely that order. Quoting is 88# there to prevent editors from complaining about space-tab. 89# (If _AS_PATH_WALK were called with IFS unset, it would disable word 90# splitting by setting IFS to empty value.) 91IFS=" "" $as_nl" 92 93# Find who we are. Look in the path if we contain no directory separator. 94as_myself= 95case $0 in #(( 96 *[\\/]* ) as_myself=$0 ;; 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 98for as_dir in $PATH 99do 100 IFS=$as_save_IFS 101 test -z "$as_dir" && as_dir=. 102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 103 done 104IFS=$as_save_IFS 105 106 ;; 107esac 108# We did not find ourselves, most probably we were run as `sh COMMAND' 109# in which case we are not to be found in the path. 110if test "x$as_myself" = x; then 111 as_myself=$0 112fi 113if test ! -f "$as_myself"; then 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 115 exit 1 116fi 117 118# Unset variables that we do not need and which cause bugs (e.g. in 119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 120# suppresses any "Segmentation fault" message there. '((' could 121# trigger a bug in pdksh 5.2.14. 122for as_var in BASH_ENV ENV MAIL MAILPATH 123do eval test x\${$as_var+set} = xset \ 124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 125done 126PS1='$ ' 127PS2='> ' 128PS4='+ ' 129 130# NLS nuisances. 131LC_ALL=C 132export LC_ALL 133LANGUAGE=C 134export LANGUAGE 135 136# CDPATH. 137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 138 139if test "x$CONFIG_SHELL" = x; then 140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 141 emulate sh 142 NULLCMD=: 143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 144 # is contrary to our usage. Disable this feature. 145 alias -g '\${1+\"\$@\"}'='\"\$@\"' 146 setopt NO_GLOB_SUBST 147else 148 case \`(set -o) 2>/dev/null\` in #( 149 *posix*) : 150 set -o posix ;; #( 151 *) : 152 ;; 153esac 154fi 155" 156 as_required="as_fn_return () { (exit \$1); } 157as_fn_success () { as_fn_return 0; } 158as_fn_failure () { as_fn_return 1; } 159as_fn_ret_success () { return 0; } 160as_fn_ret_failure () { return 1; } 161 162exitcode=0 163as_fn_success || { exitcode=1; echo as_fn_success failed.; } 164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 168 169else 170 exitcode=1; echo positional parameters were not saved. 171fi 172test x\$exitcode = x0 || exit 1" 173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 177test \$(( 1 + 1 )) = 2 || exit 1" 178 if (eval "$as_required") 2>/dev/null; then : 179 as_have_required=yes 180else 181 as_have_required=no 182fi 183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 184 185else 186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 187as_found=false 188for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 189do 190 IFS=$as_save_IFS 191 test -z "$as_dir" && as_dir=. 192 as_found=: 193 case $as_dir in #( 194 /*) 195 for as_base in sh bash ksh sh5; do 196 # Try only shells that exist, to save several forks. 197 as_shell=$as_dir/$as_base 198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 CONFIG_SHELL=$as_shell as_have_required=yes 201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 202 break 2 203fi 204fi 205 done;; 206 esac 207 as_found=false 208done 209$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 211 CONFIG_SHELL=$SHELL as_have_required=yes 212fi; } 213IFS=$as_save_IFS 214 215 216 if test "x$CONFIG_SHELL" != x; then : 217 # We cannot yet assume a decent shell, so we have to provide a 218 # neutralization value for shells without unset; and this also 219 # works around shells that cannot unset nonexistent variables. 220 # Preserve -v and -x to the replacement shell. 221 BASH_ENV=/dev/null 222 ENV=/dev/null 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 224 export CONFIG_SHELL 225 case $- in # (((( 226 *v*x* | *x*v* ) as_opts=-vx ;; 227 *v* ) as_opts=-v ;; 228 *x* ) as_opts=-x ;; 229 * ) as_opts= ;; 230 esac 231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 232fi 233 234 if test x$as_have_required = xno; then : 235 $as_echo "$0: This script requires a shell more modern than all" 236 $as_echo "$0: the shells that I found on your system." 237 if test x${ZSH_VERSION+set} = xset ; then 238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 239 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 240 else 241 $as_echo "$0: Please tell bug-autoconf@gnu.org and 242$0: google-breakpad-dev@googlegroups.com about your system, 243$0: including any error possibly output before this 244$0: message. Then install a modern shell, or manually run 245$0: the script under such a shell if you do have one." 246 fi 247 exit 1 248fi 249fi 250fi 251SHELL=${CONFIG_SHELL-/bin/sh} 252export SHELL 253# Unset more variables known to interfere with behavior of common tools. 254CLICOLOR_FORCE= GREP_OPTIONS= 255unset CLICOLOR_FORCE GREP_OPTIONS 256 257## --------------------- ## 258## M4sh Shell Functions. ## 259## --------------------- ## 260# as_fn_unset VAR 261# --------------- 262# Portably unset VAR. 263as_fn_unset () 264{ 265 { eval $1=; unset $1;} 266} 267as_unset=as_fn_unset 268 269# as_fn_set_status STATUS 270# ----------------------- 271# Set $? to STATUS, without forking. 272as_fn_set_status () 273{ 274 return $1 275} # as_fn_set_status 276 277# as_fn_exit STATUS 278# ----------------- 279# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 280as_fn_exit () 281{ 282 set +e 283 as_fn_set_status $1 284 exit $1 285} # as_fn_exit 286 287# as_fn_mkdir_p 288# ------------- 289# Create "$as_dir" as a directory, including parents if necessary. 290as_fn_mkdir_p () 291{ 292 293 case $as_dir in #( 294 -*) as_dir=./$as_dir;; 295 esac 296 test -d "$as_dir" || eval $as_mkdir_p || { 297 as_dirs= 298 while :; do 299 case $as_dir in #( 300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 301 *) as_qdir=$as_dir;; 302 esac 303 as_dirs="'$as_qdir' $as_dirs" 304 as_dir=`$as_dirname -- "$as_dir" || 305$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 306 X"$as_dir" : 'X\(//\)[^/]' \| \ 307 X"$as_dir" : 'X\(//\)$' \| \ 308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 309$as_echo X"$as_dir" | 310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)[^/].*/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\/\)$/{ 319 s//\1/ 320 q 321 } 322 /^X\(\/\).*/{ 323 s//\1/ 324 q 325 } 326 s/.*/./; q'` 327 test -d "$as_dir" && break 328 done 329 test -z "$as_dirs" || eval "mkdir $as_dirs" 330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 331 332 333} # as_fn_mkdir_p 334# as_fn_append VAR VALUE 335# ---------------------- 336# Append the text in VALUE to the end of the definition contained in VAR. Take 337# advantage of any shell optimizations that allow amortized linear growth over 338# repeated appends, instead of the typical quadratic growth present in naive 339# implementations. 340if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 341 eval 'as_fn_append () 342 { 343 eval $1+=\$2 344 }' 345else 346 as_fn_append () 347 { 348 eval $1=\$$1\$2 349 } 350fi # as_fn_append 351 352# as_fn_arith ARG... 353# ------------------ 354# Perform arithmetic evaluation on the ARGs, and store the result in the 355# global $as_val. Take advantage of shells that can avoid forks. The arguments 356# must be portable across $(()) and expr. 357if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 358 eval 'as_fn_arith () 359 { 360 as_val=$(( $* )) 361 }' 362else 363 as_fn_arith () 364 { 365 as_val=`expr "$@" || test $? -eq 1` 366 } 367fi # as_fn_arith 368 369 370# as_fn_error STATUS ERROR [LINENO LOG_FD] 371# ---------------------------------------- 372# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 373# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 374# script with STATUS, using 1 if that was 0. 375as_fn_error () 376{ 377 as_status=$1; test $as_status -eq 0 && as_status=1 378 if test "$4"; then 379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 381 fi 382 $as_echo "$as_me: error: $2" >&2 383 as_fn_exit $as_status 384} # as_fn_error 385 386if expr a : '\(a\)' >/dev/null 2>&1 && 387 test "X`expr 00001 : '.*\(...\)'`" = X001; then 388 as_expr=expr 389else 390 as_expr=false 391fi 392 393if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 394 as_basename=basename 395else 396 as_basename=false 397fi 398 399if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 400 as_dirname=dirname 401else 402 as_dirname=false 403fi 404 405as_me=`$as_basename -- "$0" || 406$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 407 X"$0" : 'X\(//\)$' \| \ 408 X"$0" : 'X\(/\)' \| . 2>/dev/null || 409$as_echo X/"$0" | 410 sed '/^.*\/\([^/][^/]*\)\/*$/{ 411 s//\1/ 412 q 413 } 414 /^X\/\(\/\/\)$/{ 415 s//\1/ 416 q 417 } 418 /^X\/\(\/\).*/{ 419 s//\1/ 420 q 421 } 422 s/.*/./; q'` 423 424# Avoid depending upon Character Ranges. 425as_cr_letters='abcdefghijklmnopqrstuvwxyz' 426as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 427as_cr_Letters=$as_cr_letters$as_cr_LETTERS 428as_cr_digits='0123456789' 429as_cr_alnum=$as_cr_Letters$as_cr_digits 430 431 432 as_lineno_1=$LINENO as_lineno_1a=$LINENO 433 as_lineno_2=$LINENO as_lineno_2a=$LINENO 434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 437 sed -n ' 438 p 439 /[$]LINENO/= 440 ' <$as_myself | 441 sed ' 442 s/[$]LINENO.*/&-/ 443 t lineno 444 b 445 :lineno 446 N 447 :loop 448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 449 t loop 450 s/-\n.*// 451 ' >$as_me.lineno && 452 chmod +x "$as_me.lineno" || 453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 454 455 # Don't try to exec as it changes $[0], causing all sort of problems 456 # (the dirname of $[0] is not the place where we might find the 457 # original and so on. Autoconf is especially sensitive to this). 458 . "./$as_me.lineno" 459 # Exit status is that of the last command. 460 exit 461} 462 463ECHO_C= ECHO_N= ECHO_T= 464case `echo -n x` in #((((( 465-n*) 466 case `echo 'xy\c'` in 467 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 468 xy) ECHO_C='\c';; 469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 470 ECHO_T=' ';; 471 esac;; 472*) 473 ECHO_N='-n';; 474esac 475 476rm -f conf$$ conf$$.exe conf$$.file 477if test -d conf$$.dir; then 478 rm -f conf$$.dir/conf$$.file 479else 480 rm -f conf$$.dir 481 mkdir conf$$.dir 2>/dev/null 482fi 483if (echo >conf$$.file) 2>/dev/null; then 484 if ln -s conf$$.file conf$$ 2>/dev/null; then 485 as_ln_s='ln -s' 486 # ... but there are two gotchas: 487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 489 # In both cases, we have to default to `cp -p'. 490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 491 as_ln_s='cp -p' 492 elif ln conf$$.file conf$$ 2>/dev/null; then 493 as_ln_s=ln 494 else 495 as_ln_s='cp -p' 496 fi 497else 498 as_ln_s='cp -p' 499fi 500rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 501rmdir conf$$.dir 2>/dev/null 502 503if mkdir -p . 2>/dev/null; then 504 as_mkdir_p='mkdir -p "$as_dir"' 505else 506 test -d ./-p && rmdir ./-p 507 as_mkdir_p=false 508fi 509 510if test -x / >/dev/null 2>&1; then 511 as_test_x='test -x' 512else 513 if ls -dL / >/dev/null 2>&1; then 514 as_ls_L_option=L 515 else 516 as_ls_L_option= 517 fi 518 as_test_x=' 519 eval sh -c '\'' 520 if test -d "$1"; then 521 test -d "$1/."; 522 else 523 case $1 in #( 524 -*)set "./$1";; 525 esac; 526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 527 ???[sx]*):;;*)false;;esac;fi 528 '\'' sh 529 ' 530fi 531as_executable_p=$as_test_x 532 533# Sed expression to map a string onto a valid CPP name. 534as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 535 536# Sed expression to map a string onto a valid variable name. 537as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 538 539 540test -n "$DJDIR" || exec 7<&0 </dev/null 541exec 6>&1 542 543# Name of the host. 544# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 545# so uname gets run too. 546ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 547 548# 549# Initializations. 550# 551ac_default_prefix=/usr/local 552ac_clean_files= 553ac_config_libobj_dir=. 554LIBOBJS= 555cross_compiling=no 556subdirs= 557MFLAGS= 558MAKEFLAGS= 559 560# Identity of this package. 561PACKAGE_NAME='breakpad' 562PACKAGE_TARNAME='breakpad' 563PACKAGE_VERSION='0.1' 564PACKAGE_STRING='breakpad 0.1' 565PACKAGE_BUGREPORT='google-breakpad-dev@googlegroups.com' 566PACKAGE_URL='' 567 568ac_unique_file="README" 569# Factoring default headers for most tests. 570ac_includes_default="\ 571#include <stdio.h> 572#ifdef HAVE_SYS_TYPES_H 573# include <sys/types.h> 574#endif 575#ifdef HAVE_SYS_STAT_H 576# include <sys/stat.h> 577#endif 578#ifdef STDC_HEADERS 579# include <stdlib.h> 580# include <stddef.h> 581#else 582# ifdef HAVE_STDLIB_H 583# include <stdlib.h> 584# endif 585#endif 586#ifdef HAVE_STRING_H 587# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 588# include <memory.h> 589# endif 590# include <string.h> 591#endif 592#ifdef HAVE_STRINGS_H 593# include <strings.h> 594#endif 595#ifdef HAVE_INTTYPES_H 596# include <inttypes.h> 597#endif 598#ifdef HAVE_STDINT_H 599# include <stdint.h> 600#endif 601#ifdef HAVE_UNISTD_H 602# include <unistd.h> 603#endif" 604 605ac_subst_vars='am__EXEEXT_FALSE 606am__EXEEXT_TRUE 607LTLIBOBJS 608LIBOBJS 609SELFTEST_FALSE 610SELFTEST_TRUE 611DISABLE_MD2CORE_FALSE 612DISABLE_MD2CORE_TRUE 613DISABLE_CORE2MD_FALSE 614DISABLE_CORE2MD_TRUE 615DISABLE_TOOLS_FALSE 616DISABLE_TOOLS_TRUE 617DISABLE_PROCESSOR_FALSE 618DISABLE_PROCESSOR_TRUE 619ANDROID_HOST_FALSE 620ANDROID_HOST_TRUE 621LINUX_HOST_FALSE 622LINUX_HOST_TRUE 623PTHREAD_CFLAGS 624PTHREAD_LIBS 625PTHREAD_CC 626ax_pthread_config 627EGREP 628GREP 629GCC_FALSE 630GCC_TRUE 631RANLIB 632am__fastdepCXX_FALSE 633am__fastdepCXX_TRUE 634CXXDEPMODE 635ac_ct_CXX 636CXXFLAGS 637CXX 638CPP 639am__fastdepCCAS_FALSE 640am__fastdepCCAS_TRUE 641CCASDEPMODE 642CCASFLAGS 643CCAS 644am__fastdepCC_FALSE 645am__fastdepCC_TRUE 646CCDEPMODE 647am__nodep 648AMDEPBACKSLASH 649AMDEP_FALSE 650AMDEP_TRUE 651am__quote 652am__include 653DEPDIR 654OBJEXT 655EXEEXT 656ac_ct_CC 657CPPFLAGS 658LDFLAGS 659CFLAGS 660CC 661MAINT 662MAINTAINER_MODE_FALSE 663MAINTAINER_MODE_TRUE 664am__untar 665am__tar 666AMTAR 667am__leading_dot 668SET_MAKE 669AWK 670mkdir_p 671MKDIR_P 672INSTALL_STRIP_PROGRAM 673STRIP 674install_sh 675MAKEINFO 676AUTOHEADER 677AUTOMAKE 678AUTOCONF 679ACLOCAL 680VERSION 681PACKAGE 682CYGPATH_W 683am__isrc 684INSTALL_DATA 685INSTALL_SCRIPT 686INSTALL_PROGRAM 687host_os 688host_vendor 689host_cpu 690host 691build_os 692build_vendor 693build_cpu 694build 695target_alias 696host_alias 697build_alias 698LIBS 699ECHO_T 700ECHO_N 701ECHO_C 702DEFS 703mandir 704localedir 705libdir 706psdir 707pdfdir 708dvidir 709htmldir 710infodir 711docdir 712oldincludedir 713includedir 714localstatedir 715sharedstatedir 716sysconfdir 717datadir 718datarootdir 719libexecdir 720sbindir 721bindir 722program_transform_name 723prefix 724exec_prefix 725PACKAGE_URL 726PACKAGE_BUGREPORT 727PACKAGE_STRING 728PACKAGE_VERSION 729PACKAGE_TARNAME 730PACKAGE_NAME 731PATH_SEPARATOR 732SHELL' 733ac_subst_files='' 734ac_user_opts=' 735enable_option_checking 736enable_maintainer_mode 737enable_dependency_tracking 738enable_m32 739enable_largefile 740enable_processor 741enable_tools 742enable_core2md 743enable_md2core 744enable_selftest 745' 746 ac_precious_vars='build_alias 747host_alias 748target_alias 749CC 750CFLAGS 751LDFLAGS 752LIBS 753CPPFLAGS 754CCAS 755CCASFLAGS 756CPP 757CXX 758CXXFLAGS 759CCC' 760 761 762# Initialize some variables set by options. 763ac_init_help= 764ac_init_version=false 765ac_unrecognized_opts= 766ac_unrecognized_sep= 767# The variables have the same names as the options, with 768# dashes changed to underlines. 769cache_file=/dev/null 770exec_prefix=NONE 771no_create= 772no_recursion= 773prefix=NONE 774program_prefix=NONE 775program_suffix=NONE 776program_transform_name=s,x,x, 777silent= 778site= 779srcdir= 780verbose= 781x_includes=NONE 782x_libraries=NONE 783 784# Installation directory options. 785# These are left unexpanded so users can "make install exec_prefix=/foo" 786# and all the variables that are supposed to be based on exec_prefix 787# by default will actually change. 788# Use braces instead of parens because sh, perl, etc. also accept them. 789# (The list follows the same order as the GNU Coding Standards.) 790bindir='${exec_prefix}/bin' 791sbindir='${exec_prefix}/sbin' 792libexecdir='${exec_prefix}/libexec' 793datarootdir='${prefix}/share' 794datadir='${datarootdir}' 795sysconfdir='${prefix}/etc' 796sharedstatedir='${prefix}/com' 797localstatedir='${prefix}/var' 798includedir='${prefix}/include' 799oldincludedir='/usr/include' 800docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 801infodir='${datarootdir}/info' 802htmldir='${docdir}' 803dvidir='${docdir}' 804pdfdir='${docdir}' 805psdir='${docdir}' 806libdir='${exec_prefix}/lib' 807localedir='${datarootdir}/locale' 808mandir='${datarootdir}/man' 809 810ac_prev= 811ac_dashdash= 812for ac_option 813do 814 # If the previous option needs an argument, assign it. 815 if test -n "$ac_prev"; then 816 eval $ac_prev=\$ac_option 817 ac_prev= 818 continue 819 fi 820 821 case $ac_option in 822 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 823 *=) ac_optarg= ;; 824 *) ac_optarg=yes ;; 825 esac 826 827 # Accept the important Cygnus configure options, so we can diagnose typos. 828 829 case $ac_dashdash$ac_option in 830 --) 831 ac_dashdash=yes ;; 832 833 -bindir | --bindir | --bindi | --bind | --bin | --bi) 834 ac_prev=bindir ;; 835 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 836 bindir=$ac_optarg ;; 837 838 -build | --build | --buil | --bui | --bu) 839 ac_prev=build_alias ;; 840 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 841 build_alias=$ac_optarg ;; 842 843 -cache-file | --cache-file | --cache-fil | --cache-fi \ 844 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 845 ac_prev=cache_file ;; 846 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 847 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 848 cache_file=$ac_optarg ;; 849 850 --config-cache | -C) 851 cache_file=config.cache ;; 852 853 -datadir | --datadir | --datadi | --datad) 854 ac_prev=datadir ;; 855 -datadir=* | --datadir=* | --datadi=* | --datad=*) 856 datadir=$ac_optarg ;; 857 858 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 859 | --dataroo | --dataro | --datar) 860 ac_prev=datarootdir ;; 861 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 862 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 863 datarootdir=$ac_optarg ;; 864 865 -disable-* | --disable-*) 866 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 867 # Reject names that are not valid shell variable names. 868 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 869 as_fn_error $? "invalid feature name: $ac_useropt" 870 ac_useropt_orig=$ac_useropt 871 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 872 case $ac_user_opts in 873 *" 874"enable_$ac_useropt" 875"*) ;; 876 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 877 ac_unrecognized_sep=', ';; 878 esac 879 eval enable_$ac_useropt=no ;; 880 881 -docdir | --docdir | --docdi | --doc | --do) 882 ac_prev=docdir ;; 883 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 884 docdir=$ac_optarg ;; 885 886 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 887 ac_prev=dvidir ;; 888 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 889 dvidir=$ac_optarg ;; 890 891 -enable-* | --enable-*) 892 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 893 # Reject names that are not valid shell variable names. 894 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 895 as_fn_error $? "invalid feature name: $ac_useropt" 896 ac_useropt_orig=$ac_useropt 897 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 898 case $ac_user_opts in 899 *" 900"enable_$ac_useropt" 901"*) ;; 902 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 903 ac_unrecognized_sep=', ';; 904 esac 905 eval enable_$ac_useropt=\$ac_optarg ;; 906 907 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 908 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 909 | --exec | --exe | --ex) 910 ac_prev=exec_prefix ;; 911 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 912 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 913 | --exec=* | --exe=* | --ex=*) 914 exec_prefix=$ac_optarg ;; 915 916 -gas | --gas | --ga | --g) 917 # Obsolete; use --with-gas. 918 with_gas=yes ;; 919 920 -help | --help | --hel | --he | -h) 921 ac_init_help=long ;; 922 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 923 ac_init_help=recursive ;; 924 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 925 ac_init_help=short ;; 926 927 -host | --host | --hos | --ho) 928 ac_prev=host_alias ;; 929 -host=* | --host=* | --hos=* | --ho=*) 930 host_alias=$ac_optarg ;; 931 932 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 933 ac_prev=htmldir ;; 934 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 935 | --ht=*) 936 htmldir=$ac_optarg ;; 937 938 -includedir | --includedir | --includedi | --included | --include \ 939 | --includ | --inclu | --incl | --inc) 940 ac_prev=includedir ;; 941 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 942 | --includ=* | --inclu=* | --incl=* | --inc=*) 943 includedir=$ac_optarg ;; 944 945 -infodir | --infodir | --infodi | --infod | --info | --inf) 946 ac_prev=infodir ;; 947 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 948 infodir=$ac_optarg ;; 949 950 -libdir | --libdir | --libdi | --libd) 951 ac_prev=libdir ;; 952 -libdir=* | --libdir=* | --libdi=* | --libd=*) 953 libdir=$ac_optarg ;; 954 955 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 956 | --libexe | --libex | --libe) 957 ac_prev=libexecdir ;; 958 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 959 | --libexe=* | --libex=* | --libe=*) 960 libexecdir=$ac_optarg ;; 961 962 -localedir | --localedir | --localedi | --localed | --locale) 963 ac_prev=localedir ;; 964 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 965 localedir=$ac_optarg ;; 966 967 -localstatedir | --localstatedir | --localstatedi | --localstated \ 968 | --localstate | --localstat | --localsta | --localst | --locals) 969 ac_prev=localstatedir ;; 970 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 971 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 972 localstatedir=$ac_optarg ;; 973 974 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 975 ac_prev=mandir ;; 976 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 977 mandir=$ac_optarg ;; 978 979 -nfp | --nfp | --nf) 980 # Obsolete; use --without-fp. 981 with_fp=no ;; 982 983 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 984 | --no-cr | --no-c | -n) 985 no_create=yes ;; 986 987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 989 no_recursion=yes ;; 990 991 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 992 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 993 | --oldin | --oldi | --old | --ol | --o) 994 ac_prev=oldincludedir ;; 995 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 996 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 997 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 998 oldincludedir=$ac_optarg ;; 999 1000 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1001 ac_prev=prefix ;; 1002 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1003 prefix=$ac_optarg ;; 1004 1005 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1006 | --program-pre | --program-pr | --program-p) 1007 ac_prev=program_prefix ;; 1008 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1009 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1010 program_prefix=$ac_optarg ;; 1011 1012 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1013 | --program-suf | --program-su | --program-s) 1014 ac_prev=program_suffix ;; 1015 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1016 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1017 program_suffix=$ac_optarg ;; 1018 1019 -program-transform-name | --program-transform-name \ 1020 | --program-transform-nam | --program-transform-na \ 1021 | --program-transform-n | --program-transform- \ 1022 | --program-transform | --program-transfor \ 1023 | --program-transfo | --program-transf \ 1024 | --program-trans | --program-tran \ 1025 | --progr-tra | --program-tr | --program-t) 1026 ac_prev=program_transform_name ;; 1027 -program-transform-name=* | --program-transform-name=* \ 1028 | --program-transform-nam=* | --program-transform-na=* \ 1029 | --program-transform-n=* | --program-transform-=* \ 1030 | --program-transform=* | --program-transfor=* \ 1031 | --program-transfo=* | --program-transf=* \ 1032 | --program-trans=* | --program-tran=* \ 1033 | --progr-tra=* | --program-tr=* | --program-t=*) 1034 program_transform_name=$ac_optarg ;; 1035 1036 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1037 ac_prev=pdfdir ;; 1038 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1039 pdfdir=$ac_optarg ;; 1040 1041 -psdir | --psdir | --psdi | --psd | --ps) 1042 ac_prev=psdir ;; 1043 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1044 psdir=$ac_optarg ;; 1045 1046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1047 | -silent | --silent | --silen | --sile | --sil) 1048 silent=yes ;; 1049 1050 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1051 ac_prev=sbindir ;; 1052 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1053 | --sbi=* | --sb=*) 1054 sbindir=$ac_optarg ;; 1055 1056 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1057 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1058 | --sharedst | --shareds | --shared | --share | --shar \ 1059 | --sha | --sh) 1060 ac_prev=sharedstatedir ;; 1061 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1062 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1063 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1064 | --sha=* | --sh=*) 1065 sharedstatedir=$ac_optarg ;; 1066 1067 -site | --site | --sit) 1068 ac_prev=site ;; 1069 -site=* | --site=* | --sit=*) 1070 site=$ac_optarg ;; 1071 1072 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1073 ac_prev=srcdir ;; 1074 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1075 srcdir=$ac_optarg ;; 1076 1077 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1078 | --syscon | --sysco | --sysc | --sys | --sy) 1079 ac_prev=sysconfdir ;; 1080 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1081 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1082 sysconfdir=$ac_optarg ;; 1083 1084 -target | --target | --targe | --targ | --tar | --ta | --t) 1085 ac_prev=target_alias ;; 1086 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1087 target_alias=$ac_optarg ;; 1088 1089 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1090 verbose=yes ;; 1091 1092 -version | --version | --versio | --versi | --vers | -V) 1093 ac_init_version=: ;; 1094 1095 -with-* | --with-*) 1096 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1097 # Reject names that are not valid shell variable names. 1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1099 as_fn_error $? "invalid package name: $ac_useropt" 1100 ac_useropt_orig=$ac_useropt 1101 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1102 case $ac_user_opts in 1103 *" 1104"with_$ac_useropt" 1105"*) ;; 1106 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1107 ac_unrecognized_sep=', ';; 1108 esac 1109 eval with_$ac_useropt=\$ac_optarg ;; 1110 1111 -without-* | --without-*) 1112 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1113 # Reject names that are not valid shell variable names. 1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1115 as_fn_error $? "invalid package name: $ac_useropt" 1116 ac_useropt_orig=$ac_useropt 1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1118 case $ac_user_opts in 1119 *" 1120"with_$ac_useropt" 1121"*) ;; 1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1123 ac_unrecognized_sep=', ';; 1124 esac 1125 eval with_$ac_useropt=no ;; 1126 1127 --x) 1128 # Obsolete; use --with-x. 1129 with_x=yes ;; 1130 1131 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1132 | --x-incl | --x-inc | --x-in | --x-i) 1133 ac_prev=x_includes ;; 1134 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1135 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1136 x_includes=$ac_optarg ;; 1137 1138 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1139 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1140 ac_prev=x_libraries ;; 1141 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1142 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1143 x_libraries=$ac_optarg ;; 1144 1145 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1146Try \`$0 --help' for more information" 1147 ;; 1148 1149 *=*) 1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1151 # Reject names that are not valid shell variable names. 1152 case $ac_envvar in #( 1153 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1154 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1155 esac 1156 eval $ac_envvar=\$ac_optarg 1157 export $ac_envvar ;; 1158 1159 *) 1160 # FIXME: should be removed in autoconf 3.0. 1161 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1162 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1163 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1164 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1165 ;; 1166 1167 esac 1168done 1169 1170if test -n "$ac_prev"; then 1171 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1172 as_fn_error $? "missing argument to $ac_option" 1173fi 1174 1175if test -n "$ac_unrecognized_opts"; then 1176 case $enable_option_checking in 1177 no) ;; 1178 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1179 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1180 esac 1181fi 1182 1183# Check all directory arguments for consistency. 1184for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1185 datadir sysconfdir sharedstatedir localstatedir includedir \ 1186 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1187 libdir localedir mandir 1188do 1189 eval ac_val=\$$ac_var 1190 # Remove trailing slashes. 1191 case $ac_val in 1192 */ ) 1193 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1194 eval $ac_var=\$ac_val;; 1195 esac 1196 # Be sure to have absolute directory names. 1197 case $ac_val in 1198 [\\/$]* | ?:[\\/]* ) continue;; 1199 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1200 esac 1201 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1202done 1203 1204# There might be people who depend on the old broken behavior: `$host' 1205# used to hold the argument of --host etc. 1206# FIXME: To remove some day. 1207build=$build_alias 1208host=$host_alias 1209target=$target_alias 1210 1211# FIXME: To remove some day. 1212if test "x$host_alias" != x; then 1213 if test "x$build_alias" = x; then 1214 cross_compiling=maybe 1215 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1216 If a cross compiler is detected then cross compile mode will be used" >&2 1217 elif test "x$build_alias" != "x$host_alias"; then 1218 cross_compiling=yes 1219 fi 1220fi 1221 1222ac_tool_prefix= 1223test -n "$host_alias" && ac_tool_prefix=$host_alias- 1224 1225test "$silent" = yes && exec 6>/dev/null 1226 1227 1228ac_pwd=`pwd` && test -n "$ac_pwd" && 1229ac_ls_di=`ls -di .` && 1230ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1231 as_fn_error $? "working directory cannot be determined" 1232test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1233 as_fn_error $? "pwd does not report name of working directory" 1234 1235 1236# Find the source files, if location was not specified. 1237if test -z "$srcdir"; then 1238 ac_srcdir_defaulted=yes 1239 # Try the directory containing this script, then the parent directory. 1240 ac_confdir=`$as_dirname -- "$as_myself" || 1241$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1242 X"$as_myself" : 'X\(//\)[^/]' \| \ 1243 X"$as_myself" : 'X\(//\)$' \| \ 1244 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1245$as_echo X"$as_myself" | 1246 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1247 s//\1/ 1248 q 1249 } 1250 /^X\(\/\/\)[^/].*/{ 1251 s//\1/ 1252 q 1253 } 1254 /^X\(\/\/\)$/{ 1255 s//\1/ 1256 q 1257 } 1258 /^X\(\/\).*/{ 1259 s//\1/ 1260 q 1261 } 1262 s/.*/./; q'` 1263 srcdir=$ac_confdir 1264 if test ! -r "$srcdir/$ac_unique_file"; then 1265 srcdir=.. 1266 fi 1267else 1268 ac_srcdir_defaulted=no 1269fi 1270if test ! -r "$srcdir/$ac_unique_file"; then 1271 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1272 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1273fi 1274ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1275ac_abs_confdir=`( 1276 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1277 pwd)` 1278# When building in place, set srcdir=. 1279if test "$ac_abs_confdir" = "$ac_pwd"; then 1280 srcdir=. 1281fi 1282# Remove unnecessary trailing slashes from srcdir. 1283# Double slashes in file names in object file debugging info 1284# mess up M-x gdb in Emacs. 1285case $srcdir in 1286*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1287esac 1288for ac_var in $ac_precious_vars; do 1289 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1290 eval ac_env_${ac_var}_value=\$${ac_var} 1291 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1292 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1293done 1294 1295# 1296# Report the --help message. 1297# 1298if test "$ac_init_help" = "long"; then 1299 # Omit some internal or obsolete options to make the list less imposing. 1300 # This message is too long to be a string in the A/UX 3.1 sh. 1301 cat <<_ACEOF 1302\`configure' configures breakpad 0.1 to adapt to many kinds of systems. 1303 1304Usage: $0 [OPTION]... [VAR=VALUE]... 1305 1306To assign environment variables (e.g., CC, CFLAGS...), specify them as 1307VAR=VALUE. See below for descriptions of some of the useful variables. 1308 1309Defaults for the options are specified in brackets. 1310 1311Configuration: 1312 -h, --help display this help and exit 1313 --help=short display options specific to this package 1314 --help=recursive display the short help of all the included packages 1315 -V, --version display version information and exit 1316 -q, --quiet, --silent do not print \`checking ...' messages 1317 --cache-file=FILE cache test results in FILE [disabled] 1318 -C, --config-cache alias for \`--cache-file=config.cache' 1319 -n, --no-create do not create output files 1320 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1321 1322Installation directories: 1323 --prefix=PREFIX install architecture-independent files in PREFIX 1324 [$ac_default_prefix] 1325 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1326 [PREFIX] 1327 1328By default, \`make install' will install all the files in 1329\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1330an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1331for instance \`--prefix=\$HOME'. 1332 1333For better control, use the options below. 1334 1335Fine tuning of the installation directories: 1336 --bindir=DIR user executables [EPREFIX/bin] 1337 --sbindir=DIR system admin executables [EPREFIX/sbin] 1338 --libexecdir=DIR program executables [EPREFIX/libexec] 1339 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1340 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1341 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1342 --libdir=DIR object code libraries [EPREFIX/lib] 1343 --includedir=DIR C header files [PREFIX/include] 1344 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1345 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1346 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1347 --infodir=DIR info documentation [DATAROOTDIR/info] 1348 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1349 --mandir=DIR man documentation [DATAROOTDIR/man] 1350 --docdir=DIR documentation root [DATAROOTDIR/doc/breakpad] 1351 --htmldir=DIR html documentation [DOCDIR] 1352 --dvidir=DIR dvi documentation [DOCDIR] 1353 --pdfdir=DIR pdf documentation [DOCDIR] 1354 --psdir=DIR ps documentation [DOCDIR] 1355_ACEOF 1356 1357 cat <<\_ACEOF 1358 1359Program names: 1360 --program-prefix=PREFIX prepend PREFIX to installed program names 1361 --program-suffix=SUFFIX append SUFFIX to installed program names 1362 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1363 1364System types: 1365 --build=BUILD configure for building on BUILD [guessed] 1366 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1367_ACEOF 1368fi 1369 1370if test -n "$ac_init_help"; then 1371 case $ac_init_help in 1372 short | recursive ) echo "Configuration of breakpad 0.1:";; 1373 esac 1374 cat <<\_ACEOF 1375 1376Optional Features: 1377 --disable-option-checking ignore unrecognized --enable/--with options 1378 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1379 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1380 --enable-maintainer-mode 1381 enable make rules and dependencies not useful (and 1382 sometimes confusing) to the casual installer 1383 --disable-dependency-tracking speeds up one-time build 1384 --enable-dependency-tracking do not reject slow dependency extractors 1385 --enable-m32 Compile/build with -m32 (default is no) 1386 --disable-largefile omit support for large files 1387 --disable-processor Don't build processor library (default is no) 1388 --disable-tools Don't build tool binaries (default is no) 1389 --disable-core2md Don't build core2md binaries (default is no) 1390 --disable-md2core Don't build md2core binaries (default is no) 1391 --enable-selftest Run extra tests with "make check" (may conflict with 1392 optimizations) (default is no) 1393 1394Some influential environment variables: 1395 CC C compiler command 1396 CFLAGS C compiler flags 1397 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1398 nonstandard directory <lib dir> 1399 LIBS libraries to pass to the linker, e.g. -l<library> 1400 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1401 you have headers in a nonstandard directory <include dir> 1402 CCAS assembler compiler command (defaults to CC) 1403 CCASFLAGS assembler compiler flags (defaults to CFLAGS) 1404 CPP C preprocessor 1405 CXX C++ compiler command 1406 CXXFLAGS C++ compiler flags 1407 1408Use these variables to override the choices made by `configure' or to help 1409it to find libraries and programs with nonstandard names/locations. 1410 1411Report bugs to <google-breakpad-dev@googlegroups.com>. 1412_ACEOF 1413ac_status=$? 1414fi 1415 1416if test "$ac_init_help" = "recursive"; then 1417 # If there are subdirs, report their specific --help. 1418 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1419 test -d "$ac_dir" || 1420 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1421 continue 1422 ac_builddir=. 1423 1424case "$ac_dir" in 1425.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1426*) 1427 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1428 # A ".." for each directory in $ac_dir_suffix. 1429 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1430 case $ac_top_builddir_sub in 1431 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1432 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1433 esac ;; 1434esac 1435ac_abs_top_builddir=$ac_pwd 1436ac_abs_builddir=$ac_pwd$ac_dir_suffix 1437# for backward compatibility: 1438ac_top_builddir=$ac_top_build_prefix 1439 1440case $srcdir in 1441 .) # We are building in place. 1442 ac_srcdir=. 1443 ac_top_srcdir=$ac_top_builddir_sub 1444 ac_abs_top_srcdir=$ac_pwd ;; 1445 [\\/]* | ?:[\\/]* ) # Absolute name. 1446 ac_srcdir=$srcdir$ac_dir_suffix; 1447 ac_top_srcdir=$srcdir 1448 ac_abs_top_srcdir=$srcdir ;; 1449 *) # Relative name. 1450 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1451 ac_top_srcdir=$ac_top_build_prefix$srcdir 1452 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1453esac 1454ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1455 1456 cd "$ac_dir" || { ac_status=$?; continue; } 1457 # Check for guested configure. 1458 if test -f "$ac_srcdir/configure.gnu"; then 1459 echo && 1460 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1461 elif test -f "$ac_srcdir/configure"; then 1462 echo && 1463 $SHELL "$ac_srcdir/configure" --help=recursive 1464 else 1465 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1466 fi || ac_status=$? 1467 cd "$ac_pwd" || { ac_status=$?; break; } 1468 done 1469fi 1470 1471test -n "$ac_init_help" && exit $ac_status 1472if $ac_init_version; then 1473 cat <<\_ACEOF 1474breakpad configure 0.1 1475generated by GNU Autoconf 2.68 1476 1477Copyright (C) 2010 Free Software Foundation, Inc. 1478This configure script is free software; the Free Software Foundation 1479gives unlimited permission to copy, distribute and modify it. 1480_ACEOF 1481 exit 1482fi 1483 1484## ------------------------ ## 1485## Autoconf initialization. ## 1486## ------------------------ ## 1487 1488# ac_fn_c_try_compile LINENO 1489# -------------------------- 1490# Try to compile conftest.$ac_ext, and return whether this succeeded. 1491ac_fn_c_try_compile () 1492{ 1493 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1494 rm -f conftest.$ac_objext 1495 if { { ac_try="$ac_compile" 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_compile") 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; } && { 1511 test -z "$ac_c_werror_flag" || 1512 test ! -s conftest.err 1513 } && test -s conftest.$ac_objext; 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_compile 1525 1526# ac_fn_c_try_cpp LINENO 1527# ---------------------- 1528# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1529ac_fn_c_try_cpp () 1530{ 1531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1532 if { { ac_try="$ac_cpp conftest.$ac_ext" 1533case "(($ac_try" in 1534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1535 *) ac_try_echo=$ac_try;; 1536esac 1537eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1538$as_echo "$ac_try_echo"; } >&5 1539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1540 ac_status=$? 1541 if test -s conftest.err; then 1542 grep -v '^ *+' conftest.err >conftest.er1 1543 cat conftest.er1 >&5 1544 mv -f conftest.er1 conftest.err 1545 fi 1546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1547 test $ac_status = 0; } > conftest.i && { 1548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1549 test ! -s conftest.err 1550 }; then : 1551 ac_retval=0 1552else 1553 $as_echo "$as_me: failed program was:" >&5 1554sed 's/^/| /' conftest.$ac_ext >&5 1555 1556 ac_retval=1 1557fi 1558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1559 as_fn_set_status $ac_retval 1560 1561} # ac_fn_c_try_cpp 1562 1563# ac_fn_cxx_try_compile LINENO 1564# ---------------------------- 1565# Try to compile conftest.$ac_ext, and return whether this succeeded. 1566ac_fn_cxx_try_compile () 1567{ 1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1569 rm -f conftest.$ac_objext 1570 if { { ac_try="$ac_compile" 1571case "(($ac_try" in 1572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1573 *) ac_try_echo=$ac_try;; 1574esac 1575eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1576$as_echo "$ac_try_echo"; } >&5 1577 (eval "$ac_compile") 2>conftest.err 1578 ac_status=$? 1579 if test -s conftest.err; then 1580 grep -v '^ *+' conftest.err >conftest.er1 1581 cat conftest.er1 >&5 1582 mv -f conftest.er1 conftest.err 1583 fi 1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1585 test $ac_status = 0; } && { 1586 test -z "$ac_cxx_werror_flag" || 1587 test ! -s conftest.err 1588 } && test -s conftest.$ac_objext; then : 1589 ac_retval=0 1590else 1591 $as_echo "$as_me: failed program was:" >&5 1592sed 's/^/| /' conftest.$ac_ext >&5 1593 1594 ac_retval=1 1595fi 1596 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1597 as_fn_set_status $ac_retval 1598 1599} # ac_fn_cxx_try_compile 1600 1601# ac_fn_c_try_run LINENO 1602# ---------------------- 1603# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1604# that executables *can* be run. 1605ac_fn_c_try_run () 1606{ 1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1608 if { { ac_try="$ac_link" 1609case "(($ac_try" in 1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1611 *) ac_try_echo=$ac_try;; 1612esac 1613eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1614$as_echo "$ac_try_echo"; } >&5 1615 (eval "$ac_link") 2>&5 1616 ac_status=$? 1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1618 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1619 { { case "(($ac_try" in 1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1621 *) ac_try_echo=$ac_try;; 1622esac 1623eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1624$as_echo "$ac_try_echo"; } >&5 1625 (eval "$ac_try") 2>&5 1626 ac_status=$? 1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1628 test $ac_status = 0; }; }; then : 1629 ac_retval=0 1630else 1631 $as_echo "$as_me: program exited with status $ac_status" >&5 1632 $as_echo "$as_me: failed program was:" >&5 1633sed 's/^/| /' conftest.$ac_ext >&5 1634 1635 ac_retval=$ac_status 1636fi 1637 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1639 as_fn_set_status $ac_retval 1640 1641} # ac_fn_c_try_run 1642 1643# ac_fn_c_try_link LINENO 1644# ----------------------- 1645# Try to link conftest.$ac_ext, and return whether this succeeded. 1646ac_fn_c_try_link () 1647{ 1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1649 rm -f conftest.$ac_objext conftest$ac_exeext 1650 if { { ac_try="$ac_link" 1651case "(($ac_try" in 1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1653 *) ac_try_echo=$ac_try;; 1654esac 1655eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1656$as_echo "$ac_try_echo"; } >&5 1657 (eval "$ac_link") 2>conftest.err 1658 ac_status=$? 1659 if test -s conftest.err; then 1660 grep -v '^ *+' conftest.err >conftest.er1 1661 cat conftest.er1 >&5 1662 mv -f conftest.er1 conftest.err 1663 fi 1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1665 test $ac_status = 0; } && { 1666 test -z "$ac_c_werror_flag" || 1667 test ! -s conftest.err 1668 } && test -s conftest$ac_exeext && { 1669 test "$cross_compiling" = yes || 1670 $as_test_x conftest$ac_exeext 1671 }; then : 1672 ac_retval=0 1673else 1674 $as_echo "$as_me: failed program was:" >&5 1675sed 's/^/| /' conftest.$ac_ext >&5 1676 1677 ac_retval=1 1678fi 1679 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1680 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1681 # interfere with the next link command; also delete a directory that is 1682 # left behind by Apple's compiler. We do this before executing the actions. 1683 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1684 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1685 as_fn_set_status $ac_retval 1686 1687} # ac_fn_c_try_link 1688 1689# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1690# ------------------------------------------------------- 1691# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1692# the include files in INCLUDES and setting the cache variable VAR 1693# accordingly. 1694ac_fn_c_check_header_mongrel () 1695{ 1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1697 if eval \${$3+:} false; then : 1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1699$as_echo_n "checking for $2... " >&6; } 1700if eval \${$3+:} false; then : 1701 $as_echo_n "(cached) " >&6 1702fi 1703eval ac_res=\$$3 1704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1705$as_echo "$ac_res" >&6; } 1706else 1707 # Is the header compilable? 1708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1709$as_echo_n "checking $2 usability... " >&6; } 1710cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1711/* end confdefs.h. */ 1712$4 1713#include <$2> 1714_ACEOF 1715if ac_fn_c_try_compile "$LINENO"; then : 1716 ac_header_compiler=yes 1717else 1718 ac_header_compiler=no 1719fi 1720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1722$as_echo "$ac_header_compiler" >&6; } 1723 1724# Is the header present? 1725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1726$as_echo_n "checking $2 presence... " >&6; } 1727cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1728/* end confdefs.h. */ 1729#include <$2> 1730_ACEOF 1731if ac_fn_c_try_cpp "$LINENO"; then : 1732 ac_header_preproc=yes 1733else 1734 ac_header_preproc=no 1735fi 1736rm -f conftest.err conftest.i conftest.$ac_ext 1737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1738$as_echo "$ac_header_preproc" >&6; } 1739 1740# So? What about this header? 1741case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1742 yes:no: ) 1743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1744$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1746$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1747 ;; 1748 no:yes:* ) 1749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1750$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1752$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1754$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1756$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1758$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1759( $as_echo "## --------------------------------------------------- ## 1760## Report this to google-breakpad-dev@googlegroups.com ## 1761## --------------------------------------------------- ##" 1762 ) | sed "s/^/$as_me: WARNING: /" >&2 1763 ;; 1764esac 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1766$as_echo_n "checking for $2... " >&6; } 1767if eval \${$3+:} false; then : 1768 $as_echo_n "(cached) " >&6 1769else 1770 eval "$3=\$ac_header_compiler" 1771fi 1772eval ac_res=\$$3 1773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1774$as_echo "$ac_res" >&6; } 1775fi 1776 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1777 1778} # ac_fn_c_check_header_mongrel 1779 1780# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1781# ------------------------------------------------------- 1782# Tests whether HEADER exists and can be compiled using the include files in 1783# INCLUDES, setting the cache variable VAR accordingly. 1784ac_fn_c_check_header_compile () 1785{ 1786 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1788$as_echo_n "checking for $2... " >&6; } 1789if eval \${$3+:} false; then : 1790 $as_echo_n "(cached) " >&6 1791else 1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1793/* end confdefs.h. */ 1794$4 1795#include <$2> 1796_ACEOF 1797if ac_fn_c_try_compile "$LINENO"; then : 1798 eval "$3=yes" 1799else 1800 eval "$3=no" 1801fi 1802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1803fi 1804eval ac_res=\$$3 1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1806$as_echo "$ac_res" >&6; } 1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1808 1809} # ac_fn_c_check_header_compile 1810cat >config.log <<_ACEOF 1811This file contains any messages produced by compilers while 1812running configure, to aid debugging if configure makes a mistake. 1813 1814It was created by breakpad $as_me 0.1, which was 1815generated by GNU Autoconf 2.68. Invocation command line was 1816 1817 $ $0 $@ 1818 1819_ACEOF 1820exec 5>>config.log 1821{ 1822cat <<_ASUNAME 1823## --------- ## 1824## Platform. ## 1825## --------- ## 1826 1827hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1828uname -m = `(uname -m) 2>/dev/null || echo unknown` 1829uname -r = `(uname -r) 2>/dev/null || echo unknown` 1830uname -s = `(uname -s) 2>/dev/null || echo unknown` 1831uname -v = `(uname -v) 2>/dev/null || echo unknown` 1832 1833/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1834/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1835 1836/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1837/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1838/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1839/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1840/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1841/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1842/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1843 1844_ASUNAME 1845 1846as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1847for as_dir in $PATH 1848do 1849 IFS=$as_save_IFS 1850 test -z "$as_dir" && as_dir=. 1851 $as_echo "PATH: $as_dir" 1852 done 1853IFS=$as_save_IFS 1854 1855} >&5 1856 1857cat >&5 <<_ACEOF 1858 1859 1860## ----------- ## 1861## Core tests. ## 1862## ----------- ## 1863 1864_ACEOF 1865 1866 1867# Keep a trace of the command line. 1868# Strip out --no-create and --no-recursion so they do not pile up. 1869# Strip out --silent because we don't want to record it for future runs. 1870# Also quote any args containing shell meta-characters. 1871# Make two passes to allow for proper duplicate-argument suppression. 1872ac_configure_args= 1873ac_configure_args0= 1874ac_configure_args1= 1875ac_must_keep_next=false 1876for ac_pass in 1 2 1877do 1878 for ac_arg 1879 do 1880 case $ac_arg in 1881 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1882 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1883 | -silent | --silent | --silen | --sile | --sil) 1884 continue ;; 1885 *\'*) 1886 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1887 esac 1888 case $ac_pass in 1889 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1890 2) 1891 as_fn_append ac_configure_args1 " '$ac_arg'" 1892 if test $ac_must_keep_next = true; then 1893 ac_must_keep_next=false # Got value, back to normal. 1894 else 1895 case $ac_arg in 1896 *=* | --config-cache | -C | -disable-* | --disable-* \ 1897 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1898 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1899 | -with-* | --with-* | -without-* | --without-* | --x) 1900 case "$ac_configure_args0 " in 1901 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1902 esac 1903 ;; 1904 -* ) ac_must_keep_next=true ;; 1905 esac 1906 fi 1907 as_fn_append ac_configure_args " '$ac_arg'" 1908 ;; 1909 esac 1910 done 1911done 1912{ ac_configure_args0=; unset ac_configure_args0;} 1913{ ac_configure_args1=; unset ac_configure_args1;} 1914 1915# When interrupted or exit'd, cleanup temporary files, and complete 1916# config.log. We remove comments because anyway the quotes in there 1917# would cause problems or look ugly. 1918# WARNING: Use '\'' to represent an apostrophe within the trap. 1919# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1920trap 'exit_status=$? 1921 # Save into config.log some information that might help in debugging. 1922 { 1923 echo 1924 1925 $as_echo "## ---------------- ## 1926## Cache variables. ## 1927## ---------------- ##" 1928 echo 1929 # The following way of writing the cache mishandles newlines in values, 1930( 1931 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1932 eval ac_val=\$$ac_var 1933 case $ac_val in #( 1934 *${as_nl}*) 1935 case $ac_var in #( 1936 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1937$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1938 esac 1939 case $ac_var in #( 1940 _ | IFS | as_nl) ;; #( 1941 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1942 *) { eval $ac_var=; unset $ac_var;} ;; 1943 esac ;; 1944 esac 1945 done 1946 (set) 2>&1 | 1947 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1948 *${as_nl}ac_space=\ *) 1949 sed -n \ 1950 "s/'\''/'\''\\\\'\'''\''/g; 1951 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1952 ;; #( 1953 *) 1954 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1955 ;; 1956 esac | 1957 sort 1958) 1959 echo 1960 1961 $as_echo "## ----------------- ## 1962## Output variables. ## 1963## ----------------- ##" 1964 echo 1965 for ac_var in $ac_subst_vars 1966 do 1967 eval ac_val=\$$ac_var 1968 case $ac_val in 1969 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1970 esac 1971 $as_echo "$ac_var='\''$ac_val'\''" 1972 done | sort 1973 echo 1974 1975 if test -n "$ac_subst_files"; then 1976 $as_echo "## ------------------- ## 1977## File substitutions. ## 1978## ------------------- ##" 1979 echo 1980 for ac_var in $ac_subst_files 1981 do 1982 eval ac_val=\$$ac_var 1983 case $ac_val in 1984 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1985 esac 1986 $as_echo "$ac_var='\''$ac_val'\''" 1987 done | sort 1988 echo 1989 fi 1990 1991 if test -s confdefs.h; then 1992 $as_echo "## ----------- ## 1993## confdefs.h. ## 1994## ----------- ##" 1995 echo 1996 cat confdefs.h 1997 echo 1998 fi 1999 test "$ac_signal" != 0 && 2000 $as_echo "$as_me: caught signal $ac_signal" 2001 $as_echo "$as_me: exit $exit_status" 2002 } >&5 2003 rm -f core *.core core.conftest.* && 2004 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2005 exit $exit_status 2006' 0 2007for ac_signal in 1 2 13 15; do 2008 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2009done 2010ac_signal=0 2011 2012# confdefs.h avoids OS command line length limits that DEFS can exceed. 2013rm -f -r conftest* confdefs.h 2014 2015$as_echo "/* confdefs.h */" > confdefs.h 2016 2017# Predefined preprocessor variables. 2018 2019cat >>confdefs.h <<_ACEOF 2020#define PACKAGE_NAME "$PACKAGE_NAME" 2021_ACEOF 2022 2023cat >>confdefs.h <<_ACEOF 2024#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2025_ACEOF 2026 2027cat >>confdefs.h <<_ACEOF 2028#define PACKAGE_VERSION "$PACKAGE_VERSION" 2029_ACEOF 2030 2031cat >>confdefs.h <<_ACEOF 2032#define PACKAGE_STRING "$PACKAGE_STRING" 2033_ACEOF 2034 2035cat >>confdefs.h <<_ACEOF 2036#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2037_ACEOF 2038 2039cat >>confdefs.h <<_ACEOF 2040#define PACKAGE_URL "$PACKAGE_URL" 2041_ACEOF 2042 2043 2044# Let the site file select an alternate cache file if it wants to. 2045# Prefer an explicitly selected file to automatically selected ones. 2046ac_site_file1=NONE 2047ac_site_file2=NONE 2048if test -n "$CONFIG_SITE"; then 2049 # We do not want a PATH search for config.site. 2050 case $CONFIG_SITE in #(( 2051 -*) ac_site_file1=./$CONFIG_SITE;; 2052 */*) ac_site_file1=$CONFIG_SITE;; 2053 *) ac_site_file1=./$CONFIG_SITE;; 2054 esac 2055elif test "x$prefix" != xNONE; then 2056 ac_site_file1=$prefix/share/config.site 2057 ac_site_file2=$prefix/etc/config.site 2058else 2059 ac_site_file1=$ac_default_prefix/share/config.site 2060 ac_site_file2=$ac_default_prefix/etc/config.site 2061fi 2062for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2063do 2064 test "x$ac_site_file" = xNONE && continue 2065 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2066 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2067$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2068 sed 's/^/| /' "$ac_site_file" >&5 2069 . "$ac_site_file" \ 2070 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2071$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2072as_fn_error $? "failed to load site script $ac_site_file 2073See \`config.log' for more details" "$LINENO" 5; } 2074 fi 2075done 2076 2077if test -r "$cache_file"; then 2078 # Some versions of bash will fail to source /dev/null (special files 2079 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2080 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2081 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2082$as_echo "$as_me: loading cache $cache_file" >&6;} 2083 case $cache_file in 2084 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2085 *) . "./$cache_file";; 2086 esac 2087 fi 2088else 2089 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2090$as_echo "$as_me: creating cache $cache_file" >&6;} 2091 >$cache_file 2092fi 2093 2094# Check that the precious variables saved in the cache have kept the same 2095# value. 2096ac_cache_corrupted=false 2097for ac_var in $ac_precious_vars; do 2098 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2099 eval ac_new_set=\$ac_env_${ac_var}_set 2100 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2101 eval ac_new_val=\$ac_env_${ac_var}_value 2102 case $ac_old_set,$ac_new_set in 2103 set,) 2104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2105$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2106 ac_cache_corrupted=: ;; 2107 ,set) 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2109$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2110 ac_cache_corrupted=: ;; 2111 ,);; 2112 *) 2113 if test "x$ac_old_val" != "x$ac_new_val"; then 2114 # differences in whitespace do not lead to failure. 2115 ac_old_val_w=`echo x $ac_old_val` 2116 ac_new_val_w=`echo x $ac_new_val` 2117 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2118 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2119$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2120 ac_cache_corrupted=: 2121 else 2122 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2123$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2124 eval $ac_var=\$ac_old_val 2125 fi 2126 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2127$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2128 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2129$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2130 fi;; 2131 esac 2132 # Pass precious variables to config.status. 2133 if test "$ac_new_set" = set; then 2134 case $ac_new_val in 2135 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2136 *) ac_arg=$ac_var=$ac_new_val ;; 2137 esac 2138 case " $ac_configure_args " in 2139 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2140 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2141 esac 2142 fi 2143done 2144if $ac_cache_corrupted; then 2145 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2146$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2147 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2148$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2149 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2150fi 2151## -------------------- ## 2152## Main body of script. ## 2153## -------------------- ## 2154 2155ac_ext=c 2156ac_cpp='$CPP $CPPFLAGS' 2157ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2159ac_compiler_gnu=$ac_cv_c_compiler_gnu 2160 2161 2162 2163ac_aux_dir= 2164for ac_dir in autotools "$srcdir"/autotools; do 2165 if test -f "$ac_dir/install-sh"; then 2166 ac_aux_dir=$ac_dir 2167 ac_install_sh="$ac_aux_dir/install-sh -c" 2168 break 2169 elif test -f "$ac_dir/install.sh"; then 2170 ac_aux_dir=$ac_dir 2171 ac_install_sh="$ac_aux_dir/install.sh -c" 2172 break 2173 elif test -f "$ac_dir/shtool"; then 2174 ac_aux_dir=$ac_dir 2175 ac_install_sh="$ac_aux_dir/shtool install -c" 2176 break 2177 fi 2178done 2179if test -z "$ac_aux_dir"; then 2180 as_fn_error $? "cannot find install-sh, install.sh, or shtool in autotools \"$srcdir\"/autotools" "$LINENO" 5 2181fi 2182 2183# These three variables are undocumented and unsupported, 2184# and are intended to be withdrawn in a future Autoconf release. 2185# They can cause serious problems if a builder's source tree is in a directory 2186# whose full name contains unusual characters. 2187ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2188ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2189ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2190 2191 2192 2193# Make sure we can run config.sub. 2194$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2195 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2196 2197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2198$as_echo_n "checking build system type... " >&6; } 2199if ${ac_cv_build+:} false; then : 2200 $as_echo_n "(cached) " >&6 2201else 2202 ac_build_alias=$build_alias 2203test "x$ac_build_alias" = x && 2204 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2205test "x$ac_build_alias" = x && 2206 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2207ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2208 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2209 2210fi 2211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2212$as_echo "$ac_cv_build" >&6; } 2213case $ac_cv_build in 2214*-*-*) ;; 2215*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2216esac 2217build=$ac_cv_build 2218ac_save_IFS=$IFS; IFS='-' 2219set x $ac_cv_build 2220shift 2221build_cpu=$1 2222build_vendor=$2 2223shift; shift 2224# Remember, the first character of IFS is used to create $*, 2225# except with old shells: 2226build_os=$* 2227IFS=$ac_save_IFS 2228case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2229 2230 2231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2232$as_echo_n "checking host system type... " >&6; } 2233if ${ac_cv_host+:} false; then : 2234 $as_echo_n "(cached) " >&6 2235else 2236 if test "x$host_alias" = x; then 2237 ac_cv_host=$ac_cv_build 2238else 2239 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2240 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2241fi 2242 2243fi 2244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2245$as_echo "$ac_cv_host" >&6; } 2246case $ac_cv_host in 2247*-*-*) ;; 2248*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2249esac 2250host=$ac_cv_host 2251ac_save_IFS=$IFS; IFS='-' 2252set x $ac_cv_host 2253shift 2254host_cpu=$1 2255host_vendor=$2 2256shift; shift 2257# Remember, the first character of IFS is used to create $*, 2258# except with old shells: 2259host_os=$* 2260IFS=$ac_save_IFS 2261case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2262 2263 2264 2265am__api_version='1.11' 2266 2267# Find a good install program. We prefer a C program (faster), 2268# so one script is as good as another. But avoid the broken or 2269# incompatible versions: 2270# SysV /etc/install, /usr/sbin/install 2271# SunOS /usr/etc/install 2272# IRIX /sbin/install 2273# AIX /bin/install 2274# AmigaOS /C/install, which installs bootblocks on floppy discs 2275# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2276# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2277# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2278# OS/2's system install, which has a completely different semantic 2279# ./install, which can be erroneously created by make from ./install.sh. 2280# Reject install programs that cannot install multiple files. 2281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2282$as_echo_n "checking for a BSD-compatible install... " >&6; } 2283if test -z "$INSTALL"; then 2284if ${ac_cv_path_install+:} false; then : 2285 $as_echo_n "(cached) " >&6 2286else 2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2288for as_dir in $PATH 2289do 2290 IFS=$as_save_IFS 2291 test -z "$as_dir" && as_dir=. 2292 # Account for people who put trailing slashes in PATH elements. 2293case $as_dir/ in #(( 2294 ./ | .// | /[cC]/* | \ 2295 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2296 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2297 /usr/ucb/* ) ;; 2298 *) 2299 # OSF1 and SCO ODT 3.0 have their own names for install. 2300 # Don't use installbsd from OSF since it installs stuff as root 2301 # by default. 2302 for ac_prog in ginstall scoinst install; do 2303 for ac_exec_ext in '' $ac_executable_extensions; do 2304 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2305 if test $ac_prog = install && 2306 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2307 # AIX install. It has an incompatible calling convention. 2308 : 2309 elif test $ac_prog = install && 2310 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2311 # program-specific install script used by HP pwplus--don't use. 2312 : 2313 else 2314 rm -rf conftest.one conftest.two conftest.dir 2315 echo one > conftest.one 2316 echo two > conftest.two 2317 mkdir conftest.dir 2318 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2319 test -s conftest.one && test -s conftest.two && 2320 test -s conftest.dir/conftest.one && 2321 test -s conftest.dir/conftest.two 2322 then 2323 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2324 break 3 2325 fi 2326 fi 2327 fi 2328 done 2329 done 2330 ;; 2331esac 2332 2333 done 2334IFS=$as_save_IFS 2335 2336rm -rf conftest.one conftest.two conftest.dir 2337 2338fi 2339 if test "${ac_cv_path_install+set}" = set; then 2340 INSTALL=$ac_cv_path_install 2341 else 2342 # As a last resort, use the slow shell script. Don't cache a 2343 # value for INSTALL within a source directory, because that will 2344 # break other packages using the cache if that directory is 2345 # removed, or if the value is a relative name. 2346 INSTALL=$ac_install_sh 2347 fi 2348fi 2349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2350$as_echo "$INSTALL" >&6; } 2351 2352# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2353# It thinks the first close brace ends the variable substitution. 2354test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2355 2356test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2357 2358test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2359 2360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2361$as_echo_n "checking whether build environment is sane... " >&6; } 2362# Just in case 2363sleep 1 2364echo timestamp > conftest.file 2365# Reject unsafe characters in $srcdir or the absolute working directory 2366# name. Accept space and tab only in the latter. 2367am_lf=' 2368' 2369case `pwd` in 2370 *[\\\"\#\$\&\'\`$am_lf]*) 2371 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2372esac 2373case $srcdir in 2374 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2375 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2376esac 2377 2378# Do `set' in a subshell so we don't clobber the current shell's 2379# arguments. Must try -L first in case configure is actually a 2380# symlink; some systems play weird games with the mod time of symlinks 2381# (eg FreeBSD returns the mod time of the symlink's containing 2382# directory). 2383if ( 2384 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2385 if test "$*" = "X"; then 2386 # -L didn't work. 2387 set X `ls -t "$srcdir/configure" conftest.file` 2388 fi 2389 rm -f conftest.file 2390 if test "$*" != "X $srcdir/configure conftest.file" \ 2391 && test "$*" != "X conftest.file $srcdir/configure"; then 2392 2393 # If neither matched, then we have a broken ls. This can happen 2394 # if, for instance, CONFIG_SHELL is bash and it inherits a 2395 # broken ls alias from the environment. This has actually 2396 # happened. Such a system could not be considered "sane". 2397 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2398alias in your environment" "$LINENO" 5 2399 fi 2400 2401 test "$2" = conftest.file 2402 ) 2403then 2404 # Ok. 2405 : 2406else 2407 as_fn_error $? "newly created file is older than distributed files! 2408Check your system clock" "$LINENO" 5 2409fi 2410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2411$as_echo "yes" >&6; } 2412test "$program_prefix" != NONE && 2413 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2414# Use a double $ so make ignores it. 2415test "$program_suffix" != NONE && 2416 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2417# Double any \ or $. 2418# By default was `s,x,x', remove it if useless. 2419ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2420program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2421 2422# expand $ac_aux_dir to an absolute path 2423am_aux_dir=`cd $ac_aux_dir && pwd` 2424 2425if test x"${MISSING+set}" != xset; then 2426 case $am_aux_dir in 2427 *\ * | *\ *) 2428 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2429 *) 2430 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2431 esac 2432fi 2433# Use eval to expand $SHELL 2434if eval "$MISSING --run true"; then 2435 am_missing_run="$MISSING --run " 2436else 2437 am_missing_run= 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2439$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2440fi 2441 2442if test x"${install_sh}" != xset; then 2443 case $am_aux_dir in 2444 *\ * | *\ *) 2445 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2446 *) 2447 install_sh="\${SHELL} $am_aux_dir/install-sh" 2448 esac 2449fi 2450 2451# Installed binaries are usually stripped using `strip' when the user 2452# run `make install-strip'. However `strip' might not be the right 2453# tool to use in cross-compilation environments, therefore Automake 2454# will honor the `STRIP' environment variable to overrule this program. 2455if test "$cross_compiling" != no; then 2456 if test -n "$ac_tool_prefix"; then 2457 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2458set dummy ${ac_tool_prefix}strip; ac_word=$2 2459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2460$as_echo_n "checking for $ac_word... " >&6; } 2461if ${ac_cv_prog_STRIP+:} false; then : 2462 $as_echo_n "(cached) " >&6 2463else 2464 if test -n "$STRIP"; then 2465 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2466else 2467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2468for as_dir in $PATH 2469do 2470 IFS=$as_save_IFS 2471 test -z "$as_dir" && as_dir=. 2472 for ac_exec_ext in '' $ac_executable_extensions; do 2473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2474 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2476 break 2 2477 fi 2478done 2479 done 2480IFS=$as_save_IFS 2481 2482fi 2483fi 2484STRIP=$ac_cv_prog_STRIP 2485if test -n "$STRIP"; then 2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2487$as_echo "$STRIP" >&6; } 2488else 2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2490$as_echo "no" >&6; } 2491fi 2492 2493 2494fi 2495if test -z "$ac_cv_prog_STRIP"; then 2496 ac_ct_STRIP=$STRIP 2497 # Extract the first word of "strip", so it can be a program name with args. 2498set dummy strip; ac_word=$2 2499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2500$as_echo_n "checking for $ac_word... " >&6; } 2501if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2502 $as_echo_n "(cached) " >&6 2503else 2504 if test -n "$ac_ct_STRIP"; then 2505 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2506else 2507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2508for as_dir in $PATH 2509do 2510 IFS=$as_save_IFS 2511 test -z "$as_dir" && as_dir=. 2512 for ac_exec_ext in '' $ac_executable_extensions; do 2513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2514 ac_cv_prog_ac_ct_STRIP="strip" 2515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2516 break 2 2517 fi 2518done 2519 done 2520IFS=$as_save_IFS 2521 2522fi 2523fi 2524ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2525if test -n "$ac_ct_STRIP"; then 2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2527$as_echo "$ac_ct_STRIP" >&6; } 2528else 2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2530$as_echo "no" >&6; } 2531fi 2532 2533 if test "x$ac_ct_STRIP" = x; then 2534 STRIP=":" 2535 else 2536 case $cross_compiling:$ac_tool_warned in 2537yes:) 2538{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2539$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2540ac_tool_warned=yes ;; 2541esac 2542 STRIP=$ac_ct_STRIP 2543 fi 2544else 2545 STRIP="$ac_cv_prog_STRIP" 2546fi 2547 2548fi 2549INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2550 2551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2552$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2553if test -z "$MKDIR_P"; then 2554 if ${ac_cv_path_mkdir+:} false; then : 2555 $as_echo_n "(cached) " >&6 2556else 2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2558for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2559do 2560 IFS=$as_save_IFS 2561 test -z "$as_dir" && as_dir=. 2562 for ac_prog in mkdir gmkdir; do 2563 for ac_exec_ext in '' $ac_executable_extensions; do 2564 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2565 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2566 'mkdir (GNU coreutils) '* | \ 2567 'mkdir (coreutils) '* | \ 2568 'mkdir (fileutils) '4.1*) 2569 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2570 break 3;; 2571 esac 2572 done 2573 done 2574 done 2575IFS=$as_save_IFS 2576 2577fi 2578 2579 test -d ./--version && rmdir ./--version 2580 if test "${ac_cv_path_mkdir+set}" = set; then 2581 MKDIR_P="$ac_cv_path_mkdir -p" 2582 else 2583 # As a last resort, use the slow shell script. Don't cache a 2584 # value for MKDIR_P within a source directory, because that will 2585 # break other packages using the cache if that directory is 2586 # removed, or if the value is a relative name. 2587 MKDIR_P="$ac_install_sh -d" 2588 fi 2589fi 2590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2591$as_echo "$MKDIR_P" >&6; } 2592 2593mkdir_p="$MKDIR_P" 2594case $mkdir_p in 2595 [\\/$]* | ?:[\\/]*) ;; 2596 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2597esac 2598 2599for ac_prog in gawk mawk nawk awk 2600do 2601 # Extract the first word of "$ac_prog", so it can be a program name with args. 2602set dummy $ac_prog; ac_word=$2 2603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2604$as_echo_n "checking for $ac_word... " >&6; } 2605if ${ac_cv_prog_AWK+:} false; then : 2606 $as_echo_n "(cached) " >&6 2607else 2608 if test -n "$AWK"; then 2609 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2610else 2611as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2612for as_dir in $PATH 2613do 2614 IFS=$as_save_IFS 2615 test -z "$as_dir" && as_dir=. 2616 for ac_exec_ext in '' $ac_executable_extensions; do 2617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2618 ac_cv_prog_AWK="$ac_prog" 2619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2620 break 2 2621 fi 2622done 2623 done 2624IFS=$as_save_IFS 2625 2626fi 2627fi 2628AWK=$ac_cv_prog_AWK 2629if test -n "$AWK"; then 2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2631$as_echo "$AWK" >&6; } 2632else 2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2634$as_echo "no" >&6; } 2635fi 2636 2637 2638 test -n "$AWK" && break 2639done 2640 2641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2642$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2643set x ${MAKE-make} 2644ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2645if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2646 $as_echo_n "(cached) " >&6 2647else 2648 cat >conftest.make <<\_ACEOF 2649SHELL = /bin/sh 2650all: 2651 @echo '@@@%%%=$(MAKE)=@@@%%%' 2652_ACEOF 2653# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2654case `${MAKE-make} -f conftest.make 2>/dev/null` in 2655 *@@@%%%=?*=@@@%%%*) 2656 eval ac_cv_prog_make_${ac_make}_set=yes;; 2657 *) 2658 eval ac_cv_prog_make_${ac_make}_set=no;; 2659esac 2660rm -f conftest.make 2661fi 2662if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2664$as_echo "yes" >&6; } 2665 SET_MAKE= 2666else 2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2668$as_echo "no" >&6; } 2669 SET_MAKE="MAKE=${MAKE-make}" 2670fi 2671 2672rm -rf .tst 2>/dev/null 2673mkdir .tst 2>/dev/null 2674if test -d .tst; then 2675 am__leading_dot=. 2676else 2677 am__leading_dot=_ 2678fi 2679rmdir .tst 2>/dev/null 2680 2681if test "`cd $srcdir && pwd`" != "`pwd`"; then 2682 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2683 # is not polluted with repeated "-I." 2684 am__isrc=' -I$(srcdir)' 2685 # test to see if srcdir already configured 2686 if test -f $srcdir/config.status; then 2687 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2688 fi 2689fi 2690 2691# test whether we have cygpath 2692if test -z "$CYGPATH_W"; then 2693 if (cygpath --version) >/dev/null 2>/dev/null; then 2694 CYGPATH_W='cygpath -w' 2695 else 2696 CYGPATH_W=echo 2697 fi 2698fi 2699 2700 2701# Define the identity of the package. 2702 PACKAGE='breakpad' 2703 VERSION='0.1' 2704 2705 2706cat >>confdefs.h <<_ACEOF 2707#define PACKAGE "$PACKAGE" 2708_ACEOF 2709 2710 2711cat >>confdefs.h <<_ACEOF 2712#define VERSION "$VERSION" 2713_ACEOF 2714 2715# Some tools Automake needs. 2716 2717ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2718 2719 2720AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2721 2722 2723AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2724 2725 2726AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2727 2728 2729MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2730 2731# We need awk for the "check" target. The system "awk" is bad on 2732# some platforms. 2733# Always define AMTAR for backward compatibility. Yes, it's still used 2734# in the wild :-( We should find a proper way to deprecate it ... 2735AMTAR='$${TAR-tar}' 2736 2737 2738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 2739$as_echo_n "checking how to create a ustar tar archive... " >&6; } 2740# Loop over all known methods to create a tar archive until one works. 2741_am_tools='gnutar plaintar pax cpio none' 2742_am_tools=${am_cv_prog_tar_ustar-$_am_tools} 2743# Do not fold the above two line into one, because Tru64 sh and 2744# Solaris sh will not grok spaces in the rhs of `-'. 2745for _am_tool in $_am_tools 2746do 2747 case $_am_tool in 2748 gnutar) 2749 for _am_tar in tar gnutar gtar; 2750 do 2751 { echo "$as_me:$LINENO: $_am_tar --version" >&5 2752 ($_am_tar --version) >&5 2>&5 2753 ac_status=$? 2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2755 (exit $ac_status); } && break 2756 done 2757 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 2758 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 2759 am__untar="$_am_tar -xf -" 2760 ;; 2761 plaintar) 2762 # Must skip GNU tar: if it does not support --format= it doesn't create 2763 # ustar tarball either. 2764 (tar --version) >/dev/null 2>&1 && continue 2765 am__tar='tar chf - "$$tardir"' 2766 am__tar_='tar chf - "$tardir"' 2767 am__untar='tar xf -' 2768 ;; 2769 pax) 2770 am__tar='pax -L -x ustar -w "$$tardir"' 2771 am__tar_='pax -L -x ustar -w "$tardir"' 2772 am__untar='pax -r' 2773 ;; 2774 cpio) 2775 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 2776 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 2777 am__untar='cpio -i -H ustar -d' 2778 ;; 2779 none) 2780 am__tar=false 2781 am__tar_=false 2782 am__untar=false 2783 ;; 2784 esac 2785 2786 # If the value was cached, stop now. We just wanted to have am__tar 2787 # and am__untar set. 2788 test -n "${am_cv_prog_tar_ustar}" && break 2789 2790 # tar/untar a dummy directory, and stop if the command works 2791 rm -rf conftest.dir 2792 mkdir conftest.dir 2793 echo GrepMe > conftest.dir/file 2794 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 2795 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 2796 ac_status=$? 2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2798 (exit $ac_status); } 2799 rm -rf conftest.dir 2800 if test -s conftest.tar; then 2801 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 2802 ($am__untar <conftest.tar) >&5 2>&5 2803 ac_status=$? 2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2805 (exit $ac_status); } 2806 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 2807 fi 2808done 2809rm -rf conftest.dir 2810 2811if ${am_cv_prog_tar_ustar+:} false; then : 2812 $as_echo_n "(cached) " >&6 2813else 2814 am_cv_prog_tar_ustar=$_am_tool 2815fi 2816 2817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 2818$as_echo "$am_cv_prog_tar_ustar" >&6; } 2819 2820 2821 2822 2823 2824ac_config_headers="$ac_config_headers src/config.h" 2825 2826 2827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 2828$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 2829 # Check whether --enable-maintainer-mode was given. 2830if test "${enable_maintainer_mode+set}" = set; then : 2831 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 2832else 2833 USE_MAINTAINER_MODE=no 2834fi 2835 2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 2837$as_echo "$USE_MAINTAINER_MODE" >&6; } 2838 if test $USE_MAINTAINER_MODE = yes; then 2839 MAINTAINER_MODE_TRUE= 2840 MAINTAINER_MODE_FALSE='#' 2841else 2842 MAINTAINER_MODE_TRUE='#' 2843 MAINTAINER_MODE_FALSE= 2844fi 2845 2846 MAINT=$MAINTAINER_MODE_TRUE 2847 2848 2849 2850DEPDIR="${am__leading_dot}deps" 2851 2852ac_config_commands="$ac_config_commands depfiles" 2853 2854 2855am_make=${MAKE-make} 2856cat > confinc << 'END' 2857am__doit: 2858 @echo this is the am__doit target 2859.PHONY: am__doit 2860END 2861# If we don't find an include directive, just comment out the code. 2862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 2863$as_echo_n "checking for style of include used by $am_make... " >&6; } 2864am__include="#" 2865am__quote= 2866_am_result=none 2867# First try GNU make style include. 2868echo "include confinc" > confmf 2869# Ignore all kinds of additional output from `make'. 2870case `$am_make -s -f confmf 2> /dev/null` in #( 2871*the\ am__doit\ target*) 2872 am__include=include 2873 am__quote= 2874 _am_result=GNU 2875 ;; 2876esac 2877# Now try BSD make style include. 2878if test "$am__include" = "#"; then 2879 echo '.include "confinc"' > confmf 2880 case `$am_make -s -f confmf 2> /dev/null` in #( 2881 *the\ am__doit\ target*) 2882 am__include=.include 2883 am__quote="\"" 2884 _am_result=BSD 2885 ;; 2886 esac 2887fi 2888 2889 2890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 2891$as_echo "$_am_result" >&6; } 2892rm -f confinc confmf 2893 2894# Check whether --enable-dependency-tracking was given. 2895if test "${enable_dependency_tracking+set}" = set; then : 2896 enableval=$enable_dependency_tracking; 2897fi 2898 2899if test "x$enable_dependency_tracking" != xno; then 2900 am_depcomp="$ac_aux_dir/depcomp" 2901 AMDEPBACKSLASH='\' 2902 am__nodep='_no' 2903fi 2904 if test "x$enable_dependency_tracking" != xno; then 2905 AMDEP_TRUE= 2906 AMDEP_FALSE='#' 2907else 2908 AMDEP_TRUE='#' 2909 AMDEP_FALSE= 2910fi 2911 2912 2913ac_ext=c 2914ac_cpp='$CPP $CPPFLAGS' 2915ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2916ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2917ac_compiler_gnu=$ac_cv_c_compiler_gnu 2918if test -n "$ac_tool_prefix"; then 2919 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2920set dummy ${ac_tool_prefix}gcc; ac_word=$2 2921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2922$as_echo_n "checking for $ac_word... " >&6; } 2923if ${ac_cv_prog_CC+:} false; then : 2924 $as_echo_n "(cached) " >&6 2925else 2926 if test -n "$CC"; then 2927 ac_cv_prog_CC="$CC" # Let the user override the test. 2928else 2929as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2930for as_dir in $PATH 2931do 2932 IFS=$as_save_IFS 2933 test -z "$as_dir" && as_dir=. 2934 for ac_exec_ext in '' $ac_executable_extensions; do 2935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2936 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2938 break 2 2939 fi 2940done 2941 done 2942IFS=$as_save_IFS 2943 2944fi 2945fi 2946CC=$ac_cv_prog_CC 2947if test -n "$CC"; then 2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2949$as_echo "$CC" >&6; } 2950else 2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2952$as_echo "no" >&6; } 2953fi 2954 2955 2956fi 2957if test -z "$ac_cv_prog_CC"; then 2958 ac_ct_CC=$CC 2959 # Extract the first word of "gcc", so it can be a program name with args. 2960set dummy gcc; ac_word=$2 2961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2962$as_echo_n "checking for $ac_word... " >&6; } 2963if ${ac_cv_prog_ac_ct_CC+:} false; then : 2964 $as_echo_n "(cached) " >&6 2965else 2966 if test -n "$ac_ct_CC"; then 2967 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2968else 2969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2970for as_dir in $PATH 2971do 2972 IFS=$as_save_IFS 2973 test -z "$as_dir" && as_dir=. 2974 for ac_exec_ext in '' $ac_executable_extensions; do 2975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2976 ac_cv_prog_ac_ct_CC="gcc" 2977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2978 break 2 2979 fi 2980done 2981 done 2982IFS=$as_save_IFS 2983 2984fi 2985fi 2986ac_ct_CC=$ac_cv_prog_ac_ct_CC 2987if test -n "$ac_ct_CC"; then 2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2989$as_echo "$ac_ct_CC" >&6; } 2990else 2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2992$as_echo "no" >&6; } 2993fi 2994 2995 if test "x$ac_ct_CC" = x; then 2996 CC="" 2997 else 2998 case $cross_compiling:$ac_tool_warned in 2999yes:) 3000{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3001$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3002ac_tool_warned=yes ;; 3003esac 3004 CC=$ac_ct_CC 3005 fi 3006else 3007 CC="$ac_cv_prog_CC" 3008fi 3009 3010if test -z "$CC"; then 3011 if test -n "$ac_tool_prefix"; then 3012 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3013set dummy ${ac_tool_prefix}cc; ac_word=$2 3014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3015$as_echo_n "checking for $ac_word... " >&6; } 3016if ${ac_cv_prog_CC+:} false; then : 3017 $as_echo_n "(cached) " >&6 3018else 3019 if test -n "$CC"; then 3020 ac_cv_prog_CC="$CC" # Let the user override the test. 3021else 3022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3023for as_dir in $PATH 3024do 3025 IFS=$as_save_IFS 3026 test -z "$as_dir" && as_dir=. 3027 for ac_exec_ext in '' $ac_executable_extensions; do 3028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3029 ac_cv_prog_CC="${ac_tool_prefix}cc" 3030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3031 break 2 3032 fi 3033done 3034 done 3035IFS=$as_save_IFS 3036 3037fi 3038fi 3039CC=$ac_cv_prog_CC 3040if test -n "$CC"; then 3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3042$as_echo "$CC" >&6; } 3043else 3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3045$as_echo "no" >&6; } 3046fi 3047 3048 3049 fi 3050fi 3051if test -z "$CC"; then 3052 # Extract the first word of "cc", so it can be a program name with args. 3053set dummy cc; ac_word=$2 3054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3055$as_echo_n "checking for $ac_word... " >&6; } 3056if ${ac_cv_prog_CC+:} false; then : 3057 $as_echo_n "(cached) " >&6 3058else 3059 if test -n "$CC"; then 3060 ac_cv_prog_CC="$CC" # Let the user override the test. 3061else 3062 ac_prog_rejected=no 3063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3064for as_dir in $PATH 3065do 3066 IFS=$as_save_IFS 3067 test -z "$as_dir" && as_dir=. 3068 for ac_exec_ext in '' $ac_executable_extensions; do 3069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3070 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3071 ac_prog_rejected=yes 3072 continue 3073 fi 3074 ac_cv_prog_CC="cc" 3075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3076 break 2 3077 fi 3078done 3079 done 3080IFS=$as_save_IFS 3081 3082if test $ac_prog_rejected = yes; then 3083 # We found a bogon in the path, so make sure we never use it. 3084 set dummy $ac_cv_prog_CC 3085 shift 3086 if test $# != 0; then 3087 # We chose a different compiler from the bogus one. 3088 # However, it has the same basename, so the bogon will be chosen 3089 # first if we set CC to just the basename; use the full file name. 3090 shift 3091 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3092 fi 3093fi 3094fi 3095fi 3096CC=$ac_cv_prog_CC 3097if test -n "$CC"; then 3098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3099$as_echo "$CC" >&6; } 3100else 3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3102$as_echo "no" >&6; } 3103fi 3104 3105 3106fi 3107if test -z "$CC"; then 3108 if test -n "$ac_tool_prefix"; then 3109 for ac_prog in cl.exe 3110 do 3111 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3112set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3114$as_echo_n "checking for $ac_word... " >&6; } 3115if ${ac_cv_prog_CC+:} false; then : 3116 $as_echo_n "(cached) " >&6 3117else 3118 if test -n "$CC"; then 3119 ac_cv_prog_CC="$CC" # Let the user override the test. 3120else 3121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3122for as_dir in $PATH 3123do 3124 IFS=$as_save_IFS 3125 test -z "$as_dir" && as_dir=. 3126 for ac_exec_ext in '' $ac_executable_extensions; do 3127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3128 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3130 break 2 3131 fi 3132done 3133 done 3134IFS=$as_save_IFS 3135 3136fi 3137fi 3138CC=$ac_cv_prog_CC 3139if test -n "$CC"; then 3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3141$as_echo "$CC" >&6; } 3142else 3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3144$as_echo "no" >&6; } 3145fi 3146 3147 3148 test -n "$CC" && break 3149 done 3150fi 3151if test -z "$CC"; then 3152 ac_ct_CC=$CC 3153 for ac_prog in cl.exe 3154do 3155 # Extract the first word of "$ac_prog", so it can be a program name with args. 3156set dummy $ac_prog; ac_word=$2 3157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3158$as_echo_n "checking for $ac_word... " >&6; } 3159if ${ac_cv_prog_ac_ct_CC+:} false; then : 3160 $as_echo_n "(cached) " >&6 3161else 3162 if test -n "$ac_ct_CC"; then 3163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3164else 3165as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3166for as_dir in $PATH 3167do 3168 IFS=$as_save_IFS 3169 test -z "$as_dir" && as_dir=. 3170 for ac_exec_ext in '' $ac_executable_extensions; do 3171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3172 ac_cv_prog_ac_ct_CC="$ac_prog" 3173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3174 break 2 3175 fi 3176done 3177 done 3178IFS=$as_save_IFS 3179 3180fi 3181fi 3182ac_ct_CC=$ac_cv_prog_ac_ct_CC 3183if test -n "$ac_ct_CC"; then 3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3185$as_echo "$ac_ct_CC" >&6; } 3186else 3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3188$as_echo "no" >&6; } 3189fi 3190 3191 3192 test -n "$ac_ct_CC" && break 3193done 3194 3195 if test "x$ac_ct_CC" = x; then 3196 CC="" 3197 else 3198 case $cross_compiling:$ac_tool_warned in 3199yes:) 3200{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3201$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3202ac_tool_warned=yes ;; 3203esac 3204 CC=$ac_ct_CC 3205 fi 3206fi 3207 3208fi 3209 3210 3211test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3212$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3213as_fn_error $? "no acceptable C compiler found in \$PATH 3214See \`config.log' for more details" "$LINENO" 5; } 3215 3216# Provide some information about the compiler. 3217$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3218set X $ac_compile 3219ac_compiler=$2 3220for ac_option in --version -v -V -qversion; do 3221 { { ac_try="$ac_compiler $ac_option >&5" 3222case "(($ac_try" in 3223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3224 *) ac_try_echo=$ac_try;; 3225esac 3226eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3227$as_echo "$ac_try_echo"; } >&5 3228 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3229 ac_status=$? 3230 if test -s conftest.err; then 3231 sed '10a\ 3232... rest of stderr output deleted ... 3233 10q' conftest.err >conftest.er1 3234 cat conftest.er1 >&5 3235 fi 3236 rm -f conftest.er1 conftest.err 3237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3238 test $ac_status = 0; } 3239done 3240 3241cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3242/* end confdefs.h. */ 3243 3244int 3245main () 3246{ 3247 3248 ; 3249 return 0; 3250} 3251_ACEOF 3252ac_clean_files_save=$ac_clean_files 3253ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3254# Try to create an executable without -o first, disregard a.out. 3255# It will help us diagnose broken compilers, and finding out an intuition 3256# of exeext. 3257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3258$as_echo_n "checking whether the C compiler works... " >&6; } 3259ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3260 3261# The possible output files: 3262ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3263 3264ac_rmfiles= 3265for ac_file in $ac_files 3266do 3267 case $ac_file in 3268 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3269 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3270 esac 3271done 3272rm -f $ac_rmfiles 3273 3274if { { ac_try="$ac_link_default" 3275case "(($ac_try" in 3276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3277 *) ac_try_echo=$ac_try;; 3278esac 3279eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3280$as_echo "$ac_try_echo"; } >&5 3281 (eval "$ac_link_default") 2>&5 3282 ac_status=$? 3283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3284 test $ac_status = 0; }; then : 3285 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3286# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3287# in a Makefile. We should not override ac_cv_exeext if it was cached, 3288# so that the user can short-circuit this test for compilers unknown to 3289# Autoconf. 3290for ac_file in $ac_files '' 3291do 3292 test -f "$ac_file" || continue 3293 case $ac_file in 3294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3295 ;; 3296 [ab].out ) 3297 # We found the default executable, but exeext='' is most 3298 # certainly right. 3299 break;; 3300 *.* ) 3301 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3302 then :; else 3303 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3304 fi 3305 # We set ac_cv_exeext here because the later test for it is not 3306 # safe: cross compilers may not add the suffix if given an `-o' 3307 # argument, so we may need to know it at that point already. 3308 # Even if this section looks crufty: it has the advantage of 3309 # actually working. 3310 break;; 3311 * ) 3312 break;; 3313 esac 3314done 3315test "$ac_cv_exeext" = no && ac_cv_exeext= 3316 3317else 3318 ac_file='' 3319fi 3320if test -z "$ac_file"; then : 3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3322$as_echo "no" >&6; } 3323$as_echo "$as_me: failed program was:" >&5 3324sed 's/^/| /' conftest.$ac_ext >&5 3325 3326{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3327$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3328as_fn_error 77 "C compiler cannot create executables 3329See \`config.log' for more details" "$LINENO" 5; } 3330else 3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3332$as_echo "yes" >&6; } 3333fi 3334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3335$as_echo_n "checking for C compiler default output file name... " >&6; } 3336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3337$as_echo "$ac_file" >&6; } 3338ac_exeext=$ac_cv_exeext 3339 3340rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3341ac_clean_files=$ac_clean_files_save 3342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3343$as_echo_n "checking for suffix of executables... " >&6; } 3344if { { ac_try="$ac_link" 3345case "(($ac_try" in 3346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3347 *) ac_try_echo=$ac_try;; 3348esac 3349eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3350$as_echo "$ac_try_echo"; } >&5 3351 (eval "$ac_link") 2>&5 3352 ac_status=$? 3353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3354 test $ac_status = 0; }; then : 3355 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3356# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3357# work properly (i.e., refer to `conftest.exe'), while it won't with 3358# `rm'. 3359for ac_file in conftest.exe conftest conftest.*; do 3360 test -f "$ac_file" || continue 3361 case $ac_file in 3362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3363 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3364 break;; 3365 * ) break;; 3366 esac 3367done 3368else 3369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3370$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3371as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3372See \`config.log' for more details" "$LINENO" 5; } 3373fi 3374rm -f conftest conftest$ac_cv_exeext 3375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3376$as_echo "$ac_cv_exeext" >&6; } 3377 3378rm -f conftest.$ac_ext 3379EXEEXT=$ac_cv_exeext 3380ac_exeext=$EXEEXT 3381cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3382/* end confdefs.h. */ 3383#include <stdio.h> 3384int 3385main () 3386{ 3387FILE *f = fopen ("conftest.out", "w"); 3388 return ferror (f) || fclose (f) != 0; 3389 3390 ; 3391 return 0; 3392} 3393_ACEOF 3394ac_clean_files="$ac_clean_files conftest.out" 3395# Check that the compiler produces executables we can run. If not, either 3396# the compiler is broken, or we cross compile. 3397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3398$as_echo_n "checking whether we are cross compiling... " >&6; } 3399if test "$cross_compiling" != yes; then 3400 { { ac_try="$ac_link" 3401case "(($ac_try" in 3402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3403 *) ac_try_echo=$ac_try;; 3404esac 3405eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3406$as_echo "$ac_try_echo"; } >&5 3407 (eval "$ac_link") 2>&5 3408 ac_status=$? 3409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3410 test $ac_status = 0; } 3411 if { ac_try='./conftest$ac_cv_exeext' 3412 { { case "(($ac_try" in 3413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3414 *) ac_try_echo=$ac_try;; 3415esac 3416eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3417$as_echo "$ac_try_echo"; } >&5 3418 (eval "$ac_try") 2>&5 3419 ac_status=$? 3420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3421 test $ac_status = 0; }; }; then 3422 cross_compiling=no 3423 else 3424 if test "$cross_compiling" = maybe; then 3425 cross_compiling=yes 3426 else 3427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3428$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3429as_fn_error $? "cannot run C compiled programs. 3430If you meant to cross compile, use \`--host'. 3431See \`config.log' for more details" "$LINENO" 5; } 3432 fi 3433 fi 3434fi 3435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3436$as_echo "$cross_compiling" >&6; } 3437 3438rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3439ac_clean_files=$ac_clean_files_save 3440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3441$as_echo_n "checking for suffix of object files... " >&6; } 3442if ${ac_cv_objext+:} false; then : 3443 $as_echo_n "(cached) " >&6 3444else 3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3446/* end confdefs.h. */ 3447 3448int 3449main () 3450{ 3451 3452 ; 3453 return 0; 3454} 3455_ACEOF 3456rm -f conftest.o conftest.obj 3457if { { ac_try="$ac_compile" 3458case "(($ac_try" in 3459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3460 *) ac_try_echo=$ac_try;; 3461esac 3462eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3463$as_echo "$ac_try_echo"; } >&5 3464 (eval "$ac_compile") 2>&5 3465 ac_status=$? 3466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3467 test $ac_status = 0; }; then : 3468 for ac_file in conftest.o conftest.obj conftest.*; do 3469 test -f "$ac_file" || continue; 3470 case $ac_file in 3471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3472 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3473 break;; 3474 esac 3475done 3476else 3477 $as_echo "$as_me: failed program was:" >&5 3478sed 's/^/| /' conftest.$ac_ext >&5 3479 3480{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3481$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3482as_fn_error $? "cannot compute suffix of object files: cannot compile 3483See \`config.log' for more details" "$LINENO" 5; } 3484fi 3485rm -f conftest.$ac_cv_objext conftest.$ac_ext 3486fi 3487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3488$as_echo "$ac_cv_objext" >&6; } 3489OBJEXT=$ac_cv_objext 3490ac_objext=$OBJEXT 3491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3492$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3493if ${ac_cv_c_compiler_gnu+:} false; then : 3494 $as_echo_n "(cached) " >&6 3495else 3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3497/* end confdefs.h. */ 3498 3499int 3500main () 3501{ 3502#ifndef __GNUC__ 3503 choke me 3504#endif 3505 3506 ; 3507 return 0; 3508} 3509_ACEOF 3510if ac_fn_c_try_compile "$LINENO"; then : 3511 ac_compiler_gnu=yes 3512else 3513 ac_compiler_gnu=no 3514fi 3515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3516ac_cv_c_compiler_gnu=$ac_compiler_gnu 3517 3518fi 3519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3520$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3521if test $ac_compiler_gnu = yes; then 3522 GCC=yes 3523else 3524 GCC= 3525fi 3526ac_test_CFLAGS=${CFLAGS+set} 3527ac_save_CFLAGS=$CFLAGS 3528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3529$as_echo_n "checking whether $CC accepts -g... " >&6; } 3530if ${ac_cv_prog_cc_g+:} false; then : 3531 $as_echo_n "(cached) " >&6 3532else 3533 ac_save_c_werror_flag=$ac_c_werror_flag 3534 ac_c_werror_flag=yes 3535 ac_cv_prog_cc_g=no 3536 CFLAGS="-g" 3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3538/* end confdefs.h. */ 3539 3540int 3541main () 3542{ 3543 3544 ; 3545 return 0; 3546} 3547_ACEOF 3548if ac_fn_c_try_compile "$LINENO"; then : 3549 ac_cv_prog_cc_g=yes 3550else 3551 CFLAGS="" 3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3553/* end confdefs.h. */ 3554 3555int 3556main () 3557{ 3558 3559 ; 3560 return 0; 3561} 3562_ACEOF 3563if ac_fn_c_try_compile "$LINENO"; then : 3564 3565else 3566 ac_c_werror_flag=$ac_save_c_werror_flag 3567 CFLAGS="-g" 3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3569/* end confdefs.h. */ 3570 3571int 3572main () 3573{ 3574 3575 ; 3576 return 0; 3577} 3578_ACEOF 3579if ac_fn_c_try_compile "$LINENO"; then : 3580 ac_cv_prog_cc_g=yes 3581fi 3582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3583fi 3584rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3585fi 3586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3587 ac_c_werror_flag=$ac_save_c_werror_flag 3588fi 3589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3590$as_echo "$ac_cv_prog_cc_g" >&6; } 3591if test "$ac_test_CFLAGS" = set; then 3592 CFLAGS=$ac_save_CFLAGS 3593elif test $ac_cv_prog_cc_g = yes; then 3594 if test "$GCC" = yes; then 3595 CFLAGS="-g -O2" 3596 else 3597 CFLAGS="-g" 3598 fi 3599else 3600 if test "$GCC" = yes; then 3601 CFLAGS="-O2" 3602 else 3603 CFLAGS= 3604 fi 3605fi 3606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3607$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3608if ${ac_cv_prog_cc_c89+:} false; then : 3609 $as_echo_n "(cached) " >&6 3610else 3611 ac_cv_prog_cc_c89=no 3612ac_save_CC=$CC 3613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3614/* end confdefs.h. */ 3615#include <stdarg.h> 3616#include <stdio.h> 3617#include <sys/types.h> 3618#include <sys/stat.h> 3619/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3620struct buf { int x; }; 3621FILE * (*rcsopen) (struct buf *, struct stat *, int); 3622static char *e (p, i) 3623 char **p; 3624 int i; 3625{ 3626 return p[i]; 3627} 3628static char *f (char * (*g) (char **, int), char **p, ...) 3629{ 3630 char *s; 3631 va_list v; 3632 va_start (v,p); 3633 s = g (p, va_arg (v,int)); 3634 va_end (v); 3635 return s; 3636} 3637 3638/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3639 function prototypes and stuff, but not '\xHH' hex character constants. 3640 These don't provoke an error unfortunately, instead are silently treated 3641 as 'x'. The following induces an error, until -std is added to get 3642 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3643 array size at least. It's necessary to write '\x00'==0 to get something 3644 that's true only with -std. */ 3645int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3646 3647/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3648 inside strings and character constants. */ 3649#define FOO(x) 'x' 3650int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3651 3652int test (int i, double x); 3653struct s1 {int (*f) (int a);}; 3654struct s2 {int (*f) (double a);}; 3655int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3656int argc; 3657char **argv; 3658int 3659main () 3660{ 3661return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3662 ; 3663 return 0; 3664} 3665_ACEOF 3666for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3667 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3668do 3669 CC="$ac_save_CC $ac_arg" 3670 if ac_fn_c_try_compile "$LINENO"; then : 3671 ac_cv_prog_cc_c89=$ac_arg 3672fi 3673rm -f core conftest.err conftest.$ac_objext 3674 test "x$ac_cv_prog_cc_c89" != "xno" && break 3675done 3676rm -f conftest.$ac_ext 3677CC=$ac_save_CC 3678 3679fi 3680# AC_CACHE_VAL 3681case "x$ac_cv_prog_cc_c89" in 3682 x) 3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3684$as_echo "none needed" >&6; } ;; 3685 xno) 3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3687$as_echo "unsupported" >&6; } ;; 3688 *) 3689 CC="$CC $ac_cv_prog_cc_c89" 3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3691$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3692esac 3693if test "x$ac_cv_prog_cc_c89" != xno; then : 3694 3695fi 3696 3697ac_ext=c 3698ac_cpp='$CPP $CPPFLAGS' 3699ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3700ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3701ac_compiler_gnu=$ac_cv_c_compiler_gnu 3702 3703depcc="$CC" am_compiler_list= 3704 3705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3706$as_echo_n "checking dependency style of $depcc... " >&6; } 3707if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3708 $as_echo_n "(cached) " >&6 3709else 3710 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3711 # We make a subdir and do the tests there. Otherwise we can end up 3712 # making bogus files that we don't know about and never remove. For 3713 # instance it was reported that on HP-UX the gcc test will end up 3714 # making a dummy file named `D' -- because `-MD' means `put the output 3715 # in D'. 3716 rm -rf conftest.dir 3717 mkdir conftest.dir 3718 # Copy depcomp to subdir because otherwise we won't find it if we're 3719 # using a relative directory. 3720 cp "$am_depcomp" conftest.dir 3721 cd conftest.dir 3722 # We will build objects and dependencies in a subdirectory because 3723 # it helps to detect inapplicable dependency modes. For instance 3724 # both Tru64's cc and ICC support -MD to output dependencies as a 3725 # side effect of compilation, but ICC will put the dependencies in 3726 # the current directory while Tru64 will put them in the object 3727 # directory. 3728 mkdir sub 3729 3730 am_cv_CC_dependencies_compiler_type=none 3731 if test "$am_compiler_list" = ""; then 3732 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3733 fi 3734 am__universal=false 3735 case " $depcc " in #( 3736 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3737 esac 3738 3739 for depmode in $am_compiler_list; do 3740 # Setup a source with many dependencies, because some compilers 3741 # like to wrap large dependency lists on column 80 (with \), and 3742 # we should not choose a depcomp mode which is confused by this. 3743 # 3744 # We need to recreate these files for each test, as the compiler may 3745 # overwrite some of them when testing with obscure command lines. 3746 # This happens at least with the AIX C compiler. 3747 : > sub/conftest.c 3748 for i in 1 2 3 4 5 6; do 3749 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3750 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3751 # Solaris 8's {/usr,}/bin/sh. 3752 touch sub/conftst$i.h 3753 done 3754 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3755 3756 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3757 # mode. It turns out that the SunPro C++ compiler does not properly 3758 # handle `-M -o', and we need to detect this. Also, some Intel 3759 # versions had trouble with output in subdirs 3760 am__obj=sub/conftest.${OBJEXT-o} 3761 am__minus_obj="-o $am__obj" 3762 case $depmode in 3763 gcc) 3764 # This depmode causes a compiler race in universal mode. 3765 test "$am__universal" = false || continue 3766 ;; 3767 nosideeffect) 3768 # after this tag, mechanisms are not by side-effect, so they'll 3769 # only be used when explicitly requested 3770 if test "x$enable_dependency_tracking" = xyes; then 3771 continue 3772 else 3773 break 3774 fi 3775 ;; 3776 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3777 # This compiler won't grok `-c -o', but also, the minuso test has 3778 # not run yet. These depmodes are late enough in the game, and 3779 # so weak that their functioning should not be impacted. 3780 am__obj=conftest.${OBJEXT-o} 3781 am__minus_obj= 3782 ;; 3783 none) break ;; 3784 esac 3785 if depmode=$depmode \ 3786 source=sub/conftest.c object=$am__obj \ 3787 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3788 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3789 >/dev/null 2>conftest.err && 3790 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3791 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3792 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3793 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3794 # icc doesn't choke on unknown options, it will just issue warnings 3795 # or remarks (even with -Werror). So we grep stderr for any message 3796 # that says an option was ignored or not supported. 3797 # When given -MP, icc 7.0 and 7.1 complain thusly: 3798 # icc: Command line warning: ignoring option '-M'; no argument required 3799 # The diagnosis changed in icc 8.0: 3800 # icc: Command line remark: option '-MP' not supported 3801 if (grep 'ignoring option' conftest.err || 3802 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3803 am_cv_CC_dependencies_compiler_type=$depmode 3804 break 3805 fi 3806 fi 3807 done 3808 3809 cd .. 3810 rm -rf conftest.dir 3811else 3812 am_cv_CC_dependencies_compiler_type=none 3813fi 3814 3815fi 3816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3817$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3818CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3819 3820 if 3821 test "x$enable_dependency_tracking" != xno \ 3822 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3823 am__fastdepCC_TRUE= 3824 am__fastdepCC_FALSE='#' 3825else 3826 am__fastdepCC_TRUE='#' 3827 am__fastdepCC_FALSE= 3828fi 3829 3830 3831# By default we simply use the C compiler to build assembly code. 3832 3833test "${CCAS+set}" = set || CCAS=$CC 3834test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS 3835 3836 3837 3838depcc="$CCAS" am_compiler_list= 3839 3840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3841$as_echo_n "checking dependency style of $depcc... " >&6; } 3842if ${am_cv_CCAS_dependencies_compiler_type+:} false; then : 3843 $as_echo_n "(cached) " >&6 3844else 3845 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3846 # We make a subdir and do the tests there. Otherwise we can end up 3847 # making bogus files that we don't know about and never remove. For 3848 # instance it was reported that on HP-UX the gcc test will end up 3849 # making a dummy file named `D' -- because `-MD' means `put the output 3850 # in D'. 3851 rm -rf conftest.dir 3852 mkdir conftest.dir 3853 # Copy depcomp to subdir because otherwise we won't find it if we're 3854 # using a relative directory. 3855 cp "$am_depcomp" conftest.dir 3856 cd conftest.dir 3857 # We will build objects and dependencies in a subdirectory because 3858 # it helps to detect inapplicable dependency modes. For instance 3859 # both Tru64's cc and ICC support -MD to output dependencies as a 3860 # side effect of compilation, but ICC will put the dependencies in 3861 # the current directory while Tru64 will put them in the object 3862 # directory. 3863 mkdir sub 3864 3865 am_cv_CCAS_dependencies_compiler_type=none 3866 if test "$am_compiler_list" = ""; then 3867 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3868 fi 3869 am__universal=false 3870 3871 3872 for depmode in $am_compiler_list; do 3873 # Setup a source with many dependencies, because some compilers 3874 # like to wrap large dependency lists on column 80 (with \), and 3875 # we should not choose a depcomp mode which is confused by this. 3876 # 3877 # We need to recreate these files for each test, as the compiler may 3878 # overwrite some of them when testing with obscure command lines. 3879 # This happens at least with the AIX C compiler. 3880 : > sub/conftest.c 3881 for i in 1 2 3 4 5 6; do 3882 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3883 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3884 # Solaris 8's {/usr,}/bin/sh. 3885 touch sub/conftst$i.h 3886 done 3887 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3888 3889 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3890 # mode. It turns out that the SunPro C++ compiler does not properly 3891 # handle `-M -o', and we need to detect this. Also, some Intel 3892 # versions had trouble with output in subdirs 3893 am__obj=sub/conftest.${OBJEXT-o} 3894 am__minus_obj="-o $am__obj" 3895 case $depmode in 3896 gcc) 3897 # This depmode causes a compiler race in universal mode. 3898 test "$am__universal" = false || continue 3899 ;; 3900 nosideeffect) 3901 # after this tag, mechanisms are not by side-effect, so they'll 3902 # only be used when explicitly requested 3903 if test "x$enable_dependency_tracking" = xyes; then 3904 continue 3905 else 3906 break 3907 fi 3908 ;; 3909 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3910 # This compiler won't grok `-c -o', but also, the minuso test has 3911 # not run yet. These depmodes are late enough in the game, and 3912 # so weak that their functioning should not be impacted. 3913 am__obj=conftest.${OBJEXT-o} 3914 am__minus_obj= 3915 ;; 3916 none) break ;; 3917 esac 3918 if depmode=$depmode \ 3919 source=sub/conftest.c object=$am__obj \ 3920 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3921 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3922 >/dev/null 2>conftest.err && 3923 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3924 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3925 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3926 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3927 # icc doesn't choke on unknown options, it will just issue warnings 3928 # or remarks (even with -Werror). So we grep stderr for any message 3929 # that says an option was ignored or not supported. 3930 # When given -MP, icc 7.0 and 7.1 complain thusly: 3931 # icc: Command line warning: ignoring option '-M'; no argument required 3932 # The diagnosis changed in icc 8.0: 3933 # icc: Command line remark: option '-MP' not supported 3934 if (grep 'ignoring option' conftest.err || 3935 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3936 am_cv_CCAS_dependencies_compiler_type=$depmode 3937 break 3938 fi 3939 fi 3940 done 3941 3942 cd .. 3943 rm -rf conftest.dir 3944else 3945 am_cv_CCAS_dependencies_compiler_type=none 3946fi 3947 3948fi 3949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 3950$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } 3951CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type 3952 3953 if 3954 test "x$enable_dependency_tracking" != xno \ 3955 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then 3956 am__fastdepCCAS_TRUE= 3957 am__fastdepCCAS_FALSE='#' 3958else 3959 am__fastdepCCAS_TRUE='#' 3960 am__fastdepCCAS_FALSE= 3961fi 3962 3963 3964ac_ext=c 3965ac_cpp='$CPP $CPPFLAGS' 3966ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3967ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3968ac_compiler_gnu=$ac_cv_c_compiler_gnu 3969if test -n "$ac_tool_prefix"; then 3970 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3971set dummy ${ac_tool_prefix}gcc; ac_word=$2 3972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3973$as_echo_n "checking for $ac_word... " >&6; } 3974if ${ac_cv_prog_CC+:} false; then : 3975 $as_echo_n "(cached) " >&6 3976else 3977 if test -n "$CC"; then 3978 ac_cv_prog_CC="$CC" # Let the user override the test. 3979else 3980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3981for as_dir in $PATH 3982do 3983 IFS=$as_save_IFS 3984 test -z "$as_dir" && as_dir=. 3985 for ac_exec_ext in '' $ac_executable_extensions; do 3986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3987 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3989 break 2 3990 fi 3991done 3992 done 3993IFS=$as_save_IFS 3994 3995fi 3996fi 3997CC=$ac_cv_prog_CC 3998if test -n "$CC"; then 3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4000$as_echo "$CC" >&6; } 4001else 4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4003$as_echo "no" >&6; } 4004fi 4005 4006 4007fi 4008if test -z "$ac_cv_prog_CC"; then 4009 ac_ct_CC=$CC 4010 # Extract the first word of "gcc", so it can be a program name with args. 4011set dummy gcc; ac_word=$2 4012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4013$as_echo_n "checking for $ac_word... " >&6; } 4014if ${ac_cv_prog_ac_ct_CC+:} false; then : 4015 $as_echo_n "(cached) " >&6 4016else 4017 if test -n "$ac_ct_CC"; then 4018 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4019else 4020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4021for as_dir in $PATH 4022do 4023 IFS=$as_save_IFS 4024 test -z "$as_dir" && as_dir=. 4025 for ac_exec_ext in '' $ac_executable_extensions; do 4026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4027 ac_cv_prog_ac_ct_CC="gcc" 4028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4029 break 2 4030 fi 4031done 4032 done 4033IFS=$as_save_IFS 4034 4035fi 4036fi 4037ac_ct_CC=$ac_cv_prog_ac_ct_CC 4038if test -n "$ac_ct_CC"; then 4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4040$as_echo "$ac_ct_CC" >&6; } 4041else 4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4043$as_echo "no" >&6; } 4044fi 4045 4046 if test "x$ac_ct_CC" = x; then 4047 CC="" 4048 else 4049 case $cross_compiling:$ac_tool_warned in 4050yes:) 4051{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4052$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4053ac_tool_warned=yes ;; 4054esac 4055 CC=$ac_ct_CC 4056 fi 4057else 4058 CC="$ac_cv_prog_CC" 4059fi 4060 4061if test -z "$CC"; then 4062 if test -n "$ac_tool_prefix"; then 4063 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4064set dummy ${ac_tool_prefix}cc; ac_word=$2 4065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4066$as_echo_n "checking for $ac_word... " >&6; } 4067if ${ac_cv_prog_CC+:} false; then : 4068 $as_echo_n "(cached) " >&6 4069else 4070 if test -n "$CC"; then 4071 ac_cv_prog_CC="$CC" # Let the user override the test. 4072else 4073as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4074for as_dir in $PATH 4075do 4076 IFS=$as_save_IFS 4077 test -z "$as_dir" && as_dir=. 4078 for ac_exec_ext in '' $ac_executable_extensions; do 4079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4080 ac_cv_prog_CC="${ac_tool_prefix}cc" 4081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4082 break 2 4083 fi 4084done 4085 done 4086IFS=$as_save_IFS 4087 4088fi 4089fi 4090CC=$ac_cv_prog_CC 4091if test -n "$CC"; then 4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4093$as_echo "$CC" >&6; } 4094else 4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4096$as_echo "no" >&6; } 4097fi 4098 4099 4100 fi 4101fi 4102if test -z "$CC"; then 4103 # Extract the first word of "cc", so it can be a program name with args. 4104set dummy cc; ac_word=$2 4105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4106$as_echo_n "checking for $ac_word... " >&6; } 4107if ${ac_cv_prog_CC+:} false; then : 4108 $as_echo_n "(cached) " >&6 4109else 4110 if test -n "$CC"; then 4111 ac_cv_prog_CC="$CC" # Let the user override the test. 4112else 4113 ac_prog_rejected=no 4114as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4115for as_dir in $PATH 4116do 4117 IFS=$as_save_IFS 4118 test -z "$as_dir" && as_dir=. 4119 for ac_exec_ext in '' $ac_executable_extensions; do 4120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4121 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4122 ac_prog_rejected=yes 4123 continue 4124 fi 4125 ac_cv_prog_CC="cc" 4126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4127 break 2 4128 fi 4129done 4130 done 4131IFS=$as_save_IFS 4132 4133if test $ac_prog_rejected = yes; then 4134 # We found a bogon in the path, so make sure we never use it. 4135 set dummy $ac_cv_prog_CC 4136 shift 4137 if test $# != 0; then 4138 # We chose a different compiler from the bogus one. 4139 # However, it has the same basename, so the bogon will be chosen 4140 # first if we set CC to just the basename; use the full file name. 4141 shift 4142 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4143 fi 4144fi 4145fi 4146fi 4147CC=$ac_cv_prog_CC 4148if test -n "$CC"; then 4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4150$as_echo "$CC" >&6; } 4151else 4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4153$as_echo "no" >&6; } 4154fi 4155 4156 4157fi 4158if test -z "$CC"; then 4159 if test -n "$ac_tool_prefix"; then 4160 for ac_prog in cl.exe 4161 do 4162 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4163set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4165$as_echo_n "checking for $ac_word... " >&6; } 4166if ${ac_cv_prog_CC+:} false; then : 4167 $as_echo_n "(cached) " >&6 4168else 4169 if test -n "$CC"; then 4170 ac_cv_prog_CC="$CC" # Let the user override the test. 4171else 4172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4173for as_dir in $PATH 4174do 4175 IFS=$as_save_IFS 4176 test -z "$as_dir" && as_dir=. 4177 for ac_exec_ext in '' $ac_executable_extensions; do 4178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4179 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4181 break 2 4182 fi 4183done 4184 done 4185IFS=$as_save_IFS 4186 4187fi 4188fi 4189CC=$ac_cv_prog_CC 4190if test -n "$CC"; then 4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4192$as_echo "$CC" >&6; } 4193else 4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4195$as_echo "no" >&6; } 4196fi 4197 4198 4199 test -n "$CC" && break 4200 done 4201fi 4202if test -z "$CC"; then 4203 ac_ct_CC=$CC 4204 for ac_prog in cl.exe 4205do 4206 # Extract the first word of "$ac_prog", so it can be a program name with args. 4207set dummy $ac_prog; ac_word=$2 4208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4209$as_echo_n "checking for $ac_word... " >&6; } 4210if ${ac_cv_prog_ac_ct_CC+:} false; then : 4211 $as_echo_n "(cached) " >&6 4212else 4213 if test -n "$ac_ct_CC"; then 4214 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4215else 4216as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4217for as_dir in $PATH 4218do 4219 IFS=$as_save_IFS 4220 test -z "$as_dir" && as_dir=. 4221 for ac_exec_ext in '' $ac_executable_extensions; do 4222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4223 ac_cv_prog_ac_ct_CC="$ac_prog" 4224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4225 break 2 4226 fi 4227done 4228 done 4229IFS=$as_save_IFS 4230 4231fi 4232fi 4233ac_ct_CC=$ac_cv_prog_ac_ct_CC 4234if test -n "$ac_ct_CC"; then 4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4236$as_echo "$ac_ct_CC" >&6; } 4237else 4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4239$as_echo "no" >&6; } 4240fi 4241 4242 4243 test -n "$ac_ct_CC" && break 4244done 4245 4246 if test "x$ac_ct_CC" = x; then 4247 CC="" 4248 else 4249 case $cross_compiling:$ac_tool_warned in 4250yes:) 4251{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4252$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4253ac_tool_warned=yes ;; 4254esac 4255 CC=$ac_ct_CC 4256 fi 4257fi 4258 4259fi 4260 4261 4262test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4263$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4264as_fn_error $? "no acceptable C compiler found in \$PATH 4265See \`config.log' for more details" "$LINENO" 5; } 4266 4267# Provide some information about the compiler. 4268$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4269set X $ac_compile 4270ac_compiler=$2 4271for ac_option in --version -v -V -qversion; do 4272 { { ac_try="$ac_compiler $ac_option >&5" 4273case "(($ac_try" in 4274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4275 *) ac_try_echo=$ac_try;; 4276esac 4277eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4278$as_echo "$ac_try_echo"; } >&5 4279 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4280 ac_status=$? 4281 if test -s conftest.err; then 4282 sed '10a\ 4283... rest of stderr output deleted ... 4284 10q' conftest.err >conftest.er1 4285 cat conftest.er1 >&5 4286 fi 4287 rm -f conftest.er1 conftest.err 4288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4289 test $ac_status = 0; } 4290done 4291 4292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4293$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4294if ${ac_cv_c_compiler_gnu+:} false; then : 4295 $as_echo_n "(cached) " >&6 4296else 4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4298/* end confdefs.h. */ 4299 4300int 4301main () 4302{ 4303#ifndef __GNUC__ 4304 choke me 4305#endif 4306 4307 ; 4308 return 0; 4309} 4310_ACEOF 4311if ac_fn_c_try_compile "$LINENO"; then : 4312 ac_compiler_gnu=yes 4313else 4314 ac_compiler_gnu=no 4315fi 4316rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4317ac_cv_c_compiler_gnu=$ac_compiler_gnu 4318 4319fi 4320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4321$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4322if test $ac_compiler_gnu = yes; then 4323 GCC=yes 4324else 4325 GCC= 4326fi 4327ac_test_CFLAGS=${CFLAGS+set} 4328ac_save_CFLAGS=$CFLAGS 4329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4330$as_echo_n "checking whether $CC accepts -g... " >&6; } 4331if ${ac_cv_prog_cc_g+:} false; then : 4332 $as_echo_n "(cached) " >&6 4333else 4334 ac_save_c_werror_flag=$ac_c_werror_flag 4335 ac_c_werror_flag=yes 4336 ac_cv_prog_cc_g=no 4337 CFLAGS="-g" 4338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4339/* end confdefs.h. */ 4340 4341int 4342main () 4343{ 4344 4345 ; 4346 return 0; 4347} 4348_ACEOF 4349if ac_fn_c_try_compile "$LINENO"; then : 4350 ac_cv_prog_cc_g=yes 4351else 4352 CFLAGS="" 4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4354/* end confdefs.h. */ 4355 4356int 4357main () 4358{ 4359 4360 ; 4361 return 0; 4362} 4363_ACEOF 4364if ac_fn_c_try_compile "$LINENO"; then : 4365 4366else 4367 ac_c_werror_flag=$ac_save_c_werror_flag 4368 CFLAGS="-g" 4369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4370/* end confdefs.h. */ 4371 4372int 4373main () 4374{ 4375 4376 ; 4377 return 0; 4378} 4379_ACEOF 4380if ac_fn_c_try_compile "$LINENO"; then : 4381 ac_cv_prog_cc_g=yes 4382fi 4383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4384fi 4385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4386fi 4387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4388 ac_c_werror_flag=$ac_save_c_werror_flag 4389fi 4390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4391$as_echo "$ac_cv_prog_cc_g" >&6; } 4392if test "$ac_test_CFLAGS" = set; then 4393 CFLAGS=$ac_save_CFLAGS 4394elif test $ac_cv_prog_cc_g = yes; then 4395 if test "$GCC" = yes; then 4396 CFLAGS="-g -O2" 4397 else 4398 CFLAGS="-g" 4399 fi 4400else 4401 if test "$GCC" = yes; then 4402 CFLAGS="-O2" 4403 else 4404 CFLAGS= 4405 fi 4406fi 4407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4408$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4409if ${ac_cv_prog_cc_c89+:} false; then : 4410 $as_echo_n "(cached) " >&6 4411else 4412 ac_cv_prog_cc_c89=no 4413ac_save_CC=$CC 4414cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4415/* end confdefs.h. */ 4416#include <stdarg.h> 4417#include <stdio.h> 4418#include <sys/types.h> 4419#include <sys/stat.h> 4420/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4421struct buf { int x; }; 4422FILE * (*rcsopen) (struct buf *, struct stat *, int); 4423static char *e (p, i) 4424 char **p; 4425 int i; 4426{ 4427 return p[i]; 4428} 4429static char *f (char * (*g) (char **, int), char **p, ...) 4430{ 4431 char *s; 4432 va_list v; 4433 va_start (v,p); 4434 s = g (p, va_arg (v,int)); 4435 va_end (v); 4436 return s; 4437} 4438 4439/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4440 function prototypes and stuff, but not '\xHH' hex character constants. 4441 These don't provoke an error unfortunately, instead are silently treated 4442 as 'x'. The following induces an error, until -std is added to get 4443 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4444 array size at least. It's necessary to write '\x00'==0 to get something 4445 that's true only with -std. */ 4446int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4447 4448/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4449 inside strings and character constants. */ 4450#define FOO(x) 'x' 4451int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4452 4453int test (int i, double x); 4454struct s1 {int (*f) (int a);}; 4455struct s2 {int (*f) (double a);}; 4456int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4457int argc; 4458char **argv; 4459int 4460main () 4461{ 4462return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4463 ; 4464 return 0; 4465} 4466_ACEOF 4467for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4468 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4469do 4470 CC="$ac_save_CC $ac_arg" 4471 if ac_fn_c_try_compile "$LINENO"; then : 4472 ac_cv_prog_cc_c89=$ac_arg 4473fi 4474rm -f core conftest.err conftest.$ac_objext 4475 test "x$ac_cv_prog_cc_c89" != "xno" && break 4476done 4477rm -f conftest.$ac_ext 4478CC=$ac_save_CC 4479 4480fi 4481# AC_CACHE_VAL 4482case "x$ac_cv_prog_cc_c89" in 4483 x) 4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4485$as_echo "none needed" >&6; } ;; 4486 xno) 4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4488$as_echo "unsupported" >&6; } ;; 4489 *) 4490 CC="$CC $ac_cv_prog_cc_c89" 4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4492$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4493esac 4494if test "x$ac_cv_prog_cc_c89" != xno; then : 4495 4496fi 4497 4498ac_ext=c 4499ac_cpp='$CPP $CPPFLAGS' 4500ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4501ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4502ac_compiler_gnu=$ac_cv_c_compiler_gnu 4503 4504depcc="$CC" am_compiler_list= 4505 4506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4507$as_echo_n "checking dependency style of $depcc... " >&6; } 4508if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4509 $as_echo_n "(cached) " >&6 4510else 4511 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4512 # We make a subdir and do the tests there. Otherwise we can end up 4513 # making bogus files that we don't know about and never remove. For 4514 # instance it was reported that on HP-UX the gcc test will end up 4515 # making a dummy file named `D' -- because `-MD' means `put the output 4516 # in D'. 4517 rm -rf conftest.dir 4518 mkdir conftest.dir 4519 # Copy depcomp to subdir because otherwise we won't find it if we're 4520 # using a relative directory. 4521 cp "$am_depcomp" conftest.dir 4522 cd conftest.dir 4523 # We will build objects and dependencies in a subdirectory because 4524 # it helps to detect inapplicable dependency modes. For instance 4525 # both Tru64's cc and ICC support -MD to output dependencies as a 4526 # side effect of compilation, but ICC will put the dependencies in 4527 # the current directory while Tru64 will put them in the object 4528 # directory. 4529 mkdir sub 4530 4531 am_cv_CC_dependencies_compiler_type=none 4532 if test "$am_compiler_list" = ""; then 4533 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4534 fi 4535 am__universal=false 4536 case " $depcc " in #( 4537 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4538 esac 4539 4540 for depmode in $am_compiler_list; do 4541 # Setup a source with many dependencies, because some compilers 4542 # like to wrap large dependency lists on column 80 (with \), and 4543 # we should not choose a depcomp mode which is confused by this. 4544 # 4545 # We need to recreate these files for each test, as the compiler may 4546 # overwrite some of them when testing with obscure command lines. 4547 # This happens at least with the AIX C compiler. 4548 : > sub/conftest.c 4549 for i in 1 2 3 4 5 6; do 4550 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4551 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4552 # Solaris 8's {/usr,}/bin/sh. 4553 touch sub/conftst$i.h 4554 done 4555 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4556 4557 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4558 # mode. It turns out that the SunPro C++ compiler does not properly 4559 # handle `-M -o', and we need to detect this. Also, some Intel 4560 # versions had trouble with output in subdirs 4561 am__obj=sub/conftest.${OBJEXT-o} 4562 am__minus_obj="-o $am__obj" 4563 case $depmode in 4564 gcc) 4565 # This depmode causes a compiler race in universal mode. 4566 test "$am__universal" = false || continue 4567 ;; 4568 nosideeffect) 4569 # after this tag, mechanisms are not by side-effect, so they'll 4570 # only be used when explicitly requested 4571 if test "x$enable_dependency_tracking" = xyes; then 4572 continue 4573 else 4574 break 4575 fi 4576 ;; 4577 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4578 # This compiler won't grok `-c -o', but also, the minuso test has 4579 # not run yet. These depmodes are late enough in the game, and 4580 # so weak that their functioning should not be impacted. 4581 am__obj=conftest.${OBJEXT-o} 4582 am__minus_obj= 4583 ;; 4584 none) break ;; 4585 esac 4586 if depmode=$depmode \ 4587 source=sub/conftest.c object=$am__obj \ 4588 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4589 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4590 >/dev/null 2>conftest.err && 4591 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4592 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4593 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4594 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4595 # icc doesn't choke on unknown options, it will just issue warnings 4596 # or remarks (even with -Werror). So we grep stderr for any message 4597 # that says an option was ignored or not supported. 4598 # When given -MP, icc 7.0 and 7.1 complain thusly: 4599 # icc: Command line warning: ignoring option '-M'; no argument required 4600 # The diagnosis changed in icc 8.0: 4601 # icc: Command line remark: option '-MP' not supported 4602 if (grep 'ignoring option' conftest.err || 4603 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4604 am_cv_CC_dependencies_compiler_type=$depmode 4605 break 4606 fi 4607 fi 4608 done 4609 4610 cd .. 4611 rm -rf conftest.dir 4612else 4613 am_cv_CC_dependencies_compiler_type=none 4614fi 4615 4616fi 4617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4618$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4619CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4620 4621 if 4622 test "x$enable_dependency_tracking" != xno \ 4623 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4624 am__fastdepCC_TRUE= 4625 am__fastdepCC_FALSE='#' 4626else 4627 am__fastdepCC_TRUE='#' 4628 am__fastdepCC_FALSE= 4629fi 4630 4631 4632if test "x$CC" != xcc; then 4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 4634$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } 4635else 4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 4637$as_echo_n "checking whether cc understands -c and -o together... " >&6; } 4638fi 4639set dummy $CC; ac_cc=`$as_echo "$2" | 4640 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 4641if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : 4642 $as_echo_n "(cached) " >&6 4643else 4644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4645/* end confdefs.h. */ 4646 4647int 4648main () 4649{ 4650 4651 ; 4652 return 0; 4653} 4654_ACEOF 4655# Make sure it works both with $CC and with simple cc. 4656# We do the test twice because some compilers refuse to overwrite an 4657# existing .o file with -o, though they will create one. 4658ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 4659rm -f conftest2.* 4660if { { case "(($ac_try" in 4661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4662 *) ac_try_echo=$ac_try;; 4663esac 4664eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4665$as_echo "$ac_try_echo"; } >&5 4666 (eval "$ac_try") 2>&5 4667 ac_status=$? 4668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4669 test $ac_status = 0; } && 4670 test -f conftest2.$ac_objext && { { case "(($ac_try" in 4671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4672 *) ac_try_echo=$ac_try;; 4673esac 4674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4675$as_echo "$ac_try_echo"; } >&5 4676 (eval "$ac_try") 2>&5 4677 ac_status=$? 4678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4679 test $ac_status = 0; }; 4680then 4681 eval ac_cv_prog_cc_${ac_cc}_c_o=yes 4682 if test "x$CC" != xcc; then 4683 # Test first that cc exists at all. 4684 if { ac_try='cc -c conftest.$ac_ext >&5' 4685 { { case "(($ac_try" in 4686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4687 *) ac_try_echo=$ac_try;; 4688esac 4689eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4690$as_echo "$ac_try_echo"; } >&5 4691 (eval "$ac_try") 2>&5 4692 ac_status=$? 4693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4694 test $ac_status = 0; }; }; then 4695 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 4696 rm -f conftest2.* 4697 if { { case "(($ac_try" in 4698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4699 *) ac_try_echo=$ac_try;; 4700esac 4701eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4702$as_echo "$ac_try_echo"; } >&5 4703 (eval "$ac_try") 2>&5 4704 ac_status=$? 4705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4706 test $ac_status = 0; } && 4707 test -f conftest2.$ac_objext && { { case "(($ac_try" in 4708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4709 *) ac_try_echo=$ac_try;; 4710esac 4711eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4712$as_echo "$ac_try_echo"; } >&5 4713 (eval "$ac_try") 2>&5 4714 ac_status=$? 4715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4716 test $ac_status = 0; }; 4717 then 4718 # cc works too. 4719 : 4720 else 4721 # cc exists but doesn't like -o. 4722 eval ac_cv_prog_cc_${ac_cc}_c_o=no 4723 fi 4724 fi 4725 fi 4726else 4727 eval ac_cv_prog_cc_${ac_cc}_c_o=no 4728fi 4729rm -f core conftest* 4730 4731fi 4732if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4734$as_echo "yes" >&6; } 4735else 4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4737$as_echo "no" >&6; } 4738 4739$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h 4740 4741fi 4742 4743# FIXME: we rely on the cache variable name because 4744# there is no other way. 4745set dummy $CC 4746am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 4747eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o 4748if test "$am_t" != yes; then 4749 # Losing compiler, so override with the script. 4750 # FIXME: It is wrong to rewrite CC. 4751 # But if we don't then we get into trouble of one sort or another. 4752 # A longer-term fix would be to have automake use am__CC in this case, 4753 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4754 CC="$am_aux_dir/compile $CC" 4755fi 4756 4757 4758ac_ext=c 4759ac_cpp='$CPP $CPPFLAGS' 4760ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4761ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4762ac_compiler_gnu=$ac_cv_c_compiler_gnu 4763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4764$as_echo_n "checking how to run the C preprocessor... " >&6; } 4765# On Suns, sometimes $CPP names a directory. 4766if test -n "$CPP" && test -d "$CPP"; then 4767 CPP= 4768fi 4769if test -z "$CPP"; then 4770 if ${ac_cv_prog_CPP+:} false; then : 4771 $as_echo_n "(cached) " >&6 4772else 4773 # Double quotes because CPP needs to be expanded 4774 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4775 do 4776 ac_preproc_ok=false 4777for ac_c_preproc_warn_flag in '' yes 4778do 4779 # Use a header file that comes with gcc, so configuring glibc 4780 # with a fresh cross-compiler works. 4781 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4782 # <limits.h> exists even on freestanding compilers. 4783 # On the NeXT, cc -E runs the code through the compiler's parser, 4784 # not just through cpp. "Syntax error" is here to catch this case. 4785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4786/* end confdefs.h. */ 4787#ifdef __STDC__ 4788# include <limits.h> 4789#else 4790# include <assert.h> 4791#endif 4792 Syntax error 4793_ACEOF 4794if ac_fn_c_try_cpp "$LINENO"; then : 4795 4796else 4797 # Broken: fails on valid input. 4798continue 4799fi 4800rm -f conftest.err conftest.i conftest.$ac_ext 4801 4802 # OK, works on sane cases. Now check whether nonexistent headers 4803 # can be detected and how. 4804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4805/* end confdefs.h. */ 4806#include <ac_nonexistent.h> 4807_ACEOF 4808if ac_fn_c_try_cpp "$LINENO"; then : 4809 # Broken: success on invalid input. 4810continue 4811else 4812 # Passes both tests. 4813ac_preproc_ok=: 4814break 4815fi 4816rm -f conftest.err conftest.i conftest.$ac_ext 4817 4818done 4819# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4820rm -f conftest.i conftest.err conftest.$ac_ext 4821if $ac_preproc_ok; then : 4822 break 4823fi 4824 4825 done 4826 ac_cv_prog_CPP=$CPP 4827 4828fi 4829 CPP=$ac_cv_prog_CPP 4830else 4831 ac_cv_prog_CPP=$CPP 4832fi 4833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4834$as_echo "$CPP" >&6; } 4835ac_preproc_ok=false 4836for ac_c_preproc_warn_flag in '' yes 4837do 4838 # Use a header file that comes with gcc, so configuring glibc 4839 # with a fresh cross-compiler works. 4840 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4841 # <limits.h> exists even on freestanding compilers. 4842 # On the NeXT, cc -E runs the code through the compiler's parser, 4843 # not just through cpp. "Syntax error" is here to catch this case. 4844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4845/* end confdefs.h. */ 4846#ifdef __STDC__ 4847# include <limits.h> 4848#else 4849# include <assert.h> 4850#endif 4851 Syntax error 4852_ACEOF 4853if ac_fn_c_try_cpp "$LINENO"; then : 4854 4855else 4856 # Broken: fails on valid input. 4857continue 4858fi 4859rm -f conftest.err conftest.i conftest.$ac_ext 4860 4861 # OK, works on sane cases. Now check whether nonexistent headers 4862 # can be detected and how. 4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4864/* end confdefs.h. */ 4865#include <ac_nonexistent.h> 4866_ACEOF 4867if ac_fn_c_try_cpp "$LINENO"; then : 4868 # Broken: success on invalid input. 4869continue 4870else 4871 # Passes both tests. 4872ac_preproc_ok=: 4873break 4874fi 4875rm -f conftest.err conftest.i conftest.$ac_ext 4876 4877done 4878# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4879rm -f conftest.i conftest.err conftest.$ac_ext 4880if $ac_preproc_ok; then : 4881 4882else 4883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4884$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4885as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4886See \`config.log' for more details" "$LINENO" 5; } 4887fi 4888 4889ac_ext=c 4890ac_cpp='$CPP $CPPFLAGS' 4891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4893ac_compiler_gnu=$ac_cv_c_compiler_gnu 4894 4895ac_ext=cpp 4896ac_cpp='$CXXCPP $CPPFLAGS' 4897ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4898ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4899ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 4900if test -z "$CXX"; then 4901 if test -n "$CCC"; then 4902 CXX=$CCC 4903 else 4904 if test -n "$ac_tool_prefix"; then 4905 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4906 do 4907 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4908set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4910$as_echo_n "checking for $ac_word... " >&6; } 4911if ${ac_cv_prog_CXX+:} false; then : 4912 $as_echo_n "(cached) " >&6 4913else 4914 if test -n "$CXX"; then 4915 ac_cv_prog_CXX="$CXX" # Let the user override the test. 4916else 4917as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4918for as_dir in $PATH 4919do 4920 IFS=$as_save_IFS 4921 test -z "$as_dir" && as_dir=. 4922 for ac_exec_ext in '' $ac_executable_extensions; do 4923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4924 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 4925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4926 break 2 4927 fi 4928done 4929 done 4930IFS=$as_save_IFS 4931 4932fi 4933fi 4934CXX=$ac_cv_prog_CXX 4935if test -n "$CXX"; then 4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 4937$as_echo "$CXX" >&6; } 4938else 4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4940$as_echo "no" >&6; } 4941fi 4942 4943 4944 test -n "$CXX" && break 4945 done 4946fi 4947if test -z "$CXX"; then 4948 ac_ct_CXX=$CXX 4949 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 4950do 4951 # Extract the first word of "$ac_prog", so it can be a program name with args. 4952set dummy $ac_prog; ac_word=$2 4953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4954$as_echo_n "checking for $ac_word... " >&6; } 4955if ${ac_cv_prog_ac_ct_CXX+:} false; then : 4956 $as_echo_n "(cached) " >&6 4957else 4958 if test -n "$ac_ct_CXX"; then 4959 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 4960else 4961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4962for as_dir in $PATH 4963do 4964 IFS=$as_save_IFS 4965 test -z "$as_dir" && as_dir=. 4966 for ac_exec_ext in '' $ac_executable_extensions; do 4967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4968 ac_cv_prog_ac_ct_CXX="$ac_prog" 4969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4970 break 2 4971 fi 4972done 4973 done 4974IFS=$as_save_IFS 4975 4976fi 4977fi 4978ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 4979if test -n "$ac_ct_CXX"; then 4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 4981$as_echo "$ac_ct_CXX" >&6; } 4982else 4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4984$as_echo "no" >&6; } 4985fi 4986 4987 4988 test -n "$ac_ct_CXX" && break 4989done 4990 4991 if test "x$ac_ct_CXX" = x; then 4992 CXX="g++" 4993 else 4994 case $cross_compiling:$ac_tool_warned in 4995yes:) 4996{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4997$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4998ac_tool_warned=yes ;; 4999esac 5000 CXX=$ac_ct_CXX 5001 fi 5002fi 5003 5004 fi 5005fi 5006# Provide some information about the compiler. 5007$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 5008set X $ac_compile 5009ac_compiler=$2 5010for ac_option in --version -v -V -qversion; do 5011 { { ac_try="$ac_compiler $ac_option >&5" 5012case "(($ac_try" in 5013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5014 *) ac_try_echo=$ac_try;; 5015esac 5016eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5017$as_echo "$ac_try_echo"; } >&5 5018 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5019 ac_status=$? 5020 if test -s conftest.err; then 5021 sed '10a\ 5022... rest of stderr output deleted ... 5023 10q' conftest.err >conftest.er1 5024 cat conftest.er1 >&5 5025 fi 5026 rm -f conftest.er1 conftest.err 5027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5028 test $ac_status = 0; } 5029done 5030 5031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5032$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5033if ${ac_cv_cxx_compiler_gnu+:} false; then : 5034 $as_echo_n "(cached) " >&6 5035else 5036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5037/* end confdefs.h. */ 5038 5039int 5040main () 5041{ 5042#ifndef __GNUC__ 5043 choke me 5044#endif 5045 5046 ; 5047 return 0; 5048} 5049_ACEOF 5050if ac_fn_cxx_try_compile "$LINENO"; then : 5051 ac_compiler_gnu=yes 5052else 5053 ac_compiler_gnu=no 5054fi 5055rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5056ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5057 5058fi 5059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 5060$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 5061if test $ac_compiler_gnu = yes; then 5062 GXX=yes 5063else 5064 GXX= 5065fi 5066ac_test_CXXFLAGS=${CXXFLAGS+set} 5067ac_save_CXXFLAGS=$CXXFLAGS 5068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5069$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5070if ${ac_cv_prog_cxx_g+:} false; then : 5071 $as_echo_n "(cached) " >&6 5072else 5073 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5074 ac_cxx_werror_flag=yes 5075 ac_cv_prog_cxx_g=no 5076 CXXFLAGS="-g" 5077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5078/* end confdefs.h. */ 5079 5080int 5081main () 5082{ 5083 5084 ; 5085 return 0; 5086} 5087_ACEOF 5088if ac_fn_cxx_try_compile "$LINENO"; then : 5089 ac_cv_prog_cxx_g=yes 5090else 5091 CXXFLAGS="" 5092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5093/* end confdefs.h. */ 5094 5095int 5096main () 5097{ 5098 5099 ; 5100 return 0; 5101} 5102_ACEOF 5103if ac_fn_cxx_try_compile "$LINENO"; then : 5104 5105else 5106 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5107 CXXFLAGS="-g" 5108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5109/* end confdefs.h. */ 5110 5111int 5112main () 5113{ 5114 5115 ; 5116 return 0; 5117} 5118_ACEOF 5119if ac_fn_cxx_try_compile "$LINENO"; then : 5120 ac_cv_prog_cxx_g=yes 5121fi 5122rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5123fi 5124rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5125fi 5126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5127 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5128fi 5129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 5130$as_echo "$ac_cv_prog_cxx_g" >&6; } 5131if test "$ac_test_CXXFLAGS" = set; then 5132 CXXFLAGS=$ac_save_CXXFLAGS 5133elif test $ac_cv_prog_cxx_g = yes; then 5134 if test "$GXX" = yes; then 5135 CXXFLAGS="-g -O2" 5136 else 5137 CXXFLAGS="-g" 5138 fi 5139else 5140 if test "$GXX" = yes; then 5141 CXXFLAGS="-O2" 5142 else 5143 CXXFLAGS= 5144 fi 5145fi 5146ac_ext=c 5147ac_cpp='$CPP $CPPFLAGS' 5148ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5149ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5150ac_compiler_gnu=$ac_cv_c_compiler_gnu 5151 5152depcc="$CXX" am_compiler_list= 5153 5154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5155$as_echo_n "checking dependency style of $depcc... " >&6; } 5156if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 5157 $as_echo_n "(cached) " >&6 5158else 5159 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5160 # We make a subdir and do the tests there. Otherwise we can end up 5161 # making bogus files that we don't know about and never remove. For 5162 # instance it was reported that on HP-UX the gcc test will end up 5163 # making a dummy file named `D' -- because `-MD' means `put the output 5164 # in D'. 5165 rm -rf conftest.dir 5166 mkdir conftest.dir 5167 # Copy depcomp to subdir because otherwise we won't find it if we're 5168 # using a relative directory. 5169 cp "$am_depcomp" conftest.dir 5170 cd conftest.dir 5171 # We will build objects and dependencies in a subdirectory because 5172 # it helps to detect inapplicable dependency modes. For instance 5173 # both Tru64's cc and ICC support -MD to output dependencies as a 5174 # side effect of compilation, but ICC will put the dependencies in 5175 # the current directory while Tru64 will put them in the object 5176 # directory. 5177 mkdir sub 5178 5179 am_cv_CXX_dependencies_compiler_type=none 5180 if test "$am_compiler_list" = ""; then 5181 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5182 fi 5183 am__universal=false 5184 case " $depcc " in #( 5185 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5186 esac 5187 5188 for depmode in $am_compiler_list; do 5189 # Setup a source with many dependencies, because some compilers 5190 # like to wrap large dependency lists on column 80 (with \), and 5191 # we should not choose a depcomp mode which is confused by this. 5192 # 5193 # We need to recreate these files for each test, as the compiler may 5194 # overwrite some of them when testing with obscure command lines. 5195 # This happens at least with the AIX C compiler. 5196 : > sub/conftest.c 5197 for i in 1 2 3 4 5 6; do 5198 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5199 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 5200 # Solaris 8's {/usr,}/bin/sh. 5201 touch sub/conftst$i.h 5202 done 5203 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5204 5205 # We check with `-c' and `-o' for the sake of the "dashmstdout" 5206 # mode. It turns out that the SunPro C++ compiler does not properly 5207 # handle `-M -o', and we need to detect this. Also, some Intel 5208 # versions had trouble with output in subdirs 5209 am__obj=sub/conftest.${OBJEXT-o} 5210 am__minus_obj="-o $am__obj" 5211 case $depmode in 5212 gcc) 5213 # This depmode causes a compiler race in universal mode. 5214 test "$am__universal" = false || continue 5215 ;; 5216 nosideeffect) 5217 # after this tag, mechanisms are not by side-effect, so they'll 5218 # only be used when explicitly requested 5219 if test "x$enable_dependency_tracking" = xyes; then 5220 continue 5221 else 5222 break 5223 fi 5224 ;; 5225 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5226 # This compiler won't grok `-c -o', but also, the minuso test has 5227 # not run yet. These depmodes are late enough in the game, and 5228 # so weak that their functioning should not be impacted. 5229 am__obj=conftest.${OBJEXT-o} 5230 am__minus_obj= 5231 ;; 5232 none) break ;; 5233 esac 5234 if depmode=$depmode \ 5235 source=sub/conftest.c object=$am__obj \ 5236 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5237 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5238 >/dev/null 2>conftest.err && 5239 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5240 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5241 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5242 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5243 # icc doesn't choke on unknown options, it will just issue warnings 5244 # or remarks (even with -Werror). So we grep stderr for any message 5245 # that says an option was ignored or not supported. 5246 # When given -MP, icc 7.0 and 7.1 complain thusly: 5247 # icc: Command line warning: ignoring option '-M'; no argument required 5248 # The diagnosis changed in icc 8.0: 5249 # icc: Command line remark: option '-MP' not supported 5250 if (grep 'ignoring option' conftest.err || 5251 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5252 am_cv_CXX_dependencies_compiler_type=$depmode 5253 break 5254 fi 5255 fi 5256 done 5257 5258 cd .. 5259 rm -rf conftest.dir 5260else 5261 am_cv_CXX_dependencies_compiler_type=none 5262fi 5263 5264fi 5265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5266$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5267CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5268 5269 if 5270 test "x$enable_dependency_tracking" != xno \ 5271 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5272 am__fastdepCXX_TRUE= 5273 am__fastdepCXX_FALSE='#' 5274else 5275 am__fastdepCXX_TRUE='#' 5276 am__fastdepCXX_FALSE= 5277fi 5278 5279 5280if test -n "$ac_tool_prefix"; then 5281 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5282set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5284$as_echo_n "checking for $ac_word... " >&6; } 5285if ${ac_cv_prog_RANLIB+:} false; then : 5286 $as_echo_n "(cached) " >&6 5287else 5288 if test -n "$RANLIB"; then 5289 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5290else 5291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5292for as_dir in $PATH 5293do 5294 IFS=$as_save_IFS 5295 test -z "$as_dir" && as_dir=. 5296 for ac_exec_ext in '' $ac_executable_extensions; do 5297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5298 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5300 break 2 5301 fi 5302done 5303 done 5304IFS=$as_save_IFS 5305 5306fi 5307fi 5308RANLIB=$ac_cv_prog_RANLIB 5309if test -n "$RANLIB"; then 5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 5311$as_echo "$RANLIB" >&6; } 5312else 5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5314$as_echo "no" >&6; } 5315fi 5316 5317 5318fi 5319if test -z "$ac_cv_prog_RANLIB"; then 5320 ac_ct_RANLIB=$RANLIB 5321 # Extract the first word of "ranlib", so it can be a program name with args. 5322set dummy ranlib; ac_word=$2 5323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5324$as_echo_n "checking for $ac_word... " >&6; } 5325if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 5326 $as_echo_n "(cached) " >&6 5327else 5328 if test -n "$ac_ct_RANLIB"; then 5329 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 5330else 5331as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5332for as_dir in $PATH 5333do 5334 IFS=$as_save_IFS 5335 test -z "$as_dir" && as_dir=. 5336 for ac_exec_ext in '' $ac_executable_extensions; do 5337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5338 ac_cv_prog_ac_ct_RANLIB="ranlib" 5339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5340 break 2 5341 fi 5342done 5343 done 5344IFS=$as_save_IFS 5345 5346fi 5347fi 5348ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 5349if test -n "$ac_ct_RANLIB"; then 5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 5351$as_echo "$ac_ct_RANLIB" >&6; } 5352else 5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5354$as_echo "no" >&6; } 5355fi 5356 5357 if test "x$ac_ct_RANLIB" = x; then 5358 RANLIB=":" 5359 else 5360 case $cross_compiling:$ac_tool_warned in 5361yes:) 5362{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5363$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5364ac_tool_warned=yes ;; 5365esac 5366 RANLIB=$ac_ct_RANLIB 5367 fi 5368else 5369 RANLIB="$ac_cv_prog_RANLIB" 5370fi 5371 5372 if test "$GCC" = yes; then 5373 GCC_TRUE= 5374 GCC_FALSE='#' 5375else 5376 GCC_TRUE='#' 5377 GCC_FALSE= 5378fi 5379 # let the Makefile know if we're gcc 5380 5381# Check whether --enable-m32 was given. 5382if test "${enable_m32+set}" = set; then : 5383 enableval=$enable_m32; case "${enableval}" in 5384 yes) 5385 CFLAGS="${CFLAGS} -m32" 5386 CXXFLAGS="${CXXFLAGS} -m32" 5387 usem32=true 5388 ;; 5389 no) 5390 usem32=false 5391 ;; 5392 *) 5393 as_fn_error $? "bad value ${enableval} for --enable-m32" "$LINENO" 5 5394 ;; 5395 esac 5396else 5397 usem32=false 5398fi 5399 5400 5401 5402 5403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5404$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5405if ${ac_cv_path_GREP+:} false; then : 5406 $as_echo_n "(cached) " >&6 5407else 5408 if test -z "$GREP"; then 5409 ac_path_GREP_found=false 5410 # Loop through the user's path and test for each of PROGNAME-LIST 5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5412for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5413do 5414 IFS=$as_save_IFS 5415 test -z "$as_dir" && as_dir=. 5416 for ac_prog in grep ggrep; do 5417 for ac_exec_ext in '' $ac_executable_extensions; do 5418 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5419 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 5420# Check for GNU ac_path_GREP and select it if it is found. 5421 # Check for GNU $ac_path_GREP 5422case `"$ac_path_GREP" --version 2>&1` in 5423*GNU*) 5424 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5425*) 5426 ac_count=0 5427 $as_echo_n 0123456789 >"conftest.in" 5428 while : 5429 do 5430 cat "conftest.in" "conftest.in" >"conftest.tmp" 5431 mv "conftest.tmp" "conftest.in" 5432 cp "conftest.in" "conftest.nl" 5433 $as_echo 'GREP' >> "conftest.nl" 5434 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5435 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5436 as_fn_arith $ac_count + 1 && ac_count=$as_val 5437 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5438 # Best one so far, save it but keep looking for a better one 5439 ac_cv_path_GREP="$ac_path_GREP" 5440 ac_path_GREP_max=$ac_count 5441 fi 5442 # 10*(2^10) chars as input seems more than enough 5443 test $ac_count -gt 10 && break 5444 done 5445 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5446esac 5447 5448 $ac_path_GREP_found && break 3 5449 done 5450 done 5451 done 5452IFS=$as_save_IFS 5453 if test -z "$ac_cv_path_GREP"; then 5454 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5455 fi 5456else 5457 ac_cv_path_GREP=$GREP 5458fi 5459 5460fi 5461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5462$as_echo "$ac_cv_path_GREP" >&6; } 5463 GREP="$ac_cv_path_GREP" 5464 5465 5466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5467$as_echo_n "checking for egrep... " >&6; } 5468if ${ac_cv_path_EGREP+:} false; then : 5469 $as_echo_n "(cached) " >&6 5470else 5471 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5472 then ac_cv_path_EGREP="$GREP -E" 5473 else 5474 if test -z "$EGREP"; then 5475 ac_path_EGREP_found=false 5476 # Loop through the user's path and test for each of PROGNAME-LIST 5477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5478for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5479do 5480 IFS=$as_save_IFS 5481 test -z "$as_dir" && as_dir=. 5482 for ac_prog in egrep; do 5483 for ac_exec_ext in '' $ac_executable_extensions; do 5484 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5485 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 5486# Check for GNU ac_path_EGREP and select it if it is found. 5487 # Check for GNU $ac_path_EGREP 5488case `"$ac_path_EGREP" --version 2>&1` in 5489*GNU*) 5490 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5491*) 5492 ac_count=0 5493 $as_echo_n 0123456789 >"conftest.in" 5494 while : 5495 do 5496 cat "conftest.in" "conftest.in" >"conftest.tmp" 5497 mv "conftest.tmp" "conftest.in" 5498 cp "conftest.in" "conftest.nl" 5499 $as_echo 'EGREP' >> "conftest.nl" 5500 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5501 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5502 as_fn_arith $ac_count + 1 && ac_count=$as_val 5503 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5504 # Best one so far, save it but keep looking for a better one 5505 ac_cv_path_EGREP="$ac_path_EGREP" 5506 ac_path_EGREP_max=$ac_count 5507 fi 5508 # 10*(2^10) chars as input seems more than enough 5509 test $ac_count -gt 10 && break 5510 done 5511 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5512esac 5513 5514 $ac_path_EGREP_found && break 3 5515 done 5516 done 5517 done 5518IFS=$as_save_IFS 5519 if test -z "$ac_cv_path_EGREP"; then 5520 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5521 fi 5522else 5523 ac_cv_path_EGREP=$EGREP 5524fi 5525 5526 fi 5527fi 5528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5529$as_echo "$ac_cv_path_EGREP" >&6; } 5530 EGREP="$ac_cv_path_EGREP" 5531 5532 5533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5534$as_echo_n "checking for ANSI C header files... " >&6; } 5535if ${ac_cv_header_stdc+:} false; then : 5536 $as_echo_n "(cached) " >&6 5537else 5538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5539/* end confdefs.h. */ 5540#include <stdlib.h> 5541#include <stdarg.h> 5542#include <string.h> 5543#include <float.h> 5544 5545int 5546main () 5547{ 5548 5549 ; 5550 return 0; 5551} 5552_ACEOF 5553if ac_fn_c_try_compile "$LINENO"; then : 5554 ac_cv_header_stdc=yes 5555else 5556 ac_cv_header_stdc=no 5557fi 5558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5559 5560if test $ac_cv_header_stdc = yes; then 5561 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5563/* end confdefs.h. */ 5564#include <string.h> 5565 5566_ACEOF 5567if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5568 $EGREP "memchr" >/dev/null 2>&1; then : 5569 5570else 5571 ac_cv_header_stdc=no 5572fi 5573rm -f conftest* 5574 5575fi 5576 5577if test $ac_cv_header_stdc = yes; then 5578 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5580/* end confdefs.h. */ 5581#include <stdlib.h> 5582 5583_ACEOF 5584if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5585 $EGREP "free" >/dev/null 2>&1; then : 5586 5587else 5588 ac_cv_header_stdc=no 5589fi 5590rm -f conftest* 5591 5592fi 5593 5594if test $ac_cv_header_stdc = yes; then 5595 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5596 if test "$cross_compiling" = yes; then : 5597 : 5598else 5599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5600/* end confdefs.h. */ 5601#include <ctype.h> 5602#include <stdlib.h> 5603#if ((' ' & 0x0FF) == 0x020) 5604# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5605# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5606#else 5607# define ISLOWER(c) \ 5608 (('a' <= (c) && (c) <= 'i') \ 5609 || ('j' <= (c) && (c) <= 'r') \ 5610 || ('s' <= (c) && (c) <= 'z')) 5611# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5612#endif 5613 5614#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5615int 5616main () 5617{ 5618 int i; 5619 for (i = 0; i < 256; i++) 5620 if (XOR (islower (i), ISLOWER (i)) 5621 || toupper (i) != TOUPPER (i)) 5622 return 2; 5623 return 0; 5624} 5625_ACEOF 5626if ac_fn_c_try_run "$LINENO"; then : 5627 5628else 5629 ac_cv_header_stdc=no 5630fi 5631rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5632 conftest.$ac_objext conftest.beam conftest.$ac_ext 5633fi 5634 5635fi 5636fi 5637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5638$as_echo "$ac_cv_header_stdc" >&6; } 5639if test $ac_cv_header_stdc = yes; then 5640 5641$as_echo "#define STDC_HEADERS 1" >>confdefs.h 5642 5643fi 5644 5645# Check whether --enable-largefile was given. 5646if test "${enable_largefile+set}" = set; then : 5647 enableval=$enable_largefile; 5648fi 5649 5650if test "$enable_largefile" != no; then 5651 5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 5653$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 5654if ${ac_cv_sys_largefile_CC+:} false; then : 5655 $as_echo_n "(cached) " >&6 5656else 5657 ac_cv_sys_largefile_CC=no 5658 if test "$GCC" != yes; then 5659 ac_save_CC=$CC 5660 while :; do 5661 # IRIX 6.2 and later do not support large files by default, 5662 # so use the C compiler's -n32 option if that helps. 5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5664/* end confdefs.h. */ 5665#include <sys/types.h> 5666 /* Check that off_t can represent 2**63 - 1 correctly. 5667 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5668 since some C++ compilers masquerading as C compilers 5669 incorrectly reject 9223372036854775807. */ 5670#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5671 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5672 && LARGE_OFF_T % 2147483647 == 1) 5673 ? 1 : -1]; 5674int 5675main () 5676{ 5677 5678 ; 5679 return 0; 5680} 5681_ACEOF 5682 if ac_fn_c_try_compile "$LINENO"; then : 5683 break 5684fi 5685rm -f core conftest.err conftest.$ac_objext 5686 CC="$CC -n32" 5687 if ac_fn_c_try_compile "$LINENO"; then : 5688 ac_cv_sys_largefile_CC=' -n32'; break 5689fi 5690rm -f core conftest.err conftest.$ac_objext 5691 break 5692 done 5693 CC=$ac_save_CC 5694 rm -f conftest.$ac_ext 5695 fi 5696fi 5697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 5698$as_echo "$ac_cv_sys_largefile_CC" >&6; } 5699 if test "$ac_cv_sys_largefile_CC" != no; then 5700 CC=$CC$ac_cv_sys_largefile_CC 5701 fi 5702 5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5704$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 5705if ${ac_cv_sys_file_offset_bits+:} false; then : 5706 $as_echo_n "(cached) " >&6 5707else 5708 while :; do 5709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5710/* end confdefs.h. */ 5711#include <sys/types.h> 5712 /* Check that off_t can represent 2**63 - 1 correctly. 5713 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5714 since some C++ compilers masquerading as C compilers 5715 incorrectly reject 9223372036854775807. */ 5716#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5717 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5718 && LARGE_OFF_T % 2147483647 == 1) 5719 ? 1 : -1]; 5720int 5721main () 5722{ 5723 5724 ; 5725 return 0; 5726} 5727_ACEOF 5728if ac_fn_c_try_compile "$LINENO"; then : 5729 ac_cv_sys_file_offset_bits=no; break 5730fi 5731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5733/* end confdefs.h. */ 5734#define _FILE_OFFSET_BITS 64 5735#include <sys/types.h> 5736 /* Check that off_t can represent 2**63 - 1 correctly. 5737 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5738 since some C++ compilers masquerading as C compilers 5739 incorrectly reject 9223372036854775807. */ 5740#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5741 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5742 && LARGE_OFF_T % 2147483647 == 1) 5743 ? 1 : -1]; 5744int 5745main () 5746{ 5747 5748 ; 5749 return 0; 5750} 5751_ACEOF 5752if ac_fn_c_try_compile "$LINENO"; then : 5753 ac_cv_sys_file_offset_bits=64; break 5754fi 5755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5756 ac_cv_sys_file_offset_bits=unknown 5757 break 5758done 5759fi 5760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 5761$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 5762case $ac_cv_sys_file_offset_bits in #( 5763 no | unknown) ;; 5764 *) 5765cat >>confdefs.h <<_ACEOF 5766#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 5767_ACEOF 5768;; 5769esac 5770rm -rf conftest* 5771 if test $ac_cv_sys_file_offset_bits = unknown; then 5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 5773$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 5774if ${ac_cv_sys_large_files+:} false; then : 5775 $as_echo_n "(cached) " >&6 5776else 5777 while :; do 5778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5779/* end confdefs.h. */ 5780#include <sys/types.h> 5781 /* Check that off_t can represent 2**63 - 1 correctly. 5782 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5783 since some C++ compilers masquerading as C compilers 5784 incorrectly reject 9223372036854775807. */ 5785#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5786 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5787 && LARGE_OFF_T % 2147483647 == 1) 5788 ? 1 : -1]; 5789int 5790main () 5791{ 5792 5793 ; 5794 return 0; 5795} 5796_ACEOF 5797if ac_fn_c_try_compile "$LINENO"; then : 5798 ac_cv_sys_large_files=no; break 5799fi 5800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5802/* end confdefs.h. */ 5803#define _LARGE_FILES 1 5804#include <sys/types.h> 5805 /* Check that off_t can represent 2**63 - 1 correctly. 5806 We can't simply define LARGE_OFF_T to be 9223372036854775807, 5807 since some C++ compilers masquerading as C compilers 5808 incorrectly reject 9223372036854775807. */ 5809#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5810 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 5811 && LARGE_OFF_T % 2147483647 == 1) 5812 ? 1 : -1]; 5813int 5814main () 5815{ 5816 5817 ; 5818 return 0; 5819} 5820_ACEOF 5821if ac_fn_c_try_compile "$LINENO"; then : 5822 ac_cv_sys_large_files=1; break 5823fi 5824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5825 ac_cv_sys_large_files=unknown 5826 break 5827done 5828fi 5829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 5830$as_echo "$ac_cv_sys_large_files" >&6; } 5831case $ac_cv_sys_large_files in #( 5832 no | unknown) ;; 5833 *) 5834cat >>confdefs.h <<_ACEOF 5835#define _LARGE_FILES $ac_cv_sys_large_files 5836_ACEOF 5837;; 5838esac 5839rm -rf conftest* 5840 fi 5841fi 5842 5843# =========================================================================== 5844# http://www.nongnu.org/autoconf-archive/ax_pthread.html 5845# =========================================================================== 5846# 5847# SYNOPSIS 5848# 5849# AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) 5850# 5851# DESCRIPTION 5852# 5853# This macro figures out how to build C programs using POSIX threads. It 5854# sets the PTHREAD_LIBS output variable to the threads library and linker 5855# flags, and the PTHREAD_CFLAGS output variable to any special C compiler 5856# flags that are needed. (The user can also force certain compiler 5857# flags/libs to be tested by setting these environment variables.) 5858# 5859# Also sets PTHREAD_CC to any special C compiler that is needed for 5860# multi-threaded programs (defaults to the value of CC otherwise). (This 5861# is necessary on AIX to use the special cc_r compiler alias.) 5862# 5863# NOTE: You are assumed to not only compile your program with these flags, 5864# but also link it with them as well. e.g. you should link with 5865# $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS 5866# 5867# If you are only building threads programs, you may wish to use these 5868# variables in your default LIBS, CFLAGS, and CC: 5869# 5870# LIBS="$PTHREAD_LIBS $LIBS" 5871# CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 5872# CC="$PTHREAD_CC" 5873# 5874# In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant 5875# has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name 5876# (e.g. PTHREAD_CREATE_UNDETACHED on AIX). 5877# 5878# ACTION-IF-FOUND is a list of shell commands to run if a threads library 5879# is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it 5880# is not found. If ACTION-IF-FOUND is not specified, the default action 5881# will define HAVE_PTHREAD. 5882# 5883# Please let the authors know if this macro fails on any platform, or if 5884# you have any other suggestions or comments. This macro was based on work 5885# by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help 5886# from M. Frigo), as well as ac_pthread and hb_pthread macros posted by 5887# Alejandro Forero Cuervo to the autoconf macro repository. We are also 5888# grateful for the helpful feedback of numerous users. 5889# 5890# LICENSE 5891# 5892# Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu> 5893# 5894# This program is free software: you can redistribute it and/or modify it 5895# under the terms of the GNU General Public License as published by the 5896# Free Software Foundation, either version 3 of the License, or (at your 5897# option) any later version. 5898# 5899# This program is distributed in the hope that it will be useful, but 5900# WITHOUT ANY WARRANTY; without even the implied warranty of 5901# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 5902# Public License for more details. 5903# 5904# You should have received a copy of the GNU General Public License along 5905# with this program. If not, see <http://www.gnu.org/licenses/>. 5906# 5907# As a special exception, the respective Autoconf Macro's copyright owner 5908# gives unlimited permission to copy, distribute and modify the configure 5909# scripts that are the output of Autoconf when processing the Macro. You 5910# need not follow the terms of the GNU General Public License when using 5911# or distributing such scripts, even though portions of the text of the 5912# Macro appear in them. The GNU General Public License (GPL) does govern 5913# all other use of the material that constitutes the Autoconf Macro. 5914# 5915# This special exception to the GPL applies to versions of the Autoconf 5916# Macro released by the Autoconf Archive. When you make and distribute a 5917# modified version of the Autoconf Macro, you may extend this special 5918# exception to the GPL to apply to your modified version as well. 5919 5920#serial 6 5921 5922# This is what autoupdate's m4 run will expand. It fires 5923# the warning (with _au_warn_XXX), outputs it into the 5924# updated configure.ac (with AC_DIAGNOSE), and then outputs 5925# the replacement expansion. 5926 5927 5928# This is an auxiliary macro that is also run when 5929# autoupdate runs m4. It simply calls m4_warning, but 5930# we need a wrapper so that each warning is emitted only 5931# once. We break the quoting in m4_warning's argument in 5932# order to expand this macro's arguments, not AU_DEFUN's. 5933 5934 5935# Finally, this is the expansion that is picked up by 5936# autoconf. It tells the user to run autoupdate, and 5937# then outputs the replacement expansion. We do not care 5938# about autoupdate's warning because that contains 5939# information on what to do *after* running autoupdate. 5940 5941 5942 5943 5944ac_ext=c 5945ac_cpp='$CPP $CPPFLAGS' 5946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5948ac_compiler_gnu=$ac_cv_c_compiler_gnu 5949 5950ax_pthread_ok=no 5951 5952# We used to check for pthread.h first, but this fails if pthread.h 5953# requires special compiler flags (e.g. on True64 or Sequent). 5954# It gets checked for in the link test anyway. 5955 5956# First of all, check if the user has set any of the PTHREAD_LIBS, 5957# etcetera environment variables, and if threads linking works using 5958# them: 5959if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then 5960 save_CFLAGS="$CFLAGS" 5961 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 5962 save_LIBS="$LIBS" 5963 LIBS="$PTHREAD_LIBS $LIBS" 5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 5965$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; } 5966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5967/* end confdefs.h. */ 5968 5969/* Override any GCC internal prototype to avoid an error. 5970 Use char because int might match the return type of a GCC 5971 builtin and then its argument prototype would still apply. */ 5972#ifdef __cplusplus 5973extern "C" 5974#endif 5975char pthread_join (); 5976int 5977main () 5978{ 5979return pthread_join (); 5980 ; 5981 return 0; 5982} 5983_ACEOF 5984if ac_fn_c_try_link "$LINENO"; then : 5985 ax_pthread_ok=yes 5986fi 5987rm -f core conftest.err conftest.$ac_objext \ 5988 conftest$ac_exeext conftest.$ac_ext 5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5 5990$as_echo "$ax_pthread_ok" >&6; } 5991 if test x"$ax_pthread_ok" = xno; then 5992 PTHREAD_LIBS="" 5993 PTHREAD_CFLAGS="" 5994 fi 5995 LIBS="$save_LIBS" 5996 CFLAGS="$save_CFLAGS" 5997fi 5998 5999# We must check for the threads library under a number of different 6000# names; the ordering is very important because some systems 6001# (e.g. DEC) have both -lpthread and -lpthreads, where one of the 6002# libraries is broken (non-POSIX). 6003 6004# Create a list of thread flags to try. Items starting with a "-" are 6005# C compiler flags, and other items are library names, except for "none" 6006# which indicates that we try without any flags at all, and "pthread-config" 6007# which is a program returning the flags for the Pth emulation library. 6008 6009ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" 6010 6011# The ordering *is* (sometimes) important. Some notes on the 6012# individual items follow: 6013 6014# pthreads: AIX (must check this before -lpthread) 6015# none: in case threads are in libc; should be tried before -Kthread and 6016# other compiler flags to prevent continual compiler warnings 6017# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) 6018# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) 6019# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) 6020# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) 6021# -pthreads: Solaris/gcc 6022# -mthreads: Mingw32/gcc, Lynx/gcc 6023# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it 6024# doesn't hurt to check since this sometimes defines pthreads too; 6025# also defines -D_REENTRANT) 6026# ... -mt is also the pthreads flag for HP/aCC 6027# pthread: Linux, etcetera 6028# --thread-safe: KAI C++ 6029# pthread-config: use pthread-config program (for GNU Pth library) 6030 6031case "${host_cpu}-${host_os}" in 6032 *solaris*) 6033 6034 # On Solaris (at least, for some versions), libc contains stubbed 6035 # (non-functional) versions of the pthreads routines, so link-based 6036 # tests will erroneously succeed. (We need to link with -pthreads/-mt/ 6037 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather 6038 # a function called by this macro, so we could check for that, but 6039 # who knows whether they'll stub that too in a future libc.) So, 6040 # we'll just look for -pthreads and -lpthread first: 6041 6042 ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags" 6043 ;; 6044 6045 *-darwin*) 6046 acx_pthread_flags="-pthread $acx_pthread_flags" 6047 ;; 6048esac 6049 6050if test x"$ax_pthread_ok" = xno; then 6051for flag in $ax_pthread_flags; do 6052 6053 case $flag in 6054 none) 6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 6056$as_echo_n "checking whether pthreads work without any flags... " >&6; } 6057 ;; 6058 6059 -*) 6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5 6061$as_echo_n "checking whether pthreads work with $flag... " >&6; } 6062 PTHREAD_CFLAGS="$flag" 6063 ;; 6064 6065 pthread-config) 6066 # Extract the first word of "pthread-config", so it can be a program name with args. 6067set dummy pthread-config; ac_word=$2 6068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6069$as_echo_n "checking for $ac_word... " >&6; } 6070if ${ac_cv_prog_ax_pthread_config+:} false; then : 6071 $as_echo_n "(cached) " >&6 6072else 6073 if test -n "$ax_pthread_config"; then 6074 ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test. 6075else 6076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6077for as_dir in $PATH 6078do 6079 IFS=$as_save_IFS 6080 test -z "$as_dir" && as_dir=. 6081 for ac_exec_ext in '' $ac_executable_extensions; do 6082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6083 ac_cv_prog_ax_pthread_config="yes" 6084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6085 break 2 6086 fi 6087done 6088 done 6089IFS=$as_save_IFS 6090 6091 test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no" 6092fi 6093fi 6094ax_pthread_config=$ac_cv_prog_ax_pthread_config 6095if test -n "$ax_pthread_config"; then 6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5 6097$as_echo "$ax_pthread_config" >&6; } 6098else 6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6100$as_echo "no" >&6; } 6101fi 6102 6103 6104 if test x"$ax_pthread_config" = xno; then continue; fi 6105 PTHREAD_CFLAGS="`pthread-config --cflags`" 6106 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" 6107 ;; 6108 6109 *) 6110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5 6111$as_echo_n "checking for the pthreads library -l$flag... " >&6; } 6112 PTHREAD_LIBS="-l$flag" 6113 ;; 6114 esac 6115 6116 save_LIBS="$LIBS" 6117 save_CFLAGS="$CFLAGS" 6118 LIBS="$PTHREAD_LIBS $LIBS" 6119 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 6120 6121 # Check for various functions. We must include pthread.h, 6122 # since some functions may be macros. (On the Sequent, we 6123 # need a special flag -Kthread to make this header compile.) 6124 # We check for pthread_join because it is in -lpthread on IRIX 6125 # while pthread_create is in libc. We check for pthread_attr_init 6126 # due to DEC craziness with -lpthreads. We check for 6127 # pthread_cleanup_push because it is one of the few pthread 6128 # functions on Solaris that doesn't have a non-functional libc stub. 6129 # We try pthread_create on general principles. 6130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6131/* end confdefs.h. */ 6132#include <pthread.h> 6133 static void routine(void* a) {a=0;} 6134 static void* start_routine(void* a) {return a;} 6135int 6136main () 6137{ 6138pthread_t th; pthread_attr_t attr; 6139 pthread_join(th, 0); 6140 pthread_attr_init(&attr); 6141 pthread_cleanup_push(routine, 0); 6142 pthread_create(&th,0,start_routine,0); 6143 pthread_cleanup_pop(0); 6144 ; 6145 return 0; 6146} 6147_ACEOF 6148if ac_fn_c_try_link "$LINENO"; then : 6149 ax_pthread_ok=yes 6150fi 6151rm -f core conftest.err conftest.$ac_objext \ 6152 conftest$ac_exeext conftest.$ac_ext 6153 6154 LIBS="$save_LIBS" 6155 CFLAGS="$save_CFLAGS" 6156 6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5 6158$as_echo "$ax_pthread_ok" >&6; } 6159 if test "x$ax_pthread_ok" = xyes; then 6160 break; 6161 fi 6162 6163 PTHREAD_LIBS="" 6164 PTHREAD_CFLAGS="" 6165done 6166fi 6167 6168# Various other checks: 6169if test "x$ax_pthread_ok" = xyes; then 6170 save_LIBS="$LIBS" 6171 LIBS="$PTHREAD_LIBS $LIBS" 6172 save_CFLAGS="$CFLAGS" 6173 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 6174 6175 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. 6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5 6177$as_echo_n "checking for joinable pthread attribute... " >&6; } 6178 attr_name=unknown 6179 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do 6180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6181/* end confdefs.h. */ 6182#include <pthread.h> 6183int 6184main () 6185{ 6186int attr=$attr; return attr; 6187 ; 6188 return 0; 6189} 6190_ACEOF 6191if ac_fn_c_try_link "$LINENO"; then : 6192 attr_name=$attr; break 6193fi 6194rm -f core conftest.err conftest.$ac_objext \ 6195 conftest$ac_exeext conftest.$ac_ext 6196 done 6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5 6198$as_echo "$attr_name" >&6; } 6199 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then 6200 6201cat >>confdefs.h <<_ACEOF 6202#define PTHREAD_CREATE_JOINABLE $attr_name 6203_ACEOF 6204 6205 fi 6206 6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5 6208$as_echo_n "checking if more special flags are required for pthreads... " >&6; } 6209 flag=no 6210 case "${host_cpu}-${host_os}" in 6211 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; 6212 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; 6213 esac 6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 6215$as_echo "${flag}" >&6; } 6216 if test "x$flag" != xno; then 6217 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" 6218 fi 6219 6220 LIBS="$save_LIBS" 6221 CFLAGS="$save_CFLAGS" 6222 6223 # More AIX lossage: must compile with xlc_r or cc_r 6224 if test x"$GCC" != xyes; then 6225 for ac_prog in xlc_r cc_r 6226do 6227 # Extract the first word of "$ac_prog", so it can be a program name with args. 6228set dummy $ac_prog; ac_word=$2 6229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6230$as_echo_n "checking for $ac_word... " >&6; } 6231if ${ac_cv_prog_PTHREAD_CC+:} false; then : 6232 $as_echo_n "(cached) " >&6 6233else 6234 if test -n "$PTHREAD_CC"; then 6235 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test. 6236else 6237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6238for as_dir in $PATH 6239do 6240 IFS=$as_save_IFS 6241 test -z "$as_dir" && as_dir=. 6242 for ac_exec_ext in '' $ac_executable_extensions; do 6243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6244 ac_cv_prog_PTHREAD_CC="$ac_prog" 6245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6246 break 2 6247 fi 6248done 6249 done 6250IFS=$as_save_IFS 6251 6252fi 6253fi 6254PTHREAD_CC=$ac_cv_prog_PTHREAD_CC 6255if test -n "$PTHREAD_CC"; then 6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 6257$as_echo "$PTHREAD_CC" >&6; } 6258else 6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6260$as_echo "no" >&6; } 6261fi 6262 6263 6264 test -n "$PTHREAD_CC" && break 6265done 6266test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}" 6267 6268 else 6269 PTHREAD_CC=$CC 6270 fi 6271else 6272 PTHREAD_CC="$CC" 6273fi 6274 6275 6276 6277 6278 6279# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: 6280if test x"$ax_pthread_ok" = xyes; then 6281 6282$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h 6283 6284 : 6285else 6286 ax_pthread_ok=no 6287 6288fi 6289ac_ext=c 6290ac_cpp='$CPP $CPPFLAGS' 6291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 6292ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 6293ac_compiler_gnu=$ac_cv_c_compiler_gnu 6294 6295 6296# On IRIX 5.3, sys/types and inttypes.h are conflicting. 6297for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 6298 inttypes.h stdint.h unistd.h 6299do : 6300 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6301ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 6302" 6303if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6304 cat >>confdefs.h <<_ACEOF 6305#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 6306_ACEOF 6307 6308fi 6309 6310done 6311 6312 6313for ac_header in a.out.h 6314do : 6315 ac_fn_c_check_header_mongrel "$LINENO" "a.out.h" "ac_cv_header_a_out_h" "$ac_includes_default" 6316if test "x$ac_cv_header_a_out_h" = xyes; then : 6317 cat >>confdefs.h <<_ACEOF 6318#define HAVE_A_OUT_H 1 6319_ACEOF 6320 6321fi 6322 6323done 6324 6325 6326# Only build Linux client libs when compiling for Linux 6327case $host in 6328 *-*-linux* | *-android* ) 6329 LINUX_HOST=true 6330 ;; 6331esac 6332 if test x$LINUX_HOST = xtrue; then 6333 LINUX_HOST_TRUE= 6334 LINUX_HOST_FALSE='#' 6335else 6336 LINUX_HOST_TRUE='#' 6337 LINUX_HOST_FALSE= 6338fi 6339 6340 6341# Only use Android support headers when compiling for Android 6342case $host in 6343 *-android*) 6344 ANDROID_HOST=true 6345 ;; 6346esac 6347 if test x$ANDROID_HOST = xtrue; then 6348 ANDROID_HOST_TRUE= 6349 ANDROID_HOST_FALSE='#' 6350else 6351 ANDROID_HOST_TRUE='#' 6352 ANDROID_HOST_FALSE= 6353fi 6354 6355 6356# Check whether --enable-processor was given. 6357if test "${enable_processor+set}" = set; then : 6358 enableval=$enable_processor; case "${enableval}" in 6359 yes) 6360 disable_processor=false 6361 ;; 6362 no) 6363 disable_processor=true 6364 ;; 6365 *) 6366 as_fn_error $? "bad value ${enableval} for --disable-processor" "$LINENO" 5 6367 ;; 6368 esac 6369else 6370 disable_processor=false 6371fi 6372 6373 if test x$disable_processor = xtrue; then 6374 DISABLE_PROCESSOR_TRUE= 6375 DISABLE_PROCESSOR_FALSE='#' 6376else 6377 DISABLE_PROCESSOR_TRUE='#' 6378 DISABLE_PROCESSOR_FALSE= 6379fi 6380 6381 6382# Check whether --enable-tools was given. 6383if test "${enable_tools+set}" = set; then : 6384 enableval=$enable_tools; case "${enableval}" in 6385 yes) 6386 disable_tools=false 6387 ;; 6388 no) 6389 disable_tools=true 6390 ;; 6391 *) 6392 as_fn_error $? "bad value ${enableval} for --disable-tools" "$LINENO" 5 6393 ;; 6394 esac 6395else 6396 disable_tools=false 6397fi 6398 6399 if test x$disable_tools = xtrue; then 6400 DISABLE_TOOLS_TRUE= 6401 DISABLE_TOOLS_FALSE='#' 6402else 6403 DISABLE_TOOLS_TRUE='#' 6404 DISABLE_TOOLS_FALSE= 6405fi 6406 6407 6408# Check whether --enable-core2md was given. 6409if test "${enable_core2md+set}" = set; then : 6410 enableval=$enable_core2md; case "${enableval}" in 6411 yes) 6412 disable_core2md=false 6413 ;; 6414 no) 6415 disable_core2md=true 6416 ;; 6417 *) 6418 as_fn_error $? "bad value ${enableval} for --disable-core2md" "$LINENO" 5 6419 ;; 6420 esac 6421else 6422 disable_core2md=false 6423fi 6424 6425 if test x$disable_core2md = xtrue; then 6426 DISABLE_CORE2MD_TRUE= 6427 DISABLE_CORE2MD_FALSE='#' 6428else 6429 DISABLE_CORE2MD_TRUE='#' 6430 DISABLE_CORE2MD_FALSE= 6431fi 6432 6433 6434# Check whether --enable-md2core was given. 6435if test "${enable_md2core+set}" = set; then : 6436 enableval=$enable_md2core; case "${enableval}" in 6437 yes) 6438 disable_md2core=false 6439 ;; 6440 no) 6441 disable_md2core=true 6442 ;; 6443 *) 6444 as_fn_error $? "bad value ${enableval} for --disable-md2core" "$LINENO" 5 6445 ;; 6446 esac 6447else 6448 disable_md2core=false 6449fi 6450 6451 if test x$disable_md2core = xtrue; then 6452 DISABLE_MD2CORE_TRUE= 6453 DISABLE_MD2CORE_FALSE='#' 6454else 6455 DISABLE_MD2CORE_TRUE='#' 6456 DISABLE_MD2CORE_FALSE= 6457fi 6458 6459 6460if test x$LINUX_HOST = xfalse -a x$disable_processor = xtrue -a x$disable_tools = xtrue; then 6461 as_fn_error $? "--disable-processor and --disable-tools were specified, and not building for Linux. Nothing to build!" "$LINENO" 5 6462fi 6463 6464# Check whether --enable-selftest was given. 6465if test "${enable_selftest+set}" = set; then : 6466 enableval=$enable_selftest; case "${enableval}" in 6467 yes) 6468 selftest=true 6469 ;; 6470 no) 6471 selftest=false 6472 ;; 6473 *) 6474 as_fn_error $? "bad value ${enableval} for --enable-selftest" "$LINENO" 5 6475 ;; 6476 esac 6477else 6478 selftest=false 6479fi 6480 6481 if test x$selftest = xtrue; then 6482 SELFTEST_TRUE= 6483 SELFTEST_FALSE='#' 6484else 6485 SELFTEST_TRUE='#' 6486 SELFTEST_FALSE= 6487fi 6488 6489 6490ac_config_files="$ac_config_files Makefile" 6491 6492cat >confcache <<\_ACEOF 6493# This file is a shell script that caches the results of configure 6494# tests run on this system so they can be shared between configure 6495# scripts and configure runs, see configure's option --config-cache. 6496# It is not useful on other systems. If it contains results you don't 6497# want to keep, you may remove or edit it. 6498# 6499# config.status only pays attention to the cache file if you give it 6500# the --recheck option to rerun configure. 6501# 6502# `ac_cv_env_foo' variables (set or unset) will be overridden when 6503# loading this file, other *unset* `ac_cv_foo' will be assigned the 6504# following values. 6505 6506_ACEOF 6507 6508# The following way of writing the cache mishandles newlines in values, 6509# but we know of no workaround that is simple, portable, and efficient. 6510# So, we kill variables containing newlines. 6511# Ultrix sh set writes to stderr and can't be redirected directly, 6512# and sets the high bit in the cache file unless we assign to the vars. 6513( 6514 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 6515 eval ac_val=\$$ac_var 6516 case $ac_val in #( 6517 *${as_nl}*) 6518 case $ac_var in #( 6519 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 6520$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 6521 esac 6522 case $ac_var in #( 6523 _ | IFS | as_nl) ;; #( 6524 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 6525 *) { eval $ac_var=; unset $ac_var;} ;; 6526 esac ;; 6527 esac 6528 done 6529 6530 (set) 2>&1 | 6531 case $as_nl`(ac_space=' '; set) 2>&1` in #( 6532 *${as_nl}ac_space=\ *) 6533 # `set' does not quote correctly, so add quotes: double-quote 6534 # substitution turns \\\\ into \\, and sed turns \\ into \. 6535 sed -n \ 6536 "s/'/'\\\\''/g; 6537 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6538 ;; #( 6539 *) 6540 # `set' quotes correctly as required by POSIX, so do not add quotes. 6541 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 6542 ;; 6543 esac | 6544 sort 6545) | 6546 sed ' 6547 /^ac_cv_env_/b end 6548 t clear 6549 :clear 6550 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6551 t end 6552 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6553 :end' >>confcache 6554if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 6555 if test -w "$cache_file"; then 6556 if test "x$cache_file" != "x/dev/null"; then 6557 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 6558$as_echo "$as_me: updating cache $cache_file" >&6;} 6559 if test ! -f "$cache_file" || test -h "$cache_file"; then 6560 cat confcache >"$cache_file" 6561 else 6562 case $cache_file in #( 6563 */* | ?:*) 6564 mv -f confcache "$cache_file"$$ && 6565 mv -f "$cache_file"$$ "$cache_file" ;; #( 6566 *) 6567 mv -f confcache "$cache_file" ;; 6568 esac 6569 fi 6570 fi 6571 else 6572 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 6573$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 6574 fi 6575fi 6576rm -f confcache 6577 6578test "x$prefix" = xNONE && prefix=$ac_default_prefix 6579# Let make expand exec_prefix. 6580test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 6581 6582DEFS=-DHAVE_CONFIG_H 6583 6584ac_libobjs= 6585ac_ltlibobjs= 6586U= 6587for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6588 # 1. Remove the extension, and $U if already installed. 6589 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 6590 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 6591 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 6592 # will be set to the directory where LIBOBJS objects are built. 6593 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 6594 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 6595done 6596LIBOBJS=$ac_libobjs 6597 6598LTLIBOBJS=$ac_ltlibobjs 6599 6600 6601 if test -n "$EXEEXT"; then 6602 am__EXEEXT_TRUE= 6603 am__EXEEXT_FALSE='#' 6604else 6605 am__EXEEXT_TRUE='#' 6606 am__EXEEXT_FALSE= 6607fi 6608 6609if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 6610 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 6611Usually this means the macro was only invoked conditionally." "$LINENO" 5 6612fi 6613if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 6614 as_fn_error $? "conditional \"AMDEP\" was never defined. 6615Usually this means the macro was only invoked conditionally." "$LINENO" 5 6616fi 6617if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6618 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 6619Usually this means the macro was only invoked conditionally." "$LINENO" 5 6620fi 6621if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then 6622 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined. 6623Usually this means the macro was only invoked conditionally." "$LINENO" 5 6624fi 6625if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 6626 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 6627Usually this means the macro was only invoked conditionally." "$LINENO" 5 6628fi 6629if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 6630 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 6631Usually this means the macro was only invoked conditionally." "$LINENO" 5 6632fi 6633if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then 6634 as_fn_error $? "conditional \"GCC\" was never defined. 6635Usually this means the macro was only invoked conditionally." "$LINENO" 5 6636fi 6637if test -z "${LINUX_HOST_TRUE}" && test -z "${LINUX_HOST_FALSE}"; then 6638 as_fn_error $? "conditional \"LINUX_HOST\" was never defined. 6639Usually this means the macro was only invoked conditionally." "$LINENO" 5 6640fi 6641if test -z "${ANDROID_HOST_TRUE}" && test -z "${ANDROID_HOST_FALSE}"; then 6642 as_fn_error $? "conditional \"ANDROID_HOST\" was never defined. 6643Usually this means the macro was only invoked conditionally." "$LINENO" 5 6644fi 6645if test -z "${DISABLE_PROCESSOR_TRUE}" && test -z "${DISABLE_PROCESSOR_FALSE}"; then 6646 as_fn_error $? "conditional \"DISABLE_PROCESSOR\" was never defined. 6647Usually this means the macro was only invoked conditionally." "$LINENO" 5 6648fi 6649if test -z "${DISABLE_TOOLS_TRUE}" && test -z "${DISABLE_TOOLS_FALSE}"; then 6650 as_fn_error $? "conditional \"DISABLE_TOOLS\" was never defined. 6651Usually this means the macro was only invoked conditionally." "$LINENO" 5 6652fi 6653if test -z "${DISABLE_CORE2MD_TRUE}" && test -z "${DISABLE_CORE2MD_FALSE}"; then 6654 as_fn_error $? "conditional \"DISABLE_CORE2MD\" was never defined. 6655Usually this means the macro was only invoked conditionally." "$LINENO" 5 6656fi 6657if test -z "${DISABLE_MD2CORE_TRUE}" && test -z "${DISABLE_MD2CORE_FALSE}"; then 6658 as_fn_error $? "conditional \"DISABLE_MD2CORE\" was never defined. 6659Usually this means the macro was only invoked conditionally." "$LINENO" 5 6660fi 6661if test -z "${SELFTEST_TRUE}" && test -z "${SELFTEST_FALSE}"; then 6662 as_fn_error $? "conditional \"SELFTEST\" was never defined. 6663Usually this means the macro was only invoked conditionally." "$LINENO" 5 6664fi 6665 6666: "${CONFIG_STATUS=./config.status}" 6667ac_write_fail=0 6668ac_clean_files_save=$ac_clean_files 6669ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6670{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 6671$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 6672as_write_fail=0 6673cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 6674#! $SHELL 6675# Generated by $as_me. 6676# Run this file to recreate the current configuration. 6677# Compiler output produced by configure, useful for debugging 6678# configure, is in config.log if it exists. 6679 6680debug=false 6681ac_cs_recheck=false 6682ac_cs_silent=false 6683 6684SHELL=\${CONFIG_SHELL-$SHELL} 6685export SHELL 6686_ASEOF 6687cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 6688## -------------------- ## 6689## M4sh Initialization. ## 6690## -------------------- ## 6691 6692# Be more Bourne compatible 6693DUALCASE=1; export DUALCASE # for MKS sh 6694if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 6695 emulate sh 6696 NULLCMD=: 6697 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 6698 # is contrary to our usage. Disable this feature. 6699 alias -g '${1+"$@"}'='"$@"' 6700 setopt NO_GLOB_SUBST 6701else 6702 case `(set -o) 2>/dev/null` in #( 6703 *posix*) : 6704 set -o posix ;; #( 6705 *) : 6706 ;; 6707esac 6708fi 6709 6710 6711as_nl=' 6712' 6713export as_nl 6714# Printing a long string crashes Solaris 7 /usr/bin/printf. 6715as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6716as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 6717as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 6718# Prefer a ksh shell builtin over an external printf program on Solaris, 6719# but without wasting forks for bash or zsh. 6720if test -z "$BASH_VERSION$ZSH_VERSION" \ 6721 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 6722 as_echo='print -r --' 6723 as_echo_n='print -rn --' 6724elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 6725 as_echo='printf %s\n' 6726 as_echo_n='printf %s' 6727else 6728 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 6729 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 6730 as_echo_n='/usr/ucb/echo -n' 6731 else 6732 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 6733 as_echo_n_body='eval 6734 arg=$1; 6735 case $arg in #( 6736 *"$as_nl"*) 6737 expr "X$arg" : "X\\(.*\\)$as_nl"; 6738 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 6739 esac; 6740 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 6741 ' 6742 export as_echo_n_body 6743 as_echo_n='sh -c $as_echo_n_body as_echo' 6744 fi 6745 export as_echo_body 6746 as_echo='sh -c $as_echo_body as_echo' 6747fi 6748 6749# The user is always right. 6750if test "${PATH_SEPARATOR+set}" != set; then 6751 PATH_SEPARATOR=: 6752 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 6753 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 6754 PATH_SEPARATOR=';' 6755 } 6756fi 6757 6758 6759# IFS 6760# We need space, tab and new line, in precisely that order. Quoting is 6761# there to prevent editors from complaining about space-tab. 6762# (If _AS_PATH_WALK were called with IFS unset, it would disable word 6763# splitting by setting IFS to empty value.) 6764IFS=" "" $as_nl" 6765 6766# Find who we are. Look in the path if we contain no directory separator. 6767as_myself= 6768case $0 in #(( 6769 *[\\/]* ) as_myself=$0 ;; 6770 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6771for as_dir in $PATH 6772do 6773 IFS=$as_save_IFS 6774 test -z "$as_dir" && as_dir=. 6775 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6776 done 6777IFS=$as_save_IFS 6778 6779 ;; 6780esac 6781# We did not find ourselves, most probably we were run as `sh COMMAND' 6782# in which case we are not to be found in the path. 6783if test "x$as_myself" = x; then 6784 as_myself=$0 6785fi 6786if test ! -f "$as_myself"; then 6787 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 6788 exit 1 6789fi 6790 6791# Unset variables that we do not need and which cause bugs (e.g. in 6792# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 6793# suppresses any "Segmentation fault" message there. '((' could 6794# trigger a bug in pdksh 5.2.14. 6795for as_var in BASH_ENV ENV MAIL MAILPATH 6796do eval test x\${$as_var+set} = xset \ 6797 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 6798done 6799PS1='$ ' 6800PS2='> ' 6801PS4='+ ' 6802 6803# NLS nuisances. 6804LC_ALL=C 6805export LC_ALL 6806LANGUAGE=C 6807export LANGUAGE 6808 6809# CDPATH. 6810(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 6811 6812 6813# as_fn_error STATUS ERROR [LINENO LOG_FD] 6814# ---------------------------------------- 6815# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 6816# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 6817# script with STATUS, using 1 if that was 0. 6818as_fn_error () 6819{ 6820 as_status=$1; test $as_status -eq 0 && as_status=1 6821 if test "$4"; then 6822 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 6823 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 6824 fi 6825 $as_echo "$as_me: error: $2" >&2 6826 as_fn_exit $as_status 6827} # as_fn_error 6828 6829 6830# as_fn_set_status STATUS 6831# ----------------------- 6832# Set $? to STATUS, without forking. 6833as_fn_set_status () 6834{ 6835 return $1 6836} # as_fn_set_status 6837 6838# as_fn_exit STATUS 6839# ----------------- 6840# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 6841as_fn_exit () 6842{ 6843 set +e 6844 as_fn_set_status $1 6845 exit $1 6846} # as_fn_exit 6847 6848# as_fn_unset VAR 6849# --------------- 6850# Portably unset VAR. 6851as_fn_unset () 6852{ 6853 { eval $1=; unset $1;} 6854} 6855as_unset=as_fn_unset 6856# as_fn_append VAR VALUE 6857# ---------------------- 6858# Append the text in VALUE to the end of the definition contained in VAR. Take 6859# advantage of any shell optimizations that allow amortized linear growth over 6860# repeated appends, instead of the typical quadratic growth present in naive 6861# implementations. 6862if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 6863 eval 'as_fn_append () 6864 { 6865 eval $1+=\$2 6866 }' 6867else 6868 as_fn_append () 6869 { 6870 eval $1=\$$1\$2 6871 } 6872fi # as_fn_append 6873 6874# as_fn_arith ARG... 6875# ------------------ 6876# Perform arithmetic evaluation on the ARGs, and store the result in the 6877# global $as_val. Take advantage of shells that can avoid forks. The arguments 6878# must be portable across $(()) and expr. 6879if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 6880 eval 'as_fn_arith () 6881 { 6882 as_val=$(( $* )) 6883 }' 6884else 6885 as_fn_arith () 6886 { 6887 as_val=`expr "$@" || test $? -eq 1` 6888 } 6889fi # as_fn_arith 6890 6891 6892if expr a : '\(a\)' >/dev/null 2>&1 && 6893 test "X`expr 00001 : '.*\(...\)'`" = X001; then 6894 as_expr=expr 6895else 6896 as_expr=false 6897fi 6898 6899if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 6900 as_basename=basename 6901else 6902 as_basename=false 6903fi 6904 6905if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 6906 as_dirname=dirname 6907else 6908 as_dirname=false 6909fi 6910 6911as_me=`$as_basename -- "$0" || 6912$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6913 X"$0" : 'X\(//\)$' \| \ 6914 X"$0" : 'X\(/\)' \| . 2>/dev/null || 6915$as_echo X/"$0" | 6916 sed '/^.*\/\([^/][^/]*\)\/*$/{ 6917 s//\1/ 6918 q 6919 } 6920 /^X\/\(\/\/\)$/{ 6921 s//\1/ 6922 q 6923 } 6924 /^X\/\(\/\).*/{ 6925 s//\1/ 6926 q 6927 } 6928 s/.*/./; q'` 6929 6930# Avoid depending upon Character Ranges. 6931as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6932as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6933as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6934as_cr_digits='0123456789' 6935as_cr_alnum=$as_cr_Letters$as_cr_digits 6936 6937ECHO_C= ECHO_N= ECHO_T= 6938case `echo -n x` in #((((( 6939-n*) 6940 case `echo 'xy\c'` in 6941 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 6942 xy) ECHO_C='\c';; 6943 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 6944 ECHO_T=' ';; 6945 esac;; 6946*) 6947 ECHO_N='-n';; 6948esac 6949 6950rm -f conf$$ conf$$.exe conf$$.file 6951if test -d conf$$.dir; then 6952 rm -f conf$$.dir/conf$$.file 6953else 6954 rm -f conf$$.dir 6955 mkdir conf$$.dir 2>/dev/null 6956fi 6957if (echo >conf$$.file) 2>/dev/null; then 6958 if ln -s conf$$.file conf$$ 2>/dev/null; then 6959 as_ln_s='ln -s' 6960 # ... but there are two gotchas: 6961 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 6962 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 6963 # In both cases, we have to default to `cp -p'. 6964 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 6965 as_ln_s='cp -p' 6966 elif ln conf$$.file conf$$ 2>/dev/null; then 6967 as_ln_s=ln 6968 else 6969 as_ln_s='cp -p' 6970 fi 6971else 6972 as_ln_s='cp -p' 6973fi 6974rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 6975rmdir conf$$.dir 2>/dev/null 6976 6977 6978# as_fn_mkdir_p 6979# ------------- 6980# Create "$as_dir" as a directory, including parents if necessary. 6981as_fn_mkdir_p () 6982{ 6983 6984 case $as_dir in #( 6985 -*) as_dir=./$as_dir;; 6986 esac 6987 test -d "$as_dir" || eval $as_mkdir_p || { 6988 as_dirs= 6989 while :; do 6990 case $as_dir in #( 6991 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 6992 *) as_qdir=$as_dir;; 6993 esac 6994 as_dirs="'$as_qdir' $as_dirs" 6995 as_dir=`$as_dirname -- "$as_dir" || 6996$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6997 X"$as_dir" : 'X\(//\)[^/]' \| \ 6998 X"$as_dir" : 'X\(//\)$' \| \ 6999 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7000$as_echo X"$as_dir" | 7001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7002 s//\1/ 7003 q 7004 } 7005 /^X\(\/\/\)[^/].*/{ 7006 s//\1/ 7007 q 7008 } 7009 /^X\(\/\/\)$/{ 7010 s//\1/ 7011 q 7012 } 7013 /^X\(\/\).*/{ 7014 s//\1/ 7015 q 7016 } 7017 s/.*/./; q'` 7018 test -d "$as_dir" && break 7019 done 7020 test -z "$as_dirs" || eval "mkdir $as_dirs" 7021 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7022 7023 7024} # as_fn_mkdir_p 7025if mkdir -p . 2>/dev/null; then 7026 as_mkdir_p='mkdir -p "$as_dir"' 7027else 7028 test -d ./-p && rmdir ./-p 7029 as_mkdir_p=false 7030fi 7031 7032if test -x / >/dev/null 2>&1; then 7033 as_test_x='test -x' 7034else 7035 if ls -dL / >/dev/null 2>&1; then 7036 as_ls_L_option=L 7037 else 7038 as_ls_L_option= 7039 fi 7040 as_test_x=' 7041 eval sh -c '\'' 7042 if test -d "$1"; then 7043 test -d "$1/."; 7044 else 7045 case $1 in #( 7046 -*)set "./$1";; 7047 esac; 7048 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7049 ???[sx]*):;;*)false;;esac;fi 7050 '\'' sh 7051 ' 7052fi 7053as_executable_p=$as_test_x 7054 7055# Sed expression to map a string onto a valid CPP name. 7056as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7057 7058# Sed expression to map a string onto a valid variable name. 7059as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7060 7061 7062exec 6>&1 7063## ----------------------------------- ## 7064## Main body of $CONFIG_STATUS script. ## 7065## ----------------------------------- ## 7066_ASEOF 7067test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7068 7069cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7070# Save the log message, to keep $0 and so on meaningful, and to 7071# report actual input values of CONFIG_FILES etc. instead of their 7072# values after options handling. 7073ac_log=" 7074This file was extended by breakpad $as_me 0.1, which was 7075generated by GNU Autoconf 2.68. Invocation command line was 7076 7077 CONFIG_FILES = $CONFIG_FILES 7078 CONFIG_HEADERS = $CONFIG_HEADERS 7079 CONFIG_LINKS = $CONFIG_LINKS 7080 CONFIG_COMMANDS = $CONFIG_COMMANDS 7081 $ $0 $@ 7082 7083on `(hostname || uname -n) 2>/dev/null | sed 1q` 7084" 7085 7086_ACEOF 7087 7088case $ac_config_files in *" 7089"*) set x $ac_config_files; shift; ac_config_files=$*;; 7090esac 7091 7092case $ac_config_headers in *" 7093"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7094esac 7095 7096 7097cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7098# Files that config.status was made for. 7099config_files="$ac_config_files" 7100config_headers="$ac_config_headers" 7101config_commands="$ac_config_commands" 7102 7103_ACEOF 7104 7105cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7106ac_cs_usage="\ 7107\`$as_me' instantiates files and other configuration actions 7108from templates according to the current configuration. Unless the files 7109and actions are specified as TAGs, all are instantiated by default. 7110 7111Usage: $0 [OPTION]... [TAG]... 7112 7113 -h, --help print this help, then exit 7114 -V, --version print version number and configuration settings, then exit 7115 --config print configuration, then exit 7116 -q, --quiet, --silent 7117 do not print progress messages 7118 -d, --debug don't remove temporary files 7119 --recheck update $as_me by reconfiguring in the same conditions 7120 --file=FILE[:TEMPLATE] 7121 instantiate the configuration file FILE 7122 --header=FILE[:TEMPLATE] 7123 instantiate the configuration header FILE 7124 7125Configuration files: 7126$config_files 7127 7128Configuration headers: 7129$config_headers 7130 7131Configuration commands: 7132$config_commands 7133 7134Report bugs to <google-breakpad-dev@googlegroups.com>." 7135 7136_ACEOF 7137cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7138ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7139ac_cs_version="\\ 7140breakpad config.status 0.1 7141configured by $0, generated by GNU Autoconf 2.68, 7142 with options \\"\$ac_cs_config\\" 7143 7144Copyright (C) 2010 Free Software Foundation, Inc. 7145This config.status script is free software; the Free Software Foundation 7146gives unlimited permission to copy, distribute and modify it." 7147 7148ac_pwd='$ac_pwd' 7149srcdir='$srcdir' 7150INSTALL='$INSTALL' 7151MKDIR_P='$MKDIR_P' 7152AWK='$AWK' 7153test -n "\$AWK" || AWK=awk 7154_ACEOF 7155 7156cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7157# The default lists apply if the user does not specify any file. 7158ac_need_defaults=: 7159while test $# != 0 7160do 7161 case $1 in 7162 --*=?*) 7163 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7164 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7165 ac_shift=: 7166 ;; 7167 --*=) 7168 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7169 ac_optarg= 7170 ac_shift=: 7171 ;; 7172 *) 7173 ac_option=$1 7174 ac_optarg=$2 7175 ac_shift=shift 7176 ;; 7177 esac 7178 7179 case $ac_option in 7180 # Handling of the options. 7181 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7182 ac_cs_recheck=: ;; 7183 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7184 $as_echo "$ac_cs_version"; exit ;; 7185 --config | --confi | --conf | --con | --co | --c ) 7186 $as_echo "$ac_cs_config"; exit ;; 7187 --debug | --debu | --deb | --de | --d | -d ) 7188 debug=: ;; 7189 --file | --fil | --fi | --f ) 7190 $ac_shift 7191 case $ac_optarg in 7192 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7193 '') as_fn_error $? "missing file argument" ;; 7194 esac 7195 as_fn_append CONFIG_FILES " '$ac_optarg'" 7196 ac_need_defaults=false;; 7197 --header | --heade | --head | --hea ) 7198 $ac_shift 7199 case $ac_optarg in 7200 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7201 esac 7202 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7203 ac_need_defaults=false;; 7204 --he | --h) 7205 # Conflict between --help and --header 7206 as_fn_error $? "ambiguous option: \`$1' 7207Try \`$0 --help' for more information.";; 7208 --help | --hel | -h ) 7209 $as_echo "$ac_cs_usage"; exit ;; 7210 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7211 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7212 ac_cs_silent=: ;; 7213 7214 # This is an error. 7215 -*) as_fn_error $? "unrecognized option: \`$1' 7216Try \`$0 --help' for more information." ;; 7217 7218 *) as_fn_append ac_config_targets " $1" 7219 ac_need_defaults=false ;; 7220 7221 esac 7222 shift 7223done 7224 7225ac_configure_extra_args= 7226 7227if $ac_cs_silent; then 7228 exec 6>/dev/null 7229 ac_configure_extra_args="$ac_configure_extra_args --silent" 7230fi 7231 7232_ACEOF 7233cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7234if \$ac_cs_recheck; then 7235 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7236 shift 7237 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7238 CONFIG_SHELL='$SHELL' 7239 export CONFIG_SHELL 7240 exec "\$@" 7241fi 7242 7243_ACEOF 7244cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7245exec 5>>config.log 7246{ 7247 echo 7248 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7249## Running $as_me. ## 7250_ASBOX 7251 $as_echo "$ac_log" 7252} >&5 7253 7254_ACEOF 7255cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7256# 7257# INIT-COMMANDS 7258# 7259AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 7260 7261_ACEOF 7262 7263cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7264 7265# Handling of arguments. 7266for ac_config_target in $ac_config_targets 7267do 7268 case $ac_config_target in 7269 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 7270 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7271 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7272 7273 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7274 esac 7275done 7276 7277 7278# If the user did not use the arguments to specify the items to instantiate, 7279# then the envvar interface is used. Set only those that are not. 7280# We use the long form for the default assignment because of an extremely 7281# bizarre bug on SunOS 4.1.3. 7282if $ac_need_defaults; then 7283 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7284 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 7285 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 7286fi 7287 7288# Have a temporary directory for convenience. Make it in the build tree 7289# simply because there is no reason against having it here, and in addition, 7290# creating and moving files from /tmp can sometimes cause problems. 7291# Hook for its removal unless debugging. 7292# Note that there is a small window in which the directory will not be cleaned: 7293# after its creation but before its name has been assigned to `$tmp'. 7294$debug || 7295{ 7296 tmp= ac_tmp= 7297 trap 'exit_status=$? 7298 : "${ac_tmp:=$tmp}" 7299 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7300' 0 7301 trap 'as_fn_exit 1' 1 2 13 15 7302} 7303# Create a (secure) tmp directory for tmp files. 7304 7305{ 7306 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7307 test -d "$tmp" 7308} || 7309{ 7310 tmp=./conf$$-$RANDOM 7311 (umask 077 && mkdir "$tmp") 7312} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7313ac_tmp=$tmp 7314 7315# Set up the scripts for CONFIG_FILES section. 7316# No need to generate them if there are no CONFIG_FILES. 7317# This happens for instance with `./config.status config.h'. 7318if test -n "$CONFIG_FILES"; then 7319 7320 7321ac_cr=`echo X | tr X '\015'` 7322# On cygwin, bash can eat \r inside `` if the user requested igncr. 7323# But we know of no other shell where ac_cr would be empty at this 7324# point, so we can use a bashism as a fallback. 7325if test "x$ac_cr" = x; then 7326 eval ac_cr=\$\'\\r\' 7327fi 7328ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7329if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7330 ac_cs_awk_cr='\\r' 7331else 7332 ac_cs_awk_cr=$ac_cr 7333fi 7334 7335echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 7336_ACEOF 7337 7338 7339{ 7340 echo "cat >conf$$subs.awk <<_ACEOF" && 7341 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 7342 echo "_ACEOF" 7343} >conf$$subs.sh || 7344 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7345ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 7346ac_delim='%!_!# ' 7347for ac_last_try in false false false false false :; do 7348 . ./conf$$subs.sh || 7349 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7350 7351 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 7352 if test $ac_delim_n = $ac_delim_num; then 7353 break 7354 elif $ac_last_try; then 7355 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 7356 else 7357 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7358 fi 7359done 7360rm -f conf$$subs.sh 7361 7362cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7363cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 7364_ACEOF 7365sed -n ' 7366h 7367s/^/S["/; s/!.*/"]=/ 7368p 7369g 7370s/^[^!]*!// 7371:repl 7372t repl 7373s/'"$ac_delim"'$// 7374t delim 7375:nl 7376h 7377s/\(.\{148\}\)..*/\1/ 7378t more1 7379s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 7380p 7381n 7382b repl 7383:more1 7384s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7385p 7386g 7387s/.\{148\}// 7388t nl 7389:delim 7390h 7391s/\(.\{148\}\)..*/\1/ 7392t more2 7393s/["\\]/\\&/g; s/^/"/; s/$/"/ 7394p 7395b 7396:more2 7397s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 7398p 7399g 7400s/.\{148\}// 7401t delim 7402' <conf$$subs.awk | sed ' 7403/^[^""]/{ 7404 N 7405 s/\n// 7406} 7407' >>$CONFIG_STATUS || ac_write_fail=1 7408rm -f conf$$subs.awk 7409cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7410_ACAWK 7411cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 7412 for (key in S) S_is_set[key] = 1 7413 FS = "" 7414 7415} 7416{ 7417 line = $ 0 7418 nfields = split(line, field, "@") 7419 substed = 0 7420 len = length(field[1]) 7421 for (i = 2; i < nfields; i++) { 7422 key = field[i] 7423 keylen = length(key) 7424 if (S_is_set[key]) { 7425 value = S[key] 7426 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 7427 len += length(value) + length(field[++i]) 7428 substed = 1 7429 } else 7430 len += 1 + keylen 7431 } 7432 7433 print line 7434} 7435 7436_ACAWK 7437_ACEOF 7438cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7439if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 7440 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 7441else 7442 cat 7443fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 7444 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 7445_ACEOF 7446 7447# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 7448# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 7449# trailing colons and then remove the whole line if VPATH becomes empty 7450# (actually we leave an empty line to preserve line numbers). 7451if test "x$srcdir" = x.; then 7452 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 7453h 7454s/// 7455s/^/:/ 7456s/[ ]*$/:/ 7457s/:\$(srcdir):/:/g 7458s/:\${srcdir}:/:/g 7459s/:@srcdir@:/:/g 7460s/^:*// 7461s/:*$// 7462x 7463s/\(=[ ]*\).*/\1/ 7464G 7465s/\n// 7466s/^[^=]*=[ ]*$// 7467}' 7468fi 7469 7470cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7471fi # test -n "$CONFIG_FILES" 7472 7473# Set up the scripts for CONFIG_HEADERS section. 7474# No need to generate them if there are no CONFIG_HEADERS. 7475# This happens for instance with `./config.status Makefile'. 7476if test -n "$CONFIG_HEADERS"; then 7477cat >"$ac_tmp/defines.awk" <<\_ACAWK || 7478BEGIN { 7479_ACEOF 7480 7481# Transform confdefs.h into an awk script `defines.awk', embedded as 7482# here-document in config.status, that substitutes the proper values into 7483# config.h.in to produce config.h. 7484 7485# Create a delimiter string that does not exist in confdefs.h, to ease 7486# handling of long lines. 7487ac_delim='%!_!# ' 7488for ac_last_try in false false :; do 7489 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 7490 if test -z "$ac_tt"; then 7491 break 7492 elif $ac_last_try; then 7493 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 7494 else 7495 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 7496 fi 7497done 7498 7499# For the awk script, D is an array of macro values keyed by name, 7500# likewise P contains macro parameters if any. Preserve backslash 7501# newline sequences. 7502 7503ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 7504sed -n ' 7505s/.\{148\}/&'"$ac_delim"'/g 7506t rset 7507:rset 7508s/^[ ]*#[ ]*define[ ][ ]*/ / 7509t def 7510d 7511:def 7512s/\\$// 7513t bsnl 7514s/["\\]/\\&/g 7515s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7516D["\1"]=" \3"/p 7517s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 7518d 7519:bsnl 7520s/["\\]/\\&/g 7521s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 7522D["\1"]=" \3\\\\\\n"\\/p 7523t cont 7524s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 7525t cont 7526d 7527:cont 7528n 7529s/.\{148\}/&'"$ac_delim"'/g 7530t clear 7531:clear 7532s/\\$// 7533t bsnlc 7534s/["\\]/\\&/g; s/^/"/; s/$/"/p 7535d 7536:bsnlc 7537s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 7538b cont 7539' <confdefs.h | sed ' 7540s/'"$ac_delim"'/"\\\ 7541"/g' >>$CONFIG_STATUS || ac_write_fail=1 7542 7543cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7544 for (key in D) D_is_set[key] = 1 7545 FS = "" 7546} 7547/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 7548 line = \$ 0 7549 split(line, arg, " ") 7550 if (arg[1] == "#") { 7551 defundef = arg[2] 7552 mac1 = arg[3] 7553 } else { 7554 defundef = substr(arg[1], 2) 7555 mac1 = arg[2] 7556 } 7557 split(mac1, mac2, "(") #) 7558 macro = mac2[1] 7559 prefix = substr(line, 1, index(line, defundef) - 1) 7560 if (D_is_set[macro]) { 7561 # Preserve the white space surrounding the "#". 7562 print prefix "define", macro P[macro] D[macro] 7563 next 7564 } else { 7565 # Replace #undef with comments. This is necessary, for example, 7566 # in the case of _POSIX_SOURCE, which is predefined and required 7567 # on some systems where configure will not decide to define it. 7568 if (defundef == "undef") { 7569 print "/*", prefix defundef, macro, "*/" 7570 next 7571 } 7572 } 7573} 7574{ print } 7575_ACAWK 7576_ACEOF 7577cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7578 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 7579fi # test -n "$CONFIG_HEADERS" 7580 7581 7582eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 7583shift 7584for ac_tag 7585do 7586 case $ac_tag in 7587 :[FHLC]) ac_mode=$ac_tag; continue;; 7588 esac 7589 case $ac_mode$ac_tag in 7590 :[FHL]*:*);; 7591 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 7592 :[FH]-) ac_tag=-:-;; 7593 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 7594 esac 7595 ac_save_IFS=$IFS 7596 IFS=: 7597 set x $ac_tag 7598 IFS=$ac_save_IFS 7599 shift 7600 ac_file=$1 7601 shift 7602 7603 case $ac_mode in 7604 :L) ac_source=$1;; 7605 :[FH]) 7606 ac_file_inputs= 7607 for ac_f 7608 do 7609 case $ac_f in 7610 -) ac_f="$ac_tmp/stdin";; 7611 *) # Look for the file first in the build tree, then in the source tree 7612 # (if the path is not absolute). The absolute path cannot be DOS-style, 7613 # because $ac_f cannot contain `:'. 7614 test -f "$ac_f" || 7615 case $ac_f in 7616 [\\/$]*) false;; 7617 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 7618 esac || 7619 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 7620 esac 7621 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 7622 as_fn_append ac_file_inputs " '$ac_f'" 7623 done 7624 7625 # Let's still pretend it is `configure' which instantiates (i.e., don't 7626 # use $as_me), people would be surprised to read: 7627 # /* config.h. Generated by config.status. */ 7628 configure_input='Generated from '` 7629 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 7630 `' by configure.' 7631 if test x"$ac_file" != x-; then 7632 configure_input="$ac_file. $configure_input" 7633 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 7634$as_echo "$as_me: creating $ac_file" >&6;} 7635 fi 7636 # Neutralize special characters interpreted by sed in replacement strings. 7637 case $configure_input in #( 7638 *\&* | *\|* | *\\* ) 7639 ac_sed_conf_input=`$as_echo "$configure_input" | 7640 sed 's/[\\\\&|]/\\\\&/g'`;; #( 7641 *) ac_sed_conf_input=$configure_input;; 7642 esac 7643 7644 case $ac_tag in 7645 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 7646 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 7647 esac 7648 ;; 7649 esac 7650 7651 ac_dir=`$as_dirname -- "$ac_file" || 7652$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7653 X"$ac_file" : 'X\(//\)[^/]' \| \ 7654 X"$ac_file" : 'X\(//\)$' \| \ 7655 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 7656$as_echo X"$ac_file" | 7657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7658 s//\1/ 7659 q 7660 } 7661 /^X\(\/\/\)[^/].*/{ 7662 s//\1/ 7663 q 7664 } 7665 /^X\(\/\/\)$/{ 7666 s//\1/ 7667 q 7668 } 7669 /^X\(\/\).*/{ 7670 s//\1/ 7671 q 7672 } 7673 s/.*/./; q'` 7674 as_dir="$ac_dir"; as_fn_mkdir_p 7675 ac_builddir=. 7676 7677case "$ac_dir" in 7678.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 7679*) 7680 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 7681 # A ".." for each directory in $ac_dir_suffix. 7682 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 7683 case $ac_top_builddir_sub in 7684 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 7685 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 7686 esac ;; 7687esac 7688ac_abs_top_builddir=$ac_pwd 7689ac_abs_builddir=$ac_pwd$ac_dir_suffix 7690# for backward compatibility: 7691ac_top_builddir=$ac_top_build_prefix 7692 7693case $srcdir in 7694 .) # We are building in place. 7695 ac_srcdir=. 7696 ac_top_srcdir=$ac_top_builddir_sub 7697 ac_abs_top_srcdir=$ac_pwd ;; 7698 [\\/]* | ?:[\\/]* ) # Absolute name. 7699 ac_srcdir=$srcdir$ac_dir_suffix; 7700 ac_top_srcdir=$srcdir 7701 ac_abs_top_srcdir=$srcdir ;; 7702 *) # Relative name. 7703 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 7704 ac_top_srcdir=$ac_top_build_prefix$srcdir 7705 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 7706esac 7707ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 7708 7709 7710 case $ac_mode in 7711 :F) 7712 # 7713 # CONFIG_FILE 7714 # 7715 7716 case $INSTALL in 7717 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7718 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 7719 esac 7720 ac_MKDIR_P=$MKDIR_P 7721 case $MKDIR_P in 7722 [\\/$]* | ?:[\\/]* ) ;; 7723 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 7724 esac 7725_ACEOF 7726 7727cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7728# If the template does not know about datarootdir, expand it. 7729# FIXME: This hack should be removed a few years after 2.60. 7730ac_datarootdir_hack=; ac_datarootdir_seen= 7731ac_sed_dataroot=' 7732/datarootdir/ { 7733 p 7734 q 7735} 7736/@datadir@/p 7737/@docdir@/p 7738/@infodir@/p 7739/@localedir@/p 7740/@mandir@/p' 7741case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 7742*datarootdir*) ac_datarootdir_seen=yes;; 7743*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 7744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 7745$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 7746_ACEOF 7747cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7748 ac_datarootdir_hack=' 7749 s&@datadir@&$datadir&g 7750 s&@docdir@&$docdir&g 7751 s&@infodir@&$infodir&g 7752 s&@localedir@&$localedir&g 7753 s&@mandir@&$mandir&g 7754 s&\\\${datarootdir}&$datarootdir&g' ;; 7755esac 7756_ACEOF 7757 7758# Neutralize VPATH when `$srcdir' = `.'. 7759# Shell code in configure.ac might set extrasub. 7760# FIXME: do we really want to maintain this feature? 7761cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7762ac_sed_extra="$ac_vpsub 7763$extrasub 7764_ACEOF 7765cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7766:t 7767/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7768s|@configure_input@|$ac_sed_conf_input|;t t 7769s&@top_builddir@&$ac_top_builddir_sub&;t t 7770s&@top_build_prefix@&$ac_top_build_prefix&;t t 7771s&@srcdir@&$ac_srcdir&;t t 7772s&@abs_srcdir@&$ac_abs_srcdir&;t t 7773s&@top_srcdir@&$ac_top_srcdir&;t t 7774s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 7775s&@builddir@&$ac_builddir&;t t 7776s&@abs_builddir@&$ac_abs_builddir&;t t 7777s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 7778s&@INSTALL@&$ac_INSTALL&;t t 7779s&@MKDIR_P@&$ac_MKDIR_P&;t t 7780$ac_datarootdir_hack 7781" 7782eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 7783 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7784 7785test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 7786 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 7787 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 7788 "$ac_tmp/out"`; test -z "$ac_out"; } && 7789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7790which seems to be undefined. Please make sure it is defined" >&5 7791$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 7792which seems to be undefined. Please make sure it is defined" >&2;} 7793 7794 rm -f "$ac_tmp/stdin" 7795 case $ac_file in 7796 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 7797 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 7798 esac \ 7799 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7800 ;; 7801 :H) 7802 # 7803 # CONFIG_HEADER 7804 # 7805 if test x"$ac_file" != x-; then 7806 { 7807 $as_echo "/* $configure_input */" \ 7808 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 7809 } >"$ac_tmp/config.h" \ 7810 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7811 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 7812 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 7813$as_echo "$as_me: $ac_file is unchanged" >&6;} 7814 else 7815 rm -f "$ac_file" 7816 mv "$ac_tmp/config.h" "$ac_file" \ 7817 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 7818 fi 7819 else 7820 $as_echo "/* $configure_input */" \ 7821 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 7822 || as_fn_error $? "could not create -" "$LINENO" 5 7823 fi 7824# Compute "$ac_file"'s index in $config_headers. 7825_am_arg="$ac_file" 7826_am_stamp_count=1 7827for _am_header in $config_headers :; do 7828 case $_am_header in 7829 $_am_arg | $_am_arg:* ) 7830 break ;; 7831 * ) 7832 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 7833 esac 7834done 7835echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 7836$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7837 X"$_am_arg" : 'X\(//\)[^/]' \| \ 7838 X"$_am_arg" : 'X\(//\)$' \| \ 7839 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 7840$as_echo X"$_am_arg" | 7841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7842 s//\1/ 7843 q 7844 } 7845 /^X\(\/\/\)[^/].*/{ 7846 s//\1/ 7847 q 7848 } 7849 /^X\(\/\/\)$/{ 7850 s//\1/ 7851 q 7852 } 7853 /^X\(\/\).*/{ 7854 s//\1/ 7855 q 7856 } 7857 s/.*/./; q'`/stamp-h$_am_stamp_count 7858 ;; 7859 7860 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 7861$as_echo "$as_me: executing $ac_file commands" >&6;} 7862 ;; 7863 esac 7864 7865 7866 case $ac_file$ac_mode in 7867 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 7868 # Autoconf 2.62 quotes --file arguments for eval, but not when files 7869 # are listed without --file. Let's play safe and only enable the eval 7870 # if we detect the quoting. 7871 case $CONFIG_FILES in 7872 *\'*) eval set x "$CONFIG_FILES" ;; 7873 *) set x $CONFIG_FILES ;; 7874 esac 7875 shift 7876 for mf 7877 do 7878 # Strip MF so we end up with the name of the file. 7879 mf=`echo "$mf" | sed -e 's/:.*$//'` 7880 # Check whether this is an Automake generated Makefile or not. 7881 # We used to match only the files named `Makefile.in', but 7882 # some people rename them; so instead we look at the file content. 7883 # Grep'ing the first line is not enough: some people post-process 7884 # each Makefile.in and add a new line on top of each file to say so. 7885 # Grep'ing the whole file is not good either: AIX grep has a line 7886 # limit of 2048, but all sed's we know have understand at least 4000. 7887 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 7888 dirpart=`$as_dirname -- "$mf" || 7889$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7890 X"$mf" : 'X\(//\)[^/]' \| \ 7891 X"$mf" : 'X\(//\)$' \| \ 7892 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 7893$as_echo X"$mf" | 7894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7895 s//\1/ 7896 q 7897 } 7898 /^X\(\/\/\)[^/].*/{ 7899 s//\1/ 7900 q 7901 } 7902 /^X\(\/\/\)$/{ 7903 s//\1/ 7904 q 7905 } 7906 /^X\(\/\).*/{ 7907 s//\1/ 7908 q 7909 } 7910 s/.*/./; q'` 7911 else 7912 continue 7913 fi 7914 # Extract the definition of DEPDIR, am__include, and am__quote 7915 # from the Makefile without running `make'. 7916 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 7917 test -z "$DEPDIR" && continue 7918 am__include=`sed -n 's/^am__include = //p' < "$mf"` 7919 test -z "am__include" && continue 7920 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 7921 # When using ansi2knr, U may be empty or an underscore; expand it 7922 U=`sed -n 's/^U = //p' < "$mf"` 7923 # Find all dependency output files, they are included files with 7924 # $(DEPDIR) in their names. We invoke sed twice because it is the 7925 # simplest approach to changing $(DEPDIR) to its actual value in the 7926 # expansion. 7927 for file in `sed -n " 7928 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 7929 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 7930 # Make sure the directory exists. 7931 test -f "$dirpart/$file" && continue 7932 fdir=`$as_dirname -- "$file" || 7933$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7934 X"$file" : 'X\(//\)[^/]' \| \ 7935 X"$file" : 'X\(//\)$' \| \ 7936 X"$file" : 'X\(/\)' \| . 2>/dev/null || 7937$as_echo X"$file" | 7938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7939 s//\1/ 7940 q 7941 } 7942 /^X\(\/\/\)[^/].*/{ 7943 s//\1/ 7944 q 7945 } 7946 /^X\(\/\/\)$/{ 7947 s//\1/ 7948 q 7949 } 7950 /^X\(\/\).*/{ 7951 s//\1/ 7952 q 7953 } 7954 s/.*/./; q'` 7955 as_dir=$dirpart/$fdir; as_fn_mkdir_p 7956 # echo "creating $dirpart/$file" 7957 echo '# dummy' > "$dirpart/$file" 7958 done 7959 done 7960} 7961 ;; 7962 7963 esac 7964done # for ac_tag 7965 7966 7967as_fn_exit 0 7968_ACEOF 7969ac_clean_files=$ac_clean_files_save 7970 7971test $ac_write_fail = 0 || 7972 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 7973 7974 7975# configure is writing to config.log, and then calls config.status. 7976# config.status does its own redirection, appending to config.log. 7977# Unfortunately, on DOS this fails, as config.log is still kept open 7978# by configure, so config.status won't be able to write to it; its 7979# output is simply discarded. So we exec the FD to /dev/null, 7980# effectively closing config.log, so it can be properly (re)opened and 7981# appended to by config.status. When coming back to configure, we 7982# need to make the FD available again. 7983if test "$no_create" != yes; then 7984 ac_cs_success=: 7985 ac_config_status_args= 7986 test "$silent" = yes && 7987 ac_config_status_args="$ac_config_status_args --quiet" 7988 exec 5>/dev/null 7989 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7990 exec 5>>config.log 7991 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7992 # would make configure fail if this is the last instruction. 7993 $ac_cs_success || as_fn_exit 1 7994fi 7995if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 7996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 7997$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 7998fi 7999 8000