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