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