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