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