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