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