cannam@252: #! /bin/sh cannam@252: # Guess values for system-dependent variables and create Makefiles. Chris@539: # Generated by GNU Autoconf 2.69 for vamp-plugin-sdk 2.10. cannam@252: # cannam@252: # Report bugs to . cannam@252: # Chris@315: # Chris@352: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. Chris@315: # Chris@315: # cannam@252: # This configure script is free software; the Free Software Foundation cannam@252: # gives unlimited permission to copy, distribute and modify it. Chris@315: ## -------------------- ## Chris@315: ## M4sh Initialization. ## Chris@315: ## -------------------- ## cannam@252: cannam@252: # Be more Bourne compatible cannam@252: DUALCASE=1; export DUALCASE # for MKS sh Chris@315: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : cannam@252: emulate sh cannam@252: NULLCMD=: Chris@315: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which cannam@252: # is contrary to our usage. Disable this feature. cannam@252: alias -g '${1+"$@"}'='"$@"' cannam@252: setopt NO_GLOB_SUBST cannam@252: else Chris@315: case `(set -o) 2>/dev/null` in #( Chris@315: *posix*) : Chris@315: set -o posix ;; #( Chris@315: *) : Chris@315: ;; cannam@252: esac cannam@252: fi cannam@252: cannam@252: Chris@315: as_nl=' Chris@315: ' Chris@315: export as_nl Chris@315: # Printing a long string crashes Solaris 7 /usr/bin/printf. Chris@315: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' Chris@315: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo Chris@315: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo Chris@315: # Prefer a ksh shell builtin over an external printf program on Solaris, Chris@315: # but without wasting forks for bash or zsh. Chris@315: if test -z "$BASH_VERSION$ZSH_VERSION" \ Chris@315: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then Chris@315: as_echo='print -r --' Chris@315: as_echo_n='print -rn --' Chris@315: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then Chris@315: as_echo='printf %s\n' Chris@315: as_echo_n='printf %s' Chris@315: else Chris@315: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then Chris@315: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' Chris@315: as_echo_n='/usr/ucb/echo -n' Chris@315: else Chris@315: as_echo_body='eval expr "X$1" : "X\\(.*\\)"' Chris@315: as_echo_n_body='eval Chris@315: arg=$1; Chris@315: case $arg in #( Chris@315: *"$as_nl"*) Chris@315: expr "X$arg" : "X\\(.*\\)$as_nl"; Chris@315: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; Chris@315: esac; Chris@315: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" Chris@315: ' Chris@315: export as_echo_n_body Chris@315: as_echo_n='sh -c $as_echo_n_body as_echo' Chris@315: fi Chris@315: export as_echo_body Chris@315: as_echo='sh -c $as_echo_body as_echo' Chris@315: fi cannam@252: cannam@252: # The user is always right. cannam@252: if test "${PATH_SEPARATOR+set}" != set; then Chris@315: PATH_SEPARATOR=: Chris@315: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { Chris@315: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || Chris@315: PATH_SEPARATOR=';' Chris@315: } cannam@252: fi cannam@252: cannam@252: cannam@252: # IFS cannam@252: # We need space, tab and new line, in precisely that order. Quoting is cannam@252: # there to prevent editors from complaining about space-tab. cannam@252: # (If _AS_PATH_WALK were called with IFS unset, it would disable word cannam@252: # splitting by setting IFS to empty value.) cannam@252: IFS=" "" $as_nl" cannam@252: cannam@252: # Find who we are. Look in the path if we contain no directory separator. Chris@321: as_myself= Chris@315: case $0 in #(( cannam@252: *[\\/]* ) as_myself=$0 ;; cannam@252: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break Chris@315: done cannam@252: IFS=$as_save_IFS cannam@252: cannam@252: ;; cannam@252: esac cannam@252: # We did not find ourselves, most probably we were run as `sh COMMAND' cannam@252: # in which case we are not to be found in the path. cannam@252: if test "x$as_myself" = x; then cannam@252: as_myself=$0 cannam@252: fi cannam@252: if test ! -f "$as_myself"; then Chris@315: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 Chris@315: exit 1 cannam@252: fi cannam@252: Chris@315: # Unset variables that we do not need and which cause bugs (e.g. in Chris@315: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" Chris@315: # suppresses any "Segmentation fault" message there. '((' could Chris@315: # trigger a bug in pdksh 5.2.14. Chris@315: for as_var in BASH_ENV ENV MAIL MAILPATH Chris@315: do eval test x\${$as_var+set} = xset \ Chris@315: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : cannam@252: done cannam@252: PS1='$ ' cannam@252: PS2='> ' cannam@252: PS4='+ ' cannam@252: cannam@252: # NLS nuisances. Chris@315: LC_ALL=C Chris@315: export LC_ALL Chris@315: LANGUAGE=C Chris@315: export LANGUAGE Chris@315: Chris@315: # CDPATH. Chris@315: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH Chris@315: Chris@352: # Use a proper internal environment variable to ensure we don't fall Chris@352: # into an infinite loop, continuously re-executing ourselves. Chris@352: if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then Chris@352: _as_can_reexec=no; export _as_can_reexec; Chris@352: # We cannot yet assume a decent shell, so we have to provide a Chris@352: # neutralization value for shells without unset; and this also Chris@352: # works around shells that cannot unset nonexistent variables. Chris@352: # Preserve -v and -x to the replacement shell. Chris@352: BASH_ENV=/dev/null Chris@352: ENV=/dev/null Chris@352: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV Chris@352: case $- in # (((( Chris@352: *v*x* | *x*v* ) as_opts=-vx ;; Chris@352: *v* ) as_opts=-v ;; Chris@352: *x* ) as_opts=-x ;; Chris@352: * ) as_opts= ;; Chris@352: esac Chris@352: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} Chris@352: # Admittedly, this is quite paranoid, since all the known shells bail Chris@352: # out after a failed `exec'. Chris@352: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 Chris@352: as_fn_exit 255 Chris@352: fi Chris@352: # We don't want this to propagate to other subprocesses. Chris@352: { _as_can_reexec=; unset _as_can_reexec;} Chris@315: if test "x$CONFIG_SHELL" = x; then Chris@315: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : Chris@315: emulate sh Chris@315: NULLCMD=: Chris@315: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which Chris@315: # is contrary to our usage. Disable this feature. Chris@315: alias -g '\${1+\"\$@\"}'='\"\$@\"' Chris@315: setopt NO_GLOB_SUBST Chris@315: else Chris@315: case \`(set -o) 2>/dev/null\` in #( Chris@315: *posix*) : Chris@315: set -o posix ;; #( Chris@315: *) : Chris@315: ;; Chris@315: esac Chris@315: fi Chris@315: " Chris@315: as_required="as_fn_return () { (exit \$1); } Chris@315: as_fn_success () { as_fn_return 0; } Chris@315: as_fn_failure () { as_fn_return 1; } Chris@315: as_fn_ret_success () { return 0; } Chris@315: as_fn_ret_failure () { return 1; } Chris@315: Chris@315: exitcode=0 Chris@315: as_fn_success || { exitcode=1; echo as_fn_success failed.; } Chris@315: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } Chris@315: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } Chris@315: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } Chris@315: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : Chris@315: Chris@315: else Chris@315: exitcode=1; echo positional parameters were not saved. Chris@315: fi Chris@352: test x\$exitcode = x0 || exit 1 Chris@352: test -x / || exit 1" Chris@315: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO Chris@315: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO Chris@315: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && Chris@315: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 Chris@315: test \$(( 1 + 1 )) = 2 || exit 1" Chris@315: if (eval "$as_required") 2>/dev/null; then : Chris@315: as_have_required=yes Chris@315: else Chris@315: as_have_required=no Chris@315: fi Chris@315: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : Chris@315: Chris@315: else Chris@315: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR Chris@315: as_found=false Chris@315: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH cannam@252: do Chris@315: IFS=$as_save_IFS Chris@315: test -z "$as_dir" && as_dir=. Chris@315: as_found=: Chris@315: case $as_dir in #( Chris@315: /*) Chris@315: for as_base in sh bash ksh sh5; do Chris@315: # Try only shells that exist, to save several forks. Chris@315: as_shell=$as_dir/$as_base Chris@315: if { test -f "$as_shell" || test -f "$as_shell.exe"; } && Chris@315: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : Chris@315: CONFIG_SHELL=$as_shell as_have_required=yes Chris@315: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : Chris@315: break 2 Chris@315: fi Chris@315: fi Chris@315: done;; Chris@315: esac Chris@315: as_found=false Chris@315: done Chris@315: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && Chris@315: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : Chris@315: CONFIG_SHELL=$SHELL as_have_required=yes Chris@315: fi; } Chris@315: IFS=$as_save_IFS Chris@315: Chris@315: Chris@315: if test "x$CONFIG_SHELL" != x; then : Chris@352: export CONFIG_SHELL Chris@352: # We cannot yet assume a decent shell, so we have to provide a Chris@352: # neutralization value for shells without unset; and this also Chris@352: # works around shells that cannot unset nonexistent variables. Chris@352: # Preserve -v and -x to the replacement shell. Chris@352: BASH_ENV=/dev/null Chris@352: ENV=/dev/null Chris@352: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV Chris@352: case $- in # (((( Chris@352: *v*x* | *x*v* ) as_opts=-vx ;; Chris@352: *v* ) as_opts=-v ;; Chris@352: *x* ) as_opts=-x ;; Chris@352: * ) as_opts= ;; Chris@352: esac Chris@352: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} Chris@352: # Admittedly, this is quite paranoid, since all the known shells bail Chris@352: # out after a failed `exec'. Chris@352: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 Chris@352: exit 255 Chris@315: fi Chris@315: Chris@315: if test x$as_have_required = xno; then : Chris@315: $as_echo "$0: This script requires a shell more modern than all" Chris@315: $as_echo "$0: the shells that I found on your system." Chris@315: if test x${ZSH_VERSION+set} = xset ; then Chris@315: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" Chris@315: $as_echo "$0: be upgraded to zsh 4.3.4 or later." cannam@252: else Chris@315: $as_echo "$0: Please tell bug-autoconf@gnu.org and Chris@315: $0: cannam@all-day-breakfast.com about your system, Chris@315: $0: including any error possibly output before this Chris@315: $0: message. Then install a modern shell, or manually run Chris@315: $0: the script under such a shell if you do have one." cannam@252: fi Chris@315: exit 1 Chris@315: fi Chris@315: fi Chris@315: fi Chris@315: SHELL=${CONFIG_SHELL-/bin/sh} Chris@315: export SHELL Chris@315: # Unset more variables known to interfere with behavior of common tools. Chris@315: CLICOLOR_FORCE= GREP_OPTIONS= Chris@315: unset CLICOLOR_FORCE GREP_OPTIONS Chris@315: Chris@315: ## --------------------- ## Chris@315: ## M4sh Shell Functions. ## Chris@315: ## --------------------- ## Chris@315: # as_fn_unset VAR Chris@315: # --------------- Chris@315: # Portably unset VAR. Chris@315: as_fn_unset () Chris@315: { Chris@315: { eval $1=; unset $1;} Chris@315: } Chris@315: as_unset=as_fn_unset Chris@315: Chris@315: # as_fn_set_status STATUS Chris@315: # ----------------------- Chris@315: # Set $? to STATUS, without forking. Chris@315: as_fn_set_status () Chris@315: { Chris@315: return $1 Chris@315: } # as_fn_set_status Chris@315: Chris@315: # as_fn_exit STATUS Chris@315: # ----------------- Chris@315: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. Chris@315: as_fn_exit () Chris@315: { Chris@315: set +e Chris@315: as_fn_set_status $1 Chris@315: exit $1 Chris@315: } # as_fn_exit Chris@315: Chris@315: # as_fn_mkdir_p Chris@315: # ------------- Chris@315: # Create "$as_dir" as a directory, including parents if necessary. Chris@315: as_fn_mkdir_p () Chris@315: { Chris@315: Chris@315: case $as_dir in #( Chris@315: -*) as_dir=./$as_dir;; Chris@315: esac Chris@315: test -d "$as_dir" || eval $as_mkdir_p || { Chris@315: as_dirs= Chris@315: while :; do Chris@315: case $as_dir in #( Chris@315: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( Chris@315: *) as_qdir=$as_dir;; Chris@315: esac Chris@315: as_dirs="'$as_qdir' $as_dirs" Chris@315: as_dir=`$as_dirname -- "$as_dir" || Chris@315: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ Chris@315: X"$as_dir" : 'X\(//\)[^/]' \| \ Chris@315: X"$as_dir" : 'X\(//\)$' \| \ Chris@315: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || Chris@315: $as_echo X"$as_dir" | Chris@315: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ Chris@315: s//\1/ Chris@315: q Chris@315: } Chris@315: /^X\(\/\/\)[^/].*/{ Chris@315: s//\1/ Chris@315: q Chris@315: } Chris@315: /^X\(\/\/\)$/{ Chris@315: s//\1/ Chris@315: q Chris@315: } Chris@315: /^X\(\/\).*/{ Chris@315: s//\1/ Chris@315: q Chris@315: } Chris@315: s/.*/./; q'` Chris@315: test -d "$as_dir" && break Chris@315: done Chris@315: test -z "$as_dirs" || eval "mkdir $as_dirs" Chris@315: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" Chris@315: Chris@315: Chris@315: } # as_fn_mkdir_p Chris@352: Chris@352: # as_fn_executable_p FILE Chris@352: # ----------------------- Chris@352: # Test if FILE is an executable regular file. Chris@352: as_fn_executable_p () Chris@352: { Chris@352: test -f "$1" && test -x "$1" Chris@352: } # as_fn_executable_p Chris@315: # as_fn_append VAR VALUE Chris@315: # ---------------------- Chris@315: # Append the text in VALUE to the end of the definition contained in VAR. Take Chris@315: # advantage of any shell optimizations that allow amortized linear growth over Chris@315: # repeated appends, instead of the typical quadratic growth present in naive Chris@315: # implementations. Chris@315: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : Chris@315: eval 'as_fn_append () Chris@315: { Chris@315: eval $1+=\$2 Chris@315: }' Chris@315: else Chris@315: as_fn_append () Chris@315: { Chris@315: eval $1=\$$1\$2 Chris@315: } Chris@315: fi # as_fn_append Chris@315: Chris@315: # as_fn_arith ARG... Chris@315: # ------------------ Chris@315: # Perform arithmetic evaluation on the ARGs, and store the result in the Chris@315: # global $as_val. Take advantage of shells that can avoid forks. The arguments Chris@315: # must be portable across $(()) and expr. Chris@315: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : Chris@315: eval 'as_fn_arith () Chris@315: { Chris@315: as_val=$(( $* )) Chris@315: }' Chris@315: else Chris@315: as_fn_arith () Chris@315: { Chris@315: as_val=`expr "$@" || test $? -eq 1` Chris@315: } Chris@315: fi # as_fn_arith Chris@315: Chris@315: Chris@315: # as_fn_error STATUS ERROR [LINENO LOG_FD] Chris@315: # ---------------------------------------- Chris@315: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are Chris@315: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the Chris@315: # script with STATUS, using 1 if that was 0. Chris@315: as_fn_error () Chris@315: { Chris@315: as_status=$1; test $as_status -eq 0 && as_status=1 Chris@315: if test "$4"; then Chris@315: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 Chris@315: fi Chris@315: $as_echo "$as_me: error: $2" >&2 Chris@315: as_fn_exit $as_status Chris@315: } # as_fn_error Chris@315: cannam@252: if expr a : '\(a\)' >/dev/null 2>&1 && cannam@252: test "X`expr 00001 : '.*\(...\)'`" = X001; then cannam@252: as_expr=expr cannam@252: else cannam@252: as_expr=false cannam@252: fi cannam@252: cannam@252: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then cannam@252: as_basename=basename cannam@252: else cannam@252: as_basename=false cannam@252: fi cannam@252: Chris@315: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then Chris@315: as_dirname=dirname Chris@315: else Chris@315: as_dirname=false Chris@315: fi Chris@315: cannam@252: as_me=`$as_basename -- "$0" || cannam@252: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ cannam@252: X"$0" : 'X\(//\)$' \| \ cannam@252: X"$0" : 'X\(/\)' \| . 2>/dev/null || Chris@315: $as_echo X/"$0" | cannam@252: sed '/^.*\/\([^/][^/]*\)\/*$/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: /^X\/\(\/\/\)$/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: /^X\/\(\/\).*/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: s/.*/./; q'` cannam@252: Chris@315: # Avoid depending upon Character Ranges. Chris@315: as_cr_letters='abcdefghijklmnopqrstuvwxyz' Chris@315: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' Chris@315: as_cr_Letters=$as_cr_letters$as_cr_LETTERS Chris@315: as_cr_digits='0123456789' Chris@315: as_cr_alnum=$as_cr_Letters$as_cr_digits Chris@315: Chris@315: Chris@315: as_lineno_1=$LINENO as_lineno_1a=$LINENO Chris@315: as_lineno_2=$LINENO as_lineno_2a=$LINENO Chris@315: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && Chris@315: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { Chris@315: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) cannam@252: sed -n ' cannam@252: p cannam@252: /[$]LINENO/= cannam@252: ' <$as_myself | cannam@252: sed ' cannam@252: s/[$]LINENO.*/&-/ cannam@252: t lineno cannam@252: b cannam@252: :lineno cannam@252: N cannam@252: :loop cannam@252: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ cannam@252: t loop cannam@252: s/-\n.*// cannam@252: ' >$as_me.lineno && cannam@252: chmod +x "$as_me.lineno" || Chris@315: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } cannam@252: Chris@352: # If we had to re-execute with $CONFIG_SHELL, we're ensured to have Chris@352: # already done that, so ensure we don't try to do so again and fall Chris@352: # in an infinite loop. This has already happened in practice. Chris@352: _as_can_reexec=no; export _as_can_reexec cannam@252: # Don't try to exec as it changes $[0], causing all sort of problems cannam@252: # (the dirname of $[0] is not the place where we might find the cannam@252: # original and so on. Autoconf is especially sensitive to this). cannam@252: . "./$as_me.lineno" cannam@252: # Exit status is that of the last command. cannam@252: exit cannam@252: } cannam@252: cannam@252: ECHO_C= ECHO_N= ECHO_T= Chris@315: case `echo -n x` in #((((( cannam@252: -n*) Chris@315: case `echo 'xy\c'` in cannam@252: *c*) ECHO_T=' ';; # ECHO_T is single tab character. Chris@315: xy) ECHO_C='\c';; Chris@315: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null Chris@315: ECHO_T=' ';; cannam@252: esac;; cannam@252: *) cannam@252: ECHO_N='-n';; cannam@252: esac cannam@252: cannam@252: rm -f conf$$ conf$$.exe conf$$.file cannam@252: if test -d conf$$.dir; then cannam@252: rm -f conf$$.dir/conf$$.file cannam@252: else cannam@252: rm -f conf$$.dir Chris@315: mkdir conf$$.dir 2>/dev/null cannam@252: fi Chris@315: if (echo >conf$$.file) 2>/dev/null; then Chris@315: if ln -s conf$$.file conf$$ 2>/dev/null; then Chris@315: as_ln_s='ln -s' Chris@315: # ... but there are two gotchas: Chris@315: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. Chris@315: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. Chris@352: # In both cases, we have to default to `cp -pR'. Chris@315: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || Chris@352: as_ln_s='cp -pR' Chris@315: elif ln conf$$.file conf$$ 2>/dev/null; then Chris@315: as_ln_s=ln Chris@315: else Chris@352: as_ln_s='cp -pR' Chris@315: fi cannam@252: else Chris@352: as_ln_s='cp -pR' cannam@252: fi cannam@252: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file cannam@252: rmdir conf$$.dir 2>/dev/null cannam@252: cannam@252: if mkdir -p . 2>/dev/null; then Chris@315: as_mkdir_p='mkdir -p "$as_dir"' cannam@252: else cannam@252: test -d ./-p && rmdir ./-p cannam@252: as_mkdir_p=false cannam@252: fi cannam@252: Chris@352: as_test_x='test -x' Chris@352: as_executable_p=as_fn_executable_p cannam@252: cannam@252: # Sed expression to map a string onto a valid CPP name. cannam@252: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" cannam@252: cannam@252: # Sed expression to map a string onto a valid variable name. cannam@252: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" cannam@252: cannam@252: Chris@315: test -n "$DJDIR" || exec 7<&0 &1 cannam@252: cannam@252: # Name of the host. Chris@315: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, cannam@252: # so uname gets run too. cannam@252: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` cannam@252: cannam@252: # cannam@252: # Initializations. cannam@252: # cannam@252: ac_default_prefix=/usr/local cannam@252: ac_clean_files= cannam@252: ac_config_libobj_dir=. cannam@252: LIBOBJS= cannam@252: cross_compiling=no cannam@252: subdirs= cannam@252: MFLAGS= cannam@252: MAKEFLAGS= cannam@252: cannam@252: # Identity of this package. cannam@252: PACKAGE_NAME='vamp-plugin-sdk' cannam@252: PACKAGE_TARNAME='vamp-plugin-sdk' Chris@539: PACKAGE_VERSION='2.10' Chris@539: PACKAGE_STRING='vamp-plugin-sdk 2.10' cannam@252: PACKAGE_BUGREPORT='cannam@all-day-breakfast.com' Chris@315: PACKAGE_URL='' cannam@252: cannam@252: ac_unique_file="vamp/vamp.h" cannam@252: # Factoring default headers for most tests. cannam@252: ac_includes_default="\ cannam@252: #include cannam@252: #ifdef HAVE_SYS_TYPES_H cannam@252: # include cannam@252: #endif cannam@252: #ifdef HAVE_SYS_STAT_H cannam@252: # include cannam@252: #endif cannam@252: #ifdef STDC_HEADERS cannam@252: # include cannam@252: # include cannam@252: #else cannam@252: # ifdef HAVE_STDLIB_H cannam@252: # include cannam@252: # endif cannam@252: #endif cannam@252: #ifdef HAVE_STRING_H cannam@252: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H cannam@252: # include cannam@252: # endif cannam@252: # include cannam@252: #endif cannam@252: #ifdef HAVE_STRINGS_H cannam@252: # include cannam@252: #endif cannam@252: #ifdef HAVE_INTTYPES_H cannam@252: # include cannam@252: #endif cannam@252: #ifdef HAVE_STDINT_H cannam@252: # include cannam@252: #endif cannam@252: #ifdef HAVE_UNISTD_H cannam@252: # include cannam@252: #endif" cannam@252: Chris@315: ac_subst_vars='LTLIBOBJS Chris@315: LIBOBJS Chris@315: TARGETS Chris@315: SNDFILE_LIBS Chris@315: SNDFILE_CFLAGS Chris@315: PKG_CONFIG_LIBDIR Chris@315: PKG_CONFIG_PATH Chris@315: PKG_CONFIG Chris@526: HAVE_CXX11 Chris@315: EGREP Chris@315: GREP Chris@315: CPP Chris@315: ac_ct_CC Chris@315: CFLAGS Chris@315: CC Chris@315: OBJEXT Chris@315: EXEEXT Chris@315: ac_ct_CXX Chris@315: CPPFLAGS Chris@315: LDFLAGS Chris@315: CXXFLAGS Chris@315: CXX Chris@315: target_alias Chris@315: host_alias Chris@315: build_alias Chris@315: LIBS Chris@315: ECHO_T Chris@315: ECHO_N Chris@315: ECHO_C Chris@315: DEFS Chris@315: mandir Chris@315: localedir Chris@315: libdir Chris@315: psdir Chris@315: pdfdir Chris@315: dvidir Chris@315: htmldir Chris@315: infodir Chris@315: docdir Chris@315: oldincludedir Chris@315: includedir Chris@315: localstatedir Chris@315: sharedstatedir Chris@315: sysconfdir Chris@315: datadir Chris@315: datarootdir Chris@315: libexecdir Chris@315: sbindir Chris@315: bindir Chris@315: program_transform_name Chris@315: prefix Chris@315: exec_prefix Chris@315: PACKAGE_URL Chris@315: PACKAGE_BUGREPORT Chris@315: PACKAGE_STRING Chris@315: PACKAGE_VERSION Chris@315: PACKAGE_TARNAME Chris@315: PACKAGE_NAME cannam@252: PATH_SEPARATOR Chris@315: SHELL' cannam@252: ac_subst_files='' Chris@315: ac_user_opts=' Chris@315: enable_option_checking Chris@315: enable_programs Chris@315: ' cannam@252: ac_precious_vars='build_alias cannam@252: host_alias cannam@252: target_alias cannam@252: CXX cannam@252: CXXFLAGS cannam@252: LDFLAGS cannam@252: LIBS cannam@252: CPPFLAGS cannam@252: CCC cannam@252: CC cannam@252: CFLAGS cannam@252: CPP cannam@252: PKG_CONFIG Chris@315: PKG_CONFIG_PATH Chris@315: PKG_CONFIG_LIBDIR cannam@252: SNDFILE_CFLAGS cannam@252: SNDFILE_LIBS' cannam@252: cannam@252: cannam@252: # Initialize some variables set by options. cannam@252: ac_init_help= cannam@252: ac_init_version=false Chris@315: ac_unrecognized_opts= Chris@315: ac_unrecognized_sep= cannam@252: # The variables have the same names as the options, with cannam@252: # dashes changed to underlines. cannam@252: cache_file=/dev/null cannam@252: exec_prefix=NONE cannam@252: no_create= cannam@252: no_recursion= cannam@252: prefix=NONE cannam@252: program_prefix=NONE cannam@252: program_suffix=NONE cannam@252: program_transform_name=s,x,x, cannam@252: silent= cannam@252: site= cannam@252: srcdir= cannam@252: verbose= cannam@252: x_includes=NONE cannam@252: x_libraries=NONE cannam@252: cannam@252: # Installation directory options. cannam@252: # These are left unexpanded so users can "make install exec_prefix=/foo" cannam@252: # and all the variables that are supposed to be based on exec_prefix cannam@252: # by default will actually change. cannam@252: # Use braces instead of parens because sh, perl, etc. also accept them. cannam@252: # (The list follows the same order as the GNU Coding Standards.) cannam@252: bindir='${exec_prefix}/bin' cannam@252: sbindir='${exec_prefix}/sbin' cannam@252: libexecdir='${exec_prefix}/libexec' cannam@252: datarootdir='${prefix}/share' cannam@252: datadir='${datarootdir}' cannam@252: sysconfdir='${prefix}/etc' cannam@252: sharedstatedir='${prefix}/com' cannam@252: localstatedir='${prefix}/var' cannam@252: includedir='${prefix}/include' cannam@252: oldincludedir='/usr/include' cannam@252: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' cannam@252: infodir='${datarootdir}/info' cannam@252: htmldir='${docdir}' cannam@252: dvidir='${docdir}' cannam@252: pdfdir='${docdir}' cannam@252: psdir='${docdir}' cannam@252: libdir='${exec_prefix}/lib' cannam@252: localedir='${datarootdir}/locale' cannam@252: mandir='${datarootdir}/man' cannam@252: cannam@252: ac_prev= cannam@252: ac_dashdash= cannam@252: for ac_option cannam@252: do cannam@252: # If the previous option needs an argument, assign it. cannam@252: if test -n "$ac_prev"; then cannam@252: eval $ac_prev=\$ac_option cannam@252: ac_prev= cannam@252: continue cannam@252: fi cannam@252: cannam@252: case $ac_option in Chris@315: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; Chris@315: *=) ac_optarg= ;; Chris@315: *) ac_optarg=yes ;; cannam@252: esac cannam@252: cannam@252: # Accept the important Cygnus configure options, so we can diagnose typos. cannam@252: cannam@252: case $ac_dashdash$ac_option in cannam@252: --) cannam@252: ac_dashdash=yes ;; cannam@252: cannam@252: -bindir | --bindir | --bindi | --bind | --bin | --bi) cannam@252: ac_prev=bindir ;; cannam@252: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) cannam@252: bindir=$ac_optarg ;; cannam@252: cannam@252: -build | --build | --buil | --bui | --bu) cannam@252: ac_prev=build_alias ;; cannam@252: -build=* | --build=* | --buil=* | --bui=* | --bu=*) cannam@252: build_alias=$ac_optarg ;; cannam@252: cannam@252: -cache-file | --cache-file | --cache-fil | --cache-fi \ cannam@252: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) cannam@252: ac_prev=cache_file ;; cannam@252: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ cannam@252: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cannam@252: cache_file=$ac_optarg ;; cannam@252: cannam@252: --config-cache | -C) cannam@252: cache_file=config.cache ;; cannam@252: cannam@252: -datadir | --datadir | --datadi | --datad) cannam@252: ac_prev=datadir ;; cannam@252: -datadir=* | --datadir=* | --datadi=* | --datad=*) cannam@252: datadir=$ac_optarg ;; cannam@252: cannam@252: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ cannam@252: | --dataroo | --dataro | --datar) cannam@252: ac_prev=datarootdir ;; cannam@252: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ cannam@252: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) cannam@252: datarootdir=$ac_optarg ;; cannam@252: cannam@252: -disable-* | --disable-*) Chris@315: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` cannam@252: # Reject names that are not valid shell variable names. Chris@315: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && Chris@315: as_fn_error $? "invalid feature name: $ac_useropt" Chris@315: ac_useropt_orig=$ac_useropt Chris@315: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` Chris@315: case $ac_user_opts in Chris@315: *" Chris@315: "enable_$ac_useropt" Chris@315: "*) ;; Chris@315: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" Chris@315: ac_unrecognized_sep=', ';; Chris@315: esac Chris@315: eval enable_$ac_useropt=no ;; cannam@252: cannam@252: -docdir | --docdir | --docdi | --doc | --do) cannam@252: ac_prev=docdir ;; cannam@252: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) cannam@252: docdir=$ac_optarg ;; cannam@252: cannam@252: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) cannam@252: ac_prev=dvidir ;; cannam@252: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) cannam@252: dvidir=$ac_optarg ;; cannam@252: cannam@252: -enable-* | --enable-*) Chris@315: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` cannam@252: # Reject names that are not valid shell variable names. Chris@315: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && Chris@315: as_fn_error $? "invalid feature name: $ac_useropt" Chris@315: ac_useropt_orig=$ac_useropt Chris@315: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` Chris@315: case $ac_user_opts in Chris@315: *" Chris@315: "enable_$ac_useropt" Chris@315: "*) ;; Chris@315: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" Chris@315: ac_unrecognized_sep=', ';; Chris@315: esac Chris@315: eval enable_$ac_useropt=\$ac_optarg ;; cannam@252: cannam@252: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ cannam@252: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ cannam@252: | --exec | --exe | --ex) cannam@252: ac_prev=exec_prefix ;; cannam@252: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ cannam@252: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ cannam@252: | --exec=* | --exe=* | --ex=*) cannam@252: exec_prefix=$ac_optarg ;; cannam@252: cannam@252: -gas | --gas | --ga | --g) cannam@252: # Obsolete; use --with-gas. cannam@252: with_gas=yes ;; cannam@252: cannam@252: -help | --help | --hel | --he | -h) cannam@252: ac_init_help=long ;; cannam@252: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) cannam@252: ac_init_help=recursive ;; cannam@252: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) cannam@252: ac_init_help=short ;; cannam@252: cannam@252: -host | --host | --hos | --ho) cannam@252: ac_prev=host_alias ;; cannam@252: -host=* | --host=* | --hos=* | --ho=*) cannam@252: host_alias=$ac_optarg ;; cannam@252: cannam@252: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) cannam@252: ac_prev=htmldir ;; cannam@252: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ cannam@252: | --ht=*) cannam@252: htmldir=$ac_optarg ;; cannam@252: cannam@252: -includedir | --includedir | --includedi | --included | --include \ cannam@252: | --includ | --inclu | --incl | --inc) cannam@252: ac_prev=includedir ;; cannam@252: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ cannam@252: | --includ=* | --inclu=* | --incl=* | --inc=*) cannam@252: includedir=$ac_optarg ;; cannam@252: cannam@252: -infodir | --infodir | --infodi | --infod | --info | --inf) cannam@252: ac_prev=infodir ;; cannam@252: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) cannam@252: infodir=$ac_optarg ;; cannam@252: cannam@252: -libdir | --libdir | --libdi | --libd) cannam@252: ac_prev=libdir ;; cannam@252: -libdir=* | --libdir=* | --libdi=* | --libd=*) cannam@252: libdir=$ac_optarg ;; cannam@252: cannam@252: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ cannam@252: | --libexe | --libex | --libe) cannam@252: ac_prev=libexecdir ;; cannam@252: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ cannam@252: | --libexe=* | --libex=* | --libe=*) cannam@252: libexecdir=$ac_optarg ;; cannam@252: cannam@252: -localedir | --localedir | --localedi | --localed | --locale) cannam@252: ac_prev=localedir ;; cannam@252: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) cannam@252: localedir=$ac_optarg ;; cannam@252: cannam@252: -localstatedir | --localstatedir | --localstatedi | --localstated \ cannam@252: | --localstate | --localstat | --localsta | --localst | --locals) cannam@252: ac_prev=localstatedir ;; cannam@252: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ cannam@252: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) cannam@252: localstatedir=$ac_optarg ;; cannam@252: cannam@252: -mandir | --mandir | --mandi | --mand | --man | --ma | --m) cannam@252: ac_prev=mandir ;; cannam@252: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) cannam@252: mandir=$ac_optarg ;; cannam@252: cannam@252: -nfp | --nfp | --nf) cannam@252: # Obsolete; use --without-fp. cannam@252: with_fp=no ;; cannam@252: cannam@252: -no-create | --no-create | --no-creat | --no-crea | --no-cre \ cannam@252: | --no-cr | --no-c | -n) cannam@252: no_create=yes ;; cannam@252: cannam@252: -no-recursion | --no-recursion | --no-recursio | --no-recursi \ cannam@252: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) cannam@252: no_recursion=yes ;; cannam@252: cannam@252: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ cannam@252: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ cannam@252: | --oldin | --oldi | --old | --ol | --o) cannam@252: ac_prev=oldincludedir ;; cannam@252: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ cannam@252: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ cannam@252: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) cannam@252: oldincludedir=$ac_optarg ;; cannam@252: cannam@252: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) cannam@252: ac_prev=prefix ;; cannam@252: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) cannam@252: prefix=$ac_optarg ;; cannam@252: cannam@252: -program-prefix | --program-prefix | --program-prefi | --program-pref \ cannam@252: | --program-pre | --program-pr | --program-p) cannam@252: ac_prev=program_prefix ;; cannam@252: -program-prefix=* | --program-prefix=* | --program-prefi=* \ cannam@252: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) cannam@252: program_prefix=$ac_optarg ;; cannam@252: cannam@252: -program-suffix | --program-suffix | --program-suffi | --program-suff \ cannam@252: | --program-suf | --program-su | --program-s) cannam@252: ac_prev=program_suffix ;; cannam@252: -program-suffix=* | --program-suffix=* | --program-suffi=* \ cannam@252: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) cannam@252: program_suffix=$ac_optarg ;; cannam@252: cannam@252: -program-transform-name | --program-transform-name \ cannam@252: | --program-transform-nam | --program-transform-na \ cannam@252: | --program-transform-n | --program-transform- \ cannam@252: | --program-transform | --program-transfor \ cannam@252: | --program-transfo | --program-transf \ cannam@252: | --program-trans | --program-tran \ cannam@252: | --progr-tra | --program-tr | --program-t) cannam@252: ac_prev=program_transform_name ;; cannam@252: -program-transform-name=* | --program-transform-name=* \ cannam@252: | --program-transform-nam=* | --program-transform-na=* \ cannam@252: | --program-transform-n=* | --program-transform-=* \ cannam@252: | --program-transform=* | --program-transfor=* \ cannam@252: | --program-transfo=* | --program-transf=* \ cannam@252: | --program-trans=* | --program-tran=* \ cannam@252: | --progr-tra=* | --program-tr=* | --program-t=*) cannam@252: program_transform_name=$ac_optarg ;; cannam@252: cannam@252: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) cannam@252: ac_prev=pdfdir ;; cannam@252: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) cannam@252: pdfdir=$ac_optarg ;; cannam@252: cannam@252: -psdir | --psdir | --psdi | --psd | --ps) cannam@252: ac_prev=psdir ;; cannam@252: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) cannam@252: psdir=$ac_optarg ;; cannam@252: cannam@252: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ cannam@252: | -silent | --silent | --silen | --sile | --sil) cannam@252: silent=yes ;; cannam@252: cannam@252: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) cannam@252: ac_prev=sbindir ;; cannam@252: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ cannam@252: | --sbi=* | --sb=*) cannam@252: sbindir=$ac_optarg ;; cannam@252: cannam@252: -sharedstatedir | --sharedstatedir | --sharedstatedi \ cannam@252: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ cannam@252: | --sharedst | --shareds | --shared | --share | --shar \ cannam@252: | --sha | --sh) cannam@252: ac_prev=sharedstatedir ;; cannam@252: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ cannam@252: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ cannam@252: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ cannam@252: | --sha=* | --sh=*) cannam@252: sharedstatedir=$ac_optarg ;; cannam@252: cannam@252: -site | --site | --sit) cannam@252: ac_prev=site ;; cannam@252: -site=* | --site=* | --sit=*) cannam@252: site=$ac_optarg ;; cannam@252: cannam@252: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) cannam@252: ac_prev=srcdir ;; cannam@252: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) cannam@252: srcdir=$ac_optarg ;; cannam@252: cannam@252: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ cannam@252: | --syscon | --sysco | --sysc | --sys | --sy) cannam@252: ac_prev=sysconfdir ;; cannam@252: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ cannam@252: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) cannam@252: sysconfdir=$ac_optarg ;; cannam@252: cannam@252: -target | --target | --targe | --targ | --tar | --ta | --t) cannam@252: ac_prev=target_alias ;; cannam@252: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) cannam@252: target_alias=$ac_optarg ;; cannam@252: cannam@252: -v | -verbose | --verbose | --verbos | --verbo | --verb) cannam@252: verbose=yes ;; cannam@252: cannam@252: -version | --version | --versio | --versi | --vers | -V) cannam@252: ac_init_version=: ;; cannam@252: cannam@252: -with-* | --with-*) Chris@315: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` cannam@252: # Reject names that are not valid shell variable names. Chris@315: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && Chris@315: as_fn_error $? "invalid package name: $ac_useropt" Chris@315: ac_useropt_orig=$ac_useropt Chris@315: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` Chris@315: case $ac_user_opts in Chris@315: *" Chris@315: "with_$ac_useropt" Chris@315: "*) ;; Chris@315: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" Chris@315: ac_unrecognized_sep=', ';; Chris@315: esac Chris@315: eval with_$ac_useropt=\$ac_optarg ;; cannam@252: cannam@252: -without-* | --without-*) Chris@315: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` cannam@252: # Reject names that are not valid shell variable names. Chris@315: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && Chris@315: as_fn_error $? "invalid package name: $ac_useropt" Chris@315: ac_useropt_orig=$ac_useropt Chris@315: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` Chris@315: case $ac_user_opts in Chris@315: *" Chris@315: "with_$ac_useropt" Chris@315: "*) ;; Chris@315: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" Chris@315: ac_unrecognized_sep=', ';; Chris@315: esac Chris@315: eval with_$ac_useropt=no ;; cannam@252: cannam@252: --x) cannam@252: # Obsolete; use --with-x. cannam@252: with_x=yes ;; cannam@252: cannam@252: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ cannam@252: | --x-incl | --x-inc | --x-in | --x-i) cannam@252: ac_prev=x_includes ;; cannam@252: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ cannam@252: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) cannam@252: x_includes=$ac_optarg ;; cannam@252: cannam@252: -x-libraries | --x-libraries | --x-librarie | --x-librari \ cannam@252: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) cannam@252: ac_prev=x_libraries ;; cannam@252: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ cannam@252: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) cannam@252: x_libraries=$ac_optarg ;; cannam@252: Chris@315: -*) as_fn_error $? "unrecognized option: \`$ac_option' Chris@315: Try \`$0 --help' for more information" cannam@252: ;; cannam@252: cannam@252: *=*) cannam@252: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` cannam@252: # Reject names that are not valid shell variable names. Chris@315: case $ac_envvar in #( Chris@315: '' | [0-9]* | *[!_$as_cr_alnum]* ) Chris@315: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; Chris@315: esac cannam@252: eval $ac_envvar=\$ac_optarg cannam@252: export $ac_envvar ;; cannam@252: cannam@252: *) cannam@252: # FIXME: should be removed in autoconf 3.0. Chris@315: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 cannam@252: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && Chris@315: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 Chris@321: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" cannam@252: ;; cannam@252: cannam@252: esac cannam@252: done cannam@252: cannam@252: if test -n "$ac_prev"; then cannam@252: ac_option=--`echo $ac_prev | sed 's/_/-/g'` Chris@315: as_fn_error $? "missing argument to $ac_option" cannam@252: fi cannam@252: Chris@315: if test -n "$ac_unrecognized_opts"; then Chris@315: case $enable_option_checking in Chris@315: no) ;; Chris@315: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; Chris@315: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; Chris@315: esac Chris@315: fi Chris@315: Chris@315: # Check all directory arguments for consistency. cannam@252: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ cannam@252: datadir sysconfdir sharedstatedir localstatedir includedir \ cannam@252: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ cannam@252: libdir localedir mandir cannam@252: do cannam@252: eval ac_val=\$$ac_var Chris@315: # Remove trailing slashes. Chris@315: case $ac_val in Chris@315: */ ) Chris@315: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` Chris@315: eval $ac_var=\$ac_val;; Chris@315: esac Chris@315: # Be sure to have absolute directory names. cannam@252: case $ac_val in cannam@252: [\\/$]* | ?:[\\/]* ) continue;; cannam@252: NONE | '' ) case $ac_var in *prefix ) continue;; esac;; cannam@252: esac Chris@315: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" cannam@252: done cannam@252: cannam@252: # There might be people who depend on the old broken behavior: `$host' cannam@252: # used to hold the argument of --host etc. cannam@252: # FIXME: To remove some day. cannam@252: build=$build_alias cannam@252: host=$host_alias cannam@252: target=$target_alias cannam@252: cannam@252: # FIXME: To remove some day. cannam@252: if test "x$host_alias" != x; then cannam@252: if test "x$build_alias" = x; then cannam@252: cross_compiling=maybe cannam@252: elif test "x$build_alias" != "x$host_alias"; then cannam@252: cross_compiling=yes cannam@252: fi cannam@252: fi cannam@252: cannam@252: ac_tool_prefix= cannam@252: test -n "$host_alias" && ac_tool_prefix=$host_alias- cannam@252: cannam@252: test "$silent" = yes && exec 6>/dev/null cannam@252: cannam@252: cannam@252: ac_pwd=`pwd` && test -n "$ac_pwd" && cannam@252: ac_ls_di=`ls -di .` && cannam@252: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || Chris@315: as_fn_error $? "working directory cannot be determined" cannam@252: test "X$ac_ls_di" = "X$ac_pwd_ls_di" || Chris@315: as_fn_error $? "pwd does not report name of working directory" cannam@252: cannam@252: cannam@252: # Find the source files, if location was not specified. cannam@252: if test -z "$srcdir"; then cannam@252: ac_srcdir_defaulted=yes cannam@252: # Try the directory containing this script, then the parent directory. Chris@315: ac_confdir=`$as_dirname -- "$as_myself" || Chris@315: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ Chris@315: X"$as_myself" : 'X\(//\)[^/]' \| \ Chris@315: X"$as_myself" : 'X\(//\)$' \| \ Chris@315: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || Chris@315: $as_echo X"$as_myself" | cannam@252: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: /^X\(\/\/\)[^/].*/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: /^X\(\/\/\)$/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: /^X\(\/\).*/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: s/.*/./; q'` cannam@252: srcdir=$ac_confdir cannam@252: if test ! -r "$srcdir/$ac_unique_file"; then cannam@252: srcdir=.. cannam@252: fi cannam@252: else cannam@252: ac_srcdir_defaulted=no cannam@252: fi cannam@252: if test ! -r "$srcdir/$ac_unique_file"; then cannam@252: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." Chris@315: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" cannam@252: fi cannam@252: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" cannam@252: ac_abs_confdir=`( Chris@315: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" cannam@252: pwd)` cannam@252: # When building in place, set srcdir=. cannam@252: if test "$ac_abs_confdir" = "$ac_pwd"; then cannam@252: srcdir=. cannam@252: fi cannam@252: # Remove unnecessary trailing slashes from srcdir. cannam@252: # Double slashes in file names in object file debugging info cannam@252: # mess up M-x gdb in Emacs. cannam@252: case $srcdir in cannam@252: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; cannam@252: esac cannam@252: for ac_var in $ac_precious_vars; do cannam@252: eval ac_env_${ac_var}_set=\${${ac_var}+set} cannam@252: eval ac_env_${ac_var}_value=\$${ac_var} cannam@252: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} cannam@252: eval ac_cv_env_${ac_var}_value=\$${ac_var} cannam@252: done cannam@252: cannam@252: # cannam@252: # Report the --help message. cannam@252: # cannam@252: if test "$ac_init_help" = "long"; then cannam@252: # Omit some internal or obsolete options to make the list less imposing. cannam@252: # This message is too long to be a string in the A/UX 3.1 sh. cannam@252: cat <<_ACEOF Chris@539: \`configure' configures vamp-plugin-sdk 2.10 to adapt to many kinds of systems. cannam@252: cannam@252: Usage: $0 [OPTION]... [VAR=VALUE]... cannam@252: cannam@252: To assign environment variables (e.g., CC, CFLAGS...), specify them as cannam@252: VAR=VALUE. See below for descriptions of some of the useful variables. cannam@252: cannam@252: Defaults for the options are specified in brackets. cannam@252: cannam@252: Configuration: cannam@252: -h, --help display this help and exit cannam@252: --help=short display options specific to this package cannam@252: --help=recursive display the short help of all the included packages cannam@252: -V, --version display version information and exit Chris@315: -q, --quiet, --silent do not print \`checking ...' messages cannam@252: --cache-file=FILE cache test results in FILE [disabled] cannam@252: -C, --config-cache alias for \`--cache-file=config.cache' cannam@252: -n, --no-create do not create output files cannam@252: --srcdir=DIR find the sources in DIR [configure dir or \`..'] cannam@252: cannam@252: Installation directories: cannam@252: --prefix=PREFIX install architecture-independent files in PREFIX Chris@315: [$ac_default_prefix] cannam@252: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX Chris@315: [PREFIX] cannam@252: cannam@252: By default, \`make install' will install all the files in cannam@252: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify cannam@252: an installation prefix other than \`$ac_default_prefix' using \`--prefix', cannam@252: for instance \`--prefix=\$HOME'. cannam@252: cannam@252: For better control, use the options below. cannam@252: cannam@252: Fine tuning of the installation directories: Chris@315: --bindir=DIR user executables [EPREFIX/bin] Chris@315: --sbindir=DIR system admin executables [EPREFIX/sbin] Chris@315: --libexecdir=DIR program executables [EPREFIX/libexec] Chris@315: --sysconfdir=DIR read-only single-machine data [PREFIX/etc] Chris@315: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] Chris@315: --localstatedir=DIR modifiable single-machine data [PREFIX/var] Chris@315: --libdir=DIR object code libraries [EPREFIX/lib] Chris@315: --includedir=DIR C header files [PREFIX/include] Chris@315: --oldincludedir=DIR C header files for non-gcc [/usr/include] Chris@315: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] Chris@315: --datadir=DIR read-only architecture-independent data [DATAROOTDIR] Chris@315: --infodir=DIR info documentation [DATAROOTDIR/info] Chris@315: --localedir=DIR locale-dependent data [DATAROOTDIR/locale] Chris@315: --mandir=DIR man documentation [DATAROOTDIR/man] Chris@315: --docdir=DIR documentation root [DATAROOTDIR/doc/vamp-plugin-sdk] Chris@315: --htmldir=DIR html documentation [DOCDIR] Chris@315: --dvidir=DIR dvi documentation [DOCDIR] Chris@315: --pdfdir=DIR pdf documentation [DOCDIR] Chris@315: --psdir=DIR ps documentation [DOCDIR] cannam@252: _ACEOF cannam@252: cannam@252: cat <<\_ACEOF cannam@252: _ACEOF cannam@252: fi cannam@252: cannam@252: if test -n "$ac_init_help"; then cannam@252: case $ac_init_help in Chris@539: short | recursive ) echo "Configuration of vamp-plugin-sdk 2.10:";; cannam@252: esac cannam@252: cat <<\_ACEOF cannam@252: cannam@278: Optional Features: Chris@315: --disable-option-checking ignore unrecognized --enable/--with options cannam@278: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) cannam@278: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] cannam@278: --enable-programs enable building of example host and RDF generator cannam@278: [default=yes] cannam@278: cannam@252: Some influential environment variables: cannam@252: CXX C++ compiler command cannam@252: CXXFLAGS C++ compiler flags cannam@252: LDFLAGS linker flags, e.g. -L if you have libraries in a cannam@252: nonstandard directory cannam@252: LIBS libraries to pass to the linker, e.g. -l Chris@315: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if cannam@252: you have headers in a nonstandard directory cannam@252: CC C compiler command cannam@252: CFLAGS C compiler flags cannam@252: CPP C preprocessor cannam@252: PKG_CONFIG path to pkg-config utility Chris@315: PKG_CONFIG_PATH Chris@315: directories to add to pkg-config's search path Chris@315: PKG_CONFIG_LIBDIR Chris@315: path overriding pkg-config's built-in search path cannam@252: SNDFILE_CFLAGS cannam@252: C compiler flags for SNDFILE, overriding pkg-config cannam@252: SNDFILE_LIBS cannam@252: linker flags for SNDFILE, overriding pkg-config cannam@252: cannam@252: Use these variables to override the choices made by `configure' or to help cannam@252: it to find libraries and programs with nonstandard names/locations. cannam@252: cannam@252: Report bugs to . cannam@252: _ACEOF cannam@252: ac_status=$? cannam@252: fi cannam@252: cannam@252: if test "$ac_init_help" = "recursive"; then cannam@252: # If there are subdirs, report their specific --help. cannam@252: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue Chris@315: test -d "$ac_dir" || Chris@315: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || Chris@315: continue cannam@252: ac_builddir=. cannam@252: cannam@252: case "$ac_dir" in cannam@252: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; cannam@252: *) Chris@315: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` cannam@252: # A ".." for each directory in $ac_dir_suffix. Chris@315: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` cannam@252: case $ac_top_builddir_sub in cannam@252: "") ac_top_builddir_sub=. ac_top_build_prefix= ;; cannam@252: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; cannam@252: esac ;; cannam@252: esac cannam@252: ac_abs_top_builddir=$ac_pwd cannam@252: ac_abs_builddir=$ac_pwd$ac_dir_suffix cannam@252: # for backward compatibility: cannam@252: ac_top_builddir=$ac_top_build_prefix cannam@252: cannam@252: case $srcdir in cannam@252: .) # We are building in place. cannam@252: ac_srcdir=. cannam@252: ac_top_srcdir=$ac_top_builddir_sub cannam@252: ac_abs_top_srcdir=$ac_pwd ;; cannam@252: [\\/]* | ?:[\\/]* ) # Absolute name. cannam@252: ac_srcdir=$srcdir$ac_dir_suffix; cannam@252: ac_top_srcdir=$srcdir cannam@252: ac_abs_top_srcdir=$srcdir ;; cannam@252: *) # Relative name. cannam@252: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix cannam@252: ac_top_srcdir=$ac_top_build_prefix$srcdir cannam@252: ac_abs_top_srcdir=$ac_pwd/$srcdir ;; cannam@252: esac cannam@252: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cannam@252: cannam@252: cd "$ac_dir" || { ac_status=$?; continue; } cannam@252: # Check for guested configure. cannam@252: if test -f "$ac_srcdir/configure.gnu"; then cannam@252: echo && cannam@252: $SHELL "$ac_srcdir/configure.gnu" --help=recursive cannam@252: elif test -f "$ac_srcdir/configure"; then cannam@252: echo && cannam@252: $SHELL "$ac_srcdir/configure" --help=recursive cannam@252: else Chris@315: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 cannam@252: fi || ac_status=$? cannam@252: cd "$ac_pwd" || { ac_status=$?; break; } cannam@252: done cannam@252: fi cannam@252: cannam@252: test -n "$ac_init_help" && exit $ac_status cannam@252: if $ac_init_version; then cannam@252: cat <<\_ACEOF Chris@539: vamp-plugin-sdk configure 2.10 Chris@352: generated by GNU Autoconf 2.69 Chris@352: Chris@352: Copyright (C) 2012 Free Software Foundation, Inc. cannam@252: This configure script is free software; the Free Software Foundation cannam@252: gives unlimited permission to copy, distribute and modify it. cannam@252: _ACEOF cannam@252: exit cannam@252: fi Chris@315: Chris@315: ## ------------------------ ## Chris@315: ## Autoconf initialization. ## Chris@315: ## ------------------------ ## Chris@315: Chris@315: # ac_fn_cxx_try_compile LINENO Chris@315: # ---------------------------- Chris@315: # Try to compile conftest.$ac_ext, and return whether this succeeded. Chris@315: ac_fn_cxx_try_compile () Chris@315: { Chris@315: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack Chris@315: rm -f conftest.$ac_objext Chris@315: if { { ac_try="$ac_compile" Chris@315: case "(($ac_try" in Chris@315: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; Chris@315: *) ac_try_echo=$ac_try;; Chris@315: esac Chris@315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" Chris@315: $as_echo "$ac_try_echo"; } >&5 Chris@315: (eval "$ac_compile") 2>conftest.err Chris@315: ac_status=$? Chris@315: if test -s conftest.err; then Chris@315: grep -v '^ *+' conftest.err >conftest.er1 Chris@315: cat conftest.er1 >&5 Chris@315: mv -f conftest.er1 conftest.err Chris@315: fi Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; } && { Chris@315: test -z "$ac_cxx_werror_flag" || Chris@315: test ! -s conftest.err Chris@315: } && test -s conftest.$ac_objext; then : Chris@315: ac_retval=0 Chris@315: else Chris@315: $as_echo "$as_me: failed program was:" >&5 Chris@315: sed 's/^/| /' conftest.$ac_ext >&5 Chris@315: Chris@315: ac_retval=1 Chris@315: fi Chris@321: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno Chris@315: as_fn_set_status $ac_retval Chris@315: Chris@315: } # ac_fn_cxx_try_compile Chris@315: Chris@315: # ac_fn_c_try_compile LINENO Chris@315: # -------------------------- Chris@315: # Try to compile conftest.$ac_ext, and return whether this succeeded. Chris@315: ac_fn_c_try_compile () Chris@315: { Chris@315: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack Chris@315: rm -f conftest.$ac_objext Chris@315: if { { ac_try="$ac_compile" Chris@315: case "(($ac_try" in Chris@315: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; Chris@315: *) ac_try_echo=$ac_try;; Chris@315: esac Chris@315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" Chris@315: $as_echo "$ac_try_echo"; } >&5 Chris@315: (eval "$ac_compile") 2>conftest.err Chris@315: ac_status=$? Chris@315: if test -s conftest.err; then Chris@315: grep -v '^ *+' conftest.err >conftest.er1 Chris@315: cat conftest.er1 >&5 Chris@315: mv -f conftest.er1 conftest.err Chris@315: fi Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; } && { Chris@315: test -z "$ac_c_werror_flag" || Chris@315: test ! -s conftest.err Chris@315: } && test -s conftest.$ac_objext; then : Chris@315: ac_retval=0 Chris@315: else Chris@315: $as_echo "$as_me: failed program was:" >&5 Chris@315: sed 's/^/| /' conftest.$ac_ext >&5 Chris@315: Chris@315: ac_retval=1 Chris@315: fi Chris@321: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno Chris@315: as_fn_set_status $ac_retval Chris@315: Chris@315: } # ac_fn_c_try_compile Chris@315: Chris@315: # ac_fn_c_try_cpp LINENO Chris@315: # ---------------------- Chris@315: # Try to preprocess conftest.$ac_ext, and return whether this succeeded. Chris@315: ac_fn_c_try_cpp () Chris@315: { Chris@315: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack Chris@315: if { { ac_try="$ac_cpp conftest.$ac_ext" Chris@315: case "(($ac_try" in Chris@315: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; Chris@315: *) ac_try_echo=$ac_try;; Chris@315: esac Chris@315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" Chris@315: $as_echo "$ac_try_echo"; } >&5 Chris@315: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err Chris@315: ac_status=$? Chris@315: if test -s conftest.err; then Chris@315: grep -v '^ *+' conftest.err >conftest.er1 Chris@315: cat conftest.er1 >&5 Chris@315: mv -f conftest.er1 conftest.err Chris@315: fi Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; } > conftest.i && { Chris@315: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || Chris@315: test ! -s conftest.err Chris@315: }; then : Chris@315: ac_retval=0 Chris@315: else Chris@315: $as_echo "$as_me: failed program was:" >&5 Chris@315: sed 's/^/| /' conftest.$ac_ext >&5 Chris@315: Chris@315: ac_retval=1 Chris@315: fi Chris@321: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno Chris@315: as_fn_set_status $ac_retval Chris@315: Chris@315: } # ac_fn_c_try_cpp Chris@315: Chris@315: # ac_fn_c_try_run LINENO Chris@315: # ---------------------- Chris@315: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes Chris@315: # that executables *can* be run. Chris@315: ac_fn_c_try_run () Chris@315: { Chris@315: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack Chris@315: if { { ac_try="$ac_link" Chris@315: case "(($ac_try" in Chris@315: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; Chris@315: *) ac_try_echo=$ac_try;; Chris@315: esac Chris@315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" Chris@315: $as_echo "$ac_try_echo"; } >&5 Chris@315: (eval "$ac_link") 2>&5 Chris@315: ac_status=$? Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' Chris@315: { { case "(($ac_try" in Chris@315: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; Chris@315: *) ac_try_echo=$ac_try;; Chris@315: esac Chris@315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" Chris@315: $as_echo "$ac_try_echo"; } >&5 Chris@315: (eval "$ac_try") 2>&5 Chris@315: ac_status=$? Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; }; }; then : Chris@315: ac_retval=0 Chris@315: else Chris@315: $as_echo "$as_me: program exited with status $ac_status" >&5 Chris@315: $as_echo "$as_me: failed program was:" >&5 Chris@315: sed 's/^/| /' conftest.$ac_ext >&5 Chris@315: Chris@315: ac_retval=$ac_status Chris@315: fi Chris@315: rm -rf conftest.dSYM conftest_ipa8_conftest.oo Chris@321: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno Chris@315: as_fn_set_status $ac_retval Chris@315: Chris@315: } # ac_fn_c_try_run Chris@315: Chris@315: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES Chris@315: # ------------------------------------------------------- Chris@315: # Tests whether HEADER exists and can be compiled using the include files in Chris@315: # INCLUDES, setting the cache variable VAR accordingly. Chris@315: ac_fn_c_check_header_compile () Chris@315: { Chris@315: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 Chris@315: $as_echo_n "checking for $2... " >&6; } Chris@321: if eval \${$3+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 Chris@315: else Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext Chris@315: /* end confdefs.h. */ Chris@315: $4 Chris@315: #include <$2> Chris@315: _ACEOF Chris@315: if ac_fn_c_try_compile "$LINENO"; then : Chris@315: eval "$3=yes" Chris@315: else Chris@315: eval "$3=no" Chris@315: fi Chris@315: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext Chris@315: fi Chris@315: eval ac_res=\$$3 Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 Chris@315: $as_echo "$ac_res" >&6; } Chris@321: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno Chris@315: Chris@315: } # ac_fn_c_check_header_compile Chris@315: Chris@315: # ac_fn_c_try_link LINENO Chris@315: # ----------------------- Chris@315: # Try to link conftest.$ac_ext, and return whether this succeeded. Chris@315: ac_fn_c_try_link () Chris@315: { Chris@315: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack Chris@315: rm -f conftest.$ac_objext conftest$ac_exeext Chris@315: if { { ac_try="$ac_link" Chris@315: case "(($ac_try" in Chris@315: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; Chris@315: *) ac_try_echo=$ac_try;; Chris@315: esac Chris@315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" Chris@315: $as_echo "$ac_try_echo"; } >&5 Chris@315: (eval "$ac_link") 2>conftest.err Chris@315: ac_status=$? Chris@315: if test -s conftest.err; then Chris@315: grep -v '^ *+' conftest.err >conftest.er1 Chris@315: cat conftest.er1 >&5 Chris@315: mv -f conftest.er1 conftest.err Chris@315: fi Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; } && { Chris@315: test -z "$ac_c_werror_flag" || Chris@315: test ! -s conftest.err Chris@315: } && test -s conftest$ac_exeext && { Chris@315: test "$cross_compiling" = yes || Chris@352: test -x conftest$ac_exeext Chris@315: }; then : Chris@315: ac_retval=0 Chris@315: else Chris@315: $as_echo "$as_me: failed program was:" >&5 Chris@315: sed 's/^/| /' conftest.$ac_ext >&5 Chris@315: Chris@315: ac_retval=1 Chris@315: fi Chris@315: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information Chris@315: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would Chris@315: # interfere with the next link command; also delete a directory that is Chris@315: # left behind by Apple's compiler. We do this before executing the actions. Chris@315: rm -rf conftest.dSYM conftest_ipa8_conftest.oo Chris@321: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno Chris@315: as_fn_set_status $ac_retval Chris@315: Chris@315: } # ac_fn_c_try_link cannam@252: cat >config.log <<_ACEOF cannam@252: This file contains any messages produced by compilers while cannam@252: running configure, to aid debugging if configure makes a mistake. cannam@252: Chris@539: It was created by vamp-plugin-sdk $as_me 2.10, which was Chris@352: generated by GNU Autoconf 2.69. Invocation command line was cannam@252: cannam@252: $ $0 $@ cannam@252: cannam@252: _ACEOF cannam@252: exec 5>>config.log cannam@252: { cannam@252: cat <<_ASUNAME cannam@252: ## --------- ## cannam@252: ## Platform. ## cannam@252: ## --------- ## cannam@252: cannam@252: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` cannam@252: uname -m = `(uname -m) 2>/dev/null || echo unknown` cannam@252: uname -r = `(uname -r) 2>/dev/null || echo unknown` cannam@252: uname -s = `(uname -s) 2>/dev/null || echo unknown` cannam@252: uname -v = `(uname -v) 2>/dev/null || echo unknown` cannam@252: cannam@252: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` cannam@252: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` cannam@252: cannam@252: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` cannam@252: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` cannam@252: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` cannam@252: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` cannam@252: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` cannam@252: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` cannam@252: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` cannam@252: cannam@252: _ASUNAME cannam@252: cannam@252: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: $as_echo "PATH: $as_dir" Chris@315: done cannam@252: IFS=$as_save_IFS cannam@252: cannam@252: } >&5 cannam@252: cannam@252: cat >&5 <<_ACEOF cannam@252: cannam@252: cannam@252: ## ----------- ## cannam@252: ## Core tests. ## cannam@252: ## ----------- ## cannam@252: cannam@252: _ACEOF cannam@252: cannam@252: cannam@252: # Keep a trace of the command line. cannam@252: # Strip out --no-create and --no-recursion so they do not pile up. cannam@252: # Strip out --silent because we don't want to record it for future runs. cannam@252: # Also quote any args containing shell meta-characters. cannam@252: # Make two passes to allow for proper duplicate-argument suppression. cannam@252: ac_configure_args= cannam@252: ac_configure_args0= cannam@252: ac_configure_args1= cannam@252: ac_must_keep_next=false cannam@252: for ac_pass in 1 2 cannam@252: do cannam@252: for ac_arg cannam@252: do cannam@252: case $ac_arg in cannam@252: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; cannam@252: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ cannam@252: | -silent | --silent | --silen | --sile | --sil) cannam@252: continue ;; cannam@252: *\'*) Chris@315: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; cannam@252: esac cannam@252: case $ac_pass in Chris@315: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; cannam@252: 2) Chris@315: as_fn_append ac_configure_args1 " '$ac_arg'" cannam@252: if test $ac_must_keep_next = true; then cannam@252: ac_must_keep_next=false # Got value, back to normal. cannam@252: else cannam@252: case $ac_arg in cannam@252: *=* | --config-cache | -C | -disable-* | --disable-* \ cannam@252: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ cannam@252: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ cannam@252: | -with-* | --with-* | -without-* | --without-* | --x) cannam@252: case "$ac_configure_args0 " in cannam@252: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; cannam@252: esac cannam@252: ;; cannam@252: -* ) ac_must_keep_next=true ;; cannam@252: esac cannam@252: fi Chris@315: as_fn_append ac_configure_args " '$ac_arg'" cannam@252: ;; cannam@252: esac cannam@252: done cannam@252: done Chris@315: { ac_configure_args0=; unset ac_configure_args0;} Chris@315: { ac_configure_args1=; unset ac_configure_args1;} cannam@252: cannam@252: # When interrupted or exit'd, cleanup temporary files, and complete cannam@252: # config.log. We remove comments because anyway the quotes in there cannam@252: # would cause problems or look ugly. cannam@252: # WARNING: Use '\'' to represent an apostrophe within the trap. cannam@252: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. cannam@252: trap 'exit_status=$? cannam@252: # Save into config.log some information that might help in debugging. cannam@252: { cannam@252: echo cannam@252: Chris@315: $as_echo "## ---------------- ## cannam@252: ## Cache variables. ## Chris@315: ## ---------------- ##" cannam@252: echo cannam@252: # The following way of writing the cache mishandles newlines in values, cannam@252: ( cannam@252: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do cannam@252: eval ac_val=\$$ac_var cannam@252: case $ac_val in #( cannam@252: *${as_nl}*) cannam@252: case $ac_var in #( Chris@315: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 Chris@315: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; cannam@252: esac cannam@252: case $ac_var in #( cannam@252: _ | IFS | as_nl) ;; #( Chris@315: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( Chris@315: *) { eval $ac_var=; unset $ac_var;} ;; cannam@252: esac ;; cannam@252: esac cannam@252: done cannam@252: (set) 2>&1 | cannam@252: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( cannam@252: *${as_nl}ac_space=\ *) cannam@252: sed -n \ cannam@252: "s/'\''/'\''\\\\'\'''\''/g; cannam@252: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" cannam@252: ;; #( cannam@252: *) cannam@252: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" cannam@252: ;; cannam@252: esac | cannam@252: sort cannam@252: ) cannam@252: echo cannam@252: Chris@315: $as_echo "## ----------------- ## cannam@252: ## Output variables. ## Chris@315: ## ----------------- ##" cannam@252: echo cannam@252: for ac_var in $ac_subst_vars cannam@252: do cannam@252: eval ac_val=\$$ac_var cannam@252: case $ac_val in Chris@315: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; cannam@252: esac Chris@315: $as_echo "$ac_var='\''$ac_val'\''" cannam@252: done | sort cannam@252: echo cannam@252: cannam@252: if test -n "$ac_subst_files"; then Chris@315: $as_echo "## ------------------- ## cannam@252: ## File substitutions. ## Chris@315: ## ------------------- ##" cannam@252: echo cannam@252: for ac_var in $ac_subst_files cannam@252: do cannam@252: eval ac_val=\$$ac_var cannam@252: case $ac_val in Chris@315: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; cannam@252: esac Chris@315: $as_echo "$ac_var='\''$ac_val'\''" cannam@252: done | sort cannam@252: echo cannam@252: fi cannam@252: cannam@252: if test -s confdefs.h; then Chris@315: $as_echo "## ----------- ## cannam@252: ## confdefs.h. ## Chris@315: ## ----------- ##" cannam@252: echo cannam@252: cat confdefs.h cannam@252: echo cannam@252: fi cannam@252: test "$ac_signal" != 0 && Chris@315: $as_echo "$as_me: caught signal $ac_signal" Chris@315: $as_echo "$as_me: exit $exit_status" cannam@252: } >&5 cannam@252: rm -f core *.core core.conftest.* && cannam@252: rm -f -r conftest* confdefs* conf$$* $ac_clean_files && cannam@252: exit $exit_status cannam@252: ' 0 cannam@252: for ac_signal in 1 2 13 15; do Chris@315: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal cannam@252: done cannam@252: ac_signal=0 cannam@252: cannam@252: # confdefs.h avoids OS command line length limits that DEFS can exceed. cannam@252: rm -f -r conftest* confdefs.h cannam@252: Chris@315: $as_echo "/* confdefs.h */" > confdefs.h Chris@315: cannam@252: # Predefined preprocessor variables. cannam@252: cannam@252: cat >>confdefs.h <<_ACEOF cannam@252: #define PACKAGE_NAME "$PACKAGE_NAME" cannam@252: _ACEOF cannam@252: cannam@252: cat >>confdefs.h <<_ACEOF cannam@252: #define PACKAGE_TARNAME "$PACKAGE_TARNAME" cannam@252: _ACEOF cannam@252: cannam@252: cat >>confdefs.h <<_ACEOF cannam@252: #define PACKAGE_VERSION "$PACKAGE_VERSION" cannam@252: _ACEOF cannam@252: cannam@252: cat >>confdefs.h <<_ACEOF cannam@252: #define PACKAGE_STRING "$PACKAGE_STRING" cannam@252: _ACEOF cannam@252: cannam@252: cat >>confdefs.h <<_ACEOF cannam@252: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" cannam@252: _ACEOF cannam@252: Chris@315: cat >>confdefs.h <<_ACEOF Chris@315: #define PACKAGE_URL "$PACKAGE_URL" Chris@315: _ACEOF Chris@315: cannam@252: cannam@252: # Let the site file select an alternate cache file if it wants to. Chris@315: # Prefer an explicitly selected file to automatically selected ones. Chris@315: ac_site_file1=NONE Chris@315: ac_site_file2=NONE cannam@252: if test -n "$CONFIG_SITE"; then Chris@315: # We do not want a PATH search for config.site. Chris@315: case $CONFIG_SITE in #(( Chris@315: -*) ac_site_file1=./$CONFIG_SITE;; Chris@315: */*) ac_site_file1=$CONFIG_SITE;; Chris@315: *) ac_site_file1=./$CONFIG_SITE;; Chris@315: esac cannam@252: elif test "x$prefix" != xNONE; then Chris@315: ac_site_file1=$prefix/share/config.site Chris@315: ac_site_file2=$prefix/etc/config.site cannam@252: else Chris@315: ac_site_file1=$ac_default_prefix/share/config.site Chris@315: ac_site_file2=$ac_default_prefix/etc/config.site cannam@252: fi Chris@315: for ac_site_file in "$ac_site_file1" "$ac_site_file2" cannam@252: do Chris@315: test "x$ac_site_file" = xNONE && continue Chris@315: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 Chris@315: $as_echo "$as_me: loading site script $ac_site_file" >&6;} cannam@252: sed 's/^/| /' "$ac_site_file" >&5 Chris@315: . "$ac_site_file" \ Chris@315: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 Chris@315: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} Chris@315: as_fn_error $? "failed to load site script $ac_site_file Chris@321: See \`config.log' for more details" "$LINENO" 5; } cannam@252: fi cannam@252: done cannam@252: cannam@252: if test -r "$cache_file"; then Chris@315: # Some versions of bash will fail to source /dev/null (special files Chris@315: # actually), so we avoid doing that. DJGPP emulates it as a regular file. Chris@315: if test /dev/null != "$cache_file" && test -f "$cache_file"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 Chris@315: $as_echo "$as_me: loading cache $cache_file" >&6;} cannam@252: case $cache_file in cannam@252: [\\/]* | ?:[\\/]* ) . "$cache_file";; cannam@252: *) . "./$cache_file";; cannam@252: esac cannam@252: fi cannam@252: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 Chris@315: $as_echo "$as_me: creating cache $cache_file" >&6;} cannam@252: >$cache_file cannam@252: fi cannam@252: cannam@252: # Check that the precious variables saved in the cache have kept the same cannam@252: # value. cannam@252: ac_cache_corrupted=false cannam@252: for ac_var in $ac_precious_vars; do cannam@252: eval ac_old_set=\$ac_cv_env_${ac_var}_set cannam@252: eval ac_new_set=\$ac_env_${ac_var}_set cannam@252: eval ac_old_val=\$ac_cv_env_${ac_var}_value cannam@252: eval ac_new_val=\$ac_env_${ac_var}_value cannam@252: case $ac_old_set,$ac_new_set in cannam@252: set,) Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 Chris@315: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} cannam@252: ac_cache_corrupted=: ;; cannam@252: ,set) Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 Chris@315: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} cannam@252: ac_cache_corrupted=: ;; cannam@252: ,);; cannam@252: *) cannam@252: if test "x$ac_old_val" != "x$ac_new_val"; then Chris@315: # differences in whitespace do not lead to failure. Chris@315: ac_old_val_w=`echo x $ac_old_val` Chris@315: ac_new_val_w=`echo x $ac_new_val` Chris@315: if test "$ac_old_val_w" != "$ac_new_val_w"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 Chris@315: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} Chris@315: ac_cache_corrupted=: Chris@315: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 Chris@315: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} Chris@315: eval $ac_var=\$ac_old_val Chris@315: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 Chris@315: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 Chris@315: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} cannam@252: fi;; cannam@252: esac cannam@252: # Pass precious variables to config.status. cannam@252: if test "$ac_new_set" = set; then cannam@252: case $ac_new_val in Chris@315: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; cannam@252: *) ac_arg=$ac_var=$ac_new_val ;; cannam@252: esac cannam@252: case " $ac_configure_args " in cannam@252: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. Chris@315: *) as_fn_append ac_configure_args " '$ac_arg'" ;; cannam@252: esac cannam@252: fi cannam@252: done cannam@252: if $ac_cache_corrupted; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 Chris@315: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 Chris@315: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} Chris@315: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 cannam@252: fi Chris@315: ## -------------------- ## Chris@315: ## Main body of script. ## Chris@315: ## -------------------- ## cannam@252: cannam@252: ac_ext=c cannam@252: ac_cpp='$CPP $CPPFLAGS' cannam@252: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' cannam@252: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' cannam@252: ac_compiler_gnu=$ac_cv_c_compiler_gnu cannam@252: cannam@252: cannam@252: cannam@252: cannam@252: ac_ext=cpp cannam@252: ac_cpp='$CXXCPP $CPPFLAGS' cannam@252: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' cannam@252: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' cannam@252: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cannam@252: if test -z "$CXX"; then cannam@252: if test -n "$CCC"; then cannam@252: CXX=$CCC cannam@252: else cannam@252: if test -n "$ac_tool_prefix"; then cannam@252: for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC cannam@252: do cannam@252: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. cannam@252: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 Chris@315: $as_echo_n "checking for $ac_word... " >&6; } Chris@321: if ${ac_cv_prog_CXX+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: if test -n "$CXX"; then cannam@252: ac_cv_prog_CXX="$CXX" # Let the user override the test. cannam@252: else cannam@252: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: for ac_exec_ext in '' $ac_executable_extensions; do Chris@352: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then cannam@252: ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 cannam@252: break 2 cannam@252: fi cannam@252: done Chris@315: done cannam@252: IFS=$as_save_IFS cannam@252: cannam@252: fi cannam@252: fi cannam@252: CXX=$ac_cv_prog_CXX cannam@252: if test -n "$CXX"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 Chris@315: $as_echo "$CXX" >&6; } cannam@252: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } cannam@252: fi cannam@252: cannam@252: cannam@252: test -n "$CXX" && break cannam@252: done cannam@252: fi cannam@252: if test -z "$CXX"; then cannam@252: ac_ct_CXX=$CXX cannam@252: for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC cannam@252: do cannam@252: # Extract the first word of "$ac_prog", so it can be a program name with args. cannam@252: set dummy $ac_prog; ac_word=$2 Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 Chris@315: $as_echo_n "checking for $ac_word... " >&6; } Chris@321: if ${ac_cv_prog_ac_ct_CXX+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: if test -n "$ac_ct_CXX"; then cannam@252: ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. cannam@252: else cannam@252: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: for ac_exec_ext in '' $ac_executable_extensions; do Chris@352: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then cannam@252: ac_cv_prog_ac_ct_CXX="$ac_prog" Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 cannam@252: break 2 cannam@252: fi cannam@252: done Chris@315: done cannam@252: IFS=$as_save_IFS cannam@252: cannam@252: fi cannam@252: fi cannam@252: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX cannam@252: if test -n "$ac_ct_CXX"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 Chris@315: $as_echo "$ac_ct_CXX" >&6; } cannam@252: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } cannam@252: fi cannam@252: cannam@252: cannam@252: test -n "$ac_ct_CXX" && break cannam@252: done cannam@252: cannam@252: if test "x$ac_ct_CXX" = x; then cannam@252: CXX="g++" cannam@252: else cannam@252: case $cross_compiling:$ac_tool_warned in cannam@252: yes:) Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 Chris@315: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} cannam@252: ac_tool_warned=yes ;; cannam@252: esac cannam@252: CXX=$ac_ct_CXX cannam@252: fi cannam@252: fi cannam@252: cannam@252: fi cannam@252: fi cannam@252: # Provide some information about the compiler. Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 Chris@315: set X $ac_compile Chris@315: ac_compiler=$2 Chris@315: for ac_option in --version -v -V -qversion; do Chris@315: { { ac_try="$ac_compiler $ac_option >&5" cannam@252: case "(($ac_try" in cannam@252: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; cannam@252: *) ac_try_echo=$ac_try;; cannam@252: esac Chris@315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" Chris@315: $as_echo "$ac_try_echo"; } >&5 Chris@315: (eval "$ac_compiler $ac_option >&5") 2>conftest.err cannam@252: ac_status=$? Chris@315: if test -s conftest.err; then Chris@315: sed '10a\ Chris@315: ... rest of stderr output deleted ... Chris@315: 10q' conftest.err >conftest.er1 Chris@315: cat conftest.er1 >&5 Chris@315: fi Chris@315: rm -f conftest.er1 conftest.err Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; } Chris@315: done Chris@315: Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: cannam@252: int cannam@252: main () cannam@252: { cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF cannam@252: ac_clean_files_save=$ac_clean_files Chris@315: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" cannam@252: # Try to create an executable without -o first, disregard a.out. cannam@252: # It will help us diagnose broken compilers, and finding out an intuition cannam@252: # of exeext. Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 Chris@315: $as_echo_n "checking whether the C++ compiler works... " >&6; } Chris@315: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` Chris@315: Chris@315: # The possible output files: Chris@315: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" Chris@315: cannam@252: ac_rmfiles= cannam@252: for ac_file in $ac_files cannam@252: do cannam@252: case $ac_file in Chris@315: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; cannam@252: * ) ac_rmfiles="$ac_rmfiles $ac_file";; cannam@252: esac cannam@252: done cannam@252: rm -f $ac_rmfiles cannam@252: Chris@315: if { { ac_try="$ac_link_default" cannam@252: case "(($ac_try" in cannam@252: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; cannam@252: *) ac_try_echo=$ac_try;; cannam@252: esac Chris@315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" Chris@315: $as_echo "$ac_try_echo"; } >&5 cannam@252: (eval "$ac_link_default") 2>&5 cannam@252: ac_status=$? Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; }; then : cannam@252: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. cannam@252: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' cannam@252: # in a Makefile. We should not override ac_cv_exeext if it was cached, cannam@252: # so that the user can short-circuit this test for compilers unknown to cannam@252: # Autoconf. cannam@252: for ac_file in $ac_files '' cannam@252: do cannam@252: test -f "$ac_file" || continue cannam@252: case $ac_file in Chris@315: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) cannam@252: ;; cannam@252: [ab].out ) cannam@252: # We found the default executable, but exeext='' is most cannam@252: # certainly right. cannam@252: break;; cannam@252: *.* ) Chris@315: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; cannam@252: then :; else cannam@252: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` cannam@252: fi cannam@252: # We set ac_cv_exeext here because the later test for it is not cannam@252: # safe: cross compilers may not add the suffix if given an `-o' cannam@252: # argument, so we may need to know it at that point already. cannam@252: # Even if this section looks crufty: it has the advantage of cannam@252: # actually working. cannam@252: break;; cannam@252: * ) cannam@252: break;; cannam@252: esac cannam@252: done cannam@252: test "$ac_cv_exeext" = no && ac_cv_exeext= cannam@252: cannam@252: else cannam@252: ac_file='' cannam@252: fi Chris@315: if test -z "$ac_file"; then : Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } Chris@315: $as_echo "$as_me: failed program was:" >&5 cannam@252: sed 's/^/| /' conftest.$ac_ext >&5 cannam@252: Chris@315: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 Chris@315: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} Chris@315: as_fn_error 77 "C++ compiler cannot create executables Chris@321: See \`config.log' for more details" "$LINENO" 5; } Chris@315: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 Chris@315: $as_echo "yes" >&6; } cannam@252: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 Chris@315: $as_echo_n "checking for C++ compiler default output file name... " >&6; } Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 Chris@315: $as_echo "$ac_file" >&6; } cannam@252: ac_exeext=$ac_cv_exeext cannam@252: Chris@315: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out cannam@252: ac_clean_files=$ac_clean_files_save Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 Chris@315: $as_echo_n "checking for suffix of executables... " >&6; } Chris@315: if { { ac_try="$ac_link" cannam@252: case "(($ac_try" in cannam@252: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; cannam@252: *) ac_try_echo=$ac_try;; cannam@252: esac Chris@315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" Chris@315: $as_echo "$ac_try_echo"; } >&5 cannam@252: (eval "$ac_link") 2>&5 cannam@252: ac_status=$? Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; }; then : cannam@252: # If both `conftest.exe' and `conftest' are `present' (well, observable) cannam@252: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will cannam@252: # work properly (i.e., refer to `conftest.exe'), while it won't with cannam@252: # `rm'. cannam@252: for ac_file in conftest.exe conftest conftest.*; do cannam@252: test -f "$ac_file" || continue cannam@252: case $ac_file in Chris@315: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; cannam@252: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` cannam@252: break;; cannam@252: * ) break;; cannam@252: esac cannam@252: done cannam@252: else Chris@315: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 Chris@315: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} Chris@315: as_fn_error $? "cannot compute suffix of executables: cannot compile and link Chris@321: See \`config.log' for more details" "$LINENO" 5; } cannam@252: fi Chris@315: rm -f conftest conftest$ac_cv_exeext Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 Chris@315: $as_echo "$ac_cv_exeext" >&6; } cannam@252: cannam@252: rm -f conftest.$ac_ext cannam@252: EXEEXT=$ac_cv_exeext cannam@252: ac_exeext=$EXEEXT Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext Chris@315: /* end confdefs.h. */ Chris@315: #include Chris@315: int Chris@315: main () Chris@315: { Chris@315: FILE *f = fopen ("conftest.out", "w"); Chris@315: return ferror (f) || fclose (f) != 0; Chris@315: Chris@315: ; Chris@315: return 0; Chris@315: } Chris@315: _ACEOF Chris@315: ac_clean_files="$ac_clean_files conftest.out" Chris@315: # Check that the compiler produces executables we can run. If not, either Chris@315: # the compiler is broken, or we cross compile. Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 Chris@315: $as_echo_n "checking whether we are cross compiling... " >&6; } Chris@315: if test "$cross_compiling" != yes; then Chris@315: { { ac_try="$ac_link" Chris@315: case "(($ac_try" in Chris@315: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; Chris@315: *) ac_try_echo=$ac_try;; Chris@315: esac Chris@315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" Chris@315: $as_echo "$ac_try_echo"; } >&5 Chris@315: (eval "$ac_link") 2>&5 Chris@315: ac_status=$? Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; } Chris@315: if { ac_try='./conftest$ac_cv_exeext' Chris@315: { { case "(($ac_try" in Chris@315: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; Chris@315: *) ac_try_echo=$ac_try;; Chris@315: esac Chris@315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" Chris@315: $as_echo "$ac_try_echo"; } >&5 Chris@315: (eval "$ac_try") 2>&5 Chris@315: ac_status=$? Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; }; }; then Chris@315: cross_compiling=no Chris@315: else Chris@315: if test "$cross_compiling" = maybe; then Chris@315: cross_compiling=yes Chris@315: else Chris@315: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 Chris@315: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} Chris@315: as_fn_error $? "cannot run C++ compiled programs. Chris@315: If you meant to cross compile, use \`--host'. Chris@321: See \`config.log' for more details" "$LINENO" 5; } Chris@315: fi Chris@315: fi Chris@315: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 Chris@315: $as_echo "$cross_compiling" >&6; } Chris@315: Chris@315: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out Chris@315: ac_clean_files=$ac_clean_files_save Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 Chris@315: $as_echo_n "checking for suffix of object files... " >&6; } Chris@321: if ${ac_cv_objext+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: cannam@252: int cannam@252: main () cannam@252: { cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF cannam@252: rm -f conftest.o conftest.obj Chris@315: if { { ac_try="$ac_compile" cannam@252: case "(($ac_try" in cannam@252: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; cannam@252: *) ac_try_echo=$ac_try;; cannam@252: esac Chris@315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" Chris@315: $as_echo "$ac_try_echo"; } >&5 cannam@252: (eval "$ac_compile") 2>&5 cannam@252: ac_status=$? Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; }; then : cannam@252: for ac_file in conftest.o conftest.obj conftest.*; do cannam@252: test -f "$ac_file" || continue; cannam@252: case $ac_file in Chris@315: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; cannam@252: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` cannam@252: break;; cannam@252: esac cannam@252: done cannam@252: else Chris@315: $as_echo "$as_me: failed program was:" >&5 cannam@252: sed 's/^/| /' conftest.$ac_ext >&5 cannam@252: Chris@315: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 Chris@315: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} Chris@315: as_fn_error $? "cannot compute suffix of object files: cannot compile Chris@321: See \`config.log' for more details" "$LINENO" 5; } cannam@252: fi cannam@252: rm -f conftest.$ac_cv_objext conftest.$ac_ext cannam@252: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 Chris@315: $as_echo "$ac_cv_objext" >&6; } cannam@252: OBJEXT=$ac_cv_objext cannam@252: ac_objext=$OBJEXT Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 Chris@315: $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } Chris@321: if ${ac_cv_cxx_compiler_gnu+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: cannam@252: int cannam@252: main () cannam@252: { cannam@252: #ifndef __GNUC__ cannam@252: choke me cannam@252: #endif cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_cxx_try_compile "$LINENO"; then : cannam@252: ac_compiler_gnu=yes cannam@252: else Chris@315: ac_compiler_gnu=no cannam@252: fi cannam@252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cannam@252: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu cannam@252: cannam@252: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 Chris@315: $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } Chris@315: if test $ac_compiler_gnu = yes; then Chris@315: GXX=yes Chris@315: else Chris@315: GXX= Chris@315: fi cannam@252: ac_test_CXXFLAGS=${CXXFLAGS+set} cannam@252: ac_save_CXXFLAGS=$CXXFLAGS Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 Chris@315: $as_echo_n "checking whether $CXX accepts -g... " >&6; } Chris@321: if ${ac_cv_prog_cxx_g+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: ac_save_cxx_werror_flag=$ac_cxx_werror_flag cannam@252: ac_cxx_werror_flag=yes cannam@252: ac_cv_prog_cxx_g=no cannam@252: CXXFLAGS="-g" Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: cannam@252: int cannam@252: main () cannam@252: { cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_cxx_try_compile "$LINENO"; then : cannam@252: ac_cv_prog_cxx_g=yes cannam@252: else Chris@315: CXXFLAGS="" Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: cannam@252: int cannam@252: main () cannam@252: { cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_cxx_try_compile "$LINENO"; then : Chris@315: cannam@252: else Chris@315: ac_cxx_werror_flag=$ac_save_cxx_werror_flag cannam@252: CXXFLAGS="-g" Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: cannam@252: int cannam@252: main () cannam@252: { cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_cxx_try_compile "$LINENO"; then : cannam@252: ac_cv_prog_cxx_g=yes cannam@252: fi cannam@252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cannam@252: fi cannam@252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cannam@252: fi cannam@252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cannam@252: ac_cxx_werror_flag=$ac_save_cxx_werror_flag cannam@252: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 Chris@315: $as_echo "$ac_cv_prog_cxx_g" >&6; } cannam@252: if test "$ac_test_CXXFLAGS" = set; then cannam@252: CXXFLAGS=$ac_save_CXXFLAGS cannam@252: elif test $ac_cv_prog_cxx_g = yes; then cannam@252: if test "$GXX" = yes; then cannam@252: CXXFLAGS="-g -O2" cannam@252: else cannam@252: CXXFLAGS="-g" cannam@252: fi cannam@252: else cannam@252: if test "$GXX" = yes; then cannam@252: CXXFLAGS="-O2" cannam@252: else cannam@252: CXXFLAGS= cannam@252: fi cannam@252: fi cannam@252: ac_ext=c cannam@252: ac_cpp='$CPP $CPPFLAGS' cannam@252: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' cannam@252: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' cannam@252: ac_compiler_gnu=$ac_cv_c_compiler_gnu cannam@252: cannam@252: ac_ext=c cannam@252: ac_cpp='$CPP $CPPFLAGS' cannam@252: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' cannam@252: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' cannam@252: ac_compiler_gnu=$ac_cv_c_compiler_gnu cannam@252: if test -n "$ac_tool_prefix"; then cannam@252: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. cannam@252: set dummy ${ac_tool_prefix}gcc; ac_word=$2 Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 Chris@315: $as_echo_n "checking for $ac_word... " >&6; } Chris@321: if ${ac_cv_prog_CC+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: if test -n "$CC"; then cannam@252: ac_cv_prog_CC="$CC" # Let the user override the test. cannam@252: else cannam@252: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: for ac_exec_ext in '' $ac_executable_extensions; do Chris@352: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then cannam@252: ac_cv_prog_CC="${ac_tool_prefix}gcc" Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 cannam@252: break 2 cannam@252: fi cannam@252: done Chris@315: done cannam@252: IFS=$as_save_IFS cannam@252: cannam@252: fi cannam@252: fi cannam@252: CC=$ac_cv_prog_CC cannam@252: if test -n "$CC"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 Chris@315: $as_echo "$CC" >&6; } cannam@252: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } cannam@252: fi cannam@252: cannam@252: cannam@252: fi cannam@252: if test -z "$ac_cv_prog_CC"; then cannam@252: ac_ct_CC=$CC cannam@252: # Extract the first word of "gcc", so it can be a program name with args. cannam@252: set dummy gcc; ac_word=$2 Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 Chris@315: $as_echo_n "checking for $ac_word... " >&6; } Chris@321: if ${ac_cv_prog_ac_ct_CC+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: if test -n "$ac_ct_CC"; then cannam@252: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. cannam@252: else cannam@252: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: for ac_exec_ext in '' $ac_executable_extensions; do Chris@352: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then cannam@252: ac_cv_prog_ac_ct_CC="gcc" Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 cannam@252: break 2 cannam@252: fi cannam@252: done Chris@315: done cannam@252: IFS=$as_save_IFS cannam@252: cannam@252: fi cannam@252: fi cannam@252: ac_ct_CC=$ac_cv_prog_ac_ct_CC cannam@252: if test -n "$ac_ct_CC"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 Chris@315: $as_echo "$ac_ct_CC" >&6; } cannam@252: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } cannam@252: fi cannam@252: cannam@252: if test "x$ac_ct_CC" = x; then cannam@252: CC="" cannam@252: else cannam@252: case $cross_compiling:$ac_tool_warned in cannam@252: yes:) Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 Chris@315: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} cannam@252: ac_tool_warned=yes ;; cannam@252: esac cannam@252: CC=$ac_ct_CC cannam@252: fi cannam@252: else cannam@252: CC="$ac_cv_prog_CC" cannam@252: fi cannam@252: cannam@252: if test -z "$CC"; then cannam@252: if test -n "$ac_tool_prefix"; then cannam@252: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. cannam@252: set dummy ${ac_tool_prefix}cc; ac_word=$2 Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 Chris@315: $as_echo_n "checking for $ac_word... " >&6; } Chris@321: if ${ac_cv_prog_CC+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: if test -n "$CC"; then cannam@252: ac_cv_prog_CC="$CC" # Let the user override the test. cannam@252: else cannam@252: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: for ac_exec_ext in '' $ac_executable_extensions; do Chris@352: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then cannam@252: ac_cv_prog_CC="${ac_tool_prefix}cc" Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 cannam@252: break 2 cannam@252: fi cannam@252: done Chris@315: done cannam@252: IFS=$as_save_IFS cannam@252: cannam@252: fi cannam@252: fi cannam@252: CC=$ac_cv_prog_CC cannam@252: if test -n "$CC"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 Chris@315: $as_echo "$CC" >&6; } cannam@252: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } cannam@252: fi cannam@252: cannam@252: cannam@252: fi cannam@252: fi cannam@252: if test -z "$CC"; then cannam@252: # Extract the first word of "cc", so it can be a program name with args. cannam@252: set dummy cc; ac_word=$2 Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 Chris@315: $as_echo_n "checking for $ac_word... " >&6; } Chris@321: if ${ac_cv_prog_CC+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: if test -n "$CC"; then cannam@252: ac_cv_prog_CC="$CC" # Let the user override the test. cannam@252: else cannam@252: ac_prog_rejected=no cannam@252: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: for ac_exec_ext in '' $ac_executable_extensions; do Chris@352: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then cannam@252: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then cannam@252: ac_prog_rejected=yes cannam@252: continue cannam@252: fi cannam@252: ac_cv_prog_CC="cc" Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 cannam@252: break 2 cannam@252: fi cannam@252: done Chris@315: done cannam@252: IFS=$as_save_IFS cannam@252: cannam@252: if test $ac_prog_rejected = yes; then cannam@252: # We found a bogon in the path, so make sure we never use it. cannam@252: set dummy $ac_cv_prog_CC cannam@252: shift cannam@252: if test $# != 0; then cannam@252: # We chose a different compiler from the bogus one. cannam@252: # However, it has the same basename, so the bogon will be chosen cannam@252: # first if we set CC to just the basename; use the full file name. cannam@252: shift cannam@252: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" cannam@252: fi cannam@252: fi cannam@252: fi cannam@252: fi cannam@252: CC=$ac_cv_prog_CC cannam@252: if test -n "$CC"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 Chris@315: $as_echo "$CC" >&6; } cannam@252: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } cannam@252: fi cannam@252: cannam@252: cannam@252: fi cannam@252: if test -z "$CC"; then cannam@252: if test -n "$ac_tool_prefix"; then cannam@252: for ac_prog in cl.exe cannam@252: do cannam@252: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. cannam@252: set dummy $ac_tool_prefix$ac_prog; ac_word=$2 Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 Chris@315: $as_echo_n "checking for $ac_word... " >&6; } Chris@321: if ${ac_cv_prog_CC+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: if test -n "$CC"; then cannam@252: ac_cv_prog_CC="$CC" # Let the user override the test. cannam@252: else cannam@252: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: for ac_exec_ext in '' $ac_executable_extensions; do Chris@352: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then cannam@252: ac_cv_prog_CC="$ac_tool_prefix$ac_prog" Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 cannam@252: break 2 cannam@252: fi cannam@252: done Chris@315: done cannam@252: IFS=$as_save_IFS cannam@252: cannam@252: fi cannam@252: fi cannam@252: CC=$ac_cv_prog_CC cannam@252: if test -n "$CC"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 Chris@315: $as_echo "$CC" >&6; } cannam@252: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } cannam@252: fi cannam@252: cannam@252: cannam@252: test -n "$CC" && break cannam@252: done cannam@252: fi cannam@252: if test -z "$CC"; then cannam@252: ac_ct_CC=$CC cannam@252: for ac_prog in cl.exe cannam@252: do cannam@252: # Extract the first word of "$ac_prog", so it can be a program name with args. cannam@252: set dummy $ac_prog; ac_word=$2 Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 Chris@315: $as_echo_n "checking for $ac_word... " >&6; } Chris@321: if ${ac_cv_prog_ac_ct_CC+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: if test -n "$ac_ct_CC"; then cannam@252: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. cannam@252: else cannam@252: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: for ac_exec_ext in '' $ac_executable_extensions; do Chris@352: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then cannam@252: ac_cv_prog_ac_ct_CC="$ac_prog" Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 cannam@252: break 2 cannam@252: fi cannam@252: done Chris@315: done cannam@252: IFS=$as_save_IFS cannam@252: cannam@252: fi cannam@252: fi cannam@252: ac_ct_CC=$ac_cv_prog_ac_ct_CC cannam@252: if test -n "$ac_ct_CC"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 Chris@315: $as_echo "$ac_ct_CC" >&6; } cannam@252: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } cannam@252: fi cannam@252: cannam@252: cannam@252: test -n "$ac_ct_CC" && break cannam@252: done cannam@252: cannam@252: if test "x$ac_ct_CC" = x; then cannam@252: CC="" cannam@252: else cannam@252: case $cross_compiling:$ac_tool_warned in cannam@252: yes:) Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 Chris@315: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} cannam@252: ac_tool_warned=yes ;; cannam@252: esac cannam@252: CC=$ac_ct_CC cannam@252: fi cannam@252: fi cannam@252: cannam@252: fi cannam@252: cannam@252: Chris@315: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 Chris@315: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} Chris@315: as_fn_error $? "no acceptable C compiler found in \$PATH Chris@321: See \`config.log' for more details" "$LINENO" 5; } cannam@252: cannam@252: # Provide some information about the compiler. Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 Chris@315: set X $ac_compile Chris@315: ac_compiler=$2 Chris@315: for ac_option in --version -v -V -qversion; do Chris@315: { { ac_try="$ac_compiler $ac_option >&5" cannam@252: case "(($ac_try" in cannam@252: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; cannam@252: *) ac_try_echo=$ac_try;; cannam@252: esac Chris@315: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" Chris@315: $as_echo "$ac_try_echo"; } >&5 Chris@315: (eval "$ac_compiler $ac_option >&5") 2>conftest.err cannam@252: ac_status=$? Chris@315: if test -s conftest.err; then Chris@315: sed '10a\ Chris@315: ... rest of stderr output deleted ... Chris@315: 10q' conftest.err >conftest.er1 Chris@315: cat conftest.er1 >&5 Chris@315: fi Chris@315: rm -f conftest.er1 conftest.err Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; } Chris@315: done Chris@315: Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 Chris@315: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } Chris@321: if ${ac_cv_c_compiler_gnu+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: cannam@252: int cannam@252: main () cannam@252: { cannam@252: #ifndef __GNUC__ cannam@252: choke me cannam@252: #endif cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_c_try_compile "$LINENO"; then : cannam@252: ac_compiler_gnu=yes cannam@252: else Chris@315: ac_compiler_gnu=no cannam@252: fi cannam@252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cannam@252: ac_cv_c_compiler_gnu=$ac_compiler_gnu cannam@252: cannam@252: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 Chris@315: $as_echo "$ac_cv_c_compiler_gnu" >&6; } Chris@315: if test $ac_compiler_gnu = yes; then Chris@315: GCC=yes Chris@315: else Chris@315: GCC= Chris@315: fi cannam@252: ac_test_CFLAGS=${CFLAGS+set} cannam@252: ac_save_CFLAGS=$CFLAGS Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 Chris@315: $as_echo_n "checking whether $CC accepts -g... " >&6; } Chris@321: if ${ac_cv_prog_cc_g+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: ac_save_c_werror_flag=$ac_c_werror_flag cannam@252: ac_c_werror_flag=yes cannam@252: ac_cv_prog_cc_g=no cannam@252: CFLAGS="-g" Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: cannam@252: int cannam@252: main () cannam@252: { cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_c_try_compile "$LINENO"; then : cannam@252: ac_cv_prog_cc_g=yes cannam@252: else Chris@315: CFLAGS="" Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: cannam@252: int cannam@252: main () cannam@252: { cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_c_try_compile "$LINENO"; then : Chris@315: cannam@252: else Chris@315: ac_c_werror_flag=$ac_save_c_werror_flag cannam@252: CFLAGS="-g" Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: cannam@252: int cannam@252: main () cannam@252: { cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_c_try_compile "$LINENO"; then : cannam@252: ac_cv_prog_cc_g=yes cannam@252: fi cannam@252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cannam@252: fi cannam@252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cannam@252: fi cannam@252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cannam@252: ac_c_werror_flag=$ac_save_c_werror_flag cannam@252: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 Chris@315: $as_echo "$ac_cv_prog_cc_g" >&6; } cannam@252: if test "$ac_test_CFLAGS" = set; then cannam@252: CFLAGS=$ac_save_CFLAGS cannam@252: elif test $ac_cv_prog_cc_g = yes; then cannam@252: if test "$GCC" = yes; then cannam@252: CFLAGS="-g -O2" cannam@252: else cannam@252: CFLAGS="-g" cannam@252: fi cannam@252: else cannam@252: if test "$GCC" = yes; then cannam@252: CFLAGS="-O2" cannam@252: else cannam@252: CFLAGS= cannam@252: fi cannam@252: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 Chris@315: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } Chris@321: if ${ac_cv_prog_cc_c89+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: ac_cv_prog_cc_c89=no cannam@252: ac_save_CC=$CC Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: #include cannam@252: #include Chris@352: struct stat; cannam@252: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ cannam@252: struct buf { int x; }; cannam@252: FILE * (*rcsopen) (struct buf *, struct stat *, int); cannam@252: static char *e (p, i) cannam@252: char **p; cannam@252: int i; cannam@252: { cannam@252: return p[i]; cannam@252: } cannam@252: static char *f (char * (*g) (char **, int), char **p, ...) cannam@252: { cannam@252: char *s; cannam@252: va_list v; cannam@252: va_start (v,p); cannam@252: s = g (p, va_arg (v,int)); cannam@252: va_end (v); cannam@252: return s; cannam@252: } cannam@252: cannam@252: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has cannam@252: function prototypes and stuff, but not '\xHH' hex character constants. cannam@252: These don't provoke an error unfortunately, instead are silently treated cannam@252: as 'x'. The following induces an error, until -std is added to get cannam@252: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an cannam@252: array size at least. It's necessary to write '\x00'==0 to get something cannam@252: that's true only with -std. */ cannam@252: int osf4_cc_array ['\x00' == 0 ? 1 : -1]; cannam@252: cannam@252: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters cannam@252: inside strings and character constants. */ cannam@252: #define FOO(x) 'x' cannam@252: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; cannam@252: cannam@252: int test (int i, double x); cannam@252: struct s1 {int (*f) (int a);}; cannam@252: struct s2 {int (*f) (double a);}; cannam@252: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); cannam@252: int argc; cannam@252: char **argv; cannam@252: int cannam@252: main () cannam@252: { cannam@252: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF cannam@252: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ cannam@252: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" cannam@252: do cannam@252: CC="$ac_save_CC $ac_arg" Chris@315: if ac_fn_c_try_compile "$LINENO"; then : cannam@252: ac_cv_prog_cc_c89=$ac_arg cannam@252: fi cannam@252: rm -f core conftest.err conftest.$ac_objext cannam@252: test "x$ac_cv_prog_cc_c89" != "xno" && break cannam@252: done cannam@252: rm -f conftest.$ac_ext cannam@252: CC=$ac_save_CC cannam@252: cannam@252: fi cannam@252: # AC_CACHE_VAL cannam@252: case "x$ac_cv_prog_cc_c89" in cannam@252: x) Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 Chris@315: $as_echo "none needed" >&6; } ;; cannam@252: xno) Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 Chris@315: $as_echo "unsupported" >&6; } ;; cannam@252: *) cannam@252: CC="$CC $ac_cv_prog_cc_c89" Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 Chris@315: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; cannam@252: esac Chris@315: if test "x$ac_cv_prog_cc_c89" != xno; then : Chris@315: Chris@315: fi cannam@252: cannam@252: ac_ext=c cannam@252: ac_cpp='$CPP $CPPFLAGS' cannam@252: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' cannam@252: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' cannam@252: ac_compiler_gnu=$ac_cv_c_compiler_gnu cannam@252: cannam@252: cannam@252: ac_ext=c cannam@252: ac_cpp='$CPP $CPPFLAGS' cannam@252: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' cannam@252: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' cannam@252: ac_compiler_gnu=$ac_cv_c_compiler_gnu Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 Chris@315: $as_echo_n "checking how to run the C preprocessor... " >&6; } cannam@252: # On Suns, sometimes $CPP names a directory. cannam@252: if test -n "$CPP" && test -d "$CPP"; then cannam@252: CPP= cannam@252: fi cannam@252: if test -z "$CPP"; then Chris@321: if ${ac_cv_prog_CPP+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: # Double quotes because CPP needs to be expanded cannam@252: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" cannam@252: do cannam@252: ac_preproc_ok=false cannam@252: for ac_c_preproc_warn_flag in '' yes cannam@252: do cannam@252: # Use a header file that comes with gcc, so configuring glibc cannam@252: # with a fresh cross-compiler works. cannam@252: # Prefer to if __STDC__ is defined, since cannam@252: # exists even on freestanding compilers. cannam@252: # On the NeXT, cc -E runs the code through the compiler's parser, cannam@252: # not just through cpp. "Syntax error" is here to catch this case. Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: #ifdef __STDC__ cannam@252: # include cannam@252: #else cannam@252: # include cannam@252: #endif cannam@252: Syntax error cannam@252: _ACEOF Chris@315: if ac_fn_c_try_cpp "$LINENO"; then : Chris@315: cannam@252: else cannam@252: # Broken: fails on valid input. cannam@252: continue cannam@252: fi Chris@315: rm -f conftest.err conftest.i conftest.$ac_ext cannam@252: cannam@252: # OK, works on sane cases. Now check whether nonexistent headers cannam@252: # can be detected and how. Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: #include cannam@252: _ACEOF Chris@315: if ac_fn_c_try_cpp "$LINENO"; then : cannam@252: # Broken: success on invalid input. cannam@252: continue cannam@252: else cannam@252: # Passes both tests. cannam@252: ac_preproc_ok=: cannam@252: break cannam@252: fi Chris@315: rm -f conftest.err conftest.i conftest.$ac_ext cannam@252: cannam@252: done cannam@252: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. Chris@315: rm -f conftest.i conftest.err conftest.$ac_ext Chris@315: if $ac_preproc_ok; then : cannam@252: break cannam@252: fi cannam@252: cannam@252: done cannam@252: ac_cv_prog_CPP=$CPP cannam@252: cannam@252: fi cannam@252: CPP=$ac_cv_prog_CPP cannam@252: else cannam@252: ac_cv_prog_CPP=$CPP cannam@252: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 Chris@315: $as_echo "$CPP" >&6; } cannam@252: ac_preproc_ok=false cannam@252: for ac_c_preproc_warn_flag in '' yes cannam@252: do cannam@252: # Use a header file that comes with gcc, so configuring glibc cannam@252: # with a fresh cross-compiler works. cannam@252: # Prefer to if __STDC__ is defined, since cannam@252: # exists even on freestanding compilers. cannam@252: # On the NeXT, cc -E runs the code through the compiler's parser, cannam@252: # not just through cpp. "Syntax error" is here to catch this case. Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: #ifdef __STDC__ cannam@252: # include cannam@252: #else cannam@252: # include cannam@252: #endif cannam@252: Syntax error cannam@252: _ACEOF Chris@315: if ac_fn_c_try_cpp "$LINENO"; then : Chris@315: cannam@252: else cannam@252: # Broken: fails on valid input. cannam@252: continue cannam@252: fi Chris@315: rm -f conftest.err conftest.i conftest.$ac_ext cannam@252: cannam@252: # OK, works on sane cases. Now check whether nonexistent headers cannam@252: # can be detected and how. Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: #include cannam@252: _ACEOF Chris@315: if ac_fn_c_try_cpp "$LINENO"; then : cannam@252: # Broken: success on invalid input. cannam@252: continue cannam@252: else cannam@252: # Passes both tests. cannam@252: ac_preproc_ok=: cannam@252: break cannam@252: fi Chris@315: rm -f conftest.err conftest.i conftest.$ac_ext cannam@252: cannam@252: done cannam@252: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. Chris@315: rm -f conftest.i conftest.err conftest.$ac_ext Chris@315: if $ac_preproc_ok; then : Chris@315: cannam@252: else Chris@315: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 Chris@315: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} Chris@315: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check Chris@321: See \`config.log' for more details" "$LINENO" 5; } cannam@252: fi cannam@252: cannam@252: ac_ext=c cannam@252: ac_cpp='$CPP $CPPFLAGS' cannam@252: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' cannam@252: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' cannam@252: ac_compiler_gnu=$ac_cv_c_compiler_gnu cannam@252: cannam@252: Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 Chris@315: $as_echo_n "checking for grep that handles long lines and -e... " >&6; } Chris@321: if ${ac_cv_path_GREP+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else Chris@315: if test -z "$GREP"; then cannam@252: ac_path_GREP_found=false Chris@315: # Loop through the user's path and test for each of PROGNAME-LIST Chris@315: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: for ac_prog in grep ggrep; do Chris@315: for ac_exec_ext in '' $ac_executable_extensions; do Chris@315: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" Chris@352: as_fn_executable_p "$ac_path_GREP" || continue Chris@315: # Check for GNU ac_path_GREP and select it if it is found. cannam@252: # Check for GNU $ac_path_GREP cannam@252: case `"$ac_path_GREP" --version 2>&1` in cannam@252: *GNU*) cannam@252: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; cannam@252: *) cannam@252: ac_count=0 Chris@315: $as_echo_n 0123456789 >"conftest.in" cannam@252: while : cannam@252: do cannam@252: cat "conftest.in" "conftest.in" >"conftest.tmp" cannam@252: mv "conftest.tmp" "conftest.in" cannam@252: cp "conftest.in" "conftest.nl" Chris@315: $as_echo 'GREP' >> "conftest.nl" cannam@252: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break cannam@252: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break Chris@315: as_fn_arith $ac_count + 1 && ac_count=$as_val cannam@252: if test $ac_count -gt ${ac_path_GREP_max-0}; then cannam@252: # Best one so far, save it but keep looking for a better one cannam@252: ac_cv_path_GREP="$ac_path_GREP" cannam@252: ac_path_GREP_max=$ac_count cannam@252: fi cannam@252: # 10*(2^10) chars as input seems more than enough cannam@252: test $ac_count -gt 10 && break cannam@252: done cannam@252: rm -f conftest.in conftest.tmp conftest.nl conftest.out;; cannam@252: esac cannam@252: Chris@315: $ac_path_GREP_found && break 3 Chris@315: done cannam@252: done Chris@315: done cannam@252: IFS=$as_save_IFS Chris@315: if test -z "$ac_cv_path_GREP"; then Chris@315: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 Chris@315: fi cannam@252: else cannam@252: ac_cv_path_GREP=$GREP cannam@252: fi cannam@252: cannam@252: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 Chris@315: $as_echo "$ac_cv_path_GREP" >&6; } cannam@252: GREP="$ac_cv_path_GREP" cannam@252: cannam@252: Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 Chris@315: $as_echo_n "checking for egrep... " >&6; } Chris@321: if ${ac_cv_path_EGREP+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 cannam@252: then ac_cv_path_EGREP="$GREP -E" cannam@252: else Chris@315: if test -z "$EGREP"; then cannam@252: ac_path_EGREP_found=false Chris@315: # Loop through the user's path and test for each of PROGNAME-LIST Chris@315: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: for ac_prog in egrep; do Chris@315: for ac_exec_ext in '' $ac_executable_extensions; do Chris@315: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" Chris@352: as_fn_executable_p "$ac_path_EGREP" || continue Chris@315: # Check for GNU ac_path_EGREP and select it if it is found. cannam@252: # Check for GNU $ac_path_EGREP cannam@252: case `"$ac_path_EGREP" --version 2>&1` in cannam@252: *GNU*) cannam@252: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; cannam@252: *) cannam@252: ac_count=0 Chris@315: $as_echo_n 0123456789 >"conftest.in" cannam@252: while : cannam@252: do cannam@252: cat "conftest.in" "conftest.in" >"conftest.tmp" cannam@252: mv "conftest.tmp" "conftest.in" cannam@252: cp "conftest.in" "conftest.nl" Chris@315: $as_echo 'EGREP' >> "conftest.nl" cannam@252: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break cannam@252: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break Chris@315: as_fn_arith $ac_count + 1 && ac_count=$as_val cannam@252: if test $ac_count -gt ${ac_path_EGREP_max-0}; then cannam@252: # Best one so far, save it but keep looking for a better one cannam@252: ac_cv_path_EGREP="$ac_path_EGREP" cannam@252: ac_path_EGREP_max=$ac_count cannam@252: fi cannam@252: # 10*(2^10) chars as input seems more than enough cannam@252: test $ac_count -gt 10 && break cannam@252: done cannam@252: rm -f conftest.in conftest.tmp conftest.nl conftest.out;; cannam@252: esac cannam@252: Chris@315: $ac_path_EGREP_found && break 3 Chris@315: done cannam@252: done Chris@315: done cannam@252: IFS=$as_save_IFS Chris@315: if test -z "$ac_cv_path_EGREP"; then Chris@315: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 Chris@315: fi cannam@252: else cannam@252: ac_cv_path_EGREP=$EGREP cannam@252: fi cannam@252: cannam@252: fi cannam@252: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 Chris@315: $as_echo "$ac_cv_path_EGREP" >&6; } cannam@252: EGREP="$ac_cv_path_EGREP" cannam@252: cannam@252: Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 Chris@315: $as_echo_n "checking for ANSI C header files... " >&6; } Chris@321: if ${ac_cv_header_stdc+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: #include cannam@252: #include cannam@252: #include cannam@252: #include cannam@252: cannam@252: int cannam@252: main () cannam@252: { cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_c_try_compile "$LINENO"; then : cannam@252: ac_cv_header_stdc=yes cannam@252: else Chris@315: ac_cv_header_stdc=no cannam@252: fi cannam@252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cannam@252: cannam@252: if test $ac_cv_header_stdc = yes; then cannam@252: # SunOS 4.x string.h does not declare mem*, contrary to ANSI. Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: #include cannam@252: cannam@252: _ACEOF cannam@252: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | Chris@315: $EGREP "memchr" >/dev/null 2>&1; then : Chris@315: cannam@252: else cannam@252: ac_cv_header_stdc=no cannam@252: fi cannam@252: rm -f conftest* cannam@252: cannam@252: fi cannam@252: cannam@252: if test $ac_cv_header_stdc = yes; then cannam@252: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: #include cannam@252: cannam@252: _ACEOF cannam@252: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | Chris@315: $EGREP "free" >/dev/null 2>&1; then : Chris@315: cannam@252: else cannam@252: ac_cv_header_stdc=no cannam@252: fi cannam@252: rm -f conftest* cannam@252: cannam@252: fi cannam@252: cannam@252: if test $ac_cv_header_stdc = yes; then cannam@252: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. Chris@315: if test "$cross_compiling" = yes; then : cannam@252: : cannam@252: else Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: #include cannam@252: #include cannam@252: #if ((' ' & 0x0FF) == 0x020) cannam@252: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') cannam@252: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) cannam@252: #else cannam@252: # define ISLOWER(c) \ cannam@252: (('a' <= (c) && (c) <= 'i') \ cannam@252: || ('j' <= (c) && (c) <= 'r') \ cannam@252: || ('s' <= (c) && (c) <= 'z')) cannam@252: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) cannam@252: #endif cannam@252: cannam@252: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) cannam@252: int cannam@252: main () cannam@252: { cannam@252: int i; cannam@252: for (i = 0; i < 256; i++) cannam@252: if (XOR (islower (i), ISLOWER (i)) cannam@252: || toupper (i) != TOUPPER (i)) cannam@252: return 2; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_c_try_run "$LINENO"; then : Chris@315: cannam@252: else Chris@315: ac_cv_header_stdc=no cannam@252: fi Chris@315: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ Chris@315: conftest.$ac_objext conftest.beam conftest.$ac_ext cannam@252: fi cannam@252: cannam@252: fi cannam@252: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 Chris@315: $as_echo "$ac_cv_header_stdc" >&6; } cannam@252: if test $ac_cv_header_stdc = yes; then cannam@252: Chris@315: $as_echo "#define STDC_HEADERS 1" >>confdefs.h cannam@252: cannam@252: fi cannam@252: cannam@252: # On IRIX 5.3, sys/types and inttypes.h are conflicting. cannam@252: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ cannam@252: inttypes.h stdint.h unistd.h Chris@315: do : Chris@315: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` Chris@315: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default Chris@315: " Chris@315: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : Chris@315: cat >>confdefs.h <<_ACEOF Chris@315: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 Chris@315: _ACEOF Chris@315: Chris@315: fi Chris@315: Chris@315: done Chris@315: Chris@315: Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 Chris@315: $as_echo_n "checking whether byte ordering is bigendian... " >&6; } Chris@321: if ${ac_cv_c_bigendian+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else Chris@315: ac_cv_c_bigendian=unknown Chris@315: # See if we're dealing with a universal compiler. Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext Chris@315: /* end confdefs.h. */ Chris@315: #ifndef __APPLE_CC__ Chris@315: not a universal capable compiler Chris@315: #endif Chris@315: typedef int dummy; Chris@315: cannam@252: _ACEOF Chris@315: if ac_fn_c_try_compile "$LINENO"; then : Chris@315: Chris@315: # Check for potential -arch flags. It is not universal unless Chris@315: # there are at least two -arch flags with different values. Chris@315: ac_arch= Chris@315: ac_prev= Chris@315: for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do Chris@315: if test -n "$ac_prev"; then Chris@315: case $ac_word in Chris@315: i?86 | x86_64 | ppc | ppc64) Chris@315: if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then Chris@315: ac_arch=$ac_word Chris@315: else Chris@315: ac_cv_c_bigendian=universal Chris@315: break Chris@315: fi Chris@315: ;; Chris@315: esac Chris@315: ac_prev= Chris@315: elif test "x$ac_word" = "x-arch"; then Chris@315: ac_prev=arch Chris@315: fi Chris@315: done cannam@252: fi cannam@252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext Chris@315: if test $ac_cv_c_bigendian = unknown; then Chris@315: # See if sys/param.h defines the BYTE_ORDER macro. Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: #include Chris@315: #include cannam@252: cannam@252: int cannam@252: main () cannam@252: { Chris@315: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ Chris@315: && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ Chris@315: && LITTLE_ENDIAN) Chris@315: bogus endian macros Chris@315: #endif cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_c_try_compile "$LINENO"; then : cannam@252: # It does; now see whether it defined to BIG_ENDIAN or not. Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: #include Chris@315: #include cannam@252: cannam@252: int cannam@252: main () cannam@252: { cannam@252: #if BYTE_ORDER != BIG_ENDIAN Chris@315: not big endian Chris@315: #endif cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_c_try_compile "$LINENO"; then : cannam@252: ac_cv_c_bigendian=yes cannam@252: else Chris@315: ac_cv_c_bigendian=no cannam@252: fi cannam@252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext Chris@315: fi Chris@315: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext Chris@315: fi Chris@315: if test $ac_cv_c_bigendian = unknown; then Chris@315: # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ Chris@315: #include Chris@315: cannam@252: int cannam@252: main () cannam@252: { Chris@315: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) Chris@315: bogus endian macros Chris@315: #endif Chris@315: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_c_try_compile "$LINENO"; then : Chris@315: # It does; now see whether it defined to _BIG_ENDIAN or not. Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext Chris@315: /* end confdefs.h. */ Chris@315: #include Chris@315: Chris@315: int Chris@315: main () Chris@315: { Chris@315: #ifndef _BIG_ENDIAN Chris@315: not big endian Chris@315: #endif Chris@315: Chris@315: ; Chris@315: return 0; Chris@315: } Chris@315: _ACEOF Chris@315: if ac_fn_c_try_compile "$LINENO"; then : cannam@252: ac_cv_c_bigendian=yes Chris@315: else Chris@315: ac_cv_c_bigendian=no cannam@252: fi Chris@315: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cannam@252: fi Chris@315: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext Chris@315: fi Chris@315: if test $ac_cv_c_bigendian = unknown; then Chris@315: # Compile a test program. Chris@315: if test "$cross_compiling" = yes; then : Chris@315: # Try to guess by grepping values from an object file. Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext Chris@315: /* end confdefs.h. */ Chris@315: short int ascii_mm[] = Chris@315: { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; Chris@315: short int ascii_ii[] = Chris@315: { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; Chris@315: int use_ascii (int i) { Chris@315: return ascii_mm[i] + ascii_ii[i]; Chris@315: } Chris@315: short int ebcdic_ii[] = Chris@315: { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; Chris@315: short int ebcdic_mm[] = Chris@315: { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; Chris@315: int use_ebcdic (int i) { Chris@315: return ebcdic_mm[i] + ebcdic_ii[i]; Chris@315: } Chris@315: extern int foo; Chris@315: Chris@315: int Chris@315: main () Chris@315: { Chris@315: return use_ascii (foo) == use_ebcdic (foo); Chris@315: ; Chris@315: return 0; Chris@315: } Chris@315: _ACEOF Chris@315: if ac_fn_c_try_compile "$LINENO"; then : Chris@315: if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then Chris@315: ac_cv_c_bigendian=yes Chris@315: fi Chris@315: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then Chris@315: if test "$ac_cv_c_bigendian" = unknown; then Chris@315: ac_cv_c_bigendian=no Chris@315: else Chris@315: # finding both strings is unlikely to happen, but who knows? Chris@315: ac_cv_c_bigendian=unknown Chris@315: fi Chris@315: fi cannam@252: fi cannam@252: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cannam@252: else Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: $ac_includes_default cannam@252: int cannam@252: main () cannam@252: { cannam@252: Chris@315: /* Are we little or big endian? From Harbison&Steele. */ Chris@315: union Chris@315: { Chris@315: long int l; Chris@315: char c[sizeof (long int)]; Chris@315: } u; Chris@315: u.l = 1; Chris@315: return u.c[sizeof (long int) - 1] == 1; cannam@252: cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF Chris@315: if ac_fn_c_try_run "$LINENO"; then : cannam@252: ac_cv_c_bigendian=no cannam@252: else Chris@315: ac_cv_c_bigendian=yes cannam@252: fi Chris@315: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ Chris@315: conftest.$ac_objext conftest.beam conftest.$ac_ext cannam@252: fi cannam@252: Chris@315: fi cannam@252: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 Chris@315: $as_echo "$ac_cv_c_bigendian" >&6; } Chris@315: case $ac_cv_c_bigendian in #( Chris@315: yes) Chris@315: $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h Chris@315: ;; #( Chris@315: no) Chris@315: ;; #( Chris@315: universal) Chris@315: Chris@315: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h Chris@315: Chris@315: ;; #( Chris@315: *) Chris@315: as_fn_error $? "unknown endianness Chris@321: presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; Chris@315: esac cannam@252: cannam@252: Chris@526: # We now require C++11 Chris@526: Chris@526: ax_cxx_compile_cxx11_required=true Chris@526: ac_ext=cpp Chris@526: ac_cpp='$CXXCPP $CPPFLAGS' Chris@526: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' Chris@526: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' Chris@526: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu Chris@526: ac_success=no Chris@526: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5 Chris@526: $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; } Chris@526: if ${ax_cv_cxx_compile_cxx11+:} false; then : Chris@526: $as_echo_n "(cached) " >&6 Chris@526: else Chris@526: cat confdefs.h - <<_ACEOF >conftest.$ac_ext Chris@526: /* end confdefs.h. */ Chris@526: Chris@526: template Chris@526: struct check Chris@526: { Chris@526: static_assert(sizeof(int) <= sizeof(T), "not big enough"); Chris@526: }; Chris@526: Chris@526: struct Base { Chris@526: virtual void f() {} Chris@526: }; Chris@526: struct Child : public Base { Chris@526: virtual void f() override {} Chris@526: }; Chris@526: Chris@526: typedef check> right_angle_brackets; Chris@526: Chris@526: int a; Chris@526: decltype(a) b; Chris@526: Chris@526: typedef check check_type; Chris@526: check_type c; Chris@526: check_type&& cr = static_cast(c); Chris@526: Chris@526: auto d = a; Chris@526: auto l = [](){}; Chris@526: Chris@526: _ACEOF Chris@526: if ac_fn_cxx_try_compile "$LINENO"; then : Chris@526: ax_cv_cxx_compile_cxx11=yes Chris@526: else Chris@526: ax_cv_cxx_compile_cxx11=no Chris@526: fi Chris@526: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext Chris@526: fi Chris@526: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5 Chris@526: $as_echo "$ax_cv_cxx_compile_cxx11" >&6; } Chris@526: if test x$ax_cv_cxx_compile_cxx11 = xyes; then Chris@526: ac_success=yes Chris@526: fi Chris@526: Chris@526: Chris@526: Chris@526: if test x$ac_success = xno; then Chris@526: for switch in -std=c++11 -std=c++0x; do Chris@526: cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh` Chris@526: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5 Chris@526: $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; } Chris@526: if eval \${$cachevar+:} false; then : Chris@526: $as_echo_n "(cached) " >&6 Chris@526: else Chris@526: ac_save_CXXFLAGS="$CXXFLAGS" Chris@526: CXXFLAGS="$CXXFLAGS $switch" Chris@526: cat confdefs.h - <<_ACEOF >conftest.$ac_ext Chris@526: /* end confdefs.h. */ Chris@526: Chris@526: template Chris@526: struct check Chris@526: { Chris@526: static_assert(sizeof(int) <= sizeof(T), "not big enough"); Chris@526: }; Chris@526: Chris@526: struct Base { Chris@526: virtual void f() {} Chris@526: }; Chris@526: struct Child : public Base { Chris@526: virtual void f() override {} Chris@526: }; Chris@526: Chris@526: typedef check> right_angle_brackets; Chris@526: Chris@526: int a; Chris@526: decltype(a) b; Chris@526: Chris@526: typedef check check_type; Chris@526: check_type c; Chris@526: check_type&& cr = static_cast(c); Chris@526: Chris@526: auto d = a; Chris@526: auto l = [](){}; Chris@526: Chris@526: _ACEOF Chris@526: if ac_fn_cxx_try_compile "$LINENO"; then : Chris@526: eval $cachevar=yes Chris@526: else Chris@526: eval $cachevar=no Chris@526: fi Chris@526: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext Chris@526: CXXFLAGS="$ac_save_CXXFLAGS" Chris@526: fi Chris@526: eval ac_res=\$$cachevar Chris@526: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 Chris@526: $as_echo "$ac_res" >&6; } Chris@526: if eval test x\$$cachevar = xyes; then Chris@526: CXXFLAGS="$CXXFLAGS $switch" Chris@526: ac_success=yes Chris@526: break Chris@526: fi Chris@526: done Chris@526: fi Chris@526: ac_ext=c Chris@526: ac_cpp='$CPP $CPPFLAGS' Chris@526: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' Chris@526: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' Chris@526: ac_compiler_gnu=$ac_cv_c_compiler_gnu Chris@526: Chris@526: if test x$ax_cxx_compile_cxx11_required = xtrue; then Chris@526: if test x$ac_success = xno; then Chris@526: as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5 Chris@526: fi Chris@526: else Chris@526: if test x$ac_success = xno; then Chris@526: HAVE_CXX11=0 Chris@526: { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5 Chris@526: $as_echo "$as_me: No compiler with C++11 support was found" >&6;} Chris@526: else Chris@526: HAVE_CXX11=1 Chris@526: Chris@526: $as_echo "#define HAVE_CXX11 1" >>confdefs.h Chris@526: Chris@526: fi Chris@526: Chris@526: Chris@526: fi Chris@526: Chris@526: cannam@252: if pkg-config --modversion vamp-sdk >/dev/null 2>&1; then cannam@252: echo "WARNING: A version of the Vamp plugin SDK is already installed." cannam@252: echo " Expect worries and sorrows if you install a new version" cannam@252: echo " without removing the old one first. (Continuing)" cannam@252: fi cannam@252: Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 Chris@315: $as_echo_n "checking for library containing dlopen... " >&6; } Chris@321: if ${ac_cv_search_dlopen+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: ac_func_search_save_LIBS=$LIBS Chris@315: cat confdefs.h - <<_ACEOF >conftest.$ac_ext cannam@252: /* end confdefs.h. */ cannam@252: cannam@252: /* Override any GCC internal prototype to avoid an error. cannam@252: Use char because int might match the return type of a GCC cannam@252: builtin and then its argument prototype would still apply. */ cannam@252: #ifdef __cplusplus cannam@252: extern "C" cannam@252: #endif cannam@252: char dlopen (); cannam@252: int cannam@252: main () cannam@252: { cannam@252: return dlopen (); cannam@252: ; cannam@252: return 0; cannam@252: } cannam@252: _ACEOF cannam@252: for ac_lib in '' dl; do cannam@252: if test -z "$ac_lib"; then cannam@252: ac_res="none required" cannam@252: else cannam@252: ac_res=-l$ac_lib cannam@252: LIBS="-l$ac_lib $ac_func_search_save_LIBS" cannam@252: fi Chris@315: if ac_fn_c_try_link "$LINENO"; then : cannam@252: ac_cv_search_dlopen=$ac_res cannam@252: fi Chris@315: rm -f core conftest.err conftest.$ac_objext \ Chris@315: conftest$ac_exeext Chris@321: if ${ac_cv_search_dlopen+:} false; then : cannam@252: break cannam@252: fi cannam@252: done Chris@321: if ${ac_cv_search_dlopen+:} false; then : Chris@315: cannam@252: else cannam@252: ac_cv_search_dlopen=no cannam@252: fi cannam@252: rm conftest.$ac_ext cannam@252: LIBS=$ac_func_search_save_LIBS cannam@252: fi Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 Chris@315: $as_echo "$ac_cv_search_dlopen" >&6; } cannam@252: ac_res=$ac_cv_search_dlopen Chris@315: if test "$ac_res" != no; then : cannam@252: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" cannam@252: cannam@252: fi cannam@252: cannam@252: cannam@278: # Check whether --enable-programs was given. Chris@315: if test "${enable_programs+set}" = set; then : cannam@278: enableval=$enable_programs; PROGS_ARGUMENT=$enableval cannam@278: else cannam@278: PROGS_ARGUMENT="yes" cannam@278: fi cannam@278: cannam@278: cannam@278: if test "x$PROGS_ARGUMENT" = "xyes" ; then cannam@252: cannam@252: Chris@315: Chris@315: Chris@315: Chris@315: Chris@321: cannam@252: if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then cannam@252: if test -n "$ac_tool_prefix"; then cannam@252: # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. cannam@252: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 Chris@315: $as_echo_n "checking for $ac_word... " >&6; } Chris@321: if ${ac_cv_path_PKG_CONFIG+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: case $PKG_CONFIG in cannam@252: [\\/]* | ?:[\\/]*) cannam@252: ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. cannam@252: ;; cannam@252: *) cannam@252: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: for ac_exec_ext in '' $ac_executable_extensions; do Chris@352: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then cannam@252: ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 cannam@252: break 2 cannam@252: fi cannam@252: done Chris@315: done cannam@252: IFS=$as_save_IFS cannam@252: cannam@252: ;; cannam@252: esac cannam@252: fi cannam@252: PKG_CONFIG=$ac_cv_path_PKG_CONFIG cannam@252: if test -n "$PKG_CONFIG"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 Chris@315: $as_echo "$PKG_CONFIG" >&6; } cannam@252: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } cannam@252: fi cannam@252: cannam@252: cannam@252: fi cannam@252: if test -z "$ac_cv_path_PKG_CONFIG"; then cannam@252: ac_pt_PKG_CONFIG=$PKG_CONFIG cannam@252: # Extract the first word of "pkg-config", so it can be a program name with args. cannam@252: set dummy pkg-config; ac_word=$2 Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 Chris@315: $as_echo_n "checking for $ac_word... " >&6; } Chris@321: if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : Chris@315: $as_echo_n "(cached) " >&6 cannam@252: else cannam@252: case $ac_pt_PKG_CONFIG in cannam@252: [\\/]* | ?:[\\/]*) cannam@252: ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. cannam@252: ;; cannam@252: *) cannam@252: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: for ac_exec_ext in '' $ac_executable_extensions; do Chris@352: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then cannam@252: ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 cannam@252: break 2 cannam@252: fi cannam@252: done Chris@315: done cannam@252: IFS=$as_save_IFS cannam@252: cannam@252: ;; cannam@252: esac cannam@252: fi cannam@252: ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG cannam@252: if test -n "$ac_pt_PKG_CONFIG"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 Chris@315: $as_echo "$ac_pt_PKG_CONFIG" >&6; } cannam@252: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } cannam@252: fi cannam@252: cannam@252: if test "x$ac_pt_PKG_CONFIG" = x; then cannam@252: PKG_CONFIG="" cannam@252: else cannam@252: case $cross_compiling:$ac_tool_warned in cannam@252: yes:) Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 Chris@315: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} cannam@252: ac_tool_warned=yes ;; cannam@252: esac cannam@252: PKG_CONFIG=$ac_pt_PKG_CONFIG cannam@252: fi cannam@252: else cannam@252: PKG_CONFIG="$ac_cv_path_PKG_CONFIG" cannam@252: fi cannam@252: cannam@252: fi cannam@252: if test -n "$PKG_CONFIG"; then cannam@252: _pkg_min_version=0.9.0 Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 Chris@315: $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } cannam@252: if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 Chris@315: $as_echo "yes" >&6; } cannam@252: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } cannam@252: PKG_CONFIG="" cannam@252: fi cannam@252: fi cannam@252: cannam@252: pkg_failed=no Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5 Chris@315: $as_echo_n "checking for SNDFILE... " >&6; } Chris@315: Chris@315: if test -n "$SNDFILE_CFLAGS"; then Chris@315: pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS" Chris@315: elif test -n "$PKG_CONFIG"; then Chris@315: if test -n "$PKG_CONFIG" && \ Chris@315: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5 cannam@252: ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5 cannam@252: ac_status=$? Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; }; then cannam@252: pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile" 2>/dev/null` Chris@321: test "x$?" != "x0" && pkg_failed=yes cannam@252: else cannam@252: pkg_failed=yes cannam@252: fi Chris@315: else Chris@315: pkg_failed=untried cannam@252: fi Chris@315: if test -n "$SNDFILE_LIBS"; then Chris@315: pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS" Chris@315: elif test -n "$PKG_CONFIG"; then Chris@315: if test -n "$PKG_CONFIG" && \ Chris@315: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5 cannam@252: ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5 cannam@252: ac_status=$? Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 Chris@315: test $ac_status = 0; }; then cannam@252: pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile" 2>/dev/null` Chris@321: test "x$?" != "x0" && pkg_failed=yes cannam@252: else cannam@252: pkg_failed=yes cannam@252: fi Chris@315: else Chris@315: pkg_failed=untried cannam@252: fi cannam@252: cannam@252: cannam@252: cannam@252: if test $pkg_failed = yes; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } cannam@252: cannam@252: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then cannam@252: _pkg_short_errors_supported=yes cannam@252: else cannam@252: _pkg_short_errors_supported=no cannam@252: fi cannam@252: if test $_pkg_short_errors_supported = yes; then Chris@321: SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile" 2>&1` cannam@252: else Chris@321: SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile" 2>&1` cannam@252: fi cannam@252: # Put the nasty error message in config.log where it belongs cannam@252: echo "$SNDFILE_PKG_ERRORS" >&5 cannam@252: Chris@315: have_sndfile="no" cannam@252: elif test $pkg_failed = untried; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 Chris@315: $as_echo "no" >&6; } cannam@278: have_sndfile="no" cannam@252: else cannam@252: SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS cannam@252: SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 Chris@315: $as_echo "yes" >&6; } cannam@278: have_sndfile="yes" cannam@252: fi cannam@278: if test "x$have_sndfile" = "xyes" ; then cannam@278: TARGETS="sdk plugins host rdfgen test" cannam@278: else Chris@315: as_fn_error $? "libsndfile not found - cannot build example Vamp host! Chris@315: If you don't want to build the host, configure with --disable-programs." "$LINENO" 5 cannam@278: fi cannam@278: else cannam@278: TARGETS="sdk plugins" cannam@278: fi cannam@278: cannam@278: cannam@252: cannam@252: cannam@252: cannam@252: if test "x$GCC" = "xyes"; then cannam@252: case " $CXXFLAGS " in cannam@252: *[\ \ ]-fPIC\ -Wall[\ \ ]*) ;; Chris@398: *) CXXFLAGS="$CXXFLAGS -fPIC -Wall -Wextra" ;; cannam@252: esac Chris@375: case " $CFLAGS " in Chris@375: *[\ \ ]-fPIC\ -Wall[\ \ ]*) ;; Chris@398: *) CFLAGS="$CFLAGS -fPIC -Wall -Wextra" ;; Chris@375: esac Chris@526: CXXFLAGS="$CXXFLAGS -std=c++11" cannam@252: fi cannam@252: cannam@278: Chris@375: cannam@252: ac_config_files="$ac_config_files Makefile" cannam@252: cannam@252: cat >confcache <<\_ACEOF cannam@252: # This file is a shell script that caches the results of configure cannam@252: # tests run on this system so they can be shared between configure cannam@252: # scripts and configure runs, see configure's option --config-cache. cannam@252: # It is not useful on other systems. If it contains results you don't cannam@252: # want to keep, you may remove or edit it. cannam@252: # cannam@252: # config.status only pays attention to the cache file if you give it cannam@252: # the --recheck option to rerun configure. cannam@252: # cannam@252: # `ac_cv_env_foo' variables (set or unset) will be overridden when cannam@252: # loading this file, other *unset* `ac_cv_foo' will be assigned the cannam@252: # following values. cannam@252: cannam@252: _ACEOF cannam@252: cannam@252: # The following way of writing the cache mishandles newlines in values, cannam@252: # but we know of no workaround that is simple, portable, and efficient. cannam@252: # So, we kill variables containing newlines. cannam@252: # Ultrix sh set writes to stderr and can't be redirected directly, cannam@252: # and sets the high bit in the cache file unless we assign to the vars. cannam@252: ( cannam@252: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do cannam@252: eval ac_val=\$$ac_var cannam@252: case $ac_val in #( cannam@252: *${as_nl}*) cannam@252: case $ac_var in #( Chris@315: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 Chris@315: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; cannam@252: esac cannam@252: case $ac_var in #( cannam@252: _ | IFS | as_nl) ;; #( Chris@315: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( Chris@315: *) { eval $ac_var=; unset $ac_var;} ;; cannam@252: esac ;; cannam@252: esac cannam@252: done cannam@252: cannam@252: (set) 2>&1 | cannam@252: case $as_nl`(ac_space=' '; set) 2>&1` in #( cannam@252: *${as_nl}ac_space=\ *) Chris@315: # `set' does not quote correctly, so add quotes: double-quote Chris@315: # substitution turns \\\\ into \\, and sed turns \\ into \. cannam@252: sed -n \ cannam@252: "s/'/'\\\\''/g; cannam@252: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" cannam@252: ;; #( cannam@252: *) cannam@252: # `set' quotes correctly as required by POSIX, so do not add quotes. cannam@252: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" cannam@252: ;; cannam@252: esac | cannam@252: sort cannam@252: ) | cannam@252: sed ' cannam@252: /^ac_cv_env_/b end cannam@252: t clear cannam@252: :clear cannam@252: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ cannam@252: t end cannam@252: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ cannam@252: :end' >>confcache cannam@252: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else cannam@252: if test -w "$cache_file"; then Chris@321: if test "x$cache_file" != "x/dev/null"; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 Chris@315: $as_echo "$as_me: updating cache $cache_file" >&6;} Chris@321: if test ! -f "$cache_file" || test -h "$cache_file"; then Chris@321: cat confcache >"$cache_file" Chris@321: else Chris@321: case $cache_file in #( Chris@321: */* | ?:*) Chris@321: mv -f confcache "$cache_file"$$ && Chris@321: mv -f "$cache_file"$$ "$cache_file" ;; #( Chris@321: *) Chris@321: mv -f confcache "$cache_file" ;; Chris@321: esac Chris@321: fi Chris@321: fi cannam@252: else Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 Chris@315: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} cannam@252: fi cannam@252: fi cannam@252: rm -f confcache cannam@252: cannam@252: test "x$prefix" = xNONE && prefix=$ac_default_prefix cannam@252: # Let make expand exec_prefix. cannam@252: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' cannam@252: cannam@252: # Transform confdefs.h into DEFS. cannam@252: # Protect against shell expansion while executing Makefile rules. cannam@252: # Protect against Makefile macro expansion. cannam@252: # cannam@252: # If the first sed substitution is executed (which looks for macros that cannam@252: # take arguments), then branch to the quote section. Otherwise, cannam@252: # look for a macro that doesn't take arguments. cannam@252: ac_script=' Chris@315: :mline Chris@315: /\\$/{ Chris@315: N Chris@315: s,\\\n,, Chris@315: b mline Chris@315: } cannam@252: t clear cannam@252: :clear cannam@252: s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g cannam@252: t quote cannam@252: s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g cannam@252: t quote cannam@252: b any cannam@252: :quote cannam@252: s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g cannam@252: s/\[/\\&/g cannam@252: s/\]/\\&/g cannam@252: s/\$/$$/g cannam@252: H cannam@252: :any cannam@252: ${ cannam@252: g cannam@252: s/^\n// cannam@252: s/\n/ /g cannam@252: p cannam@252: } cannam@252: ' cannam@252: DEFS=`sed -n "$ac_script" confdefs.h` cannam@252: cannam@252: cannam@252: ac_libobjs= cannam@252: ac_ltlibobjs= Chris@315: U= cannam@252: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue cannam@252: # 1. Remove the extension, and $U if already installed. cannam@252: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' Chris@315: ac_i=`$as_echo "$ac_i" | sed "$ac_script"` cannam@252: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR cannam@252: # will be set to the directory where LIBOBJS objects are built. Chris@315: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" Chris@315: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' cannam@252: done cannam@252: LIBOBJS=$ac_libobjs cannam@252: cannam@252: LTLIBOBJS=$ac_ltlibobjs cannam@252: cannam@252: cannam@252: Chris@315: Chris@321: : "${CONFIG_STATUS=./config.status}" Chris@315: ac_write_fail=0 cannam@252: ac_clean_files_save=$ac_clean_files cannam@252: ac_clean_files="$ac_clean_files $CONFIG_STATUS" Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 Chris@315: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} Chris@315: as_write_fail=0 Chris@315: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 cannam@252: #! $SHELL cannam@252: # Generated by $as_me. cannam@252: # Run this file to recreate the current configuration. cannam@252: # Compiler output produced by configure, useful for debugging cannam@252: # configure, is in config.log if it exists. cannam@252: cannam@252: debug=false cannam@252: ac_cs_recheck=false cannam@252: ac_cs_silent=false Chris@315: cannam@252: SHELL=\${CONFIG_SHELL-$SHELL} Chris@315: export SHELL Chris@315: _ASEOF Chris@315: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 Chris@315: ## -------------------- ## Chris@315: ## M4sh Initialization. ## Chris@315: ## -------------------- ## cannam@252: cannam@252: # Be more Bourne compatible cannam@252: DUALCASE=1; export DUALCASE # for MKS sh Chris@315: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : cannam@252: emulate sh cannam@252: NULLCMD=: Chris@315: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which cannam@252: # is contrary to our usage. Disable this feature. cannam@252: alias -g '${1+"$@"}'='"$@"' cannam@252: setopt NO_GLOB_SUBST cannam@252: else Chris@315: case `(set -o) 2>/dev/null` in #( Chris@315: *posix*) : Chris@315: set -o posix ;; #( Chris@315: *) : Chris@315: ;; cannam@252: esac cannam@252: fi cannam@252: cannam@252: Chris@315: as_nl=' Chris@315: ' Chris@315: export as_nl Chris@315: # Printing a long string crashes Solaris 7 /usr/bin/printf. Chris@315: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' Chris@315: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo Chris@315: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo Chris@315: # Prefer a ksh shell builtin over an external printf program on Solaris, Chris@315: # but without wasting forks for bash or zsh. Chris@315: if test -z "$BASH_VERSION$ZSH_VERSION" \ Chris@315: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then Chris@315: as_echo='print -r --' Chris@315: as_echo_n='print -rn --' Chris@315: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then Chris@315: as_echo='printf %s\n' Chris@315: as_echo_n='printf %s' Chris@315: else Chris@315: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then Chris@315: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' Chris@315: as_echo_n='/usr/ucb/echo -n' Chris@315: else Chris@315: as_echo_body='eval expr "X$1" : "X\\(.*\\)"' Chris@315: as_echo_n_body='eval Chris@315: arg=$1; Chris@315: case $arg in #( Chris@315: *"$as_nl"*) Chris@315: expr "X$arg" : "X\\(.*\\)$as_nl"; Chris@315: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; Chris@315: esac; Chris@315: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" Chris@315: ' Chris@315: export as_echo_n_body Chris@315: as_echo_n='sh -c $as_echo_n_body as_echo' Chris@315: fi Chris@315: export as_echo_body Chris@315: as_echo='sh -c $as_echo_body as_echo' Chris@315: fi cannam@252: cannam@252: # The user is always right. cannam@252: if test "${PATH_SEPARATOR+set}" != set; then Chris@315: PATH_SEPARATOR=: Chris@315: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { Chris@315: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || Chris@315: PATH_SEPARATOR=';' Chris@315: } cannam@252: fi cannam@252: cannam@252: cannam@252: # IFS cannam@252: # We need space, tab and new line, in precisely that order. Quoting is cannam@252: # there to prevent editors from complaining about space-tab. cannam@252: # (If _AS_PATH_WALK were called with IFS unset, it would disable word cannam@252: # splitting by setting IFS to empty value.) cannam@252: IFS=" "" $as_nl" cannam@252: cannam@252: # Find who we are. Look in the path if we contain no directory separator. Chris@321: as_myself= Chris@315: case $0 in #(( cannam@252: *[\\/]* ) as_myself=$0 ;; cannam@252: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR cannam@252: for as_dir in $PATH cannam@252: do cannam@252: IFS=$as_save_IFS cannam@252: test -z "$as_dir" && as_dir=. Chris@315: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break Chris@315: done cannam@252: IFS=$as_save_IFS cannam@252: cannam@252: ;; cannam@252: esac cannam@252: # We did not find ourselves, most probably we were run as `sh COMMAND' cannam@252: # in which case we are not to be found in the path. cannam@252: if test "x$as_myself" = x; then cannam@252: as_myself=$0 cannam@252: fi cannam@252: if test ! -f "$as_myself"; then Chris@315: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 Chris@315: exit 1 cannam@252: fi cannam@252: Chris@315: # Unset variables that we do not need and which cause bugs (e.g. in Chris@315: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" Chris@315: # suppresses any "Segmentation fault" message there. '((' could Chris@315: # trigger a bug in pdksh 5.2.14. Chris@315: for as_var in BASH_ENV ENV MAIL MAILPATH Chris@315: do eval test x\${$as_var+set} = xset \ Chris@315: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : cannam@252: done cannam@252: PS1='$ ' cannam@252: PS2='> ' cannam@252: PS4='+ ' cannam@252: cannam@252: # NLS nuisances. Chris@315: LC_ALL=C Chris@315: export LC_ALL Chris@315: LANGUAGE=C Chris@315: export LANGUAGE Chris@315: Chris@315: # CDPATH. Chris@315: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH Chris@315: Chris@315: Chris@315: # as_fn_error STATUS ERROR [LINENO LOG_FD] Chris@315: # ---------------------------------------- Chris@315: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are Chris@315: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the Chris@315: # script with STATUS, using 1 if that was 0. Chris@315: as_fn_error () Chris@315: { Chris@315: as_status=$1; test $as_status -eq 0 && as_status=1 Chris@315: if test "$4"; then Chris@315: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack Chris@315: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 cannam@252: fi Chris@315: $as_echo "$as_me: error: $2" >&2 Chris@315: as_fn_exit $as_status Chris@315: } # as_fn_error Chris@315: Chris@315: Chris@315: # as_fn_set_status STATUS Chris@315: # ----------------------- Chris@315: # Set $? to STATUS, without forking. Chris@315: as_fn_set_status () Chris@315: { Chris@315: return $1 Chris@315: } # as_fn_set_status Chris@315: Chris@315: # as_fn_exit STATUS Chris@315: # ----------------- Chris@315: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. Chris@315: as_fn_exit () Chris@315: { Chris@315: set +e Chris@315: as_fn_set_status $1 Chris@315: exit $1 Chris@315: } # as_fn_exit Chris@315: Chris@315: # as_fn_unset VAR Chris@315: # --------------- Chris@315: # Portably unset VAR. Chris@315: as_fn_unset () Chris@315: { Chris@315: { eval $1=; unset $1;} Chris@315: } Chris@315: as_unset=as_fn_unset Chris@315: # as_fn_append VAR VALUE Chris@315: # ---------------------- Chris@315: # Append the text in VALUE to the end of the definition contained in VAR. Take Chris@315: # advantage of any shell optimizations that allow amortized linear growth over Chris@315: # repeated appends, instead of the typical quadratic growth present in naive Chris@315: # implementations. Chris@315: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : Chris@315: eval 'as_fn_append () Chris@315: { Chris@315: eval $1+=\$2 Chris@315: }' Chris@315: else Chris@315: as_fn_append () Chris@315: { Chris@315: eval $1=\$$1\$2 Chris@315: } Chris@315: fi # as_fn_append Chris@315: Chris@315: # as_fn_arith ARG... Chris@315: # ------------------ Chris@315: # Perform arithmetic evaluation on the ARGs, and store the result in the Chris@315: # global $as_val. Take advantage of shells that can avoid forks. The arguments Chris@315: # must be portable across $(()) and expr. Chris@315: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : Chris@315: eval 'as_fn_arith () Chris@315: { Chris@315: as_val=$(( $* )) Chris@315: }' Chris@315: else Chris@315: as_fn_arith () Chris@315: { Chris@315: as_val=`expr "$@" || test $? -eq 1` Chris@315: } Chris@315: fi # as_fn_arith Chris@315: Chris@315: cannam@252: if expr a : '\(a\)' >/dev/null 2>&1 && cannam@252: test "X`expr 00001 : '.*\(...\)'`" = X001; then cannam@252: as_expr=expr cannam@252: else cannam@252: as_expr=false cannam@252: fi cannam@252: cannam@252: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then cannam@252: as_basename=basename cannam@252: else cannam@252: as_basename=false cannam@252: fi cannam@252: Chris@315: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then Chris@315: as_dirname=dirname Chris@315: else Chris@315: as_dirname=false Chris@315: fi Chris@315: cannam@252: as_me=`$as_basename -- "$0" || cannam@252: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ cannam@252: X"$0" : 'X\(//\)$' \| \ cannam@252: X"$0" : 'X\(/\)' \| . 2>/dev/null || Chris@315: $as_echo X/"$0" | cannam@252: sed '/^.*\/\([^/][^/]*\)\/*$/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: /^X\/\(\/\/\)$/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: /^X\/\(\/\).*/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: s/.*/./; q'` cannam@252: Chris@315: # Avoid depending upon Character Ranges. Chris@315: as_cr_letters='abcdefghijklmnopqrstuvwxyz' Chris@315: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' Chris@315: as_cr_Letters=$as_cr_letters$as_cr_LETTERS Chris@315: as_cr_digits='0123456789' Chris@315: as_cr_alnum=$as_cr_Letters$as_cr_digits cannam@252: cannam@252: ECHO_C= ECHO_N= ECHO_T= Chris@315: case `echo -n x` in #((((( cannam@252: -n*) Chris@315: case `echo 'xy\c'` in cannam@252: *c*) ECHO_T=' ';; # ECHO_T is single tab character. Chris@315: xy) ECHO_C='\c';; Chris@315: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null Chris@315: ECHO_T=' ';; cannam@252: esac;; cannam@252: *) cannam@252: ECHO_N='-n';; cannam@252: esac cannam@252: cannam@252: rm -f conf$$ conf$$.exe conf$$.file cannam@252: if test -d conf$$.dir; then cannam@252: rm -f conf$$.dir/conf$$.file cannam@252: else cannam@252: rm -f conf$$.dir Chris@315: mkdir conf$$.dir 2>/dev/null cannam@252: fi Chris@315: if (echo >conf$$.file) 2>/dev/null; then Chris@315: if ln -s conf$$.file conf$$ 2>/dev/null; then Chris@315: as_ln_s='ln -s' Chris@315: # ... but there are two gotchas: Chris@315: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. Chris@315: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. Chris@352: # In both cases, we have to default to `cp -pR'. Chris@315: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || Chris@352: as_ln_s='cp -pR' Chris@315: elif ln conf$$.file conf$$ 2>/dev/null; then Chris@315: as_ln_s=ln Chris@315: else Chris@352: as_ln_s='cp -pR' Chris@315: fi cannam@252: else Chris@352: as_ln_s='cp -pR' cannam@252: fi cannam@252: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file cannam@252: rmdir conf$$.dir 2>/dev/null cannam@252: Chris@315: Chris@315: # as_fn_mkdir_p Chris@315: # ------------- Chris@315: # Create "$as_dir" as a directory, including parents if necessary. Chris@315: as_fn_mkdir_p () cannam@252: { Chris@315: cannam@252: case $as_dir in #( cannam@252: -*) as_dir=./$as_dir;; cannam@252: esac Chris@315: test -d "$as_dir" || eval $as_mkdir_p || { cannam@252: as_dirs= cannam@252: while :; do cannam@252: case $as_dir in #( Chris@315: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( cannam@252: *) as_qdir=$as_dir;; cannam@252: esac cannam@252: as_dirs="'$as_qdir' $as_dirs" cannam@252: as_dir=`$as_dirname -- "$as_dir" || cannam@252: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ cannam@252: X"$as_dir" : 'X\(//\)[^/]' \| \ cannam@252: X"$as_dir" : 'X\(//\)$' \| \ cannam@252: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || Chris@315: $as_echo X"$as_dir" | cannam@252: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: /^X\(\/\/\)[^/].*/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: /^X\(\/\/\)$/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: /^X\(\/\).*/{ cannam@252: s//\1/ cannam@252: q cannam@252: } cannam@252: s/.*/./; q'` cannam@252: test -d "$as_dir" && break cannam@252: done cannam@252: test -z "$as_dirs" || eval "mkdir $as_dirs" Chris@315: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" Chris@315: Chris@315: Chris@315: } # as_fn_mkdir_p Chris@315: if mkdir -p . 2>/dev/null; then Chris@315: as_mkdir_p='mkdir -p "$as_dir"' Chris@315: else Chris@315: test -d ./-p && rmdir ./-p Chris@315: as_mkdir_p=false Chris@315: fi Chris@315: Chris@352: Chris@352: # as_fn_executable_p FILE Chris@352: # ----------------------- Chris@352: # Test if FILE is an executable regular file. Chris@352: as_fn_executable_p () Chris@352: { Chris@352: test -f "$1" && test -x "$1" Chris@352: } # as_fn_executable_p Chris@352: as_test_x='test -x' Chris@352: as_executable_p=as_fn_executable_p Chris@315: Chris@315: # Sed expression to map a string onto a valid CPP name. Chris@315: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" Chris@315: Chris@315: # Sed expression to map a string onto a valid variable name. Chris@315: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" Chris@315: Chris@315: Chris@315: exec 6>&1 Chris@315: ## ----------------------------------- ## Chris@315: ## Main body of $CONFIG_STATUS script. ## Chris@315: ## ----------------------------------- ## Chris@315: _ASEOF Chris@315: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 Chris@315: Chris@315: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Chris@315: # Save the log message, to keep $0 and so on meaningful, and to Chris@315: # report actual input values of CONFIG_FILES etc. instead of their Chris@315: # values after options handling. Chris@315: ac_log=" Chris@539: This file was extended by vamp-plugin-sdk $as_me 2.10, which was Chris@352: generated by GNU Autoconf 2.69. Invocation command line was Chris@315: Chris@315: CONFIG_FILES = $CONFIG_FILES Chris@315: CONFIG_HEADERS = $CONFIG_HEADERS Chris@315: CONFIG_LINKS = $CONFIG_LINKS Chris@315: CONFIG_COMMANDS = $CONFIG_COMMANDS Chris@315: $ $0 $@ Chris@315: Chris@315: on `(hostname || uname -n) 2>/dev/null | sed 1q` Chris@315: " Chris@315: Chris@315: _ACEOF Chris@315: Chris@315: case $ac_config_files in *" Chris@315: "*) set x $ac_config_files; shift; ac_config_files=$*;; Chris@315: esac Chris@315: Chris@315: Chris@315: Chris@315: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 Chris@315: # Files that config.status was made for. Chris@315: config_files="$ac_config_files" Chris@315: Chris@315: _ACEOF Chris@315: Chris@315: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Chris@315: ac_cs_usage="\ Chris@315: \`$as_me' instantiates files and other configuration actions Chris@315: from templates according to the current configuration. Unless the files Chris@315: and actions are specified as TAGs, all are instantiated by default. Chris@315: Chris@315: Usage: $0 [OPTION]... [TAG]... Chris@315: Chris@315: -h, --help print this help, then exit Chris@315: -V, --version print version number and configuration settings, then exit Chris@315: --config print configuration, then exit Chris@315: -q, --quiet, --silent Chris@315: do not print progress messages Chris@315: -d, --debug don't remove temporary files Chris@315: --recheck update $as_me by reconfiguring in the same conditions Chris@315: --file=FILE[:TEMPLATE] Chris@315: instantiate the configuration file FILE Chris@315: Chris@315: Configuration files: Chris@315: $config_files Chris@315: Chris@315: Report bugs to ." Chris@315: Chris@315: _ACEOF Chris@315: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 Chris@315: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" Chris@315: ac_cs_version="\\ Chris@539: vamp-plugin-sdk config.status 2.10 Chris@352: configured by $0, generated by GNU Autoconf 2.69, Chris@315: with options \\"\$ac_cs_config\\" Chris@315: Chris@352: Copyright (C) 2012 Free Software Foundation, Inc. Chris@315: This config.status script is free software; the Free Software Foundation Chris@315: gives unlimited permission to copy, distribute and modify it." Chris@315: Chris@315: ac_pwd='$ac_pwd' Chris@315: srcdir='$srcdir' Chris@315: test -n "\$AWK" || AWK=awk Chris@315: _ACEOF Chris@315: Chris@315: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Chris@315: # The default lists apply if the user does not specify any file. Chris@315: ac_need_defaults=: Chris@315: while test $# != 0 Chris@315: do Chris@315: case $1 in Chris@315: --*=?*) Chris@315: ac_option=`expr "X$1" : 'X\([^=]*\)='` Chris@315: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` Chris@315: ac_shift=: Chris@315: ;; Chris@315: --*=) Chris@315: ac_option=`expr "X$1" : 'X\([^=]*\)='` Chris@315: ac_optarg= Chris@315: ac_shift=: Chris@315: ;; Chris@315: *) Chris@315: ac_option=$1 Chris@315: ac_optarg=$2 Chris@315: ac_shift=shift Chris@315: ;; Chris@315: esac Chris@315: Chris@315: case $ac_option in Chris@315: # Handling of the options. Chris@315: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) Chris@315: ac_cs_recheck=: ;; Chris@315: --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) Chris@315: $as_echo "$ac_cs_version"; exit ;; Chris@315: --config | --confi | --conf | --con | --co | --c ) Chris@315: $as_echo "$ac_cs_config"; exit ;; Chris@315: --debug | --debu | --deb | --de | --d | -d ) Chris@315: debug=: ;; Chris@315: --file | --fil | --fi | --f ) Chris@315: $ac_shift Chris@315: case $ac_optarg in Chris@315: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; Chris@315: '') as_fn_error $? "missing file argument" ;; Chris@315: esac Chris@315: as_fn_append CONFIG_FILES " '$ac_optarg'" Chris@315: ac_need_defaults=false;; Chris@315: --he | --h | --help | --hel | -h ) Chris@315: $as_echo "$ac_cs_usage"; exit ;; Chris@315: -q | -quiet | --quiet | --quie | --qui | --qu | --q \ Chris@315: | -silent | --silent | --silen | --sile | --sil | --si | --s) Chris@315: ac_cs_silent=: ;; Chris@315: Chris@315: # This is an error. Chris@315: -*) as_fn_error $? "unrecognized option: \`$1' Chris@315: Try \`$0 --help' for more information." ;; Chris@315: Chris@315: *) as_fn_append ac_config_targets " $1" Chris@315: ac_need_defaults=false ;; Chris@315: Chris@315: esac Chris@315: shift Chris@315: done Chris@315: Chris@315: ac_configure_extra_args= Chris@315: Chris@315: if $ac_cs_silent; then Chris@315: exec 6>/dev/null Chris@315: ac_configure_extra_args="$ac_configure_extra_args --silent" Chris@315: fi Chris@315: Chris@315: _ACEOF Chris@315: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 Chris@315: if \$ac_cs_recheck; then Chris@352: set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion Chris@315: shift Chris@315: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 Chris@315: CONFIG_SHELL='$SHELL' Chris@315: export CONFIG_SHELL Chris@315: exec "\$@" Chris@315: fi Chris@315: Chris@315: _ACEOF Chris@315: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Chris@315: exec 5>>config.log Chris@315: { Chris@315: echo Chris@315: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX Chris@315: ## Running $as_me. ## Chris@315: _ASBOX Chris@315: $as_echo "$ac_log" Chris@315: } >&5 Chris@315: Chris@315: _ACEOF Chris@315: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 Chris@315: _ACEOF Chris@315: Chris@315: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Chris@315: Chris@315: # Handling of arguments. Chris@315: for ac_config_target in $ac_config_targets Chris@315: do Chris@315: case $ac_config_target in Chris@315: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; Chris@315: Chris@321: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; Chris@315: esac Chris@315: done Chris@315: Chris@315: Chris@315: # If the user did not use the arguments to specify the items to instantiate, Chris@315: # then the envvar interface is used. Set only those that are not. Chris@315: # We use the long form for the default assignment because of an extremely Chris@315: # bizarre bug on SunOS 4.1.3. Chris@315: if $ac_need_defaults; then Chris@315: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files Chris@315: fi Chris@315: Chris@315: # Have a temporary directory for convenience. Make it in the build tree Chris@315: # simply because there is no reason against having it here, and in addition, Chris@315: # creating and moving files from /tmp can sometimes cause problems. Chris@315: # Hook for its removal unless debugging. Chris@315: # Note that there is a small window in which the directory will not be cleaned: Chris@315: # after its creation but before its name has been assigned to `$tmp'. Chris@315: $debug || Chris@315: { Chris@321: tmp= ac_tmp= Chris@315: trap 'exit_status=$? Chris@321: : "${ac_tmp:=$tmp}" Chris@321: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status Chris@315: ' 0 Chris@315: trap 'as_fn_exit 1' 1 2 13 15 Chris@315: } Chris@315: # Create a (secure) tmp directory for tmp files. Chris@315: Chris@315: { Chris@315: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && Chris@321: test -d "$tmp" Chris@315: } || Chris@315: { Chris@315: tmp=./conf$$-$RANDOM Chris@315: (umask 077 && mkdir "$tmp") Chris@315: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 Chris@321: ac_tmp=$tmp Chris@315: Chris@315: # Set up the scripts for CONFIG_FILES section. Chris@315: # No need to generate them if there are no CONFIG_FILES. Chris@315: # This happens for instance with `./config.status config.h'. Chris@315: if test -n "$CONFIG_FILES"; then Chris@315: Chris@315: Chris@315: ac_cr=`echo X | tr X '\015'` Chris@315: # On cygwin, bash can eat \r inside `` if the user requested igncr. Chris@315: # But we know of no other shell where ac_cr would be empty at this Chris@315: # point, so we can use a bashism as a fallback. Chris@315: if test "x$ac_cr" = x; then Chris@315: eval ac_cr=\$\'\\r\' Chris@315: fi Chris@315: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` Chris@315: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then Chris@315: ac_cs_awk_cr='\\r' Chris@315: else Chris@315: ac_cs_awk_cr=$ac_cr Chris@315: fi Chris@315: Chris@321: echo 'BEGIN {' >"$ac_tmp/subs1.awk" && Chris@315: _ACEOF Chris@315: Chris@315: Chris@315: { Chris@315: echo "cat >conf$$subs.awk <<_ACEOF" && Chris@315: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && Chris@315: echo "_ACEOF" Chris@315: } >conf$$subs.sh || Chris@315: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 Chris@315: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` Chris@315: ac_delim='%!_!# ' Chris@315: for ac_last_try in false false false false false :; do Chris@315: . ./conf$$subs.sh || Chris@315: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 Chris@315: Chris@315: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` Chris@315: if test $ac_delim_n = $ac_delim_num; then Chris@315: break Chris@315: elif $ac_last_try; then Chris@315: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 Chris@315: else Chris@315: ac_delim="$ac_delim!$ac_delim _$ac_delim!! " Chris@315: fi Chris@315: done Chris@315: rm -f conf$$subs.sh Chris@315: Chris@315: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 Chris@321: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && Chris@315: _ACEOF Chris@315: sed -n ' Chris@315: h Chris@315: s/^/S["/; s/!.*/"]=/ Chris@315: p Chris@315: g Chris@315: s/^[^!]*!// Chris@315: :repl Chris@315: t repl Chris@315: s/'"$ac_delim"'$// Chris@315: t delim Chris@315: :nl Chris@315: h Chris@315: s/\(.\{148\}\)..*/\1/ Chris@315: t more1 Chris@315: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ Chris@315: p Chris@315: n Chris@315: b repl Chris@315: :more1 Chris@315: s/["\\]/\\&/g; s/^/"/; s/$/"\\/ Chris@315: p Chris@315: g Chris@315: s/.\{148\}// Chris@315: t nl Chris@315: :delim Chris@315: h Chris@315: s/\(.\{148\}\)..*/\1/ Chris@315: t more2 Chris@315: s/["\\]/\\&/g; s/^/"/; s/$/"/ Chris@315: p Chris@315: b Chris@315: :more2 Chris@315: s/["\\]/\\&/g; s/^/"/; s/$/"\\/ Chris@315: p Chris@315: g Chris@315: s/.\{148\}// Chris@315: t delim Chris@315: ' >$CONFIG_STATUS || ac_write_fail=1 Chris@315: rm -f conf$$subs.awk Chris@315: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 Chris@315: _ACAWK Chris@321: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && Chris@315: for (key in S) S_is_set[key] = 1 Chris@315: FS = "" Chris@315: Chris@315: } Chris@315: { Chris@315: line = $ 0 Chris@315: nfields = split(line, field, "@") Chris@315: substed = 0 Chris@315: len = length(field[1]) Chris@315: for (i = 2; i < nfields; i++) { Chris@315: key = field[i] Chris@315: keylen = length(key) Chris@315: if (S_is_set[key]) { Chris@315: value = S[key] Chris@315: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) Chris@315: len += length(value) + length(field[++i]) Chris@315: substed = 1 Chris@315: } else Chris@315: len += 1 + keylen Chris@315: } Chris@315: Chris@315: print line Chris@315: } Chris@315: Chris@315: _ACAWK Chris@315: _ACEOF Chris@315: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Chris@315: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then Chris@315: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" Chris@315: else Chris@315: cat Chris@321: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ Chris@315: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 Chris@315: _ACEOF Chris@315: Chris@315: # VPATH may cause trouble with some makes, so we remove sole $(srcdir), Chris@315: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and Chris@315: # trailing colons and then remove the whole line if VPATH becomes empty Chris@315: # (actually we leave an empty line to preserve line numbers). Chris@315: if test "x$srcdir" = x.; then Chris@315: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ Chris@315: h Chris@315: s/// Chris@315: s/^/:/ Chris@315: s/[ ]*$/:/ Chris@315: s/:\$(srcdir):/:/g Chris@315: s/:\${srcdir}:/:/g Chris@315: s/:@srcdir@:/:/g Chris@315: s/^:*// Chris@315: s/:*$// Chris@315: x Chris@315: s/\(=[ ]*\).*/\1/ Chris@315: G Chris@315: s/\n// Chris@315: s/^[^=]*=[ ]*$// Chris@315: }' Chris@315: fi Chris@315: Chris@315: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 Chris@315: fi # test -n "$CONFIG_FILES" Chris@315: Chris@315: Chris@315: eval set X " :F $CONFIG_FILES " Chris@315: shift Chris@315: for ac_tag Chris@315: do Chris@315: case $ac_tag in Chris@315: :[FHLC]) ac_mode=$ac_tag; continue;; Chris@315: esac Chris@315: case $ac_mode$ac_tag in Chris@315: :[FHL]*:*);; Chris@321: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; Chris@315: :[FH]-) ac_tag=-:-;; Chris@315: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; Chris@315: esac Chris@315: ac_save_IFS=$IFS Chris@315: IFS=: Chris@315: set x $ac_tag Chris@315: IFS=$ac_save_IFS Chris@315: shift Chris@315: ac_file=$1 Chris@315: shift Chris@315: Chris@315: case $ac_mode in Chris@315: :L) ac_source=$1;; Chris@315: :[FH]) Chris@315: ac_file_inputs= Chris@315: for ac_f Chris@315: do Chris@315: case $ac_f in Chris@321: -) ac_f="$ac_tmp/stdin";; Chris@315: *) # Look for the file first in the build tree, then in the source tree Chris@315: # (if the path is not absolute). The absolute path cannot be DOS-style, Chris@315: # because $ac_f cannot contain `:'. Chris@315: test -f "$ac_f" || Chris@315: case $ac_f in Chris@315: [\\/$]*) false;; Chris@315: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; Chris@315: esac || Chris@321: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; Chris@315: esac Chris@315: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac Chris@315: as_fn_append ac_file_inputs " '$ac_f'" Chris@315: done Chris@315: Chris@315: # Let's still pretend it is `configure' which instantiates (i.e., don't Chris@315: # use $as_me), people would be surprised to read: Chris@315: # /* config.h. Generated by config.status. */ Chris@315: configure_input='Generated from '` Chris@315: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' Chris@315: `' by configure.' Chris@315: if test x"$ac_file" != x-; then Chris@315: configure_input="$ac_file. $configure_input" Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 Chris@315: $as_echo "$as_me: creating $ac_file" >&6;} Chris@315: fi Chris@315: # Neutralize special characters interpreted by sed in replacement strings. Chris@315: case $configure_input in #( Chris@315: *\&* | *\|* | *\\* ) Chris@315: ac_sed_conf_input=`$as_echo "$configure_input" | Chris@315: sed 's/[\\\\&|]/\\\\&/g'`;; #( Chris@315: *) ac_sed_conf_input=$configure_input;; Chris@315: esac Chris@315: Chris@315: case $ac_tag in Chris@321: *:-:* | *:-) cat >"$ac_tmp/stdin" \ Chris@321: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; Chris@315: esac Chris@315: ;; Chris@315: esac Chris@315: Chris@315: ac_dir=`$as_dirname -- "$ac_file" || Chris@315: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ Chris@315: X"$ac_file" : 'X\(//\)[^/]' \| \ Chris@315: X"$ac_file" : 'X\(//\)$' \| \ Chris@315: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || Chris@315: $as_echo X"$ac_file" | Chris@315: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ Chris@315: s//\1/ Chris@315: q Chris@315: } Chris@315: /^X\(\/\/\)[^/].*/{ Chris@315: s//\1/ Chris@315: q Chris@315: } Chris@315: /^X\(\/\/\)$/{ Chris@315: s//\1/ Chris@315: q Chris@315: } Chris@315: /^X\(\/\).*/{ Chris@315: s//\1/ Chris@315: q Chris@315: } Chris@315: s/.*/./; q'` Chris@315: as_dir="$ac_dir"; as_fn_mkdir_p cannam@252: ac_builddir=. cannam@252: cannam@252: case "$ac_dir" in cannam@252: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; cannam@252: *) Chris@315: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` cannam@252: # A ".." for each directory in $ac_dir_suffix. Chris@315: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` cannam@252: case $ac_top_builddir_sub in cannam@252: "") ac_top_builddir_sub=. ac_top_build_prefix= ;; cannam@252: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; cannam@252: esac ;; cannam@252: esac cannam@252: ac_abs_top_builddir=$ac_pwd cannam@252: ac_abs_builddir=$ac_pwd$ac_dir_suffix cannam@252: # for backward compatibility: cannam@252: ac_top_builddir=$ac_top_build_prefix cannam@252: cannam@252: case $srcdir in cannam@252: .) # We are building in place. cannam@252: ac_srcdir=. cannam@252: ac_top_srcdir=$ac_top_builddir_sub cannam@252: ac_abs_top_srcdir=$ac_pwd ;; cannam@252: [\\/]* | ?:[\\/]* ) # Absolute name. cannam@252: ac_srcdir=$srcdir$ac_dir_suffix; cannam@252: ac_top_srcdir=$srcdir cannam@252: ac_abs_top_srcdir=$srcdir ;; cannam@252: *) # Relative name. cannam@252: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix cannam@252: ac_top_srcdir=$ac_top_build_prefix$srcdir cannam@252: ac_abs_top_srcdir=$ac_pwd/$srcdir ;; cannam@252: esac cannam@252: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cannam@252: cannam@252: cannam@252: case $ac_mode in cannam@252: :F) cannam@252: # cannam@252: # CONFIG_FILE cannam@252: # cannam@252: cannam@252: _ACEOF cannam@252: Chris@315: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 cannam@252: # If the template does not know about datarootdir, expand it. cannam@252: # FIXME: This hack should be removed a few years after 2.60. cannam@252: ac_datarootdir_hack=; ac_datarootdir_seen= Chris@315: ac_sed_dataroot=' Chris@315: /datarootdir/ { cannam@252: p cannam@252: q cannam@252: } cannam@252: /@datadir@/p cannam@252: /@docdir@/p cannam@252: /@infodir@/p cannam@252: /@localedir@/p Chris@315: /@mandir@/p' Chris@315: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in cannam@252: *datarootdir*) ac_datarootdir_seen=yes;; cannam@252: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 Chris@315: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} cannam@252: _ACEOF Chris@315: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cannam@252: ac_datarootdir_hack=' cannam@252: s&@datadir@&$datadir&g cannam@252: s&@docdir@&$docdir&g cannam@252: s&@infodir@&$infodir&g cannam@252: s&@localedir@&$localedir&g cannam@252: s&@mandir@&$mandir&g Chris@315: s&\\\${datarootdir}&$datarootdir&g' ;; cannam@252: esac cannam@252: _ACEOF cannam@252: cannam@252: # Neutralize VPATH when `$srcdir' = `.'. cannam@252: # Shell code in configure.ac might set extrasub. cannam@252: # FIXME: do we really want to maintain this feature? Chris@315: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 Chris@315: ac_sed_extra="$ac_vpsub cannam@252: $extrasub cannam@252: _ACEOF Chris@315: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 cannam@252: :t cannam@252: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b Chris@315: s|@configure_input@|$ac_sed_conf_input|;t t cannam@252: s&@top_builddir@&$ac_top_builddir_sub&;t t Chris@315: s&@top_build_prefix@&$ac_top_build_prefix&;t t cannam@252: s&@srcdir@&$ac_srcdir&;t t cannam@252: s&@abs_srcdir@&$ac_abs_srcdir&;t t cannam@252: s&@top_srcdir@&$ac_top_srcdir&;t t cannam@252: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t cannam@252: s&@builddir@&$ac_builddir&;t t cannam@252: s&@abs_builddir@&$ac_abs_builddir&;t t cannam@252: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t cannam@252: $ac_datarootdir_hack Chris@315: " Chris@321: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ Chris@321: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 cannam@252: cannam@252: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && Chris@321: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && Chris@321: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ Chris@321: "$ac_tmp/out"`; test -z "$ac_out"; } && Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' Chris@315: which seems to be undefined. Please make sure it is defined" >&5 Chris@315: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' Chris@315: which seems to be undefined. Please make sure it is defined" >&2;} cannam@252: Chris@321: rm -f "$ac_tmp/stdin" cannam@252: case $ac_file in Chris@321: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; Chris@321: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; Chris@315: esac \ Chris@315: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 Chris@315: ;; Chris@315: Chris@315: Chris@315: cannam@252: esac cannam@252: cannam@252: done # for ac_tag cannam@252: cannam@252: Chris@315: as_fn_exit 0 cannam@252: _ACEOF cannam@252: ac_clean_files=$ac_clean_files_save cannam@252: Chris@315: test $ac_write_fail = 0 || Chris@315: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 Chris@315: cannam@252: cannam@252: # configure is writing to config.log, and then calls config.status. cannam@252: # config.status does its own redirection, appending to config.log. cannam@252: # Unfortunately, on DOS this fails, as config.log is still kept open cannam@252: # by configure, so config.status won't be able to write to it; its cannam@252: # output is simply discarded. So we exec the FD to /dev/null, cannam@252: # effectively closing config.log, so it can be properly (re)opened and cannam@252: # appended to by config.status. When coming back to configure, we cannam@252: # need to make the FD available again. cannam@252: if test "$no_create" != yes; then cannam@252: ac_cs_success=: cannam@252: ac_config_status_args= cannam@252: test "$silent" = yes && cannam@252: ac_config_status_args="$ac_config_status_args --quiet" cannam@252: exec 5>/dev/null cannam@252: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false cannam@252: exec 5>>config.log cannam@252: # Use ||, not &&, to avoid exiting from the if with $? = 1, which cannam@252: # would make configure fail if this is the last instruction. Chris@315: $ac_cs_success || as_fn_exit 1 cannam@252: fi Chris@315: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then Chris@315: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 Chris@315: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} Chris@315: fi Chris@315: Chris@315: