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