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