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