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