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