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