1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for detroit 0.2.3. 4# 5# Report bugs to <salojan@goto10.co>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204else 205 as_have_required=no 206fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211as_found=false 212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227fi 228fi 229 done;; 230 esac 231 as_found=false 232done 233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236fi; } 237IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243# neutralization value for shells without unset; and this also 244# works around shells that cannot unset nonexistent variables. 245# Preserve -v and -x to the replacement shell. 246BASH_ENV=/dev/null 247ENV=/dev/null 248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254esac 255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256# Admittedly, this is quite paranoid, since all the known shells bail 257# out after a failed `exec'. 258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259exit 255 260fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and salojan@goto10.co 270$0: about your system, including any error possibly output 271$0: before this message. Then install a modern shell, or 272$0: manually run the script under such a shell if you do 273$0: have one." 274 fi 275 exit 1 276fi 277fi 278fi 279SHELL=${CONFIG_SHELL-/bin/sh} 280export SHELL 281# Unset more variables known to interfere with behavior of common tools. 282CLICOLOR_FORCE= GREP_OPTIONS= 283unset CLICOLOR_FORCE GREP_OPTIONS 284 285## --------------------- ## 286## M4sh Shell Functions. ## 287## --------------------- ## 288# as_fn_unset VAR 289# --------------- 290# Portably unset VAR. 291as_fn_unset () 292{ 293 { eval $1=; unset $1;} 294} 295as_unset=as_fn_unset 296 297# as_fn_set_status STATUS 298# ----------------------- 299# Set $? to STATUS, without forking. 300as_fn_set_status () 301{ 302 return $1 303} # as_fn_set_status 304 305# as_fn_exit STATUS 306# ----------------- 307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308as_fn_exit () 309{ 310 set +e 311 as_fn_set_status $1 312 exit $1 313} # as_fn_exit 314 315# as_fn_mkdir_p 316# ------------- 317# Create "$as_dir" as a directory, including parents if necessary. 318as_fn_mkdir_p () 319{ 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337$as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361} # as_fn_mkdir_p 362 363# as_fn_executable_p FILE 364# ----------------------- 365# Test if FILE is an executable regular file. 366as_fn_executable_p () 367{ 368 test -f "$1" && test -x "$1" 369} # as_fn_executable_p 370# as_fn_append VAR VALUE 371# ---------------------- 372# Append the text in VALUE to the end of the definition contained in VAR. Take 373# advantage of any shell optimizations that allow amortized linear growth over 374# repeated appends, instead of the typical quadratic growth present in naive 375# implementations. 376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386fi # as_fn_append 387 388# as_fn_arith ARG... 389# ------------------ 390# Perform arithmetic evaluation on the ARGs, and store the result in the 391# global $as_val. Take advantage of shells that can avoid forks. The arguments 392# must be portable across $(()) and expr. 393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403fi # as_fn_arith 404 405 406# as_fn_error STATUS ERROR [LINENO LOG_FD] 407# ---------------------------------------- 408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410# script with STATUS, using 1 if that was 0. 411as_fn_error () 412{ 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420} # as_fn_error 421 422if expr a : '\(a\)' >/dev/null 2>&1 && 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then 424 as_expr=expr 425else 426 as_expr=false 427fi 428 429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 430 as_basename=basename 431else 432 as_basename=false 433fi 434 435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437else 438 as_dirname=false 439fi 440 441as_me=`$as_basename -- "$0" || 442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 443 X"$0" : 'X\(//\)$' \| \ 444 X"$0" : 'X\(/\)' \| . 2>/dev/null || 445$as_echo X/"$0" | 446 sed '/^.*\/\([^/][^/]*\)\/*$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\/\)$/{ 451 s//\1/ 452 q 453 } 454 /^X\/\(\/\).*/{ 455 s//\1/ 456 q 457 } 458 s/.*/./; q'` 459 460# Avoid depending upon Character Ranges. 461as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464as_cr_digits='0123456789' 465as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 473 sed -n ' 474 p 475 /[$]LINENO/= 476 ' <$as_myself | 477 sed ' 478 s/[$]LINENO.*/&-/ 479 t lineno 480 b 481 :lineno 482 N 483 :loop 484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 485 t loop 486 s/-\n.*// 487 ' >$as_me.lineno && 488 chmod +x "$as_me.lineno" || 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 495 # Don't try to exec as it changes $[0], causing all sort of problems 496 # (the dirname of $[0] is not the place where we might find the 497 # original and so on. Autoconf is especially sensitive to this). 498 . "./$as_me.lineno" 499 # Exit status is that of the last command. 500 exit 501} 502 503ECHO_C= ECHO_N= ECHO_T= 504case `echo -n x` in #((((( 505-n*) 506 case `echo 'xy\c'` in 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 511 esac;; 512*) 513 ECHO_N='-n';; 514esac 515 516rm -f conf$$ conf$$.exe conf$$.file 517if test -d conf$$.dir; then 518 rm -f conf$$.dir/conf$$.file 519else 520 rm -f conf$$.dir 521 mkdir conf$$.dir 2>/dev/null 522fi 523if (echo >conf$$.file) 2>/dev/null; then 524 if ln -s conf$$.file conf$$ 2>/dev/null; then 525 as_ln_s='ln -s' 526 # ... but there are two gotchas: 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 529 # In both cases, we have to default to `cp -pR'. 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 531 as_ln_s='cp -pR' 532 elif ln conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s=ln 534 else 535 as_ln_s='cp -pR' 536 fi 537else 538 as_ln_s='cp -pR' 539fi 540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 541rmdir conf$$.dir 2>/dev/null 542 543if mkdir -p . 2>/dev/null; then 544 as_mkdir_p='mkdir -p "$as_dir"' 545else 546 test -d ./-p && rmdir ./-p 547 as_mkdir_p=false 548fi 549 550as_test_x='test -x' 551as_executable_p=as_fn_executable_p 552 553# Sed expression to map a string onto a valid CPP name. 554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 555 556# Sed expression to map a string onto a valid variable name. 557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 558 559 560test -n "$DJDIR" || exec 7<&0 </dev/null 561exec 6>&1 562 563# Name of the host. 564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 565# so uname gets run too. 566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 567 568# 569# Initializations. 570# 571ac_default_prefix=/usr/local 572ac_clean_files= 573ac_config_libobj_dir=. 574LIBOBJS= 575cross_compiling=no 576subdirs= 577MFLAGS= 578MAKEFLAGS= 579 580# Identity of this package. 581PACKAGE_NAME='detroit' 582PACKAGE_TARNAME='detroit' 583PACKAGE_VERSION='0.2.3' 584PACKAGE_STRING='detroit 0.2.3' 585PACKAGE_BUGREPORT='salojan@goto10.co' 586PACKAGE_URL='' 587 588ac_default_prefix=` 589 if [ "$(uname -s)" = "NetBSD" ]; then 590 echo "/usr/pkg" 591 else 592 echo "/usr/local" 593 fi 594` 595# Factoring default headers for most tests. 596ac_includes_default="\ 597#include <stdio.h> 598#ifdef HAVE_SYS_TYPES_H 599# include <sys/types.h> 600#endif 601#ifdef HAVE_SYS_STAT_H 602# include <sys/stat.h> 603#endif 604#ifdef STDC_HEADERS 605# include <stdlib.h> 606# include <stddef.h> 607#else 608# ifdef HAVE_STDLIB_H 609# include <stdlib.h> 610# endif 611#endif 612#ifdef HAVE_STRING_H 613# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 614# include <memory.h> 615# endif 616# include <string.h> 617#endif 618#ifdef HAVE_STRINGS_H 619# include <strings.h> 620#endif 621#ifdef HAVE_INTTYPES_H 622# include <inttypes.h> 623#endif 624#ifdef HAVE_STDINT_H 625# include <stdint.h> 626#endif 627#ifdef HAVE_UNISTD_H 628# include <unistd.h> 629#endif" 630 631ac_subst_vars='LTLIBOBJS 632LIBOBJS 633F_LIBS 634F_FLAGS 635E_FLAGS 636D_FLAGS 637PROG_V 638PROG_Y 639PROG_X 640PROG_N 641LIBRSVG_LIBS 642LIBRSVG_CFLAGS 643OPENSSL_LIBS 644OPENSSL_CFLAGS 645GNUTLS_LIBS 646GNUTLS_CFLAGS 647SAMPLERATE_LIBS 648SAMPLERATE_CFLAGS 649FLAC_LIBS 650FLAC_CFLAGS 651PULSEAUDIO_LIBS 652PULSEAUDIO_CFLAGS 653PORTAUDIO_LIBS 654PORTAUDIO_CFLAGS 655AO_LIBS 656AO_CFLAGS 657ALSA_LIBS 658ALSA_CFLAGS 659XRANDR_LIBS 660XRANDR_CFLAGS 661X11_LIBS 662X11_CFLAGS 663XEXT_LIBS 664XEXT_CFLAGS 665GL_LIBS 666GL_CFLAGS 667FREETYPE2_LIBS 668FREETYPE2_CFLAGS 669PKG_CONFIG_LIBDIR 670PKG_CONFIG_PATH 671PKG_CONFIG 672EGREP 673GREP 674CPP 675BUILD_USB_CLASSIC_NES_GAMEPAD 676BUILD_REDTOOLS 677LN 678RM 679LN_S 680INSTALL_DATA 681INSTALL_SCRIPT 682INSTALL_PROGRAM 683OBJEXT 684EXEEXT 685ac_ct_CC 686CPPFLAGS 687LDFLAGS 688CFLAGS 689CC 690host_os 691host_vendor 692host_cpu 693host 694build_os 695build_vendor 696build_cpu 697build 698target_alias 699host_alias 700build_alias 701LIBS 702ECHO_T 703ECHO_N 704ECHO_C 705DEFS 706mandir 707localedir 708libdir 709psdir 710pdfdir 711dvidir 712htmldir 713infodir 714docdir 715oldincludedir 716includedir 717localstatedir 718sharedstatedir 719sysconfdir 720datadir 721datarootdir 722libexecdir 723sbindir 724bindir 725program_transform_name 726prefix 727exec_prefix 728PACKAGE_URL 729PACKAGE_BUGREPORT 730PACKAGE_STRING 731PACKAGE_VERSION 732PACKAGE_TARNAME 733PACKAGE_NAME 734PATH_SEPARATOR 735SHELL' 736ac_subst_files='' 737ac_user_opts=' 738enable_option_checking 739enable_debug 740enable_profiling 741enable_lto 742enable_largefile 743enable_builtin 744enable_native 745enable_altivec 746enable_isel 747enable_spe 748enable_vsx 749enable_vis 750enable_vis2 751enable_vis3 752enable_vis4 753enable_vis4b 754enable_fmaf 755enable_sse 756enable_sse2 757enable_sse3 758enable_ssse3 759enable_sse4 760enable_sse4a 761enable_sse4_1 762enable_sse4_2 763enable_avx 764enable_avx2 765enable_bmi 766enable_bmi2 767enable_fma 768enable_fma4 769enable_abm 770enable_tbm 771enable_rdrand 772enable_rdtsc_seed 773enable_rdrand_seed 774enable_rdseed 775enable_sslv23 776enable_safemem 777with_libdlmalloc 778with_libiconv 779with_libintl 780with_libltdl 781with_linker 782with_color_db_tiny 783with_color_db_small 784with_color_db_large 785with_redtools 786with_motif 787with_redtools_xft 788with_redtools_xft_serif 789with_redtools_xft_typeface 790with_redtools_xft_small 791with_redtools_xft_large 792with_redtools_xft_huge 793with_redtools_xft_fontsize 794with_usb_classic_nes_gamepad 795enable_extended 796enable_color 797enable_coords 798enable_image 799enable_math 800enable_bob 801enable_input 802enable_draw 803enable_menu 804enable_widget 805enable_gui 806enable_audio 807enable_remote 808' 809 ac_precious_vars='build_alias 810host_alias 811target_alias 812CC 813CFLAGS 814LDFLAGS 815LIBS 816CPPFLAGS 817CPP 818PKG_CONFIG 819PKG_CONFIG_PATH 820PKG_CONFIG_LIBDIR 821FREETYPE2_CFLAGS 822FREETYPE2_LIBS 823GL_CFLAGS 824GL_LIBS 825XEXT_CFLAGS 826XEXT_LIBS 827X11_CFLAGS 828X11_LIBS 829XRANDR_CFLAGS 830XRANDR_LIBS 831ALSA_CFLAGS 832ALSA_LIBS 833AO_CFLAGS 834AO_LIBS 835PORTAUDIO_CFLAGS 836PORTAUDIO_LIBS 837PULSEAUDIO_CFLAGS 838PULSEAUDIO_LIBS 839FLAC_CFLAGS 840FLAC_LIBS 841SAMPLERATE_CFLAGS 842SAMPLERATE_LIBS 843GNUTLS_CFLAGS 844GNUTLS_LIBS 845OPENSSL_CFLAGS 846OPENSSL_LIBS 847LIBRSVG_CFLAGS 848LIBRSVG_LIBS' 849 850 851# Initialize some variables set by options. 852ac_init_help= 853ac_init_version=false 854ac_unrecognized_opts= 855ac_unrecognized_sep= 856# The variables have the same names as the options, with 857# dashes changed to underlines. 858cache_file=/dev/null 859exec_prefix=NONE 860no_create= 861no_recursion= 862prefix=NONE 863program_prefix=NONE 864program_suffix=NONE 865program_transform_name=s,x,x, 866silent= 867site= 868srcdir= 869verbose= 870x_includes=NONE 871x_libraries=NONE 872 873# Installation directory options. 874# These are left unexpanded so users can "make install exec_prefix=/foo" 875# and all the variables that are supposed to be based on exec_prefix 876# by default will actually change. 877# Use braces instead of parens because sh, perl, etc. also accept them. 878# (The list follows the same order as the GNU Coding Standards.) 879bindir='${exec_prefix}/bin' 880sbindir='${exec_prefix}/sbin' 881libexecdir='${exec_prefix}/libexec' 882datarootdir='${prefix}/share' 883datadir='${datarootdir}' 884sysconfdir='${prefix}/etc' 885sharedstatedir='${prefix}/com' 886localstatedir='${prefix}/var' 887includedir='${prefix}/include' 888oldincludedir='/usr/include' 889docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 890infodir='${datarootdir}/info' 891htmldir='${docdir}' 892dvidir='${docdir}' 893pdfdir='${docdir}' 894psdir='${docdir}' 895libdir='${exec_prefix}/lib' 896localedir='${datarootdir}/locale' 897mandir='${datarootdir}/man' 898 899ac_prev= 900ac_dashdash= 901for ac_option 902do 903 # If the previous option needs an argument, assign it. 904 if test -n "$ac_prev"; then 905 eval $ac_prev=\$ac_option 906 ac_prev= 907 continue 908 fi 909 910 case $ac_option in 911 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 912 *=) ac_optarg= ;; 913 *) ac_optarg=yes ;; 914 esac 915 916 # Accept the important Cygnus configure options, so we can diagnose typos. 917 918 case $ac_dashdash$ac_option in 919 --) 920 ac_dashdash=yes ;; 921 922 -bindir | --bindir | --bindi | --bind | --bin | --bi) 923 ac_prev=bindir ;; 924 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 925 bindir=$ac_optarg ;; 926 927 -build | --build | --buil | --bui | --bu) 928 ac_prev=build_alias ;; 929 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 930 build_alias=$ac_optarg ;; 931 932 -cache-file | --cache-file | --cache-fil | --cache-fi \ 933 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 934 ac_prev=cache_file ;; 935 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 936 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 937 cache_file=$ac_optarg ;; 938 939 --config-cache | -C) 940 cache_file=config.cache ;; 941 942 -datadir | --datadir | --datadi | --datad) 943 ac_prev=datadir ;; 944 -datadir=* | --datadir=* | --datadi=* | --datad=*) 945 datadir=$ac_optarg ;; 946 947 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 948 | --dataroo | --dataro | --datar) 949 ac_prev=datarootdir ;; 950 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 951 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 952 datarootdir=$ac_optarg ;; 953 954 -disable-* | --disable-*) 955 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 956 # Reject names that are not valid shell variable names. 957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 958 as_fn_error $? "invalid feature name: $ac_useropt" 959 ac_useropt_orig=$ac_useropt 960 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 961 case $ac_user_opts in 962 *" 963"enable_$ac_useropt" 964"*) ;; 965 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 966 ac_unrecognized_sep=', ';; 967 esac 968 eval enable_$ac_useropt=no ;; 969 970 -docdir | --docdir | --docdi | --doc | --do) 971 ac_prev=docdir ;; 972 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 973 docdir=$ac_optarg ;; 974 975 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 976 ac_prev=dvidir ;; 977 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 978 dvidir=$ac_optarg ;; 979 980 -enable-* | --enable-*) 981 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 982 # Reject names that are not valid shell variable names. 983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 984 as_fn_error $? "invalid feature name: $ac_useropt" 985 ac_useropt_orig=$ac_useropt 986 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 987 case $ac_user_opts in 988 *" 989"enable_$ac_useropt" 990"*) ;; 991 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 992 ac_unrecognized_sep=', ';; 993 esac 994 eval enable_$ac_useropt=\$ac_optarg ;; 995 996 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 997 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 998 | --exec | --exe | --ex) 999 ac_prev=exec_prefix ;; 1000 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1001 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1002 | --exec=* | --exe=* | --ex=*) 1003 exec_prefix=$ac_optarg ;; 1004 1005 -gas | --gas | --ga | --g) 1006 # Obsolete; use --with-gas. 1007 with_gas=yes ;; 1008 1009 -help | --help | --hel | --he | -h) 1010 ac_init_help=long ;; 1011 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1012 ac_init_help=recursive ;; 1013 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1014 ac_init_help=short ;; 1015 1016 -host | --host | --hos | --ho) 1017 ac_prev=host_alias ;; 1018 -host=* | --host=* | --hos=* | --ho=*) 1019 host_alias=$ac_optarg ;; 1020 1021 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1022 ac_prev=htmldir ;; 1023 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1024 | --ht=*) 1025 htmldir=$ac_optarg ;; 1026 1027 -includedir | --includedir | --includedi | --included | --include \ 1028 | --includ | --inclu | --incl | --inc) 1029 ac_prev=includedir ;; 1030 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1031 | --includ=* | --inclu=* | --incl=* | --inc=*) 1032 includedir=$ac_optarg ;; 1033 1034 -infodir | --infodir | --infodi | --infod | --info | --inf) 1035 ac_prev=infodir ;; 1036 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1037 infodir=$ac_optarg ;; 1038 1039 -libdir | --libdir | --libdi | --libd) 1040 ac_prev=libdir ;; 1041 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1042 libdir=$ac_optarg ;; 1043 1044 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1045 | --libexe | --libex | --libe) 1046 ac_prev=libexecdir ;; 1047 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1048 | --libexe=* | --libex=* | --libe=*) 1049 libexecdir=$ac_optarg ;; 1050 1051 -localedir | --localedir | --localedi | --localed | --locale) 1052 ac_prev=localedir ;; 1053 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1054 localedir=$ac_optarg ;; 1055 1056 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1057 | --localstate | --localstat | --localsta | --localst | --locals) 1058 ac_prev=localstatedir ;; 1059 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1060 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1061 localstatedir=$ac_optarg ;; 1062 1063 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1064 ac_prev=mandir ;; 1065 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1066 mandir=$ac_optarg ;; 1067 1068 -nfp | --nfp | --nf) 1069 # Obsolete; use --without-fp. 1070 with_fp=no ;; 1071 1072 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1073 | --no-cr | --no-c | -n) 1074 no_create=yes ;; 1075 1076 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1077 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1078 no_recursion=yes ;; 1079 1080 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1081 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1082 | --oldin | --oldi | --old | --ol | --o) 1083 ac_prev=oldincludedir ;; 1084 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1085 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1086 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1087 oldincludedir=$ac_optarg ;; 1088 1089 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1090 ac_prev=prefix ;; 1091 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1092 prefix=$ac_optarg ;; 1093 1094 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1095 | --program-pre | --program-pr | --program-p) 1096 ac_prev=program_prefix ;; 1097 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1098 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1099 program_prefix=$ac_optarg ;; 1100 1101 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1102 | --program-suf | --program-su | --program-s) 1103 ac_prev=program_suffix ;; 1104 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1105 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1106 program_suffix=$ac_optarg ;; 1107 1108 -program-transform-name | --program-transform-name \ 1109 | --program-transform-nam | --program-transform-na \ 1110 | --program-transform-n | --program-transform- \ 1111 | --program-transform | --program-transfor \ 1112 | --program-transfo | --program-transf \ 1113 | --program-trans | --program-tran \ 1114 | --progr-tra | --program-tr | --program-t) 1115 ac_prev=program_transform_name ;; 1116 -program-transform-name=* | --program-transform-name=* \ 1117 | --program-transform-nam=* | --program-transform-na=* \ 1118 | --program-transform-n=* | --program-transform-=* \ 1119 | --program-transform=* | --program-transfor=* \ 1120 | --program-transfo=* | --program-transf=* \ 1121 | --program-trans=* | --program-tran=* \ 1122 | --progr-tra=* | --program-tr=* | --program-t=*) 1123 program_transform_name=$ac_optarg ;; 1124 1125 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1126 ac_prev=pdfdir ;; 1127 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1128 pdfdir=$ac_optarg ;; 1129 1130 -psdir | --psdir | --psdi | --psd | --ps) 1131 ac_prev=psdir ;; 1132 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1133 psdir=$ac_optarg ;; 1134 1135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1136 | -silent | --silent | --silen | --sile | --sil) 1137 silent=yes ;; 1138 1139 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1140 ac_prev=sbindir ;; 1141 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1142 | --sbi=* | --sb=*) 1143 sbindir=$ac_optarg ;; 1144 1145 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1146 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1147 | --sharedst | --shareds | --shared | --share | --shar \ 1148 | --sha | --sh) 1149 ac_prev=sharedstatedir ;; 1150 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1151 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1152 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1153 | --sha=* | --sh=*) 1154 sharedstatedir=$ac_optarg ;; 1155 1156 -site | --site | --sit) 1157 ac_prev=site ;; 1158 -site=* | --site=* | --sit=*) 1159 site=$ac_optarg ;; 1160 1161 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1162 ac_prev=srcdir ;; 1163 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1164 srcdir=$ac_optarg ;; 1165 1166 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1167 | --syscon | --sysco | --sysc | --sys | --sy) 1168 ac_prev=sysconfdir ;; 1169 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1170 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1171 sysconfdir=$ac_optarg ;; 1172 1173 -target | --target | --targe | --targ | --tar | --ta | --t) 1174 ac_prev=target_alias ;; 1175 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1176 target_alias=$ac_optarg ;; 1177 1178 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1179 verbose=yes ;; 1180 1181 -version | --version | --versio | --versi | --vers | -V) 1182 ac_init_version=: ;; 1183 1184 -with-* | --with-*) 1185 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1186 # Reject names that are not valid shell variable names. 1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1188 as_fn_error $? "invalid package name: $ac_useropt" 1189 ac_useropt_orig=$ac_useropt 1190 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1191 case $ac_user_opts in 1192 *" 1193"with_$ac_useropt" 1194"*) ;; 1195 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1196 ac_unrecognized_sep=', ';; 1197 esac 1198 eval with_$ac_useropt=\$ac_optarg ;; 1199 1200 -without-* | --without-*) 1201 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1202 # Reject names that are not valid shell variable names. 1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1204 as_fn_error $? "invalid package name: $ac_useropt" 1205 ac_useropt_orig=$ac_useropt 1206 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1207 case $ac_user_opts in 1208 *" 1209"with_$ac_useropt" 1210"*) ;; 1211 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1212 ac_unrecognized_sep=', ';; 1213 esac 1214 eval with_$ac_useropt=no ;; 1215 1216 --x) 1217 # Obsolete; use --with-x. 1218 with_x=yes ;; 1219 1220 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1221 | --x-incl | --x-inc | --x-in | --x-i) 1222 ac_prev=x_includes ;; 1223 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1224 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1225 x_includes=$ac_optarg ;; 1226 1227 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1228 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1229 ac_prev=x_libraries ;; 1230 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1231 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1232 x_libraries=$ac_optarg ;; 1233 1234 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1235Try \`$0 --help' for more information" 1236 ;; 1237 1238 *=*) 1239 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1240 # Reject names that are not valid shell variable names. 1241 case $ac_envvar in #( 1242 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1243 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1244 esac 1245 eval $ac_envvar=\$ac_optarg 1246 export $ac_envvar ;; 1247 1248 *) 1249 # FIXME: should be removed in autoconf 3.0. 1250 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1251 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1252 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1253 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1254 ;; 1255 1256 esac 1257done 1258 1259if test -n "$ac_prev"; then 1260 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1261 as_fn_error $? "missing argument to $ac_option" 1262fi 1263 1264if test -n "$ac_unrecognized_opts"; then 1265 case $enable_option_checking in 1266 no) ;; 1267 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1268 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1269 esac 1270fi 1271 1272# Check all directory arguments for consistency. 1273for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1274 datadir sysconfdir sharedstatedir localstatedir includedir \ 1275 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1276 libdir localedir mandir 1277do 1278 eval ac_val=\$$ac_var 1279 # Remove trailing slashes. 1280 case $ac_val in 1281 */ ) 1282 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1283 eval $ac_var=\$ac_val;; 1284 esac 1285 # Be sure to have absolute directory names. 1286 case $ac_val in 1287 [\\/$]* | ?:[\\/]* ) continue;; 1288 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1289 esac 1290 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1291done 1292 1293# There might be people who depend on the old broken behavior: `$host' 1294# used to hold the argument of --host etc. 1295# FIXME: To remove some day. 1296build=$build_alias 1297host=$host_alias 1298target=$target_alias 1299 1300# FIXME: To remove some day. 1301if test "x$host_alias" != x; then 1302 if test "x$build_alias" = x; then 1303 cross_compiling=maybe 1304 elif test "x$build_alias" != "x$host_alias"; then 1305 cross_compiling=yes 1306 fi 1307fi 1308 1309ac_tool_prefix= 1310test -n "$host_alias" && ac_tool_prefix=$host_alias- 1311 1312test "$silent" = yes && exec 6>/dev/null 1313 1314 1315ac_pwd=`pwd` && test -n "$ac_pwd" && 1316ac_ls_di=`ls -di .` && 1317ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1318 as_fn_error $? "working directory cannot be determined" 1319test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1320 as_fn_error $? "pwd does not report name of working directory" 1321 1322 1323# Find the source files, if location was not specified. 1324if test -z "$srcdir"; then 1325 ac_srcdir_defaulted=yes 1326 # Try the directory containing this script, then the parent directory. 1327 ac_confdir=`$as_dirname -- "$as_myself" || 1328$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1329 X"$as_myself" : 'X\(//\)[^/]' \| \ 1330 X"$as_myself" : 'X\(//\)$' \| \ 1331 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1332$as_echo X"$as_myself" | 1333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1334 s//\1/ 1335 q 1336 } 1337 /^X\(\/\/\)[^/].*/{ 1338 s//\1/ 1339 q 1340 } 1341 /^X\(\/\/\)$/{ 1342 s//\1/ 1343 q 1344 } 1345 /^X\(\/\).*/{ 1346 s//\1/ 1347 q 1348 } 1349 s/.*/./; q'` 1350 srcdir=$ac_confdir 1351 if test ! -r "$srcdir/$ac_unique_file"; then 1352 srcdir=.. 1353 fi 1354else 1355 ac_srcdir_defaulted=no 1356fi 1357if test ! -r "$srcdir/$ac_unique_file"; then 1358 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1359 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1360fi 1361ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1362ac_abs_confdir=`( 1363 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1364 pwd)` 1365# When building in place, set srcdir=. 1366if test "$ac_abs_confdir" = "$ac_pwd"; then 1367 srcdir=. 1368fi 1369# Remove unnecessary trailing slashes from srcdir. 1370# Double slashes in file names in object file debugging info 1371# mess up M-x gdb in Emacs. 1372case $srcdir in 1373*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1374esac 1375for ac_var in $ac_precious_vars; do 1376 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1377 eval ac_env_${ac_var}_value=\$${ac_var} 1378 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1379 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1380done 1381 1382# 1383# Report the --help message. 1384# 1385if test "$ac_init_help" = "long"; then 1386 # Omit some internal or obsolete options to make the list less imposing. 1387 # This message is too long to be a string in the A/UX 3.1 sh. 1388 cat <<_ACEOF 1389\`configure' configures detroit 0.2.3 to adapt to many kinds of systems. 1390 1391Usage: $0 [OPTION]... [VAR=VALUE]... 1392 1393To assign environment variables (e.g., CC, CFLAGS...), specify them as 1394VAR=VALUE. See below for descriptions of some of the useful variables. 1395 1396Defaults for the options are specified in brackets. 1397 1398Configuration: 1399 -h, --help display this help and exit 1400 --help=short display options specific to this package 1401 --help=recursive display the short help of all the included packages 1402 -V, --version display version information and exit 1403 -q, --quiet, --silent do not print \`checking ...' messages 1404 --cache-file=FILE cache test results in FILE [disabled] 1405 -C, --config-cache alias for \`--cache-file=config.cache' 1406 -n, --no-create do not create output files 1407 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1408 1409Installation directories: 1410 --prefix=PREFIX install architecture-independent files in PREFIX 1411 [$ac_default_prefix] 1412 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1413 [PREFIX] 1414 1415By default, \`make install' will install all the files in 1416\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1417an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1418for instance \`--prefix=\$HOME'. 1419 1420For better control, use the options below. 1421 1422Fine tuning of the installation directories: 1423 --bindir=DIR user executables [EPREFIX/bin] 1424 --sbindir=DIR system admin executables [EPREFIX/sbin] 1425 --libexecdir=DIR program executables [EPREFIX/libexec] 1426 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1427 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1428 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1429 --libdir=DIR object code libraries [EPREFIX/lib] 1430 --includedir=DIR C header files [PREFIX/include] 1431 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1432 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1433 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1434 --infodir=DIR info documentation [DATAROOTDIR/info] 1435 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1436 --mandir=DIR man documentation [DATAROOTDIR/man] 1437 --docdir=DIR documentation root [DATAROOTDIR/doc/detroit] 1438 --htmldir=DIR html documentation [DOCDIR] 1439 --dvidir=DIR dvi documentation [DOCDIR] 1440 --pdfdir=DIR pdf documentation [DOCDIR] 1441 --psdir=DIR ps documentation [DOCDIR] 1442_ACEOF 1443 1444 cat <<\_ACEOF 1445 1446System types: 1447 --build=BUILD configure for building on BUILD [guessed] 1448 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1449_ACEOF 1450fi 1451 1452if test -n "$ac_init_help"; then 1453 case $ac_init_help in 1454 short | recursive ) echo "Configuration of detroit 0.2.3:";; 1455 esac 1456 cat <<\_ACEOF 1457 1458Optional Features: 1459 --disable-option-checking ignore unrecognized --enable/--with options 1460 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1461 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1462 --enable-debug build with debug information (slower and bigger 1463 binary) 1464 --enable-profiling build with profiling information (even more slower 1465 and bigger binary) 1466 --enable-lto build with link time optimizations, LTO capable 1467 linker is needed for this, like gold (see 1468 --with-linker below) 1469 --disable-largefile disable support for 64 bit file offsets on 32 bit 1470 machine 1471 --disable-builtin disable substituting functions with compiler 1472 built-in equivalents 1473 --enable-native enable optimization flags suitable for this host 1474 --enable-altivec enable AltiVec CPU extensions (PowerPC) 1475 --enable-isel enable ISEL CPU extensions (PowerPC) 1476 --enable-spe enable SPE CPU extensions (PowerPC) 1477 --enable-vsx enable VSX CPU extensions (PowerPC) 1478 --enable-vis enable VIS CPU extensions (SPARC) 1479 --enable-vis2 enable VIS2 CPU extensions (SPARC) 1480 --enable-vis3 enable VIS3 CPU extensions (SPARC) 1481 --enable-vis4 enable VIS4 CPU extensions (SPARC) 1482 --enable-vis4b enable VIS4b CPU extensions (SPARC) 1483 --enable-fmaf enable use of FMAF CPU instruction (SPARC) 1484 --enable-sse enable SSE CPU extensions (x86) 1485 --enable-sse2 enable SSE2 CPU extensions (x86) 1486 --enable-sse3 enable SSE3 CPU extensions (x86) 1487 --enable-ssse3 enable Supplemental SSE3 CPU extensions (x86) 1488 --enable-sse4 enable SSE4 CPU extensions (x86) 1489 --enable-sse4a enable SSE4a CPU extensions (x86) 1490 --enable-sse4.1 enable SSE4.1 CPU extensions (x86) 1491 --enable-sse4.2 enable SSE4.2 CPU extensions (x86) 1492 --enable-avx enable AVX CPU extensions (x86) 1493 --enable-avx2 enable AVX2 CPU extensions (x86) 1494 --enable-bmi enable BMI CPU extensions (x86) 1495 --enable-bmi2 enable BMI2 CPU extensions (x86) 1496 --enable-fma enable use of FMA3 CPU instruction (x86) 1497 --enable-fma4 enable use of FMA4 CPU instruction (x86) 1498 --enable-abm enable ABM CPU extensions (x86) 1499 --enable-tbm enable TBM CPU extensions (x86) 1500 --enable-rdrand enable use of rdrand CPU instruction to get random 1501 numbers (x86) 1502 --enable-rdtsc_seed enable use of rdtsc CPU instruction for seeding 1503 srand[om]() (x86) 1504 --enable-rdrand_seed enable use of rdrand CPU instruction for seeding 1505 srand[om](), overrides --enable-rdtsc_seed (x86) 1506 --enable-rdseed enable use of rdseed CPU instruction for seeding 1507 srand[om](), overrides --enable-rdrand_seed (x86) 1508 --enable-sslv23 enable support for weak SSLv2/3 and TLS, otherwise 1509 support only TLS (affects to remote control 1510 subsystem) 1511 --enable-safemem enable substituting some memory comparing and 1512 clearing functions with safer ones if they are 1513 available 1514 --disable-extended disable extended script commands 1515 --disable-color disable color functions 1516 --disable-coords disable coordinate functions 1517 --disable-image disable image functions 1518 --disable-math disable math functions 1519 --disable-bob disable bob subsystem 1520 --disable-input disable external input driver subsystem 1521 --disable-draw disable drawing operations subsystem 1522 --disable-menu disable window menu subsystem 1523 --disable-widget disable widget subsystem 1524 --disable-gui disable gui/windowing subsystem completely (also 1525 disables bob, menu and widget subsystems) 1526 --disable-audio disable audio subsystem completely 1527 --disable-remote disable remote control subsystem completely 1528 1529Optional Packages: 1530 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1531 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1532 --with-libdlmalloc=DIR enable support for dlmalloc library, installed in 1533 DIR 1534 --with-libiconv=DIR enable support for iconv library, installed in DIR 1535 --with-libintl=DIR enable support for intl library, installed in DIR 1536 --with-libltdl=DIR enable support for libtool for runtime symbol 1537 loading (otherwise use dl-family of functions), 1538 installed in DIR 1539 --with-linker=LINKER enable use of this linker instead of default one 1540 --with-color-db-tiny use tiny (vga) color database, otherwise use 1541 standard (x11) color database 1542 --with-color-db-small use small (w3c) color database, otherwise use 1543 standard (x11) color database 1544 --with-color-db-large use large (complete) color database, otherwise use 1545 standard (x11) color database 1546 --with-redtools enable building and support for Redtools requester 1547 library 1548 --with-motif=DIR use Motif installed in DIR for Redtools requester 1549 library 1550 --with-redtools-xft use Xft fonts by default, comes with antialias and 1551 unicode support 1552 --with-redtools-xft-serif 1553 use Serif typeface by default with Xft, otherwise 1554 use Sans 1555 --with-redtools-xft-typeface=TYPEFACE 1556 use TYPEFACE name by default with Xft, overrides 1557 other typeface settings 1558 --with-redtools-xft-small 1559 use small fonts (fontsize 8, good for VGA displays) 1560 by default with Xft, otherwise use medium 1561 --with-redtools-xft-large 1562 use large fonts (fontsize 12, good for Full HD 1563 displays) by default with Xft, otherwise use medium 1564 --with-redtools-xft-huge 1565 use huge fonts (fontsize 14, good for 4K UHD 1566 displays) by default with Xft, otherwise use medium 1567 --with-redtools-xft-fontsize=FONTSIZE 1568 use FONTSIZE number by default with Xft, overrides 1569 other fontsize settings 1570 --with-usb_classic_nes_gamepad 1571 enable building of USB classic NES gamepad input 1572 driver 1573 1574Some influential environment variables: 1575 CC C compiler command 1576 CFLAGS C compiler flags 1577 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1578 nonstandard directory <lib dir> 1579 LIBS libraries to pass to the linker, e.g. -l<library> 1580 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1581 you have headers in a nonstandard directory <include dir> 1582 CPP C preprocessor 1583 PKG_CONFIG path to pkg-config utility 1584 PKG_CONFIG_PATH 1585 directories to add to pkg-config's search path 1586 PKG_CONFIG_LIBDIR 1587 path overriding pkg-config's built-in search path 1588 FREETYPE2_CFLAGS 1589 C compiler flags for FREETYPE2, overriding pkg-config 1590 FREETYPE2_LIBS 1591 linker flags for FREETYPE2, overriding pkg-config 1592 GL_CFLAGS C compiler flags for GL, overriding pkg-config 1593 GL_LIBS linker flags for GL, overriding pkg-config 1594 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config 1595 XEXT_LIBS linker flags for XEXT, overriding pkg-config 1596 X11_CFLAGS C compiler flags for X11, overriding pkg-config 1597 X11_LIBS linker flags for X11, overriding pkg-config 1598 XRANDR_CFLAGS 1599 C compiler flags for XRANDR, overriding pkg-config 1600 XRANDR_LIBS linker flags for XRANDR, overriding pkg-config 1601 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config 1602 ALSA_LIBS linker flags for ALSA, overriding pkg-config 1603 AO_CFLAGS C compiler flags for AO, overriding pkg-config 1604 AO_LIBS linker flags for AO, overriding pkg-config 1605 PORTAUDIO_CFLAGS 1606 C compiler flags for PORTAUDIO, overriding pkg-config 1607 PORTAUDIO_LIBS 1608 linker flags for PORTAUDIO, overriding pkg-config 1609 PULSEAUDIO_CFLAGS 1610 C compiler flags for PULSEAUDIO, overriding pkg-config 1611 PULSEAUDIO_LIBS 1612 linker flags for PULSEAUDIO, overriding pkg-config 1613 FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config 1614 FLAC_LIBS linker flags for FLAC, overriding pkg-config 1615 SAMPLERATE_CFLAGS 1616 C compiler flags for SAMPLERATE, overriding pkg-config 1617 SAMPLERATE_LIBS 1618 linker flags for SAMPLERATE, overriding pkg-config 1619 GNUTLS_CFLAGS 1620 C compiler flags for GNUTLS, overriding pkg-config 1621 GNUTLS_LIBS linker flags for GNUTLS, overriding pkg-config 1622 OPENSSL_CFLAGS 1623 C compiler flags for OPENSSL, overriding pkg-config 1624 OPENSSL_LIBS 1625 linker flags for OPENSSL, overriding pkg-config 1626 LIBRSVG_CFLAGS 1627 C compiler flags for LIBRSVG, overriding pkg-config 1628 LIBRSVG_LIBS 1629 linker flags for LIBRSVG, overriding pkg-config 1630 1631Use these variables to override the choices made by `configure' or to help 1632it to find libraries and programs with nonstandard names/locations. 1633 1634Report bugs to <salojan@goto10.co>. 1635_ACEOF 1636ac_status=$? 1637fi 1638 1639if test "$ac_init_help" = "recursive"; then 1640 # If there are subdirs, report their specific --help. 1641 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1642 test -d "$ac_dir" || 1643 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1644 continue 1645 ac_builddir=. 1646 1647case "$ac_dir" in 1648.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1649*) 1650 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1651 # A ".." for each directory in $ac_dir_suffix. 1652 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1653 case $ac_top_builddir_sub in 1654 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1655 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1656 esac ;; 1657esac 1658ac_abs_top_builddir=$ac_pwd 1659ac_abs_builddir=$ac_pwd$ac_dir_suffix 1660# for backward compatibility: 1661ac_top_builddir=$ac_top_build_prefix 1662 1663case $srcdir in 1664 .) # We are building in place. 1665 ac_srcdir=. 1666 ac_top_srcdir=$ac_top_builddir_sub 1667 ac_abs_top_srcdir=$ac_pwd ;; 1668 [\\/]* | ?:[\\/]* ) # Absolute name. 1669 ac_srcdir=$srcdir$ac_dir_suffix; 1670 ac_top_srcdir=$srcdir 1671 ac_abs_top_srcdir=$srcdir ;; 1672 *) # Relative name. 1673 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1674 ac_top_srcdir=$ac_top_build_prefix$srcdir 1675 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1676esac 1677ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1678 1679 cd "$ac_dir" || { ac_status=$?; continue; } 1680 # Check for guested configure. 1681 if test -f "$ac_srcdir/configure.gnu"; then 1682 echo && 1683 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1684 elif test -f "$ac_srcdir/configure"; then 1685 echo && 1686 $SHELL "$ac_srcdir/configure" --help=recursive 1687 else 1688 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1689 fi || ac_status=$? 1690 cd "$ac_pwd" || { ac_status=$?; break; } 1691 done 1692fi 1693 1694test -n "$ac_init_help" && exit $ac_status 1695if $ac_init_version; then 1696 cat <<\_ACEOF 1697detroit configure 0.2.3 1698generated by GNU Autoconf 2.69 1699 1700Copyright (C) 2012 Free Software Foundation, Inc. 1701This configure script is free software; the Free Software Foundation 1702gives unlimited permission to copy, distribute and modify it. 1703_ACEOF 1704 exit 1705fi 1706 1707## ------------------------ ## 1708## Autoconf initialization. ## 1709## ------------------------ ## 1710 1711# ac_fn_c_try_compile LINENO 1712# -------------------------- 1713# Try to compile conftest.$ac_ext, and return whether this succeeded. 1714ac_fn_c_try_compile () 1715{ 1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1717 rm -f conftest.$ac_objext 1718 if { { ac_try="$ac_compile" 1719case "(($ac_try" in 1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1721 *) ac_try_echo=$ac_try;; 1722esac 1723eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1724$as_echo "$ac_try_echo"; } >&5 1725 (eval "$ac_compile") 2>conftest.err 1726 ac_status=$? 1727 if test -s conftest.err; then 1728 grep -v '^ *+' conftest.err >conftest.er1 1729 cat conftest.er1 >&5 1730 mv -f conftest.er1 conftest.err 1731 fi 1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1733 test $ac_status = 0; } && { 1734 test -z "$ac_c_werror_flag" || 1735 test ! -s conftest.err 1736 } && test -s conftest.$ac_objext; then : 1737 ac_retval=0 1738else 1739 $as_echo "$as_me: failed program was:" >&5 1740sed 's/^/| /' conftest.$ac_ext >&5 1741 1742 ac_retval=1 1743fi 1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1745 as_fn_set_status $ac_retval 1746 1747} # ac_fn_c_try_compile 1748 1749# ac_fn_c_try_link LINENO 1750# ----------------------- 1751# Try to link conftest.$ac_ext, and return whether this succeeded. 1752ac_fn_c_try_link () 1753{ 1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1755 rm -f conftest.$ac_objext conftest$ac_exeext 1756 if { { ac_try="$ac_link" 1757case "(($ac_try" in 1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1759 *) ac_try_echo=$ac_try;; 1760esac 1761eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1762$as_echo "$ac_try_echo"; } >&5 1763 (eval "$ac_link") 2>conftest.err 1764 ac_status=$? 1765 if test -s conftest.err; then 1766 grep -v '^ *+' conftest.err >conftest.er1 1767 cat conftest.er1 >&5 1768 mv -f conftest.er1 conftest.err 1769 fi 1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1771 test $ac_status = 0; } && { 1772 test -z "$ac_c_werror_flag" || 1773 test ! -s conftest.err 1774 } && test -s conftest$ac_exeext && { 1775 test "$cross_compiling" = yes || 1776 test -x conftest$ac_exeext 1777 }; then : 1778 ac_retval=0 1779else 1780 $as_echo "$as_me: failed program was:" >&5 1781sed 's/^/| /' conftest.$ac_ext >&5 1782 1783 ac_retval=1 1784fi 1785 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1786 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1787 # interfere with the next link command; also delete a directory that is 1788 # left behind by Apple's compiler. We do this before executing the actions. 1789 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1791 as_fn_set_status $ac_retval 1792 1793} # ac_fn_c_try_link 1794 1795# ac_fn_c_try_run LINENO 1796# ---------------------- 1797# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1798# that executables *can* be run. 1799ac_fn_c_try_run () 1800{ 1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1802 if { { ac_try="$ac_link" 1803case "(($ac_try" in 1804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1805 *) ac_try_echo=$ac_try;; 1806esac 1807eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1808$as_echo "$ac_try_echo"; } >&5 1809 (eval "$ac_link") 2>&5 1810 ac_status=$? 1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1812 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1813 { { case "(($ac_try" in 1814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1815 *) ac_try_echo=$ac_try;; 1816esac 1817eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1818$as_echo "$ac_try_echo"; } >&5 1819 (eval "$ac_try") 2>&5 1820 ac_status=$? 1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1822 test $ac_status = 0; }; }; then : 1823 ac_retval=0 1824else 1825 $as_echo "$as_me: program exited with status $ac_status" >&5 1826 $as_echo "$as_me: failed program was:" >&5 1827sed 's/^/| /' conftest.$ac_ext >&5 1828 1829 ac_retval=$ac_status 1830fi 1831 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1833 as_fn_set_status $ac_retval 1834 1835} # ac_fn_c_try_run 1836 1837# ac_fn_c_try_cpp LINENO 1838# ---------------------- 1839# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1840ac_fn_c_try_cpp () 1841{ 1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1843 if { { ac_try="$ac_cpp conftest.$ac_ext" 1844case "(($ac_try" in 1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1846 *) ac_try_echo=$ac_try;; 1847esac 1848eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1849$as_echo "$ac_try_echo"; } >&5 1850 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1851 ac_status=$? 1852 if test -s conftest.err; then 1853 grep -v '^ *+' conftest.err >conftest.er1 1854 cat conftest.er1 >&5 1855 mv -f conftest.er1 conftest.err 1856 fi 1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1858 test $ac_status = 0; } > conftest.i && { 1859 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1860 test ! -s conftest.err 1861 }; then : 1862 ac_retval=0 1863else 1864 $as_echo "$as_me: failed program was:" >&5 1865sed 's/^/| /' conftest.$ac_ext >&5 1866 1867 ac_retval=1 1868fi 1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1870 as_fn_set_status $ac_retval 1871 1872} # ac_fn_c_try_cpp 1873 1874# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1875# ------------------------------------------------------- 1876# Tests whether HEADER exists and can be compiled using the include files in 1877# INCLUDES, setting the cache variable VAR accordingly. 1878ac_fn_c_check_header_compile () 1879{ 1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1882$as_echo_n "checking for $2... " >&6; } 1883if eval \${$3+:} false; then : 1884 $as_echo_n "(cached) " >&6 1885else 1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1887/* end confdefs.h. */ 1888$4 1889#include <$2> 1890_ACEOF 1891if ac_fn_c_try_compile "$LINENO"; then : 1892 eval "$3=yes" 1893else 1894 eval "$3=no" 1895fi 1896rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1897fi 1898eval ac_res=\$$3 1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1900$as_echo "$ac_res" >&6; } 1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1902 1903} # ac_fn_c_check_header_compile 1904 1905# ac_fn_c_find_intX_t LINENO BITS VAR 1906# ----------------------------------- 1907# Finds a signed integer type with width BITS, setting cache variable VAR 1908# accordingly. 1909ac_fn_c_find_intX_t () 1910{ 1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 1913$as_echo_n "checking for int$2_t... " >&6; } 1914if eval \${$3+:} false; then : 1915 $as_echo_n "(cached) " >&6 1916else 1917 eval "$3=no" 1918 # Order is important - never check a type that is potentially smaller 1919 # than half of the expected target width. 1920 for ac_type in int$2_t 'int' 'long int' \ 1921 'long long int' 'short int' 'signed char'; do 1922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1923/* end confdefs.h. */ 1924$ac_includes_default 1925 enum { N = $2 / 2 - 1 }; 1926int 1927main () 1928{ 1929static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 1930test_array [0] = 0; 1931return test_array [0]; 1932 1933 ; 1934 return 0; 1935} 1936_ACEOF 1937if ac_fn_c_try_compile "$LINENO"; then : 1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1939/* end confdefs.h. */ 1940$ac_includes_default 1941 enum { N = $2 / 2 - 1 }; 1942int 1943main () 1944{ 1945static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 1946 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 1947test_array [0] = 0; 1948return test_array [0]; 1949 1950 ; 1951 return 0; 1952} 1953_ACEOF 1954if ac_fn_c_try_compile "$LINENO"; then : 1955 1956else 1957 case $ac_type in #( 1958 int$2_t) : 1959 eval "$3=yes" ;; #( 1960 *) : 1961 eval "$3=\$ac_type" ;; 1962esac 1963fi 1964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1965fi 1966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1967 if eval test \"x\$"$3"\" = x"no"; then : 1968 1969else 1970 break 1971fi 1972 done 1973fi 1974eval ac_res=\$$3 1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1976$as_echo "$ac_res" >&6; } 1977 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1978 1979} # ac_fn_c_find_intX_t 1980 1981# ac_fn_c_find_uintX_t LINENO BITS VAR 1982# ------------------------------------ 1983# Finds an unsigned integer type with width BITS, setting cache variable VAR 1984# accordingly. 1985ac_fn_c_find_uintX_t () 1986{ 1987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 1989$as_echo_n "checking for uint$2_t... " >&6; } 1990if eval \${$3+:} false; then : 1991 $as_echo_n "(cached) " >&6 1992else 1993 eval "$3=no" 1994 # Order is important - never check a type that is potentially smaller 1995 # than half of the expected target width. 1996 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ 1997 'unsigned long long int' 'unsigned short int' 'unsigned char'; do 1998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1999/* end confdefs.h. */ 2000$ac_includes_default 2001int 2002main () 2003{ 2004static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; 2005test_array [0] = 0; 2006return test_array [0]; 2007 2008 ; 2009 return 0; 2010} 2011_ACEOF 2012if ac_fn_c_try_compile "$LINENO"; then : 2013 case $ac_type in #( 2014 uint$2_t) : 2015 eval "$3=yes" ;; #( 2016 *) : 2017 eval "$3=\$ac_type" ;; 2018esac 2019fi 2020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2021 if eval test \"x\$"$3"\" = x"no"; then : 2022 2023else 2024 break 2025fi 2026 done 2027fi 2028eval ac_res=\$$3 2029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2030$as_echo "$ac_res" >&6; } 2031 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2032 2033} # ac_fn_c_find_uintX_t 2034 2035# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2036# ------------------------------------------- 2037# Tests whether TYPE exists after having included INCLUDES, setting cache 2038# variable VAR accordingly. 2039ac_fn_c_check_type () 2040{ 2041 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2043$as_echo_n "checking for $2... " >&6; } 2044if eval \${$3+:} false; then : 2045 $as_echo_n "(cached) " >&6 2046else 2047 eval "$3=no" 2048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2049/* end confdefs.h. */ 2050$4 2051int 2052main () 2053{ 2054if (sizeof ($2)) 2055 return 0; 2056 ; 2057 return 0; 2058} 2059_ACEOF 2060if ac_fn_c_try_compile "$LINENO"; then : 2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2062/* end confdefs.h. */ 2063$4 2064int 2065main () 2066{ 2067if (sizeof (($2))) 2068 return 0; 2069 ; 2070 return 0; 2071} 2072_ACEOF 2073if ac_fn_c_try_compile "$LINENO"; then : 2074 2075else 2076 eval "$3=yes" 2077fi 2078rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2079fi 2080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2081fi 2082eval ac_res=\$$3 2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2084$as_echo "$ac_res" >&6; } 2085 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2086 2087} # ac_fn_c_check_type 2088 2089# ac_fn_c_check_func LINENO FUNC VAR 2090# ---------------------------------- 2091# Tests whether FUNC exists, setting the cache variable VAR accordingly 2092ac_fn_c_check_func () 2093{ 2094 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2096$as_echo_n "checking for $2... " >&6; } 2097if eval \${$3+:} false; then : 2098 $as_echo_n "(cached) " >&6 2099else 2100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2101/* end confdefs.h. */ 2102/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2103 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2104#define $2 innocuous_$2 2105 2106/* System header to define __stub macros and hopefully few prototypes, 2107 which can conflict with char $2 (); below. 2108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2109 <limits.h> exists even on freestanding compilers. */ 2110 2111#ifdef __STDC__ 2112# include <limits.h> 2113#else 2114# include <assert.h> 2115#endif 2116 2117#undef $2 2118 2119/* Override any GCC internal prototype to avoid an error. 2120 Use char because int might match the return type of a GCC 2121 builtin and then its argument prototype would still apply. */ 2122#ifdef __cplusplus 2123extern "C" 2124#endif 2125char $2 (); 2126/* The GNU C library defines this for functions which it implements 2127 to always fail with ENOSYS. Some functions are actually named 2128 something starting with __ and the normal name is an alias. */ 2129#if defined __stub_$2 || defined __stub___$2 2130choke me 2131#endif 2132 2133int 2134main () 2135{ 2136return $2 (); 2137 ; 2138 return 0; 2139} 2140_ACEOF 2141if ac_fn_c_try_link "$LINENO"; then : 2142 eval "$3=yes" 2143else 2144 eval "$3=no" 2145fi 2146rm -f core conftest.err conftest.$ac_objext \ 2147 conftest$ac_exeext conftest.$ac_ext 2148fi 2149eval ac_res=\$$3 2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2151$as_echo "$ac_res" >&6; } 2152 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2153 2154} # ac_fn_c_check_func 2155 2156# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2157# ------------------------------------------------------- 2158# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2159# the include files in INCLUDES and setting the cache variable VAR 2160# accordingly. 2161ac_fn_c_check_header_mongrel () 2162{ 2163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2164 if eval \${$3+:} false; then : 2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2166$as_echo_n "checking for $2... " >&6; } 2167if eval \${$3+:} false; then : 2168 $as_echo_n "(cached) " >&6 2169fi 2170eval ac_res=\$$3 2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2172$as_echo "$ac_res" >&6; } 2173else 2174 # Is the header compilable? 2175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2176$as_echo_n "checking $2 usability... " >&6; } 2177cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2178/* end confdefs.h. */ 2179$4 2180#include <$2> 2181_ACEOF 2182if ac_fn_c_try_compile "$LINENO"; then : 2183 ac_header_compiler=yes 2184else 2185 ac_header_compiler=no 2186fi 2187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2189$as_echo "$ac_header_compiler" >&6; } 2190 2191# Is the header present? 2192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2193$as_echo_n "checking $2 presence... " >&6; } 2194cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2195/* end confdefs.h. */ 2196#include <$2> 2197_ACEOF 2198if ac_fn_c_try_cpp "$LINENO"; then : 2199 ac_header_preproc=yes 2200else 2201 ac_header_preproc=no 2202fi 2203rm -f conftest.err conftest.i conftest.$ac_ext 2204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2205$as_echo "$ac_header_preproc" >&6; } 2206 2207# So? What about this header? 2208case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2209 yes:no: ) 2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2211$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2213$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2214 ;; 2215 no:yes:* ) 2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2217$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2219$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2221$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2223$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2225$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2226( $as_echo "## -------------------------------- ## 2227## Report this to salojan@goto10.co ## 2228## -------------------------------- ##" 2229 ) | sed "s/^/$as_me: WARNING: /" >&2 2230 ;; 2231esac 2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2233$as_echo_n "checking for $2... " >&6; } 2234if eval \${$3+:} false; then : 2235 $as_echo_n "(cached) " >&6 2236else 2237 eval "$3=\$ac_header_compiler" 2238fi 2239eval ac_res=\$$3 2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2241$as_echo "$ac_res" >&6; } 2242fi 2243 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2244 2245} # ac_fn_c_check_header_mongrel 2246cat >config.log <<_ACEOF 2247This file contains any messages produced by compilers while 2248running configure, to aid debugging if configure makes a mistake. 2249 2250It was created by detroit $as_me 0.2.3, which was 2251generated by GNU Autoconf 2.69. Invocation command line was 2252 2253 $ $0 $@ 2254 2255_ACEOF 2256exec 5>>config.log 2257{ 2258cat <<_ASUNAME 2259## --------- ## 2260## Platform. ## 2261## --------- ## 2262 2263hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2264uname -m = `(uname -m) 2>/dev/null || echo unknown` 2265uname -r = `(uname -r) 2>/dev/null || echo unknown` 2266uname -s = `(uname -s) 2>/dev/null || echo unknown` 2267uname -v = `(uname -v) 2>/dev/null || echo unknown` 2268 2269/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2270/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2271 2272/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2273/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2274/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2275/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2276/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2277/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2278/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2279 2280_ASUNAME 2281 2282as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2283for as_dir in $PATH 2284do 2285 IFS=$as_save_IFS 2286 test -z "$as_dir" && as_dir=. 2287 $as_echo "PATH: $as_dir" 2288 done 2289IFS=$as_save_IFS 2290 2291} >&5 2292 2293cat >&5 <<_ACEOF 2294 2295 2296## ----------- ## 2297## Core tests. ## 2298## ----------- ## 2299 2300_ACEOF 2301 2302 2303# Keep a trace of the command line. 2304# Strip out --no-create and --no-recursion so they do not pile up. 2305# Strip out --silent because we don't want to record it for future runs. 2306# Also quote any args containing shell meta-characters. 2307# Make two passes to allow for proper duplicate-argument suppression. 2308ac_configure_args= 2309ac_configure_args0= 2310ac_configure_args1= 2311ac_must_keep_next=false 2312for ac_pass in 1 2 2313do 2314 for ac_arg 2315 do 2316 case $ac_arg in 2317 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2319 | -silent | --silent | --silen | --sile | --sil) 2320 continue ;; 2321 *\'*) 2322 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2323 esac 2324 case $ac_pass in 2325 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2326 2) 2327 as_fn_append ac_configure_args1 " '$ac_arg'" 2328 if test $ac_must_keep_next = true; then 2329 ac_must_keep_next=false # Got value, back to normal. 2330 else 2331 case $ac_arg in 2332 *=* | --config-cache | -C | -disable-* | --disable-* \ 2333 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2334 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2335 | -with-* | --with-* | -without-* | --without-* | --x) 2336 case "$ac_configure_args0 " in 2337 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2338 esac 2339 ;; 2340 -* ) ac_must_keep_next=true ;; 2341 esac 2342 fi 2343 as_fn_append ac_configure_args " '$ac_arg'" 2344 ;; 2345 esac 2346 done 2347done 2348{ ac_configure_args0=; unset ac_configure_args0;} 2349{ ac_configure_args1=; unset ac_configure_args1;} 2350 2351# When interrupted or exit'd, cleanup temporary files, and complete 2352# config.log. We remove comments because anyway the quotes in there 2353# would cause problems or look ugly. 2354# WARNING: Use '\'' to represent an apostrophe within the trap. 2355# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2356trap 'exit_status=$? 2357 # Save into config.log some information that might help in debugging. 2358 { 2359 echo 2360 2361 $as_echo "## ---------------- ## 2362## Cache variables. ## 2363## ---------------- ##" 2364 echo 2365 # The following way of writing the cache mishandles newlines in values, 2366( 2367 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2368 eval ac_val=\$$ac_var 2369 case $ac_val in #( 2370 *${as_nl}*) 2371 case $ac_var in #( 2372 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2373$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2374 esac 2375 case $ac_var in #( 2376 _ | IFS | as_nl) ;; #( 2377 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2378 *) { eval $ac_var=; unset $ac_var;} ;; 2379 esac ;; 2380 esac 2381 done 2382 (set) 2>&1 | 2383 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2384 *${as_nl}ac_space=\ *) 2385 sed -n \ 2386 "s/'\''/'\''\\\\'\'''\''/g; 2387 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2388 ;; #( 2389 *) 2390 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2391 ;; 2392 esac | 2393 sort 2394) 2395 echo 2396 2397 $as_echo "## ----------------- ## 2398## Output variables. ## 2399## ----------------- ##" 2400 echo 2401 for ac_var in $ac_subst_vars 2402 do 2403 eval ac_val=\$$ac_var 2404 case $ac_val in 2405 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2406 esac 2407 $as_echo "$ac_var='\''$ac_val'\''" 2408 done | sort 2409 echo 2410 2411 if test -n "$ac_subst_files"; then 2412 $as_echo "## ------------------- ## 2413## File substitutions. ## 2414## ------------------- ##" 2415 echo 2416 for ac_var in $ac_subst_files 2417 do 2418 eval ac_val=\$$ac_var 2419 case $ac_val in 2420 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2421 esac 2422 $as_echo "$ac_var='\''$ac_val'\''" 2423 done | sort 2424 echo 2425 fi 2426 2427 if test -s confdefs.h; then 2428 $as_echo "## ----------- ## 2429## confdefs.h. ## 2430## ----------- ##" 2431 echo 2432 cat confdefs.h 2433 echo 2434 fi 2435 test "$ac_signal" != 0 && 2436 $as_echo "$as_me: caught signal $ac_signal" 2437 $as_echo "$as_me: exit $exit_status" 2438 } >&5 2439 rm -f core *.core core.conftest.* && 2440 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2441 exit $exit_status 2442' 0 2443for ac_signal in 1 2 13 15; do 2444 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2445done 2446ac_signal=0 2447 2448# confdefs.h avoids OS command line length limits that DEFS can exceed. 2449rm -f -r conftest* confdefs.h 2450 2451$as_echo "/* confdefs.h */" > confdefs.h 2452 2453# Predefined preprocessor variables. 2454 2455cat >>confdefs.h <<_ACEOF 2456#define PACKAGE_NAME "$PACKAGE_NAME" 2457_ACEOF 2458 2459cat >>confdefs.h <<_ACEOF 2460#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2461_ACEOF 2462 2463cat >>confdefs.h <<_ACEOF 2464#define PACKAGE_VERSION "$PACKAGE_VERSION" 2465_ACEOF 2466 2467cat >>confdefs.h <<_ACEOF 2468#define PACKAGE_STRING "$PACKAGE_STRING" 2469_ACEOF 2470 2471cat >>confdefs.h <<_ACEOF 2472#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2473_ACEOF 2474 2475cat >>confdefs.h <<_ACEOF 2476#define PACKAGE_URL "$PACKAGE_URL" 2477_ACEOF 2478 2479 2480# Let the site file select an alternate cache file if it wants to. 2481# Prefer an explicitly selected file to automatically selected ones. 2482ac_site_file1=NONE 2483ac_site_file2=NONE 2484if test -n "$CONFIG_SITE"; then 2485 # We do not want a PATH search for config.site. 2486 case $CONFIG_SITE in #(( 2487 -*) ac_site_file1=./$CONFIG_SITE;; 2488 */*) ac_site_file1=$CONFIG_SITE;; 2489 *) ac_site_file1=./$CONFIG_SITE;; 2490 esac 2491elif test "x$prefix" != xNONE; then 2492 ac_site_file1=$prefix/share/config.site 2493 ac_site_file2=$prefix/etc/config.site 2494else 2495 ac_site_file1=$ac_default_prefix/share/config.site 2496 ac_site_file2=$ac_default_prefix/etc/config.site 2497fi 2498for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2499do 2500 test "x$ac_site_file" = xNONE && continue 2501 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2502 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2503$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2504 sed 's/^/| /' "$ac_site_file" >&5 2505 . "$ac_site_file" \ 2506 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2507$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2508as_fn_error $? "failed to load site script $ac_site_file 2509See \`config.log' for more details" "$LINENO" 5; } 2510 fi 2511done 2512 2513if test -r "$cache_file"; then 2514 # Some versions of bash will fail to source /dev/null (special files 2515 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2516 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2517 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2518$as_echo "$as_me: loading cache $cache_file" >&6;} 2519 case $cache_file in 2520 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2521 *) . "./$cache_file";; 2522 esac 2523 fi 2524else 2525 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2526$as_echo "$as_me: creating cache $cache_file" >&6;} 2527 >$cache_file 2528fi 2529 2530# Check that the precious variables saved in the cache have kept the same 2531# value. 2532ac_cache_corrupted=false 2533for ac_var in $ac_precious_vars; do 2534 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2535 eval ac_new_set=\$ac_env_${ac_var}_set 2536 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2537 eval ac_new_val=\$ac_env_${ac_var}_value 2538 case $ac_old_set,$ac_new_set in 2539 set,) 2540 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2541$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2542 ac_cache_corrupted=: ;; 2543 ,set) 2544 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2545$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2546 ac_cache_corrupted=: ;; 2547 ,);; 2548 *) 2549 if test "x$ac_old_val" != "x$ac_new_val"; then 2550 # differences in whitespace do not lead to failure. 2551 ac_old_val_w=`echo x $ac_old_val` 2552 ac_new_val_w=`echo x $ac_new_val` 2553 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2554 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2555$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2556 ac_cache_corrupted=: 2557 else 2558 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2559$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2560 eval $ac_var=\$ac_old_val 2561 fi 2562 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2563$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2564 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2565$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2566 fi;; 2567 esac 2568 # Pass precious variables to config.status. 2569 if test "$ac_new_set" = set; then 2570 case $ac_new_val in 2571 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2572 *) ac_arg=$ac_var=$ac_new_val ;; 2573 esac 2574 case " $ac_configure_args " in 2575 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2576 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2577 esac 2578 fi 2579done 2580if $ac_cache_corrupted; then 2581 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2582$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2583 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2584$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2585 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2586fi 2587## -------------------- ## 2588## Main body of script. ## 2589## -------------------- ## 2590 2591ac_ext=c 2592ac_cpp='$CPP $CPPFLAGS' 2593ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2594ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2595ac_compiler_gnu=$ac_cv_c_compiler_gnu 2596 2597 2598ac_config_headers="$ac_config_headers engine/config.h" 2599 2600ac_aux_dir= 2601for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2602 if test -f "$ac_dir/install-sh"; then 2603 ac_aux_dir=$ac_dir 2604 ac_install_sh="$ac_aux_dir/install-sh -c" 2605 break 2606 elif test -f "$ac_dir/install.sh"; then 2607 ac_aux_dir=$ac_dir 2608 ac_install_sh="$ac_aux_dir/install.sh -c" 2609 break 2610 elif test -f "$ac_dir/shtool"; then 2611 ac_aux_dir=$ac_dir 2612 ac_install_sh="$ac_aux_dir/shtool install -c" 2613 break 2614 fi 2615done 2616if test -z "$ac_aux_dir"; then 2617 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2618fi 2619 2620# These three variables are undocumented and unsupported, 2621# and are intended to be withdrawn in a future Autoconf release. 2622# They can cause serious problems if a builder's source tree is in a directory 2623# whose full name contains unusual characters. 2624ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2625ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2626ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2627 2628 2629# Make sure we can run config.sub. 2630$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2631 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 2632 2633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 2634$as_echo_n "checking build system type... " >&6; } 2635if ${ac_cv_build+:} false; then : 2636 $as_echo_n "(cached) " >&6 2637else 2638 ac_build_alias=$build_alias 2639test "x$ac_build_alias" = x && 2640 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2641test "x$ac_build_alias" = x && 2642 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 2643ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2644 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 2645 2646fi 2647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 2648$as_echo "$ac_cv_build" >&6; } 2649case $ac_cv_build in 2650*-*-*) ;; 2651*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 2652esac 2653build=$ac_cv_build 2654ac_save_IFS=$IFS; IFS='-' 2655set x $ac_cv_build 2656shift 2657build_cpu=$1 2658build_vendor=$2 2659shift; shift 2660# Remember, the first character of IFS is used to create $*, 2661# except with old shells: 2662build_os=$* 2663IFS=$ac_save_IFS 2664case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2665 2666 2667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 2668$as_echo_n "checking host system type... " >&6; } 2669if ${ac_cv_host+:} false; then : 2670 $as_echo_n "(cached) " >&6 2671else 2672 if test "x$host_alias" = x; then 2673 ac_cv_host=$ac_cv_build 2674else 2675 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2676 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 2677fi 2678 2679fi 2680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 2681$as_echo "$ac_cv_host" >&6; } 2682case $ac_cv_host in 2683*-*-*) ;; 2684*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 2685esac 2686host=$ac_cv_host 2687ac_save_IFS=$IFS; IFS='-' 2688set x $ac_cv_host 2689shift 2690host_cpu=$1 2691host_vendor=$2 2692shift; shift 2693# Remember, the first character of IFS is used to create $*, 2694# except with old shells: 2695host_os=$* 2696IFS=$ac_save_IFS 2697case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 2698 2699 2700 2701PROG_N="`cat ./PROJECT | head -1`" 2702PROG_X="`cat ./PROJECT | head -2 | tail -1`" 2703PROG_Y="`cat ./PROJECT | head -3 | tail -1`" 2704PROG_V="`cat ./PROJECT | head -4 | tail -1`" 2705 2706 2707 2708 2709 2710ac_ext=c 2711ac_cpp='$CPP $CPPFLAGS' 2712ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2713ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2714ac_compiler_gnu=$ac_cv_c_compiler_gnu 2715if test -n "$ac_tool_prefix"; then 2716 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2717set dummy ${ac_tool_prefix}gcc; ac_word=$2 2718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2719$as_echo_n "checking for $ac_word... " >&6; } 2720if ${ac_cv_prog_CC+:} false; then : 2721 $as_echo_n "(cached) " >&6 2722else 2723 if test -n "$CC"; then 2724 ac_cv_prog_CC="$CC" # Let the user override the test. 2725else 2726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2727for as_dir in $PATH 2728do 2729 IFS=$as_save_IFS 2730 test -z "$as_dir" && as_dir=. 2731 for ac_exec_ext in '' $ac_executable_extensions; do 2732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2733 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2735 break 2 2736 fi 2737done 2738 done 2739IFS=$as_save_IFS 2740 2741fi 2742fi 2743CC=$ac_cv_prog_CC 2744if test -n "$CC"; then 2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2746$as_echo "$CC" >&6; } 2747else 2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2749$as_echo "no" >&6; } 2750fi 2751 2752 2753fi 2754if test -z "$ac_cv_prog_CC"; then 2755 ac_ct_CC=$CC 2756 # Extract the first word of "gcc", so it can be a program name with args. 2757set dummy gcc; ac_word=$2 2758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2759$as_echo_n "checking for $ac_word... " >&6; } 2760if ${ac_cv_prog_ac_ct_CC+:} false; then : 2761 $as_echo_n "(cached) " >&6 2762else 2763 if test -n "$ac_ct_CC"; then 2764 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2765else 2766as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2767for as_dir in $PATH 2768do 2769 IFS=$as_save_IFS 2770 test -z "$as_dir" && as_dir=. 2771 for ac_exec_ext in '' $ac_executable_extensions; do 2772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2773 ac_cv_prog_ac_ct_CC="gcc" 2774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2775 break 2 2776 fi 2777done 2778 done 2779IFS=$as_save_IFS 2780 2781fi 2782fi 2783ac_ct_CC=$ac_cv_prog_ac_ct_CC 2784if test -n "$ac_ct_CC"; then 2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2786$as_echo "$ac_ct_CC" >&6; } 2787else 2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2789$as_echo "no" >&6; } 2790fi 2791 2792 if test "x$ac_ct_CC" = x; then 2793 CC="" 2794 else 2795 case $cross_compiling:$ac_tool_warned in 2796yes:) 2797{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2798$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2799ac_tool_warned=yes ;; 2800esac 2801 CC=$ac_ct_CC 2802 fi 2803else 2804 CC="$ac_cv_prog_CC" 2805fi 2806 2807if test -z "$CC"; then 2808 if test -n "$ac_tool_prefix"; then 2809 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2810set dummy ${ac_tool_prefix}cc; ac_word=$2 2811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2812$as_echo_n "checking for $ac_word... " >&6; } 2813if ${ac_cv_prog_CC+:} false; then : 2814 $as_echo_n "(cached) " >&6 2815else 2816 if test -n "$CC"; then 2817 ac_cv_prog_CC="$CC" # Let the user override the test. 2818else 2819as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2820for as_dir in $PATH 2821do 2822 IFS=$as_save_IFS 2823 test -z "$as_dir" && as_dir=. 2824 for ac_exec_ext in '' $ac_executable_extensions; do 2825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2826 ac_cv_prog_CC="${ac_tool_prefix}cc" 2827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2828 break 2 2829 fi 2830done 2831 done 2832IFS=$as_save_IFS 2833 2834fi 2835fi 2836CC=$ac_cv_prog_CC 2837if test -n "$CC"; then 2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2839$as_echo "$CC" >&6; } 2840else 2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2842$as_echo "no" >&6; } 2843fi 2844 2845 2846 fi 2847fi 2848if test -z "$CC"; then 2849 # Extract the first word of "cc", so it can be a program name with args. 2850set dummy cc; ac_word=$2 2851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2852$as_echo_n "checking for $ac_word... " >&6; } 2853if ${ac_cv_prog_CC+:} false; then : 2854 $as_echo_n "(cached) " >&6 2855else 2856 if test -n "$CC"; then 2857 ac_cv_prog_CC="$CC" # Let the user override the test. 2858else 2859 ac_prog_rejected=no 2860as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2861for as_dir in $PATH 2862do 2863 IFS=$as_save_IFS 2864 test -z "$as_dir" && as_dir=. 2865 for ac_exec_ext in '' $ac_executable_extensions; do 2866 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2867 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2868 ac_prog_rejected=yes 2869 continue 2870 fi 2871 ac_cv_prog_CC="cc" 2872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2873 break 2 2874 fi 2875done 2876 done 2877IFS=$as_save_IFS 2878 2879if test $ac_prog_rejected = yes; then 2880 # We found a bogon in the path, so make sure we never use it. 2881 set dummy $ac_cv_prog_CC 2882 shift 2883 if test $# != 0; then 2884 # We chose a different compiler from the bogus one. 2885 # However, it has the same basename, so the bogon will be chosen 2886 # first if we set CC to just the basename; use the full file name. 2887 shift 2888 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2889 fi 2890fi 2891fi 2892fi 2893CC=$ac_cv_prog_CC 2894if test -n "$CC"; then 2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2896$as_echo "$CC" >&6; } 2897else 2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2899$as_echo "no" >&6; } 2900fi 2901 2902 2903fi 2904if test -z "$CC"; then 2905 if test -n "$ac_tool_prefix"; then 2906 for ac_prog in cl.exe 2907 do 2908 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2909set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2911$as_echo_n "checking for $ac_word... " >&6; } 2912if ${ac_cv_prog_CC+:} false; then : 2913 $as_echo_n "(cached) " >&6 2914else 2915 if test -n "$CC"; then 2916 ac_cv_prog_CC="$CC" # Let the user override the test. 2917else 2918as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2919for as_dir in $PATH 2920do 2921 IFS=$as_save_IFS 2922 test -z "$as_dir" && as_dir=. 2923 for ac_exec_ext in '' $ac_executable_extensions; do 2924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2925 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2927 break 2 2928 fi 2929done 2930 done 2931IFS=$as_save_IFS 2932 2933fi 2934fi 2935CC=$ac_cv_prog_CC 2936if test -n "$CC"; then 2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2938$as_echo "$CC" >&6; } 2939else 2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2941$as_echo "no" >&6; } 2942fi 2943 2944 2945 test -n "$CC" && break 2946 done 2947fi 2948if test -z "$CC"; then 2949 ac_ct_CC=$CC 2950 for ac_prog in cl.exe 2951do 2952 # Extract the first word of "$ac_prog", so it can be a program name with args. 2953set dummy $ac_prog; ac_word=$2 2954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2955$as_echo_n "checking for $ac_word... " >&6; } 2956if ${ac_cv_prog_ac_ct_CC+:} false; then : 2957 $as_echo_n "(cached) " >&6 2958else 2959 if test -n "$ac_ct_CC"; then 2960 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2961else 2962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2963for as_dir in $PATH 2964do 2965 IFS=$as_save_IFS 2966 test -z "$as_dir" && as_dir=. 2967 for ac_exec_ext in '' $ac_executable_extensions; do 2968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2969 ac_cv_prog_ac_ct_CC="$ac_prog" 2970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2971 break 2 2972 fi 2973done 2974 done 2975IFS=$as_save_IFS 2976 2977fi 2978fi 2979ac_ct_CC=$ac_cv_prog_ac_ct_CC 2980if test -n "$ac_ct_CC"; then 2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2982$as_echo "$ac_ct_CC" >&6; } 2983else 2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2985$as_echo "no" >&6; } 2986fi 2987 2988 2989 test -n "$ac_ct_CC" && break 2990done 2991 2992 if test "x$ac_ct_CC" = x; then 2993 CC="" 2994 else 2995 case $cross_compiling:$ac_tool_warned in 2996yes:) 2997{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2998$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2999ac_tool_warned=yes ;; 3000esac 3001 CC=$ac_ct_CC 3002 fi 3003fi 3004 3005fi 3006 3007 3008test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3009$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3010as_fn_error $? "no acceptable C compiler found in \$PATH 3011See \`config.log' for more details" "$LINENO" 5; } 3012 3013# Provide some information about the compiler. 3014$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3015set X $ac_compile 3016ac_compiler=$2 3017for ac_option in --version -v -V -qversion; do 3018 { { ac_try="$ac_compiler $ac_option >&5" 3019case "(($ac_try" in 3020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3021 *) ac_try_echo=$ac_try;; 3022esac 3023eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3024$as_echo "$ac_try_echo"; } >&5 3025 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3026 ac_status=$? 3027 if test -s conftest.err; then 3028 sed '10a\ 3029... rest of stderr output deleted ... 3030 10q' conftest.err >conftest.er1 3031 cat conftest.er1 >&5 3032 fi 3033 rm -f conftest.er1 conftest.err 3034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3035 test $ac_status = 0; } 3036done 3037 3038cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3039/* end confdefs.h. */ 3040 3041int 3042main () 3043{ 3044 3045 ; 3046 return 0; 3047} 3048_ACEOF 3049ac_clean_files_save=$ac_clean_files 3050ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3051# Try to create an executable without -o first, disregard a.out. 3052# It will help us diagnose broken compilers, and finding out an intuition 3053# of exeext. 3054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3055$as_echo_n "checking whether the C compiler works... " >&6; } 3056ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3057 3058# The possible output files: 3059ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3060 3061ac_rmfiles= 3062for ac_file in $ac_files 3063do 3064 case $ac_file in 3065 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3066 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3067 esac 3068done 3069rm -f $ac_rmfiles 3070 3071if { { ac_try="$ac_link_default" 3072case "(($ac_try" in 3073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3074 *) ac_try_echo=$ac_try;; 3075esac 3076eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3077$as_echo "$ac_try_echo"; } >&5 3078 (eval "$ac_link_default") 2>&5 3079 ac_status=$? 3080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3081 test $ac_status = 0; }; then : 3082 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3083# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3084# in a Makefile. We should not override ac_cv_exeext if it was cached, 3085# so that the user can short-circuit this test for compilers unknown to 3086# Autoconf. 3087for ac_file in $ac_files '' 3088do 3089 test -f "$ac_file" || continue 3090 case $ac_file in 3091 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3092 ;; 3093 [ab].out ) 3094 # We found the default executable, but exeext='' is most 3095 # certainly right. 3096 break;; 3097 *.* ) 3098 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3099 then :; else 3100 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3101 fi 3102 # We set ac_cv_exeext here because the later test for it is not 3103 # safe: cross compilers may not add the suffix if given an `-o' 3104 # argument, so we may need to know it at that point already. 3105 # Even if this section looks crufty: it has the advantage of 3106 # actually working. 3107 break;; 3108 * ) 3109 break;; 3110 esac 3111done 3112test "$ac_cv_exeext" = no && ac_cv_exeext= 3113 3114else 3115 ac_file='' 3116fi 3117if test -z "$ac_file"; then : 3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3119$as_echo "no" >&6; } 3120$as_echo "$as_me: failed program was:" >&5 3121sed 's/^/| /' conftest.$ac_ext >&5 3122 3123{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3124$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3125as_fn_error 77 "C compiler cannot create executables 3126See \`config.log' for more details" "$LINENO" 5; } 3127else 3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3129$as_echo "yes" >&6; } 3130fi 3131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3132$as_echo_n "checking for C compiler default output file name... " >&6; } 3133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3134$as_echo "$ac_file" >&6; } 3135ac_exeext=$ac_cv_exeext 3136 3137rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3138ac_clean_files=$ac_clean_files_save 3139{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3140$as_echo_n "checking for suffix of executables... " >&6; } 3141if { { ac_try="$ac_link" 3142case "(($ac_try" in 3143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3144 *) ac_try_echo=$ac_try;; 3145esac 3146eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3147$as_echo "$ac_try_echo"; } >&5 3148 (eval "$ac_link") 2>&5 3149 ac_status=$? 3150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3151 test $ac_status = 0; }; then : 3152 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3153# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3154# work properly (i.e., refer to `conftest.exe'), while it won't with 3155# `rm'. 3156for ac_file in conftest.exe conftest conftest.*; do 3157 test -f "$ac_file" || continue 3158 case $ac_file in 3159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3160 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3161 break;; 3162 * ) break;; 3163 esac 3164done 3165else 3166 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3167$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3168as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3169See \`config.log' for more details" "$LINENO" 5; } 3170fi 3171rm -f conftest conftest$ac_cv_exeext 3172{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3173$as_echo "$ac_cv_exeext" >&6; } 3174 3175rm -f conftest.$ac_ext 3176EXEEXT=$ac_cv_exeext 3177ac_exeext=$EXEEXT 3178cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3179/* end confdefs.h. */ 3180#include <stdio.h> 3181int 3182main () 3183{ 3184FILE *f = fopen ("conftest.out", "w"); 3185 return ferror (f) || fclose (f) != 0; 3186 3187 ; 3188 return 0; 3189} 3190_ACEOF 3191ac_clean_files="$ac_clean_files conftest.out" 3192# Check that the compiler produces executables we can run. If not, either 3193# the compiler is broken, or we cross compile. 3194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3195$as_echo_n "checking whether we are cross compiling... " >&6; } 3196if test "$cross_compiling" != yes; then 3197 { { ac_try="$ac_link" 3198case "(($ac_try" in 3199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3200 *) ac_try_echo=$ac_try;; 3201esac 3202eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3203$as_echo "$ac_try_echo"; } >&5 3204 (eval "$ac_link") 2>&5 3205 ac_status=$? 3206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3207 test $ac_status = 0; } 3208 if { ac_try='./conftest$ac_cv_exeext' 3209 { { case "(($ac_try" in 3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3211 *) ac_try_echo=$ac_try;; 3212esac 3213eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3214$as_echo "$ac_try_echo"; } >&5 3215 (eval "$ac_try") 2>&5 3216 ac_status=$? 3217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3218 test $ac_status = 0; }; }; then 3219 cross_compiling=no 3220 else 3221 if test "$cross_compiling" = maybe; then 3222 cross_compiling=yes 3223 else 3224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3225$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3226as_fn_error $? "cannot run C compiled programs. 3227If you meant to cross compile, use \`--host'. 3228See \`config.log' for more details" "$LINENO" 5; } 3229 fi 3230 fi 3231fi 3232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3233$as_echo "$cross_compiling" >&6; } 3234 3235rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3236ac_clean_files=$ac_clean_files_save 3237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3238$as_echo_n "checking for suffix of object files... " >&6; } 3239if ${ac_cv_objext+:} false; then : 3240 $as_echo_n "(cached) " >&6 3241else 3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3243/* end confdefs.h. */ 3244 3245int 3246main () 3247{ 3248 3249 ; 3250 return 0; 3251} 3252_ACEOF 3253rm -f conftest.o conftest.obj 3254if { { ac_try="$ac_compile" 3255case "(($ac_try" in 3256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3257 *) ac_try_echo=$ac_try;; 3258esac 3259eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3260$as_echo "$ac_try_echo"; } >&5 3261 (eval "$ac_compile") 2>&5 3262 ac_status=$? 3263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3264 test $ac_status = 0; }; then : 3265 for ac_file in conftest.o conftest.obj conftest.*; do 3266 test -f "$ac_file" || continue; 3267 case $ac_file in 3268 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3269 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3270 break;; 3271 esac 3272done 3273else 3274 $as_echo "$as_me: failed program was:" >&5 3275sed 's/^/| /' conftest.$ac_ext >&5 3276 3277{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3278$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3279as_fn_error $? "cannot compute suffix of object files: cannot compile 3280See \`config.log' for more details" "$LINENO" 5; } 3281fi 3282rm -f conftest.$ac_cv_objext conftest.$ac_ext 3283fi 3284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3285$as_echo "$ac_cv_objext" >&6; } 3286OBJEXT=$ac_cv_objext 3287ac_objext=$OBJEXT 3288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3289$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3290if ${ac_cv_c_compiler_gnu+:} false; then : 3291 $as_echo_n "(cached) " >&6 3292else 3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3294/* end confdefs.h. */ 3295 3296int 3297main () 3298{ 3299#ifndef __GNUC__ 3300 choke me 3301#endif 3302 3303 ; 3304 return 0; 3305} 3306_ACEOF 3307if ac_fn_c_try_compile "$LINENO"; then : 3308 ac_compiler_gnu=yes 3309else 3310 ac_compiler_gnu=no 3311fi 3312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3313ac_cv_c_compiler_gnu=$ac_compiler_gnu 3314 3315fi 3316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3317$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3318if test $ac_compiler_gnu = yes; then 3319 GCC=yes 3320else 3321 GCC= 3322fi 3323ac_test_CFLAGS=${CFLAGS+set} 3324ac_save_CFLAGS=$CFLAGS 3325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3326$as_echo_n "checking whether $CC accepts -g... " >&6; } 3327if ${ac_cv_prog_cc_g+:} false; then : 3328 $as_echo_n "(cached) " >&6 3329else 3330 ac_save_c_werror_flag=$ac_c_werror_flag 3331 ac_c_werror_flag=yes 3332 ac_cv_prog_cc_g=no 3333 CFLAGS="-g" 3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3335/* end confdefs.h. */ 3336 3337int 3338main () 3339{ 3340 3341 ; 3342 return 0; 3343} 3344_ACEOF 3345if ac_fn_c_try_compile "$LINENO"; then : 3346 ac_cv_prog_cc_g=yes 3347else 3348 CFLAGS="" 3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3350/* end confdefs.h. */ 3351 3352int 3353main () 3354{ 3355 3356 ; 3357 return 0; 3358} 3359_ACEOF 3360if ac_fn_c_try_compile "$LINENO"; then : 3361 3362else 3363 ac_c_werror_flag=$ac_save_c_werror_flag 3364 CFLAGS="-g" 3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3366/* end confdefs.h. */ 3367 3368int 3369main () 3370{ 3371 3372 ; 3373 return 0; 3374} 3375_ACEOF 3376if ac_fn_c_try_compile "$LINENO"; then : 3377 ac_cv_prog_cc_g=yes 3378fi 3379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3380fi 3381rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3382fi 3383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3384 ac_c_werror_flag=$ac_save_c_werror_flag 3385fi 3386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3387$as_echo "$ac_cv_prog_cc_g" >&6; } 3388if test "$ac_test_CFLAGS" = set; then 3389 CFLAGS=$ac_save_CFLAGS 3390elif test $ac_cv_prog_cc_g = yes; then 3391 if test "$GCC" = yes; then 3392 CFLAGS="-g -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing " 3393 else 3394 CFLAGS="-g" 3395 fi 3396else 3397 if test "$GCC" = yes; then 3398 CFLAGS="-pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing " 3399 else 3400 CFLAGS= 3401 fi 3402fi 3403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3404$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3405if ${ac_cv_prog_cc_c89+:} false; then : 3406 $as_echo_n "(cached) " >&6 3407else 3408 ac_cv_prog_cc_c89=no 3409ac_save_CC=$CC 3410cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3411/* end confdefs.h. */ 3412#include <stdarg.h> 3413#include <stdio.h> 3414struct stat; 3415/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3416struct buf { int x; }; 3417FILE * (*rcsopen) (struct buf *, struct stat *, int); 3418static char *e (p, i) 3419 char **p; 3420 int i; 3421{ 3422 return p[i]; 3423} 3424static char *f (char * (*g) (char **, int), char **p, ...) 3425{ 3426 char *s; 3427 va_list v; 3428 va_start (v,p); 3429 s = g (p, va_arg (v,int)); 3430 va_end (v); 3431 return s; 3432} 3433 3434/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3435 function prototypes and stuff, but not '\xHH' hex character constants. 3436 These don't provoke an error unfortunately, instead are silently treated 3437 as 'x'. The following induces an error, until -std is added to get 3438 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3439 array size at least. It's necessary to write '\x00'==0 to get something 3440 that's true only with -std. */ 3441int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3442 3443/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3444 inside strings and character constants. */ 3445#define FOO(x) 'x' 3446int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3447 3448int test (int i, double x); 3449struct s1 {int (*f) (int a);}; 3450struct s2 {int (*f) (double a);}; 3451int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3452int argc; 3453char **argv; 3454int 3455main () 3456{ 3457return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3458 ; 3459 return 0; 3460} 3461_ACEOF 3462for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3463 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3464do 3465 CC="$ac_save_CC $ac_arg" 3466 if ac_fn_c_try_compile "$LINENO"; then : 3467 ac_cv_prog_cc_c89=$ac_arg 3468fi 3469rm -f core conftest.err conftest.$ac_objext 3470 test "x$ac_cv_prog_cc_c89" != "xno" && break 3471done 3472rm -f conftest.$ac_ext 3473CC=$ac_save_CC 3474 3475fi 3476# AC_CACHE_VAL 3477case "x$ac_cv_prog_cc_c89" in 3478 x) 3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3480$as_echo "none needed" >&6; } ;; 3481 xno) 3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3483$as_echo "unsupported" >&6; } ;; 3484 *) 3485 CC="$CC $ac_cv_prog_cc_c89" 3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3487$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3488esac 3489if test "x$ac_cv_prog_cc_c89" != xno; then : 3490 3491fi 3492 3493ac_ext=c 3494ac_cpp='$CPP $CPPFLAGS' 3495ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3496ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3497ac_compiler_gnu=$ac_cv_c_compiler_gnu 3498 3499# Find a good install program. We prefer a C program (faster), 3500# so one script is as good as another. But avoid the broken or 3501# incompatible versions: 3502# SysV /etc/install, /usr/sbin/install 3503# SunOS /usr/etc/install 3504# IRIX /sbin/install 3505# AIX /bin/install 3506# AmigaOS /C/install, which installs bootblocks on floppy discs 3507# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3508# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3509# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3510# OS/2's system install, which has a completely different semantic 3511# ./install, which can be erroneously created by make from ./install.sh. 3512# Reject install programs that cannot install multiple files. 3513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3514$as_echo_n "checking for a BSD-compatible install... " >&6; } 3515if test -z "$INSTALL"; then 3516if ${ac_cv_path_install+:} false; then : 3517 $as_echo_n "(cached) " >&6 3518else 3519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3520for as_dir in $PATH 3521do 3522 IFS=$as_save_IFS 3523 test -z "$as_dir" && as_dir=. 3524 # Account for people who put trailing slashes in PATH elements. 3525case $as_dir/ in #(( 3526 ./ | .// | /[cC]/* | \ 3527 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3528 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3529 /usr/ucb/* ) ;; 3530 *) 3531 # OSF1 and SCO ODT 3.0 have their own names for install. 3532 # Don't use installbsd from OSF since it installs stuff as root 3533 # by default. 3534 for ac_prog in ginstall scoinst install; do 3535 for ac_exec_ext in '' $ac_executable_extensions; do 3536 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3537 if test $ac_prog = install && 3538 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3539 # AIX install. It has an incompatible calling convention. 3540 : 3541 elif test $ac_prog = install && 3542 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3543 # program-specific install script used by HP pwplus--don't use. 3544 : 3545 else 3546 rm -rf conftest.one conftest.two conftest.dir 3547 echo one > conftest.one 3548 echo two > conftest.two 3549 mkdir conftest.dir 3550 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3551 test -s conftest.one && test -s conftest.two && 3552 test -s conftest.dir/conftest.one && 3553 test -s conftest.dir/conftest.two 3554 then 3555 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3556 break 3 3557 fi 3558 fi 3559 fi 3560 done 3561 done 3562 ;; 3563esac 3564 3565 done 3566IFS=$as_save_IFS 3567 3568rm -rf conftest.one conftest.two conftest.dir 3569 3570fi 3571 if test "${ac_cv_path_install+set}" = set; then 3572 INSTALL=$ac_cv_path_install 3573 else 3574 # As a last resort, use the slow shell script. Don't cache a 3575 # value for INSTALL within a source directory, because that will 3576 # break other packages using the cache if that directory is 3577 # removed, or if the value is a relative name. 3578 INSTALL=$ac_install_sh 3579 fi 3580fi 3581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3582$as_echo "$INSTALL" >&6; } 3583 3584# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3585# It thinks the first close brace ends the variable substitution. 3586test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3587 3588test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3589 3590test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3591 3592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3593$as_echo_n "checking whether ln -s works... " >&6; } 3594LN_S=$as_ln_s 3595if test "$LN_S" = "ln -s"; then 3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3597$as_echo "yes" >&6; } 3598else 3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 3600$as_echo "no, using $LN_S" >&6; } 3601fi 3602 3603ac_ext=c 3604ac_cpp='$CPP $CPPFLAGS' 3605ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3606ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3607ac_compiler_gnu=$ac_cv_c_compiler_gnu 3608 3609for ac_prog in rm 3610do 3611 # Extract the first word of "$ac_prog", so it can be a program name with args. 3612set dummy $ac_prog; ac_word=$2 3613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3614$as_echo_n "checking for $ac_word... " >&6; } 3615if ${ac_cv_prog_RM+:} false; then : 3616 $as_echo_n "(cached) " >&6 3617else 3618 if test -n "$RM"; then 3619 ac_cv_prog_RM="$RM" # Let the user override the test. 3620else 3621as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3622for as_dir in $PATH 3623do 3624 IFS=$as_save_IFS 3625 test -z "$as_dir" && as_dir=. 3626 for ac_exec_ext in '' $ac_executable_extensions; do 3627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3628 ac_cv_prog_RM="$ac_prog" 3629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3630 break 2 3631 fi 3632done 3633 done 3634IFS=$as_save_IFS 3635 3636fi 3637fi 3638RM=$ac_cv_prog_RM 3639if test -n "$RM"; then 3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5 3641$as_echo "$RM" >&6; } 3642else 3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3644$as_echo "no" >&6; } 3645fi 3646 3647 3648 test -n "$RM" && break 3649done 3650 3651for ac_prog in ln 3652do 3653 # Extract the first word of "$ac_prog", so it can be a program name with args. 3654set dummy $ac_prog; ac_word=$2 3655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3656$as_echo_n "checking for $ac_word... " >&6; } 3657if ${ac_cv_prog_LN+:} false; then : 3658 $as_echo_n "(cached) " >&6 3659else 3660 if test -n "$LN"; then 3661 ac_cv_prog_LN="$LN" # Let the user override the test. 3662else 3663as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3664for as_dir in $PATH 3665do 3666 IFS=$as_save_IFS 3667 test -z "$as_dir" && as_dir=. 3668 for ac_exec_ext in '' $ac_executable_extensions; do 3669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3670 ac_cv_prog_LN="$ac_prog" 3671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3672 break 2 3673 fi 3674done 3675 done 3676IFS=$as_save_IFS 3677 3678fi 3679fi 3680LN=$ac_cv_prog_LN 3681if test -n "$LN"; then 3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5 3683$as_echo "$LN" >&6; } 3684else 3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3686$as_echo "no" >&6; } 3687fi 3688 3689 3690 test -n "$LN" && break 3691done 3692 3693 3694 3695C_FLAGS="\ 3696-W -Wall -D__FreeBSD__=9 \ 3697`/bin/sh ./build/opt.sh \"$CC\" -Wextra` \ 3698`/bin/sh ./build/opt.sh \"$CC\" -Wfloat-equal` \ 3699`/bin/sh ./build/opt.sh \"$CC\" -Wformat` \ 3700`/bin/sh ./build/opt.sh \"$CC\" -Wimplicit-fallthrough=3` \ 3701`/bin/sh ./build/opt.sh \"$CC\" -Wmissing-braces` \ 3702`/bin/sh ./build/opt.sh \"$CC\" -Wno-unknown-pragmas` \ 3703`/bin/sh ./build/opt.sh \"$CC\" -Wparentheses` \ 3704`/bin/sh ./build/opt.sh \"$CC\" -Wstack-larger-than-2047` \ 3705`/bin/sh ./build/opt.sh \"$CC\" -fdiagnostics-generate-patch` \ 3706`/bin/sh ./build/opt.sh \"$CC\" -fno-diagnostics-color` \ 3707`/bin/sh ./build/att.sh \"$CC\" -fvisibility=hidden` \ 3708`/bin/sh ./build/opt.sh \"$CC\" -pipe` \ 3709`/bin/sh ./build/opt.sh \"$CC\" -pthread` \ 3710-c -I." 3711D_FLAGS="`/bin/sh ./build/sym.sh \"$CC\"`" 3712E_FLAGS="" 3713F_FLAGS="" 3714LD_FLAGS="" 3715 3716# Check whether --enable-debug was given. 3717if test "${enable_debug+set}" = set; then : 3718 enableval=$enable_debug; C_FLAGS=$C_FLAGS" -DPROG_HAS_DEBUG -D_FORTIFY_SOURCE=1 -O -g" PROG_X=$PROG_X".debug" PROG_N=$PROG_N" (debug build)" 3719else 3720 C_FLAGS=$C_FLAGS" -pipe -D__FreeBSD__=9 -O2 -fno-strict-aliasing " 3721fi 3722 3723 3724# Check whether --enable-profiling was given. 3725if test "${enable_profiling+set}" = set; then : 3726 enableval=$enable_profiling; C_FLAGS=$C_FLAGS" -pg `/bin/sh ./build/opt.sh \"$CC\" -fprofile-arcs` `/bin/sh ./build/opt.sh \"$CC\" -ftest-coverage`" PROG_X=$PROG_X".profiling" PROG_N=$PROG_N" (profiling build)" L_LIBS=$L_LIBS" -pg -lgcov" 3727fi 3728 3729 3730# Check whether --enable-lto was given. 3731if test "${enable_lto+set}" = set; then : 3732 enableval=$enable_lto; C_FLAGS=$C_FLAGS" -flto" 3733fi 3734 3735 3736# Check whether --enable-largefile was given. 3737if test "${enable_largefile+set}" = set; then : 3738 enableval=$enable_largefile; 3739else 3740 C_FLAGS=$C_FLAGS" `/bin/sh ./build/lfs_c.sh 2>/dev/null`" LD_FLAGS=$LD_FLAGS" `/bin/sh ./build/lfs_ld.sh 2>/dev/null`" 3741fi 3742 3743 3744# Check whether --enable-builtin was given. 3745if test "${enable_builtin+set}" = set; then : 3746 enableval=$enable_builtin; C_FLAGS=$C_FLAGS" -fno-builtin" 3747fi 3748 3749 3750# Check whether --enable-native was given. 3751if test "${enable_native+set}" = set; then : 3752 enableval=$enable_native; C_FLAGS=$C_FLAGS" -march=native" 3753fi 3754 3755 3756# Check whether --enable-altivec was given. 3757if test "${enable_altivec+set}" = set; then : 3758 enableval=$enable_altivec; C_FLAGS=$C_FLAGS" -maltivec" 3759fi 3760 3761 3762# Check whether --enable-isel was given. 3763if test "${enable_isel+set}" = set; then : 3764 enableval=$enable_isel; C_FLAGS=$C_FLAGS" -misel" 3765fi 3766 3767 3768# Check whether --enable-spe was given. 3769if test "${enable_spe+set}" = set; then : 3770 enableval=$enable_spe; C_FLAGS=$C_FLAGS" -mspe" 3771fi 3772 3773 3774# Check whether --enable-vsx was given. 3775if test "${enable_vsx+set}" = set; then : 3776 enableval=$enable_vsx; C_FLAGS=$C_FLAGS" -mvsx" 3777fi 3778 3779 3780# Check whether --enable-vis was given. 3781if test "${enable_vis+set}" = set; then : 3782 enableval=$enable_vis; C_FLAGS=$C_FLAGS" -mvis" 3783fi 3784 3785 3786# Check whether --enable-vis2 was given. 3787if test "${enable_vis2+set}" = set; then : 3788 enableval=$enable_vis2; C_FLAGS=$C_FLAGS" -mvis2" 3789fi 3790 3791 3792# Check whether --enable-vis3 was given. 3793if test "${enable_vis3+set}" = set; then : 3794 enableval=$enable_vis3; C_FLAGS=$C_FLAGS" -mvis3" 3795fi 3796 3797 3798# Check whether --enable-vis4 was given. 3799if test "${enable_vis4+set}" = set; then : 3800 enableval=$enable_vis4; C_FLAGS=$C_FLAGS" -mvis4" 3801fi 3802 3803 3804# Check whether --enable-vis4b was given. 3805if test "${enable_vis4b+set}" = set; then : 3806 enableval=$enable_vis4b; C_FLAGS=$C_FLAGS" -mvis4b" 3807fi 3808 3809 3810# Check whether --enable-fmaf was given. 3811if test "${enable_fmaf+set}" = set; then : 3812 enableval=$enable_fmaf; C_FLAGS=$C_FLAGS" -mfmaf" 3813fi 3814 3815 3816# Check whether --enable-sse was given. 3817if test "${enable_sse+set}" = set; then : 3818 enableval=$enable_sse; C_FLAGS=$C_FLAGS" -msse" 3819fi 3820 3821 3822# Check whether --enable-sse2 was given. 3823if test "${enable_sse2+set}" = set; then : 3824 enableval=$enable_sse2; C_FLAGS=$C_FLAGS" -msse2" 3825fi 3826 3827 3828# Check whether --enable-sse3 was given. 3829if test "${enable_sse3+set}" = set; then : 3830 enableval=$enable_sse3; C_FLAGS=$C_FLAGS" -msse3" 3831fi 3832 3833 3834# Check whether --enable-ssse3 was given. 3835if test "${enable_ssse3+set}" = set; then : 3836 enableval=$enable_ssse3; C_FLAGS=$C_FLAGS" -mssse3" 3837fi 3838 3839 3840# Check whether --enable-sse4 was given. 3841if test "${enable_sse4+set}" = set; then : 3842 enableval=$enable_sse4; C_FLAGS=$C_FLAGS" -msse4" 3843fi 3844 3845 3846# Check whether --enable-sse4a was given. 3847if test "${enable_sse4a+set}" = set; then : 3848 enableval=$enable_sse4a; C_FLAGS=$C_FLAGS" -msse4a" 3849fi 3850 3851 3852# Check whether --enable-sse4.1 was given. 3853if test "${enable_sse4_1+set}" = set; then : 3854 enableval=$enable_sse4_1; C_FLAGS=$C_FLAGS" -msse4.1" 3855fi 3856 3857 3858# Check whether --enable-sse4.2 was given. 3859if test "${enable_sse4_2+set}" = set; then : 3860 enableval=$enable_sse4_2; C_FLAGS=$C_FLAGS" -msse4.2" 3861fi 3862 3863 3864# Check whether --enable-avx was given. 3865if test "${enable_avx+set}" = set; then : 3866 enableval=$enable_avx; C_FLAGS=$C_FLAGS" -mavx" 3867fi 3868 3869 3870# Check whether --enable-avx2 was given. 3871if test "${enable_avx2+set}" = set; then : 3872 enableval=$enable_avx2; C_FLAGS=$C_FLAGS" -mavx2" 3873fi 3874 3875 3876# Check whether --enable-bmi was given. 3877if test "${enable_bmi+set}" = set; then : 3878 enableval=$enable_bmi; C_FLAGS=$C_FLAGS" -mbmi" 3879fi 3880 3881 3882# Check whether --enable-bmi2 was given. 3883if test "${enable_bmi2+set}" = set; then : 3884 enableval=$enable_bmi2; C_FLAGS=$C_FLAGS" -mbmi2" 3885fi 3886 3887 3888# Check whether --enable-fma was given. 3889if test "${enable_fma+set}" = set; then : 3890 enableval=$enable_fma; C_FLAGS=$C_FLAGS" -mfma" 3891fi 3892 3893 3894# Check whether --enable-fma4 was given. 3895if test "${enable_fma4+set}" = set; then : 3896 enableval=$enable_fma4; C_FLAGS=$C_FLAGS" -mfma4" 3897fi 3898 3899 3900# Check whether --enable-abm was given. 3901if test "${enable_abm+set}" = set; then : 3902 enableval=$enable_abm; C_FLAGS=$C_FLAGS" -mabm" 3903fi 3904 3905 3906# Check whether --enable-tbm was given. 3907if test "${enable_tbm+set}" = set; then : 3908 enableval=$enable_tbm; C_FLAGS=$C_FLAGS" -mtbm" 3909fi 3910 3911 3912# Check whether --enable-rdrand was given. 3913if test "${enable_rdrand+set}" = set; then : 3914 enableval=$enable_rdrand; E_FLAGS=$E_FLAGS" -DPROG_HAS_RDRAND" 3915fi 3916 3917 3918# Check whether --enable-rdtsc_seed was given. 3919if test "${enable_rdtsc_seed+set}" = set; then : 3920 enableval=$enable_rdtsc_seed; E_FLAGS=$E_FLAGS" -DPROG_HAS_RDTSC_SEED" 3921fi 3922 3923 3924# Check whether --enable-rdrand_seed was given. 3925if test "${enable_rdrand_seed+set}" = set; then : 3926 enableval=$enable_rdrand_seed; E_FLAGS=$E_FLAGS" -DPROG_HAS_RDRAND -DPROG_HAS_RDRAND_SEED" 3927fi 3928 3929 3930# Check whether --enable-rdseed was given. 3931if test "${enable_rdseed+set}" = set; then : 3932 enableval=$enable_rdseed; E_FLAGS=$E_FLAGS" -DPROG_HAS_RDSEED" 3933fi 3934 3935 3936 3937# Check whether --enable-sslv23 was given. 3938if test "${enable_sslv23+set}" = set; then : 3939 enableval=$enable_sslv23; E_FLAGS=$E_FLAGS" -DPROG_HAS_SSL" 3940fi 3941 3942 3943# Check whether --enable-safemem was given. 3944if test "${enable_safemem+set}" = set; then : 3945 enableval=$enable_safemem; E_FLAGS=$E_FLAGS" -DPROG_HAS_SAFEMEM" 3946fi 3947 3948 3949 3950# Check whether --with-libdlmalloc was given. 3951if test "${with_libdlmalloc+set}" = set; then : 3952 withval=$with_libdlmalloc; C_FLAGS=$C_FLAGS" -I$withval/include" LD_FLAGS=$LD_FLAGS" -L$withval/lib" L_LIBS=$L_LIBS" -ldlmalloc" 3953fi 3954 3955 3956 3957# Check whether --with-libiconv was given. 3958if test "${with_libiconv+set}" = set; then : 3959 withval=$with_libiconv; C_FLAGS=$C_FLAGS" -I$withval/include" LD_FLAGS=$LD_FLAGS" -L$withval/lib" L_LIBS=$L_LIBS" -liconv" 3960fi 3961 3962 3963 3964# Check whether --with-libintl was given. 3965if test "${with_libintl+set}" = set; then : 3966 withval=$with_libintl; C_FLAGS=$C_FLAGS" -I$withval/include" LD_FLAGS=$LD_FLAGS" -L$withval/lib" L_LIBS=$L_LIBS" -lintl" E_FLAGS=$E_FLAGS" -DHAVE_GETTEXT" 3967fi 3968 3969 3970 3971# Check whether --with-libltdl was given. 3972if test "${with_libltdl+set}" = set; then : 3973 withval=$with_libltdl; C_FLAGS=$C_FLAGS" -I$withval/include" LD_FLAGS=$LD_FLAGS" -L$withval/lib" L_LIBS=$L_LIBS" -lltdl" E_FLAGS=$E_FLAGS" -DHAVE_LIBTOOL" 3974fi 3975 3976 3977 3978# Check whether --with-linker was given. 3979if test "${with_linker+set}" = set; then : 3980 withval=$with_linker; C_FLAGS=$C_FLAGS" -fuse-ld=$withval" 3981fi 3982 3983 3984 3985 3986# Check whether --with-color-db-tiny was given. 3987if test "${with_color_db_tiny+set}" = set; then : 3988 withval=$with_color_db_tiny; E_FLAGS=$E_FLAGS" -DCOLOR_DB_VGA" 3989fi 3990 3991 3992 3993# Check whether --with-color-db-small was given. 3994if test "${with_color_db_small+set}" = set; then : 3995 withval=$with_color_db_small; E_FLAGS=$E_FLAGS" -DCOLOR_DB_W3C" 3996fi 3997 3998 3999 4000# Check whether --with-color-db-large was given. 4001if test "${with_color_db_large+set}" = set; then : 4002 withval=$with_color_db_large; E_FLAGS=$E_FLAGS" -DCOLOR_DB_COMPLETE" 4003fi 4004 4005 4006 4007 4008# Check whether --with-redtools was given. 4009if test "${with_redtools+set}" = set; then : 4010 withval=$with_redtools; test "with_redtools" = "yes" 4011fi 4012 4013 4014if test "${with_redtools+set}" = set; then 4015 BUILD_REDTOOLS="engine/redtools" 4016fi 4017 4018 4019# Check whether --with-motif was given. 4020if test "${with_motif+set}" = set; then : 4021 withval=$with_motif; C_FLAGS=$C_FLAGS" -I$withval/include" LD_FLAGS=$LD_FLAGS" -L$withval/lib" F_LIBS=$F_LIBS" -lXm" F_FLAGS=$F_FLAGS 4022else 4023 C_FLAGS=$C_FLAGS LD_FLAGS=$LD_FLAGS F_LIBS=$F_LIBS" -lXm" F_FLAGS=$F_FLAGS 4024fi 4025 4026 4027 4028# Check whether --with-redtools-xft was given. 4029if test "${with_redtools_xft+set}" = set; then : 4030 withval=$with_redtools_xft; F_FLAGS=$F_FLAGS" -DREDTOOLS_FONT_XFT" 4031fi 4032 4033 4034 4035# Check whether --with-redtools-xft-serif was given. 4036if test "${with_redtools_xft_serif+set}" = set; then : 4037 withval=$with_redtools_xft_serif; F_FLAGS=$F_FLAGS" -DREDTOOLS_FONT_FACE_SERIF" 4038fi 4039 4040 4041 4042# Check whether --with-redtools-xft-typeface was given. 4043if test "${with_redtools_xft_typeface+set}" = set; then : 4044 withval=$with_redtools_xft_typeface; F_FLAGS=$F_FLAGS" -DREDTOOLS_FONT_FACE_CUSTOM=\\\"$withval\\\"" 4045fi 4046 4047 4048 4049# Check whether --with-redtools-xft-small was given. 4050if test "${with_redtools_xft_small+set}" = set; then : 4051 withval=$with_redtools_xft_small; F_FLAGS=$F_FLAGS" -DREDTOOLS_FONT_SIZE_SMALL" 4052fi 4053 4054 4055 4056# Check whether --with-redtools-xft-large was given. 4057if test "${with_redtools_xft_large+set}" = set; then : 4058 withval=$with_redtools_xft_large; F_FLAGS=$F_FLAGS" -DREDTOOLS_FONT_SIZE_LARGE" 4059fi 4060 4061 4062 4063# Check whether --with-redtools-xft-huge was given. 4064if test "${with_redtools_xft_huge+set}" = set; then : 4065 withval=$with_redtools_xft_huge; F_FLAGS=$F_FLAGS" -DREDTOOLS_FONT_SIZE_HUGE" 4066fi 4067 4068 4069 4070# Check whether --with-redtools-xft-fontsize was given. 4071if test "${with_redtools_xft_fontsize+set}" = set; then : 4072 withval=$with_redtools_xft_fontsize; F_FLAGS=$F_FLAGS" -DREDTOOLS_FONT_SIZE_CUSTOM=\\\"$withval\\\"" 4073fi 4074 4075 4076BUILD_REDTOOLS=$BUILD_REDTOOLS 4077 4078 4079 4080# Check whether --with-usb_classic_nes_gamepad was given. 4081if test "${with_usb_classic_nes_gamepad+set}" = set; then : 4082 withval=$with_usb_classic_nes_gamepad; test "with_usb_classic_nes_gamepad" = "yes" 4083fi 4084 4085 4086if test "${with_usb_classic_nes_gamepad+set}" = set; then 4087 BUILD_USB_CLASSIC_NES_GAMEPAD="engine/input/usb_classic_nes_gamepad" 4088fi 4089 4090BUILD_USB_CLASSIC_NES_GAMEPAD=$BUILD_USB_CLASSIC_NES_GAMEPAD 4091 4092 4093 4094# Check whether --enable-extended was given. 4095if test "${enable_extended+set}" = set; then : 4096 enableval=$enable_extended; E_FLAGS=$E_FLAGS" -DPROG_DISABLE_EXTENDED" 4097fi 4098 4099 4100# Check whether --enable-color was given. 4101if test "${enable_color+set}" = set; then : 4102 enableval=$enable_color; E_FLAGS=$E_FLAGS" -DPROG_DISABLE_COLOR" 4103fi 4104 4105 4106# Check whether --enable-coords was given. 4107if test "${enable_coords+set}" = set; then : 4108 enableval=$enable_coords; E_FLAGS=$E_FLAGS" -DPROG_DISABLE_COORDS" 4109fi 4110 4111 4112# Check whether --enable-image was given. 4113if test "${enable_image+set}" = set; then : 4114 enableval=$enable_image; E_FLAGS=$E_FLAGS" -DPROG_DISABLE_IMAGE" 4115fi 4116 4117 4118# Check whether --enable-math was given. 4119if test "${enable_math+set}" = set; then : 4120 enableval=$enable_math; E_FLAGS=$E_FLAGS" -DPROG_DISABLE_MATH" 4121fi 4122 4123 4124# Check whether --enable-bob was given. 4125if test "${enable_bob+set}" = set; then : 4126 enableval=$enable_bob; E_FLAGS=$E_FLAGS" -DPROG_DISABLE_BOB" 4127fi 4128 4129 4130# Check whether --enable-input was given. 4131if test "${enable_input+set}" = set; then : 4132 enableval=$enable_input; E_FLAGS=$E_FLAGS" -DPROG_DISABLE_INPUT" 4133fi 4134 4135 4136# Check whether --enable-draw was given. 4137if test "${enable_draw+set}" = set; then : 4138 enableval=$enable_draw; E_FLAGS=$E_FLAGS" -DPROG_DISABLE_DRAW" 4139fi 4140 4141 4142# Check whether --enable-menu was given. 4143if test "${enable_menu+set}" = set; then : 4144 enableval=$enable_menu; E_FLAGS=$E_FLAGS" -DPROG_DISABLE_MENU" 4145fi 4146 4147 4148# Check whether --enable-widget was given. 4149if test "${enable_widget+set}" = set; then : 4150 enableval=$enable_widget; E_FLAGS=$E_FLAGS" -DPROG_DISABLE_WIDGET" 4151fi 4152 4153 4154# Check whether --enable-gui was given. 4155if test "${enable_gui+set}" = set; then : 4156 enableval=$enable_gui; E_FLAGS=$E_FLAGS" -DPROG_DISABLE_GUI" 4157fi 4158 4159 4160# Check whether --enable-audio was given. 4161if test "${enable_audio+set}" = set; then : 4162 enableval=$enable_audio; E_FLAGS=$E_FLAGS" -DPROG_DISABLE_AUDIO" 4163fi 4164 4165 4166# Check whether --enable-remote was given. 4167if test "${enable_remote+set}" = set; then : 4168 enableval=$enable_remote; E_FLAGS=$E_FLAGS" -DPROG_DISABLE_REMOTE" 4169fi 4170 4171 4172 4173 4174 4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 4176$as_echo_n "checking for unsigned long long int... " >&6; } 4177if ${ac_cv_type_unsigned_long_long_int+:} false; then : 4178 $as_echo_n "(cached) " >&6 4179else 4180 ac_cv_type_unsigned_long_long_int=yes 4181 if test "x${ac_cv_prog_cc_c99-no}" = xno; then 4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4183/* end confdefs.h. */ 4184 4185 /* For now, do not test the preprocessor; as of 2007 there are too many 4186 implementations with broken preprocessors. Perhaps this can 4187 be revisited in 2012. In the meantime, code should not expect 4188 #if to work with literals wider than 32 bits. */ 4189 /* Test literals. */ 4190 long long int ll = 9223372036854775807ll; 4191 long long int nll = -9223372036854775807LL; 4192 unsigned long long int ull = 18446744073709551615ULL; 4193 /* Test constant expressions. */ 4194 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) 4195 ? 1 : -1)]; 4196 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 4197 ? 1 : -1)]; 4198 int i = 63; 4199int 4200main () 4201{ 4202/* Test availability of runtime routines for shift and division. */ 4203 long long int llmax = 9223372036854775807ll; 4204 unsigned long long int ullmax = 18446744073709551615ull; 4205 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) 4206 | (llmax / ll) | (llmax % ll) 4207 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) 4208 | (ullmax / ull) | (ullmax % ull)); 4209 ; 4210 return 0; 4211} 4212 4213_ACEOF 4214if ac_fn_c_try_link "$LINENO"; then : 4215 4216else 4217 ac_cv_type_unsigned_long_long_int=no 4218fi 4219rm -f core conftest.err conftest.$ac_objext \ 4220 conftest$ac_exeext conftest.$ac_ext 4221 fi 4222fi 4223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 4224$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } 4225 if test $ac_cv_type_unsigned_long_long_int = yes; then 4226 4227$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h 4228 4229 fi 4230 4231 4232 4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 4234$as_echo_n "checking for long long int... " >&6; } 4235if ${ac_cv_type_long_long_int+:} false; then : 4236 $as_echo_n "(cached) " >&6 4237else 4238 ac_cv_type_long_long_int=yes 4239 if test "x${ac_cv_prog_cc_c99-no}" = xno; then 4240 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int 4241 if test $ac_cv_type_long_long_int = yes; then 4242 if test "$cross_compiling" = yes; then : 4243 : 4244else 4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4246/* end confdefs.h. */ 4247#include <limits.h> 4248 #ifndef LLONG_MAX 4249 # define HALF \ 4250 (1LL << (sizeof (long long int) * CHAR_BIT - 2)) 4251 # define LLONG_MAX (HALF - 1 + HALF) 4252 #endif 4253int 4254main () 4255{ 4256long long int n = 1; 4257 int i; 4258 for (i = 0; ; i++) 4259 { 4260 long long int m = n << i; 4261 if (m >> i != n) 4262 return 1; 4263 if (LLONG_MAX / 2 < m) 4264 break; 4265 } 4266 return 0; 4267 ; 4268 return 0; 4269} 4270_ACEOF 4271if ac_fn_c_try_run "$LINENO"; then : 4272 4273else 4274 ac_cv_type_long_long_int=no 4275fi 4276rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4277 conftest.$ac_objext conftest.beam conftest.$ac_ext 4278fi 4279 4280 fi 4281 fi 4282fi 4283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 4284$as_echo "$ac_cv_type_long_long_int" >&6; } 4285 if test $ac_cv_type_long_long_int = yes; then 4286 4287$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h 4288 4289 fi 4290 4291 4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 4293$as_echo_n "checking for unsigned long long int... " >&6; } 4294if ${ac_cv_type_unsigned_long_long_int+:} false; then : 4295 $as_echo_n "(cached) " >&6 4296else 4297 ac_cv_type_unsigned_long_long_int=yes 4298 if test "x${ac_cv_prog_cc_c99-no}" = xno; then 4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4300/* end confdefs.h. */ 4301 4302 /* For now, do not test the preprocessor; as of 2007 there are too many 4303 implementations with broken preprocessors. Perhaps this can 4304 be revisited in 2012. In the meantime, code should not expect 4305 #if to work with literals wider than 32 bits. */ 4306 /* Test literals. */ 4307 long long int ll = 9223372036854775807ll; 4308 long long int nll = -9223372036854775807LL; 4309 unsigned long long int ull = 18446744073709551615ULL; 4310 /* Test constant expressions. */ 4311 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) 4312 ? 1 : -1)]; 4313 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 4314 ? 1 : -1)]; 4315 int i = 63; 4316int 4317main () 4318{ 4319/* Test availability of runtime routines for shift and division. */ 4320 long long int llmax = 9223372036854775807ll; 4321 unsigned long long int ullmax = 18446744073709551615ull; 4322 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) 4323 | (llmax / ll) | (llmax % ll) 4324 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) 4325 | (ullmax / ull) | (ullmax % ull)); 4326 ; 4327 return 0; 4328} 4329 4330_ACEOF 4331if ac_fn_c_try_link "$LINENO"; then : 4332 4333else 4334 ac_cv_type_unsigned_long_long_int=no 4335fi 4336rm -f core conftest.err conftest.$ac_objext \ 4337 conftest$ac_exeext conftest.$ac_ext 4338 fi 4339fi 4340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 4341$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } 4342 if test $ac_cv_type_unsigned_long_long_int = yes; then 4343 4344$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h 4345 4346 fi 4347 4348 4349ac_ext=c 4350ac_cpp='$CPP $CPPFLAGS' 4351ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4352ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4353ac_compiler_gnu=$ac_cv_c_compiler_gnu 4354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4355$as_echo_n "checking how to run the C preprocessor... " >&6; } 4356# On Suns, sometimes $CPP names a directory. 4357if test -n "$CPP" && test -d "$CPP"; then 4358 CPP= 4359fi 4360if test -z "$CPP"; then 4361 if ${ac_cv_prog_CPP+:} false; then : 4362 $as_echo_n "(cached) " >&6 4363else 4364 # Double quotes because CPP needs to be expanded 4365 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4366 do 4367 ac_preproc_ok=false 4368for ac_c_preproc_warn_flag in '' yes 4369do 4370 # Use a header file that comes with gcc, so configuring glibc 4371 # with a fresh cross-compiler works. 4372 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4373 # <limits.h> exists even on freestanding compilers. 4374 # On the NeXT, cc -E runs the code through the compiler's parser, 4375 # not just through cpp. "Syntax error" is here to catch this case. 4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4377/* end confdefs.h. */ 4378#ifdef __STDC__ 4379# include <limits.h> 4380#else 4381# include <assert.h> 4382#endif 4383 Syntax error 4384_ACEOF 4385if ac_fn_c_try_cpp "$LINENO"; then : 4386 4387else 4388 # Broken: fails on valid input. 4389continue 4390fi 4391rm -f conftest.err conftest.i conftest.$ac_ext 4392 4393 # OK, works on sane cases. Now check whether nonexistent headers 4394 # can be detected and how. 4395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4396/* end confdefs.h. */ 4397#include <ac_nonexistent.h> 4398_ACEOF 4399if ac_fn_c_try_cpp "$LINENO"; then : 4400 # Broken: success on invalid input. 4401continue 4402else 4403 # Passes both tests. 4404ac_preproc_ok=: 4405break 4406fi 4407rm -f conftest.err conftest.i conftest.$ac_ext 4408 4409done 4410# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4411rm -f conftest.i conftest.err conftest.$ac_ext 4412if $ac_preproc_ok; then : 4413 break 4414fi 4415 4416 done 4417 ac_cv_prog_CPP=$CPP 4418 4419fi 4420 CPP=$ac_cv_prog_CPP 4421else 4422 ac_cv_prog_CPP=$CPP 4423fi 4424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4425$as_echo "$CPP" >&6; } 4426ac_preproc_ok=false 4427for ac_c_preproc_warn_flag in '' yes 4428do 4429 # Use a header file that comes with gcc, so configuring glibc 4430 # with a fresh cross-compiler works. 4431 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4432 # <limits.h> exists even on freestanding compilers. 4433 # On the NeXT, cc -E runs the code through the compiler's parser, 4434 # not just through cpp. "Syntax error" is here to catch this case. 4435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4436/* end confdefs.h. */ 4437#ifdef __STDC__ 4438# include <limits.h> 4439#else 4440# include <assert.h> 4441#endif 4442 Syntax error 4443_ACEOF 4444if ac_fn_c_try_cpp "$LINENO"; then : 4445 4446else 4447 # Broken: fails on valid input. 4448continue 4449fi 4450rm -f conftest.err conftest.i conftest.$ac_ext 4451 4452 # OK, works on sane cases. Now check whether nonexistent headers 4453 # can be detected and how. 4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4455/* end confdefs.h. */ 4456#include <ac_nonexistent.h> 4457_ACEOF 4458if ac_fn_c_try_cpp "$LINENO"; then : 4459 # Broken: success on invalid input. 4460continue 4461else 4462 # Passes both tests. 4463ac_preproc_ok=: 4464break 4465fi 4466rm -f conftest.err conftest.i conftest.$ac_ext 4467 4468done 4469# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4470rm -f conftest.i conftest.err conftest.$ac_ext 4471if $ac_preproc_ok; then : 4472 4473else 4474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4475$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4476as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4477See \`config.log' for more details" "$LINENO" 5; } 4478fi 4479 4480ac_ext=c 4481ac_cpp='$CPP $CPPFLAGS' 4482ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4483ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4484ac_compiler_gnu=$ac_cv_c_compiler_gnu 4485 4486 4487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4488$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4489if ${ac_cv_path_GREP+:} false; then : 4490 $as_echo_n "(cached) " >&6 4491else 4492 if test -z "$GREP"; then 4493 ac_path_GREP_found=false 4494 # Loop through the user's path and test for each of PROGNAME-LIST 4495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4496for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4497do 4498 IFS=$as_save_IFS 4499 test -z "$as_dir" && as_dir=. 4500 for ac_prog in grep ggrep; do 4501 for ac_exec_ext in '' $ac_executable_extensions; do 4502 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4503 as_fn_executable_p "$ac_path_GREP" || continue 4504# Check for GNU ac_path_GREP and select it if it is found. 4505 # Check for GNU $ac_path_GREP 4506case `"$ac_path_GREP" --version 2>&1` in 4507*GNU*) 4508 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4509*) 4510 ac_count=0 4511 $as_echo_n 0123456789 >"conftest.in" 4512 while : 4513 do 4514 cat "conftest.in" "conftest.in" >"conftest.tmp" 4515 mv "conftest.tmp" "conftest.in" 4516 cp "conftest.in" "conftest.nl" 4517 $as_echo 'GREP' >> "conftest.nl" 4518 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4519 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4520 as_fn_arith $ac_count + 1 && ac_count=$as_val 4521 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4522 # Best one so far, save it but keep looking for a better one 4523 ac_cv_path_GREP="$ac_path_GREP" 4524 ac_path_GREP_max=$ac_count 4525 fi 4526 # 10*(2^10) chars as input seems more than enough 4527 test $ac_count -gt 10 && break 4528 done 4529 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4530esac 4531 4532 $ac_path_GREP_found && break 3 4533 done 4534 done 4535 done 4536IFS=$as_save_IFS 4537 if test -z "$ac_cv_path_GREP"; then 4538 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4539 fi 4540else 4541 ac_cv_path_GREP=$GREP 4542fi 4543 4544fi 4545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4546$as_echo "$ac_cv_path_GREP" >&6; } 4547 GREP="$ac_cv_path_GREP" 4548 4549 4550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4551$as_echo_n "checking for egrep... " >&6; } 4552if ${ac_cv_path_EGREP+:} false; then : 4553 $as_echo_n "(cached) " >&6 4554else 4555 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4556 then ac_cv_path_EGREP="$GREP -E" 4557 else 4558 if test -z "$EGREP"; then 4559 ac_path_EGREP_found=false 4560 # Loop through the user's path and test for each of PROGNAME-LIST 4561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4562for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4563do 4564 IFS=$as_save_IFS 4565 test -z "$as_dir" && as_dir=. 4566 for ac_prog in egrep; do 4567 for ac_exec_ext in '' $ac_executable_extensions; do 4568 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4569 as_fn_executable_p "$ac_path_EGREP" || continue 4570# Check for GNU ac_path_EGREP and select it if it is found. 4571 # Check for GNU $ac_path_EGREP 4572case `"$ac_path_EGREP" --version 2>&1` in 4573*GNU*) 4574 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4575*) 4576 ac_count=0 4577 $as_echo_n 0123456789 >"conftest.in" 4578 while : 4579 do 4580 cat "conftest.in" "conftest.in" >"conftest.tmp" 4581 mv "conftest.tmp" "conftest.in" 4582 cp "conftest.in" "conftest.nl" 4583 $as_echo 'EGREP' >> "conftest.nl" 4584 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4586 as_fn_arith $ac_count + 1 && ac_count=$as_val 4587 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4588 # Best one so far, save it but keep looking for a better one 4589 ac_cv_path_EGREP="$ac_path_EGREP" 4590 ac_path_EGREP_max=$ac_count 4591 fi 4592 # 10*(2^10) chars as input seems more than enough 4593 test $ac_count -gt 10 && break 4594 done 4595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4596esac 4597 4598 $ac_path_EGREP_found && break 3 4599 done 4600 done 4601 done 4602IFS=$as_save_IFS 4603 if test -z "$ac_cv_path_EGREP"; then 4604 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4605 fi 4606else 4607 ac_cv_path_EGREP=$EGREP 4608fi 4609 4610 fi 4611fi 4612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4613$as_echo "$ac_cv_path_EGREP" >&6; } 4614 EGREP="$ac_cv_path_EGREP" 4615 4616 4617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4618$as_echo_n "checking for ANSI C header files... " >&6; } 4619if ${ac_cv_header_stdc+:} false; then : 4620 $as_echo_n "(cached) " >&6 4621else 4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4623/* end confdefs.h. */ 4624#include <stdlib.h> 4625#include <stdarg.h> 4626#include <string.h> 4627#include <float.h> 4628 4629int 4630main () 4631{ 4632 4633 ; 4634 return 0; 4635} 4636_ACEOF 4637if ac_fn_c_try_compile "$LINENO"; then : 4638 ac_cv_header_stdc=yes 4639else 4640 ac_cv_header_stdc=no 4641fi 4642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4643 4644if test $ac_cv_header_stdc = yes; then 4645 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4647/* end confdefs.h. */ 4648#include <string.h> 4649 4650_ACEOF 4651if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4652 $EGREP "memchr" >/dev/null 2>&1; then : 4653 4654else 4655 ac_cv_header_stdc=no 4656fi 4657rm -f conftest* 4658 4659fi 4660 4661if test $ac_cv_header_stdc = yes; then 4662 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4664/* end confdefs.h. */ 4665#include <stdlib.h> 4666 4667_ACEOF 4668if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4669 $EGREP "free" >/dev/null 2>&1; then : 4670 4671else 4672 ac_cv_header_stdc=no 4673fi 4674rm -f conftest* 4675 4676fi 4677 4678if test $ac_cv_header_stdc = yes; then 4679 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4680 if test "$cross_compiling" = yes; then : 4681 : 4682else 4683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4684/* end confdefs.h. */ 4685#include <ctype.h> 4686#include <stdlib.h> 4687#if ((' ' & 0x0FF) == 0x020) 4688# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4689# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4690#else 4691# define ISLOWER(c) \ 4692 (('a' <= (c) && (c) <= 'i') \ 4693 || ('j' <= (c) && (c) <= 'r') \ 4694 || ('s' <= (c) && (c) <= 'z')) 4695# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4696#endif 4697 4698#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4699int 4700main () 4701{ 4702 int i; 4703 for (i = 0; i < 256; i++) 4704 if (XOR (islower (i), ISLOWER (i)) 4705 || toupper (i) != TOUPPER (i)) 4706 return 2; 4707 return 0; 4708} 4709_ACEOF 4710if ac_fn_c_try_run "$LINENO"; then : 4711 4712else 4713 ac_cv_header_stdc=no 4714fi 4715rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4716 conftest.$ac_objext conftest.beam conftest.$ac_ext 4717fi 4718 4719fi 4720fi 4721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4722$as_echo "$ac_cv_header_stdc" >&6; } 4723if test $ac_cv_header_stdc = yes; then 4724 4725$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4726 4727fi 4728 4729# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4730for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4731 inttypes.h stdint.h unistd.h 4732do : 4733 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4734ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4735" 4736if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4737 cat >>confdefs.h <<_ACEOF 4738#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4739_ACEOF 4740 4741fi 4742 4743done 4744 4745 4746ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t" 4747case $ac_cv_c_int8_t in #( 4748 no|yes) ;; #( 4749 *) 4750 4751cat >>confdefs.h <<_ACEOF 4752#define int8_t $ac_cv_c_int8_t 4753_ACEOF 4754;; 4755esac 4756 4757ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t" 4758case $ac_cv_c_int16_t in #( 4759 no|yes) ;; #( 4760 *) 4761 4762cat >>confdefs.h <<_ACEOF 4763#define int16_t $ac_cv_c_int16_t 4764_ACEOF 4765;; 4766esac 4767 4768ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" 4769case $ac_cv_c_int32_t in #( 4770 no|yes) ;; #( 4771 *) 4772 4773cat >>confdefs.h <<_ACEOF 4774#define int32_t $ac_cv_c_int32_t 4775_ACEOF 4776;; 4777esac 4778 4779ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" 4780case $ac_cv_c_int64_t in #( 4781 no|yes) ;; #( 4782 *) 4783 4784cat >>confdefs.h <<_ACEOF 4785#define int64_t $ac_cv_c_int64_t 4786_ACEOF 4787;; 4788esac 4789 4790 4791ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" 4792case $ac_cv_c_uint8_t in #( 4793 no|yes) ;; #( 4794 *) 4795 4796$as_echo "#define _UINT8_T 1" >>confdefs.h 4797 4798 4799cat >>confdefs.h <<_ACEOF 4800#define uint8_t $ac_cv_c_uint8_t 4801_ACEOF 4802;; 4803 esac 4804 4805ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t" 4806case $ac_cv_c_uint16_t in #( 4807 no|yes) ;; #( 4808 *) 4809 4810 4811cat >>confdefs.h <<_ACEOF 4812#define uint16_t $ac_cv_c_uint16_t 4813_ACEOF 4814;; 4815 esac 4816 4817ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" 4818case $ac_cv_c_uint32_t in #( 4819 no|yes) ;; #( 4820 *) 4821 4822$as_echo "#define _UINT32_T 1" >>confdefs.h 4823 4824 4825cat >>confdefs.h <<_ACEOF 4826#define uint32_t $ac_cv_c_uint32_t 4827_ACEOF 4828;; 4829 esac 4830 4831ac_fn_c_find_uintX_t "$LINENO" "64" "ac_cv_c_uint64_t" 4832case $ac_cv_c_uint64_t in #( 4833 no|yes) ;; #( 4834 *) 4835 4836$as_echo "#define _UINT64_T 1" >>confdefs.h 4837 4838 4839cat >>confdefs.h <<_ACEOF 4840#define uint64_t $ac_cv_c_uint64_t 4841_ACEOF 4842;; 4843 esac 4844 4845 4846 4847 4848 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default" 4849if test "x$ac_cv_type_intmax_t" = xyes; then : 4850 4851$as_echo "#define HAVE_INTMAX_T 1" >>confdefs.h 4852 4853else 4854 test $ac_cv_type_long_long_int = yes \ 4855 && ac_type='long long int' \ 4856 || ac_type='long int' 4857 4858cat >>confdefs.h <<_ACEOF 4859#define intmax_t $ac_type 4860_ACEOF 4861 4862fi 4863 4864 4865 4866 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default" 4867if test "x$ac_cv_type_intptr_t" = xyes; then : 4868 4869$as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h 4870 4871else 4872 for ac_type in 'int' 'long int' 'long long int'; do 4873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4874/* end confdefs.h. */ 4875$ac_includes_default 4876int 4877main () 4878{ 4879static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; 4880test_array [0] = 0; 4881return test_array [0]; 4882 4883 ; 4884 return 0; 4885} 4886_ACEOF 4887if ac_fn_c_try_compile "$LINENO"; then : 4888 4889cat >>confdefs.h <<_ACEOF 4890#define intptr_t $ac_type 4891_ACEOF 4892 4893 ac_type= 4894fi 4895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4896 test -z "$ac_type" && break 4897 done 4898fi 4899 4900 4901 4902 4903 4904 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "$ac_includes_default" 4905if test "x$ac_cv_type_uintmax_t" = xyes; then : 4906 4907$as_echo "#define HAVE_UINTMAX_T 1" >>confdefs.h 4908 4909else 4910 test $ac_cv_type_unsigned_long_long_int = yes \ 4911 && ac_type='unsigned long long int' \ 4912 || ac_type='unsigned long int' 4913 4914cat >>confdefs.h <<_ACEOF 4915#define uintmax_t $ac_type 4916_ACEOF 4917 4918fi 4919 4920 4921 4922 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default" 4923if test "x$ac_cv_type_uintptr_t" = xyes; then : 4924 4925$as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h 4926 4927else 4928 for ac_type in 'unsigned int' 'unsigned long int' \ 4929 'unsigned long long int'; do 4930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4931/* end confdefs.h. */ 4932$ac_includes_default 4933int 4934main () 4935{ 4936static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))]; 4937test_array [0] = 0; 4938return test_array [0]; 4939 4940 ; 4941 return 0; 4942} 4943_ACEOF 4944if ac_fn_c_try_compile "$LINENO"; then : 4945 4946cat >>confdefs.h <<_ACEOF 4947#define uintptr_t $ac_type 4948_ACEOF 4949 4950 ac_type= 4951fi 4952rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4953 test -z "$ac_type" && break 4954 done 4955fi 4956 4957 4958 4959ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 4960if test "x$ac_cv_type_size_t" = xyes; then : 4961 4962else 4963 4964cat >>confdefs.h <<_ACEOF 4965#define size_t unsigned int 4966_ACEOF 4967 4968fi 4969 4970ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" 4971if test "x$ac_cv_type_ssize_t" = xyes; then : 4972 4973else 4974 4975cat >>confdefs.h <<_ACEOF 4976#define ssize_t int 4977_ACEOF 4978 4979fi 4980 4981 4982ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 4983if test "x$ac_cv_type_mode_t" = xyes; then : 4984 4985else 4986 4987cat >>confdefs.h <<_ACEOF 4988#define mode_t int 4989_ACEOF 4990 4991fi 4992 4993ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 4994if test "x$ac_cv_type_off_t" = xyes; then : 4995 4996else 4997 4998cat >>confdefs.h <<_ACEOF 4999#define off_t long int 5000_ACEOF 5001 5002fi 5003 5004ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 5005if test "x$ac_cv_type_pid_t" = xyes; then : 5006 5007else 5008 5009cat >>confdefs.h <<_ACEOF 5010#define pid_t int 5011_ACEOF 5012 5013fi 5014 5015 5016ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <arpa/inet.h> 5017" 5018if test "x$ac_cv_type_socklen_t" = xyes; then : 5019 5020cat >>confdefs.h <<_ACEOF 5021#define HAVE_SOCKLEN_T 1 5022_ACEOF 5023 5024 5025fi 5026 5027ac_fn_c_check_type "$LINENO" "suseconds_t" "ac_cv_type_suseconds_t" "#include <sys/types.h> 5028" 5029if test "x$ac_cv_type_suseconds_t" = xyes; then : 5030 5031cat >>confdefs.h <<_ACEOF 5032#define HAVE_SUSECONDS_T 1 5033_ACEOF 5034 5035 5036fi 5037 5038ac_fn_c_check_type "$LINENO" "ucontext_t" "ac_cv_type_ucontext_t" "#include <signal.h> 5039" 5040if test "x$ac_cv_type_ucontext_t" = xyes; then : 5041 5042cat >>confdefs.h <<_ACEOF 5043#define HAVE_UCONTEXT_T 1 5044_ACEOF 5045 5046 5047fi 5048 5049 5050 5051for ac_func in \ 5052 backtrace backtrace_symbols getenv getenv_r getenv_s getexecname \ 5053 getpriority getrlimit getrusage numa_getaffinity numa_setaffinity \ 5054 prctl processor_affinity setenv setpriority setprogname setrlimit \ 5055 sysconf sysctlbyname 5056do : 5057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5058ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5059if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5060 cat >>confdefs.h <<_ACEOF 5061#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5062_ACEOF 5063 5064fi 5065done 5066 5067for ac_func in \ 5068 arc4random rand random 5069do : 5070 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5071ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5072if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5073 cat >>confdefs.h <<_ACEOF 5074#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5075_ACEOF 5076 5077fi 5078done 5079 5080for ac_func in \ 5081 clock_gettime clock_nanosleep localtime_r nanosleep usleep 5082do : 5083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5084ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5085if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5086 cat >>confdefs.h <<_ACEOF 5087#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5088_ACEOF 5089 5090fi 5091done 5092 5093for ac_func in \ 5094 strncpy strnlen 5095do : 5096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5097ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5098if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5099 cat >>confdefs.h <<_ACEOF 5100#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5101_ACEOF 5102 5103fi 5104done 5105 5106 5107 5108for ac_func in \ 5109 isfinite isinf isnormal signbit 5110do : 5111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5112ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5113if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5114 cat >>confdefs.h <<_ACEOF 5115#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5116_ACEOF 5117 5118fi 5119done 5120 5121for ac_func in \ 5122 exp2 fdim floorf fma fmax fmin ilogb lgamma log2 nan nearbyint \ 5123 nextafter nexttoward powf remainder round roundf scalbn sinf sqrtf \ 5124 tgamma trunc 5125do : 5126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5127ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5128if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5129 cat >>confdefs.h <<_ACEOF 5130#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5131_ACEOF 5132 5133fi 5134done 5135 5136 5137 5138for ac_func in \ 5139 gnu_get_libc_version gnu_get_libc_release mallinfo mallopt 5140do : 5141 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5142ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5143if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5144 cat >>confdefs.h <<_ACEOF 5145#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5146_ACEOF 5147 5148fi 5149done 5150 5151 5152 5153for ac_func in \ 5154 explicit_bzero explicit_memset consttime_memequal timingsafe_bcmp \ 5155 timingsafe_memcmp 5156do : 5157 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 5158ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 5159if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 5160 cat >>confdefs.h <<_ACEOF 5161#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 5162_ACEOF 5163 5164fi 5165done 5166 5167 5168 5169for ac_header in \ 5170 inttypes.h stdint.h dlfcn.h paths.h 5171do : 5172 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5173ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5174if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5175 cat >>confdefs.h <<_ACEOF 5176#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5177_ACEOF 5178 5179fi 5180 5181done 5182 5183for ac_header in \ 5184 execinfo.h fenv.h sysexits.h 5185do : 5186 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5187ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5188if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5189 cat >>confdefs.h <<_ACEOF 5190#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5191_ACEOF 5192 5193fi 5194 5195done 5196 5197for ac_header in \ 5198 sched.h thread.h 5199do : 5200 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5201ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5202if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5203 cat >>confdefs.h <<_ACEOF 5204#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5205_ACEOF 5206 5207fi 5208 5209done 5210 5211for ac_header in \ 5212 curses.h term.h 5213do : 5214 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5215ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5216if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5217 cat >>confdefs.h <<_ACEOF 5218#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5219_ACEOF 5220 5221fi 5222 5223done 5224 5225for ac_header in \ 5226 soundcard.h 5227do : 5228 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5229ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5230if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5231 cat >>confdefs.h <<_ACEOF 5232#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5233_ACEOF 5234 5235fi 5236 5237done 5238 5239for ac_header in \ 5240 sys/ioctl.h sys/prctl.h sys/resource.h sys/rnd.h sys/soundcard.h \ 5241 sys/sysctl.h sys/time.h 5242do : 5243 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5244ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5245if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5246 cat >>confdefs.h <<_ACEOF 5247#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5248_ACEOF 5249 5250fi 5251 5252done 5253 5254for ac_header in \ 5255 sys/mman.h sys/numa.h sys/processor.h sys/procset.h 5256do : 5257 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5258ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5259if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5260 cat >>confdefs.h <<_ACEOF 5261#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5262_ACEOF 5263 5264fi 5265 5266done 5267 5268for ac_header in \ 5269 bsd/stdlib.h 5270do : 5271 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5272ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5273if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5274 cat >>confdefs.h <<_ACEOF 5275#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5276_ACEOF 5277 5278fi 5279 5280done 5281 5282for ac_header in \ 5283 malloc.h gnu/libc-version.h 5284do : 5285 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5286ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5287if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5288 cat >>confdefs.h <<_ACEOF 5289#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5290_ACEOF 5291 5292fi 5293 5294done 5295 5296for ac_header in \ 5297 linux/random.h linux/soundcard.h 5298do : 5299 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5300ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5301if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5302 cat >>confdefs.h <<_ACEOF 5303#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5304_ACEOF 5305 5306fi 5307 5308done 5309 5310for ac_header in \ 5311 xmmintrin.h 5312do : 5313 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5314ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 5315if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5316 cat >>confdefs.h <<_ACEOF 5317#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5318_ACEOF 5319 5320fi 5321 5322done 5323 5324 5325for ac_header in pthread_np.h 5326do : 5327 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#include <pthread.h> 5328" 5329if test "x$ac_cv_header_pthread_np_h" = xyes; then : 5330 cat >>confdefs.h <<_ACEOF 5331#define HAVE_PTHREAD_NP_H 1 5332_ACEOF 5333 5334fi 5335 5336done 5337 5338 5339 5340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 5341$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 5342if ${ac_cv_c_const+:} false; then : 5343 $as_echo_n "(cached) " >&6 5344else 5345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5346/* end confdefs.h. */ 5347 5348int 5349main () 5350{ 5351 5352#ifndef __cplusplus 5353 /* Ultrix mips cc rejects this sort of thing. */ 5354 typedef int charset[2]; 5355 const charset cs = { 0, 0 }; 5356 /* SunOS 4.1.1 cc rejects this. */ 5357 char const *const *pcpcc; 5358 char **ppc; 5359 /* NEC SVR4.0.2 mips cc rejects this. */ 5360 struct point {int x, y;}; 5361 static struct point const zero = {0,0}; 5362 /* AIX XL C 1.02.0.0 rejects this. 5363 It does not let you subtract one const X* pointer from another in 5364 an arm of an if-expression whose if-part is not a constant 5365 expression */ 5366 const char *g = "string"; 5367 pcpcc = &g + (g ? g-g : 0); 5368 /* HPUX 7.0 cc rejects these. */ 5369 ++pcpcc; 5370 ppc = (char**) pcpcc; 5371 pcpcc = (char const *const *) ppc; 5372 { /* SCO 3.2v4 cc rejects this sort of thing. */ 5373 char tx; 5374 char *t = &tx; 5375 char const *s = 0 ? (char *) 0 : (char const *) 0; 5376 5377 *t++ = 0; 5378 if (s) return 0; 5379 } 5380 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 5381 int x[] = {25, 17}; 5382 const int *foo = &x[0]; 5383 ++foo; 5384 } 5385 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 5386 typedef const int *iptr; 5387 iptr p = 0; 5388 ++p; 5389 } 5390 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 5391 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 5392 struct s { int j; const int *ap[3]; } bx; 5393 struct s *b = &bx; b->j = 5; 5394 } 5395 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 5396 const int foo = 10; 5397 if (!foo) return 0; 5398 } 5399 return !cs[0] && !zero.x; 5400#endif 5401 5402 ; 5403 return 0; 5404} 5405_ACEOF 5406if ac_fn_c_try_compile "$LINENO"; then : 5407 ac_cv_c_const=yes 5408else 5409 ac_cv_c_const=no 5410fi 5411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5412fi 5413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 5414$as_echo "$ac_cv_c_const" >&6; } 5415if test $ac_cv_c_const = no; then 5416 5417$as_echo "#define const /**/" >>confdefs.h 5418 5419fi 5420 5421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 5422$as_echo_n "checking for inline... " >&6; } 5423if ${ac_cv_c_inline+:} false; then : 5424 $as_echo_n "(cached) " >&6 5425else 5426 ac_cv_c_inline=no 5427for ac_kw in inline __inline__ __inline; do 5428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5429/* end confdefs.h. */ 5430#ifndef __cplusplus 5431typedef int foo_t; 5432static $ac_kw foo_t static_foo () {return 0; } 5433$ac_kw foo_t foo () {return 0; } 5434#endif 5435 5436_ACEOF 5437if ac_fn_c_try_compile "$LINENO"; then : 5438 ac_cv_c_inline=$ac_kw 5439fi 5440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5441 test "$ac_cv_c_inline" != no && break 5442done 5443 5444fi 5445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 5446$as_echo "$ac_cv_c_inline" >&6; } 5447 5448case $ac_cv_c_inline in 5449 inline | yes) ;; 5450 *) 5451 case $ac_cv_c_inline in 5452 no) ac_val=;; 5453 *) ac_val=$ac_cv_c_inline;; 5454 esac 5455 cat >>confdefs.h <<_ACEOF 5456#ifndef __cplusplus 5457#define inline $ac_val 5458#endif 5459_ACEOF 5460 ;; 5461esac 5462 5463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 5464$as_echo_n "checking for working volatile... " >&6; } 5465if ${ac_cv_c_volatile+:} false; then : 5466 $as_echo_n "(cached) " >&6 5467else 5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5469/* end confdefs.h. */ 5470 5471int 5472main () 5473{ 5474 5475volatile int x; 5476int * volatile y = (int *) 0; 5477return !x && !y; 5478 ; 5479 return 0; 5480} 5481_ACEOF 5482if ac_fn_c_try_compile "$LINENO"; then : 5483 ac_cv_c_volatile=yes 5484else 5485 ac_cv_c_volatile=no 5486fi 5487rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5488fi 5489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 5490$as_echo "$ac_cv_c_volatile" >&6; } 5491if test $ac_cv_c_volatile = no; then 5492 5493$as_echo "#define volatile /**/" >>confdefs.h 5494 5495fi 5496 5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 5498$as_echo_n "checking whether byte ordering is bigendian... " >&6; } 5499if ${ac_cv_c_bigendian+:} false; then : 5500 $as_echo_n "(cached) " >&6 5501else 5502 ac_cv_c_bigendian=unknown 5503 # See if we're dealing with a universal compiler. 5504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5505/* end confdefs.h. */ 5506#ifndef __APPLE_CC__ 5507 not a universal capable compiler 5508 #endif 5509 typedef int dummy; 5510 5511_ACEOF 5512if ac_fn_c_try_compile "$LINENO"; then : 5513 5514 # Check for potential -arch flags. It is not universal unless 5515 # there are at least two -arch flags with different values. 5516 ac_arch= 5517 ac_prev= 5518 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do 5519 if test -n "$ac_prev"; then 5520 case $ac_word in 5521 i?86 | x86_64 | ppc | ppc64) 5522 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then 5523 ac_arch=$ac_word 5524 else 5525 ac_cv_c_bigendian=universal 5526 break 5527 fi 5528 ;; 5529 esac 5530 ac_prev= 5531 elif test "x$ac_word" = "x-arch"; then 5532 ac_prev=arch 5533 fi 5534 done 5535fi 5536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5537 if test $ac_cv_c_bigendian = unknown; then 5538 # See if sys/param.h defines the BYTE_ORDER macro. 5539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5540/* end confdefs.h. */ 5541#include <sys/types.h> 5542 #include <sys/param.h> 5543 5544int 5545main () 5546{ 5547#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ 5548 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ 5549 && LITTLE_ENDIAN) 5550 bogus endian macros 5551 #endif 5552 5553 ; 5554 return 0; 5555} 5556_ACEOF 5557if ac_fn_c_try_compile "$LINENO"; then : 5558 # It does; now see whether it defined to BIG_ENDIAN or not. 5559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5560/* end confdefs.h. */ 5561#include <sys/types.h> 5562 #include <sys/param.h> 5563 5564int 5565main () 5566{ 5567#if BYTE_ORDER != BIG_ENDIAN 5568 not big endian 5569 #endif 5570 5571 ; 5572 return 0; 5573} 5574_ACEOF 5575if ac_fn_c_try_compile "$LINENO"; then : 5576 ac_cv_c_bigendian=yes 5577else 5578 ac_cv_c_bigendian=no 5579fi 5580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5581fi 5582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5583 fi 5584 if test $ac_cv_c_bigendian = unknown; then 5585 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). 5586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5587/* end confdefs.h. */ 5588#include <limits.h> 5589 5590int 5591main () 5592{ 5593#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) 5594 bogus endian macros 5595 #endif 5596 5597 ; 5598 return 0; 5599} 5600_ACEOF 5601if ac_fn_c_try_compile "$LINENO"; then : 5602 # It does; now see whether it defined to _BIG_ENDIAN or not. 5603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5604/* end confdefs.h. */ 5605#include <limits.h> 5606 5607int 5608main () 5609{ 5610#ifndef _BIG_ENDIAN 5611 not big endian 5612 #endif 5613 5614 ; 5615 return 0; 5616} 5617_ACEOF 5618if ac_fn_c_try_compile "$LINENO"; then : 5619 ac_cv_c_bigendian=yes 5620else 5621 ac_cv_c_bigendian=no 5622fi 5623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5624fi 5625rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5626 fi 5627 if test $ac_cv_c_bigendian = unknown; then 5628 # Compile a test program. 5629 if test "$cross_compiling" = yes; then : 5630 # Try to guess by grepping values from an object file. 5631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5632/* end confdefs.h. */ 5633short int ascii_mm[] = 5634 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 5635 short int ascii_ii[] = 5636 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 5637 int use_ascii (int i) { 5638 return ascii_mm[i] + ascii_ii[i]; 5639 } 5640 short int ebcdic_ii[] = 5641 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 5642 short int ebcdic_mm[] = 5643 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 5644 int use_ebcdic (int i) { 5645 return ebcdic_mm[i] + ebcdic_ii[i]; 5646 } 5647 extern int foo; 5648 5649int 5650main () 5651{ 5652return use_ascii (foo) == use_ebcdic (foo); 5653 ; 5654 return 0; 5655} 5656_ACEOF 5657if ac_fn_c_try_compile "$LINENO"; then : 5658 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then 5659 ac_cv_c_bigendian=yes 5660 fi 5661 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 5662 if test "$ac_cv_c_bigendian" = unknown; then 5663 ac_cv_c_bigendian=no 5664 else 5665 # finding both strings is unlikely to happen, but who knows? 5666 ac_cv_c_bigendian=unknown 5667 fi 5668 fi 5669fi 5670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5671else 5672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5673/* end confdefs.h. */ 5674$ac_includes_default 5675int 5676main () 5677{ 5678 5679 /* Are we little or big endian? From Harbison&Steele. */ 5680 union 5681 { 5682 long int l; 5683 char c[sizeof (long int)]; 5684 } u; 5685 u.l = 1; 5686 return u.c[sizeof (long int) - 1] == 1; 5687 5688 ; 5689 return 0; 5690} 5691_ACEOF 5692if ac_fn_c_try_run "$LINENO"; then : 5693 ac_cv_c_bigendian=no 5694else 5695 ac_cv_c_bigendian=yes 5696fi 5697rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5698 conftest.$ac_objext conftest.beam conftest.$ac_ext 5699fi 5700 5701 fi 5702fi 5703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 5704$as_echo "$ac_cv_c_bigendian" >&6; } 5705 case $ac_cv_c_bigendian in #( 5706 yes) 5707 C_FLAGS=$C_FLAGS" -DIS_BIGENDIAN";; #( 5708 no) 5709 C_FLAGS=$C_FLAGS" -DIS_LITTLEENDIAN" ;; #( 5710 universal) 5711 5712$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 5713 5714 ;; #( 5715 *) 5716 as_fn_error $? "unknown endianness 5717 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 5718 esac 5719 5720 5721 5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5 5723$as_echo_n "checking for __attribute__... " >&6; } 5724if ${ax_cv___attribute__+:} false; then : 5725 $as_echo_n "(cached) " >&6 5726else 5727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5728/* end confdefs.h. */ 5729#include <stdio.h> 5730 static int test(void) __attribute__((unused)); 5731 static int test(void) { 5732 return(1); 5733 } 5734 5735int 5736main () 5737{ 5738 5739 ; 5740 return 0; 5741} 5742_ACEOF 5743if ac_fn_c_try_compile "$LINENO"; then : 5744 ax_cv___attribute__=yes 5745else 5746 ax_cv___attribute__=no 5747 5748fi 5749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5750 5751fi 5752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv___attribute__" >&5 5753$as_echo "$ax_cv___attribute__" >&6; } 5754 if test "$ax_cv___attribute__" = "yes"; then 5755 5756$as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h 5757 5758 fi 5759 5760 5761 5762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 5763$as_echo_n "checking for library containing dlopen... " >&6; } 5764if ${ac_cv_search_dlopen+:} false; then : 5765 $as_echo_n "(cached) " >&6 5766else 5767 ac_func_search_save_LIBS=$LIBS 5768cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5769/* end confdefs.h. */ 5770 5771/* Override any GCC internal prototype to avoid an error. 5772 Use char because int might match the return type of a GCC 5773 builtin and then its argument prototype would still apply. */ 5774#ifdef __cplusplus 5775extern "C" 5776#endif 5777char dlopen (); 5778int 5779main () 5780{ 5781return dlopen (); 5782 ; 5783 return 0; 5784} 5785_ACEOF 5786for ac_lib in '' dl; do 5787 if test -z "$ac_lib"; then 5788 ac_res="none required" 5789 else 5790 ac_res=-l$ac_lib 5791 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5792 fi 5793 if ac_fn_c_try_link "$LINENO"; then : 5794 ac_cv_search_dlopen=$ac_res 5795fi 5796rm -f core conftest.err conftest.$ac_objext \ 5797 conftest$ac_exeext 5798 if ${ac_cv_search_dlopen+:} false; then : 5799 break 5800fi 5801done 5802if ${ac_cv_search_dlopen+:} false; then : 5803 5804else 5805 ac_cv_search_dlopen=no 5806fi 5807rm conftest.$ac_ext 5808LIBS=$ac_func_search_save_LIBS 5809fi 5810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 5811$as_echo "$ac_cv_search_dlopen" >&6; } 5812ac_res=$ac_cv_search_dlopen 5813if test "$ac_res" != no; then : 5814 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5815 5816else 5817 { $as_echo "$as_me:${as_lineno-$LINENO}: run-time linker interface is required, engine will not work as expected." >&5 5818$as_echo "$as_me: run-time linker interface is required, engine will not work as expected." >&6;} 5819fi 5820 5821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5 5822$as_echo_n "checking for library containing pthread_create... " >&6; } 5823if ${ac_cv_search_pthread_create+:} false; then : 5824 $as_echo_n "(cached) " >&6 5825else 5826 ac_func_search_save_LIBS=$LIBS 5827cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5828/* end confdefs.h. */ 5829 5830/* Override any GCC internal prototype to avoid an error. 5831 Use char because int might match the return type of a GCC 5832 builtin and then its argument prototype would still apply. */ 5833#ifdef __cplusplus 5834extern "C" 5835#endif 5836char pthread_create (); 5837int 5838main () 5839{ 5840return pthread_create (); 5841 ; 5842 return 0; 5843} 5844_ACEOF 5845for ac_lib in '' pthread pthreads; do 5846 if test -z "$ac_lib"; then 5847 ac_res="none required" 5848 else 5849 ac_res=-l$ac_lib 5850 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5851 fi 5852 if ac_fn_c_try_link "$LINENO"; then : 5853 ac_cv_search_pthread_create=$ac_res 5854fi 5855rm -f core conftest.err conftest.$ac_objext \ 5856 conftest$ac_exeext 5857 if ${ac_cv_search_pthread_create+:} false; then : 5858 break 5859fi 5860done 5861if ${ac_cv_search_pthread_create+:} false; then : 5862 5863else 5864 ac_cv_search_pthread_create=no 5865fi 5866rm conftest.$ac_ext 5867LIBS=$ac_func_search_save_LIBS 5868fi 5869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5 5870$as_echo "$ac_cv_search_pthread_create" >&6; } 5871ac_res=$ac_cv_search_pthread_create 5872if test "$ac_res" != no; then : 5873 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5874 5875else 5876 { $as_echo "$as_me:${as_lineno-$LINENO}: pthread(s) library is required, engine will not work as expected." >&5 5877$as_echo "$as_me: pthread(s) library is required, engine will not work as expected." >&6;} 5878fi 5879 5880 5881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_setaffinity_np" >&5 5882$as_echo_n "checking for library containing pthread_setaffinity_np... " >&6; } 5883if ${ac_cv_search_pthread_setaffinity_np+:} false; then : 5884 $as_echo_n "(cached) " >&6 5885else 5886 ac_func_search_save_LIBS=$LIBS 5887cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5888/* end confdefs.h. */ 5889 5890/* Override any GCC internal prototype to avoid an error. 5891 Use char because int might match the return type of a GCC 5892 builtin and then its argument prototype would still apply. */ 5893#ifdef __cplusplus 5894extern "C" 5895#endif 5896char pthread_setaffinity_np (); 5897int 5898main () 5899{ 5900return pthread_setaffinity_np (); 5901 ; 5902 return 0; 5903} 5904_ACEOF 5905for ac_lib in '' pthread pthreads; do 5906 if test -z "$ac_lib"; then 5907 ac_res="none required" 5908 else 5909 ac_res=-l$ac_lib 5910 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5911 fi 5912 if ac_fn_c_try_link "$LINENO"; then : 5913 ac_cv_search_pthread_setaffinity_np=$ac_res 5914fi 5915rm -f core conftest.err conftest.$ac_objext \ 5916 conftest$ac_exeext 5917 if ${ac_cv_search_pthread_setaffinity_np+:} false; then : 5918 break 5919fi 5920done 5921if ${ac_cv_search_pthread_setaffinity_np+:} false; then : 5922 5923else 5924 ac_cv_search_pthread_setaffinity_np=no 5925fi 5926rm conftest.$ac_ext 5927LIBS=$ac_func_search_save_LIBS 5928fi 5929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_setaffinity_np" >&5 5930$as_echo "$ac_cv_search_pthread_setaffinity_np" >&6; } 5931ac_res=$ac_cv_search_pthread_setaffinity_np 5932if test "$ac_res" != no; then : 5933 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5934 E_FLAGS=$E_FLAGS" -DHAVE_PTHREAD_SETAFFINITY_NP" 5935fi 5936 5937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_setname_np" >&5 5938$as_echo_n "checking for library containing pthread_setname_np... " >&6; } 5939if ${ac_cv_search_pthread_setname_np+:} false; then : 5940 $as_echo_n "(cached) " >&6 5941else 5942 ac_func_search_save_LIBS=$LIBS 5943cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5944/* end confdefs.h. */ 5945 5946/* Override any GCC internal prototype to avoid an error. 5947 Use char because int might match the return type of a GCC 5948 builtin and then its argument prototype would still apply. */ 5949#ifdef __cplusplus 5950extern "C" 5951#endif 5952char pthread_setname_np (); 5953int 5954main () 5955{ 5956return pthread_setname_np (); 5957 ; 5958 return 0; 5959} 5960_ACEOF 5961for ac_lib in '' pthread pthreads; do 5962 if test -z "$ac_lib"; then 5963 ac_res="none required" 5964 else 5965 ac_res=-l$ac_lib 5966 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 5967 fi 5968 if ac_fn_c_try_link "$LINENO"; then : 5969 ac_cv_search_pthread_setname_np=$ac_res 5970fi 5971rm -f core conftest.err conftest.$ac_objext \ 5972 conftest$ac_exeext 5973 if ${ac_cv_search_pthread_setname_np+:} false; then : 5974 break 5975fi 5976done 5977if ${ac_cv_search_pthread_setname_np+:} false; then : 5978 5979else 5980 ac_cv_search_pthread_setname_np=no 5981fi 5982rm conftest.$ac_ext 5983LIBS=$ac_func_search_save_LIBS 5984fi 5985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_setname_np" >&5 5986$as_echo "$ac_cv_search_pthread_setname_np" >&6; } 5987ac_res=$ac_cv_search_pthread_setname_np 5988if test "$ac_res" != no; then : 5989 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 5990 E_FLAGS=$E_FLAGS" -DHAVE_PTHREAD_SETNAME_NP" 5991fi 5992 5993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_set_name_np" >&5 5994$as_echo_n "checking for library containing pthread_set_name_np... " >&6; } 5995if ${ac_cv_search_pthread_set_name_np+:} false; then : 5996 $as_echo_n "(cached) " >&6 5997else 5998 ac_func_search_save_LIBS=$LIBS 5999cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6000/* end confdefs.h. */ 6001 6002/* Override any GCC internal prototype to avoid an error. 6003 Use char because int might match the return type of a GCC 6004 builtin and then its argument prototype would still apply. */ 6005#ifdef __cplusplus 6006extern "C" 6007#endif 6008char pthread_set_name_np (); 6009int 6010main () 6011{ 6012return pthread_set_name_np (); 6013 ; 6014 return 0; 6015} 6016_ACEOF 6017for ac_lib in '' pthread pthreads; do 6018 if test -z "$ac_lib"; then 6019 ac_res="none required" 6020 else 6021 ac_res=-l$ac_lib 6022 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6023 fi 6024 if ac_fn_c_try_link "$LINENO"; then : 6025 ac_cv_search_pthread_set_name_np=$ac_res 6026fi 6027rm -f core conftest.err conftest.$ac_objext \ 6028 conftest$ac_exeext 6029 if ${ac_cv_search_pthread_set_name_np+:} false; then : 6030 break 6031fi 6032done 6033if ${ac_cv_search_pthread_set_name_np+:} false; then : 6034 6035else 6036 ac_cv_search_pthread_set_name_np=no 6037fi 6038rm conftest.$ac_ext 6039LIBS=$ac_func_search_save_LIBS 6040fi 6041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_set_name_np" >&5 6042$as_echo "$ac_cv_search_pthread_set_name_np" >&6; } 6043ac_res=$ac_cv_search_pthread_set_name_np 6044if test "$ac_res" != no; then : 6045 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6046 E_FLAGS=$E_FLAGS" -DHAVE_PTHREAD_SET_NAME_NP" 6047fi 6048 6049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing _getfp" >&5 6050$as_echo_n "checking for library containing _getfp... " >&6; } 6051if ${ac_cv_search__getfp+:} false; then : 6052 $as_echo_n "(cached) " >&6 6053else 6054 ac_func_search_save_LIBS=$LIBS 6055cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6056/* end confdefs.h. */ 6057 6058/* Override any GCC internal prototype to avoid an error. 6059 Use char because int might match the return type of a GCC 6060 builtin and then its argument prototype would still apply. */ 6061#ifdef __cplusplus 6062extern "C" 6063#endif 6064char _getfp (); 6065int 6066main () 6067{ 6068return _getfp (); 6069 ; 6070 return 0; 6071} 6072_ACEOF 6073for ac_lib in '' pthread pthreads; do 6074 if test -z "$ac_lib"; then 6075 ac_res="none required" 6076 else 6077 ac_res=-l$ac_lib 6078 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6079 fi 6080 if ac_fn_c_try_link "$LINENO"; then : 6081 ac_cv_search__getfp=$ac_res 6082fi 6083rm -f core conftest.err conftest.$ac_objext \ 6084 conftest$ac_exeext 6085 if ${ac_cv_search__getfp+:} false; then : 6086 break 6087fi 6088done 6089if ${ac_cv_search__getfp+:} false; then : 6090 6091else 6092 ac_cv_search__getfp=no 6093fi 6094rm conftest.$ac_ext 6095LIBS=$ac_func_search_save_LIBS 6096fi 6097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search__getfp" >&5 6098$as_echo "$ac_cv_search__getfp" >&6; } 6099ac_res=$ac_cv_search__getfp 6100if test "$ac_res" != no; then : 6101 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6102 6103fi 6104 6105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5 6106$as_echo_n "checking for library containing backtrace... " >&6; } 6107if ${ac_cv_search_backtrace+:} false; then : 6108 $as_echo_n "(cached) " >&6 6109else 6110 ac_func_search_save_LIBS=$LIBS 6111cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6112/* end confdefs.h. */ 6113 6114/* Override any GCC internal prototype to avoid an error. 6115 Use char because int might match the return type of a GCC 6116 builtin and then its argument prototype would still apply. */ 6117#ifdef __cplusplus 6118extern "C" 6119#endif 6120char backtrace (); 6121int 6122main () 6123{ 6124return backtrace (); 6125 ; 6126 return 0; 6127} 6128_ACEOF 6129for ac_lib in '' execinfo; do 6130 if test -z "$ac_lib"; then 6131 ac_res="none required" 6132 else 6133 ac_res=-l$ac_lib 6134 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6135 fi 6136 if ac_fn_c_try_link "$LINENO"; then : 6137 ac_cv_search_backtrace=$ac_res 6138fi 6139rm -f core conftest.err conftest.$ac_objext \ 6140 conftest$ac_exeext 6141 if ${ac_cv_search_backtrace+:} false; then : 6142 break 6143fi 6144done 6145if ${ac_cv_search_backtrace+:} false; then : 6146 6147else 6148 ac_cv_search_backtrace=no 6149fi 6150rm conftest.$ac_ext 6151LIBS=$ac_func_search_save_LIBS 6152fi 6153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5 6154$as_echo "$ac_cv_search_backtrace" >&6; } 6155ac_res=$ac_cv_search_backtrace 6156if test "$ac_res" != no; then : 6157 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6158 E_FLAGS=$E_FLAGS" -DHAVE_BACKTRACE -DHAVE_BACKTRACE_SYMBOLS" 6159fi 6160 6161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 6162$as_echo_n "checking for library containing clock_gettime... " >&6; } 6163if ${ac_cv_search_clock_gettime+:} false; then : 6164 $as_echo_n "(cached) " >&6 6165else 6166 ac_func_search_save_LIBS=$LIBS 6167cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6168/* end confdefs.h. */ 6169 6170/* Override any GCC internal prototype to avoid an error. 6171 Use char because int might match the return type of a GCC 6172 builtin and then its argument prototype would still apply. */ 6173#ifdef __cplusplus 6174extern "C" 6175#endif 6176char clock_gettime (); 6177int 6178main () 6179{ 6180return clock_gettime (); 6181 ; 6182 return 0; 6183} 6184_ACEOF 6185for ac_lib in '' rt; do 6186 if test -z "$ac_lib"; then 6187 ac_res="none required" 6188 else 6189 ac_res=-l$ac_lib 6190 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6191 fi 6192 if ac_fn_c_try_link "$LINENO"; then : 6193 ac_cv_search_clock_gettime=$ac_res 6194fi 6195rm -f core conftest.err conftest.$ac_objext \ 6196 conftest$ac_exeext 6197 if ${ac_cv_search_clock_gettime+:} false; then : 6198 break 6199fi 6200done 6201if ${ac_cv_search_clock_gettime+:} false; then : 6202 6203else 6204 ac_cv_search_clock_gettime=no 6205fi 6206rm conftest.$ac_ext 6207LIBS=$ac_func_search_save_LIBS 6208fi 6209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 6210$as_echo "$ac_cv_search_clock_gettime" >&6; } 6211ac_res=$ac_cv_search_clock_gettime 6212if test "$ac_res" != no; then : 6213 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6214 E_FLAGS=$E_FLAGS" -DHAVE_CLOCK_GETTIME" 6215fi 6216 6217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_nanosleep" >&5 6218$as_echo_n "checking for library containing clock_nanosleep... " >&6; } 6219if ${ac_cv_search_clock_nanosleep+:} false; then : 6220 $as_echo_n "(cached) " >&6 6221else 6222 ac_func_search_save_LIBS=$LIBS 6223cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6224/* end confdefs.h. */ 6225 6226/* Override any GCC internal prototype to avoid an error. 6227 Use char because int might match the return type of a GCC 6228 builtin and then its argument prototype would still apply. */ 6229#ifdef __cplusplus 6230extern "C" 6231#endif 6232char clock_nanosleep (); 6233int 6234main () 6235{ 6236return clock_nanosleep (); 6237 ; 6238 return 0; 6239} 6240_ACEOF 6241for ac_lib in '' rt; do 6242 if test -z "$ac_lib"; then 6243 ac_res="none required" 6244 else 6245 ac_res=-l$ac_lib 6246 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6247 fi 6248 if ac_fn_c_try_link "$LINENO"; then : 6249 ac_cv_search_clock_nanosleep=$ac_res 6250fi 6251rm -f core conftest.err conftest.$ac_objext \ 6252 conftest$ac_exeext 6253 if ${ac_cv_search_clock_nanosleep+:} false; then : 6254 break 6255fi 6256done 6257if ${ac_cv_search_clock_nanosleep+:} false; then : 6258 6259else 6260 ac_cv_search_clock_nanosleep=no 6261fi 6262rm conftest.$ac_ext 6263LIBS=$ac_func_search_save_LIBS 6264fi 6265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_nanosleep" >&5 6266$as_echo "$ac_cv_search_clock_nanosleep" >&6; } 6267ac_res=$ac_cv_search_clock_nanosleep 6268if test "$ac_res" != no; then : 6269 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6270 E_FLAGS=$E_FLAGS" -DHAVE_CLOCK_NANOSLEEP" 6271fi 6272 6273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5 6274$as_echo_n "checking for library containing gettext... " >&6; } 6275if ${ac_cv_search_gettext+:} false; then : 6276 $as_echo_n "(cached) " >&6 6277else 6278 ac_func_search_save_LIBS=$LIBS 6279cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6280/* end confdefs.h. */ 6281 6282/* Override any GCC internal prototype to avoid an error. 6283 Use char because int might match the return type of a GCC 6284 builtin and then its argument prototype would still apply. */ 6285#ifdef __cplusplus 6286extern "C" 6287#endif 6288char gettext (); 6289int 6290main () 6291{ 6292return gettext (); 6293 ; 6294 return 0; 6295} 6296_ACEOF 6297for ac_lib in '' intl; do 6298 if test -z "$ac_lib"; then 6299 ac_res="none required" 6300 else 6301 ac_res=-l$ac_lib 6302 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6303 fi 6304 if ac_fn_c_try_link "$LINENO"; then : 6305 ac_cv_search_gettext=$ac_res 6306fi 6307rm -f core conftest.err conftest.$ac_objext \ 6308 conftest$ac_exeext 6309 if ${ac_cv_search_gettext+:} false; then : 6310 break 6311fi 6312done 6313if ${ac_cv_search_gettext+:} false; then : 6314 6315else 6316 ac_cv_search_gettext=no 6317fi 6318rm conftest.$ac_ext 6319LIBS=$ac_func_search_save_LIBS 6320fi 6321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5 6322$as_echo "$ac_cv_search_gettext" >&6; } 6323ac_res=$ac_cv_search_gettext 6324if test "$ac_res" != no; then : 6325 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6326 E_FLAGS=$E_FLAGS" -DHAVE_GETTEXT" 6327fi 6328 6329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setupterm" >&5 6330$as_echo_n "checking for library containing setupterm... " >&6; } 6331if ${ac_cv_search_setupterm+:} false; then : 6332 $as_echo_n "(cached) " >&6 6333else 6334 ac_func_search_save_LIBS=$LIBS 6335cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6336/* end confdefs.h. */ 6337 6338/* Override any GCC internal prototype to avoid an error. 6339 Use char because int might match the return type of a GCC 6340 builtin and then its argument prototype would still apply. */ 6341#ifdef __cplusplus 6342extern "C" 6343#endif 6344char setupterm (); 6345int 6346main () 6347{ 6348return setupterm (); 6349 ; 6350 return 0; 6351} 6352_ACEOF 6353for ac_lib in '' tinfo ncurses; do 6354 if test -z "$ac_lib"; then 6355 ac_res="none required" 6356 else 6357 ac_res=-l$ac_lib 6358 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6359 fi 6360 if ac_fn_c_try_link "$LINENO"; then : 6361 ac_cv_search_setupterm=$ac_res 6362fi 6363rm -f core conftest.err conftest.$ac_objext \ 6364 conftest$ac_exeext 6365 if ${ac_cv_search_setupterm+:} false; then : 6366 break 6367fi 6368done 6369if ${ac_cv_search_setupterm+:} false; then : 6370 6371else 6372 ac_cv_search_setupterm=no 6373fi 6374rm conftest.$ac_ext 6375LIBS=$ac_func_search_save_LIBS 6376fi 6377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setupterm" >&5 6378$as_echo "$ac_cv_search_setupterm" >&6; } 6379ac_res=$ac_cv_search_setupterm 6380if test "$ac_res" != no; then : 6381 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6382 E_FLAGS=$E_FLAGS" -DHAVE_SETUPTERM" 6383fi 6384 6385 6386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5 6387$as_echo_n "checking for library containing sqrt... " >&6; } 6388if ${ac_cv_search_sqrt+:} false; then : 6389 $as_echo_n "(cached) " >&6 6390else 6391 ac_func_search_save_LIBS=$LIBS 6392cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6393/* end confdefs.h. */ 6394 6395/* Override any GCC internal prototype to avoid an error. 6396 Use char because int might match the return type of a GCC 6397 builtin and then its argument prototype would still apply. */ 6398#ifdef __cplusplus 6399extern "C" 6400#endif 6401char sqrt (); 6402int 6403main () 6404{ 6405return sqrt (); 6406 ; 6407 return 0; 6408} 6409_ACEOF 6410for ac_lib in '' m; do 6411 if test -z "$ac_lib"; then 6412 ac_res="none required" 6413 else 6414 ac_res=-l$ac_lib 6415 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6416 fi 6417 if ac_fn_c_try_link "$LINENO"; then : 6418 ac_cv_search_sqrt=$ac_res 6419fi 6420rm -f core conftest.err conftest.$ac_objext \ 6421 conftest$ac_exeext 6422 if ${ac_cv_search_sqrt+:} false; then : 6423 break 6424fi 6425done 6426if ${ac_cv_search_sqrt+:} false; then : 6427 6428else 6429 ac_cv_search_sqrt=no 6430fi 6431rm conftest.$ac_ext 6432LIBS=$ac_func_search_save_LIBS 6433fi 6434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5 6435$as_echo "$ac_cv_search_sqrt" >&6; } 6436ac_res=$ac_cv_search_sqrt 6437if test "$ac_res" != no; then : 6438 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6439 6440fi 6441 6442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing isfinite" >&5 6443$as_echo_n "checking for library containing isfinite... " >&6; } 6444if ${ac_cv_search_isfinite+:} false; then : 6445 $as_echo_n "(cached) " >&6 6446else 6447 ac_func_search_save_LIBS=$LIBS 6448cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6449/* end confdefs.h. */ 6450 6451/* Override any GCC internal prototype to avoid an error. 6452 Use char because int might match the return type of a GCC 6453 builtin and then its argument prototype would still apply. */ 6454#ifdef __cplusplus 6455extern "C" 6456#endif 6457char isfinite (); 6458int 6459main () 6460{ 6461return isfinite (); 6462 ; 6463 return 0; 6464} 6465_ACEOF 6466for ac_lib in '' m; do 6467 if test -z "$ac_lib"; then 6468 ac_res="none required" 6469 else 6470 ac_res=-l$ac_lib 6471 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6472 fi 6473 if ac_fn_c_try_link "$LINENO"; then : 6474 ac_cv_search_isfinite=$ac_res 6475fi 6476rm -f core conftest.err conftest.$ac_objext \ 6477 conftest$ac_exeext 6478 if ${ac_cv_search_isfinite+:} false; then : 6479 break 6480fi 6481done 6482if ${ac_cv_search_isfinite+:} false; then : 6483 6484else 6485 ac_cv_search_isfinite=no 6486fi 6487rm conftest.$ac_ext 6488LIBS=$ac_func_search_save_LIBS 6489fi 6490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_isfinite" >&5 6491$as_echo "$ac_cv_search_isfinite" >&6; } 6492ac_res=$ac_cv_search_isfinite 6493if test "$ac_res" != no; then : 6494 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6495 E_FLAGS=$E_FLAGS" -DHAVE_ISFINITE" 6496fi 6497 6498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing isinf" >&5 6499$as_echo_n "checking for library containing isinf... " >&6; } 6500if ${ac_cv_search_isinf+:} false; then : 6501 $as_echo_n "(cached) " >&6 6502else 6503 ac_func_search_save_LIBS=$LIBS 6504cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6505/* end confdefs.h. */ 6506 6507/* Override any GCC internal prototype to avoid an error. 6508 Use char because int might match the return type of a GCC 6509 builtin and then its argument prototype would still apply. */ 6510#ifdef __cplusplus 6511extern "C" 6512#endif 6513char isinf (); 6514int 6515main () 6516{ 6517return isinf (); 6518 ; 6519 return 0; 6520} 6521_ACEOF 6522for ac_lib in '' m; do 6523 if test -z "$ac_lib"; then 6524 ac_res="none required" 6525 else 6526 ac_res=-l$ac_lib 6527 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6528 fi 6529 if ac_fn_c_try_link "$LINENO"; then : 6530 ac_cv_search_isinf=$ac_res 6531fi 6532rm -f core conftest.err conftest.$ac_objext \ 6533 conftest$ac_exeext 6534 if ${ac_cv_search_isinf+:} false; then : 6535 break 6536fi 6537done 6538if ${ac_cv_search_isinf+:} false; then : 6539 6540else 6541 ac_cv_search_isinf=no 6542fi 6543rm conftest.$ac_ext 6544LIBS=$ac_func_search_save_LIBS 6545fi 6546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_isinf" >&5 6547$as_echo "$ac_cv_search_isinf" >&6; } 6548ac_res=$ac_cv_search_isinf 6549if test "$ac_res" != no; then : 6550 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6551 E_FLAGS=$E_FLAGS" -DHAVE_ISINF" 6552fi 6553 6554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing isnormal" >&5 6555$as_echo_n "checking for library containing isnormal... " >&6; } 6556if ${ac_cv_search_isnormal+:} false; then : 6557 $as_echo_n "(cached) " >&6 6558else 6559 ac_func_search_save_LIBS=$LIBS 6560cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6561/* end confdefs.h. */ 6562 6563/* Override any GCC internal prototype to avoid an error. 6564 Use char because int might match the return type of a GCC 6565 builtin and then its argument prototype would still apply. */ 6566#ifdef __cplusplus 6567extern "C" 6568#endif 6569char isnormal (); 6570int 6571main () 6572{ 6573return isnormal (); 6574 ; 6575 return 0; 6576} 6577_ACEOF 6578for ac_lib in '' m; do 6579 if test -z "$ac_lib"; then 6580 ac_res="none required" 6581 else 6582 ac_res=-l$ac_lib 6583 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6584 fi 6585 if ac_fn_c_try_link "$LINENO"; then : 6586 ac_cv_search_isnormal=$ac_res 6587fi 6588rm -f core conftest.err conftest.$ac_objext \ 6589 conftest$ac_exeext 6590 if ${ac_cv_search_isnormal+:} false; then : 6591 break 6592fi 6593done 6594if ${ac_cv_search_isnormal+:} false; then : 6595 6596else 6597 ac_cv_search_isnormal=no 6598fi 6599rm conftest.$ac_ext 6600LIBS=$ac_func_search_save_LIBS 6601fi 6602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_isnormal" >&5 6603$as_echo "$ac_cv_search_isnormal" >&6; } 6604ac_res=$ac_cv_search_isnormal 6605if test "$ac_res" != no; then : 6606 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6607 E_FLAGS=$E_FLAGS" -DHAVE_ISNORMAL" 6608fi 6609 6610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing signbit" >&5 6611$as_echo_n "checking for library containing signbit... " >&6; } 6612if ${ac_cv_search_signbit+:} false; then : 6613 $as_echo_n "(cached) " >&6 6614else 6615 ac_func_search_save_LIBS=$LIBS 6616cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6617/* end confdefs.h. */ 6618 6619/* Override any GCC internal prototype to avoid an error. 6620 Use char because int might match the return type of a GCC 6621 builtin and then its argument prototype would still apply. */ 6622#ifdef __cplusplus 6623extern "C" 6624#endif 6625char signbit (); 6626int 6627main () 6628{ 6629return signbit (); 6630 ; 6631 return 0; 6632} 6633_ACEOF 6634for ac_lib in '' m; do 6635 if test -z "$ac_lib"; then 6636 ac_res="none required" 6637 else 6638 ac_res=-l$ac_lib 6639 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6640 fi 6641 if ac_fn_c_try_link "$LINENO"; then : 6642 ac_cv_search_signbit=$ac_res 6643fi 6644rm -f core conftest.err conftest.$ac_objext \ 6645 conftest$ac_exeext 6646 if ${ac_cv_search_signbit+:} false; then : 6647 break 6648fi 6649done 6650if ${ac_cv_search_signbit+:} false; then : 6651 6652else 6653 ac_cv_search_signbit=no 6654fi 6655rm conftest.$ac_ext 6656LIBS=$ac_func_search_save_LIBS 6657fi 6658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_signbit" >&5 6659$as_echo "$ac_cv_search_signbit" >&6; } 6660ac_res=$ac_cv_search_signbit 6661if test "$ac_res" != no; then : 6662 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6663 E_FLAGS=$E_FLAGS" -DHAVE_SIGNBIT" 6664fi 6665 6666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing exp2" >&5 6667$as_echo_n "checking for library containing exp2... " >&6; } 6668if ${ac_cv_search_exp2+:} false; then : 6669 $as_echo_n "(cached) " >&6 6670else 6671 ac_func_search_save_LIBS=$LIBS 6672cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6673/* end confdefs.h. */ 6674 6675/* Override any GCC internal prototype to avoid an error. 6676 Use char because int might match the return type of a GCC 6677 builtin and then its argument prototype would still apply. */ 6678#ifdef __cplusplus 6679extern "C" 6680#endif 6681char exp2 (); 6682int 6683main () 6684{ 6685return exp2 (); 6686 ; 6687 return 0; 6688} 6689_ACEOF 6690for ac_lib in '' m; do 6691 if test -z "$ac_lib"; then 6692 ac_res="none required" 6693 else 6694 ac_res=-l$ac_lib 6695 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6696 fi 6697 if ac_fn_c_try_link "$LINENO"; then : 6698 ac_cv_search_exp2=$ac_res 6699fi 6700rm -f core conftest.err conftest.$ac_objext \ 6701 conftest$ac_exeext 6702 if ${ac_cv_search_exp2+:} false; then : 6703 break 6704fi 6705done 6706if ${ac_cv_search_exp2+:} false; then : 6707 6708else 6709 ac_cv_search_exp2=no 6710fi 6711rm conftest.$ac_ext 6712LIBS=$ac_func_search_save_LIBS 6713fi 6714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_exp2" >&5 6715$as_echo "$ac_cv_search_exp2" >&6; } 6716ac_res=$ac_cv_search_exp2 6717if test "$ac_res" != no; then : 6718 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6719 E_FLAGS=$E_FLAGS" -DHAVE_EXP2" 6720fi 6721 6722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fdim" >&5 6723$as_echo_n "checking for library containing fdim... " >&6; } 6724if ${ac_cv_search_fdim+:} false; then : 6725 $as_echo_n "(cached) " >&6 6726else 6727 ac_func_search_save_LIBS=$LIBS 6728cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6729/* end confdefs.h. */ 6730 6731/* Override any GCC internal prototype to avoid an error. 6732 Use char because int might match the return type of a GCC 6733 builtin and then its argument prototype would still apply. */ 6734#ifdef __cplusplus 6735extern "C" 6736#endif 6737char fdim (); 6738int 6739main () 6740{ 6741return fdim (); 6742 ; 6743 return 0; 6744} 6745_ACEOF 6746for ac_lib in '' m; do 6747 if test -z "$ac_lib"; then 6748 ac_res="none required" 6749 else 6750 ac_res=-l$ac_lib 6751 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6752 fi 6753 if ac_fn_c_try_link "$LINENO"; then : 6754 ac_cv_search_fdim=$ac_res 6755fi 6756rm -f core conftest.err conftest.$ac_objext \ 6757 conftest$ac_exeext 6758 if ${ac_cv_search_fdim+:} false; then : 6759 break 6760fi 6761done 6762if ${ac_cv_search_fdim+:} false; then : 6763 6764else 6765 ac_cv_search_fdim=no 6766fi 6767rm conftest.$ac_ext 6768LIBS=$ac_func_search_save_LIBS 6769fi 6770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fdim" >&5 6771$as_echo "$ac_cv_search_fdim" >&6; } 6772ac_res=$ac_cv_search_fdim 6773if test "$ac_res" != no; then : 6774 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6775 E_FLAGS=$E_FLAGS" -DHAVE_FDIM" 6776fi 6777 6778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing floorf" >&5 6779$as_echo_n "checking for library containing floorf... " >&6; } 6780if ${ac_cv_search_floorf+:} false; then : 6781 $as_echo_n "(cached) " >&6 6782else 6783 ac_func_search_save_LIBS=$LIBS 6784cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6785/* end confdefs.h. */ 6786 6787/* Override any GCC internal prototype to avoid an error. 6788 Use char because int might match the return type of a GCC 6789 builtin and then its argument prototype would still apply. */ 6790#ifdef __cplusplus 6791extern "C" 6792#endif 6793char floorf (); 6794int 6795main () 6796{ 6797return floorf (); 6798 ; 6799 return 0; 6800} 6801_ACEOF 6802for ac_lib in '' m; do 6803 if test -z "$ac_lib"; then 6804 ac_res="none required" 6805 else 6806 ac_res=-l$ac_lib 6807 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6808 fi 6809 if ac_fn_c_try_link "$LINENO"; then : 6810 ac_cv_search_floorf=$ac_res 6811fi 6812rm -f core conftest.err conftest.$ac_objext \ 6813 conftest$ac_exeext 6814 if ${ac_cv_search_floorf+:} false; then : 6815 break 6816fi 6817done 6818if ${ac_cv_search_floorf+:} false; then : 6819 6820else 6821 ac_cv_search_floorf=no 6822fi 6823rm conftest.$ac_ext 6824LIBS=$ac_func_search_save_LIBS 6825fi 6826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_floorf" >&5 6827$as_echo "$ac_cv_search_floorf" >&6; } 6828ac_res=$ac_cv_search_floorf 6829if test "$ac_res" != no; then : 6830 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6831 E_FLAGS=$E_FLAGS" -DHAVE_FLOORF" 6832fi 6833 6834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fma" >&5 6835$as_echo_n "checking for library containing fma... " >&6; } 6836if ${ac_cv_search_fma+:} false; then : 6837 $as_echo_n "(cached) " >&6 6838else 6839 ac_func_search_save_LIBS=$LIBS 6840cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6841/* end confdefs.h. */ 6842 6843/* Override any GCC internal prototype to avoid an error. 6844 Use char because int might match the return type of a GCC 6845 builtin and then its argument prototype would still apply. */ 6846#ifdef __cplusplus 6847extern "C" 6848#endif 6849char fma (); 6850int 6851main () 6852{ 6853return fma (); 6854 ; 6855 return 0; 6856} 6857_ACEOF 6858for ac_lib in '' m; do 6859 if test -z "$ac_lib"; then 6860 ac_res="none required" 6861 else 6862 ac_res=-l$ac_lib 6863 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6864 fi 6865 if ac_fn_c_try_link "$LINENO"; then : 6866 ac_cv_search_fma=$ac_res 6867fi 6868rm -f core conftest.err conftest.$ac_objext \ 6869 conftest$ac_exeext 6870 if ${ac_cv_search_fma+:} false; then : 6871 break 6872fi 6873done 6874if ${ac_cv_search_fma+:} false; then : 6875 6876else 6877 ac_cv_search_fma=no 6878fi 6879rm conftest.$ac_ext 6880LIBS=$ac_func_search_save_LIBS 6881fi 6882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fma" >&5 6883$as_echo "$ac_cv_search_fma" >&6; } 6884ac_res=$ac_cv_search_fma 6885if test "$ac_res" != no; then : 6886 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6887 E_FLAGS=$E_FLAGS" -DHAVE_FMA" 6888fi 6889 6890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fmax" >&5 6891$as_echo_n "checking for library containing fmax... " >&6; } 6892if ${ac_cv_search_fmax+:} false; then : 6893 $as_echo_n "(cached) " >&6 6894else 6895 ac_func_search_save_LIBS=$LIBS 6896cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6897/* end confdefs.h. */ 6898 6899/* Override any GCC internal prototype to avoid an error. 6900 Use char because int might match the return type of a GCC 6901 builtin and then its argument prototype would still apply. */ 6902#ifdef __cplusplus 6903extern "C" 6904#endif 6905char fmax (); 6906int 6907main () 6908{ 6909return fmax (); 6910 ; 6911 return 0; 6912} 6913_ACEOF 6914for ac_lib in '' m; do 6915 if test -z "$ac_lib"; then 6916 ac_res="none required" 6917 else 6918 ac_res=-l$ac_lib 6919 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6920 fi 6921 if ac_fn_c_try_link "$LINENO"; then : 6922 ac_cv_search_fmax=$ac_res 6923fi 6924rm -f core conftest.err conftest.$ac_objext \ 6925 conftest$ac_exeext 6926 if ${ac_cv_search_fmax+:} false; then : 6927 break 6928fi 6929done 6930if ${ac_cv_search_fmax+:} false; then : 6931 6932else 6933 ac_cv_search_fmax=no 6934fi 6935rm conftest.$ac_ext 6936LIBS=$ac_func_search_save_LIBS 6937fi 6938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fmax" >&5 6939$as_echo "$ac_cv_search_fmax" >&6; } 6940ac_res=$ac_cv_search_fmax 6941if test "$ac_res" != no; then : 6942 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6943 E_FLAGS=$E_FLAGS" -DHAVE_FMAX" 6944fi 6945 6946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fmin" >&5 6947$as_echo_n "checking for library containing fmin... " >&6; } 6948if ${ac_cv_search_fmin+:} false; then : 6949 $as_echo_n "(cached) " >&6 6950else 6951 ac_func_search_save_LIBS=$LIBS 6952cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6953/* end confdefs.h. */ 6954 6955/* Override any GCC internal prototype to avoid an error. 6956 Use char because int might match the return type of a GCC 6957 builtin and then its argument prototype would still apply. */ 6958#ifdef __cplusplus 6959extern "C" 6960#endif 6961char fmin (); 6962int 6963main () 6964{ 6965return fmin (); 6966 ; 6967 return 0; 6968} 6969_ACEOF 6970for ac_lib in '' m; do 6971 if test -z "$ac_lib"; then 6972 ac_res="none required" 6973 else 6974 ac_res=-l$ac_lib 6975 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 6976 fi 6977 if ac_fn_c_try_link "$LINENO"; then : 6978 ac_cv_search_fmin=$ac_res 6979fi 6980rm -f core conftest.err conftest.$ac_objext \ 6981 conftest$ac_exeext 6982 if ${ac_cv_search_fmin+:} false; then : 6983 break 6984fi 6985done 6986if ${ac_cv_search_fmin+:} false; then : 6987 6988else 6989 ac_cv_search_fmin=no 6990fi 6991rm conftest.$ac_ext 6992LIBS=$ac_func_search_save_LIBS 6993fi 6994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fmin" >&5 6995$as_echo "$ac_cv_search_fmin" >&6; } 6996ac_res=$ac_cv_search_fmin 6997if test "$ac_res" != no; then : 6998 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 6999 E_FLAGS=$E_FLAGS" -DHAVE_FMIN" 7000fi 7001 7002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ilogb" >&5 7003$as_echo_n "checking for library containing ilogb... " >&6; } 7004if ${ac_cv_search_ilogb+:} false; then : 7005 $as_echo_n "(cached) " >&6 7006else 7007 ac_func_search_save_LIBS=$LIBS 7008cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7009/* end confdefs.h. */ 7010 7011/* Override any GCC internal prototype to avoid an error. 7012 Use char because int might match the return type of a GCC 7013 builtin and then its argument prototype would still apply. */ 7014#ifdef __cplusplus 7015extern "C" 7016#endif 7017char ilogb (); 7018int 7019main () 7020{ 7021return ilogb (); 7022 ; 7023 return 0; 7024} 7025_ACEOF 7026for ac_lib in '' m; do 7027 if test -z "$ac_lib"; then 7028 ac_res="none required" 7029 else 7030 ac_res=-l$ac_lib 7031 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7032 fi 7033 if ac_fn_c_try_link "$LINENO"; then : 7034 ac_cv_search_ilogb=$ac_res 7035fi 7036rm -f core conftest.err conftest.$ac_objext \ 7037 conftest$ac_exeext 7038 if ${ac_cv_search_ilogb+:} false; then : 7039 break 7040fi 7041done 7042if ${ac_cv_search_ilogb+:} false; then : 7043 7044else 7045 ac_cv_search_ilogb=no 7046fi 7047rm conftest.$ac_ext 7048LIBS=$ac_func_search_save_LIBS 7049fi 7050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ilogb" >&5 7051$as_echo "$ac_cv_search_ilogb" >&6; } 7052ac_res=$ac_cv_search_ilogb 7053if test "$ac_res" != no; then : 7054 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7055 E_FLAGS=$E_FLAGS" -DHAVE_ILOGB" 7056fi 7057 7058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lgamma" >&5 7059$as_echo_n "checking for library containing lgamma... " >&6; } 7060if ${ac_cv_search_lgamma+:} false; then : 7061 $as_echo_n "(cached) " >&6 7062else 7063 ac_func_search_save_LIBS=$LIBS 7064cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7065/* end confdefs.h. */ 7066 7067/* Override any GCC internal prototype to avoid an error. 7068 Use char because int might match the return type of a GCC 7069 builtin and then its argument prototype would still apply. */ 7070#ifdef __cplusplus 7071extern "C" 7072#endif 7073char lgamma (); 7074int 7075main () 7076{ 7077return lgamma (); 7078 ; 7079 return 0; 7080} 7081_ACEOF 7082for ac_lib in '' m; do 7083 if test -z "$ac_lib"; then 7084 ac_res="none required" 7085 else 7086 ac_res=-l$ac_lib 7087 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7088 fi 7089 if ac_fn_c_try_link "$LINENO"; then : 7090 ac_cv_search_lgamma=$ac_res 7091fi 7092rm -f core conftest.err conftest.$ac_objext \ 7093 conftest$ac_exeext 7094 if ${ac_cv_search_lgamma+:} false; then : 7095 break 7096fi 7097done 7098if ${ac_cv_search_lgamma+:} false; then : 7099 7100else 7101 ac_cv_search_lgamma=no 7102fi 7103rm conftest.$ac_ext 7104LIBS=$ac_func_search_save_LIBS 7105fi 7106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lgamma" >&5 7107$as_echo "$ac_cv_search_lgamma" >&6; } 7108ac_res=$ac_cv_search_lgamma 7109if test "$ac_res" != no; then : 7110 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7111 E_FLAGS=$E_FLAGS" -DHAVE_LGAMMA" 7112fi 7113 7114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing log2" >&5 7115$as_echo_n "checking for library containing log2... " >&6; } 7116if ${ac_cv_search_log2+:} false; then : 7117 $as_echo_n "(cached) " >&6 7118else 7119 ac_func_search_save_LIBS=$LIBS 7120cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7121/* end confdefs.h. */ 7122 7123/* Override any GCC internal prototype to avoid an error. 7124 Use char because int might match the return type of a GCC 7125 builtin and then its argument prototype would still apply. */ 7126#ifdef __cplusplus 7127extern "C" 7128#endif 7129char log2 (); 7130int 7131main () 7132{ 7133return log2 (); 7134 ; 7135 return 0; 7136} 7137_ACEOF 7138for ac_lib in '' m; do 7139 if test -z "$ac_lib"; then 7140 ac_res="none required" 7141 else 7142 ac_res=-l$ac_lib 7143 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7144 fi 7145 if ac_fn_c_try_link "$LINENO"; then : 7146 ac_cv_search_log2=$ac_res 7147fi 7148rm -f core conftest.err conftest.$ac_objext \ 7149 conftest$ac_exeext 7150 if ${ac_cv_search_log2+:} false; then : 7151 break 7152fi 7153done 7154if ${ac_cv_search_log2+:} false; then : 7155 7156else 7157 ac_cv_search_log2=no 7158fi 7159rm conftest.$ac_ext 7160LIBS=$ac_func_search_save_LIBS 7161fi 7162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log2" >&5 7163$as_echo "$ac_cv_search_log2" >&6; } 7164ac_res=$ac_cv_search_log2 7165if test "$ac_res" != no; then : 7166 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7167 E_FLAGS=$E_FLAGS" -DHAVE_LOG2" 7168fi 7169 7170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nan" >&5 7171$as_echo_n "checking for library containing nan... " >&6; } 7172if ${ac_cv_search_nan+:} false; then : 7173 $as_echo_n "(cached) " >&6 7174else 7175 ac_func_search_save_LIBS=$LIBS 7176cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7177/* end confdefs.h. */ 7178 7179/* Override any GCC internal prototype to avoid an error. 7180 Use char because int might match the return type of a GCC 7181 builtin and then its argument prototype would still apply. */ 7182#ifdef __cplusplus 7183extern "C" 7184#endif 7185char nan (); 7186int 7187main () 7188{ 7189return nan (); 7190 ; 7191 return 0; 7192} 7193_ACEOF 7194for ac_lib in '' m; do 7195 if test -z "$ac_lib"; then 7196 ac_res="none required" 7197 else 7198 ac_res=-l$ac_lib 7199 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7200 fi 7201 if ac_fn_c_try_link "$LINENO"; then : 7202 ac_cv_search_nan=$ac_res 7203fi 7204rm -f core conftest.err conftest.$ac_objext \ 7205 conftest$ac_exeext 7206 if ${ac_cv_search_nan+:} false; then : 7207 break 7208fi 7209done 7210if ${ac_cv_search_nan+:} false; then : 7211 7212else 7213 ac_cv_search_nan=no 7214fi 7215rm conftest.$ac_ext 7216LIBS=$ac_func_search_save_LIBS 7217fi 7218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nan" >&5 7219$as_echo "$ac_cv_search_nan" >&6; } 7220ac_res=$ac_cv_search_nan 7221if test "$ac_res" != no; then : 7222 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7223 E_FLAGS=$E_FLAGS" -DHAVE_NAN" 7224fi 7225 7226{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nearbyint" >&5 7227$as_echo_n "checking for library containing nearbyint... " >&6; } 7228if ${ac_cv_search_nearbyint+:} false; then : 7229 $as_echo_n "(cached) " >&6 7230else 7231 ac_func_search_save_LIBS=$LIBS 7232cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7233/* end confdefs.h. */ 7234 7235/* Override any GCC internal prototype to avoid an error. 7236 Use char because int might match the return type of a GCC 7237 builtin and then its argument prototype would still apply. */ 7238#ifdef __cplusplus 7239extern "C" 7240#endif 7241char nearbyint (); 7242int 7243main () 7244{ 7245return nearbyint (); 7246 ; 7247 return 0; 7248} 7249_ACEOF 7250for ac_lib in '' m; do 7251 if test -z "$ac_lib"; then 7252 ac_res="none required" 7253 else 7254 ac_res=-l$ac_lib 7255 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7256 fi 7257 if ac_fn_c_try_link "$LINENO"; then : 7258 ac_cv_search_nearbyint=$ac_res 7259fi 7260rm -f core conftest.err conftest.$ac_objext \ 7261 conftest$ac_exeext 7262 if ${ac_cv_search_nearbyint+:} false; then : 7263 break 7264fi 7265done 7266if ${ac_cv_search_nearbyint+:} false; then : 7267 7268else 7269 ac_cv_search_nearbyint=no 7270fi 7271rm conftest.$ac_ext 7272LIBS=$ac_func_search_save_LIBS 7273fi 7274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nearbyint" >&5 7275$as_echo "$ac_cv_search_nearbyint" >&6; } 7276ac_res=$ac_cv_search_nearbyint 7277if test "$ac_res" != no; then : 7278 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7279 E_FLAGS=$E_FLAGS" -DHAVE_NEARBYINT" 7280fi 7281 7282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nextafter" >&5 7283$as_echo_n "checking for library containing nextafter... " >&6; } 7284if ${ac_cv_search_nextafter+:} false; then : 7285 $as_echo_n "(cached) " >&6 7286else 7287 ac_func_search_save_LIBS=$LIBS 7288cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7289/* end confdefs.h. */ 7290 7291/* Override any GCC internal prototype to avoid an error. 7292 Use char because int might match the return type of a GCC 7293 builtin and then its argument prototype would still apply. */ 7294#ifdef __cplusplus 7295extern "C" 7296#endif 7297char nextafter (); 7298int 7299main () 7300{ 7301return nextafter (); 7302 ; 7303 return 0; 7304} 7305_ACEOF 7306for ac_lib in '' m; do 7307 if test -z "$ac_lib"; then 7308 ac_res="none required" 7309 else 7310 ac_res=-l$ac_lib 7311 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7312 fi 7313 if ac_fn_c_try_link "$LINENO"; then : 7314 ac_cv_search_nextafter=$ac_res 7315fi 7316rm -f core conftest.err conftest.$ac_objext \ 7317 conftest$ac_exeext 7318 if ${ac_cv_search_nextafter+:} false; then : 7319 break 7320fi 7321done 7322if ${ac_cv_search_nextafter+:} false; then : 7323 7324else 7325 ac_cv_search_nextafter=no 7326fi 7327rm conftest.$ac_ext 7328LIBS=$ac_func_search_save_LIBS 7329fi 7330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nextafter" >&5 7331$as_echo "$ac_cv_search_nextafter" >&6; } 7332ac_res=$ac_cv_search_nextafter 7333if test "$ac_res" != no; then : 7334 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7335 E_FLAGS=$E_FLAGS" -DHAVE_NEXTAFTER" 7336fi 7337 7338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nexttoward" >&5 7339$as_echo_n "checking for library containing nexttoward... " >&6; } 7340if ${ac_cv_search_nexttoward+:} false; then : 7341 $as_echo_n "(cached) " >&6 7342else 7343 ac_func_search_save_LIBS=$LIBS 7344cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7345/* end confdefs.h. */ 7346 7347/* Override any GCC internal prototype to avoid an error. 7348 Use char because int might match the return type of a GCC 7349 builtin and then its argument prototype would still apply. */ 7350#ifdef __cplusplus 7351extern "C" 7352#endif 7353char nexttoward (); 7354int 7355main () 7356{ 7357return nexttoward (); 7358 ; 7359 return 0; 7360} 7361_ACEOF 7362for ac_lib in '' m; do 7363 if test -z "$ac_lib"; then 7364 ac_res="none required" 7365 else 7366 ac_res=-l$ac_lib 7367 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7368 fi 7369 if ac_fn_c_try_link "$LINENO"; then : 7370 ac_cv_search_nexttoward=$ac_res 7371fi 7372rm -f core conftest.err conftest.$ac_objext \ 7373 conftest$ac_exeext 7374 if ${ac_cv_search_nexttoward+:} false; then : 7375 break 7376fi 7377done 7378if ${ac_cv_search_nexttoward+:} false; then : 7379 7380else 7381 ac_cv_search_nexttoward=no 7382fi 7383rm conftest.$ac_ext 7384LIBS=$ac_func_search_save_LIBS 7385fi 7386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nexttoward" >&5 7387$as_echo "$ac_cv_search_nexttoward" >&6; } 7388ac_res=$ac_cv_search_nexttoward 7389if test "$ac_res" != no; then : 7390 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7391 E_FLAGS=$E_FLAGS" -DHAVE_NEXTTOWARD" 7392fi 7393 7394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing powf" >&5 7395$as_echo_n "checking for library containing powf... " >&6; } 7396if ${ac_cv_search_powf+:} false; then : 7397 $as_echo_n "(cached) " >&6 7398else 7399 ac_func_search_save_LIBS=$LIBS 7400cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7401/* end confdefs.h. */ 7402 7403/* Override any GCC internal prototype to avoid an error. 7404 Use char because int might match the return type of a GCC 7405 builtin and then its argument prototype would still apply. */ 7406#ifdef __cplusplus 7407extern "C" 7408#endif 7409char powf (); 7410int 7411main () 7412{ 7413return powf (); 7414 ; 7415 return 0; 7416} 7417_ACEOF 7418for ac_lib in '' m; do 7419 if test -z "$ac_lib"; then 7420 ac_res="none required" 7421 else 7422 ac_res=-l$ac_lib 7423 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7424 fi 7425 if ac_fn_c_try_link "$LINENO"; then : 7426 ac_cv_search_powf=$ac_res 7427fi 7428rm -f core conftest.err conftest.$ac_objext \ 7429 conftest$ac_exeext 7430 if ${ac_cv_search_powf+:} false; then : 7431 break 7432fi 7433done 7434if ${ac_cv_search_powf+:} false; then : 7435 7436else 7437 ac_cv_search_powf=no 7438fi 7439rm conftest.$ac_ext 7440LIBS=$ac_func_search_save_LIBS 7441fi 7442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_powf" >&5 7443$as_echo "$ac_cv_search_powf" >&6; } 7444ac_res=$ac_cv_search_powf 7445if test "$ac_res" != no; then : 7446 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7447 E_FLAGS=$E_FLAGS" -DHAVE_POWF" 7448fi 7449 7450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing remainder" >&5 7451$as_echo_n "checking for library containing remainder... " >&6; } 7452if ${ac_cv_search_remainder+:} false; then : 7453 $as_echo_n "(cached) " >&6 7454else 7455 ac_func_search_save_LIBS=$LIBS 7456cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7457/* end confdefs.h. */ 7458 7459/* Override any GCC internal prototype to avoid an error. 7460 Use char because int might match the return type of a GCC 7461 builtin and then its argument prototype would still apply. */ 7462#ifdef __cplusplus 7463extern "C" 7464#endif 7465char remainder (); 7466int 7467main () 7468{ 7469return remainder (); 7470 ; 7471 return 0; 7472} 7473_ACEOF 7474for ac_lib in '' m; do 7475 if test -z "$ac_lib"; then 7476 ac_res="none required" 7477 else 7478 ac_res=-l$ac_lib 7479 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7480 fi 7481 if ac_fn_c_try_link "$LINENO"; then : 7482 ac_cv_search_remainder=$ac_res 7483fi 7484rm -f core conftest.err conftest.$ac_objext \ 7485 conftest$ac_exeext 7486 if ${ac_cv_search_remainder+:} false; then : 7487 break 7488fi 7489done 7490if ${ac_cv_search_remainder+:} false; then : 7491 7492else 7493 ac_cv_search_remainder=no 7494fi 7495rm conftest.$ac_ext 7496LIBS=$ac_func_search_save_LIBS 7497fi 7498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_remainder" >&5 7499$as_echo "$ac_cv_search_remainder" >&6; } 7500ac_res=$ac_cv_search_remainder 7501if test "$ac_res" != no; then : 7502 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7503 E_FLAGS=$E_FLAGS" -DHAVE_REMAINDER" 7504fi 7505 7506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing round" >&5 7507$as_echo_n "checking for library containing round... " >&6; } 7508if ${ac_cv_search_round+:} false; then : 7509 $as_echo_n "(cached) " >&6 7510else 7511 ac_func_search_save_LIBS=$LIBS 7512cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7513/* end confdefs.h. */ 7514 7515/* Override any GCC internal prototype to avoid an error. 7516 Use char because int might match the return type of a GCC 7517 builtin and then its argument prototype would still apply. */ 7518#ifdef __cplusplus 7519extern "C" 7520#endif 7521char round (); 7522int 7523main () 7524{ 7525return round (); 7526 ; 7527 return 0; 7528} 7529_ACEOF 7530for ac_lib in '' m; do 7531 if test -z "$ac_lib"; then 7532 ac_res="none required" 7533 else 7534 ac_res=-l$ac_lib 7535 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7536 fi 7537 if ac_fn_c_try_link "$LINENO"; then : 7538 ac_cv_search_round=$ac_res 7539fi 7540rm -f core conftest.err conftest.$ac_objext \ 7541 conftest$ac_exeext 7542 if ${ac_cv_search_round+:} false; then : 7543 break 7544fi 7545done 7546if ${ac_cv_search_round+:} false; then : 7547 7548else 7549 ac_cv_search_round=no 7550fi 7551rm conftest.$ac_ext 7552LIBS=$ac_func_search_save_LIBS 7553fi 7554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_round" >&5 7555$as_echo "$ac_cv_search_round" >&6; } 7556ac_res=$ac_cv_search_round 7557if test "$ac_res" != no; then : 7558 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7559 E_FLAGS=$E_FLAGS" -DHAVE_ROUND" 7560fi 7561 7562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roundf" >&5 7563$as_echo_n "checking for library containing roundf... " >&6; } 7564if ${ac_cv_search_roundf+:} false; then : 7565 $as_echo_n "(cached) " >&6 7566else 7567 ac_func_search_save_LIBS=$LIBS 7568cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7569/* end confdefs.h. */ 7570 7571/* Override any GCC internal prototype to avoid an error. 7572 Use char because int might match the return type of a GCC 7573 builtin and then its argument prototype would still apply. */ 7574#ifdef __cplusplus 7575extern "C" 7576#endif 7577char roundf (); 7578int 7579main () 7580{ 7581return roundf (); 7582 ; 7583 return 0; 7584} 7585_ACEOF 7586for ac_lib in '' m; do 7587 if test -z "$ac_lib"; then 7588 ac_res="none required" 7589 else 7590 ac_res=-l$ac_lib 7591 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7592 fi 7593 if ac_fn_c_try_link "$LINENO"; then : 7594 ac_cv_search_roundf=$ac_res 7595fi 7596rm -f core conftest.err conftest.$ac_objext \ 7597 conftest$ac_exeext 7598 if ${ac_cv_search_roundf+:} false; then : 7599 break 7600fi 7601done 7602if ${ac_cv_search_roundf+:} false; then : 7603 7604else 7605 ac_cv_search_roundf=no 7606fi 7607rm conftest.$ac_ext 7608LIBS=$ac_func_search_save_LIBS 7609fi 7610{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roundf" >&5 7611$as_echo "$ac_cv_search_roundf" >&6; } 7612ac_res=$ac_cv_search_roundf 7613if test "$ac_res" != no; then : 7614 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7615 E_FLAGS=$E_FLAGS" -DHAVE_ROUNDF" 7616fi 7617 7618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing scalbn" >&5 7619$as_echo_n "checking for library containing scalbn... " >&6; } 7620if ${ac_cv_search_scalbn+:} false; then : 7621 $as_echo_n "(cached) " >&6 7622else 7623 ac_func_search_save_LIBS=$LIBS 7624cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7625/* end confdefs.h. */ 7626 7627/* Override any GCC internal prototype to avoid an error. 7628 Use char because int might match the return type of a GCC 7629 builtin and then its argument prototype would still apply. */ 7630#ifdef __cplusplus 7631extern "C" 7632#endif 7633char scalbn (); 7634int 7635main () 7636{ 7637return scalbn (); 7638 ; 7639 return 0; 7640} 7641_ACEOF 7642for ac_lib in '' m; do 7643 if test -z "$ac_lib"; then 7644 ac_res="none required" 7645 else 7646 ac_res=-l$ac_lib 7647 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7648 fi 7649 if ac_fn_c_try_link "$LINENO"; then : 7650 ac_cv_search_scalbn=$ac_res 7651fi 7652rm -f core conftest.err conftest.$ac_objext \ 7653 conftest$ac_exeext 7654 if ${ac_cv_search_scalbn+:} false; then : 7655 break 7656fi 7657done 7658if ${ac_cv_search_scalbn+:} false; then : 7659 7660else 7661 ac_cv_search_scalbn=no 7662fi 7663rm conftest.$ac_ext 7664LIBS=$ac_func_search_save_LIBS 7665fi 7666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_scalbn" >&5 7667$as_echo "$ac_cv_search_scalbn" >&6; } 7668ac_res=$ac_cv_search_scalbn 7669if test "$ac_res" != no; then : 7670 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7671 E_FLAGS=$E_FLAGS" -DHAVE_SCALBN" 7672fi 7673 7674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sinf" >&5 7675$as_echo_n "checking for library containing sinf... " >&6; } 7676if ${ac_cv_search_sinf+:} false; then : 7677 $as_echo_n "(cached) " >&6 7678else 7679 ac_func_search_save_LIBS=$LIBS 7680cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7681/* end confdefs.h. */ 7682 7683/* Override any GCC internal prototype to avoid an error. 7684 Use char because int might match the return type of a GCC 7685 builtin and then its argument prototype would still apply. */ 7686#ifdef __cplusplus 7687extern "C" 7688#endif 7689char sinf (); 7690int 7691main () 7692{ 7693return sinf (); 7694 ; 7695 return 0; 7696} 7697_ACEOF 7698for ac_lib in '' m; do 7699 if test -z "$ac_lib"; then 7700 ac_res="none required" 7701 else 7702 ac_res=-l$ac_lib 7703 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7704 fi 7705 if ac_fn_c_try_link "$LINENO"; then : 7706 ac_cv_search_sinf=$ac_res 7707fi 7708rm -f core conftest.err conftest.$ac_objext \ 7709 conftest$ac_exeext 7710 if ${ac_cv_search_sinf+:} false; then : 7711 break 7712fi 7713done 7714if ${ac_cv_search_sinf+:} false; then : 7715 7716else 7717 ac_cv_search_sinf=no 7718fi 7719rm conftest.$ac_ext 7720LIBS=$ac_func_search_save_LIBS 7721fi 7722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sinf" >&5 7723$as_echo "$ac_cv_search_sinf" >&6; } 7724ac_res=$ac_cv_search_sinf 7725if test "$ac_res" != no; then : 7726 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7727 E_FLAGS=$E_FLAGS" -DHAVE_SINF" 7728fi 7729 7730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrtf" >&5 7731$as_echo_n "checking for library containing sqrtf... " >&6; } 7732if ${ac_cv_search_sqrtf+:} false; then : 7733 $as_echo_n "(cached) " >&6 7734else 7735 ac_func_search_save_LIBS=$LIBS 7736cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7737/* end confdefs.h. */ 7738 7739/* Override any GCC internal prototype to avoid an error. 7740 Use char because int might match the return type of a GCC 7741 builtin and then its argument prototype would still apply. */ 7742#ifdef __cplusplus 7743extern "C" 7744#endif 7745char sqrtf (); 7746int 7747main () 7748{ 7749return sqrtf (); 7750 ; 7751 return 0; 7752} 7753_ACEOF 7754for ac_lib in '' m; do 7755 if test -z "$ac_lib"; then 7756 ac_res="none required" 7757 else 7758 ac_res=-l$ac_lib 7759 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7760 fi 7761 if ac_fn_c_try_link "$LINENO"; then : 7762 ac_cv_search_sqrtf=$ac_res 7763fi 7764rm -f core conftest.err conftest.$ac_objext \ 7765 conftest$ac_exeext 7766 if ${ac_cv_search_sqrtf+:} false; then : 7767 break 7768fi 7769done 7770if ${ac_cv_search_sqrtf+:} false; then : 7771 7772else 7773 ac_cv_search_sqrtf=no 7774fi 7775rm conftest.$ac_ext 7776LIBS=$ac_func_search_save_LIBS 7777fi 7778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrtf" >&5 7779$as_echo "$ac_cv_search_sqrtf" >&6; } 7780ac_res=$ac_cv_search_sqrtf 7781if test "$ac_res" != no; then : 7782 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7783 E_FLAGS=$E_FLAGS" -DHAVE_SQRTF" 7784fi 7785 7786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing tgamma" >&5 7787$as_echo_n "checking for library containing tgamma... " >&6; } 7788if ${ac_cv_search_tgamma+:} false; then : 7789 $as_echo_n "(cached) " >&6 7790else 7791 ac_func_search_save_LIBS=$LIBS 7792cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7793/* end confdefs.h. */ 7794 7795/* Override any GCC internal prototype to avoid an error. 7796 Use char because int might match the return type of a GCC 7797 builtin and then its argument prototype would still apply. */ 7798#ifdef __cplusplus 7799extern "C" 7800#endif 7801char tgamma (); 7802int 7803main () 7804{ 7805return tgamma (); 7806 ; 7807 return 0; 7808} 7809_ACEOF 7810for ac_lib in '' m; do 7811 if test -z "$ac_lib"; then 7812 ac_res="none required" 7813 else 7814 ac_res=-l$ac_lib 7815 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7816 fi 7817 if ac_fn_c_try_link "$LINENO"; then : 7818 ac_cv_search_tgamma=$ac_res 7819fi 7820rm -f core conftest.err conftest.$ac_objext \ 7821 conftest$ac_exeext 7822 if ${ac_cv_search_tgamma+:} false; then : 7823 break 7824fi 7825done 7826if ${ac_cv_search_tgamma+:} false; then : 7827 7828else 7829 ac_cv_search_tgamma=no 7830fi 7831rm conftest.$ac_ext 7832LIBS=$ac_func_search_save_LIBS 7833fi 7834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgamma" >&5 7835$as_echo "$ac_cv_search_tgamma" >&6; } 7836ac_res=$ac_cv_search_tgamma 7837if test "$ac_res" != no; then : 7838 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7839 E_FLAGS=$E_FLAGS" -DHAVE_TGAMMA" 7840fi 7841 7842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing trunc" >&5 7843$as_echo_n "checking for library containing trunc... " >&6; } 7844if ${ac_cv_search_trunc+:} false; then : 7845 $as_echo_n "(cached) " >&6 7846else 7847 ac_func_search_save_LIBS=$LIBS 7848cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7849/* end confdefs.h. */ 7850 7851/* Override any GCC internal prototype to avoid an error. 7852 Use char because int might match the return type of a GCC 7853 builtin and then its argument prototype would still apply. */ 7854#ifdef __cplusplus 7855extern "C" 7856#endif 7857char trunc (); 7858int 7859main () 7860{ 7861return trunc (); 7862 ; 7863 return 0; 7864} 7865_ACEOF 7866for ac_lib in '' m; do 7867 if test -z "$ac_lib"; then 7868 ac_res="none required" 7869 else 7870 ac_res=-l$ac_lib 7871 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7872 fi 7873 if ac_fn_c_try_link "$LINENO"; then : 7874 ac_cv_search_trunc=$ac_res 7875fi 7876rm -f core conftest.err conftest.$ac_objext \ 7877 conftest$ac_exeext 7878 if ${ac_cv_search_trunc+:} false; then : 7879 break 7880fi 7881done 7882if ${ac_cv_search_trunc+:} false; then : 7883 7884else 7885 ac_cv_search_trunc=no 7886fi 7887rm conftest.$ac_ext 7888LIBS=$ac_func_search_save_LIBS 7889fi 7890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_trunc" >&5 7891$as_echo "$ac_cv_search_trunc" >&6; } 7892ac_res=$ac_cv_search_trunc 7893if test "$ac_res" != no; then : 7894 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7895 E_FLAGS=$E_FLAGS" -DHAVE_TRUNC" 7896fi 7897 7898 7899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzclearerr" >&5 7900$as_echo_n "checking for library containing gzclearerr... " >&6; } 7901if ${ac_cv_search_gzclearerr+:} false; then : 7902 $as_echo_n "(cached) " >&6 7903else 7904 ac_func_search_save_LIBS=$LIBS 7905cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7906/* end confdefs.h. */ 7907 7908/* Override any GCC internal prototype to avoid an error. 7909 Use char because int might match the return type of a GCC 7910 builtin and then its argument prototype would still apply. */ 7911#ifdef __cplusplus 7912extern "C" 7913#endif 7914char gzclearerr (); 7915int 7916main () 7917{ 7918return gzclearerr (); 7919 ; 7920 return 0; 7921} 7922_ACEOF 7923for ac_lib in '' z; do 7924 if test -z "$ac_lib"; then 7925 ac_res="none required" 7926 else 7927 ac_res=-l$ac_lib 7928 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7929 fi 7930 if ac_fn_c_try_link "$LINENO"; then : 7931 ac_cv_search_gzclearerr=$ac_res 7932fi 7933rm -f core conftest.err conftest.$ac_objext \ 7934 conftest$ac_exeext 7935 if ${ac_cv_search_gzclearerr+:} false; then : 7936 break 7937fi 7938done 7939if ${ac_cv_search_gzclearerr+:} false; then : 7940 7941else 7942 ac_cv_search_gzclearerr=no 7943fi 7944rm conftest.$ac_ext 7945LIBS=$ac_func_search_save_LIBS 7946fi 7947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzclearerr" >&5 7948$as_echo "$ac_cv_search_gzclearerr" >&6; } 7949ac_res=$ac_cv_search_gzclearerr 7950if test "$ac_res" != no; then : 7951 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 7952 E_FLAGS=$E_FLAGS" -DPROG_HAS_ZLIB" 7953else 7954 { $as_echo "$as_me:${as_lineno-$LINENO}: zlib seems to be missing, loading of supplied files will most likely not going to work." >&5 7955$as_echo "$as_me: zlib seems to be missing, loading of supplied files will most likely not going to work." >&6;} 7956fi 7957 7958 7959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing arc4random" >&5 7960$as_echo_n "checking for library containing arc4random... " >&6; } 7961if ${ac_cv_search_arc4random+:} false; then : 7962 $as_echo_n "(cached) " >&6 7963else 7964 ac_func_search_save_LIBS=$LIBS 7965cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7966/* end confdefs.h. */ 7967 7968/* Override any GCC internal prototype to avoid an error. 7969 Use char because int might match the return type of a GCC 7970 builtin and then its argument prototype would still apply. */ 7971#ifdef __cplusplus 7972extern "C" 7973#endif 7974char arc4random (); 7975int 7976main () 7977{ 7978return arc4random (); 7979 ; 7980 return 0; 7981} 7982_ACEOF 7983for ac_lib in '' bsd; do 7984 if test -z "$ac_lib"; then 7985 ac_res="none required" 7986 else 7987 ac_res=-l$ac_lib 7988 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7989 fi 7990 if ac_fn_c_try_link "$LINENO"; then : 7991 ac_cv_search_arc4random=$ac_res 7992fi 7993rm -f core conftest.err conftest.$ac_objext \ 7994 conftest$ac_exeext 7995 if ${ac_cv_search_arc4random+:} false; then : 7996 break 7997fi 7998done 7999if ${ac_cv_search_arc4random+:} false; then : 8000 8001else 8002 ac_cv_search_arc4random=no 8003fi 8004rm conftest.$ac_ext 8005LIBS=$ac_func_search_save_LIBS 8006fi 8007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_arc4random" >&5 8008$as_echo "$ac_cv_search_arc4random" >&6; } 8009ac_res=$ac_cv_search_arc4random 8010if test "$ac_res" != no; then : 8011 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 8012 E_FLAGS=$E_FLAGS" -DPROG_HAS_LIBBSD" 8013fi 8014 8015 8016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getnetname" >&5 8017$as_echo_n "checking for library containing getnetname... " >&6; } 8018if ${ac_cv_search_getnetname+:} false; then : 8019 $as_echo_n "(cached) " >&6 8020else 8021 ac_func_search_save_LIBS=$LIBS 8022cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8023/* end confdefs.h. */ 8024 8025/* Override any GCC internal prototype to avoid an error. 8026 Use char because int might match the return type of a GCC 8027 builtin and then its argument prototype would still apply. */ 8028#ifdef __cplusplus 8029extern "C" 8030#endif 8031char getnetname (); 8032int 8033main () 8034{ 8035return getnetname (); 8036 ; 8037 return 0; 8038} 8039_ACEOF 8040for ac_lib in '' nsl; do 8041 if test -z "$ac_lib"; then 8042 ac_res="none required" 8043 else 8044 ac_res=-l$ac_lib 8045 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 8046 fi 8047 if ac_fn_c_try_link "$LINENO"; then : 8048 ac_cv_search_getnetname=$ac_res 8049fi 8050rm -f core conftest.err conftest.$ac_objext \ 8051 conftest$ac_exeext 8052 if ${ac_cv_search_getnetname+:} false; then : 8053 break 8054fi 8055done 8056if ${ac_cv_search_getnetname+:} false; then : 8057 8058else 8059 ac_cv_search_getnetname=no 8060fi 8061rm conftest.$ac_ext 8062LIBS=$ac_func_search_save_LIBS 8063fi 8064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnetname" >&5 8065$as_echo "$ac_cv_search_getnetname" >&6; } 8066ac_res=$ac_cv_search_getnetname 8067if test "$ac_res" != no; then : 8068 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 8069 8070fi 8071 8072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5 8073$as_echo_n "checking for library containing inet_ntop... " >&6; } 8074if ${ac_cv_search_inet_ntop+:} false; then : 8075 $as_echo_n "(cached) " >&6 8076else 8077 ac_func_search_save_LIBS=$LIBS 8078cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8079/* end confdefs.h. */ 8080 8081/* Override any GCC internal prototype to avoid an error. 8082 Use char because int might match the return type of a GCC 8083 builtin and then its argument prototype would still apply. */ 8084#ifdef __cplusplus 8085extern "C" 8086#endif 8087char inet_ntop (); 8088int 8089main () 8090{ 8091return inet_ntop (); 8092 ; 8093 return 0; 8094} 8095_ACEOF 8096for ac_lib in '' nsl; do 8097 if test -z "$ac_lib"; then 8098 ac_res="none required" 8099 else 8100 ac_res=-l$ac_lib 8101 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 8102 fi 8103 if ac_fn_c_try_link "$LINENO"; then : 8104 ac_cv_search_inet_ntop=$ac_res 8105fi 8106rm -f core conftest.err conftest.$ac_objext \ 8107 conftest$ac_exeext 8108 if ${ac_cv_search_inet_ntop+:} false; then : 8109 break 8110fi 8111done 8112if ${ac_cv_search_inet_ntop+:} false; then : 8113 8114else 8115 ac_cv_search_inet_ntop=no 8116fi 8117rm conftest.$ac_ext 8118LIBS=$ac_func_search_save_LIBS 8119fi 8120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_ntop" >&5 8121$as_echo "$ac_cv_search_inet_ntop" >&6; } 8122ac_res=$ac_cv_search_inet_ntop 8123if test "$ac_res" != no; then : 8124 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 8125 E_FLAGS=$E_FLAGS" -DHAVE_INET_NTOP" 8126fi 8127 8128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 8129$as_echo_n "checking for library containing socket... " >&6; } 8130if ${ac_cv_search_socket+:} false; then : 8131 $as_echo_n "(cached) " >&6 8132else 8133 ac_func_search_save_LIBS=$LIBS 8134cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8135/* end confdefs.h. */ 8136 8137/* Override any GCC internal prototype to avoid an error. 8138 Use char because int might match the return type of a GCC 8139 builtin and then its argument prototype would still apply. */ 8140#ifdef __cplusplus 8141extern "C" 8142#endif 8143char socket (); 8144int 8145main () 8146{ 8147return socket (); 8148 ; 8149 return 0; 8150} 8151_ACEOF 8152for ac_lib in '' socket nsl; do 8153 if test -z "$ac_lib"; then 8154 ac_res="none required" 8155 else 8156 ac_res=-l$ac_lib 8157 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 8158 fi 8159 if ac_fn_c_try_link "$LINENO"; then : 8160 ac_cv_search_socket=$ac_res 8161fi 8162rm -f core conftest.err conftest.$ac_objext \ 8163 conftest$ac_exeext 8164 if ${ac_cv_search_socket+:} false; then : 8165 break 8166fi 8167done 8168if ${ac_cv_search_socket+:} false; then : 8169 8170else 8171 ac_cv_search_socket=no 8172fi 8173rm conftest.$ac_ext 8174LIBS=$ac_func_search_save_LIBS 8175fi 8176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 8177$as_echo "$ac_cv_search_socket" >&6; } 8178ac_res=$ac_cv_search_socket 8179if test "$ac_res" != no; then : 8180 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 8181 8182fi 8183 8184 8185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing _oss_ioctl" >&5 8186$as_echo_n "checking for library containing _oss_ioctl... " >&6; } 8187if ${ac_cv_search__oss_ioctl+:} false; then : 8188 $as_echo_n "(cached) " >&6 8189else 8190 ac_func_search_save_LIBS=$LIBS 8191cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8192/* end confdefs.h. */ 8193 8194/* Override any GCC internal prototype to avoid an error. 8195 Use char because int might match the return type of a GCC 8196 builtin and then its argument prototype would still apply. */ 8197#ifdef __cplusplus 8198extern "C" 8199#endif 8200char _oss_ioctl (); 8201int 8202main () 8203{ 8204return _oss_ioctl (); 8205 ; 8206 return 0; 8207} 8208_ACEOF 8209for ac_lib in '' ossaudio; do 8210 if test -z "$ac_lib"; then 8211 ac_res="none required" 8212 else 8213 ac_res=-l$ac_lib 8214 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 8215 fi 8216 if ac_fn_c_try_link "$LINENO"; then : 8217 ac_cv_search__oss_ioctl=$ac_res 8218fi 8219rm -f core conftest.err conftest.$ac_objext \ 8220 conftest$ac_exeext 8221 if ${ac_cv_search__oss_ioctl+:} false; then : 8222 break 8223fi 8224done 8225if ${ac_cv_search__oss_ioctl+:} false; then : 8226 8227else 8228 ac_cv_search__oss_ioctl=no 8229fi 8230rm conftest.$ac_ext 8231LIBS=$ac_func_search_save_LIBS 8232fi 8233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search__oss_ioctl" >&5 8234$as_echo "$ac_cv_search__oss_ioctl" >&6; } 8235ac_res=$ac_cv_search__oss_ioctl 8236if test "$ac_res" != no; then : 8237 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 8238 8239fi 8240 8241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sio_open" >&5 8242$as_echo_n "checking for library containing sio_open... " >&6; } 8243if ${ac_cv_search_sio_open+:} false; then : 8244 $as_echo_n "(cached) " >&6 8245else 8246 ac_func_search_save_LIBS=$LIBS 8247cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8248/* end confdefs.h. */ 8249 8250/* Override any GCC internal prototype to avoid an error. 8251 Use char because int might match the return type of a GCC 8252 builtin and then its argument prototype would still apply. */ 8253#ifdef __cplusplus 8254extern "C" 8255#endif 8256char sio_open (); 8257int 8258main () 8259{ 8260return sio_open (); 8261 ; 8262 return 0; 8263} 8264_ACEOF 8265for ac_lib in '' sndio; do 8266 if test -z "$ac_lib"; then 8267 ac_res="none required" 8268 else 8269 ac_res=-l$ac_lib 8270 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 8271 fi 8272 if ac_fn_c_try_link "$LINENO"; then : 8273 ac_cv_search_sio_open=$ac_res 8274fi 8275rm -f core conftest.err conftest.$ac_objext \ 8276 conftest$ac_exeext 8277 if ${ac_cv_search_sio_open+:} false; then : 8278 break 8279fi 8280done 8281if ${ac_cv_search_sio_open+:} false; then : 8282 8283else 8284 ac_cv_search_sio_open=no 8285fi 8286rm conftest.$ac_ext 8287LIBS=$ac_func_search_save_LIBS 8288fi 8289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sio_open" >&5 8290$as_echo "$ac_cv_search_sio_open" >&6; } 8291ac_res=$ac_cv_search_sio_open 8292if test "$ac_res" != no; then : 8293 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 8294 E_FLAGS=$E_FLAGS" -DPROG_HAS_SNDIO" 8295fi 8296 8297 8298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __stack_chk_fail" >&5 8299$as_echo_n "checking for library containing __stack_chk_fail... " >&6; } 8300if ${ac_cv_search___stack_chk_fail+:} false; then : 8301 $as_echo_n "(cached) " >&6 8302else 8303 ac_func_search_save_LIBS=$LIBS 8304cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8305/* end confdefs.h. */ 8306 8307/* Override any GCC internal prototype to avoid an error. 8308 Use char because int might match the return type of a GCC 8309 builtin and then its argument prototype would still apply. */ 8310#ifdef __cplusplus 8311extern "C" 8312#endif 8313char __stack_chk_fail (); 8314int 8315main () 8316{ 8317return __stack_chk_fail (); 8318 ; 8319 return 0; 8320} 8321_ACEOF 8322for ac_lib in '' ssp; do 8323 if test -z "$ac_lib"; then 8324 ac_res="none required" 8325 else 8326 ac_res=-l$ac_lib 8327 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 8328 fi 8329 if ac_fn_c_try_link "$LINENO"; then : 8330 ac_cv_search___stack_chk_fail=$ac_res 8331fi 8332rm -f core conftest.err conftest.$ac_objext \ 8333 conftest$ac_exeext 8334 if ${ac_cv_search___stack_chk_fail+:} false; then : 8335 break 8336fi 8337done 8338if ${ac_cv_search___stack_chk_fail+:} false; then : 8339 8340else 8341 ac_cv_search___stack_chk_fail=no 8342fi 8343rm conftest.$ac_ext 8344LIBS=$ac_func_search_save_LIBS 8345fi 8346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___stack_chk_fail" >&5 8347$as_echo "$ac_cv_search___stack_chk_fail" >&6; } 8348ac_res=$ac_cv_search___stack_chk_fail 8349if test "$ac_res" != no; then : 8350 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 8351 8352fi 8353 8354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __fixdfti" >&5 8355$as_echo_n "checking for library containing __fixdfti... " >&6; } 8356if ${ac_cv_search___fixdfti+:} false; then : 8357 $as_echo_n "(cached) " >&6 8358else 8359 ac_func_search_save_LIBS=$LIBS 8360cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8361/* end confdefs.h. */ 8362 8363/* Override any GCC internal prototype to avoid an error. 8364 Use char because int might match the return type of a GCC 8365 builtin and then its argument prototype would still apply. */ 8366#ifdef __cplusplus 8367extern "C" 8368#endif 8369char __fixdfti (); 8370int 8371main () 8372{ 8373return __fixdfti (); 8374 ; 8375 return 0; 8376} 8377_ACEOF 8378for ac_lib in '' gcc; do 8379 if test -z "$ac_lib"; then 8380 ac_res="none required" 8381 else 8382 ac_res=-l$ac_lib 8383 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 8384 fi 8385 if ac_fn_c_try_link "$LINENO"; then : 8386 ac_cv_search___fixdfti=$ac_res 8387fi 8388rm -f core conftest.err conftest.$ac_objext \ 8389 conftest$ac_exeext 8390 if ${ac_cv_search___fixdfti+:} false; then : 8391 break 8392fi 8393done 8394if ${ac_cv_search___fixdfti+:} false; then : 8395 8396else 8397 ac_cv_search___fixdfti=no 8398fi 8399rm conftest.$ac_ext 8400LIBS=$ac_func_search_save_LIBS 8401fi 8402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___fixdfti" >&5 8403$as_echo "$ac_cv_search___fixdfti" >&6; } 8404ac_res=$ac_cv_search___fixdfti 8405if test "$ac_res" != no; then : 8406 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 8407 8408fi 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 8420 if test -n "$ac_tool_prefix"; then 8421 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 8422set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 8423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8424$as_echo_n "checking for $ac_word... " >&6; } 8425if ${ac_cv_path_PKG_CONFIG+:} false; then : 8426 $as_echo_n "(cached) " >&6 8427else 8428 case $PKG_CONFIG in 8429 [\\/]* | ?:[\\/]*) 8430 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 8431 ;; 8432 *) 8433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8434for as_dir in $PATH 8435do 8436 IFS=$as_save_IFS 8437 test -z "$as_dir" && as_dir=. 8438 for ac_exec_ext in '' $ac_executable_extensions; do 8439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8440 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8442 break 2 8443 fi 8444done 8445 done 8446IFS=$as_save_IFS 8447 8448 ;; 8449esac 8450fi 8451PKG_CONFIG=$ac_cv_path_PKG_CONFIG 8452if test -n "$PKG_CONFIG"; then 8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 8454$as_echo "$PKG_CONFIG" >&6; } 8455else 8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8457$as_echo "no" >&6; } 8458fi 8459 8460 8461fi 8462if test -z "$ac_cv_path_PKG_CONFIG"; then 8463 ac_pt_PKG_CONFIG=$PKG_CONFIG 8464 # Extract the first word of "pkg-config", so it can be a program name with args. 8465set dummy pkg-config; ac_word=$2 8466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8467$as_echo_n "checking for $ac_word... " >&6; } 8468if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 8469 $as_echo_n "(cached) " >&6 8470else 8471 case $ac_pt_PKG_CONFIG in 8472 [\\/]* | ?:[\\/]*) 8473 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 8474 ;; 8475 *) 8476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8477for as_dir in $PATH 8478do 8479 IFS=$as_save_IFS 8480 test -z "$as_dir" && as_dir=. 8481 for ac_exec_ext in '' $ac_executable_extensions; do 8482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8483 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 8484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8485 break 2 8486 fi 8487done 8488 done 8489IFS=$as_save_IFS 8490 8491 ;; 8492esac 8493fi 8494ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 8495if test -n "$ac_pt_PKG_CONFIG"; then 8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 8497$as_echo "$ac_pt_PKG_CONFIG" >&6; } 8498else 8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8500$as_echo "no" >&6; } 8501fi 8502 8503 if test "x$ac_pt_PKG_CONFIG" = x; then 8504 PKG_CONFIG="" 8505 else 8506 case $cross_compiling:$ac_tool_warned in 8507yes:) 8508{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8509$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8510ac_tool_warned=yes ;; 8511esac 8512 PKG_CONFIG=$ac_pt_PKG_CONFIG 8513 fi 8514else 8515 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 8516fi 8517 8518fi 8519if test -n "$PKG_CONFIG"; then 8520 _pkg_min_version=0.9.0 8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 8522$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 8523 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8525$as_echo "yes" >&6; } 8526 else 8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8528$as_echo "no" >&6; } 8529 PKG_CONFIG="" 8530 fi 8531fi 8532 8533if test -n "$PKG_CONFIG" && \ 8534 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 gl xext x11\""; } >&5 8535 ($PKG_CONFIG --exists --print-errors "freetype2 gl xext x11") 2>&5 8536 ac_status=$? 8537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8538 test $ac_status = 0; }; then 8539 E_FLAGS=$E_FLAGS" -DPROG_HAS_X11" 8540fi 8541 8542pkg_failed=no 8543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE2" >&5 8544$as_echo_n "checking for FREETYPE2... " >&6; } 8545 8546if test -n "$FREETYPE2_CFLAGS"; then 8547 pkg_cv_FREETYPE2_CFLAGS="$FREETYPE2_CFLAGS" 8548 elif test -n "$PKG_CONFIG"; then 8549 if test -n "$PKG_CONFIG" && \ 8550 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5 8551 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 8552 ac_status=$? 8553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8554 test $ac_status = 0; }; then 8555 pkg_cv_FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null` 8556 test "x$?" != "x0" && pkg_failed=yes 8557else 8558 pkg_failed=yes 8559fi 8560 else 8561 pkg_failed=untried 8562fi 8563if test -n "$FREETYPE2_LIBS"; then 8564 pkg_cv_FREETYPE2_LIBS="$FREETYPE2_LIBS" 8565 elif test -n "$PKG_CONFIG"; then 8566 if test -n "$PKG_CONFIG" && \ 8567 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5 8568 ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5 8569 ac_status=$? 8570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8571 test $ac_status = 0; }; then 8572 pkg_cv_FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null` 8573 test "x$?" != "x0" && pkg_failed=yes 8574else 8575 pkg_failed=yes 8576fi 8577 else 8578 pkg_failed=untried 8579fi 8580 8581 8582 8583if test $pkg_failed = yes; then 8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8585$as_echo "no" >&6; } 8586 8587if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8588 _pkg_short_errors_supported=yes 8589else 8590 _pkg_short_errors_supported=no 8591fi 8592 if test $_pkg_short_errors_supported = yes; then 8593 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1` 8594 else 8595 FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1` 8596 fi 8597 # Put the nasty error message in config.log where it belongs 8598 echo "$FREETYPE2_PKG_ERRORS" >&5 8599 8600 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for FREETYPE2/windowing system" >&5 8601$as_echo "$as_me: No support for FREETYPE2/windowing system" >&6;} 8602elif test $pkg_failed = untried; then 8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8604$as_echo "no" >&6; } 8605 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for FREETYPE2/windowing system" >&5 8606$as_echo "$as_me: No support for FREETYPE2/windowing system" >&6;} 8607else 8608 FREETYPE2_CFLAGS=$pkg_cv_FREETYPE2_CFLAGS 8609 FREETYPE2_LIBS=$pkg_cv_FREETYPE2_LIBS 8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8611$as_echo "yes" >&6; } 8612 8613fi 8614 8615pkg_failed=no 8616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5 8617$as_echo_n "checking for GL... " >&6; } 8618 8619if test -n "$GL_CFLAGS"; then 8620 pkg_cv_GL_CFLAGS="$GL_CFLAGS" 8621 elif test -n "$PKG_CONFIG"; then 8622 if test -n "$PKG_CONFIG" && \ 8623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl\""; } >&5 8624 ($PKG_CONFIG --exists --print-errors "gl") 2>&5 8625 ac_status=$? 8626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8627 test $ac_status = 0; }; then 8628 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "gl" 2>/dev/null` 8629 test "x$?" != "x0" && pkg_failed=yes 8630else 8631 pkg_failed=yes 8632fi 8633 else 8634 pkg_failed=untried 8635fi 8636if test -n "$GL_LIBS"; then 8637 pkg_cv_GL_LIBS="$GL_LIBS" 8638 elif test -n "$PKG_CONFIG"; then 8639 if test -n "$PKG_CONFIG" && \ 8640 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gl\""; } >&5 8641 ($PKG_CONFIG --exists --print-errors "gl") 2>&5 8642 ac_status=$? 8643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8644 test $ac_status = 0; }; then 8645 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "gl" 2>/dev/null` 8646 test "x$?" != "x0" && pkg_failed=yes 8647else 8648 pkg_failed=yes 8649fi 8650 else 8651 pkg_failed=untried 8652fi 8653 8654 8655 8656if test $pkg_failed = yes; then 8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8658$as_echo "no" >&6; } 8659 8660if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8661 _pkg_short_errors_supported=yes 8662else 8663 _pkg_short_errors_supported=no 8664fi 8665 if test $_pkg_short_errors_supported = yes; then 8666 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gl" 2>&1` 8667 else 8668 GL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gl" 2>&1` 8669 fi 8670 # Put the nasty error message in config.log where it belongs 8671 echo "$GL_PKG_ERRORS" >&5 8672 8673 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for GL/windowing system" >&5 8674$as_echo "$as_me: No support for GL/windowing system" >&6;} 8675elif test $pkg_failed = untried; then 8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8677$as_echo "no" >&6; } 8678 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for GL/windowing system" >&5 8679$as_echo "$as_me: No support for GL/windowing system" >&6;} 8680else 8681 GL_CFLAGS=$pkg_cv_GL_CFLAGS 8682 GL_LIBS=$pkg_cv_GL_LIBS 8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8684$as_echo "yes" >&6; } 8685 8686fi 8687 8688pkg_failed=no 8689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5 8690$as_echo_n "checking for XEXT... " >&6; } 8691 8692if test -n "$XEXT_CFLAGS"; then 8693 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS" 8694 elif test -n "$PKG_CONFIG"; then 8695 if test -n "$PKG_CONFIG" && \ 8696 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5 8697 ($PKG_CONFIG --exists --print-errors "xext") 2>&5 8698 ac_status=$? 8699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8700 test $ac_status = 0; }; then 8701 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null` 8702 test "x$?" != "x0" && pkg_failed=yes 8703else 8704 pkg_failed=yes 8705fi 8706 else 8707 pkg_failed=untried 8708fi 8709if test -n "$XEXT_LIBS"; then 8710 pkg_cv_XEXT_LIBS="$XEXT_LIBS" 8711 elif test -n "$PKG_CONFIG"; then 8712 if test -n "$PKG_CONFIG" && \ 8713 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5 8714 ($PKG_CONFIG --exists --print-errors "xext") 2>&5 8715 ac_status=$? 8716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8717 test $ac_status = 0; }; then 8718 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null` 8719 test "x$?" != "x0" && pkg_failed=yes 8720else 8721 pkg_failed=yes 8722fi 8723 else 8724 pkg_failed=untried 8725fi 8726 8727 8728 8729if test $pkg_failed = yes; then 8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8731$as_echo "no" >&6; } 8732 8733if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8734 _pkg_short_errors_supported=yes 8735else 8736 _pkg_short_errors_supported=no 8737fi 8738 if test $_pkg_short_errors_supported = yes; then 8739 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xext" 2>&1` 8740 else 8741 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xext" 2>&1` 8742 fi 8743 # Put the nasty error message in config.log where it belongs 8744 echo "$XEXT_PKG_ERRORS" >&5 8745 8746 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for XEXT/windowing system" >&5 8747$as_echo "$as_me: No support for XEXT/windowing system" >&6;} 8748elif test $pkg_failed = untried; then 8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8750$as_echo "no" >&6; } 8751 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for XEXT/windowing system" >&5 8752$as_echo "$as_me: No support for XEXT/windowing system" >&6;} 8753else 8754 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS 8755 XEXT_LIBS=$pkg_cv_XEXT_LIBS 8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8757$as_echo "yes" >&6; } 8758 8759fi 8760 8761pkg_failed=no 8762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5 8763$as_echo_n "checking for X11... " >&6; } 8764 8765if test -n "$X11_CFLAGS"; then 8766 pkg_cv_X11_CFLAGS="$X11_CFLAGS" 8767 elif test -n "$PKG_CONFIG"; then 8768 if test -n "$PKG_CONFIG" && \ 8769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 8770 ($PKG_CONFIG --exists --print-errors "x11") 2>&5 8771 ac_status=$? 8772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8773 test $ac_status = 0; }; then 8774 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null` 8775 test "x$?" != "x0" && pkg_failed=yes 8776else 8777 pkg_failed=yes 8778fi 8779 else 8780 pkg_failed=untried 8781fi 8782if test -n "$X11_LIBS"; then 8783 pkg_cv_X11_LIBS="$X11_LIBS" 8784 elif test -n "$PKG_CONFIG"; then 8785 if test -n "$PKG_CONFIG" && \ 8786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 8787 ($PKG_CONFIG --exists --print-errors "x11") 2>&5 8788 ac_status=$? 8789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8790 test $ac_status = 0; }; then 8791 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null` 8792 test "x$?" != "x0" && pkg_failed=yes 8793else 8794 pkg_failed=yes 8795fi 8796 else 8797 pkg_failed=untried 8798fi 8799 8800 8801 8802if test $pkg_failed = yes; then 8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8804$as_echo "no" >&6; } 8805 8806if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8807 _pkg_short_errors_supported=yes 8808else 8809 _pkg_short_errors_supported=no 8810fi 8811 if test $_pkg_short_errors_supported = yes; then 8812 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1` 8813 else 8814 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1` 8815 fi 8816 # Put the nasty error message in config.log where it belongs 8817 echo "$X11_PKG_ERRORS" >&5 8818 8819 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for X11/windowing system" >&5 8820$as_echo "$as_me: No support for X11/windowing system" >&6;} 8821elif test $pkg_failed = untried; then 8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8823$as_echo "no" >&6; } 8824 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for X11/windowing system" >&5 8825$as_echo "$as_me: No support for X11/windowing system" >&6;} 8826else 8827 X11_CFLAGS=$pkg_cv_X11_CFLAGS 8828 X11_LIBS=$pkg_cv_X11_LIBS 8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8830$as_echo "yes" >&6; } 8831 8832fi 8833 8834if test -n "$PKG_CONFIG" && \ 8835 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrandr\""; } >&5 8836 ($PKG_CONFIG --exists --print-errors "xrandr") 2>&5 8837 ac_status=$? 8838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8839 test $ac_status = 0; }; then 8840 E_FLAGS=$E_FLAGS" -DPROG_HAS_XRANDR" 8841fi 8842 8843pkg_failed=no 8844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRANDR" >&5 8845$as_echo_n "checking for XRANDR... " >&6; } 8846 8847if test -n "$XRANDR_CFLAGS"; then 8848 pkg_cv_XRANDR_CFLAGS="$XRANDR_CFLAGS" 8849 elif test -n "$PKG_CONFIG"; then 8850 if test -n "$PKG_CONFIG" && \ 8851 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrandr\""; } >&5 8852 ($PKG_CONFIG --exists --print-errors "xrandr") 2>&5 8853 ac_status=$? 8854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8855 test $ac_status = 0; }; then 8856 pkg_cv_XRANDR_CFLAGS=`$PKG_CONFIG --cflags "xrandr" 2>/dev/null` 8857 test "x$?" != "x0" && pkg_failed=yes 8858else 8859 pkg_failed=yes 8860fi 8861 else 8862 pkg_failed=untried 8863fi 8864if test -n "$XRANDR_LIBS"; then 8865 pkg_cv_XRANDR_LIBS="$XRANDR_LIBS" 8866 elif test -n "$PKG_CONFIG"; then 8867 if test -n "$PKG_CONFIG" && \ 8868 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrandr\""; } >&5 8869 ($PKG_CONFIG --exists --print-errors "xrandr") 2>&5 8870 ac_status=$? 8871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8872 test $ac_status = 0; }; then 8873 pkg_cv_XRANDR_LIBS=`$PKG_CONFIG --libs "xrandr" 2>/dev/null` 8874 test "x$?" != "x0" && pkg_failed=yes 8875else 8876 pkg_failed=yes 8877fi 8878 else 8879 pkg_failed=untried 8880fi 8881 8882 8883 8884if test $pkg_failed = yes; then 8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8886$as_echo "no" >&6; } 8887 8888if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8889 _pkg_short_errors_supported=yes 8890else 8891 _pkg_short_errors_supported=no 8892fi 8893 if test $_pkg_short_errors_supported = yes; then 8894 XRANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrandr" 2>&1` 8895 else 8896 XRANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrandr" 2>&1` 8897 fi 8898 # Put the nasty error message in config.log where it belongs 8899 echo "$XRANDR_PKG_ERRORS" >&5 8900 8901 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for XRandR extension" >&5 8902$as_echo "$as_me: No support for XRandR extension" >&6;} 8903elif test $pkg_failed = untried; then 8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8905$as_echo "no" >&6; } 8906 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for XRandR extension" >&5 8907$as_echo "$as_me: No support for XRandR extension" >&6;} 8908else 8909 XRANDR_CFLAGS=$pkg_cv_XRANDR_CFLAGS 8910 XRANDR_LIBS=$pkg_cv_XRANDR_LIBS 8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8912$as_echo "yes" >&6; } 8913 8914fi 8915 8916if test -n "$PKG_CONFIG" && \ 8917 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa_EXCLUDE\""; } >&5 8918 ($PKG_CONFIG --exists --print-errors "alsa_EXCLUDE") 2>&5 8919 ac_status=$? 8920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8921 test $ac_status = 0; }; then 8922 E_FLAGS=$E_FLAGS" -DPROG_HAS_ALSA" 8923fi 8924if test -n "$PKG_CONFIG" && \ 8925 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ao\""; } >&5 8926 ($PKG_CONFIG --exists --print-errors "ao") 2>&5 8927 ac_status=$? 8928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8929 test $ac_status = 0; }; then 8930 E_FLAGS=$E_FLAGS" -DPROG_HAS_AO" 8931fi 8932if test -n "$PKG_CONFIG" && \ 8933 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0\""; } >&5 8934 ($PKG_CONFIG --exists --print-errors "portaudio-2.0") 2>&5 8935 ac_status=$? 8936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8937 test $ac_status = 0; }; then 8938 E_FLAGS=$E_FLAGS" -DPROG_HAS_PORTAUDIO" 8939fi 8940if test -n "$PKG_CONFIG" && \ 8941 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\""; } >&5 8942 ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5 8943 ac_status=$? 8944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8945 test $ac_status = 0; }; then 8946 E_FLAGS=$E_FLAGS" -DPROG_HAS_PULSEAUDIO" 8947fi 8948 8949pkg_failed=no 8950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5 8951$as_echo_n "checking for ALSA... " >&6; } 8952 8953if test -n "$ALSA_CFLAGS"; then 8954 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS" 8955 elif test -n "$PKG_CONFIG"; then 8956 if test -n "$PKG_CONFIG" && \ 8957 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa_EXCLUDE\""; } >&5 8958 ($PKG_CONFIG --exists --print-errors "alsa_EXCLUDE") 2>&5 8959 ac_status=$? 8960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8961 test $ac_status = 0; }; then 8962 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa_EXCLUDE" 2>/dev/null` 8963 test "x$?" != "x0" && pkg_failed=yes 8964else 8965 pkg_failed=yes 8966fi 8967 else 8968 pkg_failed=untried 8969fi 8970if test -n "$ALSA_LIBS"; then 8971 pkg_cv_ALSA_LIBS="$ALSA_LIBS" 8972 elif test -n "$PKG_CONFIG"; then 8973 if test -n "$PKG_CONFIG" && \ 8974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa_EXCLUDE\""; } >&5 8975 ($PKG_CONFIG --exists --print-errors "alsa_EXCLUDE") 2>&5 8976 ac_status=$? 8977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8978 test $ac_status = 0; }; then 8979 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa_EXCLUDE" 2>/dev/null` 8980 test "x$?" != "x0" && pkg_failed=yes 8981else 8982 pkg_failed=yes 8983fi 8984 else 8985 pkg_failed=untried 8986fi 8987 8988 8989 8990if test $pkg_failed = yes; then 8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8992$as_echo "no" >&6; } 8993 8994if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8995 _pkg_short_errors_supported=yes 8996else 8997 _pkg_short_errors_supported=no 8998fi 8999 if test $_pkg_short_errors_supported = yes; then 9000 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa_EXCLUDE" 2>&1` 9001 else 9002 ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa_EXCLUDE" 2>&1` 9003 fi 9004 # Put the nasty error message in config.log where it belongs 9005 echo "$ALSA_PKG_ERRORS" >&5 9006 9007 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for ALSA" >&5 9008$as_echo "$as_me: No support for ALSA" >&6;} 9009elif test $pkg_failed = untried; then 9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9011$as_echo "no" >&6; } 9012 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for ALSA" >&5 9013$as_echo "$as_me: No support for ALSA" >&6;} 9014else 9015 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS 9016 ALSA_LIBS=$pkg_cv_ALSA_LIBS 9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9018$as_echo "yes" >&6; } 9019 9020fi 9021 9022pkg_failed=no 9023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AO" >&5 9024$as_echo_n "checking for AO... " >&6; } 9025 9026if test -n "$AO_CFLAGS"; then 9027 pkg_cv_AO_CFLAGS="$AO_CFLAGS" 9028 elif test -n "$PKG_CONFIG"; then 9029 if test -n "$PKG_CONFIG" && \ 9030 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ao\""; } >&5 9031 ($PKG_CONFIG --exists --print-errors "ao") 2>&5 9032 ac_status=$? 9033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9034 test $ac_status = 0; }; then 9035 pkg_cv_AO_CFLAGS=`$PKG_CONFIG --cflags "ao" 2>/dev/null` 9036 test "x$?" != "x0" && pkg_failed=yes 9037else 9038 pkg_failed=yes 9039fi 9040 else 9041 pkg_failed=untried 9042fi 9043if test -n "$AO_LIBS"; then 9044 pkg_cv_AO_LIBS="$AO_LIBS" 9045 elif test -n "$PKG_CONFIG"; then 9046 if test -n "$PKG_CONFIG" && \ 9047 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ao\""; } >&5 9048 ($PKG_CONFIG --exists --print-errors "ao") 2>&5 9049 ac_status=$? 9050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9051 test $ac_status = 0; }; then 9052 pkg_cv_AO_LIBS=`$PKG_CONFIG --libs "ao" 2>/dev/null` 9053 test "x$?" != "x0" && pkg_failed=yes 9054else 9055 pkg_failed=yes 9056fi 9057 else 9058 pkg_failed=untried 9059fi 9060 9061 9062 9063if test $pkg_failed = yes; then 9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9065$as_echo "no" >&6; } 9066 9067if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9068 _pkg_short_errors_supported=yes 9069else 9070 _pkg_short_errors_supported=no 9071fi 9072 if test $_pkg_short_errors_supported = yes; then 9073 AO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ao" 2>&1` 9074 else 9075 AO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ao" 2>&1` 9076 fi 9077 # Put the nasty error message in config.log where it belongs 9078 echo "$AO_PKG_ERRORS" >&5 9079 9080 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for AO" >&5 9081$as_echo "$as_me: No support for AO" >&6;} 9082elif test $pkg_failed = untried; then 9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9084$as_echo "no" >&6; } 9085 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for AO" >&5 9086$as_echo "$as_me: No support for AO" >&6;} 9087else 9088 AO_CFLAGS=$pkg_cv_AO_CFLAGS 9089 AO_LIBS=$pkg_cv_AO_LIBS 9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9091$as_echo "yes" >&6; } 9092 9093fi 9094 9095pkg_failed=no 9096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PORTAUDIO" >&5 9097$as_echo_n "checking for PORTAUDIO... " >&6; } 9098 9099if test -n "$PORTAUDIO_CFLAGS"; then 9100 pkg_cv_PORTAUDIO_CFLAGS="$PORTAUDIO_CFLAGS" 9101 elif test -n "$PKG_CONFIG"; then 9102 if test -n "$PKG_CONFIG" && \ 9103 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0\""; } >&5 9104 ($PKG_CONFIG --exists --print-errors "portaudio-2.0") 2>&5 9105 ac_status=$? 9106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9107 test $ac_status = 0; }; then 9108 pkg_cv_PORTAUDIO_CFLAGS=`$PKG_CONFIG --cflags "portaudio-2.0" 2>/dev/null` 9109 test "x$?" != "x0" && pkg_failed=yes 9110else 9111 pkg_failed=yes 9112fi 9113 else 9114 pkg_failed=untried 9115fi 9116if test -n "$PORTAUDIO_LIBS"; then 9117 pkg_cv_PORTAUDIO_LIBS="$PORTAUDIO_LIBS" 9118 elif test -n "$PKG_CONFIG"; then 9119 if test -n "$PKG_CONFIG" && \ 9120 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"portaudio-2.0\""; } >&5 9121 ($PKG_CONFIG --exists --print-errors "portaudio-2.0") 2>&5 9122 ac_status=$? 9123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9124 test $ac_status = 0; }; then 9125 pkg_cv_PORTAUDIO_LIBS=`$PKG_CONFIG --libs "portaudio-2.0" 2>/dev/null` 9126 test "x$?" != "x0" && pkg_failed=yes 9127else 9128 pkg_failed=yes 9129fi 9130 else 9131 pkg_failed=untried 9132fi 9133 9134 9135 9136if test $pkg_failed = yes; then 9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9138$as_echo "no" >&6; } 9139 9140if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9141 _pkg_short_errors_supported=yes 9142else 9143 _pkg_short_errors_supported=no 9144fi 9145 if test $_pkg_short_errors_supported = yes; then 9146 PORTAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "portaudio-2.0" 2>&1` 9147 else 9148 PORTAUDIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "portaudio-2.0" 2>&1` 9149 fi 9150 # Put the nasty error message in config.log where it belongs 9151 echo "$PORTAUDIO_PKG_ERRORS" >&5 9152 9153 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for PORTAUDIO" >&5 9154$as_echo "$as_me: No support for PORTAUDIO" >&6;} 9155elif test $pkg_failed = untried; then 9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9157$as_echo "no" >&6; } 9158 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for PORTAUDIO" >&5 9159$as_echo "$as_me: No support for PORTAUDIO" >&6;} 9160else 9161 PORTAUDIO_CFLAGS=$pkg_cv_PORTAUDIO_CFLAGS 9162 PORTAUDIO_LIBS=$pkg_cv_PORTAUDIO_LIBS 9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9164$as_echo "yes" >&6; } 9165 9166fi 9167 9168pkg_failed=no 9169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSEAUDIO" >&5 9170$as_echo_n "checking for PULSEAUDIO... " >&6; } 9171 9172if test -n "$PULSEAUDIO_CFLAGS"; then 9173 pkg_cv_PULSEAUDIO_CFLAGS="$PULSEAUDIO_CFLAGS" 9174 elif test -n "$PKG_CONFIG"; then 9175 if test -n "$PKG_CONFIG" && \ 9176 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\""; } >&5 9177 ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5 9178 ac_status=$? 9179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9180 test $ac_status = 0; }; then 9181 pkg_cv_PULSEAUDIO_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null` 9182 test "x$?" != "x0" && pkg_failed=yes 9183else 9184 pkg_failed=yes 9185fi 9186 else 9187 pkg_failed=untried 9188fi 9189if test -n "$PULSEAUDIO_LIBS"; then 9190 pkg_cv_PULSEAUDIO_LIBS="$PULSEAUDIO_LIBS" 9191 elif test -n "$PKG_CONFIG"; then 9192 if test -n "$PKG_CONFIG" && \ 9193 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\""; } >&5 9194 ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5 9195 ac_status=$? 9196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9197 test $ac_status = 0; }; then 9198 pkg_cv_PULSEAUDIO_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null` 9199 test "x$?" != "x0" && pkg_failed=yes 9200else 9201 pkg_failed=yes 9202fi 9203 else 9204 pkg_failed=untried 9205fi 9206 9207 9208 9209if test $pkg_failed = yes; then 9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9211$as_echo "no" >&6; } 9212 9213if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9214 _pkg_short_errors_supported=yes 9215else 9216 _pkg_short_errors_supported=no 9217fi 9218 if test $_pkg_short_errors_supported = yes; then 9219 PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpulse-simple" 2>&1` 9220 else 9221 PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpulse-simple" 2>&1` 9222 fi 9223 # Put the nasty error message in config.log where it belongs 9224 echo "$PULSEAUDIO_PKG_ERRORS" >&5 9225 9226 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for PULSEAUDIO" >&5 9227$as_echo "$as_me: No support for PULSEAUDIO" >&6;} 9228elif test $pkg_failed = untried; then 9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9230$as_echo "no" >&6; } 9231 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for PULSEAUDIO" >&5 9232$as_echo "$as_me: No support for PULSEAUDIO" >&6;} 9233else 9234 PULSEAUDIO_CFLAGS=$pkg_cv_PULSEAUDIO_CFLAGS 9235 PULSEAUDIO_LIBS=$pkg_cv_PULSEAUDIO_LIBS 9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9237$as_echo "yes" >&6; } 9238 9239fi 9240 9241if test -n "$PKG_CONFIG" && \ 9242 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac_EXCLUDE\""; } >&5 9243 ($PKG_CONFIG --exists --print-errors "flac_EXCLUDE") 2>&5 9244 ac_status=$? 9245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9246 test $ac_status = 0; }; then 9247 E_FLAGS=$E_FLAGS" -DPROG_HAS_FLAC" 9248fi 9249if test -n "$PKG_CONFIG" && \ 9250 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate_EXCLUDE\""; } >&5 9251 ($PKG_CONFIG --exists --print-errors "samplerate_EXCLUDE") 2>&5 9252 ac_status=$? 9253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9254 test $ac_status = 0; }; then 9255 E_FLAGS=$E_FLAGS" -DPROG_HAS_SAMPLERATE" 9256fi 9257 9258pkg_failed=no 9259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5 9260$as_echo_n "checking for FLAC... " >&6; } 9261 9262if test -n "$FLAC_CFLAGS"; then 9263 pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS" 9264 elif test -n "$PKG_CONFIG"; then 9265 if test -n "$PKG_CONFIG" && \ 9266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac_EXCLUDE\""; } >&5 9267 ($PKG_CONFIG --exists --print-errors "flac_EXCLUDE") 2>&5 9268 ac_status=$? 9269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9270 test $ac_status = 0; }; then 9271 pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "flac_EXCLUDE" 2>/dev/null` 9272 test "x$?" != "x0" && pkg_failed=yes 9273else 9274 pkg_failed=yes 9275fi 9276 else 9277 pkg_failed=untried 9278fi 9279if test -n "$FLAC_LIBS"; then 9280 pkg_cv_FLAC_LIBS="$FLAC_LIBS" 9281 elif test -n "$PKG_CONFIG"; then 9282 if test -n "$PKG_CONFIG" && \ 9283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"flac_EXCLUDE\""; } >&5 9284 ($PKG_CONFIG --exists --print-errors "flac_EXCLUDE") 2>&5 9285 ac_status=$? 9286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9287 test $ac_status = 0; }; then 9288 pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "flac_EXCLUDE" 2>/dev/null` 9289 test "x$?" != "x0" && pkg_failed=yes 9290else 9291 pkg_failed=yes 9292fi 9293 else 9294 pkg_failed=untried 9295fi 9296 9297 9298 9299if test $pkg_failed = yes; then 9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9301$as_echo "no" >&6; } 9302 9303if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9304 _pkg_short_errors_supported=yes 9305else 9306 _pkg_short_errors_supported=no 9307fi 9308 if test $_pkg_short_errors_supported = yes; then 9309 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "flac_EXCLUDE" 2>&1` 9310 else 9311 FLAC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "flac_EXCLUDE" 2>&1` 9312 fi 9313 # Put the nasty error message in config.log where it belongs 9314 echo "$FLAC_PKG_ERRORS" >&5 9315 9316 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for FLAC" >&5 9317$as_echo "$as_me: No support for FLAC" >&6;} 9318elif test $pkg_failed = untried; then 9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9320$as_echo "no" >&6; } 9321 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for FLAC" >&5 9322$as_echo "$as_me: No support for FLAC" >&6;} 9323else 9324 FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS 9325 FLAC_LIBS=$pkg_cv_FLAC_LIBS 9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9327$as_echo "yes" >&6; } 9328 9329fi 9330 9331pkg_failed=no 9332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SAMPLERATE" >&5 9333$as_echo_n "checking for SAMPLERATE... " >&6; } 9334 9335if test -n "$SAMPLERATE_CFLAGS"; then 9336 pkg_cv_SAMPLERATE_CFLAGS="$SAMPLERATE_CFLAGS" 9337 elif test -n "$PKG_CONFIG"; then 9338 if test -n "$PKG_CONFIG" && \ 9339 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate_EXCLUDE\""; } >&5 9340 ($PKG_CONFIG --exists --print-errors "samplerate_EXCLUDE") 2>&5 9341 ac_status=$? 9342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9343 test $ac_status = 0; }; then 9344 pkg_cv_SAMPLERATE_CFLAGS=`$PKG_CONFIG --cflags "samplerate_EXCLUDE" 2>/dev/null` 9345 test "x$?" != "x0" && pkg_failed=yes 9346else 9347 pkg_failed=yes 9348fi 9349 else 9350 pkg_failed=untried 9351fi 9352if test -n "$SAMPLERATE_LIBS"; then 9353 pkg_cv_SAMPLERATE_LIBS="$SAMPLERATE_LIBS" 9354 elif test -n "$PKG_CONFIG"; then 9355 if test -n "$PKG_CONFIG" && \ 9356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate_EXCLUDE\""; } >&5 9357 ($PKG_CONFIG --exists --print-errors "samplerate_EXCLUDE") 2>&5 9358 ac_status=$? 9359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9360 test $ac_status = 0; }; then 9361 pkg_cv_SAMPLERATE_LIBS=`$PKG_CONFIG --libs "samplerate_EXCLUDE" 2>/dev/null` 9362 test "x$?" != "x0" && pkg_failed=yes 9363else 9364 pkg_failed=yes 9365fi 9366 else 9367 pkg_failed=untried 9368fi 9369 9370 9371 9372if test $pkg_failed = yes; then 9373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9374$as_echo "no" >&6; } 9375 9376if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9377 _pkg_short_errors_supported=yes 9378else 9379 _pkg_short_errors_supported=no 9380fi 9381 if test $_pkg_short_errors_supported = yes; then 9382 SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "samplerate_EXCLUDE" 2>&1` 9383 else 9384 SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "samplerate_EXCLUDE" 2>&1` 9385 fi 9386 # Put the nasty error message in config.log where it belongs 9387 echo "$SAMPLERATE_PKG_ERRORS" >&5 9388 9389 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for SAMPLERATE" >&5 9390$as_echo "$as_me: No support for SAMPLERATE" >&6;} 9391elif test $pkg_failed = untried; then 9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9393$as_echo "no" >&6; } 9394 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for SAMPLERATE" >&5 9395$as_echo "$as_me: No support for SAMPLERATE" >&6;} 9396else 9397 SAMPLERATE_CFLAGS=$pkg_cv_SAMPLERATE_CFLAGS 9398 SAMPLERATE_LIBS=$pkg_cv_SAMPLERATE_LIBS 9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9400$as_echo "yes" >&6; } 9401 9402fi 9403 9404if test -n "$PKG_CONFIG" && \ 9405 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls_EXCLUDE\""; } >&5 9406 ($PKG_CONFIG --exists --print-errors "gnutls_EXCLUDE") 2>&5 9407 ac_status=$? 9408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9409 test $ac_status = 0; }; then 9410 E_FLAGS=$E_FLAGS" -DPROG_HAS_GNUTLS" 9411fi 9412 9413pkg_failed=no 9414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNUTLS" >&5 9415$as_echo_n "checking for GNUTLS... " >&6; } 9416 9417if test -n "$GNUTLS_CFLAGS"; then 9418 pkg_cv_GNUTLS_CFLAGS="$GNUTLS_CFLAGS" 9419 elif test -n "$PKG_CONFIG"; then 9420 if test -n "$PKG_CONFIG" && \ 9421 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls_EXCLUDE\""; } >&5 9422 ($PKG_CONFIG --exists --print-errors "gnutls_EXCLUDE") 2>&5 9423 ac_status=$? 9424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9425 test $ac_status = 0; }; then 9426 pkg_cv_GNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls_EXCLUDE" 2>/dev/null` 9427 test "x$?" != "x0" && pkg_failed=yes 9428else 9429 pkg_failed=yes 9430fi 9431 else 9432 pkg_failed=untried 9433fi 9434if test -n "$GNUTLS_LIBS"; then 9435 pkg_cv_GNUTLS_LIBS="$GNUTLS_LIBS" 9436 elif test -n "$PKG_CONFIG"; then 9437 if test -n "$PKG_CONFIG" && \ 9438 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls_EXCLUDE\""; } >&5 9439 ($PKG_CONFIG --exists --print-errors "gnutls_EXCLUDE") 2>&5 9440 ac_status=$? 9441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9442 test $ac_status = 0; }; then 9443 pkg_cv_GNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls_EXCLUDE" 2>/dev/null` 9444 test "x$?" != "x0" && pkg_failed=yes 9445else 9446 pkg_failed=yes 9447fi 9448 else 9449 pkg_failed=untried 9450fi 9451 9452 9453 9454if test $pkg_failed = yes; then 9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9456$as_echo "no" >&6; } 9457 9458if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9459 _pkg_short_errors_supported=yes 9460else 9461 _pkg_short_errors_supported=no 9462fi 9463 if test $_pkg_short_errors_supported = yes; then 9464 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gnutls_EXCLUDE" 2>&1` 9465 else 9466 GNUTLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gnutls_EXCLUDE" 2>&1` 9467 fi 9468 # Put the nasty error message in config.log where it belongs 9469 echo "$GNUTLS_PKG_ERRORS" >&5 9470 9471 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for GNUTLS" >&5 9472$as_echo "$as_me: No support for GNUTLS" >&6;} 9473elif test $pkg_failed = untried; then 9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9475$as_echo "no" >&6; } 9476 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for GNUTLS" >&5 9477$as_echo "$as_me: No support for GNUTLS" >&6;} 9478else 9479 GNUTLS_CFLAGS=$pkg_cv_GNUTLS_CFLAGS 9480 GNUTLS_LIBS=$pkg_cv_GNUTLS_LIBS 9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9482$as_echo "yes" >&6; } 9483 9484fi 9485if test -n "$PKG_CONFIG" && \ 9486 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl_EXCLUDE\""; } >&5 9487 ($PKG_CONFIG --exists --print-errors "openssl_EXCLUDE") 2>&5 9488 ac_status=$? 9489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9490 test $ac_status = 0; }; then 9491 E_FLAGS=$E_FLAGS" -DPROG_HAS_OPENSSL" 9492fi 9493 9494pkg_failed=no 9495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENSSL" >&5 9496$as_echo_n "checking for OPENSSL... " >&6; } 9497 9498if test -n "$OPENSSL_CFLAGS"; then 9499 pkg_cv_OPENSSL_CFLAGS="$OPENSSL_CFLAGS" 9500 elif test -n "$PKG_CONFIG"; then 9501 if test -n "$PKG_CONFIG" && \ 9502 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl_EXCLUDE\""; } >&5 9503 ($PKG_CONFIG --exists --print-errors "openssl_EXCLUDE") 2>&5 9504 ac_status=$? 9505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9506 test $ac_status = 0; }; then 9507 pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl_EXCLUDE" 2>/dev/null` 9508 test "x$?" != "x0" && pkg_failed=yes 9509else 9510 pkg_failed=yes 9511fi 9512 else 9513 pkg_failed=untried 9514fi 9515if test -n "$OPENSSL_LIBS"; then 9516 pkg_cv_OPENSSL_LIBS="$OPENSSL_LIBS" 9517 elif test -n "$PKG_CONFIG"; then 9518 if test -n "$PKG_CONFIG" && \ 9519 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl_EXCLUDE\""; } >&5 9520 ($PKG_CONFIG --exists --print-errors "openssl_EXCLUDE") 2>&5 9521 ac_status=$? 9522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9523 test $ac_status = 0; }; then 9524 pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl_EXCLUDE" 2>/dev/null` 9525 test "x$?" != "x0" && pkg_failed=yes 9526else 9527 pkg_failed=yes 9528fi 9529 else 9530 pkg_failed=untried 9531fi 9532 9533 9534 9535if test $pkg_failed = yes; then 9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9537$as_echo "no" >&6; } 9538 9539if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9540 _pkg_short_errors_supported=yes 9541else 9542 _pkg_short_errors_supported=no 9543fi 9544 if test $_pkg_short_errors_supported = yes; then 9545 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl_EXCLUDE" 2>&1` 9546 else 9547 OPENSSL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl_EXCLUDE" 2>&1` 9548 fi 9549 # Put the nasty error message in config.log where it belongs 9550 echo "$OPENSSL_PKG_ERRORS" >&5 9551 9552 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for OPENSSL" >&5 9553$as_echo "$as_me: No support for OPENSSL" >&6;} 9554elif test $pkg_failed = untried; then 9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9556$as_echo "no" >&6; } 9557 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for OPENSSL" >&5 9558$as_echo "$as_me: No support for OPENSSL" >&6;} 9559else 9560 OPENSSL_CFLAGS=$pkg_cv_OPENSSL_CFLAGS 9561 OPENSSL_LIBS=$pkg_cv_OPENSSL_LIBS 9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9563$as_echo "yes" >&6; } 9564 9565fi 9566 9567if test -n "$PKG_CONFIG" && \ 9568 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0_EXCLUDE\""; } >&5 9569 ($PKG_CONFIG --exists --print-errors "librsvg-2.0_EXCLUDE") 2>&5 9570 ac_status=$? 9571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9572 test $ac_status = 0; }; then 9573 E_FLAGS=$E_FLAGS" -DPROG_HAS_LIBRSVG" 9574fi 9575 9576pkg_failed=no 9577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBRSVG" >&5 9578$as_echo_n "checking for LIBRSVG... " >&6; } 9579 9580if test -n "$LIBRSVG_CFLAGS"; then 9581 pkg_cv_LIBRSVG_CFLAGS="$LIBRSVG_CFLAGS" 9582 elif test -n "$PKG_CONFIG"; then 9583 if test -n "$PKG_CONFIG" && \ 9584 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0_EXCLUDE\""; } >&5 9585 ($PKG_CONFIG --exists --print-errors "librsvg-2.0_EXCLUDE") 2>&5 9586 ac_status=$? 9587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9588 test $ac_status = 0; }; then 9589 pkg_cv_LIBRSVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0_EXCLUDE" 2>/dev/null` 9590 test "x$?" != "x0" && pkg_failed=yes 9591else 9592 pkg_failed=yes 9593fi 9594 else 9595 pkg_failed=untried 9596fi 9597if test -n "$LIBRSVG_LIBS"; then 9598 pkg_cv_LIBRSVG_LIBS="$LIBRSVG_LIBS" 9599 elif test -n "$PKG_CONFIG"; then 9600 if test -n "$PKG_CONFIG" && \ 9601 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0_EXCLUDE\""; } >&5 9602 ($PKG_CONFIG --exists --print-errors "librsvg-2.0_EXCLUDE") 2>&5 9603 ac_status=$? 9604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9605 test $ac_status = 0; }; then 9606 pkg_cv_LIBRSVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0_EXCLUDE" 2>/dev/null` 9607 test "x$?" != "x0" && pkg_failed=yes 9608else 9609 pkg_failed=yes 9610fi 9611 else 9612 pkg_failed=untried 9613fi 9614 9615 9616 9617if test $pkg_failed = yes; then 9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9619$as_echo "no" >&6; } 9620 9621if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 9622 _pkg_short_errors_supported=yes 9623else 9624 _pkg_short_errors_supported=no 9625fi 9626 if test $_pkg_short_errors_supported = yes; then 9627 LIBRSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "librsvg-2.0_EXCLUDE" 2>&1` 9628 else 9629 LIBRSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "librsvg-2.0_EXCLUDE" 2>&1` 9630 fi 9631 # Put the nasty error message in config.log where it belongs 9632 echo "$LIBRSVG_PKG_ERRORS" >&5 9633 9634 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for LIBRSVG" >&5 9635$as_echo "$as_me: No support for LIBRSVG" >&6;} 9636elif test $pkg_failed = untried; then 9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9638$as_echo "no" >&6; } 9639 { $as_echo "$as_me:${as_lineno-$LINENO}: No support for LIBRSVG" >&5 9640$as_echo "$as_me: No support for LIBRSVG" >&6;} 9641else 9642 LIBRSVG_CFLAGS=$pkg_cv_LIBRSVG_CFLAGS 9643 LIBRSVG_LIBS=$pkg_cv_LIBRSVG_LIBS 9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9645$as_echo "yes" >&6; } 9646 9647fi 9648 9649E_FLAGS="$C_FLAGS $E_FLAGS" 9650F_FLAGS="$C_FLAGS $F_FLAGS" 9651 9652CFLAGS=$C_FLAGS 9653LDFLAGS=$LD_FLAGS 9654LIBS=$LIBS" $L_LIBS -lc" 9655 9656PROG_N=$PROG_N 9657 9658PROG_X=$PROG_X 9659 9660PROG_Y=$PROG_Y 9661 9662PROG_V=$PROG_V 9663 9664 9665D_FLAGS=$D_FLAGS 9666 9667E_FLAGS=$E_FLAGS 9668 9669F_FLAGS=$F_FLAGS 9670 9671 9672F_LIBS=$F_LIBS 9673 9674 9675 9676 9677 rm -f reconfig/config.nice-${PROG_X}-$(uname -s -r -m 2>/dev/null | tr ' ' '_') 9678 cat >reconfig/config.nice-${PROG_X}-$(uname -s -r -m 2>/dev/null | tr ' ' '_')<<EOF 9679#!/bin/sh 9680# 9681# Created by configure. Do not edit. Changes will be overwritten. 9682# 9683 9684EOF 9685 eval "set x $0 $ac_configure_args" 9686 shift 9687 for arg; do 9688 9689 this_last= 9690 this_curr="$arg" 9691 while test "x${this_curr}" != "x${this_last}"; do 9692 this_last="${this_curr}" 9693 this_curr=`eval "echo ${this_curr}"` 9694 done 9695 arg="${this_curr}" 9696 9697 echo "\"$arg\" \\" >> reconfig/config.nice-${PROG_X}-$(uname -s -r -m 2>/dev/null | tr ' ' '_') 9698 done 9699 echo '"$@"' >> reconfig/config.nice-${PROG_X}-$(uname -s -r -m 2>/dev/null | tr ' ' '_') 9700 chmod +x reconfig/config.nice-${PROG_X}-$(uname -s -r -m 2>/dev/null | tr ' ' '_') 9701 9702 9703 9704 rm -f engine/config.args 9705 cat >engine/config.args<<EOF 9706/* Created by configure. Do not edit. Changes will be overwritten. */ 9707 9708EOF 9709 echo "#define CONFIG_ARGS \"" | tr -d '\n' >>engine/config.args 9710 eval "set x $0 $ac_configure_args" 9711 shift 9712 for arg; do 9713 9714 this_last= 9715 this_curr="$arg" 9716 while test "x${this_curr}" != "x${this_last}"; do 9717 this_last="${this_curr}" 9718 this_curr=`eval "echo ${this_curr}"` 9719 done 9720 arg="${this_curr}" 9721 9722 echo "$arg " | tr -d '"' | tr -d '\n' >>engine/config.args 9723 done 9724 echo "\"" >>engine/config.args 9725 9726 9727 rm -f engine/config.opts 9728 cat >engine/config.opts<<EOF 9729/* Created by configure. Do not edit. Changes will be overwritten. */ 9730 9731EOF 9732 echo "#define CONFIG_OPTS \"" | tr -d '\n' >>engine/config.opts 9733 echo "$E_FLAGS" | tr -d '\n' >>engine/config.opts 9734 echo "\"" >>engine/config.opts 9735 9736 9737 9738 rm -f engine/config.mach 9739 cat >engine/config.mach<<EOF 9740/* Created by configure. Do not edit. Changes will be overwritten. */ 9741 9742EOF 9743 echo "#define CONFIG_MACH \"" | tr -d '\n' >>engine/config.mach 9744 echo $(uname -s -r -m 2>/dev/null | tr -d '\n') | tr -d '\n' >>engine/config.mach 9745 echo "\"" >>engine/config.mach 9746 9747 9748 rm -f engine/config.user 9749 cat >engine/config.user<<EOF 9750/* Created by configure. Do not edit. Changes will be overwritten. */ 9751 9752EOF 9753 echo "#define CONFIG_USER \"" | tr -d '\n' >>engine/config.user 9754 echo $(id -u -n 2>/dev/null || /usr/xpg4/bin/id -u -n 2>/dev/null || echo unknown | tr -d '\n')"@"$(hostname 2>/dev/null || echo unknown | cut -f 1 -d '.' | tr -d '\n') | tr -d '\n' >>engine/config.user 9755 echo "\"" >>engine/config.user 9756 9757 9758 rm -f engine/config.verc 9759 cat >engine/config.verc<<EOF 9760/* Created by configure. Do not edit. Changes will be overwritten. */ 9761 9762EOF 9763 $CC -dM -E - </dev/null 2>/dev/null | grep '__VERSION__' | sed -e 's/__VERSION__/CONFIG_VERC/' >>engine/config.verc 9764 cat >>engine/config.verc<<EOF 9765 9766#if ! defined(CONFIG_VERC) 9767#define CONFIG_VERC "unknown" 9768#endif 9769EOF 9770 9771 9772 rm -f engine/config.when 9773 cat >engine/config.when<<EOF 9774/* Created by configure. Do not edit. Changes will be overwritten. */ 9775 9776EOF 9777 echo "#define CONFIG_WHEN \"" | tr -d '\n' >>engine/config.when 9778 echo $(LC_ALL=C date 2>/dev/null | tr -d '\n') | tr -d '\n' >>engine/config.when 9779 echo "\"" >>engine/config.when 9780 9781 9782 9783 rm -f engine/dynvars.h 9784 cat >engine/dynvars.h<<EOF 9785/* Created by configure. Do not edit. Changes will be overwritten. */ 9786 9787EOF 9788 echo "#if defined(_POSIX2_LINE_MAX)" >>engine/dynvars.h 9789 echo "#define CONFIG_LINE_LENGTH _POSIX2_LINE_MAX" >>engine/dynvars.h 9790 echo "#else" >> engine/dynvars.h 9791 echo "#define CONFIG_LINE_LENGTH $(getconf LINE_MAX 2>/dev/null || echo 2048 | tr -d '\n')" >>engine/dynvars.h 9792 echo "#endif" >>engine/dynvars.h 9793 echo "#if defined(MAXPATHLEN)" >>engine/dynvars.h 9794 echo "#define CONFIG_PATH_LENGTH MAXPATHLEN" >>engine/dynvars.h 9795 echo "#else" >> engine/dynvars.h 9796 echo "#define CONFIG_PATH_LENGTH $(getconf PATH_MAX / 2>/dev/null || echo 1024 | tr -d '\n')" >>engine/dynvars.h 9797 echo "#endif" >>engine/dynvars.h 9798 echo "#if defined(MAXHOSTNAMELEN)" >>engine/dynvars.h 9799 echo "#define CONFIG_HOSTNAME_LENGTH MAXHOSTNAMELEN" >>engine/dynvars.h 9800 echo "#else" >> engine/dynvars.h 9801 echo "#define CONFIG_HOSTNAME_LENGTH $(getconf HOST_NAME_MAX 2>/dev/null || echo 32 | tr -d '\n')" >>engine/dynvars.h 9802 echo "#endif" >>engine/dynvars.h 9803 echo "#if defined(LOGIN_NAME_MAX)" >>engine/dynvars.h 9804 echo "#define CONFIG_LOGINNAME_LENGTH LOGIN_NAME_MAX" >>engine/dynvars.h 9805 echo "#elif defined(MAXLOGNAME)" >>engine/dynvars.h 9806 echo "#define CONFIG_LOGINNAME_LENGTH MAXLOGNAME" >>engine/dynvars.h 9807 echo "#else" >> engine/dynvars.h 9808 echo "#define CONFIG_LOGINNAME_LENGTH $(getconf LOGIN_NAME_MAX 2>/dev/null || echo 8 | tr -d '\n')" >>engine/dynvars.h 9809 echo "#endif" >>engine/dynvars.h 9810 if [ "$(uname -s)" = "SunOS" ]; then 9811 echo "#define CONFIG_SUNOS_VERSION $(uname -r | sed -e 's/\.\([0-9]\{1,1\}\)$/0\1/' -e 's/\.//' | tr -d '\n')" >>engine/dynvars.h 9812 fi 9813 9814 9815 9816ac_config_files="$ac_config_files Makefile etc/$PROG_X.conf etc/$PROG_X.res engine/Makefile engine/defines.h engine/_doxygen.conf engine/tools/Makefile engine/redtools/Makefile engine/input/usb_classic_nes_gamepad/Makefile" 9817 9818 9819cat >confcache <<\_ACEOF 9820# This file is a shell script that caches the results of configure 9821# tests run on this system so they can be shared between configure 9822# scripts and configure runs, see configure's option --config-cache. 9823# It is not useful on other systems. If it contains results you don't 9824# want to keep, you may remove or edit it. 9825# 9826# config.status only pays attention to the cache file if you give it 9827# the --recheck option to rerun configure. 9828# 9829# `ac_cv_env_foo' variables (set or unset) will be overridden when 9830# loading this file, other *unset* `ac_cv_foo' will be assigned the 9831# following values. 9832 9833_ACEOF 9834 9835# The following way of writing the cache mishandles newlines in values, 9836# but we know of no workaround that is simple, portable, and efficient. 9837# So, we kill variables containing newlines. 9838# Ultrix sh set writes to stderr and can't be redirected directly, 9839# and sets the high bit in the cache file unless we assign to the vars. 9840( 9841 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9842 eval ac_val=\$$ac_var 9843 case $ac_val in #( 9844 *${as_nl}*) 9845 case $ac_var in #( 9846 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9847$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9848 esac 9849 case $ac_var in #( 9850 _ | IFS | as_nl) ;; #( 9851 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9852 *) { eval $ac_var=; unset $ac_var;} ;; 9853 esac ;; 9854 esac 9855 done 9856 9857 (set) 2>&1 | 9858 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9859 *${as_nl}ac_space=\ *) 9860 # `set' does not quote correctly, so add quotes: double-quote 9861 # substitution turns \\\\ into \\, and sed turns \\ into \. 9862 sed -n \ 9863 "s/'/'\\\\''/g; 9864 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9865 ;; #( 9866 *) 9867 # `set' quotes correctly as required by POSIX, so do not add quotes. 9868 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 9869 ;; 9870 esac | 9871 sort 9872) | 9873 sed ' 9874 /^ac_cv_env_/b end 9875 t clear 9876 :clear 9877 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 9878 t end 9879 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9880 :end' >>confcache 9881if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9882 if test -w "$cache_file"; then 9883 if test "x$cache_file" != "x/dev/null"; then 9884 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9885$as_echo "$as_me: updating cache $cache_file" >&6;} 9886 if test ! -f "$cache_file" || test -h "$cache_file"; then 9887 cat confcache >"$cache_file" 9888 else 9889 case $cache_file in #( 9890 */* | ?:*) 9891 mv -f confcache "$cache_file"$$ && 9892 mv -f "$cache_file"$$ "$cache_file" ;; #( 9893 *) 9894 mv -f confcache "$cache_file" ;; 9895 esac 9896 fi 9897 fi 9898 else 9899 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9900$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 9901 fi 9902fi 9903rm -f confcache 9904 9905test "x$prefix" = xNONE && prefix=$ac_default_prefix 9906# Let make expand exec_prefix. 9907test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 9908 9909DEFS=-DHAVE_CONFIG_H 9910 9911ac_libobjs= 9912ac_ltlibobjs= 9913U= 9914for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9915 # 1. Remove the extension, and $U if already installed. 9916 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9917 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 9918 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9919 # will be set to the directory where LIBOBJS objects are built. 9920 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9921 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 9922done 9923LIBOBJS=$ac_libobjs 9924 9925LTLIBOBJS=$ac_ltlibobjs 9926 9927 9928 9929 9930: "${CONFIG_STATUS=./config.status}" 9931ac_write_fail=0 9932ac_clean_files_save=$ac_clean_files 9933ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9934{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9935$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 9936as_write_fail=0 9937cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 9938#! $SHELL 9939# Generated by $as_me. 9940# Run this file to recreate the current configuration. 9941# Compiler output produced by configure, useful for debugging 9942# configure, is in config.log if it exists. 9943 9944debug=false 9945ac_cs_recheck=false 9946ac_cs_silent=false 9947 9948SHELL=\${CONFIG_SHELL-$SHELL} 9949export SHELL 9950_ASEOF 9951cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 9952## -------------------- ## 9953## M4sh Initialization. ## 9954## -------------------- ## 9955 9956# Be more Bourne compatible 9957DUALCASE=1; export DUALCASE # for MKS sh 9958if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 9959 emulate sh 9960 NULLCMD=: 9961 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 9962 # is contrary to our usage. Disable this feature. 9963 alias -g '${1+"$@"}'='"$@"' 9964 setopt NO_GLOB_SUBST 9965else 9966 case `(set -o) 2>/dev/null` in #( 9967 *posix*) : 9968 set -o posix ;; #( 9969 *) : 9970 ;; 9971esac 9972fi 9973 9974 9975as_nl=' 9976' 9977export as_nl 9978# Printing a long string crashes Solaris 7 /usr/bin/printf. 9979as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 9980as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 9981as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 9982# Prefer a ksh shell builtin over an external printf program on Solaris, 9983# but without wasting forks for bash or zsh. 9984if test -z "$BASH_VERSION$ZSH_VERSION" \ 9985 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 9986 as_echo='print -r --' 9987 as_echo_n='print -rn --' 9988elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 9989 as_echo='printf %s\n' 9990 as_echo_n='printf %s' 9991else 9992 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 9993 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 9994 as_echo_n='/usr/ucb/echo -n' 9995 else 9996 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 9997 as_echo_n_body='eval 9998 arg=$1; 9999 case $arg in #( 10000 *"$as_nl"*) 10001 expr "X$arg" : "X\\(.*\\)$as_nl"; 10002 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 10003 esac; 10004 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 10005 ' 10006 export as_echo_n_body 10007 as_echo_n='sh -c $as_echo_n_body as_echo' 10008 fi 10009 export as_echo_body 10010 as_echo='sh -c $as_echo_body as_echo' 10011fi 10012 10013# The user is always right. 10014if test "${PATH_SEPARATOR+set}" != set; then 10015 PATH_SEPARATOR=: 10016 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 10017 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 10018 PATH_SEPARATOR=';' 10019 } 10020fi 10021 10022 10023# IFS 10024# We need space, tab and new line, in precisely that order. Quoting is 10025# there to prevent editors from complaining about space-tab. 10026# (If _AS_PATH_WALK were called with IFS unset, it would disable word 10027# splitting by setting IFS to empty value.) 10028IFS=" "" $as_nl" 10029 10030# Find who we are. Look in the path if we contain no directory separator. 10031as_myself= 10032case $0 in #(( 10033 *[\\/]* ) as_myself=$0 ;; 10034 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10035for as_dir in $PATH 10036do 10037 IFS=$as_save_IFS 10038 test -z "$as_dir" && as_dir=. 10039 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10040 done 10041IFS=$as_save_IFS 10042 10043 ;; 10044esac 10045# We did not find ourselves, most probably we were run as `sh COMMAND' 10046# in which case we are not to be found in the path. 10047if test "x$as_myself" = x; then 10048 as_myself=$0 10049fi 10050if test ! -f "$as_myself"; then 10051 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 10052 exit 1 10053fi 10054 10055# Unset variables that we do not need and which cause bugs (e.g. in 10056# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 10057# suppresses any "Segmentation fault" message there. '((' could 10058# trigger a bug in pdksh 5.2.14. 10059for as_var in BASH_ENV ENV MAIL MAILPATH 10060do eval test x\${$as_var+set} = xset \ 10061 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 10062done 10063PS1='$ ' 10064PS2='> ' 10065PS4='+ ' 10066 10067# NLS nuisances. 10068LC_ALL=C 10069export LC_ALL 10070LANGUAGE=C 10071export LANGUAGE 10072 10073# CDPATH. 10074(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 10075 10076 10077# as_fn_error STATUS ERROR [LINENO LOG_FD] 10078# ---------------------------------------- 10079# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 10080# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 10081# script with STATUS, using 1 if that was 0. 10082as_fn_error () 10083{ 10084 as_status=$1; test $as_status -eq 0 && as_status=1 10085 if test "$4"; then 10086 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 10087 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 10088 fi 10089 $as_echo "$as_me: error: $2" >&2 10090 as_fn_exit $as_status 10091} # as_fn_error 10092 10093 10094# as_fn_set_status STATUS 10095# ----------------------- 10096# Set $? to STATUS, without forking. 10097as_fn_set_status () 10098{ 10099 return $1 10100} # as_fn_set_status 10101 10102# as_fn_exit STATUS 10103# ----------------- 10104# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 10105as_fn_exit () 10106{ 10107 set +e 10108 as_fn_set_status $1 10109 exit $1 10110} # as_fn_exit 10111 10112# as_fn_unset VAR 10113# --------------- 10114# Portably unset VAR. 10115as_fn_unset () 10116{ 10117 { eval $1=; unset $1;} 10118} 10119as_unset=as_fn_unset 10120# as_fn_append VAR VALUE 10121# ---------------------- 10122# Append the text in VALUE to the end of the definition contained in VAR. Take 10123# advantage of any shell optimizations that allow amortized linear growth over 10124# repeated appends, instead of the typical quadratic growth present in naive 10125# implementations. 10126if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 10127 eval 'as_fn_append () 10128 { 10129 eval $1+=\$2 10130 }' 10131else 10132 as_fn_append () 10133 { 10134 eval $1=\$$1\$2 10135 } 10136fi # as_fn_append 10137 10138# as_fn_arith ARG... 10139# ------------------ 10140# Perform arithmetic evaluation on the ARGs, and store the result in the 10141# global $as_val. Take advantage of shells that can avoid forks. The arguments 10142# must be portable across $(()) and expr. 10143if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 10144 eval 'as_fn_arith () 10145 { 10146 as_val=$(( $* )) 10147 }' 10148else 10149 as_fn_arith () 10150 { 10151 as_val=`expr "$@" || test $? -eq 1` 10152 } 10153fi # as_fn_arith 10154 10155 10156if expr a : '\(a\)' >/dev/null 2>&1 && 10157 test "X`expr 00001 : '.*\(...\)'`" = X001; then 10158 as_expr=expr 10159else 10160 as_expr=false 10161fi 10162 10163if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 10164 as_basename=basename 10165else 10166 as_basename=false 10167fi 10168 10169if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 10170 as_dirname=dirname 10171else 10172 as_dirname=false 10173fi 10174 10175as_me=`$as_basename -- "$0" || 10176$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 10177 X"$0" : 'X\(//\)$' \| \ 10178 X"$0" : 'X\(/\)' \| . 2>/dev/null || 10179$as_echo X/"$0" | 10180 sed '/^.*\/\([^/][^/]*\)\/*$/{ 10181 s//\1/ 10182 q 10183 } 10184 /^X\/\(\/\/\)$/{ 10185 s//\1/ 10186 q 10187 } 10188 /^X\/\(\/\).*/{ 10189 s//\1/ 10190 q 10191 } 10192 s/.*/./; q'` 10193 10194# Avoid depending upon Character Ranges. 10195as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10196as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10197as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10198as_cr_digits='0123456789' 10199as_cr_alnum=$as_cr_Letters$as_cr_digits 10200 10201ECHO_C= ECHO_N= ECHO_T= 10202case `echo -n x` in #((((( 10203-n*) 10204 case `echo 'xy\c'` in 10205 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 10206 xy) ECHO_C='\c';; 10207 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 10208 ECHO_T=' ';; 10209 esac;; 10210*) 10211 ECHO_N='-n';; 10212esac 10213 10214rm -f conf$$ conf$$.exe conf$$.file 10215if test -d conf$$.dir; then 10216 rm -f conf$$.dir/conf$$.file 10217else 10218 rm -f conf$$.dir 10219 mkdir conf$$.dir 2>/dev/null 10220fi 10221if (echo >conf$$.file) 2>/dev/null; then 10222 if ln -s conf$$.file conf$$ 2>/dev/null; then 10223 as_ln_s='ln -s' 10224 # ... but there are two gotchas: 10225 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 10226 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 10227 # In both cases, we have to default to `cp -pR'. 10228 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10229 as_ln_s='cp -pR' 10230 elif ln conf$$.file conf$$ 2>/dev/null; then 10231 as_ln_s=ln 10232 else 10233 as_ln_s='cp -pR' 10234 fi 10235else 10236 as_ln_s='cp -pR' 10237fi 10238rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 10239rmdir conf$$.dir 2>/dev/null 10240 10241 10242# as_fn_mkdir_p 10243# ------------- 10244# Create "$as_dir" as a directory, including parents if necessary. 10245as_fn_mkdir_p () 10246{ 10247 10248 case $as_dir in #( 10249 -*) as_dir=./$as_dir;; 10250 esac 10251 test -d "$as_dir" || eval $as_mkdir_p || { 10252 as_dirs= 10253 while :; do 10254 case $as_dir in #( 10255 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10256 *) as_qdir=$as_dir;; 10257 esac 10258 as_dirs="'$as_qdir' $as_dirs" 10259 as_dir=`$as_dirname -- "$as_dir" || 10260$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10261 X"$as_dir" : 'X\(//\)[^/]' \| \ 10262 X"$as_dir" : 'X\(//\)$' \| \ 10263 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10264$as_echo X"$as_dir" | 10265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10266 s//\1/ 10267 q 10268 } 10269 /^X\(\/\/\)[^/].*/{ 10270 s//\1/ 10271 q 10272 } 10273 /^X\(\/\/\)$/{ 10274 s//\1/ 10275 q 10276 } 10277 /^X\(\/\).*/{ 10278 s//\1/ 10279 q 10280 } 10281 s/.*/./; q'` 10282 test -d "$as_dir" && break 10283 done 10284 test -z "$as_dirs" || eval "mkdir $as_dirs" 10285 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 10286 10287 10288} # as_fn_mkdir_p 10289if mkdir -p . 2>/dev/null; then 10290 as_mkdir_p='mkdir -p "$as_dir"' 10291else 10292 test -d ./-p && rmdir ./-p 10293 as_mkdir_p=false 10294fi 10295 10296 10297# as_fn_executable_p FILE 10298# ----------------------- 10299# Test if FILE is an executable regular file. 10300as_fn_executable_p () 10301{ 10302 test -f "$1" && test -x "$1" 10303} # as_fn_executable_p 10304as_test_x='test -x' 10305as_executable_p=as_fn_executable_p 10306 10307# Sed expression to map a string onto a valid CPP name. 10308as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 10309 10310# Sed expression to map a string onto a valid variable name. 10311as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 10312 10313 10314exec 6>&1 10315## ----------------------------------- ## 10316## Main body of $CONFIG_STATUS script. ## 10317## ----------------------------------- ## 10318_ASEOF 10319test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 10320 10321cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10322# Save the log message, to keep $0 and so on meaningful, and to 10323# report actual input values of CONFIG_FILES etc. instead of their 10324# values after options handling. 10325ac_log=" 10326This file was extended by detroit $as_me 0.2.3, which was 10327generated by GNU Autoconf 2.69. Invocation command line was 10328 10329 CONFIG_FILES = $CONFIG_FILES 10330 CONFIG_HEADERS = $CONFIG_HEADERS 10331 CONFIG_LINKS = $CONFIG_LINKS 10332 CONFIG_COMMANDS = $CONFIG_COMMANDS 10333 $ $0 $@ 10334 10335on `(hostname || uname -n) 2>/dev/null | sed 1q` 10336" 10337 10338_ACEOF 10339 10340case $ac_config_files in *" 10341"*) set x $ac_config_files; shift; ac_config_files=$*;; 10342esac 10343 10344case $ac_config_headers in *" 10345"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 10346esac 10347 10348 10349cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10350# Files that config.status was made for. 10351config_files="$ac_config_files" 10352config_headers="$ac_config_headers" 10353 10354_ACEOF 10355 10356cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10357ac_cs_usage="\ 10358\`$as_me' instantiates files and other configuration actions 10359from templates according to the current configuration. Unless the files 10360and actions are specified as TAGs, all are instantiated by default. 10361 10362Usage: $0 [OPTION]... [TAG]... 10363 10364 -h, --help print this help, then exit 10365 -V, --version print version number and configuration settings, then exit 10366 --config print configuration, then exit 10367 -q, --quiet, --silent 10368 do not print progress messages 10369 -d, --debug don't remove temporary files 10370 --recheck update $as_me by reconfiguring in the same conditions 10371 --file=FILE[:TEMPLATE] 10372 instantiate the configuration file FILE 10373 --header=FILE[:TEMPLATE] 10374 instantiate the configuration header FILE 10375 10376Configuration files: 10377$config_files 10378 10379Configuration headers: 10380$config_headers 10381 10382Report bugs to <salojan@goto10.co>." 10383 10384_ACEOF 10385cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10386ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 10387ac_cs_version="\\ 10388detroit config.status 0.2.3 10389configured by $0, generated by GNU Autoconf 2.69, 10390 with options \\"\$ac_cs_config\\" 10391 10392Copyright (C) 2012 Free Software Foundation, Inc. 10393This config.status script is free software; the Free Software Foundation 10394gives unlimited permission to copy, distribute and modify it." 10395 10396ac_pwd='$ac_pwd' 10397srcdir='$srcdir' 10398INSTALL='$INSTALL' 10399test -n "\$AWK" || AWK=awk 10400_ACEOF 10401 10402cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10403# The default lists apply if the user does not specify any file. 10404ac_need_defaults=: 10405while test $# != 0 10406do 10407 case $1 in 10408 --*=?*) 10409 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10410 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 10411 ac_shift=: 10412 ;; 10413 --*=) 10414 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10415 ac_optarg= 10416 ac_shift=: 10417 ;; 10418 *) 10419 ac_option=$1 10420 ac_optarg=$2 10421 ac_shift=shift 10422 ;; 10423 esac 10424 10425 case $ac_option in 10426 # Handling of the options. 10427 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 10428 ac_cs_recheck=: ;; 10429 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 10430 $as_echo "$ac_cs_version"; exit ;; 10431 --config | --confi | --conf | --con | --co | --c ) 10432 $as_echo "$ac_cs_config"; exit ;; 10433 --debug | --debu | --deb | --de | --d | -d ) 10434 debug=: ;; 10435 --file | --fil | --fi | --f ) 10436 $ac_shift 10437 case $ac_optarg in 10438 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10439 '') as_fn_error $? "missing file argument" ;; 10440 esac 10441 as_fn_append CONFIG_FILES " '$ac_optarg'" 10442 ac_need_defaults=false;; 10443 --header | --heade | --head | --hea ) 10444 $ac_shift 10445 case $ac_optarg in 10446 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10447 esac 10448 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 10449 ac_need_defaults=false;; 10450 --he | --h) 10451 # Conflict between --help and --header 10452 as_fn_error $? "ambiguous option: \`$1' 10453Try \`$0 --help' for more information.";; 10454 --help | --hel | -h ) 10455 $as_echo "$ac_cs_usage"; exit ;; 10456 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10457 | -silent | --silent | --silen | --sile | --sil | --si | --s) 10458 ac_cs_silent=: ;; 10459 10460 # This is an error. 10461 -*) as_fn_error $? "unrecognized option: \`$1' 10462Try \`$0 --help' for more information." ;; 10463 10464 *) as_fn_append ac_config_targets " $1" 10465 ac_need_defaults=false ;; 10466 10467 esac 10468 shift 10469done 10470 10471ac_configure_extra_args= 10472 10473if $ac_cs_silent; then 10474 exec 6>/dev/null 10475 ac_configure_extra_args="$ac_configure_extra_args --silent" 10476fi 10477 10478_ACEOF 10479cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10480if \$ac_cs_recheck; then 10481 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10482 shift 10483 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 10484 CONFIG_SHELL='$SHELL' 10485 export CONFIG_SHELL 10486 exec "\$@" 10487fi 10488 10489_ACEOF 10490cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10491exec 5>>config.log 10492{ 10493 echo 10494 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 10495## Running $as_me. ## 10496_ASBOX 10497 $as_echo "$ac_log" 10498} >&5 10499 10500_ACEOF 10501cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10502_ACEOF 10503 10504cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10505 10506# Handling of arguments. 10507for ac_config_target in $ac_config_targets 10508do 10509 case $ac_config_target in 10510 "engine/config.h") CONFIG_HEADERS="$CONFIG_HEADERS engine/config.h" ;; 10511 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 10512 "etc/$PROG_X.conf") CONFIG_FILES="$CONFIG_FILES etc/$PROG_X.conf" ;; 10513 "etc/$PROG_X.res") CONFIG_FILES="$CONFIG_FILES etc/$PROG_X.res" ;; 10514 "engine/Makefile") CONFIG_FILES="$CONFIG_FILES engine/Makefile" ;; 10515 "engine/defines.h") CONFIG_FILES="$CONFIG_FILES engine/defines.h" ;; 10516 "engine/_doxygen.conf") CONFIG_FILES="$CONFIG_FILES engine/_doxygen.conf" ;; 10517 "engine/tools/Makefile") CONFIG_FILES="$CONFIG_FILES engine/tools/Makefile" ;; 10518 "engine/redtools/Makefile") CONFIG_FILES="$CONFIG_FILES engine/redtools/Makefile" ;; 10519 "engine/input/usb_classic_nes_gamepad/Makefile") CONFIG_FILES="$CONFIG_FILES engine/input/usb_classic_nes_gamepad/Makefile" ;; 10520 10521 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 10522 esac 10523done 10524 10525 10526# If the user did not use the arguments to specify the items to instantiate, 10527# then the envvar interface is used. Set only those that are not. 10528# We use the long form for the default assignment because of an extremely 10529# bizarre bug on SunOS 4.1.3. 10530if $ac_need_defaults; then 10531 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 10532 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 10533fi 10534 10535# Have a temporary directory for convenience. Make it in the build tree 10536# simply because there is no reason against having it here, and in addition, 10537# creating and moving files from /tmp can sometimes cause problems. 10538# Hook for its removal unless debugging. 10539# Note that there is a small window in which the directory will not be cleaned: 10540# after its creation but before its name has been assigned to `$tmp'. 10541$debug || 10542{ 10543 tmp= ac_tmp= 10544 trap 'exit_status=$? 10545 : "${ac_tmp:=$tmp}" 10546 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 10547' 0 10548 trap 'as_fn_exit 1' 1 2 13 15 10549} 10550# Create a (secure) tmp directory for tmp files. 10551 10552{ 10553 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 10554 test -d "$tmp" 10555} || 10556{ 10557 tmp=./conf$$-$RANDOM 10558 (umask 077 && mkdir "$tmp") 10559} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 10560ac_tmp=$tmp 10561 10562# Set up the scripts for CONFIG_FILES section. 10563# No need to generate them if there are no CONFIG_FILES. 10564# This happens for instance with `./config.status config.h'. 10565if test -n "$CONFIG_FILES"; then 10566 10567 10568ac_cr=`echo X | tr X '\015'` 10569# On cygwin, bash can eat \r inside `` if the user requested igncr. 10570# But we know of no other shell where ac_cr would be empty at this 10571# point, so we can use a bashism as a fallback. 10572if test "x$ac_cr" = x; then 10573 eval ac_cr=\$\'\\r\' 10574fi 10575ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10576if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10577 ac_cs_awk_cr='\\r' 10578else 10579 ac_cs_awk_cr=$ac_cr 10580fi 10581 10582echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 10583_ACEOF 10584 10585 10586{ 10587 echo "cat >conf$$subs.awk <<_ACEOF" && 10588 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10589 echo "_ACEOF" 10590} >conf$$subs.sh || 10591 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10592ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 10593ac_delim='%!_!# ' 10594for ac_last_try in false false false false false :; do 10595 . ./conf$$subs.sh || 10596 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10597 10598 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10599 if test $ac_delim_n = $ac_delim_num; then 10600 break 10601 elif $ac_last_try; then 10602 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10603 else 10604 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10605 fi 10606done 10607rm -f conf$$subs.sh 10608 10609cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10610cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 10611_ACEOF 10612sed -n ' 10613h 10614s/^/S["/; s/!.*/"]=/ 10615p 10616g 10617s/^[^!]*!// 10618:repl 10619t repl 10620s/'"$ac_delim"'$// 10621t delim 10622:nl 10623h 10624s/\(.\{148\}\)..*/\1/ 10625t more1 10626s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10627p 10628n 10629b repl 10630:more1 10631s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10632p 10633g 10634s/.\{148\}// 10635t nl 10636:delim 10637h 10638s/\(.\{148\}\)..*/\1/ 10639t more2 10640s/["\\]/\\&/g; s/^/"/; s/$/"/ 10641p 10642b 10643:more2 10644s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10645p 10646g 10647s/.\{148\}// 10648t delim 10649' <conf$$subs.awk | sed ' 10650/^[^""]/{ 10651 N 10652 s/\n// 10653} 10654' >>$CONFIG_STATUS || ac_write_fail=1 10655rm -f conf$$subs.awk 10656cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10657_ACAWK 10658cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 10659 for (key in S) S_is_set[key] = 1 10660 FS = "" 10661 10662} 10663{ 10664 line = $ 0 10665 nfields = split(line, field, "@") 10666 substed = 0 10667 len = length(field[1]) 10668 for (i = 2; i < nfields; i++) { 10669 key = field[i] 10670 keylen = length(key) 10671 if (S_is_set[key]) { 10672 value = S[key] 10673 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10674 len += length(value) + length(field[++i]) 10675 substed = 1 10676 } else 10677 len += 1 + keylen 10678 } 10679 10680 print line 10681} 10682 10683_ACAWK 10684_ACEOF 10685cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10686if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10687 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10688else 10689 cat 10690fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 10691 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10692_ACEOF 10693 10694# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10695# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 10696# trailing colons and then remove the whole line if VPATH becomes empty 10697# (actually we leave an empty line to preserve line numbers). 10698if test "x$srcdir" = x.; then 10699 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 10700h 10701s/// 10702s/^/:/ 10703s/[ ]*$/:/ 10704s/:\$(srcdir):/:/g 10705s/:\${srcdir}:/:/g 10706s/:@srcdir@:/:/g 10707s/^:*// 10708s/:*$// 10709x 10710s/\(=[ ]*\).*/\1/ 10711G 10712s/\n// 10713s/^[^=]*=[ ]*$// 10714}' 10715fi 10716 10717cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10718fi # test -n "$CONFIG_FILES" 10719 10720# Set up the scripts for CONFIG_HEADERS section. 10721# No need to generate them if there are no CONFIG_HEADERS. 10722# This happens for instance with `./config.status Makefile'. 10723if test -n "$CONFIG_HEADERS"; then 10724cat >"$ac_tmp/defines.awk" <<\_ACAWK || 10725BEGIN { 10726_ACEOF 10727 10728# Transform confdefs.h into an awk script `defines.awk', embedded as 10729# here-document in config.status, that substitutes the proper values into 10730# config.h.in to produce config.h. 10731 10732# Create a delimiter string that does not exist in confdefs.h, to ease 10733# handling of long lines. 10734ac_delim='%!_!# ' 10735for ac_last_try in false false :; do 10736 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 10737 if test -z "$ac_tt"; then 10738 break 10739 elif $ac_last_try; then 10740 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 10741 else 10742 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10743 fi 10744done 10745 10746# For the awk script, D is an array of macro values keyed by name, 10747# likewise P contains macro parameters if any. Preserve backslash 10748# newline sequences. 10749 10750ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10751sed -n ' 10752s/.\{148\}/&'"$ac_delim"'/g 10753t rset 10754:rset 10755s/^[ ]*#[ ]*define[ ][ ]*/ / 10756t def 10757d 10758:def 10759s/\\$// 10760t bsnl 10761s/["\\]/\\&/g 10762s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10763D["\1"]=" \3"/p 10764s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10765d 10766:bsnl 10767s/["\\]/\\&/g 10768s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10769D["\1"]=" \3\\\\\\n"\\/p 10770t cont 10771s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10772t cont 10773d 10774:cont 10775n 10776s/.\{148\}/&'"$ac_delim"'/g 10777t clear 10778:clear 10779s/\\$// 10780t bsnlc 10781s/["\\]/\\&/g; s/^/"/; s/$/"/p 10782d 10783:bsnlc 10784s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10785b cont 10786' <confdefs.h | sed ' 10787s/'"$ac_delim"'/"\\\ 10788"/g' >>$CONFIG_STATUS || ac_write_fail=1 10789 10790cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10791 for (key in D) D_is_set[key] = 1 10792 FS = "" 10793} 10794/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10795 line = \$ 0 10796 split(line, arg, " ") 10797 if (arg[1] == "#") { 10798 defundef = arg[2] 10799 mac1 = arg[3] 10800 } else { 10801 defundef = substr(arg[1], 2) 10802 mac1 = arg[2] 10803 } 10804 split(mac1, mac2, "(") #) 10805 macro = mac2[1] 10806 prefix = substr(line, 1, index(line, defundef) - 1) 10807 if (D_is_set[macro]) { 10808 # Preserve the white space surrounding the "#". 10809 print prefix "define", macro P[macro] D[macro] 10810 next 10811 } else { 10812 # Replace #undef with comments. This is necessary, for example, 10813 # in the case of _POSIX_SOURCE, which is predefined and required 10814 # on some systems where configure will not decide to define it. 10815 if (defundef == "undef") { 10816 print "/*", prefix defundef, macro, "*/" 10817 next 10818 } 10819 } 10820} 10821{ print } 10822_ACAWK 10823_ACEOF 10824cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10825 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 10826fi # test -n "$CONFIG_HEADERS" 10827 10828 10829eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 10830shift 10831for ac_tag 10832do 10833 case $ac_tag in 10834 :[FHLC]) ac_mode=$ac_tag; continue;; 10835 esac 10836 case $ac_mode$ac_tag in 10837 :[FHL]*:*);; 10838 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 10839 :[FH]-) ac_tag=-:-;; 10840 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 10841 esac 10842 ac_save_IFS=$IFS 10843 IFS=: 10844 set x $ac_tag 10845 IFS=$ac_save_IFS 10846 shift 10847 ac_file=$1 10848 shift 10849 10850 case $ac_mode in 10851 :L) ac_source=$1;; 10852 :[FH]) 10853 ac_file_inputs= 10854 for ac_f 10855 do 10856 case $ac_f in 10857 -) ac_f="$ac_tmp/stdin";; 10858 *) # Look for the file first in the build tree, then in the source tree 10859 # (if the path is not absolute). The absolute path cannot be DOS-style, 10860 # because $ac_f cannot contain `:'. 10861 test -f "$ac_f" || 10862 case $ac_f in 10863 [\\/$]*) false;; 10864 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10865 esac || 10866 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 10867 esac 10868 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10869 as_fn_append ac_file_inputs " '$ac_f'" 10870 done 10871 10872 # Let's still pretend it is `configure' which instantiates (i.e., don't 10873 # use $as_me), people would be surprised to read: 10874 # /* config.h. Generated by config.status. */ 10875 configure_input='Generated from '` 10876 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10877 `' by configure.' 10878 if test x"$ac_file" != x-; then 10879 configure_input="$ac_file. $configure_input" 10880 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10881$as_echo "$as_me: creating $ac_file" >&6;} 10882 fi 10883 # Neutralize special characters interpreted by sed in replacement strings. 10884 case $configure_input in #( 10885 *\&* | *\|* | *\\* ) 10886 ac_sed_conf_input=`$as_echo "$configure_input" | 10887 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10888 *) ac_sed_conf_input=$configure_input;; 10889 esac 10890 10891 case $ac_tag in 10892 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 10893 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 10894 esac 10895 ;; 10896 esac 10897 10898 ac_dir=`$as_dirname -- "$ac_file" || 10899$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10900 X"$ac_file" : 'X\(//\)[^/]' \| \ 10901 X"$ac_file" : 'X\(//\)$' \| \ 10902 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10903$as_echo X"$ac_file" | 10904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10905 s//\1/ 10906 q 10907 } 10908 /^X\(\/\/\)[^/].*/{ 10909 s//\1/ 10910 q 10911 } 10912 /^X\(\/\/\)$/{ 10913 s//\1/ 10914 q 10915 } 10916 /^X\(\/\).*/{ 10917 s//\1/ 10918 q 10919 } 10920 s/.*/./; q'` 10921 as_dir="$ac_dir"; as_fn_mkdir_p 10922 ac_builddir=. 10923 10924case "$ac_dir" in 10925.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10926*) 10927 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 10928 # A ".." for each directory in $ac_dir_suffix. 10929 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10930 case $ac_top_builddir_sub in 10931 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10932 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10933 esac ;; 10934esac 10935ac_abs_top_builddir=$ac_pwd 10936ac_abs_builddir=$ac_pwd$ac_dir_suffix 10937# for backward compatibility: 10938ac_top_builddir=$ac_top_build_prefix 10939 10940case $srcdir in 10941 .) # We are building in place. 10942 ac_srcdir=. 10943 ac_top_srcdir=$ac_top_builddir_sub 10944 ac_abs_top_srcdir=$ac_pwd ;; 10945 [\\/]* | ?:[\\/]* ) # Absolute name. 10946 ac_srcdir=$srcdir$ac_dir_suffix; 10947 ac_top_srcdir=$srcdir 10948 ac_abs_top_srcdir=$srcdir ;; 10949 *) # Relative name. 10950 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10951 ac_top_srcdir=$ac_top_build_prefix$srcdir 10952 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10953esac 10954ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10955 10956 10957 case $ac_mode in 10958 :F) 10959 # 10960 # CONFIG_FILE 10961 # 10962 10963 case $INSTALL in 10964 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 10965 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 10966 esac 10967_ACEOF 10968 10969cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10970# If the template does not know about datarootdir, expand it. 10971# FIXME: This hack should be removed a few years after 2.60. 10972ac_datarootdir_hack=; ac_datarootdir_seen= 10973ac_sed_dataroot=' 10974/datarootdir/ { 10975 p 10976 q 10977} 10978/@datadir@/p 10979/@docdir@/p 10980/@infodir@/p 10981/@localedir@/p 10982/@mandir@/p' 10983case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10984*datarootdir*) ac_datarootdir_seen=yes;; 10985*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10987$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10988_ACEOF 10989cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10990 ac_datarootdir_hack=' 10991 s&@datadir@&$datadir&g 10992 s&@docdir@&$docdir&g 10993 s&@infodir@&$infodir&g 10994 s&@localedir@&$localedir&g 10995 s&@mandir@&$mandir&g 10996 s&\\\${datarootdir}&$datarootdir&g' ;; 10997esac 10998_ACEOF 10999 11000# Neutralize VPATH when `$srcdir' = `.'. 11001# Shell code in configure.ac might set extrasub. 11002# FIXME: do we really want to maintain this feature? 11003cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11004ac_sed_extra="$ac_vpsub 11005$extrasub 11006_ACEOF 11007cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11008:t 11009/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 11010s|@configure_input@|$ac_sed_conf_input|;t t 11011s&@top_builddir@&$ac_top_builddir_sub&;t t 11012s&@top_build_prefix@&$ac_top_build_prefix&;t t 11013s&@srcdir@&$ac_srcdir&;t t 11014s&@abs_srcdir@&$ac_abs_srcdir&;t t 11015s&@top_srcdir@&$ac_top_srcdir&;t t 11016s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 11017s&@builddir@&$ac_builddir&;t t 11018s&@abs_builddir@&$ac_abs_builddir&;t t 11019s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 11020s&@INSTALL@&$ac_INSTALL&;t t 11021$ac_datarootdir_hack 11022" 11023eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 11024 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11025 11026test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 11027 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 11028 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 11029 "$ac_tmp/out"`; test -z "$ac_out"; } && 11030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11031which seems to be undefined. Please make sure it is defined" >&5 11032$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11033which seems to be undefined. Please make sure it is defined" >&2;} 11034 11035 rm -f "$ac_tmp/stdin" 11036 case $ac_file in 11037 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 11038 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 11039 esac \ 11040 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11041 ;; 11042 :H) 11043 # 11044 # CONFIG_HEADER 11045 # 11046 if test x"$ac_file" != x-; then 11047 { 11048 $as_echo "/* $configure_input */" \ 11049 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11050 } >"$ac_tmp/config.h" \ 11051 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11052 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11053 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11054$as_echo "$as_me: $ac_file is unchanged" >&6;} 11055 else 11056 rm -f "$ac_file" 11057 mv "$ac_tmp/config.h" "$ac_file" \ 11058 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11059 fi 11060 else 11061 $as_echo "/* $configure_input */" \ 11062 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11063 || as_fn_error $? "could not create -" "$LINENO" 5 11064 fi 11065 ;; 11066 11067 11068 esac 11069 11070done # for ac_tag 11071 11072 11073as_fn_exit 0 11074_ACEOF 11075ac_clean_files=$ac_clean_files_save 11076 11077test $ac_write_fail = 0 || 11078 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 11079 11080 11081# configure is writing to config.log, and then calls config.status. 11082# config.status does its own redirection, appending to config.log. 11083# Unfortunately, on DOS this fails, as config.log is still kept open 11084# by configure, so config.status won't be able to write to it; its 11085# output is simply discarded. So we exec the FD to /dev/null, 11086# effectively closing config.log, so it can be properly (re)opened and 11087# appended to by config.status. When coming back to configure, we 11088# need to make the FD available again. 11089if test "$no_create" != yes; then 11090 ac_cs_success=: 11091 ac_config_status_args= 11092 test "$silent" = yes && 11093 ac_config_status_args="$ac_config_status_args --quiet" 11094 exec 5>/dev/null 11095 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 11096 exec 5>>config.log 11097 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11098 # would make configure fail if this is the last instruction. 11099 $ac_cs_success || as_fn_exit 1 11100fi 11101if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11103$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11104fi 11105 11106 11107 11108{ $as_echo "$as_me:${as_lineno-$LINENO}: 11109------------------------------------------------------------------------------ 11110 11111 CONFIGURATION SUMMARY 11112 11113 install prefix ..................... ${prefix-no} 11114 11115 enable debug build ................. ${enable_debug-no} 11116 enable profiling build ............. ${enable_profiling-no} 11117 11118 enable weak SSLv23 support ......... ${enable_sslv23-no} 11119 enable safemem functions ........... ${enable_safemem-no} 11120 11121 with libdlmalloc ................... ${with_libdlmalloc-no} 11122 with libiconv ...................... ${with_libiconv-no} 11123 with libintl ....................... ${with_libintl-no} 11124 with libltdl ....................... ${with_libltdl-no} 11125 enabling this may not be as good idea as it sounds as libtool is not 11126 thread safe which may cause problems 11127 11128 build libredtools .................. ${with_redtools-no} 11129 with Motif ................... ${with_motif-no} 11130 Xft fonts .................... ${with_redtools_xft-no} 11131 Xft serif typeface ........... ${with_redtools_xft_serif-no} 11132 Xft custom typeface .......... ${with_redtools_xft_typeface-no} 11133 Xft small fonts .............. ${with_redtools_xft_small-no} 11134 Xft large fonts .............. ${with_redtools_xft_large-no} 11135 Xft huge fonts ............... ${with_redtools_xft_huge-no} 11136 Xft custom fontsize .......... ${with_redtools_xft_fontsize-no} 11137 11138 build external input drivers 11139 USB classic NES gamepad ...... ${with_usb_classic_nes_gamepad-no} 11140 11141 color database to use with Ano script and for resource options 11142 tiny (vga) ................... ${with_color_db_tiny-no} 11143 small (w3c) .................. ${with_color_db_small-no} 11144 large (complete) ............. ${with_color_db_large-no} 11145 11146------------------------------------------------------------------------------ 11147" >&5 11148$as_echo "$as_me: 11149------------------------------------------------------------------------------ 11150 11151 CONFIGURATION SUMMARY 11152 11153 install prefix ..................... ${prefix-no} 11154 11155 enable debug build ................. ${enable_debug-no} 11156 enable profiling build ............. ${enable_profiling-no} 11157 11158 enable weak SSLv23 support ......... ${enable_sslv23-no} 11159 enable safemem functions ........... ${enable_safemem-no} 11160 11161 with libdlmalloc ................... ${with_libdlmalloc-no} 11162 with libiconv ...................... ${with_libiconv-no} 11163 with libintl ....................... ${with_libintl-no} 11164 with libltdl ....................... ${with_libltdl-no} 11165 enabling this may not be as good idea as it sounds as libtool is not 11166 thread safe which may cause problems 11167 11168 build libredtools .................. ${with_redtools-no} 11169 with Motif ................... ${with_motif-no} 11170 Xft fonts .................... ${with_redtools_xft-no} 11171 Xft serif typeface ........... ${with_redtools_xft_serif-no} 11172 Xft custom typeface .......... ${with_redtools_xft_typeface-no} 11173 Xft small fonts .............. ${with_redtools_xft_small-no} 11174 Xft large fonts .............. ${with_redtools_xft_large-no} 11175 Xft huge fonts ............... ${with_redtools_xft_huge-no} 11176 Xft custom fontsize .......... ${with_redtools_xft_fontsize-no} 11177 11178 build external input drivers 11179 USB classic NES gamepad ...... ${with_usb_classic_nes_gamepad-no} 11180 11181 color database to use with Ano script and for resource options 11182 tiny (vga) ................... ${with_color_db_tiny-no} 11183 small (w3c) .................. ${with_color_db_small-no} 11184 large (complete) ............. ${with_color_db_large-no} 11185 11186------------------------------------------------------------------------------ 11187" >&6;} 11188 11189 11190./build/subsys 2>/dev/null 11191 11192{ $as_echo "$as_me:${as_lineno-$LINENO}: Now type \`make' to build the project." >&5 11193$as_echo "$as_me: Now type \`make' to build the project." >&6;} 11194