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