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