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