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