comparison configure @ 67:512e5ff16395

Rework to use hg subrepos
author Chris Cannam
date Tue, 21 Aug 2012 13:36:13 +0100
parents bbf68c187b74
children b9b145d3013c
comparison
equal deleted inserted replaced
66:ce119e3cbe72 67:512e5ff16395
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Sonic Annotator 0.6. 3 # Generated by GNU Autoconf 2.69 for Sonic Annotator 0.7.
4 # 4 #
5 # Report bugs to <cannam@all-day-breakfast.com>. 5 # Report bugs to <cannam@all-day-breakfast.com>.
6 # 6 #
7 # 7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
578 MAKEFLAGS= 578 MAKEFLAGS=
579 579
580 # Identity of this package. 580 # Identity of this package.
581 PACKAGE_NAME='Sonic Annotator' 581 PACKAGE_NAME='Sonic Annotator'
582 PACKAGE_TARNAME='sonic-annotator' 582 PACKAGE_TARNAME='sonic-annotator'
583 PACKAGE_VERSION='0.6' 583 PACKAGE_VERSION='0.7'
584 PACKAGE_STRING='Sonic Annotator 0.6' 584 PACKAGE_STRING='Sonic Annotator 0.7'
585 PACKAGE_BUGREPORT='cannam@all-day-breakfast.com' 585 PACKAGE_BUGREPORT='cannam@all-day-breakfast.com'
586 PACKAGE_URL='' 586 PACKAGE_URL=''
587 587
588 ac_unique_file="runner/main.cpp" 588 ac_unique_file="runner/main.cpp"
589 # Factoring default headers for most tests. 589 # Factoring default headers for most tests.
620 #endif 620 #endif
621 #ifdef HAVE_UNISTD_H 621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h> 622 # include <unistd.h>
623 #endif" 623 #endif"
624 624
625 enable_option_checking=no
625 ac_subst_vars='LTLIBOBJS 626 ac_subst_vars='LTLIBOBJS
626 LIBOBJS 627 LIBOBJS
627 CODENAME 628 subdirs
628 QMAKE_CONFIG 629 QMAKE_CONFIG
629 HAVES 630 HAVES
630 CXXFLAGS_MINIMAL 631 CXXFLAGS_MINIMAL
631 CUT 632 CUT
632 SHA1SUM 633 SHA1SUM
782 fishsound_LIBS 783 fishsound_LIBS
783 mad_CFLAGS 784 mad_CFLAGS
784 mad_LIBS 785 mad_LIBS
785 id3tag_CFLAGS 786 id3tag_CFLAGS
786 id3tag_LIBS' 787 id3tag_LIBS'
787 788 ac_subdirs_all='svcore'
788 789
789 # Initialize some variables set by options. 790 # Initialize some variables set by options.
790 ac_init_help= 791 ac_init_help=
791 ac_init_version=false 792 ac_init_version=false
792 ac_unrecognized_opts= 793 ac_unrecognized_opts=
1322 # 1323 #
1323 if test "$ac_init_help" = "long"; then 1324 if test "$ac_init_help" = "long"; then
1324 # Omit some internal or obsolete options to make the list less imposing. 1325 # Omit some internal or obsolete options to make the list less imposing.
1325 # This message is too long to be a string in the A/UX 3.1 sh. 1326 # This message is too long to be a string in the A/UX 3.1 sh.
1326 cat <<_ACEOF 1327 cat <<_ACEOF
1327 \`configure' configures Sonic Annotator 0.6 to adapt to many kinds of systems. 1328 \`configure' configures Sonic Annotator 0.7 to adapt to many kinds of systems.
1328 1329
1329 Usage: $0 [OPTION]... [VAR=VALUE]... 1330 Usage: $0 [OPTION]... [VAR=VALUE]...
1330 1331
1331 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1332 VAR=VALUE. See below for descriptions of some of the useful variables. 1333 VAR=VALUE. See below for descriptions of some of the useful variables.
1383 _ACEOF 1384 _ACEOF
1384 fi 1385 fi
1385 1386
1386 if test -n "$ac_init_help"; then 1387 if test -n "$ac_init_help"; then
1387 case $ac_init_help in 1388 case $ac_init_help in
1388 short | recursive ) echo "Configuration of Sonic Annotator 0.6:";; 1389 short | recursive ) echo "Configuration of Sonic Annotator 0.7:";;
1389 esac 1390 esac
1390 cat <<\_ACEOF 1391 cat <<\_ACEOF
1391 1392
1392 Optional Features: 1393 Optional Features:
1393 --disable-option-checking ignore unrecognized --enable/--with options 1394 --disable-option-checking ignore unrecognized --enable/--with options
1532 fi 1533 fi
1533 1534
1534 test -n "$ac_init_help" && exit $ac_status 1535 test -n "$ac_init_help" && exit $ac_status
1535 if $ac_init_version; then 1536 if $ac_init_version; then
1536 cat <<\_ACEOF 1537 cat <<\_ACEOF
1537 Sonic Annotator configure 0.6 1538 Sonic Annotator configure 0.7
1538 generated by GNU Autoconf 2.69 1539 generated by GNU Autoconf 2.69
1539 1540
1540 Copyright (C) 2012 Free Software Foundation, Inc. 1541 Copyright (C) 2012 Free Software Foundation, Inc.
1541 This configure script is free software; the Free Software Foundation 1542 This configure script is free software; the Free Software Foundation
1542 gives unlimited permission to copy, distribute and modify it. 1543 gives unlimited permission to copy, distribute and modify it.
1872 } # ac_fn_cxx_try_link 1873 } # ac_fn_cxx_try_link
1873 cat >config.log <<_ACEOF 1874 cat >config.log <<_ACEOF
1874 This file contains any messages produced by compilers while 1875 This file contains any messages produced by compilers while
1875 running configure, to aid debugging if configure makes a mistake. 1876 running configure, to aid debugging if configure makes a mistake.
1876 1877
1877 It was created by Sonic Annotator $as_me 0.6, which was 1878 It was created by Sonic Annotator $as_me 0.7, which was
1878 generated by GNU Autoconf 2.69. Invocation command line was 1879 generated by GNU Autoconf 2.69. Invocation command line was
1879 1880
1880 $ $0 $@ 1881 $ $0 $@
1881 1882
1882 _ACEOF 1883 _ACEOF
7032 7033
7033 7034
7034 7035
7035 7036
7036 7037
7037 ac_config_files="$ac_config_files config.pri" 7038 subdirs="$subdirs svcore"
7039
7040 ac_config_files="$ac_config_files config.pri version.h"
7041
7038 7042
7039 cat >confcache <<\_ACEOF 7043 cat >confcache <<\_ACEOF
7040 # This file is a shell script that caches the results of configure 7044 # This file is a shell script that caches the results of configure
7041 # tests run on this system so they can be shared between configure 7045 # tests run on this system so they can be shared between configure
7042 # scripts and configure runs, see configure's option --config-cache. 7046 # scripts and configure runs, see configure's option --config-cache.
7576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7577 # Save the log message, to keep $0 and so on meaningful, and to 7581 # Save the log message, to keep $0 and so on meaningful, and to
7578 # report actual input values of CONFIG_FILES etc. instead of their 7582 # report actual input values of CONFIG_FILES etc. instead of their
7579 # values after options handling. 7583 # values after options handling.
7580 ac_log=" 7584 ac_log="
7581 This file was extended by Sonic Annotator $as_me 0.6, which was 7585 This file was extended by Sonic Annotator $as_me 0.7, which was
7582 generated by GNU Autoconf 2.69. Invocation command line was 7586 generated by GNU Autoconf 2.69. Invocation command line was
7583 7587
7584 CONFIG_FILES = $CONFIG_FILES 7588 CONFIG_FILES = $CONFIG_FILES
7585 CONFIG_HEADERS = $CONFIG_HEADERS 7589 CONFIG_HEADERS = $CONFIG_HEADERS
7586 CONFIG_LINKS = $CONFIG_LINKS 7590 CONFIG_LINKS = $CONFIG_LINKS
7629 7633
7630 _ACEOF 7634 _ACEOF
7631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7632 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7636 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7633 ac_cs_version="\\ 7637 ac_cs_version="\\
7634 Sonic Annotator config.status 0.6 7638 Sonic Annotator config.status 0.7
7635 configured by $0, generated by GNU Autoconf 2.69, 7639 configured by $0, generated by GNU Autoconf 2.69,
7636 with options \\"\$ac_cs_config\\" 7640 with options \\"\$ac_cs_config\\"
7637 7641
7638 Copyright (C) 2012 Free Software Foundation, Inc. 7642 Copyright (C) 2012 Free Software Foundation, Inc.
7639 This config.status script is free software; the Free Software Foundation 7643 This config.status script is free software; the Free Software Foundation
7742 # Handling of arguments. 7746 # Handling of arguments.
7743 for ac_config_target in $ac_config_targets 7747 for ac_config_target in $ac_config_targets
7744 do 7748 do
7745 case $ac_config_target in 7749 case $ac_config_target in
7746 "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;; 7750 "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;;
7751 "version.h") CONFIG_FILES="$CONFIG_FILES version.h" ;;
7747 7752
7748 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7753 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7749 esac 7754 esac
7750 done 7755 done
7751 7756
8197 exec 5>>config.log 8202 exec 5>>config.log
8198 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8203 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8199 # would make configure fail if this is the last instruction. 8204 # would make configure fail if this is the last instruction.
8200 $ac_cs_success || as_fn_exit 1 8205 $ac_cs_success || as_fn_exit 1
8201 fi 8206 fi
8202 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8207
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8204 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8205 fi
8206
8207 ac_config_files="$ac_config_files version.h"
8208
8209 cat >confcache <<\_ACEOF
8210 # This file is a shell script that caches the results of configure
8211 # tests run on this system so they can be shared between configure
8212 # scripts and configure runs, see configure's option --config-cache.
8213 # It is not useful on other systems. If it contains results you don't
8214 # want to keep, you may remove or edit it.
8215 # 8208 #
8216 # config.status only pays attention to the cache file if you give it 8209 # CONFIG_SUBDIRS section.
8217 # the --recheck option to rerun configure.
8218 # 8210 #
8219 # `ac_cv_env_foo' variables (set or unset) will be overridden when 8211 if test "$no_recursion" != yes; then
8220 # loading this file, other *unset* `ac_cv_foo' will be assigned the 8212
8221 # following values. 8213 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
8222 8214 # so they do not pile up.
8223 _ACEOF 8215 ac_sub_configure_args=
8224 8216 ac_prev=
8225 # The following way of writing the cache mishandles newlines in values, 8217 eval "set x $ac_configure_args"
8226 # but we know of no workaround that is simple, portable, and efficient. 8218 shift
8227 # So, we kill variables containing newlines. 8219 for ac_arg
8228 # Ultrix sh set writes to stderr and can't be redirected directly, 8220 do
8229 # and sets the high bit in the cache file unless we assign to the vars. 8221 if test -n "$ac_prev"; then
8230 ( 8222 ac_prev=
8231 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 8223 continue
8232 eval ac_val=\$$ac_var 8224 fi
8233 case $ac_val in #( 8225 case $ac_arg in
8234 *${as_nl}*) 8226 -cache-file | --cache-file | --cache-fil | --cache-fi \
8235 case $ac_var in #( 8227 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
8236 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 8228 ac_prev=cache_file ;;
8237 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 8229 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
8230 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
8231 | --c=*)
8232 ;;
8233 --config-cache | -C)
8234 ;;
8235 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
8236 ac_prev=srcdir ;;
8237 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
8238 ;;
8239 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
8240 ac_prev=prefix ;;
8241 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
8242 ;;
8243 --disable-option-checking)
8244 ;;
8245 *)
8246 case $ac_arg in
8247 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8238 esac 8248 esac
8239 case $ac_var in #( 8249 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
8240 _ | IFS | as_nl) ;; #(
8241 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
8242 *) { eval $ac_var=; unset $ac_var;} ;;
8243 esac ;;
8244 esac 8250 esac
8245 done 8251 done
8246 8252
8247 (set) 2>&1 | 8253 # Always prepend --prefix to ensure using the same prefix
8248 case $as_nl`(ac_space=' '; set) 2>&1` in #( 8254 # in subdir configurations.
8249 *${as_nl}ac_space=\ *) 8255 ac_arg="--prefix=$prefix"
8250 # `set' does not quote correctly, so add quotes: double-quote 8256 case $ac_arg in
8251 # substitution turns \\\\ into \\, and sed turns \\ into \. 8257 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
8252 sed -n \ 8258 esac
8253 "s/'/'\\\\''/g; 8259 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
8254 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 8260
8255 ;; #( 8261 # Pass --silent
8256 *) 8262 if test "$silent" = yes; then
8257 # `set' quotes correctly as required by POSIX, so do not add quotes. 8263 ac_sub_configure_args="--silent $ac_sub_configure_args"
8258 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8259 ;;
8260 esac |
8261 sort
8262 ) |
8263 sed '
8264 /^ac_cv_env_/b end
8265 t clear
8266 :clear
8267 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8268 t end
8269 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8270 :end' >>confcache
8271 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8272 if test -w "$cache_file"; then
8273 if test "x$cache_file" != "x/dev/null"; then
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
8275 $as_echo "$as_me: updating cache $cache_file" >&6;}
8276 if test ! -f "$cache_file" || test -h "$cache_file"; then
8277 cat confcache >"$cache_file"
8278 else
8279 case $cache_file in #(
8280 */* | ?:*)
8281 mv -f confcache "$cache_file"$$ &&
8282 mv -f "$cache_file"$$ "$cache_file" ;; #(
8283 *)
8284 mv -f confcache "$cache_file" ;;
8285 esac
8286 fi
8287 fi
8288 else
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
8290 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8291 fi 8264 fi
8292 fi 8265
8293 rm -f confcache 8266 # Always prepend --disable-option-checking to silence warnings, since
8294 8267 # different subdirs can have different --enable and --with options.
8295 test "x$prefix" = xNONE && prefix=$ac_default_prefix 8268 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
8296 # Let make expand exec_prefix. 8269
8297 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 8270 ac_popdir=`pwd`
8298 8271 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
8299 # Transform confdefs.h into DEFS. 8272
8300 # Protect against shell expansion while executing Makefile rules. 8273 # Do not complain, so a configure script can configure whichever
8301 # Protect against Makefile macro expansion. 8274 # parts of a large source tree are present.
8302 # 8275 test -d "$srcdir/$ac_dir" || continue
8303 # If the first sed substitution is executed (which looks for macros that 8276
8304 # take arguments), then branch to the quote section. Otherwise, 8277 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
8305 # look for a macro that doesn't take arguments. 8278 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
8306 ac_script=' 8279 $as_echo "$ac_msg" >&6
8307 :mline 8280 as_dir="$ac_dir"; as_fn_mkdir_p
8308 /\\$/{ 8281 ac_builddir=.
8309 N
8310 s,\\\n,,
8311 b mline
8312 }
8313 t clear
8314 :clear
8315 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
8316 t quote
8317 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
8318 t quote
8319 b any
8320 :quote
8321 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
8322 s/\[/\\&/g
8323 s/\]/\\&/g
8324 s/\$/$$/g
8325 H
8326 :any
8327 ${
8328 g
8329 s/^\n//
8330 s/\n/ /g
8331 p
8332 }
8333 '
8334 DEFS=`sed -n "$ac_script" confdefs.h`
8335
8336
8337 ac_libobjs=
8338 ac_ltlibobjs=
8339 U=
8340 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8341 # 1. Remove the extension, and $U if already installed.
8342 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8343 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
8344 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8345 # will be set to the directory where LIBOBJS objects are built.
8346 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8347 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
8348 done
8349 LIBOBJS=$ac_libobjs
8350
8351 LTLIBOBJS=$ac_ltlibobjs
8352
8353
8354
8355 : "${CONFIG_STATUS=./config.status}"
8356 ac_write_fail=0
8357 ac_clean_files_save=$ac_clean_files
8358 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8360 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8361 as_write_fail=0
8362 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8363 #! $SHELL
8364 # Generated by $as_me.
8365 # Run this file to recreate the current configuration.
8366 # Compiler output produced by configure, useful for debugging
8367 # configure, is in config.log if it exists.
8368
8369 debug=false
8370 ac_cs_recheck=false
8371 ac_cs_silent=false
8372
8373 SHELL=\${CONFIG_SHELL-$SHELL}
8374 export SHELL
8375 _ASEOF
8376 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8377 ## -------------------- ##
8378 ## M4sh Initialization. ##
8379 ## -------------------- ##
8380
8381 # Be more Bourne compatible
8382 DUALCASE=1; export DUALCASE # for MKS sh
8383 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
8384 emulate sh
8385 NULLCMD=:
8386 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8387 # is contrary to our usage. Disable this feature.
8388 alias -g '${1+"$@"}'='"$@"'
8389 setopt NO_GLOB_SUBST
8390 else
8391 case `(set -o) 2>/dev/null` in #(
8392 *posix*) :
8393 set -o posix ;; #(
8394 *) :
8395 ;;
8396 esac
8397 fi
8398
8399
8400 as_nl='
8401 '
8402 export as_nl
8403 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8404 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8405 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8406 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8407 # Prefer a ksh shell builtin over an external printf program on Solaris,
8408 # but without wasting forks for bash or zsh.
8409 if test -z "$BASH_VERSION$ZSH_VERSION" \
8410 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8411 as_echo='print -r --'
8412 as_echo_n='print -rn --'
8413 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8414 as_echo='printf %s\n'
8415 as_echo_n='printf %s'
8416 else
8417 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8418 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8419 as_echo_n='/usr/ucb/echo -n'
8420 else
8421 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8422 as_echo_n_body='eval
8423 arg=$1;
8424 case $arg in #(
8425 *"$as_nl"*)
8426 expr "X$arg" : "X\\(.*\\)$as_nl";
8427 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8428 esac;
8429 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8430 '
8431 export as_echo_n_body
8432 as_echo_n='sh -c $as_echo_n_body as_echo'
8433 fi
8434 export as_echo_body
8435 as_echo='sh -c $as_echo_body as_echo'
8436 fi
8437
8438 # The user is always right.
8439 if test "${PATH_SEPARATOR+set}" != set; then
8440 PATH_SEPARATOR=:
8441 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8442 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8443 PATH_SEPARATOR=';'
8444 }
8445 fi
8446
8447
8448 # IFS
8449 # We need space, tab and new line, in precisely that order. Quoting is
8450 # there to prevent editors from complaining about space-tab.
8451 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8452 # splitting by setting IFS to empty value.)
8453 IFS=" "" $as_nl"
8454
8455 # Find who we are. Look in the path if we contain no directory separator.
8456 as_myself=
8457 case $0 in #((
8458 *[\\/]* ) as_myself=$0 ;;
8459 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8460 for as_dir in $PATH
8461 do
8462 IFS=$as_save_IFS
8463 test -z "$as_dir" && as_dir=.
8464 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8465 done
8466 IFS=$as_save_IFS
8467
8468 ;;
8469 esac
8470 # We did not find ourselves, most probably we were run as `sh COMMAND'
8471 # in which case we are not to be found in the path.
8472 if test "x$as_myself" = x; then
8473 as_myself=$0
8474 fi
8475 if test ! -f "$as_myself"; then
8476 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8477 exit 1
8478 fi
8479
8480 # Unset variables that we do not need and which cause bugs (e.g. in
8481 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8482 # suppresses any "Segmentation fault" message there. '((' could
8483 # trigger a bug in pdksh 5.2.14.
8484 for as_var in BASH_ENV ENV MAIL MAILPATH
8485 do eval test x\${$as_var+set} = xset \
8486 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
8487 done
8488 PS1='$ '
8489 PS2='> '
8490 PS4='+ '
8491
8492 # NLS nuisances.
8493 LC_ALL=C
8494 export LC_ALL
8495 LANGUAGE=C
8496 export LANGUAGE
8497
8498 # CDPATH.
8499 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
8500
8501
8502 # as_fn_error STATUS ERROR [LINENO LOG_FD]
8503 # ----------------------------------------
8504 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8505 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8506 # script with STATUS, using 1 if that was 0.
8507 as_fn_error ()
8508 {
8509 as_status=$1; test $as_status -eq 0 && as_status=1
8510 if test "$4"; then
8511 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
8512 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
8513 fi
8514 $as_echo "$as_me: error: $2" >&2
8515 as_fn_exit $as_status
8516 } # as_fn_error
8517
8518
8519 # as_fn_set_status STATUS
8520 # -----------------------
8521 # Set $? to STATUS, without forking.
8522 as_fn_set_status ()
8523 {
8524 return $1
8525 } # as_fn_set_status
8526
8527 # as_fn_exit STATUS
8528 # -----------------
8529 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8530 as_fn_exit ()
8531 {
8532 set +e
8533 as_fn_set_status $1
8534 exit $1
8535 } # as_fn_exit
8536
8537 # as_fn_unset VAR
8538 # ---------------
8539 # Portably unset VAR.
8540 as_fn_unset ()
8541 {
8542 { eval $1=; unset $1;}
8543 }
8544 as_unset=as_fn_unset
8545 # as_fn_append VAR VALUE
8546 # ----------------------
8547 # Append the text in VALUE to the end of the definition contained in VAR. Take
8548 # advantage of any shell optimizations that allow amortized linear growth over
8549 # repeated appends, instead of the typical quadratic growth present in naive
8550 # implementations.
8551 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
8552 eval 'as_fn_append ()
8553 {
8554 eval $1+=\$2
8555 }'
8556 else
8557 as_fn_append ()
8558 {
8559 eval $1=\$$1\$2
8560 }
8561 fi # as_fn_append
8562
8563 # as_fn_arith ARG...
8564 # ------------------
8565 # Perform arithmetic evaluation on the ARGs, and store the result in the
8566 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8567 # must be portable across $(()) and expr.
8568 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
8569 eval 'as_fn_arith ()
8570 {
8571 as_val=$(( $* ))
8572 }'
8573 else
8574 as_fn_arith ()
8575 {
8576 as_val=`expr "$@" || test $? -eq 1`
8577 }
8578 fi # as_fn_arith
8579
8580
8581 if expr a : '\(a\)' >/dev/null 2>&1 &&
8582 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8583 as_expr=expr
8584 else
8585 as_expr=false
8586 fi
8587
8588 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8589 as_basename=basename
8590 else
8591 as_basename=false
8592 fi
8593
8594 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8595 as_dirname=dirname
8596 else
8597 as_dirname=false
8598 fi
8599
8600 as_me=`$as_basename -- "$0" ||
8601 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8602 X"$0" : 'X\(//\)$' \| \
8603 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8604 $as_echo X/"$0" |
8605 sed '/^.*\/\([^/][^/]*\)\/*$/{
8606 s//\1/
8607 q
8608 }
8609 /^X\/\(\/\/\)$/{
8610 s//\1/
8611 q
8612 }
8613 /^X\/\(\/\).*/{
8614 s//\1/
8615 q
8616 }
8617 s/.*/./; q'`
8618
8619 # Avoid depending upon Character Ranges.
8620 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8621 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8622 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8623 as_cr_digits='0123456789'
8624 as_cr_alnum=$as_cr_Letters$as_cr_digits
8625
8626 ECHO_C= ECHO_N= ECHO_T=
8627 case `echo -n x` in #(((((
8628 -n*)
8629 case `echo 'xy\c'` in
8630 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8631 xy) ECHO_C='\c';;
8632 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8633 ECHO_T=' ';;
8634 esac;;
8635 *)
8636 ECHO_N='-n';;
8637 esac
8638
8639 rm -f conf$$ conf$$.exe conf$$.file
8640 if test -d conf$$.dir; then
8641 rm -f conf$$.dir/conf$$.file
8642 else
8643 rm -f conf$$.dir
8644 mkdir conf$$.dir 2>/dev/null
8645 fi
8646 if (echo >conf$$.file) 2>/dev/null; then
8647 if ln -s conf$$.file conf$$ 2>/dev/null; then
8648 as_ln_s='ln -s'
8649 # ... but there are two gotchas:
8650 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8651 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8652 # In both cases, we have to default to `cp -pR'.
8653 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8654 as_ln_s='cp -pR'
8655 elif ln conf$$.file conf$$ 2>/dev/null; then
8656 as_ln_s=ln
8657 else
8658 as_ln_s='cp -pR'
8659 fi
8660 else
8661 as_ln_s='cp -pR'
8662 fi
8663 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8664 rmdir conf$$.dir 2>/dev/null
8665
8666
8667 # as_fn_mkdir_p
8668 # -------------
8669 # Create "$as_dir" as a directory, including parents if necessary.
8670 as_fn_mkdir_p ()
8671 {
8672
8673 case $as_dir in #(
8674 -*) as_dir=./$as_dir;;
8675 esac
8676 test -d "$as_dir" || eval $as_mkdir_p || {
8677 as_dirs=
8678 while :; do
8679 case $as_dir in #(
8680 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8681 *) as_qdir=$as_dir;;
8682 esac
8683 as_dirs="'$as_qdir' $as_dirs"
8684 as_dir=`$as_dirname -- "$as_dir" ||
8685 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8686 X"$as_dir" : 'X\(//\)[^/]' \| \
8687 X"$as_dir" : 'X\(//\)$' \| \
8688 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8689 $as_echo X"$as_dir" |
8690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8691 s//\1/
8692 q
8693 }
8694 /^X\(\/\/\)[^/].*/{
8695 s//\1/
8696 q
8697 }
8698 /^X\(\/\/\)$/{
8699 s//\1/
8700 q
8701 }
8702 /^X\(\/\).*/{
8703 s//\1/
8704 q
8705 }
8706 s/.*/./; q'`
8707 test -d "$as_dir" && break
8708 done
8709 test -z "$as_dirs" || eval "mkdir $as_dirs"
8710 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
8711
8712
8713 } # as_fn_mkdir_p
8714 if mkdir -p . 2>/dev/null; then
8715 as_mkdir_p='mkdir -p "$as_dir"'
8716 else
8717 test -d ./-p && rmdir ./-p
8718 as_mkdir_p=false
8719 fi
8720
8721
8722 # as_fn_executable_p FILE
8723 # -----------------------
8724 # Test if FILE is an executable regular file.
8725 as_fn_executable_p ()
8726 {
8727 test -f "$1" && test -x "$1"
8728 } # as_fn_executable_p
8729 as_test_x='test -x'
8730 as_executable_p=as_fn_executable_p
8731
8732 # Sed expression to map a string onto a valid CPP name.
8733 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8734
8735 # Sed expression to map a string onto a valid variable name.
8736 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8737
8738
8739 exec 6>&1
8740 ## ----------------------------------- ##
8741 ## Main body of $CONFIG_STATUS script. ##
8742 ## ----------------------------------- ##
8743 _ASEOF
8744 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
8745
8746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8747 # Save the log message, to keep $0 and so on meaningful, and to
8748 # report actual input values of CONFIG_FILES etc. instead of their
8749 # values after options handling.
8750 ac_log="
8751 This file was extended by Sonic Annotator $as_me 0.6, which was
8752 generated by GNU Autoconf 2.69. Invocation command line was
8753
8754 CONFIG_FILES = $CONFIG_FILES
8755 CONFIG_HEADERS = $CONFIG_HEADERS
8756 CONFIG_LINKS = $CONFIG_LINKS
8757 CONFIG_COMMANDS = $CONFIG_COMMANDS
8758 $ $0 $@
8759
8760 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8761 "
8762
8763 _ACEOF
8764
8765 case $ac_config_files in *"
8766 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8767 esac
8768
8769
8770
8771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8772 # Files that config.status was made for.
8773 config_files="$ac_config_files"
8774
8775 _ACEOF
8776
8777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8778 ac_cs_usage="\
8779 \`$as_me' instantiates files and other configuration actions
8780 from templates according to the current configuration. Unless the files
8781 and actions are specified as TAGs, all are instantiated by default.
8782
8783 Usage: $0 [OPTION]... [TAG]...
8784
8785 -h, --help print this help, then exit
8786 -V, --version print version number and configuration settings, then exit
8787 --config print configuration, then exit
8788 -q, --quiet, --silent
8789 do not print progress messages
8790 -d, --debug don't remove temporary files
8791 --recheck update $as_me by reconfiguring in the same conditions
8792 --file=FILE[:TEMPLATE]
8793 instantiate the configuration file FILE
8794
8795 Configuration files:
8796 $config_files
8797
8798 Report bugs to <cannam@all-day-breakfast.com>."
8799
8800 _ACEOF
8801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8802 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8803 ac_cs_version="\\
8804 Sonic Annotator config.status 0.6
8805 configured by $0, generated by GNU Autoconf 2.69,
8806 with options \\"\$ac_cs_config\\"
8807
8808 Copyright (C) 2012 Free Software Foundation, Inc.
8809 This config.status script is free software; the Free Software Foundation
8810 gives unlimited permission to copy, distribute and modify it."
8811
8812 ac_pwd='$ac_pwd'
8813 srcdir='$srcdir'
8814 INSTALL='$INSTALL'
8815 MKDIR_P='$MKDIR_P'
8816 test -n "\$AWK" || AWK=awk
8817 _ACEOF
8818
8819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8820 # The default lists apply if the user does not specify any file.
8821 ac_need_defaults=:
8822 while test $# != 0
8823 do
8824 case $1 in
8825 --*=?*)
8826 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8827 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8828 ac_shift=:
8829 ;;
8830 --*=)
8831 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8832 ac_optarg=
8833 ac_shift=:
8834 ;;
8835 *)
8836 ac_option=$1
8837 ac_optarg=$2
8838 ac_shift=shift
8839 ;;
8840 esac
8841
8842 case $ac_option in
8843 # Handling of the options.
8844 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8845 ac_cs_recheck=: ;;
8846 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8847 $as_echo "$ac_cs_version"; exit ;;
8848 --config | --confi | --conf | --con | --co | --c )
8849 $as_echo "$ac_cs_config"; exit ;;
8850 --debug | --debu | --deb | --de | --d | -d )
8851 debug=: ;;
8852 --file | --fil | --fi | --f )
8853 $ac_shift
8854 case $ac_optarg in
8855 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8856 '') as_fn_error $? "missing file argument" ;;
8857 esac
8858 as_fn_append CONFIG_FILES " '$ac_optarg'"
8859 ac_need_defaults=false;;
8860 --he | --h | --help | --hel | -h )
8861 $as_echo "$ac_cs_usage"; exit ;;
8862 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8863 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8864 ac_cs_silent=: ;;
8865
8866 # This is an error.
8867 -*) as_fn_error $? "unrecognized option: \`$1'
8868 Try \`$0 --help' for more information." ;;
8869
8870 *) as_fn_append ac_config_targets " $1"
8871 ac_need_defaults=false ;;
8872
8873 esac
8874 shift
8875 done
8876
8877 ac_configure_extra_args=
8878
8879 if $ac_cs_silent; then
8880 exec 6>/dev/null
8881 ac_configure_extra_args="$ac_configure_extra_args --silent"
8882 fi
8883
8884 _ACEOF
8885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8886 if \$ac_cs_recheck; then
8887 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8888 shift
8889 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8890 CONFIG_SHELL='$SHELL'
8891 export CONFIG_SHELL
8892 exec "\$@"
8893 fi
8894
8895 _ACEOF
8896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8897 exec 5>>config.log
8898 {
8899 echo
8900 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8901 ## Running $as_me. ##
8902 _ASBOX
8903 $as_echo "$ac_log"
8904 } >&5
8905
8906 _ACEOF
8907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8908 _ACEOF
8909
8910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8911
8912 # Handling of arguments.
8913 for ac_config_target in $ac_config_targets
8914 do
8915 case $ac_config_target in
8916 "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;;
8917 "version.h") CONFIG_FILES="$CONFIG_FILES version.h" ;;
8918
8919 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8920 esac
8921 done
8922
8923
8924 # If the user did not use the arguments to specify the items to instantiate,
8925 # then the envvar interface is used. Set only those that are not.
8926 # We use the long form for the default assignment because of an extremely
8927 # bizarre bug on SunOS 4.1.3.
8928 if $ac_need_defaults; then
8929 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8930 fi
8931
8932 # Have a temporary directory for convenience. Make it in the build tree
8933 # simply because there is no reason against having it here, and in addition,
8934 # creating and moving files from /tmp can sometimes cause problems.
8935 # Hook for its removal unless debugging.
8936 # Note that there is a small window in which the directory will not be cleaned:
8937 # after its creation but before its name has been assigned to `$tmp'.
8938 $debug ||
8939 {
8940 tmp= ac_tmp=
8941 trap 'exit_status=$?
8942 : "${ac_tmp:=$tmp}"
8943 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8944 ' 0
8945 trap 'as_fn_exit 1' 1 2 13 15
8946 }
8947 # Create a (secure) tmp directory for tmp files.
8948
8949 {
8950 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8951 test -d "$tmp"
8952 } ||
8953 {
8954 tmp=./conf$$-$RANDOM
8955 (umask 077 && mkdir "$tmp")
8956 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
8957 ac_tmp=$tmp
8958
8959 # Set up the scripts for CONFIG_FILES section.
8960 # No need to generate them if there are no CONFIG_FILES.
8961 # This happens for instance with `./config.status config.h'.
8962 if test -n "$CONFIG_FILES"; then
8963
8964
8965 ac_cr=`echo X | tr X '\015'`
8966 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8967 # But we know of no other shell where ac_cr would be empty at this
8968 # point, so we can use a bashism as a fallback.
8969 if test "x$ac_cr" = x; then
8970 eval ac_cr=\$\'\\r\'
8971 fi
8972 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8973 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8974 ac_cs_awk_cr='\\r'
8975 else
8976 ac_cs_awk_cr=$ac_cr
8977 fi
8978
8979 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8980 _ACEOF
8981
8982
8983 {
8984 echo "cat >conf$$subs.awk <<_ACEOF" &&
8985 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8986 echo "_ACEOF"
8987 } >conf$$subs.sh ||
8988 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8989 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8990 ac_delim='%!_!# '
8991 for ac_last_try in false false false false false :; do
8992 . ./conf$$subs.sh ||
8993 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
8994
8995 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8996 if test $ac_delim_n = $ac_delim_num; then
8997 break
8998 elif $ac_last_try; then
8999 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
9000 else
9001 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9002 fi
9003 done
9004 rm -f conf$$subs.sh
9005
9006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9007 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
9008 _ACEOF
9009 sed -n '
9010 h
9011 s/^/S["/; s/!.*/"]=/
9012 p
9013 g
9014 s/^[^!]*!//
9015 :repl
9016 t repl
9017 s/'"$ac_delim"'$//
9018 t delim
9019 :nl
9020 h
9021 s/\(.\{148\}\)..*/\1/
9022 t more1
9023 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
9024 p
9025 n
9026 b repl
9027 :more1
9028 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9029 p
9030 g
9031 s/.\{148\}//
9032 t nl
9033 :delim
9034 h
9035 s/\(.\{148\}\)..*/\1/
9036 t more2
9037 s/["\\]/\\&/g; s/^/"/; s/$/"/
9038 p
9039 b
9040 :more2
9041 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
9042 p
9043 g
9044 s/.\{148\}//
9045 t delim
9046 ' <conf$$subs.awk | sed '
9047 /^[^""]/{
9048 N
9049 s/\n//
9050 }
9051 ' >>$CONFIG_STATUS || ac_write_fail=1
9052 rm -f conf$$subs.awk
9053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9054 _ACAWK
9055 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
9056 for (key in S) S_is_set[key] = 1
9057 FS = ""
9058
9059 }
9060 {
9061 line = $ 0
9062 nfields = split(line, field, "@")
9063 substed = 0
9064 len = length(field[1])
9065 for (i = 2; i < nfields; i++) {
9066 key = field[i]
9067 keylen = length(key)
9068 if (S_is_set[key]) {
9069 value = S[key]
9070 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
9071 len += length(value) + length(field[++i])
9072 substed = 1
9073 } else
9074 len += 1 + keylen
9075 }
9076
9077 print line
9078 }
9079
9080 _ACAWK
9081 _ACEOF
9082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9083 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
9084 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
9085 else
9086 cat
9087 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
9088 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
9089 _ACEOF
9090
9091 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
9092 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
9093 # trailing colons and then remove the whole line if VPATH becomes empty
9094 # (actually we leave an empty line to preserve line numbers).
9095 if test "x$srcdir" = x.; then
9096 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
9097 h
9098 s///
9099 s/^/:/
9100 s/[ ]*$/:/
9101 s/:\$(srcdir):/:/g
9102 s/:\${srcdir}:/:/g
9103 s/:@srcdir@:/:/g
9104 s/^:*//
9105 s/:*$//
9106 x
9107 s/\(=[ ]*\).*/\1/
9108 G
9109 s/\n//
9110 s/^[^=]*=[ ]*$//
9111 }'
9112 fi
9113
9114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9115 fi # test -n "$CONFIG_FILES"
9116
9117
9118 eval set X " :F $CONFIG_FILES "
9119 shift
9120 for ac_tag
9121 do
9122 case $ac_tag in
9123 :[FHLC]) ac_mode=$ac_tag; continue;;
9124 esac
9125 case $ac_mode$ac_tag in
9126 :[FHL]*:*);;
9127 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
9128 :[FH]-) ac_tag=-:-;;
9129 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9130 esac
9131 ac_save_IFS=$IFS
9132 IFS=:
9133 set x $ac_tag
9134 IFS=$ac_save_IFS
9135 shift
9136 ac_file=$1
9137 shift
9138
9139 case $ac_mode in
9140 :L) ac_source=$1;;
9141 :[FH])
9142 ac_file_inputs=
9143 for ac_f
9144 do
9145 case $ac_f in
9146 -) ac_f="$ac_tmp/stdin";;
9147 *) # Look for the file first in the build tree, then in the source tree
9148 # (if the path is not absolute). The absolute path cannot be DOS-style,
9149 # because $ac_f cannot contain `:'.
9150 test -f "$ac_f" ||
9151 case $ac_f in
9152 [\\/$]*) false;;
9153 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9154 esac ||
9155 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
9156 esac
9157 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
9158 as_fn_append ac_file_inputs " '$ac_f'"
9159 done
9160
9161 # Let's still pretend it is `configure' which instantiates (i.e., don't
9162 # use $as_me), people would be surprised to read:
9163 # /* config.h. Generated by config.status. */
9164 configure_input='Generated from '`
9165 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
9166 `' by configure.'
9167 if test x"$ac_file" != x-; then
9168 configure_input="$ac_file. $configure_input"
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
9170 $as_echo "$as_me: creating $ac_file" >&6;}
9171 fi
9172 # Neutralize special characters interpreted by sed in replacement strings.
9173 case $configure_input in #(
9174 *\&* | *\|* | *\\* )
9175 ac_sed_conf_input=`$as_echo "$configure_input" |
9176 sed 's/[\\\\&|]/\\\\&/g'`;; #(
9177 *) ac_sed_conf_input=$configure_input;;
9178 esac
9179
9180 case $ac_tag in
9181 *:-:* | *:-) cat >"$ac_tmp/stdin" \
9182 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
9183 esac
9184 ;;
9185 esac
9186
9187 ac_dir=`$as_dirname -- "$ac_file" ||
9188 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9189 X"$ac_file" : 'X\(//\)[^/]' \| \
9190 X"$ac_file" : 'X\(//\)$' \| \
9191 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9192 $as_echo X"$ac_file" |
9193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9194 s//\1/
9195 q
9196 }
9197 /^X\(\/\/\)[^/].*/{
9198 s//\1/
9199 q
9200 }
9201 /^X\(\/\/\)$/{
9202 s//\1/
9203 q
9204 }
9205 /^X\(\/\).*/{
9206 s//\1/
9207 q
9208 }
9209 s/.*/./; q'`
9210 as_dir="$ac_dir"; as_fn_mkdir_p
9211 ac_builddir=.
9212 8282
9213 case "$ac_dir" in 8283 case "$ac_dir" in
9214 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8284 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9215 *) 8285 *)
9216 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 8286 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
9241 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8311 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9242 esac 8312 esac
9243 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8313 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9244 8314
9245 8315
9246 case $ac_mode in 8316 cd "$ac_dir"
9247 :F) 8317
9248 # 8318 # Check for guested configure; otherwise get Cygnus style configure.
9249 # CONFIG_FILE 8319 if test -f "$ac_srcdir/configure.gnu"; then
9250 # 8320 ac_sub_configure=$ac_srcdir/configure.gnu
9251 8321 elif test -f "$ac_srcdir/configure"; then
9252 case $INSTALL in 8322 ac_sub_configure=$ac_srcdir/configure
9253 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8323 elif test -f "$ac_srcdir/configure.in"; then
9254 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8324 # This should be Cygnus configure.
9255 esac 8325 ac_sub_configure=$ac_aux_dir/configure
9256 ac_MKDIR_P=$MKDIR_P 8326 else
9257 case $MKDIR_P in 8327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
9258 [\\/$]* | ?:[\\/]* ) ;; 8328 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
9259 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 8329 ac_sub_configure=
9260 esac 8330 fi
9261 _ACEOF 8331
9262 8332 # The recursion is here.
9263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8333 if test -n "$ac_sub_configure"; then
9264 # If the template does not know about datarootdir, expand it. 8334 # Make the cache file name correct relative to the subdirectory.
9265 # FIXME: This hack should be removed a few years after 2.60. 8335 case $cache_file in
9266 ac_datarootdir_hack=; ac_datarootdir_seen= 8336 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
9267 ac_sed_dataroot=' 8337 *) # Relative name.
9268 /datarootdir/ { 8338 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
9269 p 8339 esac
9270 q 8340
9271 } 8341 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
9272 /@datadir@/p 8342 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
9273 /@docdir@/p 8343 # The eval makes quoting arguments work.
9274 /@infodir@/p 8344 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
9275 /@localedir@/p 8345 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
9276 /@mandir@/p' 8346 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
9277 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 8347 fi
9278 *datarootdir*) ac_datarootdir_seen=yes;; 8348
9279 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 8349 cd "$ac_popdir"
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 8350 done
9281 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9282 _ACEOF
9283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9284 ac_datarootdir_hack='
9285 s&@datadir@&$datadir&g
9286 s&@docdir@&$docdir&g
9287 s&@infodir@&$infodir&g
9288 s&@localedir@&$localedir&g
9289 s&@mandir@&$mandir&g
9290 s&\\\${datarootdir}&$datarootdir&g' ;;
9291 esac
9292 _ACEOF
9293
9294 # Neutralize VPATH when `$srcdir' = `.'.
9295 # Shell code in configure.ac might set extrasub.
9296 # FIXME: do we really want to maintain this feature?
9297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9298 ac_sed_extra="$ac_vpsub
9299 $extrasub
9300 _ACEOF
9301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
9302 :t
9303 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9304 s|@configure_input@|$ac_sed_conf_input|;t t
9305 s&@top_builddir@&$ac_top_builddir_sub&;t t
9306 s&@top_build_prefix@&$ac_top_build_prefix&;t t
9307 s&@srcdir@&$ac_srcdir&;t t
9308 s&@abs_srcdir@&$ac_abs_srcdir&;t t
9309 s&@top_srcdir@&$ac_top_srcdir&;t t
9310 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9311 s&@builddir@&$ac_builddir&;t t
9312 s&@abs_builddir@&$ac_abs_builddir&;t t
9313 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9314 s&@INSTALL@&$ac_INSTALL&;t t
9315 s&@MKDIR_P@&$ac_MKDIR_P&;t t
9316 $ac_datarootdir_hack
9317 "
9318 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
9319 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9320
9321 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9322 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
9323 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
9324 "$ac_tmp/out"`; test -z "$ac_out"; } &&
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9326 which seems to be undefined. Please make sure it is defined" >&5
9327 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9328 which seems to be undefined. Please make sure it is defined" >&2;}
9329
9330 rm -f "$ac_tmp/stdin"
9331 case $ac_file in
9332 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
9333 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
9334 esac \
9335 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
9336 ;;
9337
9338
9339
9340 esac
9341
9342 done # for ac_tag
9343
9344
9345 as_fn_exit 0
9346 _ACEOF
9347 ac_clean_files=$ac_clean_files_save
9348
9349 test $ac_write_fail = 0 ||
9350 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
9351
9352
9353 # configure is writing to config.log, and then calls config.status.
9354 # config.status does its own redirection, appending to config.log.
9355 # Unfortunately, on DOS this fails, as config.log is still kept open
9356 # by configure, so config.status won't be able to write to it; its
9357 # output is simply discarded. So we exec the FD to /dev/null,
9358 # effectively closing config.log, so it can be properly (re)opened and
9359 # appended to by config.status. When coming back to configure, we
9360 # need to make the FD available again.
9361 if test "$no_create" != yes; then
9362 ac_cs_success=:
9363 ac_config_status_args=
9364 test "$silent" = yes &&
9365 ac_config_status_args="$ac_config_status_args --quiet"
9366 exec 5>/dev/null
9367 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9368 exec 5>>config.log
9369 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9370 # would make configure fail if this is the last instruction.
9371 $ac_cs_success || as_fn_exit 1
9372 fi 8351 fi
9373 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8352 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9375 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8354 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9376 fi 8355 fi