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