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