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