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