1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199test \$(( 1 + 1 )) = 2 || exit 1" 200 if (eval "$as_required") 2>/dev/null; then : 201 as_have_required=yes 202else 203 as_have_required=no 204fi 205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 206 207else 208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 209as_found=false 210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 211do 212 IFS=$as_save_IFS 213 test -z "$as_dir" && as_dir=. 214 as_found=: 215 case $as_dir in #( 216 /*) 217 for as_base in sh bash ksh sh5; do 218 # Try only shells that exist, to save several forks. 219 as_shell=$as_dir/$as_base 220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 222 CONFIG_SHELL=$as_shell as_have_required=yes 223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 break 2 225fi 226fi 227 done;; 228 esac 229 as_found=false 230done 231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 233 CONFIG_SHELL=$SHELL as_have_required=yes 234fi; } 235IFS=$as_save_IFS 236 237 238 if test "x$CONFIG_SHELL" != x; then : 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241# neutralization value for shells without unset; and this also 242# works around shells that cannot unset nonexistent variables. 243# Preserve -v and -x to the replacement shell. 244BASH_ENV=/dev/null 245ENV=/dev/null 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252esac 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254# Admittedly, this is quite paranoid, since all the known shells bail 255# out after a failed `exec'. 256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257exit 255 258fi 259 260 if test x$as_have_required = xno; then : 261 $as_echo "$0: This script requires a shell more modern than all" 262 $as_echo "$0: the shells that I found on your system." 263 if test x${ZSH_VERSION+set} = xset ; then 264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 266 else 267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 268$0: including any error possibly output before this 269$0: message. Then install a modern shell, or manually run 270$0: the script under such a shell if you do have one." 271 fi 272 exit 1 273fi 274fi 275fi 276SHELL=${CONFIG_SHELL-/bin/sh} 277export SHELL 278# Unset more variables known to interfere with behavior of common tools. 279CLICOLOR_FORCE= GREP_OPTIONS= 280unset CLICOLOR_FORCE GREP_OPTIONS 281 282## --------------------- ## 283## M4sh Shell Functions. ## 284## --------------------- ## 285# as_fn_unset VAR 286# --------------- 287# Portably unset VAR. 288as_fn_unset () 289{ 290 { eval $1=; unset $1;} 291} 292as_unset=as_fn_unset 293 294# as_fn_set_status STATUS 295# ----------------------- 296# Set $? to STATUS, without forking. 297as_fn_set_status () 298{ 299 return $1 300} # as_fn_set_status 301 302# as_fn_exit STATUS 303# ----------------- 304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 305as_fn_exit () 306{ 307 set +e 308 as_fn_set_status $1 309 exit $1 310} # as_fn_exit 311 312# as_fn_mkdir_p 313# ------------- 314# Create "$as_dir" as a directory, including parents if necessary. 315as_fn_mkdir_p () 316{ 317 318 case $as_dir in #( 319 -*) as_dir=./$as_dir;; 320 esac 321 test -d "$as_dir" || eval $as_mkdir_p || { 322 as_dirs= 323 while :; do 324 case $as_dir in #( 325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 326 *) as_qdir=$as_dir;; 327 esac 328 as_dirs="'$as_qdir' $as_dirs" 329 as_dir=`$as_dirname -- "$as_dir" || 330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 331 X"$as_dir" : 'X\(//\)[^/]' \| \ 332 X"$as_dir" : 'X\(//\)$' \| \ 333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 334$as_echo X"$as_dir" | 335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 336 s//\1/ 337 q 338 } 339 /^X\(\/\/\)[^/].*/{ 340 s//\1/ 341 q 342 } 343 /^X\(\/\/\)$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\).*/{ 348 s//\1/ 349 q 350 } 351 s/.*/./; q'` 352 test -d "$as_dir" && break 353 done 354 test -z "$as_dirs" || eval "mkdir $as_dirs" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 356 357 358} # as_fn_mkdir_p 359 360# as_fn_executable_p FILE 361# ----------------------- 362# Test if FILE is an executable regular file. 363as_fn_executable_p () 364{ 365 test -f "$1" && test -x "$1" 366} # as_fn_executable_p 367# as_fn_append VAR VALUE 368# ---------------------- 369# Append the text in VALUE to the end of the definition contained in VAR. Take 370# advantage of any shell optimizations that allow amortized linear growth over 371# repeated appends, instead of the typical quadratic growth present in naive 372# implementations. 373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 374 eval 'as_fn_append () 375 { 376 eval $1+=\$2 377 }' 378else 379 as_fn_append () 380 { 381 eval $1=\$$1\$2 382 } 383fi # as_fn_append 384 385# as_fn_arith ARG... 386# ------------------ 387# Perform arithmetic evaluation on the ARGs, and store the result in the 388# global $as_val. Take advantage of shells that can avoid forks. The arguments 389# must be portable across $(()) and expr. 390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 391 eval 'as_fn_arith () 392 { 393 as_val=$(( $* )) 394 }' 395else 396 as_fn_arith () 397 { 398 as_val=`expr "$@" || test $? -eq 1` 399 } 400fi # as_fn_arith 401 402 403# as_fn_error STATUS ERROR [LINENO LOG_FD] 404# ---------------------------------------- 405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 407# script with STATUS, using 1 if that was 0. 408as_fn_error () 409{ 410 as_status=$1; test $as_status -eq 0 && as_status=1 411 if test "$4"; then 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 414 fi 415 $as_echo "$as_me: error: $2" >&2 416 as_fn_exit $as_status 417} # as_fn_error 418 419if expr a : '\(a\)' >/dev/null 2>&1 && 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then 421 as_expr=expr 422else 423 as_expr=false 424fi 425 426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 427 as_basename=basename 428else 429 as_basename=false 430fi 431 432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 433 as_dirname=dirname 434else 435 as_dirname=false 436fi 437 438as_me=`$as_basename -- "$0" || 439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 440 X"$0" : 'X\(//\)$' \| \ 441 X"$0" : 'X\(/\)' \| . 2>/dev/null || 442$as_echo X/"$0" | 443 sed '/^.*\/\([^/][^/]*\)\/*$/{ 444 s//\1/ 445 q 446 } 447 /^X\/\(\/\/\)$/{ 448 s//\1/ 449 q 450 } 451 /^X\/\(\/\).*/{ 452 s//\1/ 453 q 454 } 455 s/.*/./; q'` 456 457# Avoid depending upon Character Ranges. 458as_cr_letters='abcdefghijklmnopqrstuvwxyz' 459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 460as_cr_Letters=$as_cr_letters$as_cr_LETTERS 461as_cr_digits='0123456789' 462as_cr_alnum=$as_cr_Letters$as_cr_digits 463 464 465 as_lineno_1=$LINENO as_lineno_1a=$LINENO 466 as_lineno_2=$LINENO as_lineno_2a=$LINENO 467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 470 sed -n ' 471 p 472 /[$]LINENO/= 473 ' <$as_myself | 474 sed ' 475 s/[$]LINENO.*/&-/ 476 t lineno 477 b 478 :lineno 479 N 480 :loop 481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 482 t loop 483 s/-\n.*// 484 ' >$as_me.lineno && 485 chmod +x "$as_me.lineno" || 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 487 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 # already done that, so ensure we don't try to do so again and fall 490 # in an infinite loop. This has already happened in practice. 491 _as_can_reexec=no; export _as_can_reexec 492 # Don't try to exec as it changes $[0], causing all sort of problems 493 # (the dirname of $[0] is not the place where we might find the 494 # original and so on. Autoconf is especially sensitive to this). 495 . "./$as_me.lineno" 496 # Exit status is that of the last command. 497 exit 498} 499 500ECHO_C= ECHO_N= ECHO_T= 501case `echo -n x` in #((((( 502-n*) 503 case `echo 'xy\c'` in 504 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 505 xy) ECHO_C='\c';; 506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 507 ECHO_T=' ';; 508 esac;; 509*) 510 ECHO_N='-n';; 511esac 512 513rm -f conf$$ conf$$.exe conf$$.file 514if test -d conf$$.dir; then 515 rm -f conf$$.dir/conf$$.file 516else 517 rm -f conf$$.dir 518 mkdir conf$$.dir 2>/dev/null 519fi 520if (echo >conf$$.file) 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then 522 as_ln_s='ln -s' 523 # ... but there are two gotchas: 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 526 # In both cases, we have to default to `cp -pR'. 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 528 as_ln_s='cp -pR' 529 elif ln conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s=ln 531 else 532 as_ln_s='cp -pR' 533 fi 534else 535 as_ln_s='cp -pR' 536fi 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 538rmdir conf$$.dir 2>/dev/null 539 540if mkdir -p . 2>/dev/null; then 541 as_mkdir_p='mkdir -p "$as_dir"' 542else 543 test -d ./-p && rmdir ./-p 544 as_mkdir_p=false 545fi 546 547as_test_x='test -x' 548as_executable_p=as_fn_executable_p 549 550# Sed expression to map a string onto a valid CPP name. 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 552 553# Sed expression to map a string onto a valid variable name. 554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 555 556 557test -n "$DJDIR" || exec 7<&0 </dev/null 558exec 6>&1 559 560# Name of the host. 561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 562# so uname gets run too. 563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 564 565# 566# Initializations. 567# 568ac_default_prefix=/usr/local 569ac_clean_files= 570ac_config_libobj_dir=. 571LIBOBJS= 572cross_compiling=no 573subdirs= 574MFLAGS= 575MAKEFLAGS= 576 577# Identity of this package. 578PACKAGE_NAME= 579PACKAGE_TARNAME= 580PACKAGE_VERSION= 581PACKAGE_STRING= 582PACKAGE_BUGREPORT= 583PACKAGE_URL= 584 585ac_unique_file="latcp.cc" 586# Factoring default headers for most tests. 587ac_includes_default="\ 588#include <stdio.h> 589#ifdef HAVE_SYS_TYPES_H 590# include <sys/types.h> 591#endif 592#ifdef HAVE_SYS_STAT_H 593# include <sys/stat.h> 594#endif 595#ifdef STDC_HEADERS 596# include <stdlib.h> 597# include <stddef.h> 598#else 599# ifdef HAVE_STDLIB_H 600# include <stdlib.h> 601# endif 602#endif 603#ifdef HAVE_STRING_H 604# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 605# include <memory.h> 606# endif 607# include <string.h> 608#endif 609#ifdef HAVE_STRINGS_H 610# include <strings.h> 611#endif 612#ifdef HAVE_INTTYPES_H 613# include <inttypes.h> 614#endif 615#ifdef HAVE_STDINT_H 616# include <stdint.h> 617#endif 618#ifdef HAVE_UNISTD_H 619# include <unistd.h> 620#endif" 621 622ac_subst_vars='am__EXEEXT_FALSE 623am__EXEEXT_TRUE 624LTLIBOBJS 625LIBOBJS 626EGREP 627GREP 628LIBUTIL 629LIBLOCKDEV 630INTERFACE 631CPP 632am__fastdepCXX_FALSE 633am__fastdepCXX_TRUE 634CXXDEPMODE 635ac_ct_CXX 636CXXFLAGS 637CXX 638am__fastdepCC_FALSE 639am__fastdepCC_TRUE 640CCDEPMODE 641am__nodep 642AMDEPBACKSLASH 643AMDEP_FALSE 644AMDEP_TRUE 645am__quote 646am__include 647DEPDIR 648OBJEXT 649EXEEXT 650ac_ct_CC 651CPPFLAGS 652LDFLAGS 653CFLAGS 654CC 655am__untar 656am__tar 657AMTAR 658am__leading_dot 659SET_MAKE 660AWK 661mkdir_p 662MKDIR_P 663INSTALL_STRIP_PROGRAM 664STRIP 665install_sh 666MAKEINFO 667AUTOHEADER 668AUTOMAKE 669AUTOCONF 670ACLOCAL 671VERSION 672PACKAGE 673CYGPATH_W 674am__isrc 675INSTALL_DATA 676INSTALL_SCRIPT 677INSTALL_PROGRAM 678target_alias 679host_alias 680build_alias 681LIBS 682ECHO_T 683ECHO_N 684ECHO_C 685DEFS 686mandir 687localedir 688libdir 689psdir 690pdfdir 691dvidir 692htmldir 693infodir 694docdir 695oldincludedir 696includedir 697localstatedir 698sharedstatedir 699sysconfdir 700datadir 701datarootdir 702libexecdir 703sbindir 704bindir 705program_transform_name 706prefix 707exec_prefix 708PACKAGE_URL 709PACKAGE_BUGREPORT 710PACKAGE_STRING 711PACKAGE_VERSION 712PACKAGE_TARNAME 713PACKAGE_NAME 714PATH_SEPARATOR 715SHELL' 716ac_subst_files='' 717ac_user_opts=' 718enable_option_checking 719enable_dependency_tracking 720enable_openpty 721with_login 722with_latcp_socket 723with_llogin_socket 724enable_defservice 725enable_debug 726enable_warnings 727' 728 ac_precious_vars='build_alias 729host_alias 730target_alias 731CC 732CFLAGS 733LDFLAGS 734LIBS 735CPPFLAGS 736CXX 737CXXFLAGS 738CCC 739CPP' 740 741 742# Initialize some variables set by options. 743ac_init_help= 744ac_init_version=false 745ac_unrecognized_opts= 746ac_unrecognized_sep= 747# The variables have the same names as the options, with 748# dashes changed to underlines. 749cache_file=/dev/null 750exec_prefix=NONE 751no_create= 752no_recursion= 753prefix=NONE 754program_prefix=NONE 755program_suffix=NONE 756program_transform_name=s,x,x, 757silent= 758site= 759srcdir= 760verbose= 761x_includes=NONE 762x_libraries=NONE 763 764# Installation directory options. 765# These are left unexpanded so users can "make install exec_prefix=/foo" 766# and all the variables that are supposed to be based on exec_prefix 767# by default will actually change. 768# Use braces instead of parens because sh, perl, etc. also accept them. 769# (The list follows the same order as the GNU Coding Standards.) 770bindir='${exec_prefix}/bin' 771sbindir='${exec_prefix}/sbin' 772libexecdir='${exec_prefix}/libexec' 773datarootdir='${prefix}/share' 774datadir='${datarootdir}' 775sysconfdir='${prefix}/etc' 776sharedstatedir='${prefix}/com' 777localstatedir='${prefix}/var' 778includedir='${prefix}/include' 779oldincludedir='/usr/include' 780docdir='${datarootdir}/doc/${PACKAGE}' 781infodir='${datarootdir}/info' 782htmldir='${docdir}' 783dvidir='${docdir}' 784pdfdir='${docdir}' 785psdir='${docdir}' 786libdir='${exec_prefix}/lib' 787localedir='${datarootdir}/locale' 788mandir='${datarootdir}/man' 789 790ac_prev= 791ac_dashdash= 792for ac_option 793do 794 # If the previous option needs an argument, assign it. 795 if test -n "$ac_prev"; then 796 eval $ac_prev=\$ac_option 797 ac_prev= 798 continue 799 fi 800 801 case $ac_option in 802 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 803 *=) ac_optarg= ;; 804 *) ac_optarg=yes ;; 805 esac 806 807 # Accept the important Cygnus configure options, so we can diagnose typos. 808 809 case $ac_dashdash$ac_option in 810 --) 811 ac_dashdash=yes ;; 812 813 -bindir | --bindir | --bindi | --bind | --bin | --bi) 814 ac_prev=bindir ;; 815 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 816 bindir=$ac_optarg ;; 817 818 -build | --build | --buil | --bui | --bu) 819 ac_prev=build_alias ;; 820 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 821 build_alias=$ac_optarg ;; 822 823 -cache-file | --cache-file | --cache-fil | --cache-fi \ 824 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 825 ac_prev=cache_file ;; 826 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 827 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 828 cache_file=$ac_optarg ;; 829 830 --config-cache | -C) 831 cache_file=config.cache ;; 832 833 -datadir | --datadir | --datadi | --datad) 834 ac_prev=datadir ;; 835 -datadir=* | --datadir=* | --datadi=* | --datad=*) 836 datadir=$ac_optarg ;; 837 838 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 839 | --dataroo | --dataro | --datar) 840 ac_prev=datarootdir ;; 841 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 842 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 843 datarootdir=$ac_optarg ;; 844 845 -disable-* | --disable-*) 846 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 847 # Reject names that are not valid shell variable names. 848 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 849 as_fn_error $? "invalid feature name: $ac_useropt" 850 ac_useropt_orig=$ac_useropt 851 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 852 case $ac_user_opts in 853 *" 854"enable_$ac_useropt" 855"*) ;; 856 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 857 ac_unrecognized_sep=', ';; 858 esac 859 eval enable_$ac_useropt=no ;; 860 861 -docdir | --docdir | --docdi | --doc | --do) 862 ac_prev=docdir ;; 863 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 864 docdir=$ac_optarg ;; 865 866 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 867 ac_prev=dvidir ;; 868 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 869 dvidir=$ac_optarg ;; 870 871 -enable-* | --enable-*) 872 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 873 # Reject names that are not valid shell variable names. 874 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 875 as_fn_error $? "invalid feature name: $ac_useropt" 876 ac_useropt_orig=$ac_useropt 877 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 878 case $ac_user_opts in 879 *" 880"enable_$ac_useropt" 881"*) ;; 882 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 883 ac_unrecognized_sep=', ';; 884 esac 885 eval enable_$ac_useropt=\$ac_optarg ;; 886 887 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 888 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 889 | --exec | --exe | --ex) 890 ac_prev=exec_prefix ;; 891 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 892 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 893 | --exec=* | --exe=* | --ex=*) 894 exec_prefix=$ac_optarg ;; 895 896 -gas | --gas | --ga | --g) 897 # Obsolete; use --with-gas. 898 with_gas=yes ;; 899 900 -help | --help | --hel | --he | -h) 901 ac_init_help=long ;; 902 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 903 ac_init_help=recursive ;; 904 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 905 ac_init_help=short ;; 906 907 -host | --host | --hos | --ho) 908 ac_prev=host_alias ;; 909 -host=* | --host=* | --hos=* | --ho=*) 910 host_alias=$ac_optarg ;; 911 912 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 913 ac_prev=htmldir ;; 914 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 915 | --ht=*) 916 htmldir=$ac_optarg ;; 917 918 -includedir | --includedir | --includedi | --included | --include \ 919 | --includ | --inclu | --incl | --inc) 920 ac_prev=includedir ;; 921 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 922 | --includ=* | --inclu=* | --incl=* | --inc=*) 923 includedir=$ac_optarg ;; 924 925 -infodir | --infodir | --infodi | --infod | --info | --inf) 926 ac_prev=infodir ;; 927 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 928 infodir=$ac_optarg ;; 929 930 -libdir | --libdir | --libdi | --libd) 931 ac_prev=libdir ;; 932 -libdir=* | --libdir=* | --libdi=* | --libd=*) 933 libdir=$ac_optarg ;; 934 935 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 936 | --libexe | --libex | --libe) 937 ac_prev=libexecdir ;; 938 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 939 | --libexe=* | --libex=* | --libe=*) 940 libexecdir=$ac_optarg ;; 941 942 -localedir | --localedir | --localedi | --localed | --locale) 943 ac_prev=localedir ;; 944 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 945 localedir=$ac_optarg ;; 946 947 -localstatedir | --localstatedir | --localstatedi | --localstated \ 948 | --localstate | --localstat | --localsta | --localst | --locals) 949 ac_prev=localstatedir ;; 950 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 951 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 952 localstatedir=$ac_optarg ;; 953 954 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 955 ac_prev=mandir ;; 956 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 957 mandir=$ac_optarg ;; 958 959 -nfp | --nfp | --nf) 960 # Obsolete; use --without-fp. 961 with_fp=no ;; 962 963 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 964 | --no-cr | --no-c | -n) 965 no_create=yes ;; 966 967 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 968 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 969 no_recursion=yes ;; 970 971 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 972 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 973 | --oldin | --oldi | --old | --ol | --o) 974 ac_prev=oldincludedir ;; 975 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 976 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 977 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 978 oldincludedir=$ac_optarg ;; 979 980 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 981 ac_prev=prefix ;; 982 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 983 prefix=$ac_optarg ;; 984 985 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 986 | --program-pre | --program-pr | --program-p) 987 ac_prev=program_prefix ;; 988 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 989 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 990 program_prefix=$ac_optarg ;; 991 992 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 993 | --program-suf | --program-su | --program-s) 994 ac_prev=program_suffix ;; 995 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 996 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 997 program_suffix=$ac_optarg ;; 998 999 -program-transform-name | --program-transform-name \ 1000 | --program-transform-nam | --program-transform-na \ 1001 | --program-transform-n | --program-transform- \ 1002 | --program-transform | --program-transfor \ 1003 | --program-transfo | --program-transf \ 1004 | --program-trans | --program-tran \ 1005 | --progr-tra | --program-tr | --program-t) 1006 ac_prev=program_transform_name ;; 1007 -program-transform-name=* | --program-transform-name=* \ 1008 | --program-transform-nam=* | --program-transform-na=* \ 1009 | --program-transform-n=* | --program-transform-=* \ 1010 | --program-transform=* | --program-transfor=* \ 1011 | --program-transfo=* | --program-transf=* \ 1012 | --program-trans=* | --program-tran=* \ 1013 | --progr-tra=* | --program-tr=* | --program-t=*) 1014 program_transform_name=$ac_optarg ;; 1015 1016 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1017 ac_prev=pdfdir ;; 1018 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1019 pdfdir=$ac_optarg ;; 1020 1021 -psdir | --psdir | --psdi | --psd | --ps) 1022 ac_prev=psdir ;; 1023 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1024 psdir=$ac_optarg ;; 1025 1026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1027 | -silent | --silent | --silen | --sile | --sil) 1028 silent=yes ;; 1029 1030 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1031 ac_prev=sbindir ;; 1032 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1033 | --sbi=* | --sb=*) 1034 sbindir=$ac_optarg ;; 1035 1036 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1037 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1038 | --sharedst | --shareds | --shared | --share | --shar \ 1039 | --sha | --sh) 1040 ac_prev=sharedstatedir ;; 1041 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1042 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1043 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1044 | --sha=* | --sh=*) 1045 sharedstatedir=$ac_optarg ;; 1046 1047 -site | --site | --sit) 1048 ac_prev=site ;; 1049 -site=* | --site=* | --sit=*) 1050 site=$ac_optarg ;; 1051 1052 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1053 ac_prev=srcdir ;; 1054 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1055 srcdir=$ac_optarg ;; 1056 1057 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1058 | --syscon | --sysco | --sysc | --sys | --sy) 1059 ac_prev=sysconfdir ;; 1060 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1061 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1062 sysconfdir=$ac_optarg ;; 1063 1064 -target | --target | --targe | --targ | --tar | --ta | --t) 1065 ac_prev=target_alias ;; 1066 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1067 target_alias=$ac_optarg ;; 1068 1069 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1070 verbose=yes ;; 1071 1072 -version | --version | --versio | --versi | --vers | -V) 1073 ac_init_version=: ;; 1074 1075 -with-* | --with-*) 1076 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1077 # Reject names that are not valid shell variable names. 1078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1079 as_fn_error $? "invalid package name: $ac_useropt" 1080 ac_useropt_orig=$ac_useropt 1081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1082 case $ac_user_opts in 1083 *" 1084"with_$ac_useropt" 1085"*) ;; 1086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1087 ac_unrecognized_sep=', ';; 1088 esac 1089 eval with_$ac_useropt=\$ac_optarg ;; 1090 1091 -without-* | --without-*) 1092 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1093 # Reject names that are not valid shell variable names. 1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1095 as_fn_error $? "invalid package name: $ac_useropt" 1096 ac_useropt_orig=$ac_useropt 1097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1098 case $ac_user_opts in 1099 *" 1100"with_$ac_useropt" 1101"*) ;; 1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1103 ac_unrecognized_sep=', ';; 1104 esac 1105 eval with_$ac_useropt=no ;; 1106 1107 --x) 1108 # Obsolete; use --with-x. 1109 with_x=yes ;; 1110 1111 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1112 | --x-incl | --x-inc | --x-in | --x-i) 1113 ac_prev=x_includes ;; 1114 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1115 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1116 x_includes=$ac_optarg ;; 1117 1118 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1119 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1120 ac_prev=x_libraries ;; 1121 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1122 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1123 x_libraries=$ac_optarg ;; 1124 1125 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1126Try \`$0 --help' for more information" 1127 ;; 1128 1129 *=*) 1130 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1131 # Reject names that are not valid shell variable names. 1132 case $ac_envvar in #( 1133 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1134 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1135 esac 1136 eval $ac_envvar=\$ac_optarg 1137 export $ac_envvar ;; 1138 1139 *) 1140 # FIXME: should be removed in autoconf 3.0. 1141 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1142 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1143 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1144 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1145 ;; 1146 1147 esac 1148done 1149 1150if test -n "$ac_prev"; then 1151 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1152 as_fn_error $? "missing argument to $ac_option" 1153fi 1154 1155if test -n "$ac_unrecognized_opts"; then 1156 case $enable_option_checking in 1157 no) ;; 1158 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1159 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1160 esac 1161fi 1162 1163# Check all directory arguments for consistency. 1164for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1165 datadir sysconfdir sharedstatedir localstatedir includedir \ 1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1167 libdir localedir mandir 1168do 1169 eval ac_val=\$$ac_var 1170 # Remove trailing slashes. 1171 case $ac_val in 1172 */ ) 1173 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1174 eval $ac_var=\$ac_val;; 1175 esac 1176 # Be sure to have absolute directory names. 1177 case $ac_val in 1178 [\\/$]* | ?:[\\/]* ) continue;; 1179 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1180 esac 1181 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1182done 1183 1184# There might be people who depend on the old broken behavior: `$host' 1185# used to hold the argument of --host etc. 1186# FIXME: To remove some day. 1187build=$build_alias 1188host=$host_alias 1189target=$target_alias 1190 1191# FIXME: To remove some day. 1192if test "x$host_alias" != x; then 1193 if test "x$build_alias" = x; then 1194 cross_compiling=maybe 1195 elif test "x$build_alias" != "x$host_alias"; then 1196 cross_compiling=yes 1197 fi 1198fi 1199 1200ac_tool_prefix= 1201test -n "$host_alias" && ac_tool_prefix=$host_alias- 1202 1203test "$silent" = yes && exec 6>/dev/null 1204 1205 1206ac_pwd=`pwd` && test -n "$ac_pwd" && 1207ac_ls_di=`ls -di .` && 1208ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1209 as_fn_error $? "working directory cannot be determined" 1210test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1211 as_fn_error $? "pwd does not report name of working directory" 1212 1213 1214# Find the source files, if location was not specified. 1215if test -z "$srcdir"; then 1216 ac_srcdir_defaulted=yes 1217 # Try the directory containing this script, then the parent directory. 1218 ac_confdir=`$as_dirname -- "$as_myself" || 1219$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1220 X"$as_myself" : 'X\(//\)[^/]' \| \ 1221 X"$as_myself" : 'X\(//\)$' \| \ 1222 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1223$as_echo X"$as_myself" | 1224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1225 s//\1/ 1226 q 1227 } 1228 /^X\(\/\/\)[^/].*/{ 1229 s//\1/ 1230 q 1231 } 1232 /^X\(\/\/\)$/{ 1233 s//\1/ 1234 q 1235 } 1236 /^X\(\/\).*/{ 1237 s//\1/ 1238 q 1239 } 1240 s/.*/./; q'` 1241 srcdir=$ac_confdir 1242 if test ! -r "$srcdir/$ac_unique_file"; then 1243 srcdir=.. 1244 fi 1245else 1246 ac_srcdir_defaulted=no 1247fi 1248if test ! -r "$srcdir/$ac_unique_file"; then 1249 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1250 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1251fi 1252ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1253ac_abs_confdir=`( 1254 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1255 pwd)` 1256# When building in place, set srcdir=. 1257if test "$ac_abs_confdir" = "$ac_pwd"; then 1258 srcdir=. 1259fi 1260# Remove unnecessary trailing slashes from srcdir. 1261# Double slashes in file names in object file debugging info 1262# mess up M-x gdb in Emacs. 1263case $srcdir in 1264*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1265esac 1266for ac_var in $ac_precious_vars; do 1267 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1268 eval ac_env_${ac_var}_value=\$${ac_var} 1269 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1270 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1271done 1272 1273# 1274# Report the --help message. 1275# 1276if test "$ac_init_help" = "long"; then 1277 # Omit some internal or obsolete options to make the list less imposing. 1278 # This message is too long to be a string in the A/UX 3.1 sh. 1279 cat <<_ACEOF 1280\`configure' configures this package to adapt to many kinds of systems. 1281 1282Usage: $0 [OPTION]... [VAR=VALUE]... 1283 1284To assign environment variables (e.g., CC, CFLAGS...), specify them as 1285VAR=VALUE. See below for descriptions of some of the useful variables. 1286 1287Defaults for the options are specified in brackets. 1288 1289Configuration: 1290 -h, --help display this help and exit 1291 --help=short display options specific to this package 1292 --help=recursive display the short help of all the included packages 1293 -V, --version display version information and exit 1294 -q, --quiet, --silent do not print \`checking ...' messages 1295 --cache-file=FILE cache test results in FILE [disabled] 1296 -C, --config-cache alias for \`--cache-file=config.cache' 1297 -n, --no-create do not create output files 1298 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1299 1300Installation directories: 1301 --prefix=PREFIX install architecture-independent files in PREFIX 1302 [$ac_default_prefix] 1303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1304 [PREFIX] 1305 1306By default, \`make install' will install all the files in 1307\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1308an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1309for instance \`--prefix=\$HOME'. 1310 1311For better control, use the options below. 1312 1313Fine tuning of the installation directories: 1314 --bindir=DIR user executables [EPREFIX/bin] 1315 --sbindir=DIR system admin executables [EPREFIX/sbin] 1316 --libexecdir=DIR program executables [EPREFIX/libexec] 1317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1319 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1320 --libdir=DIR object code libraries [EPREFIX/lib] 1321 --includedir=DIR C header files [PREFIX/include] 1322 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1325 --infodir=DIR info documentation [DATAROOTDIR/info] 1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1327 --mandir=DIR man documentation [DATAROOTDIR/man] 1328 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1329 --htmldir=DIR html documentation [DOCDIR] 1330 --dvidir=DIR dvi documentation [DOCDIR] 1331 --pdfdir=DIR pdf documentation [DOCDIR] 1332 --psdir=DIR ps documentation [DOCDIR] 1333_ACEOF 1334 1335 cat <<\_ACEOF 1336 1337Program names: 1338 --program-prefix=PREFIX prepend PREFIX to installed program names 1339 --program-suffix=SUFFIX append SUFFIX to installed program names 1340 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1341_ACEOF 1342fi 1343 1344if test -n "$ac_init_help"; then 1345 1346 cat <<\_ACEOF 1347 1348Optional Features: 1349 --disable-option-checking ignore unrecognized --enable/--with options 1350 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1351 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1352 --disable-dependency-tracking speeds up one-time build 1353 --enable-dependency-tracking do not reject slow dependency extractors 1354 --disable-openpty don't use the system's openpty function do 1355 --disable-defservice disable default login service 1356 --enable-debug compile debuggable programs 1357 --disable-warnings don't compile with warnings turned on 1358 1359Optional Packages: 1360 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1361 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1362 --with-login program to use for logins (defaults to local "login") 1363 --with-latcp-socket=SOCK set the socket for latcp to SOCK /var/run/latcp 1364 --with-llogin-socket=SOCK set the socket for llogin to SOCK /var/run/latlogin 1365 1366Some influential environment variables: 1367 CC C compiler command 1368 CFLAGS C compiler flags 1369 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1370 nonstandard directory <lib dir> 1371 LIBS libraries to pass to the linker, e.g. -l<library> 1372 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1373 you have headers in a nonstandard directory <include dir> 1374 CXX C++ compiler command 1375 CXXFLAGS C++ compiler flags 1376 CPP C preprocessor 1377 1378Use these variables to override the choices made by `configure' or to help 1379it to find libraries and programs with nonstandard names/locations. 1380 1381Report bugs to the package provider. 1382_ACEOF 1383ac_status=$? 1384fi 1385 1386if test "$ac_init_help" = "recursive"; then 1387 # If there are subdirs, report their specific --help. 1388 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1389 test -d "$ac_dir" || 1390 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1391 continue 1392 ac_builddir=. 1393 1394case "$ac_dir" in 1395.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1396*) 1397 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1398 # A ".." for each directory in $ac_dir_suffix. 1399 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1400 case $ac_top_builddir_sub in 1401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1403 esac ;; 1404esac 1405ac_abs_top_builddir=$ac_pwd 1406ac_abs_builddir=$ac_pwd$ac_dir_suffix 1407# for backward compatibility: 1408ac_top_builddir=$ac_top_build_prefix 1409 1410case $srcdir in 1411 .) # We are building in place. 1412 ac_srcdir=. 1413 ac_top_srcdir=$ac_top_builddir_sub 1414 ac_abs_top_srcdir=$ac_pwd ;; 1415 [\\/]* | ?:[\\/]* ) # Absolute name. 1416 ac_srcdir=$srcdir$ac_dir_suffix; 1417 ac_top_srcdir=$srcdir 1418 ac_abs_top_srcdir=$srcdir ;; 1419 *) # Relative name. 1420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1421 ac_top_srcdir=$ac_top_build_prefix$srcdir 1422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1423esac 1424ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1425 1426 cd "$ac_dir" || { ac_status=$?; continue; } 1427 # Check for guested configure. 1428 if test -f "$ac_srcdir/configure.gnu"; then 1429 echo && 1430 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1431 elif test -f "$ac_srcdir/configure"; then 1432 echo && 1433 $SHELL "$ac_srcdir/configure" --help=recursive 1434 else 1435 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1436 fi || ac_status=$? 1437 cd "$ac_pwd" || { ac_status=$?; break; } 1438 done 1439fi 1440 1441test -n "$ac_init_help" && exit $ac_status 1442if $ac_init_version; then 1443 cat <<\_ACEOF 1444configure 1445generated by GNU Autoconf 2.69 1446 1447Copyright (C) 2012 Free Software Foundation, Inc. 1448This configure script is free software; the Free Software Foundation 1449gives unlimited permission to copy, distribute and modify it. 1450_ACEOF 1451 exit 1452fi 1453 1454## ------------------------ ## 1455## Autoconf initialization. ## 1456## ------------------------ ## 1457 1458# ac_fn_c_try_compile LINENO 1459# -------------------------- 1460# Try to compile conftest.$ac_ext, and return whether this succeeded. 1461ac_fn_c_try_compile () 1462{ 1463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1464 rm -f conftest.$ac_objext 1465 if { { ac_try="$ac_compile" 1466case "(($ac_try" in 1467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1468 *) ac_try_echo=$ac_try;; 1469esac 1470eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1471$as_echo "$ac_try_echo"; } >&5 1472 (eval "$ac_compile") 2>conftest.err 1473 ac_status=$? 1474 if test -s conftest.err; then 1475 grep -v '^ *+' conftest.err >conftest.er1 1476 cat conftest.er1 >&5 1477 mv -f conftest.er1 conftest.err 1478 fi 1479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1480 test $ac_status = 0; } && { 1481 test -z "$ac_c_werror_flag" || 1482 test ! -s conftest.err 1483 } && test -s conftest.$ac_objext; then : 1484 ac_retval=0 1485else 1486 $as_echo "$as_me: failed program was:" >&5 1487sed 's/^/| /' conftest.$ac_ext >&5 1488 1489 ac_retval=1 1490fi 1491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1492 as_fn_set_status $ac_retval 1493 1494} # ac_fn_c_try_compile 1495 1496# ac_fn_cxx_try_compile LINENO 1497# ---------------------------- 1498# Try to compile conftest.$ac_ext, and return whether this succeeded. 1499ac_fn_cxx_try_compile () 1500{ 1501 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1502 rm -f conftest.$ac_objext 1503 if { { ac_try="$ac_compile" 1504case "(($ac_try" in 1505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1506 *) ac_try_echo=$ac_try;; 1507esac 1508eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1509$as_echo "$ac_try_echo"; } >&5 1510 (eval "$ac_compile") 2>conftest.err 1511 ac_status=$? 1512 if test -s conftest.err; then 1513 grep -v '^ *+' conftest.err >conftest.er1 1514 cat conftest.er1 >&5 1515 mv -f conftest.er1 conftest.err 1516 fi 1517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1518 test $ac_status = 0; } && { 1519 test -z "$ac_cxx_werror_flag" || 1520 test ! -s conftest.err 1521 } && test -s conftest.$ac_objext; then : 1522 ac_retval=0 1523else 1524 $as_echo "$as_me: failed program was:" >&5 1525sed 's/^/| /' conftest.$ac_ext >&5 1526 1527 ac_retval=1 1528fi 1529 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1530 as_fn_set_status $ac_retval 1531 1532} # ac_fn_cxx_try_compile 1533 1534# ac_fn_c_try_cpp LINENO 1535# ---------------------- 1536# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1537ac_fn_c_try_cpp () 1538{ 1539 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1540 if { { ac_try="$ac_cpp conftest.$ac_ext" 1541case "(($ac_try" in 1542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1543 *) ac_try_echo=$ac_try;; 1544esac 1545eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1546$as_echo "$ac_try_echo"; } >&5 1547 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1548 ac_status=$? 1549 if test -s conftest.err; then 1550 grep -v '^ *+' conftest.err >conftest.er1 1551 cat conftest.er1 >&5 1552 mv -f conftest.er1 conftest.err 1553 fi 1554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1555 test $ac_status = 0; } > conftest.i && { 1556 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1557 test ! -s conftest.err 1558 }; then : 1559 ac_retval=0 1560else 1561 $as_echo "$as_me: failed program was:" >&5 1562sed 's/^/| /' conftest.$ac_ext >&5 1563 1564 ac_retval=1 1565fi 1566 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1567 as_fn_set_status $ac_retval 1568 1569} # ac_fn_c_try_cpp 1570 1571# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1572# ------------------------------------------------------- 1573# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1574# the include files in INCLUDES and setting the cache variable VAR 1575# accordingly. 1576ac_fn_c_check_header_mongrel () 1577{ 1578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1579 if eval \${$3+:} false; then : 1580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1581$as_echo_n "checking for $2... " >&6; } 1582if eval \${$3+:} false; then : 1583 $as_echo_n "(cached) " >&6 1584fi 1585eval ac_res=\$$3 1586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1587$as_echo "$ac_res" >&6; } 1588else 1589 # Is the header compilable? 1590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1591$as_echo_n "checking $2 usability... " >&6; } 1592cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1593/* end confdefs.h. */ 1594$4 1595#include <$2> 1596_ACEOF 1597if ac_fn_c_try_compile "$LINENO"; then : 1598 ac_header_compiler=yes 1599else 1600 ac_header_compiler=no 1601fi 1602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1604$as_echo "$ac_header_compiler" >&6; } 1605 1606# Is the header present? 1607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1608$as_echo_n "checking $2 presence... " >&6; } 1609cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1610/* end confdefs.h. */ 1611#include <$2> 1612_ACEOF 1613if ac_fn_c_try_cpp "$LINENO"; then : 1614 ac_header_preproc=yes 1615else 1616 ac_header_preproc=no 1617fi 1618rm -f conftest.err conftest.i conftest.$ac_ext 1619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1620$as_echo "$ac_header_preproc" >&6; } 1621 1622# So? What about this header? 1623case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1624 yes:no: ) 1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1626$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1628$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1629 ;; 1630 no:yes:* ) 1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1632$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1634$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1636$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1638$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1640$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1641 ;; 1642esac 1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1644$as_echo_n "checking for $2... " >&6; } 1645if eval \${$3+:} false; then : 1646 $as_echo_n "(cached) " >&6 1647else 1648 eval "$3=\$ac_header_compiler" 1649fi 1650eval ac_res=\$$3 1651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1652$as_echo "$ac_res" >&6; } 1653fi 1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1655 1656} # ac_fn_c_check_header_mongrel 1657 1658# ac_fn_c_try_run LINENO 1659# ---------------------- 1660# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1661# that executables *can* be run. 1662ac_fn_c_try_run () 1663{ 1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1665 if { { ac_try="$ac_link" 1666case "(($ac_try" in 1667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1668 *) ac_try_echo=$ac_try;; 1669esac 1670eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1671$as_echo "$ac_try_echo"; } >&5 1672 (eval "$ac_link") 2>&5 1673 ac_status=$? 1674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1675 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1676 { { case "(($ac_try" in 1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1678 *) ac_try_echo=$ac_try;; 1679esac 1680eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1681$as_echo "$ac_try_echo"; } >&5 1682 (eval "$ac_try") 2>&5 1683 ac_status=$? 1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1685 test $ac_status = 0; }; }; then : 1686 ac_retval=0 1687else 1688 $as_echo "$as_me: program exited with status $ac_status" >&5 1689 $as_echo "$as_me: failed program was:" >&5 1690sed 's/^/| /' conftest.$ac_ext >&5 1691 1692 ac_retval=$ac_status 1693fi 1694 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1696 as_fn_set_status $ac_retval 1697 1698} # ac_fn_c_try_run 1699 1700# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1701# ------------------------------------------------------- 1702# Tests whether HEADER exists and can be compiled using the include files in 1703# INCLUDES, setting the cache variable VAR accordingly. 1704ac_fn_c_check_header_compile () 1705{ 1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1708$as_echo_n "checking for $2... " >&6; } 1709if eval \${$3+:} false; then : 1710 $as_echo_n "(cached) " >&6 1711else 1712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1713/* end confdefs.h. */ 1714$4 1715#include <$2> 1716_ACEOF 1717if ac_fn_c_try_compile "$LINENO"; then : 1718 eval "$3=yes" 1719else 1720 eval "$3=no" 1721fi 1722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1723fi 1724eval ac_res=\$$3 1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1726$as_echo "$ac_res" >&6; } 1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1728 1729} # ac_fn_c_check_header_compile 1730 1731# ac_fn_c_try_link LINENO 1732# ----------------------- 1733# Try to link conftest.$ac_ext, and return whether this succeeded. 1734ac_fn_c_try_link () 1735{ 1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1737 rm -f conftest.$ac_objext conftest$ac_exeext 1738 if { { ac_try="$ac_link" 1739case "(($ac_try" in 1740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1741 *) ac_try_echo=$ac_try;; 1742esac 1743eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1744$as_echo "$ac_try_echo"; } >&5 1745 (eval "$ac_link") 2>conftest.err 1746 ac_status=$? 1747 if test -s conftest.err; then 1748 grep -v '^ *+' conftest.err >conftest.er1 1749 cat conftest.er1 >&5 1750 mv -f conftest.er1 conftest.err 1751 fi 1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1753 test $ac_status = 0; } && { 1754 test -z "$ac_c_werror_flag" || 1755 test ! -s conftest.err 1756 } && test -s conftest$ac_exeext && { 1757 test "$cross_compiling" = yes || 1758 test -x conftest$ac_exeext 1759 }; then : 1760 ac_retval=0 1761else 1762 $as_echo "$as_me: failed program was:" >&5 1763sed 's/^/| /' conftest.$ac_ext >&5 1764 1765 ac_retval=1 1766fi 1767 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1768 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1769 # interfere with the next link command; also delete a directory that is 1770 # left behind by Apple's compiler. We do this before executing the actions. 1771 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1773 as_fn_set_status $ac_retval 1774 1775} # ac_fn_c_try_link 1776 1777# ac_fn_c_check_func LINENO FUNC VAR 1778# ---------------------------------- 1779# Tests whether FUNC exists, setting the cache variable VAR accordingly 1780ac_fn_c_check_func () 1781{ 1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1784$as_echo_n "checking for $2... " >&6; } 1785if eval \${$3+:} false; then : 1786 $as_echo_n "(cached) " >&6 1787else 1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1789/* end confdefs.h. */ 1790/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1791 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1792#define $2 innocuous_$2 1793 1794/* System header to define __stub macros and hopefully few prototypes, 1795 which can conflict with char $2 (); below. 1796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1797 <limits.h> exists even on freestanding compilers. */ 1798 1799#ifdef __STDC__ 1800# include <limits.h> 1801#else 1802# include <assert.h> 1803#endif 1804 1805#undef $2 1806 1807/* Override any GCC internal prototype to avoid an error. 1808 Use char because int might match the return type of a GCC 1809 builtin and then its argument prototype would still apply. */ 1810#ifdef __cplusplus 1811extern "C" 1812#endif 1813char $2 (); 1814/* The GNU C library defines this for functions which it implements 1815 to always fail with ENOSYS. Some functions are actually named 1816 something starting with __ and the normal name is an alias. */ 1817#if defined __stub_$2 || defined __stub___$2 1818choke me 1819#endif 1820 1821int 1822main () 1823{ 1824return $2 (); 1825 ; 1826 return 0; 1827} 1828_ACEOF 1829if ac_fn_c_try_link "$LINENO"; then : 1830 eval "$3=yes" 1831else 1832 eval "$3=no" 1833fi 1834rm -f core conftest.err conftest.$ac_objext \ 1835 conftest$ac_exeext conftest.$ac_ext 1836fi 1837eval ac_res=\$$3 1838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1839$as_echo "$ac_res" >&6; } 1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1841 1842} # ac_fn_c_check_func 1843cat >config.log <<_ACEOF 1844This file contains any messages produced by compilers while 1845running configure, to aid debugging if configure makes a mistake. 1846 1847It was created by $as_me, which was 1848generated by GNU Autoconf 2.69. Invocation command line was 1849 1850 $ $0 $@ 1851 1852_ACEOF 1853exec 5>>config.log 1854{ 1855cat <<_ASUNAME 1856## --------- ## 1857## Platform. ## 1858## --------- ## 1859 1860hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1861uname -m = `(uname -m) 2>/dev/null || echo unknown` 1862uname -r = `(uname -r) 2>/dev/null || echo unknown` 1863uname -s = `(uname -s) 2>/dev/null || echo unknown` 1864uname -v = `(uname -v) 2>/dev/null || echo unknown` 1865 1866/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1867/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1868 1869/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1870/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1871/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1872/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1873/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1874/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1875/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1876 1877_ASUNAME 1878 1879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1880for as_dir in $PATH 1881do 1882 IFS=$as_save_IFS 1883 test -z "$as_dir" && as_dir=. 1884 $as_echo "PATH: $as_dir" 1885 done 1886IFS=$as_save_IFS 1887 1888} >&5 1889 1890cat >&5 <<_ACEOF 1891 1892 1893## ----------- ## 1894## Core tests. ## 1895## ----------- ## 1896 1897_ACEOF 1898 1899 1900# Keep a trace of the command line. 1901# Strip out --no-create and --no-recursion so they do not pile up. 1902# Strip out --silent because we don't want to record it for future runs. 1903# Also quote any args containing shell meta-characters. 1904# Make two passes to allow for proper duplicate-argument suppression. 1905ac_configure_args= 1906ac_configure_args0= 1907ac_configure_args1= 1908ac_must_keep_next=false 1909for ac_pass in 1 2 1910do 1911 for ac_arg 1912 do 1913 case $ac_arg in 1914 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1915 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1916 | -silent | --silent | --silen | --sile | --sil) 1917 continue ;; 1918 *\'*) 1919 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1920 esac 1921 case $ac_pass in 1922 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1923 2) 1924 as_fn_append ac_configure_args1 " '$ac_arg'" 1925 if test $ac_must_keep_next = true; then 1926 ac_must_keep_next=false # Got value, back to normal. 1927 else 1928 case $ac_arg in 1929 *=* | --config-cache | -C | -disable-* | --disable-* \ 1930 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1931 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1932 | -with-* | --with-* | -without-* | --without-* | --x) 1933 case "$ac_configure_args0 " in 1934 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1935 esac 1936 ;; 1937 -* ) ac_must_keep_next=true ;; 1938 esac 1939 fi 1940 as_fn_append ac_configure_args " '$ac_arg'" 1941 ;; 1942 esac 1943 done 1944done 1945{ ac_configure_args0=; unset ac_configure_args0;} 1946{ ac_configure_args1=; unset ac_configure_args1;} 1947 1948# When interrupted or exit'd, cleanup temporary files, and complete 1949# config.log. We remove comments because anyway the quotes in there 1950# would cause problems or look ugly. 1951# WARNING: Use '\'' to represent an apostrophe within the trap. 1952# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1953trap 'exit_status=$? 1954 # Save into config.log some information that might help in debugging. 1955 { 1956 echo 1957 1958 $as_echo "## ---------------- ## 1959## Cache variables. ## 1960## ---------------- ##" 1961 echo 1962 # The following way of writing the cache mishandles newlines in values, 1963( 1964 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1965 eval ac_val=\$$ac_var 1966 case $ac_val in #( 1967 *${as_nl}*) 1968 case $ac_var in #( 1969 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1970$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1971 esac 1972 case $ac_var in #( 1973 _ | IFS | as_nl) ;; #( 1974 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1975 *) { eval $ac_var=; unset $ac_var;} ;; 1976 esac ;; 1977 esac 1978 done 1979 (set) 2>&1 | 1980 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1981 *${as_nl}ac_space=\ *) 1982 sed -n \ 1983 "s/'\''/'\''\\\\'\'''\''/g; 1984 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1985 ;; #( 1986 *) 1987 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1988 ;; 1989 esac | 1990 sort 1991) 1992 echo 1993 1994 $as_echo "## ----------------- ## 1995## Output variables. ## 1996## ----------------- ##" 1997 echo 1998 for ac_var in $ac_subst_vars 1999 do 2000 eval ac_val=\$$ac_var 2001 case $ac_val in 2002 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2003 esac 2004 $as_echo "$ac_var='\''$ac_val'\''" 2005 done | sort 2006 echo 2007 2008 if test -n "$ac_subst_files"; then 2009 $as_echo "## ------------------- ## 2010## File substitutions. ## 2011## ------------------- ##" 2012 echo 2013 for ac_var in $ac_subst_files 2014 do 2015 eval ac_val=\$$ac_var 2016 case $ac_val in 2017 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2018 esac 2019 $as_echo "$ac_var='\''$ac_val'\''" 2020 done | sort 2021 echo 2022 fi 2023 2024 if test -s confdefs.h; then 2025 $as_echo "## ----------- ## 2026## confdefs.h. ## 2027## ----------- ##" 2028 echo 2029 cat confdefs.h 2030 echo 2031 fi 2032 test "$ac_signal" != 0 && 2033 $as_echo "$as_me: caught signal $ac_signal" 2034 $as_echo "$as_me: exit $exit_status" 2035 } >&5 2036 rm -f core *.core core.conftest.* && 2037 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2038 exit $exit_status 2039' 0 2040for ac_signal in 1 2 13 15; do 2041 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2042done 2043ac_signal=0 2044 2045# confdefs.h avoids OS command line length limits that DEFS can exceed. 2046rm -f -r conftest* confdefs.h 2047 2048$as_echo "/* confdefs.h */" > confdefs.h 2049 2050# Predefined preprocessor variables. 2051 2052cat >>confdefs.h <<_ACEOF 2053#define PACKAGE_NAME "$PACKAGE_NAME" 2054_ACEOF 2055 2056cat >>confdefs.h <<_ACEOF 2057#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2058_ACEOF 2059 2060cat >>confdefs.h <<_ACEOF 2061#define PACKAGE_VERSION "$PACKAGE_VERSION" 2062_ACEOF 2063 2064cat >>confdefs.h <<_ACEOF 2065#define PACKAGE_STRING "$PACKAGE_STRING" 2066_ACEOF 2067 2068cat >>confdefs.h <<_ACEOF 2069#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2070_ACEOF 2071 2072cat >>confdefs.h <<_ACEOF 2073#define PACKAGE_URL "$PACKAGE_URL" 2074_ACEOF 2075 2076 2077# Let the site file select an alternate cache file if it wants to. 2078# Prefer an explicitly selected file to automatically selected ones. 2079ac_site_file1=NONE 2080ac_site_file2=NONE 2081if test -n "$CONFIG_SITE"; then 2082 # We do not want a PATH search for config.site. 2083 case $CONFIG_SITE in #(( 2084 -*) ac_site_file1=./$CONFIG_SITE;; 2085 */*) ac_site_file1=$CONFIG_SITE;; 2086 *) ac_site_file1=./$CONFIG_SITE;; 2087 esac 2088elif test "x$prefix" != xNONE; then 2089 ac_site_file1=$prefix/share/config.site 2090 ac_site_file2=$prefix/etc/config.site 2091else 2092 ac_site_file1=$ac_default_prefix/share/config.site 2093 ac_site_file2=$ac_default_prefix/etc/config.site 2094fi 2095for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2096do 2097 test "x$ac_site_file" = xNONE && continue 2098 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2099 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2100$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2101 sed 's/^/| /' "$ac_site_file" >&5 2102 . "$ac_site_file" \ 2103 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2104$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2105as_fn_error $? "failed to load site script $ac_site_file 2106See \`config.log' for more details" "$LINENO" 5; } 2107 fi 2108done 2109 2110if test -r "$cache_file"; then 2111 # Some versions of bash will fail to source /dev/null (special files 2112 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2113 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2114 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2115$as_echo "$as_me: loading cache $cache_file" >&6;} 2116 case $cache_file in 2117 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2118 *) . "./$cache_file";; 2119 esac 2120 fi 2121else 2122 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2123$as_echo "$as_me: creating cache $cache_file" >&6;} 2124 >$cache_file 2125fi 2126 2127# Check that the precious variables saved in the cache have kept the same 2128# value. 2129ac_cache_corrupted=false 2130for ac_var in $ac_precious_vars; do 2131 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2132 eval ac_new_set=\$ac_env_${ac_var}_set 2133 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2134 eval ac_new_val=\$ac_env_${ac_var}_value 2135 case $ac_old_set,$ac_new_set in 2136 set,) 2137 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2138$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2139 ac_cache_corrupted=: ;; 2140 ,set) 2141 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2142$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2143 ac_cache_corrupted=: ;; 2144 ,);; 2145 *) 2146 if test "x$ac_old_val" != "x$ac_new_val"; then 2147 # differences in whitespace do not lead to failure. 2148 ac_old_val_w=`echo x $ac_old_val` 2149 ac_new_val_w=`echo x $ac_new_val` 2150 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2151 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2152$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2153 ac_cache_corrupted=: 2154 else 2155 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2156$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2157 eval $ac_var=\$ac_old_val 2158 fi 2159 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2160$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2161 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2162$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2163 fi;; 2164 esac 2165 # Pass precious variables to config.status. 2166 if test "$ac_new_set" = set; then 2167 case $ac_new_val in 2168 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2169 *) ac_arg=$ac_var=$ac_new_val ;; 2170 esac 2171 case " $ac_configure_args " in 2172 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2173 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2174 esac 2175 fi 2176done 2177if $ac_cache_corrupted; then 2178 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2179$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2180 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2181$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2182 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2183fi 2184## -------------------- ## 2185## Main body of script. ## 2186## -------------------- ## 2187 2188ac_ext=c 2189ac_cpp='$CPP $CPPFLAGS' 2190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2192ac_compiler_gnu=$ac_cv_c_compiler_gnu 2193 2194 2195am__api_version='1.11' 2196 2197ac_aux_dir= 2198for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2199 if test -f "$ac_dir/install-sh"; then 2200 ac_aux_dir=$ac_dir 2201 ac_install_sh="$ac_aux_dir/install-sh -c" 2202 break 2203 elif test -f "$ac_dir/install.sh"; then 2204 ac_aux_dir=$ac_dir 2205 ac_install_sh="$ac_aux_dir/install.sh -c" 2206 break 2207 elif test -f "$ac_dir/shtool"; then 2208 ac_aux_dir=$ac_dir 2209 ac_install_sh="$ac_aux_dir/shtool install -c" 2210 break 2211 fi 2212done 2213if test -z "$ac_aux_dir"; then 2214 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2215fi 2216 2217# These three variables are undocumented and unsupported, 2218# and are intended to be withdrawn in a future Autoconf release. 2219# They can cause serious problems if a builder's source tree is in a directory 2220# whose full name contains unusual characters. 2221ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2222ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2223ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2224 2225 2226# Find a good install program. We prefer a C program (faster), 2227# so one script is as good as another. But avoid the broken or 2228# incompatible versions: 2229# SysV /etc/install, /usr/sbin/install 2230# SunOS /usr/etc/install 2231# IRIX /sbin/install 2232# AIX /bin/install 2233# AmigaOS /C/install, which installs bootblocks on floppy discs 2234# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2235# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2236# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2237# OS/2's system install, which has a completely different semantic 2238# ./install, which can be erroneously created by make from ./install.sh. 2239# Reject install programs that cannot install multiple files. 2240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2241$as_echo_n "checking for a BSD-compatible install... " >&6; } 2242if test -z "$INSTALL"; then 2243if ${ac_cv_path_install+:} false; then : 2244 $as_echo_n "(cached) " >&6 2245else 2246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2247for as_dir in $PATH 2248do 2249 IFS=$as_save_IFS 2250 test -z "$as_dir" && as_dir=. 2251 # Account for people who put trailing slashes in PATH elements. 2252case $as_dir/ in #(( 2253 ./ | .// | /[cC]/* | \ 2254 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2255 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2256 /usr/ucb/* ) ;; 2257 *) 2258 # OSF1 and SCO ODT 3.0 have their own names for install. 2259 # Don't use installbsd from OSF since it installs stuff as root 2260 # by default. 2261 for ac_prog in ginstall scoinst install; do 2262 for ac_exec_ext in '' $ac_executable_extensions; do 2263 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2264 if test $ac_prog = install && 2265 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2266 # AIX install. It has an incompatible calling convention. 2267 : 2268 elif test $ac_prog = install && 2269 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2270 # program-specific install script used by HP pwplus--don't use. 2271 : 2272 else 2273 rm -rf conftest.one conftest.two conftest.dir 2274 echo one > conftest.one 2275 echo two > conftest.two 2276 mkdir conftest.dir 2277 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2278 test -s conftest.one && test -s conftest.two && 2279 test -s conftest.dir/conftest.one && 2280 test -s conftest.dir/conftest.two 2281 then 2282 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2283 break 3 2284 fi 2285 fi 2286 fi 2287 done 2288 done 2289 ;; 2290esac 2291 2292 done 2293IFS=$as_save_IFS 2294 2295rm -rf conftest.one conftest.two conftest.dir 2296 2297fi 2298 if test "${ac_cv_path_install+set}" = set; then 2299 INSTALL=$ac_cv_path_install 2300 else 2301 # As a last resort, use the slow shell script. Don't cache a 2302 # value for INSTALL within a source directory, because that will 2303 # break other packages using the cache if that directory is 2304 # removed, or if the value is a relative name. 2305 INSTALL=$ac_install_sh 2306 fi 2307fi 2308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2309$as_echo "$INSTALL" >&6; } 2310 2311# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2312# It thinks the first close brace ends the variable substitution. 2313test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2314 2315test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2316 2317test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2318 2319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2320$as_echo_n "checking whether build environment is sane... " >&6; } 2321# Just in case 2322sleep 1 2323echo timestamp > conftest.file 2324# Reject unsafe characters in $srcdir or the absolute working directory 2325# name. Accept space and tab only in the latter. 2326am_lf=' 2327' 2328case `pwd` in 2329 *[\\\"\#\$\&\'\`$am_lf]*) 2330 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2331esac 2332case $srcdir in 2333 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2334 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2335esac 2336 2337# Do `set' in a subshell so we don't clobber the current shell's 2338# arguments. Must try -L first in case configure is actually a 2339# symlink; some systems play weird games with the mod time of symlinks 2340# (eg FreeBSD returns the mod time of the symlink's containing 2341# directory). 2342if ( 2343 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2344 if test "$*" = "X"; then 2345 # -L didn't work. 2346 set X `ls -t "$srcdir/configure" conftest.file` 2347 fi 2348 rm -f conftest.file 2349 if test "$*" != "X $srcdir/configure conftest.file" \ 2350 && test "$*" != "X conftest.file $srcdir/configure"; then 2351 2352 # If neither matched, then we have a broken ls. This can happen 2353 # if, for instance, CONFIG_SHELL is bash and it inherits a 2354 # broken ls alias from the environment. This has actually 2355 # happened. Such a system could not be considered "sane". 2356 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2357alias in your environment" "$LINENO" 5 2358 fi 2359 2360 test "$2" = conftest.file 2361 ) 2362then 2363 # Ok. 2364 : 2365else 2366 as_fn_error $? "newly created file is older than distributed files! 2367Check your system clock" "$LINENO" 5 2368fi 2369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2370$as_echo "yes" >&6; } 2371test "$program_prefix" != NONE && 2372 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2373# Use a double $ so make ignores it. 2374test "$program_suffix" != NONE && 2375 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2376# Double any \ or $. 2377# By default was `s,x,x', remove it if useless. 2378ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2379program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2380 2381# expand $ac_aux_dir to an absolute path 2382am_aux_dir=`cd $ac_aux_dir && pwd` 2383 2384if test x"${MISSING+set}" != xset; then 2385 case $am_aux_dir in 2386 *\ * | *\ *) 2387 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2388 *) 2389 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2390 esac 2391fi 2392# Use eval to expand $SHELL 2393if eval "$MISSING --run true"; then 2394 am_missing_run="$MISSING --run " 2395else 2396 am_missing_run= 2397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2398$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2399fi 2400 2401if test x"${install_sh}" != xset; then 2402 case $am_aux_dir in 2403 *\ * | *\ *) 2404 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2405 *) 2406 install_sh="\${SHELL} $am_aux_dir/install-sh" 2407 esac 2408fi 2409 2410# Installed binaries are usually stripped using `strip' when the user 2411# run `make install-strip'. However `strip' might not be the right 2412# tool to use in cross-compilation environments, therefore Automake 2413# will honor the `STRIP' environment variable to overrule this program. 2414if test "$cross_compiling" != no; then 2415 if test -n "$ac_tool_prefix"; then 2416 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2417set dummy ${ac_tool_prefix}strip; ac_word=$2 2418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2419$as_echo_n "checking for $ac_word... " >&6; } 2420if ${ac_cv_prog_STRIP+:} false; then : 2421 $as_echo_n "(cached) " >&6 2422else 2423 if test -n "$STRIP"; then 2424 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2425else 2426as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2427for as_dir in $PATH 2428do 2429 IFS=$as_save_IFS 2430 test -z "$as_dir" && as_dir=. 2431 for ac_exec_ext in '' $ac_executable_extensions; do 2432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2433 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2435 break 2 2436 fi 2437done 2438 done 2439IFS=$as_save_IFS 2440 2441fi 2442fi 2443STRIP=$ac_cv_prog_STRIP 2444if test -n "$STRIP"; then 2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2446$as_echo "$STRIP" >&6; } 2447else 2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2449$as_echo "no" >&6; } 2450fi 2451 2452 2453fi 2454if test -z "$ac_cv_prog_STRIP"; then 2455 ac_ct_STRIP=$STRIP 2456 # Extract the first word of "strip", so it can be a program name with args. 2457set dummy strip; ac_word=$2 2458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2459$as_echo_n "checking for $ac_word... " >&6; } 2460if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2461 $as_echo_n "(cached) " >&6 2462else 2463 if test -n "$ac_ct_STRIP"; then 2464 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2465else 2466as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2467for as_dir in $PATH 2468do 2469 IFS=$as_save_IFS 2470 test -z "$as_dir" && as_dir=. 2471 for ac_exec_ext in '' $ac_executable_extensions; do 2472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2473 ac_cv_prog_ac_ct_STRIP="strip" 2474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2475 break 2 2476 fi 2477done 2478 done 2479IFS=$as_save_IFS 2480 2481fi 2482fi 2483ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2484if test -n "$ac_ct_STRIP"; then 2485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2486$as_echo "$ac_ct_STRIP" >&6; } 2487else 2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2489$as_echo "no" >&6; } 2490fi 2491 2492 if test "x$ac_ct_STRIP" = x; then 2493 STRIP=":" 2494 else 2495 case $cross_compiling:$ac_tool_warned in 2496yes:) 2497{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2498$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2499ac_tool_warned=yes ;; 2500esac 2501 STRIP=$ac_ct_STRIP 2502 fi 2503else 2504 STRIP="$ac_cv_prog_STRIP" 2505fi 2506 2507fi 2508INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2509 2510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2511$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2512if test -z "$MKDIR_P"; then 2513 if ${ac_cv_path_mkdir+:} false; then : 2514 $as_echo_n "(cached) " >&6 2515else 2516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2517for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2518do 2519 IFS=$as_save_IFS 2520 test -z "$as_dir" && as_dir=. 2521 for ac_prog in mkdir gmkdir; do 2522 for ac_exec_ext in '' $ac_executable_extensions; do 2523 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2524 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2525 'mkdir (GNU coreutils) '* | \ 2526 'mkdir (coreutils) '* | \ 2527 'mkdir (fileutils) '4.1*) 2528 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2529 break 3;; 2530 esac 2531 done 2532 done 2533 done 2534IFS=$as_save_IFS 2535 2536fi 2537 2538 test -d ./--version && rmdir ./--version 2539 if test "${ac_cv_path_mkdir+set}" = set; then 2540 MKDIR_P="$ac_cv_path_mkdir -p" 2541 else 2542 # As a last resort, use the slow shell script. Don't cache a 2543 # value for MKDIR_P within a source directory, because that will 2544 # break other packages using the cache if that directory is 2545 # removed, or if the value is a relative name. 2546 MKDIR_P="$ac_install_sh -d" 2547 fi 2548fi 2549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2550$as_echo "$MKDIR_P" >&6; } 2551 2552mkdir_p="$MKDIR_P" 2553case $mkdir_p in 2554 [\\/$]* | ?:[\\/]*) ;; 2555 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2556esac 2557 2558for ac_prog in gawk mawk nawk awk 2559do 2560 # Extract the first word of "$ac_prog", so it can be a program name with args. 2561set dummy $ac_prog; ac_word=$2 2562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2563$as_echo_n "checking for $ac_word... " >&6; } 2564if ${ac_cv_prog_AWK+:} false; then : 2565 $as_echo_n "(cached) " >&6 2566else 2567 if test -n "$AWK"; then 2568 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2569else 2570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2571for as_dir in $PATH 2572do 2573 IFS=$as_save_IFS 2574 test -z "$as_dir" && as_dir=. 2575 for ac_exec_ext in '' $ac_executable_extensions; do 2576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2577 ac_cv_prog_AWK="$ac_prog" 2578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2579 break 2 2580 fi 2581done 2582 done 2583IFS=$as_save_IFS 2584 2585fi 2586fi 2587AWK=$ac_cv_prog_AWK 2588if test -n "$AWK"; then 2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2590$as_echo "$AWK" >&6; } 2591else 2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2593$as_echo "no" >&6; } 2594fi 2595 2596 2597 test -n "$AWK" && break 2598done 2599 2600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2601$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2602set x ${MAKE-make} 2603ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2604if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2605 $as_echo_n "(cached) " >&6 2606else 2607 cat >conftest.make <<\_ACEOF 2608SHELL = /bin/sh 2609all: 2610 @echo '@@@%%%=$(MAKE)=@@@%%%' 2611_ACEOF 2612# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2613case `${MAKE-make} -f conftest.make 2>/dev/null` in 2614 *@@@%%%=?*=@@@%%%*) 2615 eval ac_cv_prog_make_${ac_make}_set=yes;; 2616 *) 2617 eval ac_cv_prog_make_${ac_make}_set=no;; 2618esac 2619rm -f conftest.make 2620fi 2621if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2623$as_echo "yes" >&6; } 2624 SET_MAKE= 2625else 2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2627$as_echo "no" >&6; } 2628 SET_MAKE="MAKE=${MAKE-make}" 2629fi 2630 2631rm -rf .tst 2>/dev/null 2632mkdir .tst 2>/dev/null 2633if test -d .tst; then 2634 am__leading_dot=. 2635else 2636 am__leading_dot=_ 2637fi 2638rmdir .tst 2>/dev/null 2639 2640if test "`cd $srcdir && pwd`" != "`pwd`"; then 2641 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2642 # is not polluted with repeated "-I." 2643 am__isrc=' -I$(srcdir)' 2644 # test to see if srcdir already configured 2645 if test -f $srcdir/config.status; then 2646 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2647 fi 2648fi 2649 2650# test whether we have cygpath 2651if test -z "$CYGPATH_W"; then 2652 if (cygpath --version) >/dev/null 2>/dev/null; then 2653 CYGPATH_W='cygpath -w' 2654 else 2655 CYGPATH_W=echo 2656 fi 2657fi 2658 2659 2660# Define the identity of the package. 2661 PACKAGE=latd 2662 VERSION=1.31 2663 2664 2665cat >>confdefs.h <<_ACEOF 2666#define PACKAGE "$PACKAGE" 2667_ACEOF 2668 2669 2670cat >>confdefs.h <<_ACEOF 2671#define VERSION "$VERSION" 2672_ACEOF 2673 2674# Some tools Automake needs. 2675 2676ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2677 2678 2679AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2680 2681 2682AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2683 2684 2685AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2686 2687 2688MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2689 2690# We need awk for the "check" target. The system "awk" is bad on 2691# some platforms. 2692# Always define AMTAR for backward compatibility. Yes, it's still used 2693# in the wild :-( We should find a proper way to deprecate it ... 2694AMTAR='$${TAR-tar}' 2695 2696am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2697 2698 2699 2700 2701 2702 2703ac_ext=c 2704ac_cpp='$CPP $CPPFLAGS' 2705ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2706ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2707ac_compiler_gnu=$ac_cv_c_compiler_gnu 2708if test -n "$ac_tool_prefix"; then 2709 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2710set dummy ${ac_tool_prefix}gcc; ac_word=$2 2711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2712$as_echo_n "checking for $ac_word... " >&6; } 2713if ${ac_cv_prog_CC+:} false; then : 2714 $as_echo_n "(cached) " >&6 2715else 2716 if test -n "$CC"; then 2717 ac_cv_prog_CC="$CC" # Let the user override the test. 2718else 2719as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2720for as_dir in $PATH 2721do 2722 IFS=$as_save_IFS 2723 test -z "$as_dir" && as_dir=. 2724 for ac_exec_ext in '' $ac_executable_extensions; do 2725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2726 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2728 break 2 2729 fi 2730done 2731 done 2732IFS=$as_save_IFS 2733 2734fi 2735fi 2736CC=$ac_cv_prog_CC 2737if test -n "$CC"; then 2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2739$as_echo "$CC" >&6; } 2740else 2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2742$as_echo "no" >&6; } 2743fi 2744 2745 2746fi 2747if test -z "$ac_cv_prog_CC"; then 2748 ac_ct_CC=$CC 2749 # Extract the first word of "gcc", so it can be a program name with args. 2750set dummy gcc; ac_word=$2 2751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2752$as_echo_n "checking for $ac_word... " >&6; } 2753if ${ac_cv_prog_ac_ct_CC+:} false; then : 2754 $as_echo_n "(cached) " >&6 2755else 2756 if test -n "$ac_ct_CC"; then 2757 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2758else 2759as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2760for as_dir in $PATH 2761do 2762 IFS=$as_save_IFS 2763 test -z "$as_dir" && as_dir=. 2764 for ac_exec_ext in '' $ac_executable_extensions; do 2765 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2766 ac_cv_prog_ac_ct_CC="gcc" 2767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2768 break 2 2769 fi 2770done 2771 done 2772IFS=$as_save_IFS 2773 2774fi 2775fi 2776ac_ct_CC=$ac_cv_prog_ac_ct_CC 2777if test -n "$ac_ct_CC"; then 2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2779$as_echo "$ac_ct_CC" >&6; } 2780else 2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2782$as_echo "no" >&6; } 2783fi 2784 2785 if test "x$ac_ct_CC" = x; then 2786 CC="" 2787 else 2788 case $cross_compiling:$ac_tool_warned in 2789yes:) 2790{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2791$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2792ac_tool_warned=yes ;; 2793esac 2794 CC=$ac_ct_CC 2795 fi 2796else 2797 CC="$ac_cv_prog_CC" 2798fi 2799 2800if test -z "$CC"; then 2801 if test -n "$ac_tool_prefix"; then 2802 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2803set dummy ${ac_tool_prefix}cc; ac_word=$2 2804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2805$as_echo_n "checking for $ac_word... " >&6; } 2806if ${ac_cv_prog_CC+:} false; then : 2807 $as_echo_n "(cached) " >&6 2808else 2809 if test -n "$CC"; then 2810 ac_cv_prog_CC="$CC" # Let the user override the test. 2811else 2812as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2813for as_dir in $PATH 2814do 2815 IFS=$as_save_IFS 2816 test -z "$as_dir" && as_dir=. 2817 for ac_exec_ext in '' $ac_executable_extensions; do 2818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2819 ac_cv_prog_CC="${ac_tool_prefix}cc" 2820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2821 break 2 2822 fi 2823done 2824 done 2825IFS=$as_save_IFS 2826 2827fi 2828fi 2829CC=$ac_cv_prog_CC 2830if test -n "$CC"; then 2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2832$as_echo "$CC" >&6; } 2833else 2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2835$as_echo "no" >&6; } 2836fi 2837 2838 2839 fi 2840fi 2841if test -z "$CC"; then 2842 # Extract the first word of "cc", so it can be a program name with args. 2843set dummy cc; ac_word=$2 2844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2845$as_echo_n "checking for $ac_word... " >&6; } 2846if ${ac_cv_prog_CC+:} false; then : 2847 $as_echo_n "(cached) " >&6 2848else 2849 if test -n "$CC"; then 2850 ac_cv_prog_CC="$CC" # Let the user override the test. 2851else 2852 ac_prog_rejected=no 2853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2854for as_dir in $PATH 2855do 2856 IFS=$as_save_IFS 2857 test -z "$as_dir" && as_dir=. 2858 for ac_exec_ext in '' $ac_executable_extensions; do 2859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2860 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2861 ac_prog_rejected=yes 2862 continue 2863 fi 2864 ac_cv_prog_CC="cc" 2865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2866 break 2 2867 fi 2868done 2869 done 2870IFS=$as_save_IFS 2871 2872if test $ac_prog_rejected = yes; then 2873 # We found a bogon in the path, so make sure we never use it. 2874 set dummy $ac_cv_prog_CC 2875 shift 2876 if test $# != 0; then 2877 # We chose a different compiler from the bogus one. 2878 # However, it has the same basename, so the bogon will be chosen 2879 # first if we set CC to just the basename; use the full file name. 2880 shift 2881 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2882 fi 2883fi 2884fi 2885fi 2886CC=$ac_cv_prog_CC 2887if test -n "$CC"; then 2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2889$as_echo "$CC" >&6; } 2890else 2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2892$as_echo "no" >&6; } 2893fi 2894 2895 2896fi 2897if test -z "$CC"; then 2898 if test -n "$ac_tool_prefix"; then 2899 for ac_prog in cl.exe 2900 do 2901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2902set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2904$as_echo_n "checking for $ac_word... " >&6; } 2905if ${ac_cv_prog_CC+:} false; then : 2906 $as_echo_n "(cached) " >&6 2907else 2908 if test -n "$CC"; then 2909 ac_cv_prog_CC="$CC" # Let the user override the test. 2910else 2911as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2912for as_dir in $PATH 2913do 2914 IFS=$as_save_IFS 2915 test -z "$as_dir" && as_dir=. 2916 for ac_exec_ext in '' $ac_executable_extensions; do 2917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2918 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2920 break 2 2921 fi 2922done 2923 done 2924IFS=$as_save_IFS 2925 2926fi 2927fi 2928CC=$ac_cv_prog_CC 2929if test -n "$CC"; then 2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2931$as_echo "$CC" >&6; } 2932else 2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2934$as_echo "no" >&6; } 2935fi 2936 2937 2938 test -n "$CC" && break 2939 done 2940fi 2941if test -z "$CC"; then 2942 ac_ct_CC=$CC 2943 for ac_prog in cl.exe 2944do 2945 # Extract the first word of "$ac_prog", so it can be a program name with args. 2946set dummy $ac_prog; ac_word=$2 2947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2948$as_echo_n "checking for $ac_word... " >&6; } 2949if ${ac_cv_prog_ac_ct_CC+:} false; then : 2950 $as_echo_n "(cached) " >&6 2951else 2952 if test -n "$ac_ct_CC"; then 2953 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2954else 2955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2956for as_dir in $PATH 2957do 2958 IFS=$as_save_IFS 2959 test -z "$as_dir" && as_dir=. 2960 for ac_exec_ext in '' $ac_executable_extensions; do 2961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2962 ac_cv_prog_ac_ct_CC="$ac_prog" 2963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2964 break 2 2965 fi 2966done 2967 done 2968IFS=$as_save_IFS 2969 2970fi 2971fi 2972ac_ct_CC=$ac_cv_prog_ac_ct_CC 2973if test -n "$ac_ct_CC"; then 2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2975$as_echo "$ac_ct_CC" >&6; } 2976else 2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2978$as_echo "no" >&6; } 2979fi 2980 2981 2982 test -n "$ac_ct_CC" && break 2983done 2984 2985 if test "x$ac_ct_CC" = x; then 2986 CC="" 2987 else 2988 case $cross_compiling:$ac_tool_warned in 2989yes:) 2990{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2991$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2992ac_tool_warned=yes ;; 2993esac 2994 CC=$ac_ct_CC 2995 fi 2996fi 2997 2998fi 2999 3000 3001test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3002$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3003as_fn_error $? "no acceptable C compiler found in \$PATH 3004See \`config.log' for more details" "$LINENO" 5; } 3005 3006# Provide some information about the compiler. 3007$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3008set X $ac_compile 3009ac_compiler=$2 3010for ac_option in --version -v -V -qversion; do 3011 { { ac_try="$ac_compiler $ac_option >&5" 3012case "(($ac_try" in 3013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3014 *) ac_try_echo=$ac_try;; 3015esac 3016eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3017$as_echo "$ac_try_echo"; } >&5 3018 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3019 ac_status=$? 3020 if test -s conftest.err; then 3021 sed '10a\ 3022... rest of stderr output deleted ... 3023 10q' conftest.err >conftest.er1 3024 cat conftest.er1 >&5 3025 fi 3026 rm -f conftest.er1 conftest.err 3027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3028 test $ac_status = 0; } 3029done 3030 3031cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3032/* end confdefs.h. */ 3033 3034int 3035main () 3036{ 3037 3038 ; 3039 return 0; 3040} 3041_ACEOF 3042ac_clean_files_save=$ac_clean_files 3043ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3044# Try to create an executable without -o first, disregard a.out. 3045# It will help us diagnose broken compilers, and finding out an intuition 3046# of exeext. 3047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3048$as_echo_n "checking whether the C compiler works... " >&6; } 3049ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3050 3051# The possible output files: 3052ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3053 3054ac_rmfiles= 3055for ac_file in $ac_files 3056do 3057 case $ac_file in 3058 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3059 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3060 esac 3061done 3062rm -f $ac_rmfiles 3063 3064if { { ac_try="$ac_link_default" 3065case "(($ac_try" in 3066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3067 *) ac_try_echo=$ac_try;; 3068esac 3069eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3070$as_echo "$ac_try_echo"; } >&5 3071 (eval "$ac_link_default") 2>&5 3072 ac_status=$? 3073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3074 test $ac_status = 0; }; then : 3075 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3076# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3077# in a Makefile. We should not override ac_cv_exeext if it was cached, 3078# so that the user can short-circuit this test for compilers unknown to 3079# Autoconf. 3080for ac_file in $ac_files '' 3081do 3082 test -f "$ac_file" || continue 3083 case $ac_file in 3084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3085 ;; 3086 [ab].out ) 3087 # We found the default executable, but exeext='' is most 3088 # certainly right. 3089 break;; 3090 *.* ) 3091 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3092 then :; else 3093 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3094 fi 3095 # We set ac_cv_exeext here because the later test for it is not 3096 # safe: cross compilers may not add the suffix if given an `-o' 3097 # argument, so we may need to know it at that point already. 3098 # Even if this section looks crufty: it has the advantage of 3099 # actually working. 3100 break;; 3101 * ) 3102 break;; 3103 esac 3104done 3105test "$ac_cv_exeext" = no && ac_cv_exeext= 3106 3107else 3108 ac_file='' 3109fi 3110if test -z "$ac_file"; then : 3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3112$as_echo "no" >&6; } 3113$as_echo "$as_me: failed program was:" >&5 3114sed 's/^/| /' conftest.$ac_ext >&5 3115 3116{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3117$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3118as_fn_error 77 "C compiler cannot create executables 3119See \`config.log' for more details" "$LINENO" 5; } 3120else 3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3122$as_echo "yes" >&6; } 3123fi 3124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3125$as_echo_n "checking for C compiler default output file name... " >&6; } 3126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3127$as_echo "$ac_file" >&6; } 3128ac_exeext=$ac_cv_exeext 3129 3130rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3131ac_clean_files=$ac_clean_files_save 3132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3133$as_echo_n "checking for suffix of executables... " >&6; } 3134if { { ac_try="$ac_link" 3135case "(($ac_try" in 3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3137 *) ac_try_echo=$ac_try;; 3138esac 3139eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3140$as_echo "$ac_try_echo"; } >&5 3141 (eval "$ac_link") 2>&5 3142 ac_status=$? 3143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3144 test $ac_status = 0; }; then : 3145 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3146# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3147# work properly (i.e., refer to `conftest.exe'), while it won't with 3148# `rm'. 3149for ac_file in conftest.exe conftest conftest.*; do 3150 test -f "$ac_file" || continue 3151 case $ac_file in 3152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3153 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3154 break;; 3155 * ) break;; 3156 esac 3157done 3158else 3159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3160$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3161as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3162See \`config.log' for more details" "$LINENO" 5; } 3163fi 3164rm -f conftest conftest$ac_cv_exeext 3165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3166$as_echo "$ac_cv_exeext" >&6; } 3167 3168rm -f conftest.$ac_ext 3169EXEEXT=$ac_cv_exeext 3170ac_exeext=$EXEEXT 3171cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3172/* end confdefs.h. */ 3173#include <stdio.h> 3174int 3175main () 3176{ 3177FILE *f = fopen ("conftest.out", "w"); 3178 return ferror (f) || fclose (f) != 0; 3179 3180 ; 3181 return 0; 3182} 3183_ACEOF 3184ac_clean_files="$ac_clean_files conftest.out" 3185# Check that the compiler produces executables we can run. If not, either 3186# the compiler is broken, or we cross compile. 3187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3188$as_echo_n "checking whether we are cross compiling... " >&6; } 3189if test "$cross_compiling" != yes; then 3190 { { ac_try="$ac_link" 3191case "(($ac_try" in 3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3193 *) ac_try_echo=$ac_try;; 3194esac 3195eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3196$as_echo "$ac_try_echo"; } >&5 3197 (eval "$ac_link") 2>&5 3198 ac_status=$? 3199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3200 test $ac_status = 0; } 3201 if { ac_try='./conftest$ac_cv_exeext' 3202 { { case "(($ac_try" in 3203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3204 *) ac_try_echo=$ac_try;; 3205esac 3206eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3207$as_echo "$ac_try_echo"; } >&5 3208 (eval "$ac_try") 2>&5 3209 ac_status=$? 3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3211 test $ac_status = 0; }; }; then 3212 cross_compiling=no 3213 else 3214 if test "$cross_compiling" = maybe; then 3215 cross_compiling=yes 3216 else 3217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3218$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3219as_fn_error $? "cannot run C compiled programs. 3220If you meant to cross compile, use \`--host'. 3221See \`config.log' for more details" "$LINENO" 5; } 3222 fi 3223 fi 3224fi 3225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3226$as_echo "$cross_compiling" >&6; } 3227 3228rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3229ac_clean_files=$ac_clean_files_save 3230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3231$as_echo_n "checking for suffix of object files... " >&6; } 3232if ${ac_cv_objext+:} false; then : 3233 $as_echo_n "(cached) " >&6 3234else 3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3236/* end confdefs.h. */ 3237 3238int 3239main () 3240{ 3241 3242 ; 3243 return 0; 3244} 3245_ACEOF 3246rm -f conftest.o conftest.obj 3247if { { ac_try="$ac_compile" 3248case "(($ac_try" in 3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3250 *) ac_try_echo=$ac_try;; 3251esac 3252eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3253$as_echo "$ac_try_echo"; } >&5 3254 (eval "$ac_compile") 2>&5 3255 ac_status=$? 3256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3257 test $ac_status = 0; }; then : 3258 for ac_file in conftest.o conftest.obj conftest.*; do 3259 test -f "$ac_file" || continue; 3260 case $ac_file in 3261 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3262 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3263 break;; 3264 esac 3265done 3266else 3267 $as_echo "$as_me: failed program was:" >&5 3268sed 's/^/| /' conftest.$ac_ext >&5 3269 3270{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3271$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3272as_fn_error $? "cannot compute suffix of object files: cannot compile 3273See \`config.log' for more details" "$LINENO" 5; } 3274fi 3275rm -f conftest.$ac_cv_objext conftest.$ac_ext 3276fi 3277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3278$as_echo "$ac_cv_objext" >&6; } 3279OBJEXT=$ac_cv_objext 3280ac_objext=$OBJEXT 3281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3282$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3283if ${ac_cv_c_compiler_gnu+:} false; then : 3284 $as_echo_n "(cached) " >&6 3285else 3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3287/* end confdefs.h. */ 3288 3289int 3290main () 3291{ 3292#ifndef __GNUC__ 3293 choke me 3294#endif 3295 3296 ; 3297 return 0; 3298} 3299_ACEOF 3300if ac_fn_c_try_compile "$LINENO"; then : 3301 ac_compiler_gnu=yes 3302else 3303 ac_compiler_gnu=no 3304fi 3305rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3306ac_cv_c_compiler_gnu=$ac_compiler_gnu 3307 3308fi 3309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3310$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3311if test $ac_compiler_gnu = yes; then 3312 GCC=yes 3313else 3314 GCC= 3315fi 3316ac_test_CFLAGS=${CFLAGS+set} 3317ac_save_CFLAGS=$CFLAGS 3318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3319$as_echo_n "checking whether $CC accepts -g... " >&6; } 3320if ${ac_cv_prog_cc_g+:} false; then : 3321 $as_echo_n "(cached) " >&6 3322else 3323 ac_save_c_werror_flag=$ac_c_werror_flag 3324 ac_c_werror_flag=yes 3325 ac_cv_prog_cc_g=no 3326 CFLAGS="-g" 3327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3328/* end confdefs.h. */ 3329 3330int 3331main () 3332{ 3333 3334 ; 3335 return 0; 3336} 3337_ACEOF 3338if ac_fn_c_try_compile "$LINENO"; then : 3339 ac_cv_prog_cc_g=yes 3340else 3341 CFLAGS="" 3342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3343/* end confdefs.h. */ 3344 3345int 3346main () 3347{ 3348 3349 ; 3350 return 0; 3351} 3352_ACEOF 3353if ac_fn_c_try_compile "$LINENO"; then : 3354 3355else 3356 ac_c_werror_flag=$ac_save_c_werror_flag 3357 CFLAGS="-g" 3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3359/* end confdefs.h. */ 3360 3361int 3362main () 3363{ 3364 3365 ; 3366 return 0; 3367} 3368_ACEOF 3369if ac_fn_c_try_compile "$LINENO"; then : 3370 ac_cv_prog_cc_g=yes 3371fi 3372rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3373fi 3374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3375fi 3376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3377 ac_c_werror_flag=$ac_save_c_werror_flag 3378fi 3379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3380$as_echo "$ac_cv_prog_cc_g" >&6; } 3381if test "$ac_test_CFLAGS" = set; then 3382 CFLAGS=$ac_save_CFLAGS 3383elif test $ac_cv_prog_cc_g = yes; then 3384 if test "$GCC" = yes; then 3385 CFLAGS="-g -O2" 3386 else 3387 CFLAGS="-g" 3388 fi 3389else 3390 if test "$GCC" = yes; then 3391 CFLAGS="-O2" 3392 else 3393 CFLAGS= 3394 fi 3395fi 3396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3397$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3398if ${ac_cv_prog_cc_c89+:} false; then : 3399 $as_echo_n "(cached) " >&6 3400else 3401 ac_cv_prog_cc_c89=no 3402ac_save_CC=$CC 3403cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3404/* end confdefs.h. */ 3405#include <stdarg.h> 3406#include <stdio.h> 3407struct stat; 3408/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3409struct buf { int x; }; 3410FILE * (*rcsopen) (struct buf *, struct stat *, int); 3411static char *e (p, i) 3412 char **p; 3413 int i; 3414{ 3415 return p[i]; 3416} 3417static char *f (char * (*g) (char **, int), char **p, ...) 3418{ 3419 char *s; 3420 va_list v; 3421 va_start (v,p); 3422 s = g (p, va_arg (v,int)); 3423 va_end (v); 3424 return s; 3425} 3426 3427/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3428 function prototypes and stuff, but not '\xHH' hex character constants. 3429 These don't provoke an error unfortunately, instead are silently treated 3430 as 'x'. The following induces an error, until -std is added to get 3431 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3432 array size at least. It's necessary to write '\x00'==0 to get something 3433 that's true only with -std. */ 3434int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3435 3436/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3437 inside strings and character constants. */ 3438#define FOO(x) 'x' 3439int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3440 3441int test (int i, double x); 3442struct s1 {int (*f) (int a);}; 3443struct s2 {int (*f) (double a);}; 3444int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3445int argc; 3446char **argv; 3447int 3448main () 3449{ 3450return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3451 ; 3452 return 0; 3453} 3454_ACEOF 3455for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3456 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3457do 3458 CC="$ac_save_CC $ac_arg" 3459 if ac_fn_c_try_compile "$LINENO"; then : 3460 ac_cv_prog_cc_c89=$ac_arg 3461fi 3462rm -f core conftest.err conftest.$ac_objext 3463 test "x$ac_cv_prog_cc_c89" != "xno" && break 3464done 3465rm -f conftest.$ac_ext 3466CC=$ac_save_CC 3467 3468fi 3469# AC_CACHE_VAL 3470case "x$ac_cv_prog_cc_c89" in 3471 x) 3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3473$as_echo "none needed" >&6; } ;; 3474 xno) 3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3476$as_echo "unsupported" >&6; } ;; 3477 *) 3478 CC="$CC $ac_cv_prog_cc_c89" 3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3480$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3481esac 3482if test "x$ac_cv_prog_cc_c89" != xno; then : 3483 3484fi 3485 3486ac_ext=c 3487ac_cpp='$CPP $CPPFLAGS' 3488ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3489ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3490ac_compiler_gnu=$ac_cv_c_compiler_gnu 3491DEPDIR="${am__leading_dot}deps" 3492 3493ac_config_commands="$ac_config_commands depfiles" 3494 3495 3496am_make=${MAKE-make} 3497cat > confinc << 'END' 3498am__doit: 3499 @echo this is the am__doit target 3500.PHONY: am__doit 3501END 3502# If we don't find an include directive, just comment out the code. 3503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3504$as_echo_n "checking for style of include used by $am_make... " >&6; } 3505am__include="#" 3506am__quote= 3507_am_result=none 3508# First try GNU make style include. 3509echo "include confinc" > confmf 3510# Ignore all kinds of additional output from `make'. 3511case `$am_make -s -f confmf 2> /dev/null` in #( 3512*the\ am__doit\ target*) 3513 am__include=include 3514 am__quote= 3515 _am_result=GNU 3516 ;; 3517esac 3518# Now try BSD make style include. 3519if test "$am__include" = "#"; then 3520 echo '.include "confinc"' > confmf 3521 case `$am_make -s -f confmf 2> /dev/null` in #( 3522 *the\ am__doit\ target*) 3523 am__include=.include 3524 am__quote="\"" 3525 _am_result=BSD 3526 ;; 3527 esac 3528fi 3529 3530 3531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3532$as_echo "$_am_result" >&6; } 3533rm -f confinc confmf 3534 3535# Check whether --enable-dependency-tracking was given. 3536if test "${enable_dependency_tracking+set}" = set; then : 3537 enableval=$enable_dependency_tracking; 3538fi 3539 3540if test "x$enable_dependency_tracking" != xno; then 3541 am_depcomp="$ac_aux_dir/depcomp" 3542 AMDEPBACKSLASH='\' 3543 am__nodep='_no' 3544fi 3545 if test "x$enable_dependency_tracking" != xno; then 3546 AMDEP_TRUE= 3547 AMDEP_FALSE='#' 3548else 3549 AMDEP_TRUE='#' 3550 AMDEP_FALSE= 3551fi 3552 3553 3554 3555depcc="$CC" am_compiler_list= 3556 3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3558$as_echo_n "checking dependency style of $depcc... " >&6; } 3559if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3560 $as_echo_n "(cached) " >&6 3561else 3562 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3563 # We make a subdir and do the tests there. Otherwise we can end up 3564 # making bogus files that we don't know about and never remove. For 3565 # instance it was reported that on HP-UX the gcc test will end up 3566 # making a dummy file named `D' -- because `-MD' means `put the output 3567 # in D'. 3568 rm -rf conftest.dir 3569 mkdir conftest.dir 3570 # Copy depcomp to subdir because otherwise we won't find it if we're 3571 # using a relative directory. 3572 cp "$am_depcomp" conftest.dir 3573 cd conftest.dir 3574 # We will build objects and dependencies in a subdirectory because 3575 # it helps to detect inapplicable dependency modes. For instance 3576 # both Tru64's cc and ICC support -MD to output dependencies as a 3577 # side effect of compilation, but ICC will put the dependencies in 3578 # the current directory while Tru64 will put them in the object 3579 # directory. 3580 mkdir sub 3581 3582 am_cv_CC_dependencies_compiler_type=none 3583 if test "$am_compiler_list" = ""; then 3584 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3585 fi 3586 am__universal=false 3587 case " $depcc " in #( 3588 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3589 esac 3590 3591 for depmode in $am_compiler_list; do 3592 # Setup a source with many dependencies, because some compilers 3593 # like to wrap large dependency lists on column 80 (with \), and 3594 # we should not choose a depcomp mode which is confused by this. 3595 # 3596 # We need to recreate these files for each test, as the compiler may 3597 # overwrite some of them when testing with obscure command lines. 3598 # This happens at least with the AIX C compiler. 3599 : > sub/conftest.c 3600 for i in 1 2 3 4 5 6; do 3601 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3602 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3603 # Solaris 8's {/usr,}/bin/sh. 3604 touch sub/conftst$i.h 3605 done 3606 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3607 3608 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3609 # mode. It turns out that the SunPro C++ compiler does not properly 3610 # handle `-M -o', and we need to detect this. Also, some Intel 3611 # versions had trouble with output in subdirs 3612 am__obj=sub/conftest.${OBJEXT-o} 3613 am__minus_obj="-o $am__obj" 3614 case $depmode in 3615 gcc) 3616 # This depmode causes a compiler race in universal mode. 3617 test "$am__universal" = false || continue 3618 ;; 3619 nosideeffect) 3620 # after this tag, mechanisms are not by side-effect, so they'll 3621 # only be used when explicitly requested 3622 if test "x$enable_dependency_tracking" = xyes; then 3623 continue 3624 else 3625 break 3626 fi 3627 ;; 3628 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3629 # This compiler won't grok `-c -o', but also, the minuso test has 3630 # not run yet. These depmodes are late enough in the game, and 3631 # so weak that their functioning should not be impacted. 3632 am__obj=conftest.${OBJEXT-o} 3633 am__minus_obj= 3634 ;; 3635 none) break ;; 3636 esac 3637 if depmode=$depmode \ 3638 source=sub/conftest.c object=$am__obj \ 3639 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3640 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3641 >/dev/null 2>conftest.err && 3642 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3643 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3644 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3645 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3646 # icc doesn't choke on unknown options, it will just issue warnings 3647 # or remarks (even with -Werror). So we grep stderr for any message 3648 # that says an option was ignored or not supported. 3649 # When given -MP, icc 7.0 and 7.1 complain thusly: 3650 # icc: Command line warning: ignoring option '-M'; no argument required 3651 # The diagnosis changed in icc 8.0: 3652 # icc: Command line remark: option '-MP' not supported 3653 if (grep 'ignoring option' conftest.err || 3654 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3655 am_cv_CC_dependencies_compiler_type=$depmode 3656 break 3657 fi 3658 fi 3659 done 3660 3661 cd .. 3662 rm -rf conftest.dir 3663else 3664 am_cv_CC_dependencies_compiler_type=none 3665fi 3666 3667fi 3668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3669$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3670CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3671 3672 if 3673 test "x$enable_dependency_tracking" != xno \ 3674 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3675 am__fastdepCC_TRUE= 3676 am__fastdepCC_FALSE='#' 3677else 3678 am__fastdepCC_TRUE='#' 3679 am__fastdepCC_FALSE= 3680fi 3681 3682 3683ac_ext=cpp 3684ac_cpp='$CXXCPP $CPPFLAGS' 3685ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3686ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3687ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3688if test -z "$CXX"; then 3689 if test -n "$CCC"; then 3690 CXX=$CCC 3691 else 3692 if test -n "$ac_tool_prefix"; then 3693 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3694 do 3695 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3696set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3698$as_echo_n "checking for $ac_word... " >&6; } 3699if ${ac_cv_prog_CXX+:} false; then : 3700 $as_echo_n "(cached) " >&6 3701else 3702 if test -n "$CXX"; then 3703 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3704else 3705as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3706for as_dir in $PATH 3707do 3708 IFS=$as_save_IFS 3709 test -z "$as_dir" && as_dir=. 3710 for ac_exec_ext in '' $ac_executable_extensions; do 3711 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3712 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3714 break 2 3715 fi 3716done 3717 done 3718IFS=$as_save_IFS 3719 3720fi 3721fi 3722CXX=$ac_cv_prog_CXX 3723if test -n "$CXX"; then 3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3725$as_echo "$CXX" >&6; } 3726else 3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3728$as_echo "no" >&6; } 3729fi 3730 3731 3732 test -n "$CXX" && break 3733 done 3734fi 3735if test -z "$CXX"; then 3736 ac_ct_CXX=$CXX 3737 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3738do 3739 # Extract the first word of "$ac_prog", so it can be a program name with args. 3740set dummy $ac_prog; ac_word=$2 3741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3742$as_echo_n "checking for $ac_word... " >&6; } 3743if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3744 $as_echo_n "(cached) " >&6 3745else 3746 if test -n "$ac_ct_CXX"; then 3747 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3748else 3749as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3750for as_dir in $PATH 3751do 3752 IFS=$as_save_IFS 3753 test -z "$as_dir" && as_dir=. 3754 for ac_exec_ext in '' $ac_executable_extensions; do 3755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3756 ac_cv_prog_ac_ct_CXX="$ac_prog" 3757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3758 break 2 3759 fi 3760done 3761 done 3762IFS=$as_save_IFS 3763 3764fi 3765fi 3766ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3767if test -n "$ac_ct_CXX"; then 3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3769$as_echo "$ac_ct_CXX" >&6; } 3770else 3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3772$as_echo "no" >&6; } 3773fi 3774 3775 3776 test -n "$ac_ct_CXX" && break 3777done 3778 3779 if test "x$ac_ct_CXX" = x; then 3780 CXX="g++" 3781 else 3782 case $cross_compiling:$ac_tool_warned in 3783yes:) 3784{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3785$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3786ac_tool_warned=yes ;; 3787esac 3788 CXX=$ac_ct_CXX 3789 fi 3790fi 3791 3792 fi 3793fi 3794# Provide some information about the compiler. 3795$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3796set X $ac_compile 3797ac_compiler=$2 3798for ac_option in --version -v -V -qversion; do 3799 { { ac_try="$ac_compiler $ac_option >&5" 3800case "(($ac_try" in 3801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3802 *) ac_try_echo=$ac_try;; 3803esac 3804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3805$as_echo "$ac_try_echo"; } >&5 3806 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3807 ac_status=$? 3808 if test -s conftest.err; then 3809 sed '10a\ 3810... rest of stderr output deleted ... 3811 10q' conftest.err >conftest.er1 3812 cat conftest.er1 >&5 3813 fi 3814 rm -f conftest.er1 conftest.err 3815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3816 test $ac_status = 0; } 3817done 3818 3819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3820$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3821if ${ac_cv_cxx_compiler_gnu+:} false; then : 3822 $as_echo_n "(cached) " >&6 3823else 3824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3825/* end confdefs.h. */ 3826 3827int 3828main () 3829{ 3830#ifndef __GNUC__ 3831 choke me 3832#endif 3833 3834 ; 3835 return 0; 3836} 3837_ACEOF 3838if ac_fn_cxx_try_compile "$LINENO"; then : 3839 ac_compiler_gnu=yes 3840else 3841 ac_compiler_gnu=no 3842fi 3843rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3844ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3845 3846fi 3847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3848$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3849if test $ac_compiler_gnu = yes; then 3850 GXX=yes 3851else 3852 GXX= 3853fi 3854ac_test_CXXFLAGS=${CXXFLAGS+set} 3855ac_save_CXXFLAGS=$CXXFLAGS 3856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3857$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3858if ${ac_cv_prog_cxx_g+:} false; then : 3859 $as_echo_n "(cached) " >&6 3860else 3861 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3862 ac_cxx_werror_flag=yes 3863 ac_cv_prog_cxx_g=no 3864 CXXFLAGS="-g" 3865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3866/* end confdefs.h. */ 3867 3868int 3869main () 3870{ 3871 3872 ; 3873 return 0; 3874} 3875_ACEOF 3876if ac_fn_cxx_try_compile "$LINENO"; then : 3877 ac_cv_prog_cxx_g=yes 3878else 3879 CXXFLAGS="" 3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3881/* end confdefs.h. */ 3882 3883int 3884main () 3885{ 3886 3887 ; 3888 return 0; 3889} 3890_ACEOF 3891if ac_fn_cxx_try_compile "$LINENO"; then : 3892 3893else 3894 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3895 CXXFLAGS="-g" 3896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3897/* end confdefs.h. */ 3898 3899int 3900main () 3901{ 3902 3903 ; 3904 return 0; 3905} 3906_ACEOF 3907if ac_fn_cxx_try_compile "$LINENO"; then : 3908 ac_cv_prog_cxx_g=yes 3909fi 3910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3911fi 3912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3913fi 3914rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3915 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3916fi 3917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3918$as_echo "$ac_cv_prog_cxx_g" >&6; } 3919if test "$ac_test_CXXFLAGS" = set; then 3920 CXXFLAGS=$ac_save_CXXFLAGS 3921elif test $ac_cv_prog_cxx_g = yes; then 3922 if test "$GXX" = yes; then 3923 CXXFLAGS="-g -O2" 3924 else 3925 CXXFLAGS="-g" 3926 fi 3927else 3928 if test "$GXX" = yes; then 3929 CXXFLAGS="-O2" 3930 else 3931 CXXFLAGS= 3932 fi 3933fi 3934ac_ext=c 3935ac_cpp='$CPP $CPPFLAGS' 3936ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3937ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3938ac_compiler_gnu=$ac_cv_c_compiler_gnu 3939 3940depcc="$CXX" am_compiler_list= 3941 3942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3943$as_echo_n "checking dependency style of $depcc... " >&6; } 3944if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 3945 $as_echo_n "(cached) " >&6 3946else 3947 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3948 # We make a subdir and do the tests there. Otherwise we can end up 3949 # making bogus files that we don't know about and never remove. For 3950 # instance it was reported that on HP-UX the gcc test will end up 3951 # making a dummy file named `D' -- because `-MD' means `put the output 3952 # in D'. 3953 rm -rf conftest.dir 3954 mkdir conftest.dir 3955 # Copy depcomp to subdir because otherwise we won't find it if we're 3956 # using a relative directory. 3957 cp "$am_depcomp" conftest.dir 3958 cd conftest.dir 3959 # We will build objects and dependencies in a subdirectory because 3960 # it helps to detect inapplicable dependency modes. For instance 3961 # both Tru64's cc and ICC support -MD to output dependencies as a 3962 # side effect of compilation, but ICC will put the dependencies in 3963 # the current directory while Tru64 will put them in the object 3964 # directory. 3965 mkdir sub 3966 3967 am_cv_CXX_dependencies_compiler_type=none 3968 if test "$am_compiler_list" = ""; then 3969 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3970 fi 3971 am__universal=false 3972 case " $depcc " in #( 3973 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3974 esac 3975 3976 for depmode in $am_compiler_list; do 3977 # Setup a source with many dependencies, because some compilers 3978 # like to wrap large dependency lists on column 80 (with \), and 3979 # we should not choose a depcomp mode which is confused by this. 3980 # 3981 # We need to recreate these files for each test, as the compiler may 3982 # overwrite some of them when testing with obscure command lines. 3983 # This happens at least with the AIX C compiler. 3984 : > sub/conftest.c 3985 for i in 1 2 3 4 5 6; do 3986 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3987 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3988 # Solaris 8's {/usr,}/bin/sh. 3989 touch sub/conftst$i.h 3990 done 3991 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3992 3993 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3994 # mode. It turns out that the SunPro C++ compiler does not properly 3995 # handle `-M -o', and we need to detect this. Also, some Intel 3996 # versions had trouble with output in subdirs 3997 am__obj=sub/conftest.${OBJEXT-o} 3998 am__minus_obj="-o $am__obj" 3999 case $depmode in 4000 gcc) 4001 # This depmode causes a compiler race in universal mode. 4002 test "$am__universal" = false || continue 4003 ;; 4004 nosideeffect) 4005 # after this tag, mechanisms are not by side-effect, so they'll 4006 # only be used when explicitly requested 4007 if test "x$enable_dependency_tracking" = xyes; then 4008 continue 4009 else 4010 break 4011 fi 4012 ;; 4013 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4014 # This compiler won't grok `-c -o', but also, the minuso test has 4015 # not run yet. These depmodes are late enough in the game, and 4016 # so weak that their functioning should not be impacted. 4017 am__obj=conftest.${OBJEXT-o} 4018 am__minus_obj= 4019 ;; 4020 none) break ;; 4021 esac 4022 if depmode=$depmode \ 4023 source=sub/conftest.c object=$am__obj \ 4024 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4025 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4026 >/dev/null 2>conftest.err && 4027 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4028 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4029 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4030 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4031 # icc doesn't choke on unknown options, it will just issue warnings 4032 # or remarks (even with -Werror). So we grep stderr for any message 4033 # that says an option was ignored or not supported. 4034 # When given -MP, icc 7.0 and 7.1 complain thusly: 4035 # icc: Command line warning: ignoring option '-M'; no argument required 4036 # The diagnosis changed in icc 8.0: 4037 # icc: Command line remark: option '-MP' not supported 4038 if (grep 'ignoring option' conftest.err || 4039 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4040 am_cv_CXX_dependencies_compiler_type=$depmode 4041 break 4042 fi 4043 fi 4044 done 4045 4046 cd .. 4047 rm -rf conftest.dir 4048else 4049 am_cv_CXX_dependencies_compiler_type=none 4050fi 4051 4052fi 4053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 4054$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 4055CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 4056 4057 if 4058 test "x$enable_dependency_tracking" != xno \ 4059 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 4060 am__fastdepCXX_TRUE= 4061 am__fastdepCXX_FALSE='#' 4062else 4063 am__fastdepCXX_TRUE='#' 4064 am__fastdepCXX_FALSE= 4065fi 4066 4067 4068ac_ext=c 4069ac_cpp='$CPP $CPPFLAGS' 4070ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4071ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4072ac_compiler_gnu=$ac_cv_c_compiler_gnu 4073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4074$as_echo_n "checking how to run the C preprocessor... " >&6; } 4075# On Suns, sometimes $CPP names a directory. 4076if test -n "$CPP" && test -d "$CPP"; then 4077 CPP= 4078fi 4079if test -z "$CPP"; then 4080 if ${ac_cv_prog_CPP+:} false; then : 4081 $as_echo_n "(cached) " >&6 4082else 4083 # Double quotes because CPP needs to be expanded 4084 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4085 do 4086 ac_preproc_ok=false 4087for ac_c_preproc_warn_flag in '' yes 4088do 4089 # Use a header file that comes with gcc, so configuring glibc 4090 # with a fresh cross-compiler works. 4091 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4092 # <limits.h> exists even on freestanding compilers. 4093 # On the NeXT, cc -E runs the code through the compiler's parser, 4094 # not just through cpp. "Syntax error" is here to catch this case. 4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4096/* end confdefs.h. */ 4097#ifdef __STDC__ 4098# include <limits.h> 4099#else 4100# include <assert.h> 4101#endif 4102 Syntax error 4103_ACEOF 4104if ac_fn_c_try_cpp "$LINENO"; then : 4105 4106else 4107 # Broken: fails on valid input. 4108continue 4109fi 4110rm -f conftest.err conftest.i conftest.$ac_ext 4111 4112 # OK, works on sane cases. Now check whether nonexistent headers 4113 # can be detected and how. 4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4115/* end confdefs.h. */ 4116#include <ac_nonexistent.h> 4117_ACEOF 4118if ac_fn_c_try_cpp "$LINENO"; then : 4119 # Broken: success on invalid input. 4120continue 4121else 4122 # Passes both tests. 4123ac_preproc_ok=: 4124break 4125fi 4126rm -f conftest.err conftest.i conftest.$ac_ext 4127 4128done 4129# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4130rm -f conftest.i conftest.err conftest.$ac_ext 4131if $ac_preproc_ok; then : 4132 break 4133fi 4134 4135 done 4136 ac_cv_prog_CPP=$CPP 4137 4138fi 4139 CPP=$ac_cv_prog_CPP 4140else 4141 ac_cv_prog_CPP=$CPP 4142fi 4143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4144$as_echo "$CPP" >&6; } 4145ac_preproc_ok=false 4146for ac_c_preproc_warn_flag in '' yes 4147do 4148 # Use a header file that comes with gcc, so configuring glibc 4149 # with a fresh cross-compiler works. 4150 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4151 # <limits.h> exists even on freestanding compilers. 4152 # On the NeXT, cc -E runs the code through the compiler's parser, 4153 # not just through cpp. "Syntax error" is here to catch this case. 4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4155/* end confdefs.h. */ 4156#ifdef __STDC__ 4157# include <limits.h> 4158#else 4159# include <assert.h> 4160#endif 4161 Syntax error 4162_ACEOF 4163if ac_fn_c_try_cpp "$LINENO"; then : 4164 4165else 4166 # Broken: fails on valid input. 4167continue 4168fi 4169rm -f conftest.err conftest.i conftest.$ac_ext 4170 4171 # OK, works on sane cases. Now check whether nonexistent headers 4172 # can be detected and how. 4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4174/* end confdefs.h. */ 4175#include <ac_nonexistent.h> 4176_ACEOF 4177if ac_fn_c_try_cpp "$LINENO"; then : 4178 # Broken: success on invalid input. 4179continue 4180else 4181 # Passes both tests. 4182ac_preproc_ok=: 4183break 4184fi 4185rm -f conftest.err conftest.i conftest.$ac_ext 4186 4187done 4188# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4189rm -f conftest.i conftest.err conftest.$ac_ext 4190if $ac_preproc_ok; then : 4191 4192else 4193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4194$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4195as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4196See \`config.log' for more details" "$LINENO" 5; } 4197fi 4198 4199ac_ext=c 4200ac_cpp='$CPP $CPPFLAGS' 4201ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4202ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4203ac_compiler_gnu=$ac_cv_c_compiler_gnu 4204 4205 4206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 4207$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 4208set x ${MAKE-make} 4209ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 4210if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 4211 $as_echo_n "(cached) " >&6 4212else 4213 cat >conftest.make <<\_ACEOF 4214SHELL = /bin/sh 4215all: 4216 @echo '@@@%%%=$(MAKE)=@@@%%%' 4217_ACEOF 4218# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4219case `${MAKE-make} -f conftest.make 2>/dev/null` in 4220 *@@@%%%=?*=@@@%%%*) 4221 eval ac_cv_prog_make_${ac_make}_set=yes;; 4222 *) 4223 eval ac_cv_prog_make_${ac_make}_set=no;; 4224esac 4225rm -f conftest.make 4226fi 4227if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4229$as_echo "yes" >&6; } 4230 SET_MAKE= 4231else 4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4233$as_echo "no" >&6; } 4234 SET_MAKE="MAKE=${MAKE-make}" 4235fi 4236 4237 4238 4239 4240 4241 4242 4243 4244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4245$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4246if ${ac_cv_path_GREP+:} false; then : 4247 $as_echo_n "(cached) " >&6 4248else 4249 if test -z "$GREP"; then 4250 ac_path_GREP_found=false 4251 # Loop through the user's path and test for each of PROGNAME-LIST 4252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4253for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4254do 4255 IFS=$as_save_IFS 4256 test -z "$as_dir" && as_dir=. 4257 for ac_prog in grep ggrep; do 4258 for ac_exec_ext in '' $ac_executable_extensions; do 4259 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4260 as_fn_executable_p "$ac_path_GREP" || continue 4261# Check for GNU ac_path_GREP and select it if it is found. 4262 # Check for GNU $ac_path_GREP 4263case `"$ac_path_GREP" --version 2>&1` in 4264*GNU*) 4265 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4266*) 4267 ac_count=0 4268 $as_echo_n 0123456789 >"conftest.in" 4269 while : 4270 do 4271 cat "conftest.in" "conftest.in" >"conftest.tmp" 4272 mv "conftest.tmp" "conftest.in" 4273 cp "conftest.in" "conftest.nl" 4274 $as_echo 'GREP' >> "conftest.nl" 4275 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4276 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4277 as_fn_arith $ac_count + 1 && ac_count=$as_val 4278 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4279 # Best one so far, save it but keep looking for a better one 4280 ac_cv_path_GREP="$ac_path_GREP" 4281 ac_path_GREP_max=$ac_count 4282 fi 4283 # 10*(2^10) chars as input seems more than enough 4284 test $ac_count -gt 10 && break 4285 done 4286 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4287esac 4288 4289 $ac_path_GREP_found && break 3 4290 done 4291 done 4292 done 4293IFS=$as_save_IFS 4294 if test -z "$ac_cv_path_GREP"; then 4295 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4296 fi 4297else 4298 ac_cv_path_GREP=$GREP 4299fi 4300 4301fi 4302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4303$as_echo "$ac_cv_path_GREP" >&6; } 4304 GREP="$ac_cv_path_GREP" 4305 4306 4307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4308$as_echo_n "checking for egrep... " >&6; } 4309if ${ac_cv_path_EGREP+:} false; then : 4310 $as_echo_n "(cached) " >&6 4311else 4312 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4313 then ac_cv_path_EGREP="$GREP -E" 4314 else 4315 if test -z "$EGREP"; then 4316 ac_path_EGREP_found=false 4317 # Loop through the user's path and test for each of PROGNAME-LIST 4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4319for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4320do 4321 IFS=$as_save_IFS 4322 test -z "$as_dir" && as_dir=. 4323 for ac_prog in egrep; do 4324 for ac_exec_ext in '' $ac_executable_extensions; do 4325 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4326 as_fn_executable_p "$ac_path_EGREP" || continue 4327# Check for GNU ac_path_EGREP and select it if it is found. 4328 # Check for GNU $ac_path_EGREP 4329case `"$ac_path_EGREP" --version 2>&1` in 4330*GNU*) 4331 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4332*) 4333 ac_count=0 4334 $as_echo_n 0123456789 >"conftest.in" 4335 while : 4336 do 4337 cat "conftest.in" "conftest.in" >"conftest.tmp" 4338 mv "conftest.tmp" "conftest.in" 4339 cp "conftest.in" "conftest.nl" 4340 $as_echo 'EGREP' >> "conftest.nl" 4341 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4342 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4343 as_fn_arith $ac_count + 1 && ac_count=$as_val 4344 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4345 # Best one so far, save it but keep looking for a better one 4346 ac_cv_path_EGREP="$ac_path_EGREP" 4347 ac_path_EGREP_max=$ac_count 4348 fi 4349 # 10*(2^10) chars as input seems more than enough 4350 test $ac_count -gt 10 && break 4351 done 4352 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4353esac 4354 4355 $ac_path_EGREP_found && break 3 4356 done 4357 done 4358 done 4359IFS=$as_save_IFS 4360 if test -z "$ac_cv_path_EGREP"; then 4361 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4362 fi 4363else 4364 ac_cv_path_EGREP=$EGREP 4365fi 4366 4367 fi 4368fi 4369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4370$as_echo "$ac_cv_path_EGREP" >&6; } 4371 EGREP="$ac_cv_path_EGREP" 4372 4373 4374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4375$as_echo_n "checking for ANSI C header files... " >&6; } 4376if ${ac_cv_header_stdc+:} false; then : 4377 $as_echo_n "(cached) " >&6 4378else 4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4380/* end confdefs.h. */ 4381#include <stdlib.h> 4382#include <stdarg.h> 4383#include <string.h> 4384#include <float.h> 4385 4386int 4387main () 4388{ 4389 4390 ; 4391 return 0; 4392} 4393_ACEOF 4394if ac_fn_c_try_compile "$LINENO"; then : 4395 ac_cv_header_stdc=yes 4396else 4397 ac_cv_header_stdc=no 4398fi 4399rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4400 4401if test $ac_cv_header_stdc = yes; then 4402 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4404/* end confdefs.h. */ 4405#include <string.h> 4406 4407_ACEOF 4408if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4409 $EGREP "memchr" >/dev/null 2>&1; then : 4410 4411else 4412 ac_cv_header_stdc=no 4413fi 4414rm -f conftest* 4415 4416fi 4417 4418if test $ac_cv_header_stdc = yes; then 4419 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4421/* end confdefs.h. */ 4422#include <stdlib.h> 4423 4424_ACEOF 4425if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4426 $EGREP "free" >/dev/null 2>&1; then : 4427 4428else 4429 ac_cv_header_stdc=no 4430fi 4431rm -f conftest* 4432 4433fi 4434 4435if test $ac_cv_header_stdc = yes; then 4436 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4437 if test "$cross_compiling" = yes; then : 4438 : 4439else 4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4441/* end confdefs.h. */ 4442#include <ctype.h> 4443#include <stdlib.h> 4444#if ((' ' & 0x0FF) == 0x020) 4445# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4446# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4447#else 4448# define ISLOWER(c) \ 4449 (('a' <= (c) && (c) <= 'i') \ 4450 || ('j' <= (c) && (c) <= 'r') \ 4451 || ('s' <= (c) && (c) <= 'z')) 4452# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4453#endif 4454 4455#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4456int 4457main () 4458{ 4459 int i; 4460 for (i = 0; i < 256; i++) 4461 if (XOR (islower (i), ISLOWER (i)) 4462 || toupper (i) != TOUPPER (i)) 4463 return 2; 4464 return 0; 4465} 4466_ACEOF 4467if ac_fn_c_try_run "$LINENO"; then : 4468 4469else 4470 ac_cv_header_stdc=no 4471fi 4472rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4473 conftest.$ac_objext conftest.beam conftest.$ac_ext 4474fi 4475 4476fi 4477fi 4478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4479$as_echo "$ac_cv_header_stdc" >&6; } 4480if test $ac_cv_header_stdc = yes; then 4481 4482$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4483 4484fi 4485 4486# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4487for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4488 inttypes.h stdint.h unistd.h 4489do : 4490 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4491ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4492" 4493if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4494 cat >>confdefs.h <<_ACEOF 4495#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4496_ACEOF 4497 4498fi 4499 4500done 4501 4502 4503for ac_header in sys/ioctl.h sys/sockio.h sys/socketio.h sys/filio.h \ 4504 pty.h termios.h libutil.h util.h mcheck.h netinet/ether.h net/if_ether.h 4505do : 4506 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4507ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4508if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4509 cat >>confdefs.h <<_ACEOF 4510#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4511_ACEOF 4512 4513fi 4514 4515done 4516 4517 4518for ac_header in net/if_ether.h net/ethernet.h 4519do : 4520 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4521ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4522if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4523 cat >>confdefs.h <<_ACEOF 4524#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4525_ACEOF 4526 4527fi 4528 4529done 4530 4531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct ether_header" >&5 4532$as_echo_n "checking for struct ether_header... " >&6; } 4533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4534/* end confdefs.h. */ 4535 4536#include <sys/types.h> 4537#include <sys/socket.h> 4538#include <net/if.h> 4539#ifdef HAVE_NET_IF_ETHER_H 4540#include <net/if_ether.h> 4541#endif /* HAVE_NET_IF_ETHER_H */ 4542#ifdef HAVE_NET_ETHERNET_H 4543#include <net/ethernet.h> 4544#endif /* HAVE_NET_ETHERNET_H */ 4545 4546int 4547main () 4548{ 4549 4550 struct ether_header the_ether_header; 4551 unsigned int ethertype; 4552 ethertype = the_ether_header.ether_type; 4553 4554 ; 4555 return 0; 4556} 4557_ACEOF 4558if ac_fn_c_try_compile "$LINENO"; then : 4559 4560else 4561 as_fn_error $? "cannot find struct ether_header" "$LINENO" 5 4562fi 4563rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4565$as_echo "yes" >&6; } 4566 4567latd_raw_type= 4568ac_fn_c_check_header_mongrel "$LINENO" "netpacket/packet.h" "ac_cv_header_netpacket_packet_h" "$ac_includes_default" 4569if test "x$ac_cv_header_netpacket_packet_h" = xyes; then : 4570 latd_raw_type=linux 4571fi 4572 4573 4574if test x$latd_raw_type = x; then 4575 ac_fn_c_check_header_mongrel "$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default" 4576if test "x$ac_cv_header_net_bpf_h" = xyes; then : 4577 latd_raw_type=bpf 4578fi 4579 4580 4581fi 4582case x$latd_raw_type in 4583xbpf) 4584 for ac_header in net/if_dl.h 4585do : 4586 ac_fn_c_check_header_mongrel "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "$ac_includes_default" 4587if test "x$ac_cv_header_net_if_dl_h" = xyes; then : 4588 cat >>confdefs.h <<_ACEOF 4589#define HAVE_NET_IF_DL_H 1 4590_ACEOF 4591 4592fi 4593 4594done 4595 4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AF_LINK support" >&5 4597$as_echo_n "checking for AF_LINK support... " >&6; } 4598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4599/* end confdefs.h. */ 4600 4601#include <sys/socket.h> 4602#ifdef AF_LINK 4603_latd_has_af_link 4604#endif 4605 4606_ACEOF 4607if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4608 $EGREP "_latd_has_af_link" >/dev/null 2>&1; then : 4609 4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4611$as_echo "yes" >&6; } 4612 $as_echo "#define HAVE_AF_LINK 1" >>confdefs.h 4613 4614 4615else 4616 4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4618$as_echo "no" >&6; } 4619 4620fi 4621rm -f conftest* 4622 4623 ;; 4624xlinux) 4625 for ac_header in features.h 4626do : 4627 ac_fn_c_check_header_mongrel "$LINENO" "features.h" "ac_cv_header_features_h" "$ac_includes_default" 4628if test "x$ac_cv_header_features_h" = xyes; then : 4629 cat >>confdefs.h <<_ACEOF 4630#define HAVE_FEATURES_H 1 4631_ACEOF 4632 4633fi 4634 4635done 4636 4637 ;; 4638*) 4639 ;; 4640esac 4641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for raw Ethernet access method" >&5 4642$as_echo_n "checking for raw Ethernet access method... " >&6; } 4643if test x$latd_raw_type = x; then 4644 as_fn_error $? "can't find any raw Ethernet access method" "$LINENO" 5 4645fi 4646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $latd_raw_type" >&5 4647$as_echo "$latd_raw_type" >&6; } 4648INTERFACE=interfaces-$latd_raw_type.o 4649 4650if test "x$latd_raw_type" = "xbpf"; then 4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sockaddr.sa_len" >&5 4652$as_echo_n "checking for sockaddr.sa_len... " >&6; } 4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4654/* end confdefs.h. */ 4655 4656 #include <sys/types.h> 4657 #include <sys/socket.h> 4658 4659int 4660main () 4661{ 4662 4663 struct sockaddr sa; 4664 sa.sa_len = 5; 4665 4666 ; 4667 return 0; 4668} 4669_ACEOF 4670if ac_fn_c_try_compile "$LINENO"; then : 4671 $as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h 4672 4673fi 4674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4676$as_echo "yes" >&6; } 4677fi 4678 4679# Check whether --enable-openpty was given. 4680if test "${enable_openpty+set}" = set; then : 4681 enableval=$enable_openpty; 4682else 4683 enable_openpty=yes 4684fi 4685 4686if test "x$enable_openpty" = "xyes"; then 4687 openpty_found= 4688 for ac_func in openpty 4689do : 4690 ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty" 4691if test "x$ac_cv_func_openpty" = xyes; then : 4692 cat >>confdefs.h <<_ACEOF 4693#define HAVE_OPENPTY 1 4694_ACEOF 4695 openpty_found=yes 4696fi 4697done 4698 4699 if test "x$openpty_found" = "x"; then 4700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5 4701$as_echo_n "checking for openpty in -lutil... " >&6; } 4702if ${ac_cv_lib_util_openpty+:} false; then : 4703 $as_echo_n "(cached) " >&6 4704else 4705 ac_check_lib_save_LIBS=$LIBS 4706LIBS="-lutil $LIBS" 4707cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4708/* end confdefs.h. */ 4709 4710/* Override any GCC internal prototype to avoid an error. 4711 Use char because int might match the return type of a GCC 4712 builtin and then its argument prototype would still apply. */ 4713#ifdef __cplusplus 4714extern "C" 4715#endif 4716char openpty (); 4717int 4718main () 4719{ 4720return openpty (); 4721 ; 4722 return 0; 4723} 4724_ACEOF 4725if ac_fn_c_try_link "$LINENO"; then : 4726 ac_cv_lib_util_openpty=yes 4727else 4728 ac_cv_lib_util_openpty=no 4729fi 4730rm -f core conftest.err conftest.$ac_objext \ 4731 conftest$ac_exeext conftest.$ac_ext 4732LIBS=$ac_check_lib_save_LIBS 4733fi 4734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5 4735$as_echo "$ac_cv_lib_util_openpty" >&6; } 4736if test "x$ac_cv_lib_util_openpty" = xyes; then : 4737 openpty_found=yes 4738fi 4739 4740 if test "x$openpty_found" = "xyes"; then 4741 $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h 4742 4743 LIBUTIL=-lutil 4744 fi 4745 fi 4746fi 4747 4748withval= 4749 4750# Check whether --with-login was given. 4751if test "${with_login+set}" = set; then : 4752 withval=$with_login; 4753fi 4754 4755if test "x$withval" = "x"; then 4756 if test -f /bin/login; then 4757 withval="/bin/login" 4758 elif test -f /usr/bin/login; then 4759 withval="/usr/bin/login" 4760 fi 4761fi 4762cat >>confdefs.h <<_ACEOF 4763#define LOGIN_BIN "$withval" 4764_ACEOF 4765 4766 4767ac_fn_c_check_header_mongrel "$LINENO" "lockdev.h" "ac_cv_header_lockdev_h" "$ac_includes_default" 4768if test "x$ac_cv_header_lockdev_h" = xyes; then : 4769 4770fi 4771 4772 4773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dev_lock in -llockdev" >&5 4774$as_echo_n "checking for dev_lock in -llockdev... " >&6; } 4775if ${ac_cv_lib_lockdev_dev_lock+:} false; then : 4776 $as_echo_n "(cached) " >&6 4777else 4778 ac_check_lib_save_LIBS=$LIBS 4779LIBS="-llockdev $LIBS" 4780cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4781/* end confdefs.h. */ 4782 4783/* Override any GCC internal prototype to avoid an error. 4784 Use char because int might match the return type of a GCC 4785 builtin and then its argument prototype would still apply. */ 4786#ifdef __cplusplus 4787extern "C" 4788#endif 4789char dev_lock (); 4790int 4791main () 4792{ 4793return dev_lock (); 4794 ; 4795 return 0; 4796} 4797_ACEOF 4798if ac_fn_c_try_link "$LINENO"; then : 4799 ac_cv_lib_lockdev_dev_lock=yes 4800else 4801 ac_cv_lib_lockdev_dev_lock=no 4802fi 4803rm -f core conftest.err conftest.$ac_objext \ 4804 conftest$ac_exeext conftest.$ac_ext 4805LIBS=$ac_check_lib_save_LIBS 4806fi 4807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lockdev_dev_lock" >&5 4808$as_echo "$ac_cv_lib_lockdev_dev_lock" >&6; } 4809if test "x$ac_cv_lib_lockdev_dev_lock" = xyes; then : 4810 have_lockdev=yes 4811fi 4812 4813if test "x$have_lockdev" = "xyes"; then 4814 LIBLOCKDEV=-llockdev 4815 $as_echo "#define HAVE_LOCKDEV_H 1" >>confdefs.h 4816 4817fi 4818 4819LATCPSOCK=/var/run/latcp 4820 4821# Check whether --with-latcp_socket was given. 4822if test "${with_latcp_socket+set}" = set; then : 4823 withval=$with_latcp_socket; 4824else 4825 with_latcp_socket=yes 4826fi 4827 4828case x$with_latcp_socket in 4829 xyes | xno | x) ;; 4830 *) LATCPSOCK=$with_latcp_socket ;; 4831esac 4832cat >>confdefs.h <<_ACEOF 4833#define LATCP_SOCKNAME "$LATCPSOCK" 4834_ACEOF 4835 4836 4837LLOGINSOCK=/var/run/latlogin 4838 4839# Check whether --with-llogin_socket was given. 4840if test "${with_llogin_socket+set}" = set; then : 4841 withval=$with_llogin_socket; 4842else 4843 with_llogin_socket=yes 4844fi 4845 4846case x$with_llogin_socket in 4847 xyes | xno | x) ;; 4848 *) LLOGINSOCK=$with_llogin_socket ;; 4849esac 4850cat >>confdefs.h <<_ACEOF 4851#define LLOGIN_SOCKNAME "$LLOGINSOCK" 4852_ACEOF 4853 4854 4855 4856# Check whether --enable-defservice was given. 4857if test "${enable_defservice+set}" = set; then : 4858 enableval=$enable_defservice; 4859else 4860 enable_defservice=yes 4861fi 4862 4863if test "x$enable_defservice" = "xyes"; then 4864 CXXFLAGS="${CXXFLAGS-} -DENABLE_DEFAULT_SERVICE" 4865fi 4866 4867# Check whether --enable-debug was given. 4868if test "${enable_debug+set}" = set; then : 4869 enableval=$enable_debug; enable_debug=yes 4870fi 4871 4872if test "x$enable_debug" = "xyes"; then 4873 CXXFLAGS="${CXXFLAGS-} -g3 -O0 -DVERBOSE_DEBUG -DNO_FORK" 4874fi 4875 4876# Check whether --enable-warnings was given. 4877if test "${enable_warnings+set}" = set; then : 4878 enableval=$enable_warnings; 4879else 4880 enable_warnings=yes 4881fi 4882 4883if test "x$enable_warnings" = "xyes" -a "x$GCC" = "xyes"; then 4884 CXXFLAGS="${CXXFLAGS-} -W" 4885fi 4886 4887ac_config_files="$ac_config_files Makefile" 4888 4889cat >confcache <<\_ACEOF 4890# This file is a shell script that caches the results of configure 4891# tests run on this system so they can be shared between configure 4892# scripts and configure runs, see configure's option --config-cache. 4893# It is not useful on other systems. If it contains results you don't 4894# want to keep, you may remove or edit it. 4895# 4896# config.status only pays attention to the cache file if you give it 4897# the --recheck option to rerun configure. 4898# 4899# `ac_cv_env_foo' variables (set or unset) will be overridden when 4900# loading this file, other *unset* `ac_cv_foo' will be assigned the 4901# following values. 4902 4903_ACEOF 4904 4905# The following way of writing the cache mishandles newlines in values, 4906# but we know of no workaround that is simple, portable, and efficient. 4907# So, we kill variables containing newlines. 4908# Ultrix sh set writes to stderr and can't be redirected directly, 4909# and sets the high bit in the cache file unless we assign to the vars. 4910( 4911 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4912 eval ac_val=\$$ac_var 4913 case $ac_val in #( 4914 *${as_nl}*) 4915 case $ac_var in #( 4916 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4917$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4918 esac 4919 case $ac_var in #( 4920 _ | IFS | as_nl) ;; #( 4921 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4922 *) { eval $ac_var=; unset $ac_var;} ;; 4923 esac ;; 4924 esac 4925 done 4926 4927 (set) 2>&1 | 4928 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4929 *${as_nl}ac_space=\ *) 4930 # `set' does not quote correctly, so add quotes: double-quote 4931 # substitution turns \\\\ into \\, and sed turns \\ into \. 4932 sed -n \ 4933 "s/'/'\\\\''/g; 4934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4935 ;; #( 4936 *) 4937 # `set' quotes correctly as required by POSIX, so do not add quotes. 4938 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4939 ;; 4940 esac | 4941 sort 4942) | 4943 sed ' 4944 /^ac_cv_env_/b end 4945 t clear 4946 :clear 4947 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4948 t end 4949 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4950 :end' >>confcache 4951if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4952 if test -w "$cache_file"; then 4953 if test "x$cache_file" != "x/dev/null"; then 4954 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4955$as_echo "$as_me: updating cache $cache_file" >&6;} 4956 if test ! -f "$cache_file" || test -h "$cache_file"; then 4957 cat confcache >"$cache_file" 4958 else 4959 case $cache_file in #( 4960 */* | ?:*) 4961 mv -f confcache "$cache_file"$$ && 4962 mv -f "$cache_file"$$ "$cache_file" ;; #( 4963 *) 4964 mv -f confcache "$cache_file" ;; 4965 esac 4966 fi 4967 fi 4968 else 4969 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4970$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4971 fi 4972fi 4973rm -f confcache 4974 4975test "x$prefix" = xNONE && prefix=$ac_default_prefix 4976# Let make expand exec_prefix. 4977test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4978 4979# Transform confdefs.h into DEFS. 4980# Protect against shell expansion while executing Makefile rules. 4981# Protect against Makefile macro expansion. 4982# 4983# If the first sed substitution is executed (which looks for macros that 4984# take arguments), then branch to the quote section. Otherwise, 4985# look for a macro that doesn't take arguments. 4986ac_script=' 4987:mline 4988/\\$/{ 4989 N 4990 s,\\\n,, 4991 b mline 4992} 4993t clear 4994:clear 4995s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4996t quote 4997s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4998t quote 4999b any 5000:quote 5001s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 5002s/\[/\\&/g 5003s/\]/\\&/g 5004s/\$/$$/g 5005H 5006:any 5007${ 5008 g 5009 s/^\n// 5010 s/\n/ /g 5011 p 5012} 5013' 5014DEFS=`sed -n "$ac_script" confdefs.h` 5015 5016 5017ac_libobjs= 5018ac_ltlibobjs= 5019U= 5020for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5021 # 1. Remove the extension, and $U if already installed. 5022 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 5023 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 5024 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 5025 # will be set to the directory where LIBOBJS objects are built. 5026 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 5027 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 5028done 5029LIBOBJS=$ac_libobjs 5030 5031LTLIBOBJS=$ac_ltlibobjs 5032 5033 5034 if test -n "$EXEEXT"; then 5035 am__EXEEXT_TRUE= 5036 am__EXEEXT_FALSE='#' 5037else 5038 am__EXEEXT_TRUE='#' 5039 am__EXEEXT_FALSE= 5040fi 5041 5042if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5043 as_fn_error $? "conditional \"AMDEP\" was never defined. 5044Usually this means the macro was only invoked conditionally." "$LINENO" 5 5045fi 5046if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5047 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 5048Usually this means the macro was only invoked conditionally." "$LINENO" 5 5049fi 5050if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 5051 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 5052Usually this means the macro was only invoked conditionally." "$LINENO" 5 5053fi 5054 5055: "${CONFIG_STATUS=./config.status}" 5056ac_write_fail=0 5057ac_clean_files_save=$ac_clean_files 5058ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5059{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 5060$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 5061as_write_fail=0 5062cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 5063#! $SHELL 5064# Generated by $as_me. 5065# Run this file to recreate the current configuration. 5066# Compiler output produced by configure, useful for debugging 5067# configure, is in config.log if it exists. 5068 5069debug=false 5070ac_cs_recheck=false 5071ac_cs_silent=false 5072 5073SHELL=\${CONFIG_SHELL-$SHELL} 5074export SHELL 5075_ASEOF 5076cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 5077## -------------------- ## 5078## M4sh Initialization. ## 5079## -------------------- ## 5080 5081# Be more Bourne compatible 5082DUALCASE=1; export DUALCASE # for MKS sh 5083if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 5084 emulate sh 5085 NULLCMD=: 5086 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 5087 # is contrary to our usage. Disable this feature. 5088 alias -g '${1+"$@"}'='"$@"' 5089 setopt NO_GLOB_SUBST 5090else 5091 case `(set -o) 2>/dev/null` in #( 5092 *posix*) : 5093 set -o posix ;; #( 5094 *) : 5095 ;; 5096esac 5097fi 5098 5099 5100as_nl=' 5101' 5102export as_nl 5103# Printing a long string crashes Solaris 7 /usr/bin/printf. 5104as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5105as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 5106as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 5107# Prefer a ksh shell builtin over an external printf program on Solaris, 5108# but without wasting forks for bash or zsh. 5109if test -z "$BASH_VERSION$ZSH_VERSION" \ 5110 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 5111 as_echo='print -r --' 5112 as_echo_n='print -rn --' 5113elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 5114 as_echo='printf %s\n' 5115 as_echo_n='printf %s' 5116else 5117 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 5118 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 5119 as_echo_n='/usr/ucb/echo -n' 5120 else 5121 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 5122 as_echo_n_body='eval 5123 arg=$1; 5124 case $arg in #( 5125 *"$as_nl"*) 5126 expr "X$arg" : "X\\(.*\\)$as_nl"; 5127 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 5128 esac; 5129 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 5130 ' 5131 export as_echo_n_body 5132 as_echo_n='sh -c $as_echo_n_body as_echo' 5133 fi 5134 export as_echo_body 5135 as_echo='sh -c $as_echo_body as_echo' 5136fi 5137 5138# The user is always right. 5139if test "${PATH_SEPARATOR+set}" != set; then 5140 PATH_SEPARATOR=: 5141 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 5142 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 5143 PATH_SEPARATOR=';' 5144 } 5145fi 5146 5147 5148# IFS 5149# We need space, tab and new line, in precisely that order. Quoting is 5150# there to prevent editors from complaining about space-tab. 5151# (If _AS_PATH_WALK were called with IFS unset, it would disable word 5152# splitting by setting IFS to empty value.) 5153IFS=" "" $as_nl" 5154 5155# Find who we are. Look in the path if we contain no directory separator. 5156as_myself= 5157case $0 in #(( 5158 *[\\/]* ) as_myself=$0 ;; 5159 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5160for as_dir in $PATH 5161do 5162 IFS=$as_save_IFS 5163 test -z "$as_dir" && as_dir=. 5164 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5165 done 5166IFS=$as_save_IFS 5167 5168 ;; 5169esac 5170# We did not find ourselves, most probably we were run as `sh COMMAND' 5171# in which case we are not to be found in the path. 5172if test "x$as_myself" = x; then 5173 as_myself=$0 5174fi 5175if test ! -f "$as_myself"; then 5176 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 5177 exit 1 5178fi 5179 5180# Unset variables that we do not need and which cause bugs (e.g. in 5181# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 5182# suppresses any "Segmentation fault" message there. '((' could 5183# trigger a bug in pdksh 5.2.14. 5184for as_var in BASH_ENV ENV MAIL MAILPATH 5185do eval test x\${$as_var+set} = xset \ 5186 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 5187done 5188PS1='$ ' 5189PS2='> ' 5190PS4='+ ' 5191 5192# NLS nuisances. 5193LC_ALL=C 5194export LC_ALL 5195LANGUAGE=C 5196export LANGUAGE 5197 5198# CDPATH. 5199(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 5200 5201 5202# as_fn_error STATUS ERROR [LINENO LOG_FD] 5203# ---------------------------------------- 5204# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 5205# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 5206# script with STATUS, using 1 if that was 0. 5207as_fn_error () 5208{ 5209 as_status=$1; test $as_status -eq 0 && as_status=1 5210 if test "$4"; then 5211 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 5212 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 5213 fi 5214 $as_echo "$as_me: error: $2" >&2 5215 as_fn_exit $as_status 5216} # as_fn_error 5217 5218 5219# as_fn_set_status STATUS 5220# ----------------------- 5221# Set $? to STATUS, without forking. 5222as_fn_set_status () 5223{ 5224 return $1 5225} # as_fn_set_status 5226 5227# as_fn_exit STATUS 5228# ----------------- 5229# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 5230as_fn_exit () 5231{ 5232 set +e 5233 as_fn_set_status $1 5234 exit $1 5235} # as_fn_exit 5236 5237# as_fn_unset VAR 5238# --------------- 5239# Portably unset VAR. 5240as_fn_unset () 5241{ 5242 { eval $1=; unset $1;} 5243} 5244as_unset=as_fn_unset 5245# as_fn_append VAR VALUE 5246# ---------------------- 5247# Append the text in VALUE to the end of the definition contained in VAR. Take 5248# advantage of any shell optimizations that allow amortized linear growth over 5249# repeated appends, instead of the typical quadratic growth present in naive 5250# implementations. 5251if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 5252 eval 'as_fn_append () 5253 { 5254 eval $1+=\$2 5255 }' 5256else 5257 as_fn_append () 5258 { 5259 eval $1=\$$1\$2 5260 } 5261fi # as_fn_append 5262 5263# as_fn_arith ARG... 5264# ------------------ 5265# Perform arithmetic evaluation on the ARGs, and store the result in the 5266# global $as_val. Take advantage of shells that can avoid forks. The arguments 5267# must be portable across $(()) and expr. 5268if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 5269 eval 'as_fn_arith () 5270 { 5271 as_val=$(( $* )) 5272 }' 5273else 5274 as_fn_arith () 5275 { 5276 as_val=`expr "$@" || test $? -eq 1` 5277 } 5278fi # as_fn_arith 5279 5280 5281if expr a : '\(a\)' >/dev/null 2>&1 && 5282 test "X`expr 00001 : '.*\(...\)'`" = X001; then 5283 as_expr=expr 5284else 5285 as_expr=false 5286fi 5287 5288if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 5289 as_basename=basename 5290else 5291 as_basename=false 5292fi 5293 5294if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 5295 as_dirname=dirname 5296else 5297 as_dirname=false 5298fi 5299 5300as_me=`$as_basename -- "$0" || 5301$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5302 X"$0" : 'X\(//\)$' \| \ 5303 X"$0" : 'X\(/\)' \| . 2>/dev/null || 5304$as_echo X/"$0" | 5305 sed '/^.*\/\([^/][^/]*\)\/*$/{ 5306 s//\1/ 5307 q 5308 } 5309 /^X\/\(\/\/\)$/{ 5310 s//\1/ 5311 q 5312 } 5313 /^X\/\(\/\).*/{ 5314 s//\1/ 5315 q 5316 } 5317 s/.*/./; q'` 5318 5319# Avoid depending upon Character Ranges. 5320as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5321as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5322as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5323as_cr_digits='0123456789' 5324as_cr_alnum=$as_cr_Letters$as_cr_digits 5325 5326ECHO_C= ECHO_N= ECHO_T= 5327case `echo -n x` in #((((( 5328-n*) 5329 case `echo 'xy\c'` in 5330 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 5331 xy) ECHO_C='\c';; 5332 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 5333 ECHO_T=' ';; 5334 esac;; 5335*) 5336 ECHO_N='-n';; 5337esac 5338 5339rm -f conf$$ conf$$.exe conf$$.file 5340if test -d conf$$.dir; then 5341 rm -f conf$$.dir/conf$$.file 5342else 5343 rm -f conf$$.dir 5344 mkdir conf$$.dir 2>/dev/null 5345fi 5346if (echo >conf$$.file) 2>/dev/null; then 5347 if ln -s conf$$.file conf$$ 2>/dev/null; then 5348 as_ln_s='ln -s' 5349 # ... but there are two gotchas: 5350 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 5351 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 5352 # In both cases, we have to default to `cp -pR'. 5353 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 5354 as_ln_s='cp -pR' 5355 elif ln conf$$.file conf$$ 2>/dev/null; then 5356 as_ln_s=ln 5357 else 5358 as_ln_s='cp -pR' 5359 fi 5360else 5361 as_ln_s='cp -pR' 5362fi 5363rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 5364rmdir conf$$.dir 2>/dev/null 5365 5366 5367# as_fn_mkdir_p 5368# ------------- 5369# Create "$as_dir" as a directory, including parents if necessary. 5370as_fn_mkdir_p () 5371{ 5372 5373 case $as_dir in #( 5374 -*) as_dir=./$as_dir;; 5375 esac 5376 test -d "$as_dir" || eval $as_mkdir_p || { 5377 as_dirs= 5378 while :; do 5379 case $as_dir in #( 5380 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 5381 *) as_qdir=$as_dir;; 5382 esac 5383 as_dirs="'$as_qdir' $as_dirs" 5384 as_dir=`$as_dirname -- "$as_dir" || 5385$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5386 X"$as_dir" : 'X\(//\)[^/]' \| \ 5387 X"$as_dir" : 'X\(//\)$' \| \ 5388 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 5389$as_echo X"$as_dir" | 5390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5391 s//\1/ 5392 q 5393 } 5394 /^X\(\/\/\)[^/].*/{ 5395 s//\1/ 5396 q 5397 } 5398 /^X\(\/\/\)$/{ 5399 s//\1/ 5400 q 5401 } 5402 /^X\(\/\).*/{ 5403 s//\1/ 5404 q 5405 } 5406 s/.*/./; q'` 5407 test -d "$as_dir" && break 5408 done 5409 test -z "$as_dirs" || eval "mkdir $as_dirs" 5410 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 5411 5412 5413} # as_fn_mkdir_p 5414if mkdir -p . 2>/dev/null; then 5415 as_mkdir_p='mkdir -p "$as_dir"' 5416else 5417 test -d ./-p && rmdir ./-p 5418 as_mkdir_p=false 5419fi 5420 5421 5422# as_fn_executable_p FILE 5423# ----------------------- 5424# Test if FILE is an executable regular file. 5425as_fn_executable_p () 5426{ 5427 test -f "$1" && test -x "$1" 5428} # as_fn_executable_p 5429as_test_x='test -x' 5430as_executable_p=as_fn_executable_p 5431 5432# Sed expression to map a string onto a valid CPP name. 5433as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5434 5435# Sed expression to map a string onto a valid variable name. 5436as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5437 5438 5439exec 6>&1 5440## ----------------------------------- ## 5441## Main body of $CONFIG_STATUS script. ## 5442## ----------------------------------- ## 5443_ASEOF 5444test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 5445 5446cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5447# Save the log message, to keep $0 and so on meaningful, and to 5448# report actual input values of CONFIG_FILES etc. instead of their 5449# values after options handling. 5450ac_log=" 5451This file was extended by $as_me, which was 5452generated by GNU Autoconf 2.69. Invocation command line was 5453 5454 CONFIG_FILES = $CONFIG_FILES 5455 CONFIG_HEADERS = $CONFIG_HEADERS 5456 CONFIG_LINKS = $CONFIG_LINKS 5457 CONFIG_COMMANDS = $CONFIG_COMMANDS 5458 $ $0 $@ 5459 5460on `(hostname || uname -n) 2>/dev/null | sed 1q` 5461" 5462 5463_ACEOF 5464 5465case $ac_config_files in *" 5466"*) set x $ac_config_files; shift; ac_config_files=$*;; 5467esac 5468 5469 5470 5471cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5472# Files that config.status was made for. 5473config_files="$ac_config_files" 5474config_commands="$ac_config_commands" 5475 5476_ACEOF 5477 5478cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5479ac_cs_usage="\ 5480\`$as_me' instantiates files and other configuration actions 5481from templates according to the current configuration. Unless the files 5482and actions are specified as TAGs, all are instantiated by default. 5483 5484Usage: $0 [OPTION]... [TAG]... 5485 5486 -h, --help print this help, then exit 5487 -V, --version print version number and configuration settings, then exit 5488 --config print configuration, then exit 5489 -q, --quiet, --silent 5490 do not print progress messages 5491 -d, --debug don't remove temporary files 5492 --recheck update $as_me by reconfiguring in the same conditions 5493 --file=FILE[:TEMPLATE] 5494 instantiate the configuration file FILE 5495 5496Configuration files: 5497$config_files 5498 5499Configuration commands: 5500$config_commands 5501 5502Report bugs to the package provider." 5503 5504_ACEOF 5505cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5506ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 5507ac_cs_version="\\ 5508config.status 5509configured by $0, generated by GNU Autoconf 2.69, 5510 with options \\"\$ac_cs_config\\" 5511 5512Copyright (C) 2012 Free Software Foundation, Inc. 5513This config.status script is free software; the Free Software Foundation 5514gives unlimited permission to copy, distribute and modify it." 5515 5516ac_pwd='$ac_pwd' 5517srcdir='$srcdir' 5518INSTALL='$INSTALL' 5519MKDIR_P='$MKDIR_P' 5520AWK='$AWK' 5521test -n "\$AWK" || AWK=awk 5522_ACEOF 5523 5524cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5525# The default lists apply if the user does not specify any file. 5526ac_need_defaults=: 5527while test $# != 0 5528do 5529 case $1 in 5530 --*=?*) 5531 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5532 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 5533 ac_shift=: 5534 ;; 5535 --*=) 5536 ac_option=`expr "X$1" : 'X\([^=]*\)='` 5537 ac_optarg= 5538 ac_shift=: 5539 ;; 5540 *) 5541 ac_option=$1 5542 ac_optarg=$2 5543 ac_shift=shift 5544 ;; 5545 esac 5546 5547 case $ac_option in 5548 # Handling of the options. 5549 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5550 ac_cs_recheck=: ;; 5551 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 5552 $as_echo "$ac_cs_version"; exit ;; 5553 --config | --confi | --conf | --con | --co | --c ) 5554 $as_echo "$ac_cs_config"; exit ;; 5555 --debug | --debu | --deb | --de | --d | -d ) 5556 debug=: ;; 5557 --file | --fil | --fi | --f ) 5558 $ac_shift 5559 case $ac_optarg in 5560 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 5561 '') as_fn_error $? "missing file argument" ;; 5562 esac 5563 as_fn_append CONFIG_FILES " '$ac_optarg'" 5564 ac_need_defaults=false;; 5565 --he | --h | --help | --hel | -h ) 5566 $as_echo "$ac_cs_usage"; exit ;; 5567 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5568 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5569 ac_cs_silent=: ;; 5570 5571 # This is an error. 5572 -*) as_fn_error $? "unrecognized option: \`$1' 5573Try \`$0 --help' for more information." ;; 5574 5575 *) as_fn_append ac_config_targets " $1" 5576 ac_need_defaults=false ;; 5577 5578 esac 5579 shift 5580done 5581 5582ac_configure_extra_args= 5583 5584if $ac_cs_silent; then 5585 exec 6>/dev/null 5586 ac_configure_extra_args="$ac_configure_extra_args --silent" 5587fi 5588 5589_ACEOF 5590cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5591if \$ac_cs_recheck; then 5592 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5593 shift 5594 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 5595 CONFIG_SHELL='$SHELL' 5596 export CONFIG_SHELL 5597 exec "\$@" 5598fi 5599 5600_ACEOF 5601cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5602exec 5>>config.log 5603{ 5604 echo 5605 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5606## Running $as_me. ## 5607_ASBOX 5608 $as_echo "$ac_log" 5609} >&5 5610 5611_ACEOF 5612cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5613# 5614# INIT-COMMANDS 5615# 5616AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5617 5618_ACEOF 5619 5620cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5621 5622# Handling of arguments. 5623for ac_config_target in $ac_config_targets 5624do 5625 case $ac_config_target in 5626 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5627 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5628 5629 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 5630 esac 5631done 5632 5633 5634# If the user did not use the arguments to specify the items to instantiate, 5635# then the envvar interface is used. Set only those that are not. 5636# We use the long form for the default assignment because of an extremely 5637# bizarre bug on SunOS 4.1.3. 5638if $ac_need_defaults; then 5639 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5640 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5641fi 5642 5643# Have a temporary directory for convenience. Make it in the build tree 5644# simply because there is no reason against having it here, and in addition, 5645# creating and moving files from /tmp can sometimes cause problems. 5646# Hook for its removal unless debugging. 5647# Note that there is a small window in which the directory will not be cleaned: 5648# after its creation but before its name has been assigned to `$tmp'. 5649$debug || 5650{ 5651 tmp= ac_tmp= 5652 trap 'exit_status=$? 5653 : "${ac_tmp:=$tmp}" 5654 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 5655' 0 5656 trap 'as_fn_exit 1' 1 2 13 15 5657} 5658# Create a (secure) tmp directory for tmp files. 5659 5660{ 5661 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 5662 test -d "$tmp" 5663} || 5664{ 5665 tmp=./conf$$-$RANDOM 5666 (umask 077 && mkdir "$tmp") 5667} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 5668ac_tmp=$tmp 5669 5670# Set up the scripts for CONFIG_FILES section. 5671# No need to generate them if there are no CONFIG_FILES. 5672# This happens for instance with `./config.status config.h'. 5673if test -n "$CONFIG_FILES"; then 5674 5675 5676ac_cr=`echo X | tr X '\015'` 5677# On cygwin, bash can eat \r inside `` if the user requested igncr. 5678# But we know of no other shell where ac_cr would be empty at this 5679# point, so we can use a bashism as a fallback. 5680if test "x$ac_cr" = x; then 5681 eval ac_cr=\$\'\\r\' 5682fi 5683ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5684if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5685 ac_cs_awk_cr='\\r' 5686else 5687 ac_cs_awk_cr=$ac_cr 5688fi 5689 5690echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 5691_ACEOF 5692 5693 5694{ 5695 echo "cat >conf$$subs.awk <<_ACEOF" && 5696 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5697 echo "_ACEOF" 5698} >conf$$subs.sh || 5699 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5700ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5701ac_delim='%!_!# ' 5702for ac_last_try in false false false false false :; do 5703 . ./conf$$subs.sh || 5704 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5705 5706 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5707 if test $ac_delim_n = $ac_delim_num; then 5708 break 5709 elif $ac_last_try; then 5710 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5711 else 5712 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5713 fi 5714done 5715rm -f conf$$subs.sh 5716 5717cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5718cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5719_ACEOF 5720sed -n ' 5721h 5722s/^/S["/; s/!.*/"]=/ 5723p 5724g 5725s/^[^!]*!// 5726:repl 5727t repl 5728s/'"$ac_delim"'$// 5729t delim 5730:nl 5731h 5732s/\(.\{148\}\)..*/\1/ 5733t more1 5734s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5735p 5736n 5737b repl 5738:more1 5739s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5740p 5741g 5742s/.\{148\}// 5743t nl 5744:delim 5745h 5746s/\(.\{148\}\)..*/\1/ 5747t more2 5748s/["\\]/\\&/g; s/^/"/; s/$/"/ 5749p 5750b 5751:more2 5752s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5753p 5754g 5755s/.\{148\}// 5756t delim 5757' <conf$$subs.awk | sed ' 5758/^[^""]/{ 5759 N 5760 s/\n// 5761} 5762' >>$CONFIG_STATUS || ac_write_fail=1 5763rm -f conf$$subs.awk 5764cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5765_ACAWK 5766cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5767 for (key in S) S_is_set[key] = 1 5768 FS = "" 5769 5770} 5771{ 5772 line = $ 0 5773 nfields = split(line, field, "@") 5774 substed = 0 5775 len = length(field[1]) 5776 for (i = 2; i < nfields; i++) { 5777 key = field[i] 5778 keylen = length(key) 5779 if (S_is_set[key]) { 5780 value = S[key] 5781 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5782 len += length(value) + length(field[++i]) 5783 substed = 1 5784 } else 5785 len += 1 + keylen 5786 } 5787 5788 print line 5789} 5790 5791_ACAWK 5792_ACEOF 5793cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5794if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5795 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5796else 5797 cat 5798fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5799 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5800_ACEOF 5801 5802# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5803# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5804# trailing colons and then remove the whole line if VPATH becomes empty 5805# (actually we leave an empty line to preserve line numbers). 5806if test "x$srcdir" = x.; then 5807 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5808h 5809s/// 5810s/^/:/ 5811s/[ ]*$/:/ 5812s/:\$(srcdir):/:/g 5813s/:\${srcdir}:/:/g 5814s/:@srcdir@:/:/g 5815s/^:*// 5816s/:*$// 5817x 5818s/\(=[ ]*\).*/\1/ 5819G 5820s/\n// 5821s/^[^=]*=[ ]*$// 5822}' 5823fi 5824 5825cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5826fi # test -n "$CONFIG_FILES" 5827 5828 5829eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 5830shift 5831for ac_tag 5832do 5833 case $ac_tag in 5834 :[FHLC]) ac_mode=$ac_tag; continue;; 5835 esac 5836 case $ac_mode$ac_tag in 5837 :[FHL]*:*);; 5838 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5839 :[FH]-) ac_tag=-:-;; 5840 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5841 esac 5842 ac_save_IFS=$IFS 5843 IFS=: 5844 set x $ac_tag 5845 IFS=$ac_save_IFS 5846 shift 5847 ac_file=$1 5848 shift 5849 5850 case $ac_mode in 5851 :L) ac_source=$1;; 5852 :[FH]) 5853 ac_file_inputs= 5854 for ac_f 5855 do 5856 case $ac_f in 5857 -) ac_f="$ac_tmp/stdin";; 5858 *) # Look for the file first in the build tree, then in the source tree 5859 # (if the path is not absolute). The absolute path cannot be DOS-style, 5860 # because $ac_f cannot contain `:'. 5861 test -f "$ac_f" || 5862 case $ac_f in 5863 [\\/$]*) false;; 5864 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5865 esac || 5866 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5867 esac 5868 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5869 as_fn_append ac_file_inputs " '$ac_f'" 5870 done 5871 5872 # Let's still pretend it is `configure' which instantiates (i.e., don't 5873 # use $as_me), people would be surprised to read: 5874 # /* config.h. Generated by config.status. */ 5875 configure_input='Generated from '` 5876 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5877 `' by configure.' 5878 if test x"$ac_file" != x-; then 5879 configure_input="$ac_file. $configure_input" 5880 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5881$as_echo "$as_me: creating $ac_file" >&6;} 5882 fi 5883 # Neutralize special characters interpreted by sed in replacement strings. 5884 case $configure_input in #( 5885 *\&* | *\|* | *\\* ) 5886 ac_sed_conf_input=`$as_echo "$configure_input" | 5887 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5888 *) ac_sed_conf_input=$configure_input;; 5889 esac 5890 5891 case $ac_tag in 5892 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5893 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5894 esac 5895 ;; 5896 esac 5897 5898 ac_dir=`$as_dirname -- "$ac_file" || 5899$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5900 X"$ac_file" : 'X\(//\)[^/]' \| \ 5901 X"$ac_file" : 'X\(//\)$' \| \ 5902 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5903$as_echo X"$ac_file" | 5904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5905 s//\1/ 5906 q 5907 } 5908 /^X\(\/\/\)[^/].*/{ 5909 s//\1/ 5910 q 5911 } 5912 /^X\(\/\/\)$/{ 5913 s//\1/ 5914 q 5915 } 5916 /^X\(\/\).*/{ 5917 s//\1/ 5918 q 5919 } 5920 s/.*/./; q'` 5921 as_dir="$ac_dir"; as_fn_mkdir_p 5922 ac_builddir=. 5923 5924case "$ac_dir" in 5925.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5926*) 5927 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5928 # A ".." for each directory in $ac_dir_suffix. 5929 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5930 case $ac_top_builddir_sub in 5931 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5932 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5933 esac ;; 5934esac 5935ac_abs_top_builddir=$ac_pwd 5936ac_abs_builddir=$ac_pwd$ac_dir_suffix 5937# for backward compatibility: 5938ac_top_builddir=$ac_top_build_prefix 5939 5940case $srcdir in 5941 .) # We are building in place. 5942 ac_srcdir=. 5943 ac_top_srcdir=$ac_top_builddir_sub 5944 ac_abs_top_srcdir=$ac_pwd ;; 5945 [\\/]* | ?:[\\/]* ) # Absolute name. 5946 ac_srcdir=$srcdir$ac_dir_suffix; 5947 ac_top_srcdir=$srcdir 5948 ac_abs_top_srcdir=$srcdir ;; 5949 *) # Relative name. 5950 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5951 ac_top_srcdir=$ac_top_build_prefix$srcdir 5952 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5953esac 5954ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5955 5956 5957 case $ac_mode in 5958 :F) 5959 # 5960 # CONFIG_FILE 5961 # 5962 5963 case $INSTALL in 5964 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5965 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5966 esac 5967 ac_MKDIR_P=$MKDIR_P 5968 case $MKDIR_P in 5969 [\\/$]* | ?:[\\/]* ) ;; 5970 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5971 esac 5972_ACEOF 5973 5974cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5975# If the template does not know about datarootdir, expand it. 5976# FIXME: This hack should be removed a few years after 2.60. 5977ac_datarootdir_hack=; ac_datarootdir_seen= 5978ac_sed_dataroot=' 5979/datarootdir/ { 5980 p 5981 q 5982} 5983/@datadir@/p 5984/@docdir@/p 5985/@infodir@/p 5986/@localedir@/p 5987/@mandir@/p' 5988case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5989*datarootdir*) ac_datarootdir_seen=yes;; 5990*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5992$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5993_ACEOF 5994cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5995 ac_datarootdir_hack=' 5996 s&@datadir@&$datadir&g 5997 s&@docdir@&$docdir&g 5998 s&@infodir@&$infodir&g 5999 s&@localedir@&$localedir&g 6000 s&@mandir@&$mandir&g 6001 s&\\\${datarootdir}&$datarootdir&g' ;; 6002esac 6003_ACEOF 6004 6005# Neutralize VPATH when `$srcdir' = `.'. 6006# Shell code in configure.ac might set extrasub. 6007# FIXME: do we really want to maintain this feature? 6008cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 6009ac_sed_extra="$ac_vpsub 6010$extrasub 6011_ACEOF 6012cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 6013:t 6014/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 6015s|@configure_input@|$ac_sed_conf_input|;t t 6016s&@top_builddir@&$ac_top_builddir_sub&;t t 6017s&@top_build_prefix@&$ac_top_build_prefix&;t t 6018s&@srcdir@&$ac_srcdir&;t t 6019s&@abs_srcdir@&$ac_abs_srcdir&;t t 6020s&@top_srcdir@&$ac_top_srcdir&;t t 6021s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 6022s&@builddir@&$ac_builddir&;t t 6023s&@abs_builddir@&$ac_abs_builddir&;t t 6024s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 6025s&@INSTALL@&$ac_INSTALL&;t t 6026s&@MKDIR_P@&$ac_MKDIR_P&;t t 6027$ac_datarootdir_hack 6028" 6029eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 6030 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6031 6032test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 6033 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 6034 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 6035 "$ac_tmp/out"`; test -z "$ac_out"; } && 6036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6037which seems to be undefined. Please make sure it is defined" >&5 6038$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 6039which seems to be undefined. Please make sure it is defined" >&2;} 6040 6041 rm -f "$ac_tmp/stdin" 6042 case $ac_file in 6043 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 6044 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 6045 esac \ 6046 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 6047 ;; 6048 6049 6050 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 6051$as_echo "$as_me: executing $ac_file commands" >&6;} 6052 ;; 6053 esac 6054 6055 6056 case $ac_file$ac_mode in 6057 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 6058 # Autoconf 2.62 quotes --file arguments for eval, but not when files 6059 # are listed without --file. Let's play safe and only enable the eval 6060 # if we detect the quoting. 6061 case $CONFIG_FILES in 6062 *\'*) eval set x "$CONFIG_FILES" ;; 6063 *) set x $CONFIG_FILES ;; 6064 esac 6065 shift 6066 for mf 6067 do 6068 # Strip MF so we end up with the name of the file. 6069 mf=`echo "$mf" | sed -e 's/:.*$//'` 6070 # Check whether this is an Automake generated Makefile or not. 6071 # We used to match only the files named `Makefile.in', but 6072 # some people rename them; so instead we look at the file content. 6073 # Grep'ing the first line is not enough: some people post-process 6074 # each Makefile.in and add a new line on top of each file to say so. 6075 # Grep'ing the whole file is not good either: AIX grep has a line 6076 # limit of 2048, but all sed's we know have understand at least 4000. 6077 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 6078 dirpart=`$as_dirname -- "$mf" || 6079$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6080 X"$mf" : 'X\(//\)[^/]' \| \ 6081 X"$mf" : 'X\(//\)$' \| \ 6082 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 6083$as_echo X"$mf" | 6084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6085 s//\1/ 6086 q 6087 } 6088 /^X\(\/\/\)[^/].*/{ 6089 s//\1/ 6090 q 6091 } 6092 /^X\(\/\/\)$/{ 6093 s//\1/ 6094 q 6095 } 6096 /^X\(\/\).*/{ 6097 s//\1/ 6098 q 6099 } 6100 s/.*/./; q'` 6101 else 6102 continue 6103 fi 6104 # Extract the definition of DEPDIR, am__include, and am__quote 6105 # from the Makefile without running `make'. 6106 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6107 test -z "$DEPDIR" && continue 6108 am__include=`sed -n 's/^am__include = //p' < "$mf"` 6109 test -z "am__include" && continue 6110 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 6111 # When using ansi2knr, U may be empty or an underscore; expand it 6112 U=`sed -n 's/^U = //p' < "$mf"` 6113 # Find all dependency output files, they are included files with 6114 # $(DEPDIR) in their names. We invoke sed twice because it is the 6115 # simplest approach to changing $(DEPDIR) to its actual value in the 6116 # expansion. 6117 for file in `sed -n " 6118 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 6119 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6120 # Make sure the directory exists. 6121 test -f "$dirpart/$file" && continue 6122 fdir=`$as_dirname -- "$file" || 6123$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6124 X"$file" : 'X\(//\)[^/]' \| \ 6125 X"$file" : 'X\(//\)$' \| \ 6126 X"$file" : 'X\(/\)' \| . 2>/dev/null || 6127$as_echo X"$file" | 6128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 6129 s//\1/ 6130 q 6131 } 6132 /^X\(\/\/\)[^/].*/{ 6133 s//\1/ 6134 q 6135 } 6136 /^X\(\/\/\)$/{ 6137 s//\1/ 6138 q 6139 } 6140 /^X\(\/\).*/{ 6141 s//\1/ 6142 q 6143 } 6144 s/.*/./; q'` 6145 as_dir=$dirpart/$fdir; as_fn_mkdir_p 6146 # echo "creating $dirpart/$file" 6147 echo '# dummy' > "$dirpart/$file" 6148 done 6149 done 6150} 6151 ;; 6152 6153 esac 6154done # for ac_tag 6155 6156 6157as_fn_exit 0 6158_ACEOF 6159ac_clean_files=$ac_clean_files_save 6160 6161test $ac_write_fail = 0 || 6162 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 6163 6164 6165# configure is writing to config.log, and then calls config.status. 6166# config.status does its own redirection, appending to config.log. 6167# Unfortunately, on DOS this fails, as config.log is still kept open 6168# by configure, so config.status won't be able to write to it; its 6169# output is simply discarded. So we exec the FD to /dev/null, 6170# effectively closing config.log, so it can be properly (re)opened and 6171# appended to by config.status. When coming back to configure, we 6172# need to make the FD available again. 6173if test "$no_create" != yes; then 6174 ac_cs_success=: 6175 ac_config_status_args= 6176 test "$silent" = yes && 6177 ac_config_status_args="$ac_config_status_args --quiet" 6178 exec 5>/dev/null 6179 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6180 exec 5>>config.log 6181 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6182 # would make configure fail if this is the last instruction. 6183 $ac_cs_success || as_fn_exit 1 6184fi 6185if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 6187$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 6188fi 6189 6190 6191