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