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