1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199test \$(( 1 + 1 )) = 2 || exit 1" 200 if (eval "$as_required") 2>/dev/null; then : 201 as_have_required=yes 202else 203 as_have_required=no 204fi 205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 206 207else 208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 209as_found=false 210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 211do 212 IFS=$as_save_IFS 213 test -z "$as_dir" && as_dir=. 214 as_found=: 215 case $as_dir in #( 216 /*) 217 for as_base in sh bash ksh sh5; do 218 # Try only shells that exist, to save several forks. 219 as_shell=$as_dir/$as_base 220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 222 CONFIG_SHELL=$as_shell as_have_required=yes 223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 break 2 225fi 226fi 227 done;; 228 esac 229 as_found=false 230done 231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 233 CONFIG_SHELL=$SHELL as_have_required=yes 234fi; } 235IFS=$as_save_IFS 236 237 238 if test "x$CONFIG_SHELL" != x; then : 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241# neutralization value for shells without unset; and this also 242# works around shells that cannot unset nonexistent variables. 243# Preserve -v and -x to the replacement shell. 244BASH_ENV=/dev/null 245ENV=/dev/null 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252esac 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254# Admittedly, this is quite paranoid, since all the known shells bail 255# out after a failed `exec'. 256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257exit 255 258fi 259 260 if test x$as_have_required = xno; then : 261 $as_echo "$0: This script requires a shell more modern than all" 262 $as_echo "$0: the shells that I found on your system." 263 if test x${ZSH_VERSION+set} = xset ; then 264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 266 else 267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 268$0: including any error possibly output before this 269$0: message. Then install a modern shell, or manually run 270$0: the script under such a shell if you do have one." 271 fi 272 exit 1 273fi 274fi 275fi 276SHELL=${CONFIG_SHELL-/bin/sh} 277export SHELL 278# Unset more variables known to interfere with behavior of common tools. 279CLICOLOR_FORCE= GREP_OPTIONS= 280unset CLICOLOR_FORCE GREP_OPTIONS 281 282## --------------------- ## 283## M4sh Shell Functions. ## 284## --------------------- ## 285# as_fn_unset VAR 286# --------------- 287# Portably unset VAR. 288as_fn_unset () 289{ 290 { eval $1=; unset $1;} 291} 292as_unset=as_fn_unset 293 294# as_fn_set_status STATUS 295# ----------------------- 296# Set $? to STATUS, without forking. 297as_fn_set_status () 298{ 299 return $1 300} # as_fn_set_status 301 302# as_fn_exit STATUS 303# ----------------- 304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 305as_fn_exit () 306{ 307 set +e 308 as_fn_set_status $1 309 exit $1 310} # as_fn_exit 311 312# as_fn_mkdir_p 313# ------------- 314# Create "$as_dir" as a directory, including parents if necessary. 315as_fn_mkdir_p () 316{ 317 318 case $as_dir in #( 319 -*) as_dir=./$as_dir;; 320 esac 321 test -d "$as_dir" || eval $as_mkdir_p || { 322 as_dirs= 323 while :; do 324 case $as_dir in #( 325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 326 *) as_qdir=$as_dir;; 327 esac 328 as_dirs="'$as_qdir' $as_dirs" 329 as_dir=`$as_dirname -- "$as_dir" || 330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 331 X"$as_dir" : 'X\(//\)[^/]' \| \ 332 X"$as_dir" : 'X\(//\)$' \| \ 333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 334$as_echo X"$as_dir" | 335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 336 s//\1/ 337 q 338 } 339 /^X\(\/\/\)[^/].*/{ 340 s//\1/ 341 q 342 } 343 /^X\(\/\/\)$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\).*/{ 348 s//\1/ 349 q 350 } 351 s/.*/./; q'` 352 test -d "$as_dir" && break 353 done 354 test -z "$as_dirs" || eval "mkdir $as_dirs" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 356 357 358} # as_fn_mkdir_p 359 360# as_fn_executable_p FILE 361# ----------------------- 362# Test if FILE is an executable regular file. 363as_fn_executable_p () 364{ 365 test -f "$1" && test -x "$1" 366} # as_fn_executable_p 367# as_fn_append VAR VALUE 368# ---------------------- 369# Append the text in VALUE to the end of the definition contained in VAR. Take 370# advantage of any shell optimizations that allow amortized linear growth over 371# repeated appends, instead of the typical quadratic growth present in naive 372# implementations. 373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 374 eval 'as_fn_append () 375 { 376 eval $1+=\$2 377 }' 378else 379 as_fn_append () 380 { 381 eval $1=\$$1\$2 382 } 383fi # as_fn_append 384 385# as_fn_arith ARG... 386# ------------------ 387# Perform arithmetic evaluation on the ARGs, and store the result in the 388# global $as_val. Take advantage of shells that can avoid forks. The arguments 389# must be portable across $(()) and expr. 390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 391 eval 'as_fn_arith () 392 { 393 as_val=$(( $* )) 394 }' 395else 396 as_fn_arith () 397 { 398 as_val=`expr "$@" || test $? -eq 1` 399 } 400fi # as_fn_arith 401 402 403# as_fn_error STATUS ERROR [LINENO LOG_FD] 404# ---------------------------------------- 405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 407# script with STATUS, using 1 if that was 0. 408as_fn_error () 409{ 410 as_status=$1; test $as_status -eq 0 && as_status=1 411 if test "$4"; then 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 414 fi 415 $as_echo "$as_me: error: $2" >&2 416 as_fn_exit $as_status 417} # as_fn_error 418 419if expr a : '\(a\)' >/dev/null 2>&1 && 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then 421 as_expr=expr 422else 423 as_expr=false 424fi 425 426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 427 as_basename=basename 428else 429 as_basename=false 430fi 431 432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 433 as_dirname=dirname 434else 435 as_dirname=false 436fi 437 438as_me=`$as_basename -- "$0" || 439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 440 X"$0" : 'X\(//\)$' \| \ 441 X"$0" : 'X\(/\)' \| . 2>/dev/null || 442$as_echo X/"$0" | 443 sed '/^.*\/\([^/][^/]*\)\/*$/{ 444 s//\1/ 445 q 446 } 447 /^X\/\(\/\/\)$/{ 448 s//\1/ 449 q 450 } 451 /^X\/\(\/\).*/{ 452 s//\1/ 453 q 454 } 455 s/.*/./; q'` 456 457# Avoid depending upon Character Ranges. 458as_cr_letters='abcdefghijklmnopqrstuvwxyz' 459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 460as_cr_Letters=$as_cr_letters$as_cr_LETTERS 461as_cr_digits='0123456789' 462as_cr_alnum=$as_cr_Letters$as_cr_digits 463 464 465 as_lineno_1=$LINENO as_lineno_1a=$LINENO 466 as_lineno_2=$LINENO as_lineno_2a=$LINENO 467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 470 sed -n ' 471 p 472 /[$]LINENO/= 473 ' <$as_myself | 474 sed ' 475 s/[$]LINENO.*/&-/ 476 t lineno 477 b 478 :lineno 479 N 480 :loop 481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 482 t loop 483 s/-\n.*// 484 ' >$as_me.lineno && 485 chmod +x "$as_me.lineno" || 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 487 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 # already done that, so ensure we don't try to do so again and fall 490 # in an infinite loop. This has already happened in practice. 491 _as_can_reexec=no; export _as_can_reexec 492 # Don't try to exec as it changes $[0], causing all sort of problems 493 # (the dirname of $[0] is not the place where we might find the 494 # original and so on. Autoconf is especially sensitive to this). 495 . "./$as_me.lineno" 496 # Exit status is that of the last command. 497 exit 498} 499 500ECHO_C= ECHO_N= ECHO_T= 501case `echo -n x` in #((((( 502-n*) 503 case `echo 'xy\c'` in 504 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 505 xy) ECHO_C='\c';; 506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 507 ECHO_T=' ';; 508 esac;; 509*) 510 ECHO_N='-n';; 511esac 512 513rm -f conf$$ conf$$.exe conf$$.file 514if test -d conf$$.dir; then 515 rm -f conf$$.dir/conf$$.file 516else 517 rm -f conf$$.dir 518 mkdir conf$$.dir 2>/dev/null 519fi 520if (echo >conf$$.file) 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then 522 as_ln_s='ln -s' 523 # ... but there are two gotchas: 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 526 # In both cases, we have to default to `cp -pR'. 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 528 as_ln_s='cp -pR' 529 elif ln conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s=ln 531 else 532 as_ln_s='cp -pR' 533 fi 534else 535 as_ln_s='cp -pR' 536fi 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 538rmdir conf$$.dir 2>/dev/null 539 540if mkdir -p . 2>/dev/null; then 541 as_mkdir_p='mkdir -p "$as_dir"' 542else 543 test -d ./-p && rmdir ./-p 544 as_mkdir_p=false 545fi 546 547as_test_x='test -x' 548as_executable_p=as_fn_executable_p 549 550# Sed expression to map a string onto a valid CPP name. 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 552 553# Sed expression to map a string onto a valid variable name. 554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 555 556 557test -n "$DJDIR" || exec 7<&0 </dev/null 558exec 6>&1 559 560# Name of the host. 561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 562# so uname gets run too. 563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 564 565# 566# Initializations. 567# 568ac_default_prefix=/usr/local 569ac_clean_files= 570ac_config_libobj_dir=. 571LIBOBJS= 572cross_compiling=no 573subdirs= 574MFLAGS= 575MAKEFLAGS= 576 577# Identity of this package. 578PACKAGE_NAME= 579PACKAGE_TARNAME= 580PACKAGE_VERSION= 581PACKAGE_STRING= 582PACKAGE_BUGREPORT= 583PACKAGE_URL= 584 585ac_unique_file="configure.in" 586# Factoring default headers for most tests. 587ac_includes_default="\ 588#include <stdio.h> 589#ifdef HAVE_SYS_TYPES_H 590# include <sys/types.h> 591#endif 592#ifdef HAVE_SYS_STAT_H 593# include <sys/stat.h> 594#endif 595#ifdef STDC_HEADERS 596# include <stdlib.h> 597# include <stddef.h> 598#else 599# ifdef HAVE_STDLIB_H 600# include <stdlib.h> 601# endif 602#endif 603#ifdef HAVE_STRING_H 604# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 605# include <memory.h> 606# endif 607# include <string.h> 608#endif 609#ifdef HAVE_STRINGS_H 610# include <strings.h> 611#endif 612#ifdef HAVE_INTTYPES_H 613# include <inttypes.h> 614#endif 615#ifdef HAVE_STDINT_H 616# include <stdint.h> 617#endif 618#ifdef HAVE_UNISTD_H 619# include <unistd.h> 620#endif" 621 622ac_subst_vars='LTLIBOBJS 623LIBOBJS 624INCLUDES 625EGREP 626GREP 627CPP 628LDCMD 629JAVA_HOME 630STRIP 631RANLIB 632OBJEXT 633EXEEXT 634ac_ct_CC 635CPPFLAGS 636LDFLAGS 637CFLAGS 638CC 639host_os 640host_vendor 641host_cpu 642host 643build_os 644build_vendor 645build_cpu 646build 647target_alias 648host_alias 649build_alias 650LIBS 651ECHO_T 652ECHO_N 653ECHO_C 654DEFS 655mandir 656localedir 657libdir 658psdir 659pdfdir 660dvidir 661htmldir 662infodir 663docdir 664oldincludedir 665includedir 666runstatedir 667localstatedir 668sharedstatedir 669sysconfdir 670datadir 671datarootdir 672libexecdir 673sbindir 674bindir 675program_transform_name 676prefix 677exec_prefix 678PACKAGE_URL 679PACKAGE_BUGREPORT 680PACKAGE_STRING 681PACKAGE_VERSION 682PACKAGE_TARNAME 683PACKAGE_NAME 684PATH_SEPARATOR 685SHELL' 686ac_subst_files='' 687ac_user_opts=' 688enable_option_checking 689with_java 690with_os_type 691' 692 ac_precious_vars='build_alias 693host_alias 694target_alias 695CC 696CFLAGS 697LDFLAGS 698LIBS 699CPPFLAGS 700CPP' 701 702 703# Initialize some variables set by options. 704ac_init_help= 705ac_init_version=false 706ac_unrecognized_opts= 707ac_unrecognized_sep= 708# The variables have the same names as the options, with 709# dashes changed to underlines. 710cache_file=/dev/null 711exec_prefix=NONE 712no_create= 713no_recursion= 714prefix=NONE 715program_prefix=NONE 716program_suffix=NONE 717program_transform_name=s,x,x, 718silent= 719site= 720srcdir= 721verbose= 722x_includes=NONE 723x_libraries=NONE 724 725# Installation directory options. 726# These are left unexpanded so users can "make install exec_prefix=/foo" 727# and all the variables that are supposed to be based on exec_prefix 728# by default will actually change. 729# Use braces instead of parens because sh, perl, etc. also accept them. 730# (The list follows the same order as the GNU Coding Standards.) 731bindir='${exec_prefix}/bin' 732sbindir='${exec_prefix}/sbin' 733libexecdir='${exec_prefix}/libexec' 734datarootdir='${prefix}/share' 735datadir='${datarootdir}' 736sysconfdir='${prefix}/etc' 737sharedstatedir='${prefix}/com' 738localstatedir='${prefix}/var' 739runstatedir='${localstatedir}/run' 740includedir='${prefix}/include' 741oldincludedir='/usr/include' 742docdir='${datarootdir}/doc/${PACKAGE}' 743infodir='${datarootdir}/info' 744htmldir='${docdir}' 745dvidir='${docdir}' 746pdfdir='${docdir}' 747psdir='${docdir}' 748libdir='${exec_prefix}/lib' 749localedir='${datarootdir}/locale' 750mandir='${datarootdir}/man' 751 752ac_prev= 753ac_dashdash= 754for ac_option 755do 756 # If the previous option needs an argument, assign it. 757 if test -n "$ac_prev"; then 758 eval $ac_prev=\$ac_option 759 ac_prev= 760 continue 761 fi 762 763 case $ac_option in 764 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 765 *=) ac_optarg= ;; 766 *) ac_optarg=yes ;; 767 esac 768 769 # Accept the important Cygnus configure options, so we can diagnose typos. 770 771 case $ac_dashdash$ac_option in 772 --) 773 ac_dashdash=yes ;; 774 775 -bindir | --bindir | --bindi | --bind | --bin | --bi) 776 ac_prev=bindir ;; 777 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 778 bindir=$ac_optarg ;; 779 780 -build | --build | --buil | --bui | --bu) 781 ac_prev=build_alias ;; 782 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 783 build_alias=$ac_optarg ;; 784 785 -cache-file | --cache-file | --cache-fil | --cache-fi \ 786 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 787 ac_prev=cache_file ;; 788 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 789 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 790 cache_file=$ac_optarg ;; 791 792 --config-cache | -C) 793 cache_file=config.cache ;; 794 795 -datadir | --datadir | --datadi | --datad) 796 ac_prev=datadir ;; 797 -datadir=* | --datadir=* | --datadi=* | --datad=*) 798 datadir=$ac_optarg ;; 799 800 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 801 | --dataroo | --dataro | --datar) 802 ac_prev=datarootdir ;; 803 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 804 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 805 datarootdir=$ac_optarg ;; 806 807 -disable-* | --disable-*) 808 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 809 # Reject names that are not valid shell variable names. 810 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 811 as_fn_error $? "invalid feature name: $ac_useropt" 812 ac_useropt_orig=$ac_useropt 813 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 814 case $ac_user_opts in 815 *" 816"enable_$ac_useropt" 817"*) ;; 818 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 819 ac_unrecognized_sep=', ';; 820 esac 821 eval enable_$ac_useropt=no ;; 822 823 -docdir | --docdir | --docdi | --doc | --do) 824 ac_prev=docdir ;; 825 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 826 docdir=$ac_optarg ;; 827 828 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 829 ac_prev=dvidir ;; 830 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 831 dvidir=$ac_optarg ;; 832 833 -enable-* | --enable-*) 834 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 835 # Reject names that are not valid shell variable names. 836 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 837 as_fn_error $? "invalid feature name: $ac_useropt" 838 ac_useropt_orig=$ac_useropt 839 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 840 case $ac_user_opts in 841 *" 842"enable_$ac_useropt" 843"*) ;; 844 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 845 ac_unrecognized_sep=', ';; 846 esac 847 eval enable_$ac_useropt=\$ac_optarg ;; 848 849 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 850 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 851 | --exec | --exe | --ex) 852 ac_prev=exec_prefix ;; 853 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 854 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 855 | --exec=* | --exe=* | --ex=*) 856 exec_prefix=$ac_optarg ;; 857 858 -gas | --gas | --ga | --g) 859 # Obsolete; use --with-gas. 860 with_gas=yes ;; 861 862 -help | --help | --hel | --he | -h) 863 ac_init_help=long ;; 864 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 865 ac_init_help=recursive ;; 866 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 867 ac_init_help=short ;; 868 869 -host | --host | --hos | --ho) 870 ac_prev=host_alias ;; 871 -host=* | --host=* | --hos=* | --ho=*) 872 host_alias=$ac_optarg ;; 873 874 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 875 ac_prev=htmldir ;; 876 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 877 | --ht=*) 878 htmldir=$ac_optarg ;; 879 880 -includedir | --includedir | --includedi | --included | --include \ 881 | --includ | --inclu | --incl | --inc) 882 ac_prev=includedir ;; 883 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 884 | --includ=* | --inclu=* | --incl=* | --inc=*) 885 includedir=$ac_optarg ;; 886 887 -infodir | --infodir | --infodi | --infod | --info | --inf) 888 ac_prev=infodir ;; 889 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 890 infodir=$ac_optarg ;; 891 892 -libdir | --libdir | --libdi | --libd) 893 ac_prev=libdir ;; 894 -libdir=* | --libdir=* | --libdi=* | --libd=*) 895 libdir=$ac_optarg ;; 896 897 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 898 | --libexe | --libex | --libe) 899 ac_prev=libexecdir ;; 900 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 901 | --libexe=* | --libex=* | --libe=*) 902 libexecdir=$ac_optarg ;; 903 904 -localedir | --localedir | --localedi | --localed | --locale) 905 ac_prev=localedir ;; 906 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 907 localedir=$ac_optarg ;; 908 909 -localstatedir | --localstatedir | --localstatedi | --localstated \ 910 | --localstate | --localstat | --localsta | --localst | --locals) 911 ac_prev=localstatedir ;; 912 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 913 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 914 localstatedir=$ac_optarg ;; 915 916 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 917 ac_prev=mandir ;; 918 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 919 mandir=$ac_optarg ;; 920 921 -nfp | --nfp | --nf) 922 # Obsolete; use --without-fp. 923 with_fp=no ;; 924 925 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 926 | --no-cr | --no-c | -n) 927 no_create=yes ;; 928 929 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 930 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 931 no_recursion=yes ;; 932 933 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 934 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 935 | --oldin | --oldi | --old | --ol | --o) 936 ac_prev=oldincludedir ;; 937 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 938 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 939 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 940 oldincludedir=$ac_optarg ;; 941 942 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 943 ac_prev=prefix ;; 944 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 945 prefix=$ac_optarg ;; 946 947 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 948 | --program-pre | --program-pr | --program-p) 949 ac_prev=program_prefix ;; 950 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 951 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 952 program_prefix=$ac_optarg ;; 953 954 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 955 | --program-suf | --program-su | --program-s) 956 ac_prev=program_suffix ;; 957 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 958 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 959 program_suffix=$ac_optarg ;; 960 961 -program-transform-name | --program-transform-name \ 962 | --program-transform-nam | --program-transform-na \ 963 | --program-transform-n | --program-transform- \ 964 | --program-transform | --program-transfor \ 965 | --program-transfo | --program-transf \ 966 | --program-trans | --program-tran \ 967 | --progr-tra | --program-tr | --program-t) 968 ac_prev=program_transform_name ;; 969 -program-transform-name=* | --program-transform-name=* \ 970 | --program-transform-nam=* | --program-transform-na=* \ 971 | --program-transform-n=* | --program-transform-=* \ 972 | --program-transform=* | --program-transfor=* \ 973 | --program-transfo=* | --program-transf=* \ 974 | --program-trans=* | --program-tran=* \ 975 | --progr-tra=* | --program-tr=* | --program-t=*) 976 program_transform_name=$ac_optarg ;; 977 978 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 979 ac_prev=pdfdir ;; 980 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 981 pdfdir=$ac_optarg ;; 982 983 -psdir | --psdir | --psdi | --psd | --ps) 984 ac_prev=psdir ;; 985 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 986 psdir=$ac_optarg ;; 987 988 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 989 | -silent | --silent | --silen | --sile | --sil) 990 silent=yes ;; 991 992 -runstatedir | --runstatedir | --runstatedi | --runstated \ 993 | --runstate | --runstat | --runsta | --runst | --runs \ 994 | --run | --ru | --r) 995 ac_prev=runstatedir ;; 996 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 997 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 998 | --run=* | --ru=* | --r=*) 999 runstatedir=$ac_optarg ;; 1000 1001 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1002 ac_prev=sbindir ;; 1003 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1004 | --sbi=* | --sb=*) 1005 sbindir=$ac_optarg ;; 1006 1007 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1008 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1009 | --sharedst | --shareds | --shared | --share | --shar \ 1010 | --sha | --sh) 1011 ac_prev=sharedstatedir ;; 1012 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1013 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1014 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1015 | --sha=* | --sh=*) 1016 sharedstatedir=$ac_optarg ;; 1017 1018 -site | --site | --sit) 1019 ac_prev=site ;; 1020 -site=* | --site=* | --sit=*) 1021 site=$ac_optarg ;; 1022 1023 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1024 ac_prev=srcdir ;; 1025 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1026 srcdir=$ac_optarg ;; 1027 1028 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1029 | --syscon | --sysco | --sysc | --sys | --sy) 1030 ac_prev=sysconfdir ;; 1031 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1032 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1033 sysconfdir=$ac_optarg ;; 1034 1035 -target | --target | --targe | --targ | --tar | --ta | --t) 1036 ac_prev=target_alias ;; 1037 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1038 target_alias=$ac_optarg ;; 1039 1040 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1041 verbose=yes ;; 1042 1043 -version | --version | --versio | --versi | --vers | -V) 1044 ac_init_version=: ;; 1045 1046 -with-* | --with-*) 1047 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1048 # Reject names that are not valid shell variable names. 1049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1050 as_fn_error $? "invalid package name: $ac_useropt" 1051 ac_useropt_orig=$ac_useropt 1052 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1053 case $ac_user_opts in 1054 *" 1055"with_$ac_useropt" 1056"*) ;; 1057 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1058 ac_unrecognized_sep=', ';; 1059 esac 1060 eval with_$ac_useropt=\$ac_optarg ;; 1061 1062 -without-* | --without-*) 1063 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1064 # Reject names that are not valid shell variable names. 1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1066 as_fn_error $? "invalid package name: $ac_useropt" 1067 ac_useropt_orig=$ac_useropt 1068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1069 case $ac_user_opts in 1070 *" 1071"with_$ac_useropt" 1072"*) ;; 1073 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1074 ac_unrecognized_sep=', ';; 1075 esac 1076 eval with_$ac_useropt=no ;; 1077 1078 --x) 1079 # Obsolete; use --with-x. 1080 with_x=yes ;; 1081 1082 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1083 | --x-incl | --x-inc | --x-in | --x-i) 1084 ac_prev=x_includes ;; 1085 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1086 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1087 x_includes=$ac_optarg ;; 1088 1089 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1090 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1091 ac_prev=x_libraries ;; 1092 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1093 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1094 x_libraries=$ac_optarg ;; 1095 1096 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1097Try \`$0 --help' for more information" 1098 ;; 1099 1100 *=*) 1101 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1102 # Reject names that are not valid shell variable names. 1103 case $ac_envvar in #( 1104 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1105 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1106 esac 1107 eval $ac_envvar=\$ac_optarg 1108 export $ac_envvar ;; 1109 1110 *) 1111 # FIXME: should be removed in autoconf 3.0. 1112 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1113 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1114 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1115 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1116 ;; 1117 1118 esac 1119done 1120 1121if test -n "$ac_prev"; then 1122 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1123 as_fn_error $? "missing argument to $ac_option" 1124fi 1125 1126if test -n "$ac_unrecognized_opts"; then 1127 case $enable_option_checking in 1128 no) ;; 1129 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1130 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1131 esac 1132fi 1133 1134# Check all directory arguments for consistency. 1135for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1136 datadir sysconfdir sharedstatedir localstatedir includedir \ 1137 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1138 libdir localedir mandir runstatedir 1139do 1140 eval ac_val=\$$ac_var 1141 # Remove trailing slashes. 1142 case $ac_val in 1143 */ ) 1144 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1145 eval $ac_var=\$ac_val;; 1146 esac 1147 # Be sure to have absolute directory names. 1148 case $ac_val in 1149 [\\/$]* | ?:[\\/]* ) continue;; 1150 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1151 esac 1152 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1153done 1154 1155# There might be people who depend on the old broken behavior: `$host' 1156# used to hold the argument of --host etc. 1157# FIXME: To remove some day. 1158build=$build_alias 1159host=$host_alias 1160target=$target_alias 1161 1162# FIXME: To remove some day. 1163if test "x$host_alias" != x; then 1164 if test "x$build_alias" = x; then 1165 cross_compiling=maybe 1166 elif test "x$build_alias" != "x$host_alias"; then 1167 cross_compiling=yes 1168 fi 1169fi 1170 1171ac_tool_prefix= 1172test -n "$host_alias" && ac_tool_prefix=$host_alias- 1173 1174test "$silent" = yes && exec 6>/dev/null 1175 1176 1177ac_pwd=`pwd` && test -n "$ac_pwd" && 1178ac_ls_di=`ls -di .` && 1179ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1180 as_fn_error $? "working directory cannot be determined" 1181test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1182 as_fn_error $? "pwd does not report name of working directory" 1183 1184 1185# Find the source files, if location was not specified. 1186if test -z "$srcdir"; then 1187 ac_srcdir_defaulted=yes 1188 # Try the directory containing this script, then the parent directory. 1189 ac_confdir=`$as_dirname -- "$as_myself" || 1190$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1191 X"$as_myself" : 'X\(//\)[^/]' \| \ 1192 X"$as_myself" : 'X\(//\)$' \| \ 1193 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1194$as_echo X"$as_myself" | 1195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1196 s//\1/ 1197 q 1198 } 1199 /^X\(\/\/\)[^/].*/{ 1200 s//\1/ 1201 q 1202 } 1203 /^X\(\/\/\)$/{ 1204 s//\1/ 1205 q 1206 } 1207 /^X\(\/\).*/{ 1208 s//\1/ 1209 q 1210 } 1211 s/.*/./; q'` 1212 srcdir=$ac_confdir 1213 if test ! -r "$srcdir/$ac_unique_file"; then 1214 srcdir=.. 1215 fi 1216else 1217 ac_srcdir_defaulted=no 1218fi 1219if test ! -r "$srcdir/$ac_unique_file"; then 1220 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1221 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1222fi 1223ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1224ac_abs_confdir=`( 1225 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1226 pwd)` 1227# When building in place, set srcdir=. 1228if test "$ac_abs_confdir" = "$ac_pwd"; then 1229 srcdir=. 1230fi 1231# Remove unnecessary trailing slashes from srcdir. 1232# Double slashes in file names in object file debugging info 1233# mess up M-x gdb in Emacs. 1234case $srcdir in 1235*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1236esac 1237for ac_var in $ac_precious_vars; do 1238 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1239 eval ac_env_${ac_var}_value=\$${ac_var} 1240 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1241 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1242done 1243 1244# 1245# Report the --help message. 1246# 1247if test "$ac_init_help" = "long"; then 1248 # Omit some internal or obsolete options to make the list less imposing. 1249 # This message is too long to be a string in the A/UX 3.1 sh. 1250 cat <<_ACEOF 1251\`configure' configures this package to adapt to many kinds of systems. 1252 1253Usage: $0 [OPTION]... [VAR=VALUE]... 1254 1255To assign environment variables (e.g., CC, CFLAGS...), specify them as 1256VAR=VALUE. See below for descriptions of some of the useful variables. 1257 1258Defaults for the options are specified in brackets. 1259 1260Configuration: 1261 -h, --help display this help and exit 1262 --help=short display options specific to this package 1263 --help=recursive display the short help of all the included packages 1264 -V, --version display version information and exit 1265 -q, --quiet, --silent do not print \`checking ...' messages 1266 --cache-file=FILE cache test results in FILE [disabled] 1267 -C, --config-cache alias for \`--cache-file=config.cache' 1268 -n, --no-create do not create output files 1269 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1270 1271Installation directories: 1272 --prefix=PREFIX install architecture-independent files in PREFIX 1273 [$ac_default_prefix] 1274 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1275 [PREFIX] 1276 1277By default, \`make install' will install all the files in 1278\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1279an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1280for instance \`--prefix=\$HOME'. 1281 1282For better control, use the options below. 1283 1284Fine tuning of the installation directories: 1285 --bindir=DIR user executables [EPREFIX/bin] 1286 --sbindir=DIR system admin executables [EPREFIX/sbin] 1287 --libexecdir=DIR program executables [EPREFIX/libexec] 1288 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1289 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1290 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1291 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1292 --libdir=DIR object code libraries [EPREFIX/lib] 1293 --includedir=DIR C header files [PREFIX/include] 1294 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1295 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1296 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1297 --infodir=DIR info documentation [DATAROOTDIR/info] 1298 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1299 --mandir=DIR man documentation [DATAROOTDIR/man] 1300 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1301 --htmldir=DIR html documentation [DOCDIR] 1302 --dvidir=DIR dvi documentation [DOCDIR] 1303 --pdfdir=DIR pdf documentation [DOCDIR] 1304 --psdir=DIR ps documentation [DOCDIR] 1305_ACEOF 1306 1307 cat <<\_ACEOF 1308 1309System types: 1310 --build=BUILD configure for building on BUILD [guessed] 1311 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1312_ACEOF 1313fi 1314 1315if test -n "$ac_init_help"; then 1316 1317 cat <<\_ACEOF 1318 1319Optional Packages: 1320 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1321 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1322 --with-java=DIR Specify the location of your JDK installation 1323 --with-os-type=SUBDIR Location of JDK os-type subdirectory. 1324 1325Some influential environment variables: 1326 CC C compiler command 1327 CFLAGS C compiler flags 1328 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1329 nonstandard directory <lib dir> 1330 LIBS libraries to pass to the linker, e.g. -l<library> 1331 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1332 you have headers in a nonstandard directory <include dir> 1333 CPP C preprocessor 1334 1335Use these variables to override the choices made by `configure' or to help 1336it to find libraries and programs with nonstandard names/locations. 1337 1338Report bugs to the package provider. 1339_ACEOF 1340ac_status=$? 1341fi 1342 1343if test "$ac_init_help" = "recursive"; then 1344 # If there are subdirs, report their specific --help. 1345 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1346 test -d "$ac_dir" || 1347 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1348 continue 1349 ac_builddir=. 1350 1351case "$ac_dir" in 1352.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1353*) 1354 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1355 # A ".." for each directory in $ac_dir_suffix. 1356 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1357 case $ac_top_builddir_sub in 1358 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1359 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1360 esac ;; 1361esac 1362ac_abs_top_builddir=$ac_pwd 1363ac_abs_builddir=$ac_pwd$ac_dir_suffix 1364# for backward compatibility: 1365ac_top_builddir=$ac_top_build_prefix 1366 1367case $srcdir in 1368 .) # We are building in place. 1369 ac_srcdir=. 1370 ac_top_srcdir=$ac_top_builddir_sub 1371 ac_abs_top_srcdir=$ac_pwd ;; 1372 [\\/]* | ?:[\\/]* ) # Absolute name. 1373 ac_srcdir=$srcdir$ac_dir_suffix; 1374 ac_top_srcdir=$srcdir 1375 ac_abs_top_srcdir=$srcdir ;; 1376 *) # Relative name. 1377 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1378 ac_top_srcdir=$ac_top_build_prefix$srcdir 1379 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1380esac 1381ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1382 1383 cd "$ac_dir" || { ac_status=$?; continue; } 1384 # Check for guested configure. 1385 if test -f "$ac_srcdir/configure.gnu"; then 1386 echo && 1387 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1388 elif test -f "$ac_srcdir/configure"; then 1389 echo && 1390 $SHELL "$ac_srcdir/configure" --help=recursive 1391 else 1392 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1393 fi || ac_status=$? 1394 cd "$ac_pwd" || { ac_status=$?; break; } 1395 done 1396fi 1397 1398test -n "$ac_init_help" && exit $ac_status 1399if $ac_init_version; then 1400 cat <<\_ACEOF 1401configure 1402generated by GNU Autoconf 2.69 1403 1404Copyright (C) 2012 Free Software Foundation, Inc. 1405This configure script is free software; the Free Software Foundation 1406gives unlimited permission to copy, distribute and modify it. 1407_ACEOF 1408 exit 1409fi 1410 1411## ------------------------ ## 1412## Autoconf initialization. ## 1413## ------------------------ ## 1414 1415# ac_fn_c_try_compile LINENO 1416# -------------------------- 1417# Try to compile conftest.$ac_ext, and return whether this succeeded. 1418ac_fn_c_try_compile () 1419{ 1420 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1421 rm -f conftest.$ac_objext 1422 if { { ac_try="$ac_compile" 1423case "(($ac_try" in 1424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1425 *) ac_try_echo=$ac_try;; 1426esac 1427eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1428$as_echo "$ac_try_echo"; } >&5 1429 (eval "$ac_compile") 2>conftest.err 1430 ac_status=$? 1431 if test -s conftest.err; then 1432 grep -v '^ *+' conftest.err >conftest.er1 1433 cat conftest.er1 >&5 1434 mv -f conftest.er1 conftest.err 1435 fi 1436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1437 test $ac_status = 0; } && { 1438 test -z "$ac_c_werror_flag" || 1439 test ! -s conftest.err 1440 } && test -s conftest.$ac_objext; then : 1441 ac_retval=0 1442else 1443 $as_echo "$as_me: failed program was:" >&5 1444sed 's/^/| /' conftest.$ac_ext >&5 1445 1446 ac_retval=1 1447fi 1448 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1449 as_fn_set_status $ac_retval 1450 1451} # ac_fn_c_try_compile 1452 1453# ac_fn_c_try_cpp LINENO 1454# ---------------------- 1455# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1456ac_fn_c_try_cpp () 1457{ 1458 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1459 if { { ac_try="$ac_cpp conftest.$ac_ext" 1460case "(($ac_try" in 1461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1462 *) ac_try_echo=$ac_try;; 1463esac 1464eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1465$as_echo "$ac_try_echo"; } >&5 1466 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1467 ac_status=$? 1468 if test -s conftest.err; then 1469 grep -v '^ *+' conftest.err >conftest.er1 1470 cat conftest.er1 >&5 1471 mv -f conftest.er1 conftest.err 1472 fi 1473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1474 test $ac_status = 0; } > conftest.i && { 1475 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1476 test ! -s conftest.err 1477 }; then : 1478 ac_retval=0 1479else 1480 $as_echo "$as_me: failed program was:" >&5 1481sed 's/^/| /' conftest.$ac_ext >&5 1482 1483 ac_retval=1 1484fi 1485 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1486 as_fn_set_status $ac_retval 1487 1488} # ac_fn_c_try_cpp 1489 1490# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1491# ------------------------------------------------------- 1492# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1493# the include files in INCLUDES and setting the cache variable VAR 1494# accordingly. 1495ac_fn_c_check_header_mongrel () 1496{ 1497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1498 if eval \${$3+:} false; then : 1499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1500$as_echo_n "checking for $2... " >&6; } 1501if eval \${$3+:} false; then : 1502 $as_echo_n "(cached) " >&6 1503fi 1504eval ac_res=\$$3 1505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1506$as_echo "$ac_res" >&6; } 1507else 1508 # Is the header compilable? 1509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1510$as_echo_n "checking $2 usability... " >&6; } 1511cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1512/* end confdefs.h. */ 1513$4 1514#include <$2> 1515_ACEOF 1516if ac_fn_c_try_compile "$LINENO"; then : 1517 ac_header_compiler=yes 1518else 1519 ac_header_compiler=no 1520fi 1521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1523$as_echo "$ac_header_compiler" >&6; } 1524 1525# Is the header present? 1526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1527$as_echo_n "checking $2 presence... " >&6; } 1528cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1529/* end confdefs.h. */ 1530#include <$2> 1531_ACEOF 1532if ac_fn_c_try_cpp "$LINENO"; then : 1533 ac_header_preproc=yes 1534else 1535 ac_header_preproc=no 1536fi 1537rm -f conftest.err conftest.i conftest.$ac_ext 1538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1539$as_echo "$ac_header_preproc" >&6; } 1540 1541# So? What about this header? 1542case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1543 yes:no: ) 1544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1545$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1547$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1548 ;; 1549 no:yes:* ) 1550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1551$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1553$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1555$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1557$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1559$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1560 ;; 1561esac 1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1563$as_echo_n "checking for $2... " >&6; } 1564if eval \${$3+:} false; then : 1565 $as_echo_n "(cached) " >&6 1566else 1567 eval "$3=\$ac_header_compiler" 1568fi 1569eval ac_res=\$$3 1570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1571$as_echo "$ac_res" >&6; } 1572fi 1573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1574 1575} # ac_fn_c_check_header_mongrel 1576 1577# ac_fn_c_try_run LINENO 1578# ---------------------- 1579# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1580# that executables *can* be run. 1581ac_fn_c_try_run () 1582{ 1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1584 if { { ac_try="$ac_link" 1585case "(($ac_try" in 1586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1587 *) ac_try_echo=$ac_try;; 1588esac 1589eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1590$as_echo "$ac_try_echo"; } >&5 1591 (eval "$ac_link") 2>&5 1592 ac_status=$? 1593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1594 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1595 { { case "(($ac_try" in 1596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1597 *) ac_try_echo=$ac_try;; 1598esac 1599eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1600$as_echo "$ac_try_echo"; } >&5 1601 (eval "$ac_try") 2>&5 1602 ac_status=$? 1603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1604 test $ac_status = 0; }; }; then : 1605 ac_retval=0 1606else 1607 $as_echo "$as_me: program exited with status $ac_status" >&5 1608 $as_echo "$as_me: failed program was:" >&5 1609sed 's/^/| /' conftest.$ac_ext >&5 1610 1611 ac_retval=$ac_status 1612fi 1613 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1615 as_fn_set_status $ac_retval 1616 1617} # ac_fn_c_try_run 1618 1619# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1620# ------------------------------------------------------- 1621# Tests whether HEADER exists and can be compiled using the include files in 1622# INCLUDES, setting the cache variable VAR accordingly. 1623ac_fn_c_check_header_compile () 1624{ 1625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1627$as_echo_n "checking for $2... " >&6; } 1628if eval \${$3+:} false; then : 1629 $as_echo_n "(cached) " >&6 1630else 1631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1632/* end confdefs.h. */ 1633$4 1634#include <$2> 1635_ACEOF 1636if ac_fn_c_try_compile "$LINENO"; then : 1637 eval "$3=yes" 1638else 1639 eval "$3=no" 1640fi 1641rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1642fi 1643eval ac_res=\$$3 1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1645$as_echo "$ac_res" >&6; } 1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1647 1648} # ac_fn_c_check_header_compile 1649cat >config.log <<_ACEOF 1650This file contains any messages produced by compilers while 1651running configure, to aid debugging if configure makes a mistake. 1652 1653It was created by $as_me, which was 1654generated by GNU Autoconf 2.69. Invocation command line was 1655 1656 $ $0 $@ 1657 1658_ACEOF 1659exec 5>>config.log 1660{ 1661cat <<_ASUNAME 1662## --------- ## 1663## Platform. ## 1664## --------- ## 1665 1666hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1667uname -m = `(uname -m) 2>/dev/null || echo unknown` 1668uname -r = `(uname -r) 2>/dev/null || echo unknown` 1669uname -s = `(uname -s) 2>/dev/null || echo unknown` 1670uname -v = `(uname -v) 2>/dev/null || echo unknown` 1671 1672/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1673/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1674 1675/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1676/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1677/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1678/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1679/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1680/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1681/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1682 1683_ASUNAME 1684 1685as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1686for as_dir in $PATH 1687do 1688 IFS=$as_save_IFS 1689 test -z "$as_dir" && as_dir=. 1690 $as_echo "PATH: $as_dir" 1691 done 1692IFS=$as_save_IFS 1693 1694} >&5 1695 1696cat >&5 <<_ACEOF 1697 1698 1699## ----------- ## 1700## Core tests. ## 1701## ----------- ## 1702 1703_ACEOF 1704 1705 1706# Keep a trace of the command line. 1707# Strip out --no-create and --no-recursion so they do not pile up. 1708# Strip out --silent because we don't want to record it for future runs. 1709# Also quote any args containing shell meta-characters. 1710# Make two passes to allow for proper duplicate-argument suppression. 1711ac_configure_args= 1712ac_configure_args0= 1713ac_configure_args1= 1714ac_must_keep_next=false 1715for ac_pass in 1 2 1716do 1717 for ac_arg 1718 do 1719 case $ac_arg in 1720 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1721 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1722 | -silent | --silent | --silen | --sile | --sil) 1723 continue ;; 1724 *\'*) 1725 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1726 esac 1727 case $ac_pass in 1728 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1729 2) 1730 as_fn_append ac_configure_args1 " '$ac_arg'" 1731 if test $ac_must_keep_next = true; then 1732 ac_must_keep_next=false # Got value, back to normal. 1733 else 1734 case $ac_arg in 1735 *=* | --config-cache | -C | -disable-* | --disable-* \ 1736 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1737 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1738 | -with-* | --with-* | -without-* | --without-* | --x) 1739 case "$ac_configure_args0 " in 1740 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1741 esac 1742 ;; 1743 -* ) ac_must_keep_next=true ;; 1744 esac 1745 fi 1746 as_fn_append ac_configure_args " '$ac_arg'" 1747 ;; 1748 esac 1749 done 1750done 1751{ ac_configure_args0=; unset ac_configure_args0;} 1752{ ac_configure_args1=; unset ac_configure_args1;} 1753 1754# When interrupted or exit'd, cleanup temporary files, and complete 1755# config.log. We remove comments because anyway the quotes in there 1756# would cause problems or look ugly. 1757# WARNING: Use '\'' to represent an apostrophe within the trap. 1758# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1759trap 'exit_status=$? 1760 # Save into config.log some information that might help in debugging. 1761 { 1762 echo 1763 1764 $as_echo "## ---------------- ## 1765## Cache variables. ## 1766## ---------------- ##" 1767 echo 1768 # The following way of writing the cache mishandles newlines in values, 1769( 1770 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1771 eval ac_val=\$$ac_var 1772 case $ac_val in #( 1773 *${as_nl}*) 1774 case $ac_var in #( 1775 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1776$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1777 esac 1778 case $ac_var in #( 1779 _ | IFS | as_nl) ;; #( 1780 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1781 *) { eval $ac_var=; unset $ac_var;} ;; 1782 esac ;; 1783 esac 1784 done 1785 (set) 2>&1 | 1786 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1787 *${as_nl}ac_space=\ *) 1788 sed -n \ 1789 "s/'\''/'\''\\\\'\'''\''/g; 1790 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1791 ;; #( 1792 *) 1793 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1794 ;; 1795 esac | 1796 sort 1797) 1798 echo 1799 1800 $as_echo "## ----------------- ## 1801## Output variables. ## 1802## ----------------- ##" 1803 echo 1804 for ac_var in $ac_subst_vars 1805 do 1806 eval ac_val=\$$ac_var 1807 case $ac_val in 1808 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1809 esac 1810 $as_echo "$ac_var='\''$ac_val'\''" 1811 done | sort 1812 echo 1813 1814 if test -n "$ac_subst_files"; then 1815 $as_echo "## ------------------- ## 1816## File substitutions. ## 1817## ------------------- ##" 1818 echo 1819 for ac_var in $ac_subst_files 1820 do 1821 eval ac_val=\$$ac_var 1822 case $ac_val in 1823 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1824 esac 1825 $as_echo "$ac_var='\''$ac_val'\''" 1826 done | sort 1827 echo 1828 fi 1829 1830 if test -s confdefs.h; then 1831 $as_echo "## ----------- ## 1832## confdefs.h. ## 1833## ----------- ##" 1834 echo 1835 cat confdefs.h 1836 echo 1837 fi 1838 test "$ac_signal" != 0 && 1839 $as_echo "$as_me: caught signal $ac_signal" 1840 $as_echo "$as_me: exit $exit_status" 1841 } >&5 1842 rm -f core *.core core.conftest.* && 1843 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1844 exit $exit_status 1845' 0 1846for ac_signal in 1 2 13 15; do 1847 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1848done 1849ac_signal=0 1850 1851# confdefs.h avoids OS command line length limits that DEFS can exceed. 1852rm -f -r conftest* confdefs.h 1853 1854$as_echo "/* confdefs.h */" > confdefs.h 1855 1856# Predefined preprocessor variables. 1857 1858cat >>confdefs.h <<_ACEOF 1859#define PACKAGE_NAME "$PACKAGE_NAME" 1860_ACEOF 1861 1862cat >>confdefs.h <<_ACEOF 1863#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1864_ACEOF 1865 1866cat >>confdefs.h <<_ACEOF 1867#define PACKAGE_VERSION "$PACKAGE_VERSION" 1868_ACEOF 1869 1870cat >>confdefs.h <<_ACEOF 1871#define PACKAGE_STRING "$PACKAGE_STRING" 1872_ACEOF 1873 1874cat >>confdefs.h <<_ACEOF 1875#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1876_ACEOF 1877 1878cat >>confdefs.h <<_ACEOF 1879#define PACKAGE_URL "$PACKAGE_URL" 1880_ACEOF 1881 1882 1883# Let the site file select an alternate cache file if it wants to. 1884# Prefer an explicitly selected file to automatically selected ones. 1885ac_site_file1=NONE 1886ac_site_file2=NONE 1887if test -n "$CONFIG_SITE"; then 1888 # We do not want a PATH search for config.site. 1889 case $CONFIG_SITE in #(( 1890 -*) ac_site_file1=./$CONFIG_SITE;; 1891 */*) ac_site_file1=$CONFIG_SITE;; 1892 *) ac_site_file1=./$CONFIG_SITE;; 1893 esac 1894elif test "x$prefix" != xNONE; then 1895 ac_site_file1=$prefix/share/config.site 1896 ac_site_file2=$prefix/etc/config.site 1897else 1898 ac_site_file1=$ac_default_prefix/share/config.site 1899 ac_site_file2=$ac_default_prefix/etc/config.site 1900fi 1901for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1902do 1903 test "x$ac_site_file" = xNONE && continue 1904 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1905 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1906$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1907 sed 's/^/| /' "$ac_site_file" >&5 1908 . "$ac_site_file" \ 1909 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1910$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1911as_fn_error $? "failed to load site script $ac_site_file 1912See \`config.log' for more details" "$LINENO" 5; } 1913 fi 1914done 1915 1916if test -r "$cache_file"; then 1917 # Some versions of bash will fail to source /dev/null (special files 1918 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1919 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1920 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1921$as_echo "$as_me: loading cache $cache_file" >&6;} 1922 case $cache_file in 1923 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1924 *) . "./$cache_file";; 1925 esac 1926 fi 1927else 1928 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1929$as_echo "$as_me: creating cache $cache_file" >&6;} 1930 >$cache_file 1931fi 1932 1933# Check that the precious variables saved in the cache have kept the same 1934# value. 1935ac_cache_corrupted=false 1936for ac_var in $ac_precious_vars; do 1937 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1938 eval ac_new_set=\$ac_env_${ac_var}_set 1939 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1940 eval ac_new_val=\$ac_env_${ac_var}_value 1941 case $ac_old_set,$ac_new_set in 1942 set,) 1943 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1944$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1945 ac_cache_corrupted=: ;; 1946 ,set) 1947 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1948$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1949 ac_cache_corrupted=: ;; 1950 ,);; 1951 *) 1952 if test "x$ac_old_val" != "x$ac_new_val"; then 1953 # differences in whitespace do not lead to failure. 1954 ac_old_val_w=`echo x $ac_old_val` 1955 ac_new_val_w=`echo x $ac_new_val` 1956 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1957 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1958$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1959 ac_cache_corrupted=: 1960 else 1961 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1962$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1963 eval $ac_var=\$ac_old_val 1964 fi 1965 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1966$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1967 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1968$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1969 fi;; 1970 esac 1971 # Pass precious variables to config.status. 1972 if test "$ac_new_set" = set; then 1973 case $ac_new_val in 1974 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1975 *) ac_arg=$ac_var=$ac_new_val ;; 1976 esac 1977 case " $ac_configure_args " in 1978 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1979 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1980 esac 1981 fi 1982done 1983if $ac_cache_corrupted; then 1984 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1985$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1986 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1987$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1988 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1989fi 1990## -------------------- ## 1991## Main body of script. ## 1992## -------------------- ## 1993 1994ac_ext=c 1995ac_cpp='$CPP $CPPFLAGS' 1996ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1997ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1998ac_compiler_gnu=$ac_cv_c_compiler_gnu 1999 2000 2001ac_aux_dir= 2002for ac_dir in ./support "$srcdir"/./support; do 2003 if test -f "$ac_dir/install-sh"; then 2004 ac_aux_dir=$ac_dir 2005 ac_install_sh="$ac_aux_dir/install-sh -c" 2006 break 2007 elif test -f "$ac_dir/install.sh"; then 2008 ac_aux_dir=$ac_dir 2009 ac_install_sh="$ac_aux_dir/install.sh -c" 2010 break 2011 elif test -f "$ac_dir/shtool"; then 2012 ac_aux_dir=$ac_dir 2013 ac_install_sh="$ac_aux_dir/shtool install -c" 2014 break 2015 fi 2016done 2017if test -z "$ac_aux_dir"; then 2018 as_fn_error $? "cannot find install-sh, install.sh, or shtool in ./support \"$srcdir\"/./support" "$LINENO" 5 2019fi 2020 2021# These three variables are undocumented and unsupported, 2022# and are intended to be withdrawn in a future Autoconf release. 2023# They can cause serious problems if a builder's source tree is in a directory 2024# whose full name contains unusual characters. 2025ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2026ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2027ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2028 2029 2030 2031 2032 rm -f config.nice 2033 cat >config.nice<<EOF 2034#! /bin/sh 2035# 2036# Created by configure 2037 2038EOF 2039 if test -n "$CC"; then 2040 echo "CC=\"$CC\"; export CC" >> config.nice 2041 fi 2042 if test -n "$CFLAGS"; then 2043 echo "CFLAGS=\"$CFLAGS\"; export CFLAGS" >> config.nice 2044 fi 2045 if test -n "$CPPFLAGS"; then 2046 echo "CPPFLAGS=\"$CPPFLAGS\"; export CPPFLAGS" >> config.nice 2047 fi 2048 if test -n "$LDFLAGS"; then 2049 echo "LDFLAGS=\"$LDFLAGS\"; export LDFLAGS" >> config.nice 2050 fi 2051 if test -n "$LIBS"; then 2052 echo "LIBS=\"$LIBS\"; export LIBS" >> config.nice 2053 fi 2054 if test -n "$STRIPFLAGS"; then 2055 echo "STRIPFLAGS=\"$STRIPFLAGS\"; export STRIPFLAGS" >> config.nice 2056 fi 2057 if test -n "$INCLUDES"; then 2058 echo "INCLUDES=\"$INCLUDES\"; export INCLUDES" >> config.nice 2059 fi 2060# Retrieve command-line arguments. 2061 eval "set x $0 $ac_configure_args" 2062 shift 2063 2064 for arg 2065 do 2066 2067ap_last= 2068ap_cur="$arg" 2069while test "x${ap_cur}" != "x${ap_last}"; 2070do 2071 ap_last="${ap_cur}" 2072 ap_cur=`eval "echo ${ap_cur}"` 2073done 2074arg="${ap_cur}" 2075 2076 echo "\"$arg\" \\" >> config.nice 2077 done 2078 echo '"$@"' >> config.nice 2079 chmod +x config.nice 2080 2081 2082 2083 printf "*** %s ***\n" "Current host" 1>&2 2084 2085 2086# Make sure we can run config.sub. 2087$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2088 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2089 2090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2091$as_echo_n "checking build system type... " >&6; } 2092if ${ac_cv_build+:} false; then : 2093 $as_echo_n "(cached) " >&6 2094else 2095 ac_build_alias=$build_alias 2096test "x$ac_build_alias" = x && 2097 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2098test "x$ac_build_alias" = x && 2099 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2100ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2101 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2102 2103fi 2104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2105$as_echo "$ac_cv_build" >&6; } 2106case $ac_cv_build in 2107*-*-*) ;; 2108*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2109esac 2110build=$ac_cv_build 2111ac_save_IFS=$IFS; IFS='-' 2112set x $ac_cv_build 2113shift 2114build_cpu=$1 2115build_vendor=$2 2116shift; shift 2117# Remember, the first character of IFS is used to create $*, 2118# except with old shells: 2119build_os=$* 2120IFS=$ac_save_IFS 2121case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2122 2123 2124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2125$as_echo_n "checking host system type... " >&6; } 2126if ${ac_cv_host+:} false; then : 2127 $as_echo_n "(cached) " >&6 2128else 2129 if test "x$host_alias" = x; then 2130 ac_cv_host=$ac_cv_build 2131else 2132 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2133 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2134fi 2135 2136fi 2137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2138$as_echo "$ac_cv_host" >&6; } 2139case $ac_cv_host in 2140*-*-*) ;; 2141*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2142esac 2143host=$ac_cv_host 2144ac_save_IFS=$IFS; IFS='-' 2145set x $ac_cv_host 2146shift 2147host_cpu=$1 2148host_vendor=$2 2149shift; shift 2150# Remember, the first character of IFS is used to create $*, 2151# except with old shells: 2152host_os=$* 2153IFS=$ac_save_IFS 2154case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2155 2156 2157 2158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking cached host system type" >&5 2159$as_echo_n "checking cached host system type... " >&6; } 2160 if { test x"${ac_cv_host_system_type+set}" = x"set" && 2161 test x"$ac_cv_host_system_type" != x"$host" ; } 2162 then 2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host_system_type" >&5 2164$as_echo "$ac_cv_host_system_type" >&6; } 2165 as_fn_error $? "remove the \"$cache_file\" file and re-run configure" "$LINENO" 5 2166 else 2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 2168$as_echo "ok" >&6; } 2169 ac_cv_host_system_type="$host" 2170 fi 2171 2172 2173 2174 2175 printf "*** %s ***\n" "C-Language compilation tools" 1>&2 2176 2177 2178ac_ext=c 2179ac_cpp='$CPP $CPPFLAGS' 2180ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2181ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2182ac_compiler_gnu=$ac_cv_c_compiler_gnu 2183if test -n "$ac_tool_prefix"; then 2184 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2185set dummy ${ac_tool_prefix}gcc; ac_word=$2 2186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2187$as_echo_n "checking for $ac_word... " >&6; } 2188if ${ac_cv_prog_CC+:} false; then : 2189 $as_echo_n "(cached) " >&6 2190else 2191 if test -n "$CC"; then 2192 ac_cv_prog_CC="$CC" # Let the user override the test. 2193else 2194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2195for as_dir in $PATH 2196do 2197 IFS=$as_save_IFS 2198 test -z "$as_dir" && as_dir=. 2199 for ac_exec_ext in '' $ac_executable_extensions; do 2200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2201 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2203 break 2 2204 fi 2205done 2206 done 2207IFS=$as_save_IFS 2208 2209fi 2210fi 2211CC=$ac_cv_prog_CC 2212if test -n "$CC"; then 2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2214$as_echo "$CC" >&6; } 2215else 2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2217$as_echo "no" >&6; } 2218fi 2219 2220 2221fi 2222if test -z "$ac_cv_prog_CC"; then 2223 ac_ct_CC=$CC 2224 # Extract the first word of "gcc", so it can be a program name with args. 2225set dummy gcc; ac_word=$2 2226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2227$as_echo_n "checking for $ac_word... " >&6; } 2228if ${ac_cv_prog_ac_ct_CC+:} false; then : 2229 $as_echo_n "(cached) " >&6 2230else 2231 if test -n "$ac_ct_CC"; then 2232 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2233else 2234as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2235for as_dir in $PATH 2236do 2237 IFS=$as_save_IFS 2238 test -z "$as_dir" && as_dir=. 2239 for ac_exec_ext in '' $ac_executable_extensions; do 2240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2241 ac_cv_prog_ac_ct_CC="gcc" 2242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2243 break 2 2244 fi 2245done 2246 done 2247IFS=$as_save_IFS 2248 2249fi 2250fi 2251ac_ct_CC=$ac_cv_prog_ac_ct_CC 2252if test -n "$ac_ct_CC"; then 2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2254$as_echo "$ac_ct_CC" >&6; } 2255else 2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2257$as_echo "no" >&6; } 2258fi 2259 2260 if test "x$ac_ct_CC" = x; then 2261 CC="" 2262 else 2263 case $cross_compiling:$ac_tool_warned in 2264yes:) 2265{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2266$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2267ac_tool_warned=yes ;; 2268esac 2269 CC=$ac_ct_CC 2270 fi 2271else 2272 CC="$ac_cv_prog_CC" 2273fi 2274 2275if test -z "$CC"; then 2276 if test -n "$ac_tool_prefix"; then 2277 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2278set dummy ${ac_tool_prefix}cc; ac_word=$2 2279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2280$as_echo_n "checking for $ac_word... " >&6; } 2281if ${ac_cv_prog_CC+:} false; then : 2282 $as_echo_n "(cached) " >&6 2283else 2284 if test -n "$CC"; then 2285 ac_cv_prog_CC="$CC" # Let the user override the test. 2286else 2287as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2288for as_dir in $PATH 2289do 2290 IFS=$as_save_IFS 2291 test -z "$as_dir" && as_dir=. 2292 for ac_exec_ext in '' $ac_executable_extensions; do 2293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2294 ac_cv_prog_CC="${ac_tool_prefix}cc" 2295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2296 break 2 2297 fi 2298done 2299 done 2300IFS=$as_save_IFS 2301 2302fi 2303fi 2304CC=$ac_cv_prog_CC 2305if test -n "$CC"; then 2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2307$as_echo "$CC" >&6; } 2308else 2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2310$as_echo "no" >&6; } 2311fi 2312 2313 2314 fi 2315fi 2316if test -z "$CC"; then 2317 # Extract the first word of "cc", so it can be a program name with args. 2318set dummy cc; ac_word=$2 2319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2320$as_echo_n "checking for $ac_word... " >&6; } 2321if ${ac_cv_prog_CC+:} false; then : 2322 $as_echo_n "(cached) " >&6 2323else 2324 if test -n "$CC"; then 2325 ac_cv_prog_CC="$CC" # Let the user override the test. 2326else 2327 ac_prog_rejected=no 2328as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2329for as_dir in $PATH 2330do 2331 IFS=$as_save_IFS 2332 test -z "$as_dir" && as_dir=. 2333 for ac_exec_ext in '' $ac_executable_extensions; do 2334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2335 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2336 ac_prog_rejected=yes 2337 continue 2338 fi 2339 ac_cv_prog_CC="cc" 2340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2341 break 2 2342 fi 2343done 2344 done 2345IFS=$as_save_IFS 2346 2347if test $ac_prog_rejected = yes; then 2348 # We found a bogon in the path, so make sure we never use it. 2349 set dummy $ac_cv_prog_CC 2350 shift 2351 if test $# != 0; then 2352 # We chose a different compiler from the bogus one. 2353 # However, it has the same basename, so the bogon will be chosen 2354 # first if we set CC to just the basename; use the full file name. 2355 shift 2356 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2357 fi 2358fi 2359fi 2360fi 2361CC=$ac_cv_prog_CC 2362if test -n "$CC"; then 2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2364$as_echo "$CC" >&6; } 2365else 2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2367$as_echo "no" >&6; } 2368fi 2369 2370 2371fi 2372if test -z "$CC"; then 2373 if test -n "$ac_tool_prefix"; then 2374 for ac_prog in cl.exe 2375 do 2376 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2377set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2379$as_echo_n "checking for $ac_word... " >&6; } 2380if ${ac_cv_prog_CC+:} false; then : 2381 $as_echo_n "(cached) " >&6 2382else 2383 if test -n "$CC"; then 2384 ac_cv_prog_CC="$CC" # Let the user override the test. 2385else 2386as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2387for as_dir in $PATH 2388do 2389 IFS=$as_save_IFS 2390 test -z "$as_dir" && as_dir=. 2391 for ac_exec_ext in '' $ac_executable_extensions; do 2392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2393 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2395 break 2 2396 fi 2397done 2398 done 2399IFS=$as_save_IFS 2400 2401fi 2402fi 2403CC=$ac_cv_prog_CC 2404if test -n "$CC"; then 2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2406$as_echo "$CC" >&6; } 2407else 2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2409$as_echo "no" >&6; } 2410fi 2411 2412 2413 test -n "$CC" && break 2414 done 2415fi 2416if test -z "$CC"; then 2417 ac_ct_CC=$CC 2418 for ac_prog in cl.exe 2419do 2420 # Extract the first word of "$ac_prog", so it can be a program name with args. 2421set dummy $ac_prog; ac_word=$2 2422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2423$as_echo_n "checking for $ac_word... " >&6; } 2424if ${ac_cv_prog_ac_ct_CC+:} false; then : 2425 $as_echo_n "(cached) " >&6 2426else 2427 if test -n "$ac_ct_CC"; then 2428 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2429else 2430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2431for as_dir in $PATH 2432do 2433 IFS=$as_save_IFS 2434 test -z "$as_dir" && as_dir=. 2435 for ac_exec_ext in '' $ac_executable_extensions; do 2436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2437 ac_cv_prog_ac_ct_CC="$ac_prog" 2438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2439 break 2 2440 fi 2441done 2442 done 2443IFS=$as_save_IFS 2444 2445fi 2446fi 2447ac_ct_CC=$ac_cv_prog_ac_ct_CC 2448if test -n "$ac_ct_CC"; then 2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2450$as_echo "$ac_ct_CC" >&6; } 2451else 2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2453$as_echo "no" >&6; } 2454fi 2455 2456 2457 test -n "$ac_ct_CC" && break 2458done 2459 2460 if test "x$ac_ct_CC" = x; then 2461 CC="" 2462 else 2463 case $cross_compiling:$ac_tool_warned in 2464yes:) 2465{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2466$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2467ac_tool_warned=yes ;; 2468esac 2469 CC=$ac_ct_CC 2470 fi 2471fi 2472 2473fi 2474 2475 2476test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2477$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2478as_fn_error $? "no acceptable C compiler found in \$PATH 2479See \`config.log' for more details" "$LINENO" 5; } 2480 2481# Provide some information about the compiler. 2482$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2483set X $ac_compile 2484ac_compiler=$2 2485for ac_option in --version -v -V -qversion; do 2486 { { ac_try="$ac_compiler $ac_option >&5" 2487case "(($ac_try" in 2488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2489 *) ac_try_echo=$ac_try;; 2490esac 2491eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2492$as_echo "$ac_try_echo"; } >&5 2493 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2494 ac_status=$? 2495 if test -s conftest.err; then 2496 sed '10a\ 2497... rest of stderr output deleted ... 2498 10q' conftest.err >conftest.er1 2499 cat conftest.er1 >&5 2500 fi 2501 rm -f conftest.er1 conftest.err 2502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2503 test $ac_status = 0; } 2504done 2505 2506cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2507/* end confdefs.h. */ 2508 2509int 2510main () 2511{ 2512 2513 ; 2514 return 0; 2515} 2516_ACEOF 2517ac_clean_files_save=$ac_clean_files 2518ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2519# Try to create an executable without -o first, disregard a.out. 2520# It will help us diagnose broken compilers, and finding out an intuition 2521# of exeext. 2522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2523$as_echo_n "checking whether the C compiler works... " >&6; } 2524ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2525 2526# The possible output files: 2527ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2528 2529ac_rmfiles= 2530for ac_file in $ac_files 2531do 2532 case $ac_file in 2533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2534 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2535 esac 2536done 2537rm -f $ac_rmfiles 2538 2539if { { ac_try="$ac_link_default" 2540case "(($ac_try" in 2541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2542 *) ac_try_echo=$ac_try;; 2543esac 2544eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2545$as_echo "$ac_try_echo"; } >&5 2546 (eval "$ac_link_default") 2>&5 2547 ac_status=$? 2548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2549 test $ac_status = 0; }; then : 2550 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2551# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2552# in a Makefile. We should not override ac_cv_exeext if it was cached, 2553# so that the user can short-circuit this test for compilers unknown to 2554# Autoconf. 2555for ac_file in $ac_files '' 2556do 2557 test -f "$ac_file" || continue 2558 case $ac_file in 2559 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2560 ;; 2561 [ab].out ) 2562 # We found the default executable, but exeext='' is most 2563 # certainly right. 2564 break;; 2565 *.* ) 2566 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2567 then :; else 2568 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2569 fi 2570 # We set ac_cv_exeext here because the later test for it is not 2571 # safe: cross compilers may not add the suffix if given an `-o' 2572 # argument, so we may need to know it at that point already. 2573 # Even if this section looks crufty: it has the advantage of 2574 # actually working. 2575 break;; 2576 * ) 2577 break;; 2578 esac 2579done 2580test "$ac_cv_exeext" = no && ac_cv_exeext= 2581 2582else 2583 ac_file='' 2584fi 2585if test -z "$ac_file"; then : 2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2587$as_echo "no" >&6; } 2588$as_echo "$as_me: failed program was:" >&5 2589sed 's/^/| /' conftest.$ac_ext >&5 2590 2591{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2592$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2593as_fn_error 77 "C compiler cannot create executables 2594See \`config.log' for more details" "$LINENO" 5; } 2595else 2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2597$as_echo "yes" >&6; } 2598fi 2599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2600$as_echo_n "checking for C compiler default output file name... " >&6; } 2601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2602$as_echo "$ac_file" >&6; } 2603ac_exeext=$ac_cv_exeext 2604 2605rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2606ac_clean_files=$ac_clean_files_save 2607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2608$as_echo_n "checking for suffix of executables... " >&6; } 2609if { { ac_try="$ac_link" 2610case "(($ac_try" in 2611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2612 *) ac_try_echo=$ac_try;; 2613esac 2614eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2615$as_echo "$ac_try_echo"; } >&5 2616 (eval "$ac_link") 2>&5 2617 ac_status=$? 2618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2619 test $ac_status = 0; }; then : 2620 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2621# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2622# work properly (i.e., refer to `conftest.exe'), while it won't with 2623# `rm'. 2624for ac_file in conftest.exe conftest conftest.*; do 2625 test -f "$ac_file" || continue 2626 case $ac_file in 2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2628 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2629 break;; 2630 * ) break;; 2631 esac 2632done 2633else 2634 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2635$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2636as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2637See \`config.log' for more details" "$LINENO" 5; } 2638fi 2639rm -f conftest conftest$ac_cv_exeext 2640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2641$as_echo "$ac_cv_exeext" >&6; } 2642 2643rm -f conftest.$ac_ext 2644EXEEXT=$ac_cv_exeext 2645ac_exeext=$EXEEXT 2646cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2647/* end confdefs.h. */ 2648#include <stdio.h> 2649int 2650main () 2651{ 2652FILE *f = fopen ("conftest.out", "w"); 2653 return ferror (f) || fclose (f) != 0; 2654 2655 ; 2656 return 0; 2657} 2658_ACEOF 2659ac_clean_files="$ac_clean_files conftest.out" 2660# Check that the compiler produces executables we can run. If not, either 2661# the compiler is broken, or we cross compile. 2662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2663$as_echo_n "checking whether we are cross compiling... " >&6; } 2664if test "$cross_compiling" != yes; then 2665 { { ac_try="$ac_link" 2666case "(($ac_try" in 2667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2668 *) ac_try_echo=$ac_try;; 2669esac 2670eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2671$as_echo "$ac_try_echo"; } >&5 2672 (eval "$ac_link") 2>&5 2673 ac_status=$? 2674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2675 test $ac_status = 0; } 2676 if { ac_try='./conftest$ac_cv_exeext' 2677 { { case "(($ac_try" in 2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2679 *) ac_try_echo=$ac_try;; 2680esac 2681eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2682$as_echo "$ac_try_echo"; } >&5 2683 (eval "$ac_try") 2>&5 2684 ac_status=$? 2685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2686 test $ac_status = 0; }; }; then 2687 cross_compiling=no 2688 else 2689 if test "$cross_compiling" = maybe; then 2690 cross_compiling=yes 2691 else 2692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2693$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2694as_fn_error $? "cannot run C compiled programs. 2695If you meant to cross compile, use \`--host'. 2696See \`config.log' for more details" "$LINENO" 5; } 2697 fi 2698 fi 2699fi 2700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2701$as_echo "$cross_compiling" >&6; } 2702 2703rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2704ac_clean_files=$ac_clean_files_save 2705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2706$as_echo_n "checking for suffix of object files... " >&6; } 2707if ${ac_cv_objext+:} false; then : 2708 $as_echo_n "(cached) " >&6 2709else 2710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2711/* end confdefs.h. */ 2712 2713int 2714main () 2715{ 2716 2717 ; 2718 return 0; 2719} 2720_ACEOF 2721rm -f conftest.o conftest.obj 2722if { { ac_try="$ac_compile" 2723case "(($ac_try" in 2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2725 *) ac_try_echo=$ac_try;; 2726esac 2727eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2728$as_echo "$ac_try_echo"; } >&5 2729 (eval "$ac_compile") 2>&5 2730 ac_status=$? 2731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2732 test $ac_status = 0; }; then : 2733 for ac_file in conftest.o conftest.obj conftest.*; do 2734 test -f "$ac_file" || continue; 2735 case $ac_file in 2736 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2737 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2738 break;; 2739 esac 2740done 2741else 2742 $as_echo "$as_me: failed program was:" >&5 2743sed 's/^/| /' conftest.$ac_ext >&5 2744 2745{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2746$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2747as_fn_error $? "cannot compute suffix of object files: cannot compile 2748See \`config.log' for more details" "$LINENO" 5; } 2749fi 2750rm -f conftest.$ac_cv_objext conftest.$ac_ext 2751fi 2752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2753$as_echo "$ac_cv_objext" >&6; } 2754OBJEXT=$ac_cv_objext 2755ac_objext=$OBJEXT 2756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2757$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2758if ${ac_cv_c_compiler_gnu+:} false; then : 2759 $as_echo_n "(cached) " >&6 2760else 2761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2762/* end confdefs.h. */ 2763 2764int 2765main () 2766{ 2767#ifndef __GNUC__ 2768 choke me 2769#endif 2770 2771 ; 2772 return 0; 2773} 2774_ACEOF 2775if ac_fn_c_try_compile "$LINENO"; then : 2776 ac_compiler_gnu=yes 2777else 2778 ac_compiler_gnu=no 2779fi 2780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2781ac_cv_c_compiler_gnu=$ac_compiler_gnu 2782 2783fi 2784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2785$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2786if test $ac_compiler_gnu = yes; then 2787 GCC=yes 2788else 2789 GCC= 2790fi 2791ac_test_CFLAGS=${CFLAGS+set} 2792ac_save_CFLAGS=$CFLAGS 2793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2794$as_echo_n "checking whether $CC accepts -g... " >&6; } 2795if ${ac_cv_prog_cc_g+:} false; then : 2796 $as_echo_n "(cached) " >&6 2797else 2798 ac_save_c_werror_flag=$ac_c_werror_flag 2799 ac_c_werror_flag=yes 2800 ac_cv_prog_cc_g=no 2801 CFLAGS="-g" 2802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2803/* end confdefs.h. */ 2804 2805int 2806main () 2807{ 2808 2809 ; 2810 return 0; 2811} 2812_ACEOF 2813if ac_fn_c_try_compile "$LINENO"; then : 2814 ac_cv_prog_cc_g=yes 2815else 2816 CFLAGS="" 2817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2818/* end confdefs.h. */ 2819 2820int 2821main () 2822{ 2823 2824 ; 2825 return 0; 2826} 2827_ACEOF 2828if ac_fn_c_try_compile "$LINENO"; then : 2829 2830else 2831 ac_c_werror_flag=$ac_save_c_werror_flag 2832 CFLAGS="-g" 2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2834/* end confdefs.h. */ 2835 2836int 2837main () 2838{ 2839 2840 ; 2841 return 0; 2842} 2843_ACEOF 2844if ac_fn_c_try_compile "$LINENO"; then : 2845 ac_cv_prog_cc_g=yes 2846fi 2847rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2848fi 2849rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2850fi 2851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2852 ac_c_werror_flag=$ac_save_c_werror_flag 2853fi 2854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2855$as_echo "$ac_cv_prog_cc_g" >&6; } 2856if test "$ac_test_CFLAGS" = set; then 2857 CFLAGS=$ac_save_CFLAGS 2858elif test $ac_cv_prog_cc_g = yes; then 2859 if test "$GCC" = yes; then 2860 CFLAGS="-g -O2" 2861 else 2862 CFLAGS="-g" 2863 fi 2864else 2865 if test "$GCC" = yes; then 2866 CFLAGS="-O2" 2867 else 2868 CFLAGS= 2869 fi 2870fi 2871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2872$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2873if ${ac_cv_prog_cc_c89+:} false; then : 2874 $as_echo_n "(cached) " >&6 2875else 2876 ac_cv_prog_cc_c89=no 2877ac_save_CC=$CC 2878cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2879/* end confdefs.h. */ 2880#include <stdarg.h> 2881#include <stdio.h> 2882struct stat; 2883/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2884struct buf { int x; }; 2885FILE * (*rcsopen) (struct buf *, struct stat *, int); 2886static char *e (p, i) 2887 char **p; 2888 int i; 2889{ 2890 return p[i]; 2891} 2892static char *f (char * (*g) (char **, int), char **p, ...) 2893{ 2894 char *s; 2895 va_list v; 2896 va_start (v,p); 2897 s = g (p, va_arg (v,int)); 2898 va_end (v); 2899 return s; 2900} 2901 2902/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2903 function prototypes and stuff, but not '\xHH' hex character constants. 2904 These don't provoke an error unfortunately, instead are silently treated 2905 as 'x'. The following induces an error, until -std is added to get 2906 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2907 array size at least. It's necessary to write '\x00'==0 to get something 2908 that's true only with -std. */ 2909int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2910 2911/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2912 inside strings and character constants. */ 2913#define FOO(x) 'x' 2914int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2915 2916int test (int i, double x); 2917struct s1 {int (*f) (int a);}; 2918struct s2 {int (*f) (double a);}; 2919int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2920int argc; 2921char **argv; 2922int 2923main () 2924{ 2925return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2926 ; 2927 return 0; 2928} 2929_ACEOF 2930for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2931 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2932do 2933 CC="$ac_save_CC $ac_arg" 2934 if ac_fn_c_try_compile "$LINENO"; then : 2935 ac_cv_prog_cc_c89=$ac_arg 2936fi 2937rm -f core conftest.err conftest.$ac_objext 2938 test "x$ac_cv_prog_cc_c89" != "xno" && break 2939done 2940rm -f conftest.$ac_ext 2941CC=$ac_save_CC 2942 2943fi 2944# AC_CACHE_VAL 2945case "x$ac_cv_prog_cc_c89" in 2946 x) 2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2948$as_echo "none needed" >&6; } ;; 2949 xno) 2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2951$as_echo "unsupported" >&6; } ;; 2952 *) 2953 CC="$CC $ac_cv_prog_cc_c89" 2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2955$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2956esac 2957if test "x$ac_cv_prog_cc_c89" != xno; then : 2958 2959fi 2960 2961ac_ext=c 2962ac_cpp='$CPP $CPPFLAGS' 2963ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2964ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2965ac_compiler_gnu=$ac_cv_c_compiler_gnu 2966 2967if test -n "$ac_tool_prefix"; then 2968 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2969set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2971$as_echo_n "checking for $ac_word... " >&6; } 2972if ${ac_cv_prog_RANLIB+:} false; then : 2973 $as_echo_n "(cached) " >&6 2974else 2975 if test -n "$RANLIB"; then 2976 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2977else 2978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2979for as_dir in $PATH 2980do 2981 IFS=$as_save_IFS 2982 test -z "$as_dir" && as_dir=. 2983 for ac_exec_ext in '' $ac_executable_extensions; do 2984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2985 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2987 break 2 2988 fi 2989done 2990 done 2991IFS=$as_save_IFS 2992 2993fi 2994fi 2995RANLIB=$ac_cv_prog_RANLIB 2996if test -n "$RANLIB"; then 2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2998$as_echo "$RANLIB" >&6; } 2999else 3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3001$as_echo "no" >&6; } 3002fi 3003 3004 3005fi 3006if test -z "$ac_cv_prog_RANLIB"; then 3007 ac_ct_RANLIB=$RANLIB 3008 # Extract the first word of "ranlib", so it can be a program name with args. 3009set dummy ranlib; ac_word=$2 3010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3011$as_echo_n "checking for $ac_word... " >&6; } 3012if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3013 $as_echo_n "(cached) " >&6 3014else 3015 if test -n "$ac_ct_RANLIB"; then 3016 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3017else 3018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3019for as_dir in $PATH 3020do 3021 IFS=$as_save_IFS 3022 test -z "$as_dir" && as_dir=. 3023 for ac_exec_ext in '' $ac_executable_extensions; do 3024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3025 ac_cv_prog_ac_ct_RANLIB="ranlib" 3026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3027 break 2 3028 fi 3029done 3030 done 3031IFS=$as_save_IFS 3032 3033fi 3034fi 3035ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3036if test -n "$ac_ct_RANLIB"; then 3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3038$as_echo "$ac_ct_RANLIB" >&6; } 3039else 3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3041$as_echo "no" >&6; } 3042fi 3043 3044 if test "x$ac_ct_RANLIB" = x; then 3045 RANLIB=":" 3046 else 3047 case $cross_compiling:$ac_tool_warned in 3048yes:) 3049{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3050$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3051ac_tool_warned=yes ;; 3052esac 3053 RANLIB=$ac_ct_RANLIB 3054 fi 3055else 3056 RANLIB="$ac_cv_prog_RANLIB" 3057fi 3058 3059if test -n "$ac_tool_prefix"; then 3060 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3061set dummy ${ac_tool_prefix}strip; ac_word=$2 3062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3063$as_echo_n "checking for $ac_word... " >&6; } 3064if ${ac_cv_prog_STRIP+:} false; then : 3065 $as_echo_n "(cached) " >&6 3066else 3067 if test -n "$STRIP"; then 3068 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3069else 3070as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3071for as_dir in $PATH 3072do 3073 IFS=$as_save_IFS 3074 test -z "$as_dir" && as_dir=. 3075 for ac_exec_ext in '' $ac_executable_extensions; do 3076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3077 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3079 break 2 3080 fi 3081done 3082 done 3083IFS=$as_save_IFS 3084 3085fi 3086fi 3087STRIP=$ac_cv_prog_STRIP 3088if test -n "$STRIP"; then 3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3090$as_echo "$STRIP" >&6; } 3091else 3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3093$as_echo "no" >&6; } 3094fi 3095 3096 3097fi 3098if test -z "$ac_cv_prog_STRIP"; then 3099 ac_ct_STRIP=$STRIP 3100 # Extract the first word of "strip", so it can be a program name with args. 3101set dummy strip; ac_word=$2 3102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3103$as_echo_n "checking for $ac_word... " >&6; } 3104if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3105 $as_echo_n "(cached) " >&6 3106else 3107 if test -n "$ac_ct_STRIP"; then 3108 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3109else 3110as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3111for as_dir in $PATH 3112do 3113 IFS=$as_save_IFS 3114 test -z "$as_dir" && as_dir=. 3115 for ac_exec_ext in '' $ac_executable_extensions; do 3116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3117 ac_cv_prog_ac_ct_STRIP="strip" 3118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3119 break 2 3120 fi 3121done 3122 done 3123IFS=$as_save_IFS 3124 3125fi 3126fi 3127ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3128if test -n "$ac_ct_STRIP"; then 3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3130$as_echo "$ac_ct_STRIP" >&6; } 3131else 3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3133$as_echo "no" >&6; } 3134fi 3135 3136 if test "x$ac_ct_STRIP" = x; then 3137 STRIP=":" 3138 else 3139 case $cross_compiling:$ac_tool_warned in 3140yes:) 3141{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3142$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3143ac_tool_warned=yes ;; 3144esac 3145 STRIP=$ac_ct_STRIP 3146 fi 3147else 3148 STRIP="$ac_cv_prog_STRIP" 3149fi 3150 3151 3152 3153 printf "*** %s ***\n" "Host support" 1>&2 3154 3155 3156 3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking C flags dependant on host system type" >&5 3158$as_echo_n "checking C flags dependant on host system type... " >&6; } 3159 3160 case $host_os in 3161 darwin*) 3162 CFLAGS="$CFLAGS -DOS_DARWIN -DDSO_DLFCN" 3163 supported_os="darwin" 3164 ;; 3165 solaris*) 3166 CFLAGS="$CFLAGS -DOS_SOLARIS -DDSO_DLFCN" 3167 supported_os="solaris" 3168 LIBS="$LIBS -ldl -lthread" 3169 ;; 3170 linux*) 3171 CFLAGS="$CFLAGS -DOS_LINUX -DDSO_DLFCN" 3172 supported_os="linux" 3173 LIBS="$LIBS -ldl -lpthread" 3174 ;; 3175 cygwin) 3176 CFLAGS="$CFLAGS -DOS_CYGWIN -DDSO_DLFCN -DNO_SETSID" 3177 supported_os="win32" 3178 ;; 3179 sysv) 3180 CFLAGS="$CFLAGS -DOS_SYSV -DDSO_DLFCN" 3181 LIBS="$LIBS -ldl" 3182 supported_os="sysv" 3183 ;; 3184 sysv4) 3185 CFLAGS="$CFLAGS -DOS_SYSV -DDSO_DLFCN -Kthread" 3186 LDFLAGS="-Kthread $LDFLAGS" 3187 LIBS="$LIBS -ldl" 3188 supported_os="sysv4" 3189 ;; 3190 freebsd*|dragonfly*) 3191 CFLAGS="$CFLAGS -DOS_FREEBSD -DDSO_DLFCN -D_THREAD_SAFE -pthread" 3192 LDFLAGS="-pthread $LDFLAGS" 3193 supported_os="freebsd" 3194 ;; 3195 osf5*) 3196 CFLAGS="$CFLAGS -pthread -DOS_TRU64 -DDSO_DLFCN -D_XOPEN_SOURCE_EXTENDED" 3197 LDFLAGS="$LDFLAGS -pthread" 3198 supported_os="osf5" 3199 ;; 3200 hpux*) 3201 CFLAGS="$CFLAGS -DOS_HPUX -DDSO_DLFCN" 3202 supported_os="hp-ux" 3203 host_os="hpux" 3204 ;; 3205 aix5*) 3206 CFLAGS="$CFLAGS -DOS_AIX -DDSO_DLFCN" 3207 LDFLAGS="$LDFLAGS -ldl" 3208 supported_os="aix5" 3209 ;; 3210 kfreebsd*-gnu) 3211 CFLAGS="$CFLAGS -DOS_BSD -DDSO_DLFCN -pthread" 3212 supported_os="kfreebsd-gnu" 3213 LIBS="$LIBS -ldl -lpthread" 3214 ;; 3215 gnu*) 3216 CFLAGS="$CFLAGS -DOS_HURD -DDSO_DLFCN -pthread " 3217 supported_os="hurd-gnu" 3218 LIBS="$LIBS -ldl -lpthread" 3219 ;; 3220 *) 3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 3222$as_echo "failed" >&6; } 3223 as_fn_error $? "Unsupported operating system \"$host_os\"" "$LINENO" 5 3224 ;; 3225 esac 3226 case $host_cpu in 3227 powerpc64) 3228 CFLAGS="$CFLAGS -DCPU=\\\"ppc64\\\"" 3229 HOST_CPU=ppc64 3230 ;; 3231 powerpc64le) 3232 CFLAGS="$CFLAGS -DCPU=\\\"ppc64le\\\"" 3233 HOST_CPU=ppc64le 3234 ;; 3235 powerpc*) 3236 CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" 3237 HOST_CPU=$host_cpu 3238 ;; 3239 sparc*) 3240 CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" 3241 HOST_CPU=$host_cpu 3242 ;; 3243 i?86|x86) 3244 CFLAGS="$CFLAGS -DCPU=\\\"i386\\\"" 3245 HOST_CPU=i386 3246 ;; 3247 x86_64 | amd64) 3248 CFLAGS="$CFLAGS -DCPU=\\\"amd64\\\"" 3249 HOST_CPU=amd64 3250 ;; 3251 bs2000) 3252 CFLAGS="$CFLAGS -DCPU=\\\"osd\\\" -DCHARSET_EBCDIC -DOSD_POSIX" 3253 supported_os="osd" 3254 LDFLAGS="-Kno_link_stdlibs -B llm4" 3255 LIBS="$LIBS -lBLSLIB" 3256 LDCMD="/opt/C/bin/cc" 3257 HOST_CPU=osd 3258 ;; 3259 mips*el) 3260 CFLAGS="$CFLAGS -DCPU=\\\"mipsel\\\"" 3261 HOST_CPU=mipsel 3262 ;; 3263 mips*) 3264 CFLAGS="$CFLAGS -DCPU=\\\"mips\\\"" 3265 HOST_CPU=mips 3266 ;; 3267 alpha*) 3268 CFLAGS="$CFLAGS -DCPU=\\\"alpha\\\"" 3269 HOST_CPU=alpha 3270 ;; 3271 hppa2.0w|hppa64) 3272 CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0W\\\" -DSO_EXT=\\\"sl\\\"" 3273 host_cpu=hppa2.0w 3274 HOST_CPU=PA_RISC2.0W 3275 ;; 3276 hppa2.0n|hppa32) 3277 CFLAGS="$CFLAGS -DCPU=\\\"PA_RISC2.0N\\\" -DSO_EXT=\\\"sl\\\"" 3278 HOST_CPU=PA_RISC2.0N 3279 ;; 3280 hppa2.0) 3281 if test "$host_os" = "hpux" 3282 then 3283 host_cpu=hppa2.0w 3284 HOST_CPU=PA_RISC2.0W 3285 else 3286 HOST_CPU=PA_RISC2.0 3287 fi 3288 CFLAGS="$CFLAGS -DCPU=\\\"$HOST_CPU\\\" -DSO_EXT=\\\"sl\\\"" 3289 ;; 3290 ia64w) 3291 CFLAGS="$CFLAGS -DCPU=\\\"IA64W\\\" -DSO_EXT=\\\"so\\\"" 3292 HOST_CPU=IA64W 3293 ;; 3294 ia64n) 3295 CFLAGS="$CFLAGS -DCPU=\\\"IA64N\\\" -DSO_EXT=\\\"so\\\"" 3296 HOST_CPU=IA64N 3297 ;; 3298 ia64) 3299 if test "$host_os" = "hpux" 3300 then 3301 CFLAGS="$CFLAGS -DCPU=\\\"IA64W\\\" -DSO_EXT=\\\"so\\\"" 3302 host_cpu=ia64w 3303 HOST_CPU=IA64W 3304 else 3305 CFLAGS="$CFLAGS -DCPU=\\\"ia64\\\"" 3306 HOST_CPU=ia64 3307 fi 3308 ;; 3309 sh*) 3310 CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\"" 3311 HOST_CPU=$host_cpu;; 3312 s390 | s390x) 3313 CFLAGS="$CFLAGS -DCPU=\\\"s390\\\"" 3314 HOST_CPU=s390 3315 ;; 3316 arm*) 3317 CFLAGS="$CFLAGS -DCPU=\\\"arm\\\"" 3318 HOST_CPU=arm 3319 ;; 3320 aarch64) 3321 CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\"" 3322 HOST_CPU=aarch64 3323 ;; 3324 *) 3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 3326$as_echo "failed" >&6; } 3327 as_fn_error $? "Unsupported CPU architecture \"$host_cpu\"" "$LINENO" 5;; 3328 esac 3329 3330 if test "x$GCC" = "xyes" 3331 then 3332 case $host_os-$host_cpu in 3333 hpux-ia64n) 3334 CFLAGS="-milp32 -pthread $CFLAGS" 3335 LDFLAGS="-milp32 -pthread $LDFLAGS" 3336 LIBS="$LIBS -lpthread" 3337 ;; 3338 hpux-ia64w) 3339 CFLAGS="-mlp64 -pthread $CFLAGS" 3340 LDFLAGS="-mlp64 -pthread $LDFLAGS" 3341 LIBS="$LIBS -lpthread" 3342 ;; 3343 hpux-*) 3344 CFLAGS="-pthread $CFLAGS" 3345 LDFLAGS="-pthread $LDFLAGS" 3346 LIBS="$LIBS -lpthread" 3347 ;; 3348 *) 3349 ;; 3350 esac 3351 else 3352 case $host_os-$host_cpu in 3353 hpux-ia64n|hpux-hppa2.0n) 3354 CFLAGS="+DD32 -mt $CFLAGS" 3355 LDFLAGS="+DD32 -mt $LDFLAGS" 3356 ;; 3357 hpux-ia64w|hpux-hppa2.0w) 3358 CFLAGS="+DD64 -mt $CFLAGS" 3359 LDFLAGS="+DD64 -mt $LDFLAGS" 3360 ;; 3361 hpux-*) 3362 CFLAGS="-mt $CFLAGS" 3363 LDFLAGS="-mt $LDFLAGS" 3364 ;; 3365 *) 3366 ;; 3367 esac 3368 fi 3369 3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 3371$as_echo "ok" >&6; } 3372 3373 3374 3375if test "$supported_os" = "darwin" 3376then 3377 if test -z "$JAVA_HOME" -a -x /usr/libexec/java_home 3378 then 3379 JAVA_HOME="`/usr/libexec/java_home 2>dev/null`" 3380 fi 3381 if test -z "$JAVA_HOME" -a -d /System/Library/Frameworks/JavaVM.framework/Home; then 3382 JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home 3383 fi 3384 3385 _prevdir=`/bin/pwd` 3386 if test -n "$JAVA_HOME" -a -d "$JAVA_HOME/include"; then 3387 cd "$JAVA_HOME/include" 3388 elif test -n "$JAVA_HOME" -a -d "$JAVA_HOME/../Headers"; then 3389 cd "$JAVA_HOME/../Headers" 3390 else 3391 cd /System/Library/Frameworks/JavaVM.framework/Headers 3392 fi 3393 INCLUDES="$INCLUDES -I`/bin/pwd -P`" 3394 cd $_prevdir 3395 unset _prevdir 3396fi 3397 3398 3399 printf "*** %s ***\n" "Java compilation tools" 1>&2 3400 3401 3402 3403 3404# Check whether --with-java was given. 3405if test "${with_java+set}" = set; then : 3406 withval=$with_java; 3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking JAVA_HOME" >&5 3408$as_echo_n "checking JAVA_HOME... " >&6; } 3409 if test -d "$withval" 3410 then 3411 JAVA_HOME="$withval" 3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA_HOME" >&5 3413$as_echo "$JAVA_HOME" >&6; } 3414 else 3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 3416$as_echo "failed" >&6; } 3417 as_fn_error $? "$withval is not a directory" "$LINENO" 5 3418 fi 3419 3420 3421fi 3422 3423 if test "x$JAVA_HOME" = x 3424 then 3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK location" >&5 3426$as_echo_n "checking for JDK location... " >&6; } 3427 # Oh well, nobody set JAVA_HOME, have to guess 3428 # Check if we have java in the PATH. 3429 java_prog="`which java 2>/dev/null || true`" 3430 if test "x$java_prog" != x 3431 then 3432 java_bin="`dirname $java_prog`" 3433 java_top="`dirname $java_bin`" 3434 if test -f "$java_top/include/jni.h" 3435 then 3436 JAVA_HOME="$java_top" 3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${java_top}" >&5 3438$as_echo "${java_top}" >&6; } 3439 fi 3440 fi 3441 fi 3442 if test x"$JAVA_HOME" = x 3443 then 3444 as_fn_error $? "Java Home not defined. Rerun with --with-java=... parameter" "$LINENO" 5 3445 fi 3446 3447if test -d $JAVA_HOME/Headers 3448then 3449 JAVA_INC=Headers 3450else 3451 JAVA_INC=include 3452fi 3453 3454 tempval="" 3455 JAVA_OS="" 3456 3457# Check whether --with-os-type was given. 3458if test "${with_os_type+set}" = set; then : 3459 withval=$with_os_type; 3460 tempval=$withval 3461 if test ! -d "$JAVA_HOME/$tempval" 3462 then 3463 as_fn_error $? "Not a directory: ${JAVA_HOME}/${tempval}" "$LINENO" 5 3464 fi 3465 JAVA_OS=$tempval 3466 3467else 3468 3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK os include directory" >&5 3470$as_echo_n "checking for JDK os include directory... " >&6; } 3471 JAVA_OS=NONE 3472 if test -f $JAVA_HOME/$JAVA_INC/jni_md.h 3473 then 3474 JAVA_OS="" 3475 else 3476 for f in $JAVA_HOME/$JAVA_INC/*/jni_md.h 3477 do 3478 if test -f $f; then 3479 JAVA_OS=`dirname $f` 3480 JAVA_OS=`basename $JAVA_OS` 3481 echo " $JAVA_OS" 3482 break 3483 fi 3484 done 3485 if test "x$JAVA_OS" = "xNONE"; then 3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cannot find jni_md.h in ${JAVA_HOME}/${OS}" >&5 3487$as_echo "Cannot find jni_md.h in ${JAVA_HOME}/${OS}" >&6; } 3488 as_fn_error $? "You should retry --with-os-type=SUBDIR" "$LINENO" 5 3489 fi 3490 fi 3491 3492fi 3493 3494 3495if test -z "${JAVA_OS}" 3496then 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: jni_md.h found in $JAVA_HOME/$JAVA_INC" >&5 3498$as_echo "jni_md.h found in $JAVA_HOME/$JAVA_INC" >&6; } 3499 INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/$JAVA_INC" 3500else 3501 INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/include/$JAVA_OS" 3502fi 3503 3504if test "$GCC" = "yes" 3505then 3506 CFLAGS="$CFLAGS -Wall -Wstrict-prototypes" 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc flags added" >&5 3508$as_echo "gcc flags added" >&6; } 3509fi 3510if test -z "$LDCMD" 3511then 3512 LDCMD="$CC" 3513fi 3514 3515if test "$supported_os" = "linux" 3516then 3517 3518ac_ext=c 3519ac_cpp='$CPP $CPPFLAGS' 3520ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3521ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3522ac_compiler_gnu=$ac_cv_c_compiler_gnu 3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3524$as_echo_n "checking how to run the C preprocessor... " >&6; } 3525# On Suns, sometimes $CPP names a directory. 3526if test -n "$CPP" && test -d "$CPP"; then 3527 CPP= 3528fi 3529if test -z "$CPP"; then 3530 if ${ac_cv_prog_CPP+:} false; then : 3531 $as_echo_n "(cached) " >&6 3532else 3533 # Double quotes because CPP needs to be expanded 3534 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3535 do 3536 ac_preproc_ok=false 3537for ac_c_preproc_warn_flag in '' yes 3538do 3539 # Use a header file that comes with gcc, so configuring glibc 3540 # with a fresh cross-compiler works. 3541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3542 # <limits.h> exists even on freestanding compilers. 3543 # On the NeXT, cc -E runs the code through the compiler's parser, 3544 # not just through cpp. "Syntax error" is here to catch this case. 3545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3546/* end confdefs.h. */ 3547#ifdef __STDC__ 3548# include <limits.h> 3549#else 3550# include <assert.h> 3551#endif 3552 Syntax error 3553_ACEOF 3554if ac_fn_c_try_cpp "$LINENO"; then : 3555 3556else 3557 # Broken: fails on valid input. 3558continue 3559fi 3560rm -f conftest.err conftest.i conftest.$ac_ext 3561 3562 # OK, works on sane cases. Now check whether nonexistent headers 3563 # can be detected and how. 3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3565/* end confdefs.h. */ 3566#include <ac_nonexistent.h> 3567_ACEOF 3568if ac_fn_c_try_cpp "$LINENO"; then : 3569 # Broken: success on invalid input. 3570continue 3571else 3572 # Passes both tests. 3573ac_preproc_ok=: 3574break 3575fi 3576rm -f conftest.err conftest.i conftest.$ac_ext 3577 3578done 3579# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3580rm -f conftest.i conftest.err conftest.$ac_ext 3581if $ac_preproc_ok; then : 3582 break 3583fi 3584 3585 done 3586 ac_cv_prog_CPP=$CPP 3587 3588fi 3589 CPP=$ac_cv_prog_CPP 3590else 3591 ac_cv_prog_CPP=$CPP 3592fi 3593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3594$as_echo "$CPP" >&6; } 3595ac_preproc_ok=false 3596for ac_c_preproc_warn_flag in '' yes 3597do 3598 # Use a header file that comes with gcc, so configuring glibc 3599 # with a fresh cross-compiler works. 3600 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3601 # <limits.h> exists even on freestanding compilers. 3602 # On the NeXT, cc -E runs the code through the compiler's parser, 3603 # not just through cpp. "Syntax error" is here to catch this case. 3604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3605/* end confdefs.h. */ 3606#ifdef __STDC__ 3607# include <limits.h> 3608#else 3609# include <assert.h> 3610#endif 3611 Syntax error 3612_ACEOF 3613if ac_fn_c_try_cpp "$LINENO"; then : 3614 3615else 3616 # Broken: fails on valid input. 3617continue 3618fi 3619rm -f conftest.err conftest.i conftest.$ac_ext 3620 3621 # OK, works on sane cases. Now check whether nonexistent headers 3622 # can be detected and how. 3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3624/* end confdefs.h. */ 3625#include <ac_nonexistent.h> 3626_ACEOF 3627if ac_fn_c_try_cpp "$LINENO"; then : 3628 # Broken: success on invalid input. 3629continue 3630else 3631 # Passes both tests. 3632ac_preproc_ok=: 3633break 3634fi 3635rm -f conftest.err conftest.i conftest.$ac_ext 3636 3637done 3638# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3639rm -f conftest.i conftest.err conftest.$ac_ext 3640if $ac_preproc_ok; then : 3641 3642else 3643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3644$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3645as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3646See \`config.log' for more details" "$LINENO" 5; } 3647fi 3648 3649ac_ext=c 3650ac_cpp='$CPP $CPPFLAGS' 3651ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3652ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3653ac_compiler_gnu=$ac_cv_c_compiler_gnu 3654 3655 3656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3657$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3658if ${ac_cv_path_GREP+:} false; then : 3659 $as_echo_n "(cached) " >&6 3660else 3661 if test -z "$GREP"; then 3662 ac_path_GREP_found=false 3663 # Loop through the user's path and test for each of PROGNAME-LIST 3664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3665for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3666do 3667 IFS=$as_save_IFS 3668 test -z "$as_dir" && as_dir=. 3669 for ac_prog in grep ggrep; do 3670 for ac_exec_ext in '' $ac_executable_extensions; do 3671 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3672 as_fn_executable_p "$ac_path_GREP" || continue 3673# Check for GNU ac_path_GREP and select it if it is found. 3674 # Check for GNU $ac_path_GREP 3675case `"$ac_path_GREP" --version 2>&1` in 3676*GNU*) 3677 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3678*) 3679 ac_count=0 3680 $as_echo_n 0123456789 >"conftest.in" 3681 while : 3682 do 3683 cat "conftest.in" "conftest.in" >"conftest.tmp" 3684 mv "conftest.tmp" "conftest.in" 3685 cp "conftest.in" "conftest.nl" 3686 $as_echo 'GREP' >> "conftest.nl" 3687 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3688 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3689 as_fn_arith $ac_count + 1 && ac_count=$as_val 3690 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3691 # Best one so far, save it but keep looking for a better one 3692 ac_cv_path_GREP="$ac_path_GREP" 3693 ac_path_GREP_max=$ac_count 3694 fi 3695 # 10*(2^10) chars as input seems more than enough 3696 test $ac_count -gt 10 && break 3697 done 3698 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3699esac 3700 3701 $ac_path_GREP_found && break 3 3702 done 3703 done 3704 done 3705IFS=$as_save_IFS 3706 if test -z "$ac_cv_path_GREP"; then 3707 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3708 fi 3709else 3710 ac_cv_path_GREP=$GREP 3711fi 3712 3713fi 3714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3715$as_echo "$ac_cv_path_GREP" >&6; } 3716 GREP="$ac_cv_path_GREP" 3717 3718 3719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3720$as_echo_n "checking for egrep... " >&6; } 3721if ${ac_cv_path_EGREP+:} false; then : 3722 $as_echo_n "(cached) " >&6 3723else 3724 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3725 then ac_cv_path_EGREP="$GREP -E" 3726 else 3727 if test -z "$EGREP"; then 3728 ac_path_EGREP_found=false 3729 # Loop through the user's path and test for each of PROGNAME-LIST 3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3731for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3732do 3733 IFS=$as_save_IFS 3734 test -z "$as_dir" && as_dir=. 3735 for ac_prog in egrep; do 3736 for ac_exec_ext in '' $ac_executable_extensions; do 3737 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3738 as_fn_executable_p "$ac_path_EGREP" || continue 3739# Check for GNU ac_path_EGREP and select it if it is found. 3740 # Check for GNU $ac_path_EGREP 3741case `"$ac_path_EGREP" --version 2>&1` in 3742*GNU*) 3743 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3744*) 3745 ac_count=0 3746 $as_echo_n 0123456789 >"conftest.in" 3747 while : 3748 do 3749 cat "conftest.in" "conftest.in" >"conftest.tmp" 3750 mv "conftest.tmp" "conftest.in" 3751 cp "conftest.in" "conftest.nl" 3752 $as_echo 'EGREP' >> "conftest.nl" 3753 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3754 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3755 as_fn_arith $ac_count + 1 && ac_count=$as_val 3756 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3757 # Best one so far, save it but keep looking for a better one 3758 ac_cv_path_EGREP="$ac_path_EGREP" 3759 ac_path_EGREP_max=$ac_count 3760 fi 3761 # 10*(2^10) chars as input seems more than enough 3762 test $ac_count -gt 10 && break 3763 done 3764 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3765esac 3766 3767 $ac_path_EGREP_found && break 3 3768 done 3769 done 3770 done 3771IFS=$as_save_IFS 3772 if test -z "$ac_cv_path_EGREP"; then 3773 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3774 fi 3775else 3776 ac_cv_path_EGREP=$EGREP 3777fi 3778 3779 fi 3780fi 3781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3782$as_echo "$ac_cv_path_EGREP" >&6; } 3783 EGREP="$ac_cv_path_EGREP" 3784 3785 3786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3787$as_echo_n "checking for ANSI C header files... " >&6; } 3788if ${ac_cv_header_stdc+:} false; then : 3789 $as_echo_n "(cached) " >&6 3790else 3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3792/* end confdefs.h. */ 3793#include <stdlib.h> 3794#include <stdarg.h> 3795#include <string.h> 3796#include <float.h> 3797 3798int 3799main () 3800{ 3801 3802 ; 3803 return 0; 3804} 3805_ACEOF 3806if ac_fn_c_try_compile "$LINENO"; then : 3807 ac_cv_header_stdc=yes 3808else 3809 ac_cv_header_stdc=no 3810fi 3811rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3812 3813if test $ac_cv_header_stdc = yes; then 3814 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3816/* end confdefs.h. */ 3817#include <string.h> 3818 3819_ACEOF 3820if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3821 $EGREP "memchr" >/dev/null 2>&1; then : 3822 3823else 3824 ac_cv_header_stdc=no 3825fi 3826rm -f conftest* 3827 3828fi 3829 3830if test $ac_cv_header_stdc = yes; then 3831 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3833/* end confdefs.h. */ 3834#include <stdlib.h> 3835 3836_ACEOF 3837if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3838 $EGREP "free" >/dev/null 2>&1; then : 3839 3840else 3841 ac_cv_header_stdc=no 3842fi 3843rm -f conftest* 3844 3845fi 3846 3847if test $ac_cv_header_stdc = yes; then 3848 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3849 if test "$cross_compiling" = yes; then : 3850 : 3851else 3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3853/* end confdefs.h. */ 3854#include <ctype.h> 3855#include <stdlib.h> 3856#if ((' ' & 0x0FF) == 0x020) 3857# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3858# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3859#else 3860# define ISLOWER(c) \ 3861 (('a' <= (c) && (c) <= 'i') \ 3862 || ('j' <= (c) && (c) <= 'r') \ 3863 || ('s' <= (c) && (c) <= 'z')) 3864# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3865#endif 3866 3867#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3868int 3869main () 3870{ 3871 int i; 3872 for (i = 0; i < 256; i++) 3873 if (XOR (islower (i), ISLOWER (i)) 3874 || toupper (i) != TOUPPER (i)) 3875 return 2; 3876 return 0; 3877} 3878_ACEOF 3879if ac_fn_c_try_run "$LINENO"; then : 3880 3881else 3882 ac_cv_header_stdc=no 3883fi 3884rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3885 conftest.$ac_objext conftest.beam conftest.$ac_ext 3886fi 3887 3888fi 3889fi 3890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3891$as_echo "$ac_cv_header_stdc" >&6; } 3892if test $ac_cv_header_stdc = yes; then 3893 3894$as_echo "#define STDC_HEADERS 1" >>confdefs.h 3895 3896fi 3897 3898# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3899for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3900 inttypes.h stdint.h unistd.h 3901do : 3902 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3903ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3904" 3905if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3906 cat >>confdefs.h <<_ACEOF 3907#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3908_ACEOF 3909 3910fi 3911 3912done 3913 3914 3915ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default" 3916if test "x$ac_cv_header_sys_capability_h" = xyes; then : 3917 CFLAGS="$CFLAGS -DHAVE_LIBCAP" 3918else 3919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find headers for libcap" >&5 3920$as_echo "$as_me: WARNING: cannot find headers for libcap" >&2;} 3921fi 3922 3923 3924fi 3925 3926if test -z "$STRIPFLAGS" 3927then 3928 STRIP="@: " 3929else 3930 STRIP="$STRIP $STRIPFLAGS" 3931fi 3932 3933 3934 3935 printf "*** %s ***\n" "Writing output files" 1>&2 3936 3937 3938ac_config_files="$ac_config_files Makefile Makedefs native/Makefile" 3939 3940cat >confcache <<\_ACEOF 3941# This file is a shell script that caches the results of configure 3942# tests run on this system so they can be shared between configure 3943# scripts and configure runs, see configure's option --config-cache. 3944# It is not useful on other systems. If it contains results you don't 3945# want to keep, you may remove or edit it. 3946# 3947# config.status only pays attention to the cache file if you give it 3948# the --recheck option to rerun configure. 3949# 3950# `ac_cv_env_foo' variables (set or unset) will be overridden when 3951# loading this file, other *unset* `ac_cv_foo' will be assigned the 3952# following values. 3953 3954_ACEOF 3955 3956# The following way of writing the cache mishandles newlines in values, 3957# but we know of no workaround that is simple, portable, and efficient. 3958# So, we kill variables containing newlines. 3959# Ultrix sh set writes to stderr and can't be redirected directly, 3960# and sets the high bit in the cache file unless we assign to the vars. 3961( 3962 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3963 eval ac_val=\$$ac_var 3964 case $ac_val in #( 3965 *${as_nl}*) 3966 case $ac_var in #( 3967 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3968$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3969 esac 3970 case $ac_var in #( 3971 _ | IFS | as_nl) ;; #( 3972 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3973 *) { eval $ac_var=; unset $ac_var;} ;; 3974 esac ;; 3975 esac 3976 done 3977 3978 (set) 2>&1 | 3979 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3980 *${as_nl}ac_space=\ *) 3981 # `set' does not quote correctly, so add quotes: double-quote 3982 # substitution turns \\\\ into \\, and sed turns \\ into \. 3983 sed -n \ 3984 "s/'/'\\\\''/g; 3985 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3986 ;; #( 3987 *) 3988 # `set' quotes correctly as required by POSIX, so do not add quotes. 3989 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3990 ;; 3991 esac | 3992 sort 3993) | 3994 sed ' 3995 /^ac_cv_env_/b end 3996 t clear 3997 :clear 3998 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3999 t end 4000 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4001 :end' >>confcache 4002if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4003 if test -w "$cache_file"; then 4004 if test "x$cache_file" != "x/dev/null"; then 4005 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4006$as_echo "$as_me: updating cache $cache_file" >&6;} 4007 if test ! -f "$cache_file" || test -h "$cache_file"; then 4008 cat confcache >"$cache_file" 4009 else 4010 case $cache_file in #( 4011 */* | ?:*) 4012 mv -f confcache "$cache_file"$$ && 4013 mv -f "$cache_file"$$ "$cache_file" ;; #( 4014 *) 4015 mv -f confcache "$cache_file" ;; 4016 esac 4017 fi 4018 fi 4019 else 4020 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4021$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4022 fi 4023fi 4024rm -f confcache 4025 4026test "x$prefix" = xNONE && prefix=$ac_default_prefix 4027# Let make expand exec_prefix. 4028test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4029 4030# Transform confdefs.h into DEFS. 4031# Protect against shell expansion while executing Makefile rules. 4032# Protect against Makefile macro expansion. 4033# 4034# If the first sed substitution is executed (which looks for macros that 4035# take arguments), then branch to the quote section. Otherwise, 4036# look for a macro that doesn't take arguments. 4037ac_script=' 4038:mline 4039/\\$/{ 4040 N 4041 s,\\\n,, 4042 b mline 4043} 4044t clear 4045:clear 4046s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4047t quote 4048s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4049t quote 4050b any 4051:quote 4052s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 4053s/\[/\\&/g 4054s/\]/\\&/g 4055s/\$/$$/g 4056H 4057:any 4058${ 4059 g 4060 s/^\n// 4061 s/\n/ /g 4062 p 4063} 4064' 4065DEFS=`sed -n "$ac_script" confdefs.h` 4066 4067 4068ac_libobjs= 4069ac_ltlibobjs= 4070U= 4071for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4072 # 1. Remove the extension, and $U if already installed. 4073 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4074 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4075 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4076 # will be set to the directory where LIBOBJS objects are built. 4077 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4078 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4079done 4080LIBOBJS=$ac_libobjs 4081 4082LTLIBOBJS=$ac_ltlibobjs 4083 4084 4085 4086: "${CONFIG_STATUS=./config.status}" 4087ac_write_fail=0 4088ac_clean_files_save=$ac_clean_files 4089ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4090{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4091$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4092as_write_fail=0 4093cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4094#! $SHELL 4095# Generated by $as_me. 4096# Run this file to recreate the current configuration. 4097# Compiler output produced by configure, useful for debugging 4098# configure, is in config.log if it exists. 4099 4100debug=false 4101ac_cs_recheck=false 4102ac_cs_silent=false 4103 4104SHELL=\${CONFIG_SHELL-$SHELL} 4105export SHELL 4106_ASEOF 4107cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4108## -------------------- ## 4109## M4sh Initialization. ## 4110## -------------------- ## 4111 4112# Be more Bourne compatible 4113DUALCASE=1; export DUALCASE # for MKS sh 4114if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4115 emulate sh 4116 NULLCMD=: 4117 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4118 # is contrary to our usage. Disable this feature. 4119 alias -g '${1+"$@"}'='"$@"' 4120 setopt NO_GLOB_SUBST 4121else 4122 case `(set -o) 2>/dev/null` in #( 4123 *posix*) : 4124 set -o posix ;; #( 4125 *) : 4126 ;; 4127esac 4128fi 4129 4130 4131as_nl=' 4132' 4133export as_nl 4134# Printing a long string crashes Solaris 7 /usr/bin/printf. 4135as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4136as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4137as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4138# Prefer a ksh shell builtin over an external printf program on Solaris, 4139# but without wasting forks for bash or zsh. 4140if test -z "$BASH_VERSION$ZSH_VERSION" \ 4141 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4142 as_echo='print -r --' 4143 as_echo_n='print -rn --' 4144elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4145 as_echo='printf %s\n' 4146 as_echo_n='printf %s' 4147else 4148 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4149 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4150 as_echo_n='/usr/ucb/echo -n' 4151 else 4152 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4153 as_echo_n_body='eval 4154 arg=$1; 4155 case $arg in #( 4156 *"$as_nl"*) 4157 expr "X$arg" : "X\\(.*\\)$as_nl"; 4158 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4159 esac; 4160 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4161 ' 4162 export as_echo_n_body 4163 as_echo_n='sh -c $as_echo_n_body as_echo' 4164 fi 4165 export as_echo_body 4166 as_echo='sh -c $as_echo_body as_echo' 4167fi 4168 4169# The user is always right. 4170if test "${PATH_SEPARATOR+set}" != set; then 4171 PATH_SEPARATOR=: 4172 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4173 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4174 PATH_SEPARATOR=';' 4175 } 4176fi 4177 4178 4179# IFS 4180# We need space, tab and new line, in precisely that order. Quoting is 4181# there to prevent editors from complaining about space-tab. 4182# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4183# splitting by setting IFS to empty value.) 4184IFS=" "" $as_nl" 4185 4186# Find who we are. Look in the path if we contain no directory separator. 4187as_myself= 4188case $0 in #(( 4189 *[\\/]* ) as_myself=$0 ;; 4190 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4191for as_dir in $PATH 4192do 4193 IFS=$as_save_IFS 4194 test -z "$as_dir" && as_dir=. 4195 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4196 done 4197IFS=$as_save_IFS 4198 4199 ;; 4200esac 4201# We did not find ourselves, most probably we were run as `sh COMMAND' 4202# in which case we are not to be found in the path. 4203if test "x$as_myself" = x; then 4204 as_myself=$0 4205fi 4206if test ! -f "$as_myself"; then 4207 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4208 exit 1 4209fi 4210 4211# Unset variables that we do not need and which cause bugs (e.g. in 4212# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4213# suppresses any "Segmentation fault" message there. '((' could 4214# trigger a bug in pdksh 5.2.14. 4215for as_var in BASH_ENV ENV MAIL MAILPATH 4216do eval test x\${$as_var+set} = xset \ 4217 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4218done 4219PS1='$ ' 4220PS2='> ' 4221PS4='+ ' 4222 4223# NLS nuisances. 4224LC_ALL=C 4225export LC_ALL 4226LANGUAGE=C 4227export LANGUAGE 4228 4229# CDPATH. 4230(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4231 4232 4233# as_fn_error STATUS ERROR [LINENO LOG_FD] 4234# ---------------------------------------- 4235# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4236# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4237# script with STATUS, using 1 if that was 0. 4238as_fn_error () 4239{ 4240 as_status=$1; test $as_status -eq 0 && as_status=1 4241 if test "$4"; then 4242 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4243 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4244 fi 4245 $as_echo "$as_me: error: $2" >&2 4246 as_fn_exit $as_status 4247} # as_fn_error 4248 4249 4250# as_fn_set_status STATUS 4251# ----------------------- 4252# Set $? to STATUS, without forking. 4253as_fn_set_status () 4254{ 4255 return $1 4256} # as_fn_set_status 4257 4258# as_fn_exit STATUS 4259# ----------------- 4260# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4261as_fn_exit () 4262{ 4263 set +e 4264 as_fn_set_status $1 4265 exit $1 4266} # as_fn_exit 4267 4268# as_fn_unset VAR 4269# --------------- 4270# Portably unset VAR. 4271as_fn_unset () 4272{ 4273 { eval $1=; unset $1;} 4274} 4275as_unset=as_fn_unset 4276# as_fn_append VAR VALUE 4277# ---------------------- 4278# Append the text in VALUE to the end of the definition contained in VAR. Take 4279# advantage of any shell optimizations that allow amortized linear growth over 4280# repeated appends, instead of the typical quadratic growth present in naive 4281# implementations. 4282if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4283 eval 'as_fn_append () 4284 { 4285 eval $1+=\$2 4286 }' 4287else 4288 as_fn_append () 4289 { 4290 eval $1=\$$1\$2 4291 } 4292fi # as_fn_append 4293 4294# as_fn_arith ARG... 4295# ------------------ 4296# Perform arithmetic evaluation on the ARGs, and store the result in the 4297# global $as_val. Take advantage of shells that can avoid forks. The arguments 4298# must be portable across $(()) and expr. 4299if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4300 eval 'as_fn_arith () 4301 { 4302 as_val=$(( $* )) 4303 }' 4304else 4305 as_fn_arith () 4306 { 4307 as_val=`expr "$@" || test $? -eq 1` 4308 } 4309fi # as_fn_arith 4310 4311 4312if expr a : '\(a\)' >/dev/null 2>&1 && 4313 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4314 as_expr=expr 4315else 4316 as_expr=false 4317fi 4318 4319if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4320 as_basename=basename 4321else 4322 as_basename=false 4323fi 4324 4325if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4326 as_dirname=dirname 4327else 4328 as_dirname=false 4329fi 4330 4331as_me=`$as_basename -- "$0" || 4332$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4333 X"$0" : 'X\(//\)$' \| \ 4334 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4335$as_echo X/"$0" | 4336 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4337 s//\1/ 4338 q 4339 } 4340 /^X\/\(\/\/\)$/{ 4341 s//\1/ 4342 q 4343 } 4344 /^X\/\(\/\).*/{ 4345 s//\1/ 4346 q 4347 } 4348 s/.*/./; q'` 4349 4350# Avoid depending upon Character Ranges. 4351as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4352as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4353as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4354as_cr_digits='0123456789' 4355as_cr_alnum=$as_cr_Letters$as_cr_digits 4356 4357ECHO_C= ECHO_N= ECHO_T= 4358case `echo -n x` in #((((( 4359-n*) 4360 case `echo 'xy\c'` in 4361 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4362 xy) ECHO_C='\c';; 4363 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4364 ECHO_T=' ';; 4365 esac;; 4366*) 4367 ECHO_N='-n';; 4368esac 4369 4370rm -f conf$$ conf$$.exe conf$$.file 4371if test -d conf$$.dir; then 4372 rm -f conf$$.dir/conf$$.file 4373else 4374 rm -f conf$$.dir 4375 mkdir conf$$.dir 2>/dev/null 4376fi 4377if (echo >conf$$.file) 2>/dev/null; then 4378 if ln -s conf$$.file conf$$ 2>/dev/null; then 4379 as_ln_s='ln -s' 4380 # ... but there are two gotchas: 4381 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4382 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4383 # In both cases, we have to default to `cp -pR'. 4384 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4385 as_ln_s='cp -pR' 4386 elif ln conf$$.file conf$$ 2>/dev/null; then 4387 as_ln_s=ln 4388 else 4389 as_ln_s='cp -pR' 4390 fi 4391else 4392 as_ln_s='cp -pR' 4393fi 4394rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4395rmdir conf$$.dir 2>/dev/null 4396 4397 4398# as_fn_mkdir_p 4399# ------------- 4400# Create "$as_dir" as a directory, including parents if necessary. 4401as_fn_mkdir_p () 4402{ 4403 4404 case $as_dir in #( 4405 -*) as_dir=./$as_dir;; 4406 esac 4407 test -d "$as_dir" || eval $as_mkdir_p || { 4408 as_dirs= 4409 while :; do 4410 case $as_dir in #( 4411 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4412 *) as_qdir=$as_dir;; 4413 esac 4414 as_dirs="'$as_qdir' $as_dirs" 4415 as_dir=`$as_dirname -- "$as_dir" || 4416$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4417 X"$as_dir" : 'X\(//\)[^/]' \| \ 4418 X"$as_dir" : 'X\(//\)$' \| \ 4419 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4420$as_echo X"$as_dir" | 4421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4422 s//\1/ 4423 q 4424 } 4425 /^X\(\/\/\)[^/].*/{ 4426 s//\1/ 4427 q 4428 } 4429 /^X\(\/\/\)$/{ 4430 s//\1/ 4431 q 4432 } 4433 /^X\(\/\).*/{ 4434 s//\1/ 4435 q 4436 } 4437 s/.*/./; q'` 4438 test -d "$as_dir" && break 4439 done 4440 test -z "$as_dirs" || eval "mkdir $as_dirs" 4441 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 4442 4443 4444} # as_fn_mkdir_p 4445if mkdir -p . 2>/dev/null; then 4446 as_mkdir_p='mkdir -p "$as_dir"' 4447else 4448 test -d ./-p && rmdir ./-p 4449 as_mkdir_p=false 4450fi 4451 4452 4453# as_fn_executable_p FILE 4454# ----------------------- 4455# Test if FILE is an executable regular file. 4456as_fn_executable_p () 4457{ 4458 test -f "$1" && test -x "$1" 4459} # as_fn_executable_p 4460as_test_x='test -x' 4461as_executable_p=as_fn_executable_p 4462 4463# Sed expression to map a string onto a valid CPP name. 4464as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4465 4466# Sed expression to map a string onto a valid variable name. 4467as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4468 4469 4470exec 6>&1 4471## ----------------------------------- ## 4472## Main body of $CONFIG_STATUS script. ## 4473## ----------------------------------- ## 4474_ASEOF 4475test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4476 4477cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4478# Save the log message, to keep $0 and so on meaningful, and to 4479# report actual input values of CONFIG_FILES etc. instead of their 4480# values after options handling. 4481ac_log=" 4482This file was extended by $as_me, which was 4483generated by GNU Autoconf 2.69. Invocation command line was 4484 4485 CONFIG_FILES = $CONFIG_FILES 4486 CONFIG_HEADERS = $CONFIG_HEADERS 4487 CONFIG_LINKS = $CONFIG_LINKS 4488 CONFIG_COMMANDS = $CONFIG_COMMANDS 4489 $ $0 $@ 4490 4491on `(hostname || uname -n) 2>/dev/null | sed 1q` 4492" 4493 4494_ACEOF 4495 4496case $ac_config_files in *" 4497"*) set x $ac_config_files; shift; ac_config_files=$*;; 4498esac 4499 4500 4501 4502cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4503# Files that config.status was made for. 4504config_files="$ac_config_files" 4505 4506_ACEOF 4507 4508cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4509ac_cs_usage="\ 4510\`$as_me' instantiates files and other configuration actions 4511from templates according to the current configuration. Unless the files 4512and actions are specified as TAGs, all are instantiated by default. 4513 4514Usage: $0 [OPTION]... [TAG]... 4515 4516 -h, --help print this help, then exit 4517 -V, --version print version number and configuration settings, then exit 4518 --config print configuration, then exit 4519 -q, --quiet, --silent 4520 do not print progress messages 4521 -d, --debug don't remove temporary files 4522 --recheck update $as_me by reconfiguring in the same conditions 4523 --file=FILE[:TEMPLATE] 4524 instantiate the configuration file FILE 4525 4526Configuration files: 4527$config_files 4528 4529Report bugs to the package provider." 4530 4531_ACEOF 4532cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4533ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4534ac_cs_version="\\ 4535config.status 4536configured by $0, generated by GNU Autoconf 2.69, 4537 with options \\"\$ac_cs_config\\" 4538 4539Copyright (C) 2012 Free Software Foundation, Inc. 4540This config.status script is free software; the Free Software Foundation 4541gives unlimited permission to copy, distribute and modify it." 4542 4543ac_pwd='$ac_pwd' 4544srcdir='$srcdir' 4545test -n "\$AWK" || AWK=awk 4546_ACEOF 4547 4548cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4549# The default lists apply if the user does not specify any file. 4550ac_need_defaults=: 4551while test $# != 0 4552do 4553 case $1 in 4554 --*=?*) 4555 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4556 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4557 ac_shift=: 4558 ;; 4559 --*=) 4560 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4561 ac_optarg= 4562 ac_shift=: 4563 ;; 4564 *) 4565 ac_option=$1 4566 ac_optarg=$2 4567 ac_shift=shift 4568 ;; 4569 esac 4570 4571 case $ac_option in 4572 # Handling of the options. 4573 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4574 ac_cs_recheck=: ;; 4575 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4576 $as_echo "$ac_cs_version"; exit ;; 4577 --config | --confi | --conf | --con | --co | --c ) 4578 $as_echo "$ac_cs_config"; exit ;; 4579 --debug | --debu | --deb | --de | --d | -d ) 4580 debug=: ;; 4581 --file | --fil | --fi | --f ) 4582 $ac_shift 4583 case $ac_optarg in 4584 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4585 '') as_fn_error $? "missing file argument" ;; 4586 esac 4587 as_fn_append CONFIG_FILES " '$ac_optarg'" 4588 ac_need_defaults=false;; 4589 --he | --h | --help | --hel | -h ) 4590 $as_echo "$ac_cs_usage"; exit ;; 4591 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4592 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4593 ac_cs_silent=: ;; 4594 4595 # This is an error. 4596 -*) as_fn_error $? "unrecognized option: \`$1' 4597Try \`$0 --help' for more information." ;; 4598 4599 *) as_fn_append ac_config_targets " $1" 4600 ac_need_defaults=false ;; 4601 4602 esac 4603 shift 4604done 4605 4606ac_configure_extra_args= 4607 4608if $ac_cs_silent; then 4609 exec 6>/dev/null 4610 ac_configure_extra_args="$ac_configure_extra_args --silent" 4611fi 4612 4613_ACEOF 4614cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4615if \$ac_cs_recheck; then 4616 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4617 shift 4618 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4619 CONFIG_SHELL='$SHELL' 4620 export CONFIG_SHELL 4621 exec "\$@" 4622fi 4623 4624_ACEOF 4625cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4626exec 5>>config.log 4627{ 4628 echo 4629 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4630## Running $as_me. ## 4631_ASBOX 4632 $as_echo "$ac_log" 4633} >&5 4634 4635_ACEOF 4636cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4637_ACEOF 4638 4639cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4640 4641# Handling of arguments. 4642for ac_config_target in $ac_config_targets 4643do 4644 case $ac_config_target in 4645 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4646 "Makedefs") CONFIG_FILES="$CONFIG_FILES Makedefs" ;; 4647 "native/Makefile") CONFIG_FILES="$CONFIG_FILES native/Makefile" ;; 4648 4649 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4650 esac 4651done 4652 4653 4654# If the user did not use the arguments to specify the items to instantiate, 4655# then the envvar interface is used. Set only those that are not. 4656# We use the long form for the default assignment because of an extremely 4657# bizarre bug on SunOS 4.1.3. 4658if $ac_need_defaults; then 4659 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4660fi 4661 4662# Have a temporary directory for convenience. Make it in the build tree 4663# simply because there is no reason against having it here, and in addition, 4664# creating and moving files from /tmp can sometimes cause problems. 4665# Hook for its removal unless debugging. 4666# Note that there is a small window in which the directory will not be cleaned: 4667# after its creation but before its name has been assigned to `$tmp'. 4668$debug || 4669{ 4670 tmp= ac_tmp= 4671 trap 'exit_status=$? 4672 : "${ac_tmp:=$tmp}" 4673 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4674' 0 4675 trap 'as_fn_exit 1' 1 2 13 15 4676} 4677# Create a (secure) tmp directory for tmp files. 4678 4679{ 4680 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4681 test -d "$tmp" 4682} || 4683{ 4684 tmp=./conf$$-$RANDOM 4685 (umask 077 && mkdir "$tmp") 4686} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4687ac_tmp=$tmp 4688 4689# Set up the scripts for CONFIG_FILES section. 4690# No need to generate them if there are no CONFIG_FILES. 4691# This happens for instance with `./config.status config.h'. 4692if test -n "$CONFIG_FILES"; then 4693 4694 4695ac_cr=`echo X | tr X '\015'` 4696# On cygwin, bash can eat \r inside `` if the user requested igncr. 4697# But we know of no other shell where ac_cr would be empty at this 4698# point, so we can use a bashism as a fallback. 4699if test "x$ac_cr" = x; then 4700 eval ac_cr=\$\'\\r\' 4701fi 4702ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4703if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4704 ac_cs_awk_cr='\\r' 4705else 4706 ac_cs_awk_cr=$ac_cr 4707fi 4708 4709echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4710_ACEOF 4711 4712 4713{ 4714 echo "cat >conf$$subs.awk <<_ACEOF" && 4715 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4716 echo "_ACEOF" 4717} >conf$$subs.sh || 4718 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4719ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4720ac_delim='%!_!# ' 4721for ac_last_try in false false false false false :; do 4722 . ./conf$$subs.sh || 4723 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4724 4725 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4726 if test $ac_delim_n = $ac_delim_num; then 4727 break 4728 elif $ac_last_try; then 4729 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4730 else 4731 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4732 fi 4733done 4734rm -f conf$$subs.sh 4735 4736cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4737cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4738_ACEOF 4739sed -n ' 4740h 4741s/^/S["/; s/!.*/"]=/ 4742p 4743g 4744s/^[^!]*!// 4745:repl 4746t repl 4747s/'"$ac_delim"'$// 4748t delim 4749:nl 4750h 4751s/\(.\{148\}\)..*/\1/ 4752t more1 4753s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4754p 4755n 4756b repl 4757:more1 4758s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4759p 4760g 4761s/.\{148\}// 4762t nl 4763:delim 4764h 4765s/\(.\{148\}\)..*/\1/ 4766t more2 4767s/["\\]/\\&/g; s/^/"/; s/$/"/ 4768p 4769b 4770:more2 4771s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4772p 4773g 4774s/.\{148\}// 4775t delim 4776' <conf$$subs.awk | sed ' 4777/^[^""]/{ 4778 N 4779 s/\n// 4780} 4781' >>$CONFIG_STATUS || ac_write_fail=1 4782rm -f conf$$subs.awk 4783cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4784_ACAWK 4785cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4786 for (key in S) S_is_set[key] = 1 4787 FS = "" 4788 4789} 4790{ 4791 line = $ 0 4792 nfields = split(line, field, "@") 4793 substed = 0 4794 len = length(field[1]) 4795 for (i = 2; i < nfields; i++) { 4796 key = field[i] 4797 keylen = length(key) 4798 if (S_is_set[key]) { 4799 value = S[key] 4800 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4801 len += length(value) + length(field[++i]) 4802 substed = 1 4803 } else 4804 len += 1 + keylen 4805 } 4806 4807 print line 4808} 4809 4810_ACAWK 4811_ACEOF 4812cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4813if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4814 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4815else 4816 cat 4817fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4818 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4819_ACEOF 4820 4821# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4822# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4823# trailing colons and then remove the whole line if VPATH becomes empty 4824# (actually we leave an empty line to preserve line numbers). 4825if test "x$srcdir" = x.; then 4826 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4827h 4828s/// 4829s/^/:/ 4830s/[ ]*$/:/ 4831s/:\$(srcdir):/:/g 4832s/:\${srcdir}:/:/g 4833s/:@srcdir@:/:/g 4834s/^:*// 4835s/:*$// 4836x 4837s/\(=[ ]*\).*/\1/ 4838G 4839s/\n// 4840s/^[^=]*=[ ]*$// 4841}' 4842fi 4843 4844cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4845fi # test -n "$CONFIG_FILES" 4846 4847 4848eval set X " :F $CONFIG_FILES " 4849shift 4850for ac_tag 4851do 4852 case $ac_tag in 4853 :[FHLC]) ac_mode=$ac_tag; continue;; 4854 esac 4855 case $ac_mode$ac_tag in 4856 :[FHL]*:*);; 4857 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4858 :[FH]-) ac_tag=-:-;; 4859 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4860 esac 4861 ac_save_IFS=$IFS 4862 IFS=: 4863 set x $ac_tag 4864 IFS=$ac_save_IFS 4865 shift 4866 ac_file=$1 4867 shift 4868 4869 case $ac_mode in 4870 :L) ac_source=$1;; 4871 :[FH]) 4872 ac_file_inputs= 4873 for ac_f 4874 do 4875 case $ac_f in 4876 -) ac_f="$ac_tmp/stdin";; 4877 *) # Look for the file first in the build tree, then in the source tree 4878 # (if the path is not absolute). The absolute path cannot be DOS-style, 4879 # because $ac_f cannot contain `:'. 4880 test -f "$ac_f" || 4881 case $ac_f in 4882 [\\/$]*) false;; 4883 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4884 esac || 4885 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4886 esac 4887 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4888 as_fn_append ac_file_inputs " '$ac_f'" 4889 done 4890 4891 # Let's still pretend it is `configure' which instantiates (i.e., don't 4892 # use $as_me), people would be surprised to read: 4893 # /* config.h. Generated by config.status. */ 4894 configure_input='Generated from '` 4895 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4896 `' by configure.' 4897 if test x"$ac_file" != x-; then 4898 configure_input="$ac_file. $configure_input" 4899 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4900$as_echo "$as_me: creating $ac_file" >&6;} 4901 fi 4902 # Neutralize special characters interpreted by sed in replacement strings. 4903 case $configure_input in #( 4904 *\&* | *\|* | *\\* ) 4905 ac_sed_conf_input=`$as_echo "$configure_input" | 4906 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4907 *) ac_sed_conf_input=$configure_input;; 4908 esac 4909 4910 case $ac_tag in 4911 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4912 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4913 esac 4914 ;; 4915 esac 4916 4917 ac_dir=`$as_dirname -- "$ac_file" || 4918$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4919 X"$ac_file" : 'X\(//\)[^/]' \| \ 4920 X"$ac_file" : 'X\(//\)$' \| \ 4921 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4922$as_echo X"$ac_file" | 4923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4924 s//\1/ 4925 q 4926 } 4927 /^X\(\/\/\)[^/].*/{ 4928 s//\1/ 4929 q 4930 } 4931 /^X\(\/\/\)$/{ 4932 s//\1/ 4933 q 4934 } 4935 /^X\(\/\).*/{ 4936 s//\1/ 4937 q 4938 } 4939 s/.*/./; q'` 4940 as_dir="$ac_dir"; as_fn_mkdir_p 4941 ac_builddir=. 4942 4943case "$ac_dir" in 4944.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4945*) 4946 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 4947 # A ".." for each directory in $ac_dir_suffix. 4948 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4949 case $ac_top_builddir_sub in 4950 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4951 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4952 esac ;; 4953esac 4954ac_abs_top_builddir=$ac_pwd 4955ac_abs_builddir=$ac_pwd$ac_dir_suffix 4956# for backward compatibility: 4957ac_top_builddir=$ac_top_build_prefix 4958 4959case $srcdir in 4960 .) # We are building in place. 4961 ac_srcdir=. 4962 ac_top_srcdir=$ac_top_builddir_sub 4963 ac_abs_top_srcdir=$ac_pwd ;; 4964 [\\/]* | ?:[\\/]* ) # Absolute name. 4965 ac_srcdir=$srcdir$ac_dir_suffix; 4966 ac_top_srcdir=$srcdir 4967 ac_abs_top_srcdir=$srcdir ;; 4968 *) # Relative name. 4969 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4970 ac_top_srcdir=$ac_top_build_prefix$srcdir 4971 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4972esac 4973ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4974 4975 4976 case $ac_mode in 4977 :F) 4978 # 4979 # CONFIG_FILE 4980 # 4981 4982_ACEOF 4983 4984cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4985# If the template does not know about datarootdir, expand it. 4986# FIXME: This hack should be removed a few years after 2.60. 4987ac_datarootdir_hack=; ac_datarootdir_seen= 4988ac_sed_dataroot=' 4989/datarootdir/ { 4990 p 4991 q 4992} 4993/@datadir@/p 4994/@docdir@/p 4995/@infodir@/p 4996/@localedir@/p 4997/@mandir@/p' 4998case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4999*datarootdir*) ac_datarootdir_seen=yes;; 5000*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5002$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5003_ACEOF 5004cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5005 ac_datarootdir_hack=' 5006 s&@datadir@&$datadir&g 5007 s&@docdir@&$docdir&g 5008 s&@infodir@&$infodir&g 5009 s&@localedir@&$localedir&g 5010 s&@mandir@&$mandir&g 5011 s&\\\${datarootdir}&$datarootdir&g' ;; 5012esac 5013_ACEOF 5014 5015# Neutralize VPATH when `$srcdir' = `.'. 5016# Shell code in configure.ac might set extrasub. 5017# FIXME: do we really want to maintain this feature? 5018cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5019ac_sed_extra="$ac_vpsub 5020$extrasub 5021_ACEOF 5022cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5023:t 5024/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5025s|@configure_input@|$ac_sed_conf_input|;t t 5026s&@top_builddir@&$ac_top_builddir_sub&;t t 5027s&@top_build_prefix@&$ac_top_build_prefix&;t t 5028s&@srcdir@&$ac_srcdir&;t t 5029s&@abs_srcdir@&$ac_abs_srcdir&;t t 5030s&@top_srcdir@&$ac_top_srcdir&;t t 5031s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5032s&@builddir@&$ac_builddir&;t t 5033s&@abs_builddir@&$ac_abs_builddir&;t t 5034s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5035$ac_datarootdir_hack 5036" 5037eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5038 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5039 5040test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5041 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5042 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5043 "$ac_tmp/out"`; test -z "$ac_out"; } && 5044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5045which seems to be undefined. Please make sure it is defined" >&5 5046$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5047which seems to be undefined. Please make sure it is defined" >&2;} 5048 5049 rm -f "$ac_tmp/stdin" 5050 case $ac_file in 5051 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5052 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5053 esac \ 5054 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5055 ;; 5056 5057 5058 5059 esac 5060 5061done # for ac_tag 5062 5063 5064as_fn_exit 0 5065_ACEOF 5066ac_clean_files=$ac_clean_files_save 5067 5068test $ac_write_fail = 0 || 5069 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5070 5071 5072# configure is writing to config.log, and then calls config.status. 5073# config.status does its own redirection, appending to config.log. 5074# Unfortunately, on DOS this fails, as config.log is still kept open 5075# by configure, so config.status won't be able to write to it; its 5076# output is simply discarded. So we exec the FD to /dev/null, 5077# effectively closing config.log, so it can be properly (re)opened and 5078# appended to by config.status. When coming back to configure, we 5079# need to make the FD available again. 5080if test "$no_create" != yes; then 5081 ac_cs_success=: 5082 ac_config_status_args= 5083 test "$silent" = yes && 5084 ac_config_status_args="$ac_config_status_args --quiet" 5085 exec 5>/dev/null 5086 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5087 exec 5>>config.log 5088 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5089 # would make configure fail if this is the last instruction. 5090 $ac_cs_success || as_fn_exit 1 5091fi 5092if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5094$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5095fi 5096 5097 5098 5099 printf "*** %s ***\n" "All done" 1>&2 5100 5101 5102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Now you can issue \"make\"" >&5 5103$as_echo "Now you can issue \"make\"" >&6; } 5104