annotate src/vamp-plugin-sdk-2.5/configure @ 169:223a55898ab9 tip default

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