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