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