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