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