annotate src/rubberband-1.8.1/configure @ 20:ab7c38c4c577

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