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