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