Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Side by Side Diff: configure

Issue 107243004: Updating Opus to release 1.1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/opus
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « config.h.in ('k') | configure.ac » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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.68. 3 # Generated by GNU Autoconf 2.68 for opus 1.1.
4 #
5 # Report bugs to <opus@xiph.org>.
4 # 6 #
5 # 7 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc. 10 # Foundation, Inc.
9 # 11 #
10 # 12 #
11 # This configure script is free software; the Free Software Foundation 13 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it. 14 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ## 15 ## -------------------- ##
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
238 fi 240 fi
239 241
240 if test x$as_have_required = xno; then : 242 if test x$as_have_required = xno; then :
241 $as_echo "$0: This script requires a shell more modern than all" 243 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system." 244 $as_echo "$0: the shells that I found on your system."
243 if test x${ZSH_VERSION+set} = xset ; then 245 if test x${ZSH_VERSION+set} = xset ; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
246 else 248 else
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 249 $as_echo "$0: Please tell bug-autoconf@gnu.org and opus@xiph.org
248 $0: including any error possibly output before this 250 $0: about your system, including any error possibly output
249 $0: message. Then install a modern shell, or manually run 251 $0: before this message. Then install a modern shell, or
250 $0: the script under such a shell if you do have one." 252 $0: manually run the script under such a shell if you do
253 $0: have one."
251 fi 254 fi
252 exit 1 255 exit 1
253 fi 256 fi
254 fi 257 fi
255 fi 258 fi
256 SHELL=${CONFIG_SHELL-/bin/sh} 259 SHELL=${CONFIG_SHELL-/bin/sh}
257 export SHELL 260 export SHELL
258 # Unset more variables known to interfere with behavior of common tools. 261 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS= 262 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS 263 unset CLICOLOR_FORCE GREP_OPTIONS
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 ac_default_prefix=/usr/local 561 ac_default_prefix=/usr/local
559 ac_clean_files= 562 ac_clean_files=
560 ac_config_libobj_dir=. 563 ac_config_libobj_dir=.
561 LIBOBJS= 564 LIBOBJS=
562 cross_compiling=no 565 cross_compiling=no
563 subdirs= 566 subdirs=
564 MFLAGS= 567 MFLAGS=
565 MAKEFLAGS= 568 MAKEFLAGS=
566 569
567 # Identity of this package. 570 # Identity of this package.
568 PACKAGE_NAME= 571 PACKAGE_NAME='opus'
569 PACKAGE_TARNAME= 572 PACKAGE_TARNAME='opus'
570 PACKAGE_VERSION= 573 PACKAGE_VERSION='1.1'
571 PACKAGE_STRING= 574 PACKAGE_STRING='opus 1.1'
572 PACKAGE_BUGREPORT= 575 PACKAGE_BUGREPORT='opus@xiph.org'
573 PACKAGE_URL= 576 PACKAGE_URL=''
574 577
575 ac_unique_file="src/opus_encoder.c" 578 ac_unique_file="src/opus_encoder.c"
576 # Factoring default headers for most tests. 579 # Factoring default headers for most tests.
577 ac_includes_default="\ 580 ac_includes_default="\
578 #include <stdio.h> 581 #include <stdio.h>
579 #ifdef HAVE_SYS_TYPES_H 582 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h> 583 # include <sys/types.h>
581 #endif 584 #endif
582 #ifdef HAVE_SYS_STAT_H 585 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h> 586 # include <sys/stat.h>
(...skipping 22 matching lines...) Expand all
606 # include <stdint.h> 609 # include <stdint.h>
607 #endif 610 #endif
608 #ifdef HAVE_UNISTD_H 611 #ifdef HAVE_UNISTD_H
609 # include <unistd.h> 612 # include <unistd.h>
610 #endif" 613 #endif"
611 614
612 ac_subst_vars='am__EXEEXT_FALSE 615 ac_subst_vars='am__EXEEXT_FALSE
613 am__EXEEXT_TRUE 616 am__EXEEXT_TRUE
614 LTLIBOBJS 617 LTLIBOBJS
615 LIBOBJS 618 LIBOBJS
616 PC_LIBM
617 PC_BUILD 619 PC_BUILD
618 CUSTOM_MODES_FALSE 620 EXTRA_PROGRAMS_FALSE
619 CUSTOM_MODES_TRUE 621 EXTRA_PROGRAMS_TRUE
620 FIXED_POINT_FALSE
621 FIXED_POINT_TRUE
622 SIZE32
623 SIZE16
624 SYMBOL_VISIBILITY
625 HAVE_DOXYGEN_FALSE 622 HAVE_DOXYGEN_FALSE
626 HAVE_DOXYGEN_TRUE 623 HAVE_DOXYGEN_TRUE
627 HAVE_DOXYGEN 624 HAVE_DOXYGEN
625 OPUS_HAVE_RTCD
626 CPU_ARM_FALSE
627 CPU_ARM_TRUE
628 OPUS_ARM_MAY_HAVE_NEON
629 OPUS_ARM_MAY_HAVE_MEDIA
630 OPUS_ARM_MAY_HAVE_EDSP
631 OPUS_ARM_EXTERNAL_ASM_FALSE
632 OPUS_ARM_EXTERNAL_ASM_TRUE
633 HAVE_PERL
634 OPUS_ARM_INLINE_ASM_FALSE
635 OPUS_ARM_INLINE_ASM_TRUE
636 CUSTOM_MODES_FALSE
637 CUSTOM_MODES_TRUE
638 DISABLE_FLOAT_API_FALSE
639 DISABLE_FLOAT_API_TRUE
640 FIXED_POINT_FALSE
641 FIXED_POINT_TRUE
628 LIBM 642 LIBM
643 am__fastdepCCAS_FALSE
644 am__fastdepCCAS_TRUE
645 CCASDEPMODE
646 CCASFLAGS
647 CCAS
629 CPP 648 CPP
630 OTOOL64 649 OTOOL64
631 OTOOL 650 OTOOL
632 LIPO 651 LIPO
633 NMEDIT 652 NMEDIT
634 DSYMUTIL 653 DSYMUTIL
635 MANIFEST_TOOL 654 MANIFEST_TOOL
636 RANLIB 655 RANLIB
637 ac_ct_AR 656 ac_ct_AR
638 AR 657 AR
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 VERSION 714 VERSION
696 PACKAGE 715 PACKAGE
697 CYGPATH_W 716 CYGPATH_W
698 am__isrc 717 am__isrc
699 INSTALL_DATA 718 INSTALL_DATA
700 INSTALL_SCRIPT 719 INSTALL_SCRIPT
701 INSTALL_PROGRAM 720 INSTALL_PROGRAM
702 OPUS_LT_AGE 721 OPUS_LT_AGE
703 OPUS_LT_REVISION 722 OPUS_LT_REVISION
704 OPUS_LT_CURRENT 723 OPUS_LT_CURRENT
705 OPUS_VERSION
706 AM_BACKSLASH 724 AM_BACKSLASH
707 AM_DEFAULT_VERBOSITY 725 AM_DEFAULT_VERBOSITY
708 AM_DEFAULT_V 726 AM_DEFAULT_V
709 AM_V 727 AM_V
710 target_alias 728 target_alias
711 host_alias 729 host_alias
712 build_alias 730 build_alias
713 LIBS 731 LIBS
714 ECHO_T 732 ECHO_T
715 ECHO_N 733 ECHO_N
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 enable_shared 771 enable_shared
754 enable_static 772 enable_static
755 with_pic 773 with_pic
756 enable_fast_install 774 enable_fast_install
757 enable_dependency_tracking 775 enable_dependency_tracking
758 with_gnu_ld 776 with_gnu_ld
759 with_sysroot 777 with_sysroot
760 enable_libtool_lock 778 enable_libtool_lock
761 enable_fixed_point 779 enable_fixed_point
762 enable_fixed_point_debug 780 enable_fixed_point_debug
781 enable_float_api
763 enable_custom_modes 782 enable_custom_modes
764 enable_float_approx 783 enable_float_approx
784 enable_asm
785 enable_rtcd
765 enable_assertions 786 enable_assertions
766 enable_fuzzing 787 enable_fuzzing
767 enable_doc 788 enable_doc
789 enable_extra_programs
768 ' 790 '
769 ac_precious_vars='build_alias 791 ac_precious_vars='build_alias
770 host_alias 792 host_alias
771 target_alias 793 target_alias
772 CC 794 CC
773 CFLAGS 795 CFLAGS
774 LDFLAGS 796 LDFLAGS
775 LIBS 797 LIBS
776 CPPFLAGS 798 CPPFLAGS
777 CPP' 799 CPP
800 CCAS
801 CCASFLAGS'
778 802
779 803
780 # Initialize some variables set by options. 804 # Initialize some variables set by options.
781 ac_init_help= 805 ac_init_help=
782 ac_init_version=false 806 ac_init_version=false
783 ac_unrecognized_opts= 807 ac_unrecognized_opts=
784 ac_unrecognized_sep= 808 ac_unrecognized_sep=
785 # The variables have the same names as the options, with 809 # The variables have the same names as the options, with
786 # dashes changed to underlines. 810 # dashes changed to underlines.
787 cache_file=/dev/null 811 cache_file=/dev/null
(...skipping 20 matching lines...) Expand all
808 bindir='${exec_prefix}/bin' 832 bindir='${exec_prefix}/bin'
809 sbindir='${exec_prefix}/sbin' 833 sbindir='${exec_prefix}/sbin'
810 libexecdir='${exec_prefix}/libexec' 834 libexecdir='${exec_prefix}/libexec'
811 datarootdir='${prefix}/share' 835 datarootdir='${prefix}/share'
812 datadir='${datarootdir}' 836 datadir='${datarootdir}'
813 sysconfdir='${prefix}/etc' 837 sysconfdir='${prefix}/etc'
814 sharedstatedir='${prefix}/com' 838 sharedstatedir='${prefix}/com'
815 localstatedir='${prefix}/var' 839 localstatedir='${prefix}/var'
816 includedir='${prefix}/include' 840 includedir='${prefix}/include'
817 oldincludedir='/usr/include' 841 oldincludedir='/usr/include'
818 docdir='${datarootdir}/doc/${PACKAGE}' 842 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir='${datarootdir}/info' 843 infodir='${datarootdir}/info'
820 htmldir='${docdir}' 844 htmldir='${docdir}'
821 dvidir='${docdir}' 845 dvidir='${docdir}'
822 pdfdir='${docdir}' 846 pdfdir='${docdir}'
823 psdir='${docdir}' 847 psdir='${docdir}'
824 libdir='${exec_prefix}/lib' 848 libdir='${exec_prefix}/lib'
825 localedir='${datarootdir}/locale' 849 localedir='${datarootdir}/locale'
826 mandir='${datarootdir}/man' 850 mandir='${datarootdir}/man'
827 851
828 ac_prev= 852 ac_prev=
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
1310 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1334 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1311 done 1335 done
1312 1336
1313 # 1337 #
1314 # Report the --help message. 1338 # Report the --help message.
1315 # 1339 #
1316 if test "$ac_init_help" = "long"; then 1340 if test "$ac_init_help" = "long"; then
1317 # Omit some internal or obsolete options to make the list less imposing. 1341 # Omit some internal or obsolete options to make the list less imposing.
1318 # This message is too long to be a string in the A/UX 3.1 sh. 1342 # This message is too long to be a string in the A/UX 3.1 sh.
1319 cat <<_ACEOF 1343 cat <<_ACEOF
1320 \`configure' configures this package to adapt to many kinds of systems. 1344 \`configure' configures opus 1.1 to adapt to many kinds of systems.
1321 1345
1322 Usage: $0 [OPTION]... [VAR=VALUE]... 1346 Usage: $0 [OPTION]... [VAR=VALUE]...
1323 1347
1324 To assign environment variables (e.g., CC, CFLAGS...), specify them as 1348 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1325 VAR=VALUE. See below for descriptions of some of the useful variables. 1349 VAR=VALUE. See below for descriptions of some of the useful variables.
1326 1350
1327 Defaults for the options are specified in brackets. 1351 Defaults for the options are specified in brackets.
1328 1352
1329 Configuration: 1353 Configuration:
1330 -h, --help display this help and exit 1354 -h, --help display this help and exit
(...skipping 27 matching lines...) Expand all
1358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1359 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1360 --libdir=DIR object code libraries [EPREFIX/lib] 1384 --libdir=DIR object code libraries [EPREFIX/lib]
1361 --includedir=DIR C header files [PREFIX/include] 1385 --includedir=DIR C header files [PREFIX/include]
1362 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1386 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1363 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1387 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1364 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1388 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1365 --infodir=DIR info documentation [DATAROOTDIR/info] 1389 --infodir=DIR info documentation [DATAROOTDIR/info]
1366 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1390 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1367 --mandir=DIR man documentation [DATAROOTDIR/man] 1391 --mandir=DIR man documentation [DATAROOTDIR/man]
1368 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1392 --docdir=DIR documentation root [DATAROOTDIR/doc/opus]
1369 --htmldir=DIR html documentation [DOCDIR] 1393 --htmldir=DIR html documentation [DOCDIR]
1370 --dvidir=DIR dvi documentation [DOCDIR] 1394 --dvidir=DIR dvi documentation [DOCDIR]
1371 --pdfdir=DIR pdf documentation [DOCDIR] 1395 --pdfdir=DIR pdf documentation [DOCDIR]
1372 --psdir=DIR ps documentation [DOCDIR] 1396 --psdir=DIR ps documentation [DOCDIR]
1373 _ACEOF 1397 _ACEOF
1374 1398
1375 cat <<\_ACEOF 1399 cat <<\_ACEOF
1376 1400
1377 Program names: 1401 Program names:
1378 --program-prefix=PREFIX prepend PREFIX to installed program names 1402 --program-prefix=PREFIX prepend PREFIX to installed program names
1379 --program-suffix=SUFFIX append SUFFIX to installed program names 1403 --program-suffix=SUFFIX append SUFFIX to installed program names
1380 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1404 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1381 1405
1382 System types: 1406 System types:
1383 --build=BUILD configure for building on BUILD [guessed] 1407 --build=BUILD configure for building on BUILD [guessed]
1384 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1408 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1385 _ACEOF 1409 _ACEOF
1386 fi 1410 fi
1387 1411
1388 if test -n "$ac_init_help"; then 1412 if test -n "$ac_init_help"; then
1389 1413 case $ac_init_help in
1414 short | recursive ) echo "Configuration of opus 1.1:";;
1415 esac
1390 cat <<\_ACEOF 1416 cat <<\_ACEOF
1391 1417
1392 Optional Features: 1418 Optional Features:
1393 --disable-option-checking ignore unrecognized --enable/--with options 1419 --disable-option-checking ignore unrecognized --enable/--with options
1394 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1420 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1395 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1421 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1396 --enable-silent-rules less verbose build output (undo: `make V=1') 1422 --enable-silent-rules less verbose build output (undo: `make V=1')
1397 --disable-silent-rules verbose build output (undo: `make V=0') 1423 --disable-silent-rules verbose build output (undo: `make V=0')
1398 --disable-maintainer-mode disable make rules and dependencies not useful 1424 --disable-maintainer-mode disable make rules and dependencies not useful
1399 (and sometimes confusing) to the casual installer 1425 (and sometimes confusing) to the casual installer
1400 --enable-shared[=PKGS] build shared libraries [default=yes] 1426 --enable-shared[=PKGS] build shared libraries [default=yes]
1401 --enable-static[=PKGS] build static libraries [default=yes] 1427 --enable-static[=PKGS] build static libraries [default=yes]
1402 --enable-fast-install[=PKGS] 1428 --enable-fast-install[=PKGS]
1403 optimize for fast installation [default=yes] 1429 optimize for fast installation [default=yes]
1404 --disable-dependency-tracking speeds up one-time build 1430 --disable-dependency-tracking speeds up one-time build
1405 --enable-dependency-tracking do not reject slow dependency extractors 1431 --enable-dependency-tracking do not reject slow dependency extractors
1406 --disable-libtool-lock avoid locking (might break parallel builds) 1432 --disable-libtool-lock avoid locking (might break parallel builds)
1407 --enable-fixed-point compile without floating point (for machines withou t a fast enough FPU) 1433 --enable-fixed-point compile without floating point (for machines without
1408 --enable-fixed-point-debug debug fixed-point implementation 1434 a fast enough FPU)
1409 --enable-custom-modes enable non-Opus modes, e.g. 44.1 kHz & 2^n frames 1435 --enable-fixed-point-debug
1410 --enable-float-approx enable fast approximations for floating point 1436 debug fixed-point implementation
1411 --enable-assertions enable additional software error checking 1437 --disable-float-api compile without the floating point API (for machines
1412 --enable-fuzzing causes the encoder to make random decisions 1438 with no float library)
1439 --enable-custom-modes enable non-Opus modes, e.g. 44.1 kHz & 2^n frames
1440 --enable-float-approx enable fast approximations for floating point
1441 --disable-asm Disable assembly optimizations
1442 --disable-rtcd Disable run-time CPU capabilities detection
1443 --enable-assertions enable additional software error checking
1444 --enable-fuzzing causes the encoder to make random decisions
1413 --disable-doc Do not build API documentation 1445 --disable-doc Do not build API documentation
1446 --disable-extra-programs
1447 Do not build extra programs (demo and tests)
1414 1448
1415 Optional Packages: 1449 Optional Packages:
1416 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1450 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1417 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1451 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1418 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1452 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1419 both] 1453 both]
1420 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1454 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1421 --with-sysroot=DIR Search for dependent libraries within DIR 1455 --with-sysroot=DIR Search for dependent libraries within DIR
1422 (or the compiler's sysroot if not specified). 1456 (or the compiler's sysroot if not specified).
1423 1457
1424 Some influential environment variables: 1458 Some influential environment variables:
1425 CC C compiler command 1459 CC C compiler command
1426 CFLAGS C compiler flags 1460 CFLAGS C compiler flags
1427 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1461 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1428 nonstandard directory <lib dir> 1462 nonstandard directory <lib dir>
1429 LIBS libraries to pass to the linker, e.g. -l<library> 1463 LIBS libraries to pass to the linker, e.g. -l<library>
1430 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1464 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1431 you have headers in a nonstandard directory <include dir> 1465 you have headers in a nonstandard directory <include dir>
1432 CPP C preprocessor 1466 CPP C preprocessor
1467 CCAS assembler compiler command (defaults to CC)
1468 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1433 1469
1434 Use these variables to override the choices made by `configure' or to help 1470 Use these variables to override the choices made by `configure' or to help
1435 it to find libraries and programs with nonstandard names/locations. 1471 it to find libraries and programs with nonstandard names/locations.
1436 1472
1437 Report bugs to the package provider. 1473 Report bugs to <opus@xiph.org>.
1438 _ACEOF 1474 _ACEOF
1439 ac_status=$? 1475 ac_status=$?
1440 fi 1476 fi
1441 1477
1442 if test "$ac_init_help" = "recursive"; then 1478 if test "$ac_init_help" = "recursive"; then
1443 # If there are subdirs, report their specific --help. 1479 # If there are subdirs, report their specific --help.
1444 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1480 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1445 test -d "$ac_dir" || 1481 test -d "$ac_dir" ||
1446 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1482 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1447 continue 1483 continue
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1490 else 1526 else
1491 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1527 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1492 fi || ac_status=$? 1528 fi || ac_status=$?
1493 cd "$ac_pwd" || { ac_status=$?; break; } 1529 cd "$ac_pwd" || { ac_status=$?; break; }
1494 done 1530 done
1495 fi 1531 fi
1496 1532
1497 test -n "$ac_init_help" && exit $ac_status 1533 test -n "$ac_init_help" && exit $ac_status
1498 if $ac_init_version; then 1534 if $ac_init_version; then
1499 cat <<\_ACEOF 1535 cat <<\_ACEOF
1500 configure 1536 opus configure 1.1
1501 generated by GNU Autoconf 2.68 1537 generated by GNU Autoconf 2.68
1502 1538
1503 Copyright (C) 2010 Free Software Foundation, Inc. 1539 Copyright (C) 2010 Free Software Foundation, Inc.
1504 This configure script is free software; the Free Software Foundation 1540 This configure script is free software; the Free Software Foundation
1505 gives unlimited permission to copy, distribute and modify it. 1541 gives unlimited permission to copy, distribute and modify it.
1506 _ACEOF 1542 _ACEOF
1507 exit 1543 exit
1508 fi 1544 fi
1509 1545
1510 ## ------------------------ ## 1546 ## ------------------------ ##
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1836 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1872 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1838 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2; } 1874 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2; }
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf docum entation" >&5 1875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf docum entation" >&5
1840 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1876 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1842 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" > &2;} 1878 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" > &2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co mpiler's result" >&5 1879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the co mpiler's result" >&5
1844 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1880 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1881 ( $as_echo "## ---------------------------- ##
1882 ## Report this to opus@xiph.org ##
1883 ## ---------------------------- ##"
1884 ) | sed "s/^/$as_me: WARNING: /" >&2
1845 ;; 1885 ;;
1846 esac 1886 esac
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848 $as_echo_n "checking for $2... " >&6; } 1888 $as_echo_n "checking for $2... " >&6; }
1849 if eval \${$3+:} false; then : 1889 if eval \${$3+:} false; then :
1850 $as_echo_n "(cached) " >&6 1890 $as_echo_n "(cached) " >&6
1851 else 1891 else
1852 eval "$3=\$ac_header_compiler" 1892 eval "$3=\$ac_header_compiler"
1853 fi 1893 fi
1854 eval ac_res=\$$3 1894 eval ac_res=\$$3
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856 $as_echo "$ac_res" >&6; } 1896 $as_echo "$ac_res" >&6; }
1857 fi 1897 fi
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 1899
1860 } # ac_fn_c_check_header_mongrel 1900 } # ac_fn_c_check_header_mongrel
1861
1862 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1863 # --------------------------------------------
1864 # Tries to find the compile-time value of EXPR in a program that includes
1865 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1866 # computed
1867 ac_fn_c_compute_int ()
1868 {
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 if test "$cross_compiling" = yes; then
1871 # Depending upon the size, compute the lo and hi bounds.
1872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h. */
1874 $4
1875 int
1876 main ()
1877 {
1878 static int test_array [1 - 2 * !(($2) >= 0)];
1879 test_array [0] = 0
1880
1881 ;
1882 return 0;
1883 }
1884 _ACEOF
1885 if ac_fn_c_try_compile "$LINENO"; then :
1886 ac_lo=0 ac_mid=0
1887 while :; do
1888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 /* end confdefs.h. */
1890 $4
1891 int
1892 main ()
1893 {
1894 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1895 test_array [0] = 0
1896
1897 ;
1898 return 0;
1899 }
1900 _ACEOF
1901 if ac_fn_c_try_compile "$LINENO"; then :
1902 ac_hi=$ac_mid; break
1903 else
1904 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1905 if test $ac_lo -le $ac_mid; then
1906 ac_lo= ac_hi=
1907 break
1908 fi
1909 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1910 fi
1911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1912 done
1913 else
1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915 /* end confdefs.h. */
1916 $4
1917 int
1918 main ()
1919 {
1920 static int test_array [1 - 2 * !(($2) < 0)];
1921 test_array [0] = 0
1922
1923 ;
1924 return 0;
1925 }
1926 _ACEOF
1927 if ac_fn_c_try_compile "$LINENO"; then :
1928 ac_hi=-1 ac_mid=-1
1929 while :; do
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1932 $4
1933 int
1934 main ()
1935 {
1936 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1937 test_array [0] = 0
1938
1939 ;
1940 return 0;
1941 }
1942 _ACEOF
1943 if ac_fn_c_try_compile "$LINENO"; then :
1944 ac_lo=$ac_mid; break
1945 else
1946 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1947 if test $ac_mid -le $ac_hi; then
1948 ac_lo= ac_hi=
1949 break
1950 fi
1951 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1952 fi
1953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1954 done
1955 else
1956 ac_lo= ac_hi=
1957 fi
1958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1959 fi
1960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1961 # Binary search between lo and hi bounds.
1962 while test "x$ac_lo" != "x$ac_hi"; do
1963 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1966 $4
1967 int
1968 main ()
1969 {
1970 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1971 test_array [0] = 0
1972
1973 ;
1974 return 0;
1975 }
1976 _ACEOF
1977 if ac_fn_c_try_compile "$LINENO"; then :
1978 ac_hi=$ac_mid
1979 else
1980 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1981 fi
1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1983 done
1984 case $ac_lo in #((
1985 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1986 '') ac_retval=1 ;;
1987 esac
1988 else
1989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1990 /* end confdefs.h. */
1991 $4
1992 static long int longval () { return $2; }
1993 static unsigned long int ulongval () { return $2; }
1994 #include <stdio.h>
1995 #include <stdlib.h>
1996 int
1997 main ()
1998 {
1999
2000 FILE *f = fopen ("conftest.val", "w");
2001 if (! f)
2002 return 1;
2003 if (($2) < 0)
2004 {
2005 long int i = longval ();
2006 if (i != ($2))
2007 return 1;
2008 fprintf (f, "%ld", i);
2009 }
2010 else
2011 {
2012 unsigned long int i = ulongval ();
2013 if (i != ($2))
2014 return 1;
2015 fprintf (f, "%lu", i);
2016 }
2017 /* Do not output a trailing newline, as this causes \r\n confusion
2018 on some platforms. */
2019 return ferror (f) || fclose (f) != 0;
2020
2021 ;
2022 return 0;
2023 }
2024 _ACEOF
2025 if ac_fn_c_try_run "$LINENO"; then :
2026 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2027 else
2028 ac_retval=1
2029 fi
2030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2031 conftest.$ac_objext conftest.beam conftest.$ac_ext
2032 rm -f conftest.val
2033
2034 fi
2035 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2036 as_fn_set_status $ac_retval
2037
2038 } # ac_fn_c_compute_int
2039 cat >config.log <<_ACEOF 1901 cat >config.log <<_ACEOF
2040 This file contains any messages produced by compilers while 1902 This file contains any messages produced by compilers while
2041 running configure, to aid debugging if configure makes a mistake. 1903 running configure, to aid debugging if configure makes a mistake.
2042 1904
2043 It was created by $as_me, which was 1905 It was created by opus $as_me 1.1, which was
2044 generated by GNU Autoconf 2.68. Invocation command line was 1906 generated by GNU Autoconf 2.68. Invocation command line was
2045 1907
2046 $ $0 $@ 1908 $ $0 $@
2047 1909
2048 _ACEOF 1910 _ACEOF
2049 exec 5>>config.log 1911 exec 5>>config.log
2050 { 1912 {
2051 cat <<_ASUNAME 1913 cat <<_ASUNAME
2052 ## --------- ## 1914 ## --------- ##
2053 ## Platform. ## 1915 ## Platform. ##
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
2382 ## -------------------- ## 2244 ## -------------------- ##
2383 2245
2384 ac_ext=c 2246 ac_ext=c
2385 ac_cpp='$CPP $CPPFLAGS' 2247 ac_cpp='$CPP $CPPFLAGS'
2386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5' 2249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ LIBS >&5'
2388 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2389 2251
2390 2252
2391 2253
2392 ac_config_headers="$ac_config_headers config.h" 2254
2393 2255
2394 2256
2395 # Check whether --enable-silent-rules was given. 2257 # Check whether --enable-silent-rules was given.
2396 if test "${enable_silent_rules+set}" = set; then : 2258 if test "${enable_silent_rules+set}" = set; then :
2397 enableval=$enable_silent_rules; 2259 enableval=$enable_silent_rules;
2398 fi 2260 fi
2399 2261
2400 case $enable_silent_rules in 2262 case $enable_silent_rules in
2401 yes) AM_DEFAULT_VERBOSITY=0;; 2263 yes) AM_DEFAULT_VERBOSITY=0;;
2402 no) AM_DEFAULT_VERBOSITY=1;; 2264 no) AM_DEFAULT_VERBOSITY=1;;
(...skipping 22 matching lines...) Expand all
2425 if test $am_cv_make_support_nested_variables = yes; then 2287 if test $am_cv_make_support_nested_variables = yes; then
2426 AM_V='$(V)' 2288 AM_V='$(V)'
2427 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2289 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2428 else 2290 else
2429 AM_V=$AM_DEFAULT_VERBOSITY 2291 AM_V=$AM_DEFAULT_VERBOSITY
2430 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2292 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2431 fi 2293 fi
2432 AM_BACKSLASH='\' 2294 AM_BACKSLASH='\'
2433 2295
2434 2296
2435 # Read our default version string from version.mk.
2436 # Please update this file for releases.
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version.mk" >&5
2438 $as_echo_n "checking version.mk... " >&6; }
2439 MK_VERSION=$(awk 'BEGIN { FS = "=" }
2440 /OPUS_VERSION/ { ver = $2}
2441 END {
2442 gsub(/"/, "", ver);
2443 gsub(/^ /, "", ver);
2444 gsub(/ $/, "", ver);
2445 print ver;
2446 }' $srcdir/version.mk)
2447 if test -z "$MK_VERSION"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2449 $as_echo "no" >&6; }
2450 else
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MK_VERSION" >&5
2452 $as_echo "$MK_VERSION" >&6; }
2453 OPUS_VERSION="$MK_VERSION"
2454 fi
2455
2456 # Override with the git version, if available.
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking git revision" >&5
2458 $as_echo_n "checking git revision... " >&6; }
2459 GIT_VERSION=$(git describe --tags --match 'v*' 2>/dev/null | sed 's/^v//')
2460 if test -z "$GIT_VERSION"; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2462 $as_echo "no" >&6; }
2463 else
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT_VERSION" >&5
2465 $as_echo "$GIT_VERSION" >&6; }
2466 OPUS_VERSION="$GIT_VERSION"
2467 fi
2468
2469 # Use 'unknown' if all else fails.
2470 if test -z "$OPUS_VERSION"; then
2471 OPUS_VERSION="unknown"
2472 fi
2473
2474 # For automake.
2475 PACKAGE=opus
2476 VERSION=$OPUS_VERSION
2477
2478 # For autoconf
2479
2480
2481 # For config.h.
2482
2483 cat >>confdefs.h <<_ACEOF
2484 #define OPUS_VERSION "$OPUS_VERSION"
2485 _ACEOF
2486
2487
2488 # For libtool. 2297 # For libtool.
2489 OPUS_LT_CURRENT=3 2298 OPUS_LT_CURRENT=5
2490 OPUS_LT_REVISION=0 2299 OPUS_LT_REVISION=0
2491 OPUS_LT_AGE=3 2300 OPUS_LT_AGE=5
2492 2301
2493 2302
2494 2303
2495 2304
2496 2305
2497 am__api_version='1.11' 2306 am__api_version='1.11'
2498 2307
2499 ac_aux_dir= 2308 ac_aux_dir=
2500 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2309 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2501 if test -f "$ac_dir/install-sh"; then 2310 if test -f "$ac_dir/install-sh"; then
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
2953 if test -z "$CYGPATH_W"; then 2762 if test -z "$CYGPATH_W"; then
2954 if (cygpath --version) >/dev/null 2>/dev/null; then 2763 if (cygpath --version) >/dev/null 2>/dev/null; then
2955 CYGPATH_W='cygpath -w' 2764 CYGPATH_W='cygpath -w'
2956 else 2765 else
2957 CYGPATH_W=echo 2766 CYGPATH_W=echo
2958 fi 2767 fi
2959 fi 2768 fi
2960 2769
2961 2770
2962 # Define the identity of the package. 2771 # Define the identity of the package.
2963 PACKAGE=$PACKAGE 2772 PACKAGE='opus'
2964 VERSION=$VERSION 2773 VERSION='1.1'
2965 2774
2966 2775
2967 # Some tools Automake needs. 2776 # Some tools Automake needs.
2968 2777
2969 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2778 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2970 2779
2971 2780
2972 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2781 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2973 2782
2974 2783
(...skipping 5060 matching lines...) Expand 10 before | Expand all | Expand 10 after
8035 _lt_compiler_boilerplate=`cat conftest.err` 7844 _lt_compiler_boilerplate=`cat conftest.err`
8036 $RM conftest* 7845 $RM conftest*
8037 7846
8038 ac_outfile=conftest.$ac_objext 7847 ac_outfile=conftest.$ac_objext
8039 echo "$lt_simple_link_test_code" >conftest.$ac_ext 7848 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8040 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 7849 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8041 _lt_linker_boilerplate=`cat conftest.err` 7850 _lt_linker_boilerplate=`cat conftest.err`
8042 $RM -r conftest* 7851 $RM -r conftest*
8043 7852
8044 7853
7854 ## CAVEAT EMPTOR:
7855 ## There is no encapsulation within the following macros, do not change
7856 ## the running order or otherwise move them around unless you know exactly
7857 ## what you are doing...
8045 if test -n "$compiler"; then 7858 if test -n "$compiler"; then
8046 7859
8047 lt_prog_compiler_no_builtin_flag= 7860 lt_prog_compiler_no_builtin_flag=
8048 7861
8049 if test "$GCC" = yes; then 7862 if test "$GCC" = yes; then
8050 case $cc_basename in 7863 case $cc_basename in
8051 nvcc*) 7864 nvcc*)
8052 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 7865 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8053 *) 7866 *)
8054 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 7867 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
(...skipping 3950 matching lines...) Expand 10 before | Expand all | Expand 10 after
12005 esac 11818 esac
12006 cat >>confdefs.h <<_ACEOF 11819 cat >>confdefs.h <<_ACEOF
12007 #ifndef __cplusplus 11820 #ifndef __cplusplus
12008 #define inline $ac_val 11821 #define inline $ac_val
12009 #endif 11822 #endif
12010 _ACEOF 11823 _ACEOF
12011 ;; 11824 ;;
12012 esac 11825 esac
12013 11826
12014 11827
11828 # By default we simply use the C compiler to build assembly code.
11829
11830 test "${CCAS+set}" = set || CCAS=$CC
11831 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
11832
11833
11834
11835 depcc="$CCAS" am_compiler_list=
11836
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >& 5
11838 $as_echo_n "checking dependency style of $depcc... " >&6; }
11839 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11843 # We make a subdir and do the tests there. Otherwise we can end up
11844 # making bogus files that we don't know about and never remove. For
11845 # instance it was reported that on HP-UX the gcc test will end up
11846 # making a dummy file named `D' -- because `-MD' means `put the output
11847 # in D'.
11848 rm -rf conftest.dir
11849 mkdir conftest.dir
11850 # Copy depcomp to subdir because otherwise we won't find it if we're
11851 # using a relative directory.
11852 cp "$am_depcomp" conftest.dir
11853 cd conftest.dir
11854 # We will build objects and dependencies in a subdirectory because
11855 # it helps to detect inapplicable dependency modes. For instance
11856 # both Tru64's cc and ICC support -MD to output dependencies as a
11857 # side effect of compilation, but ICC will put the dependencies in
11858 # the current directory while Tru64 will put them in the object
11859 # directory.
11860 mkdir sub
11861
11862 am_cv_CCAS_dependencies_compiler_type=none
11863 if test "$am_compiler_list" = ""; then
11864 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11865 fi
11866 am__universal=false
11867
11868
11869 for depmode in $am_compiler_list; do
11870 # Setup a source with many dependencies, because some compilers
11871 # like to wrap large dependency lists on column 80 (with \), and
11872 # we should not choose a depcomp mode which is confused by this.
11873 #
11874 # We need to recreate these files for each test, as the compiler may
11875 # overwrite some of them when testing with obscure command lines.
11876 # This happens at least with the AIX C compiler.
11877 : > sub/conftest.c
11878 for i in 1 2 3 4 5 6; do
11879 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11880 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11881 # Solaris 8's {/usr,}/bin/sh.
11882 touch sub/conftst$i.h
11883 done
11884 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11885
11886 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11887 # mode. It turns out that the SunPro C++ compiler does not properly
11888 # handle `-M -o', and we need to detect this. Also, some Intel
11889 # versions had trouble with output in subdirs
11890 am__obj=sub/conftest.${OBJEXT-o}
11891 am__minus_obj="-o $am__obj"
11892 case $depmode in
11893 gcc)
11894 # This depmode causes a compiler race in universal mode.
11895 test "$am__universal" = false || continue
11896 ;;
11897 nosideeffect)
11898 # after this tag, mechanisms are not by side-effect, so they'll
11899 # only be used when explicitly requested
11900 if test "x$enable_dependency_tracking" = xyes; then
11901 continue
11902 else
11903 break
11904 fi
11905 ;;
11906 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11907 # This compiler won't grok `-c -o', but also, the minuso test has
11908 # not run yet. These depmodes are late enough in the game, and
11909 # so weak that their functioning should not be impacted.
11910 am__obj=conftest.${OBJEXT-o}
11911 am__minus_obj=
11912 ;;
11913 none) break ;;
11914 esac
11915 if depmode=$depmode \
11916 source=sub/conftest.c object=$am__obj \
11917 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11918 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11919 >/dev/null 2>conftest.err &&
11920 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11921 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11922 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11923 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11924 # icc doesn't choke on unknown options, it will just issue warnings
11925 # or remarks (even with -Werror). So we grep stderr for any message
11926 # that says an option was ignored or not supported.
11927 # When given -MP, icc 7.0 and 7.1 complain thusly:
11928 # icc: Command line warning: ignoring option '-M'; no argument required
11929 # The diagnosis changed in icc 8.0:
11930 # icc: Command line remark: option '-MP' not supported
11931 if (grep 'ignoring option' conftest.err ||
11932 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11933 am_cv_CCAS_dependencies_compiler_type=$depmode
11934 break
11935 fi
11936 fi
11937 done
11938
11939 cd ..
11940 rm -rf conftest.dir
11941 else
11942 am_cv_CCAS_dependencies_compiler_type=none
11943 fi
11944
11945 fi
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compil er_type" >&5
11947 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
11948 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
11949
11950 if
11951 test "x$enable_dependency_tracking" != xno \
11952 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
11953 am__fastdepCCAS_TRUE=
11954 am__fastdepCCAS_FALSE='#'
11955 else
11956 am__fastdepCCAS_TRUE='#'
11957 am__fastdepCCAS_FALSE=
11958 fi
11959
11960
11961
11962
11963 $as_echo "#define OPUS_BUILD /**/" >>confdefs.h
11964
11965
12015 #Use a hacked up version of autoconf's AC_C_RESTRICT because it's not 11966 #Use a hacked up version of autoconf's AC_C_RESTRICT because it's not
12016 #strong enough a test to detect old buggy versions of GCC (e.g. 2.95.3) 11967 #strong enough a test to detect old buggy versions of GCC (e.g. 2.95.3)
11968 #Note: Both this and the test for variable-size arrays below are also
11969 # done by AC_PROG_CC_C99, but not thoroughly enough apparently.
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >& 5 11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >& 5
12018 $as_echo_n "checking for C/C++ restrict keyword... " >&6; } 11971 $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
12019 if ${ac_cv_c_restrict+:} false; then : 11972 if ${ac_cv_c_restrict+:} false; then :
12020 $as_echo_n "(cached) " >&6 11973 $as_echo_n "(cached) " >&6
12021 else 11974 else
12022 ac_cv_c_restrict=no 11975 ac_cv_c_restrict=no
12023 # The order here caters to the fact that C++ does not require restrict. 11976 # The order here caters to the fact that C++ does not require restrict.
12024 for ac_kw in __restrict __restrict__ _Restrict restrict; do 11977 for ac_kw in __restrict __restrict__ _Restrict restrict; do
12025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12026 /* end confdefs.h. */ 11979 /* end confdefs.h. */
12027 typedef int * int_ptr; 11980 typedef int * int_ptr;
12028 » int foo (int_ptr $ac_kw ip, int * $ac_kw baz[]) { 11981 int foo (int_ptr $ac_kw ip, int * $ac_kw baz[]) {
12029 » return ip[0]; 11982 return ip[0];
12030 } 11983 }
12031 int 11984 int
12032 main () 11985 main ()
12033 { 11986 {
12034 int s[1]; 11987 int s[1];
12035 » int * $ac_kw t = s; 11988 int * $ac_kw t = s;
12036 » t[0] = 0; 11989 t[0] = 0;
12037 » return foo(t, (void *)0) 11990 return foo(t, (void *)0)
12038 ; 11991 ;
12039 return 0; 11992 return 0;
12040 } 11993 }
12041 _ACEOF 11994 _ACEOF
12042 if ac_fn_c_try_compile "$LINENO"; then : 11995 if ac_fn_c_try_compile "$LINENO"; then :
12043 ac_cv_c_restrict=$ac_kw 11996 ac_cv_c_restrict=$ac_kw
12044 fi 11997 fi
12045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12046 test "$ac_cv_c_restrict" != no && break 11999 test "$ac_cv_c_restrict" != no && break
12047 done 12000 done
12048 12001
12049 fi 12002 fi
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
12051 $as_echo "$ac_cv_c_restrict" >&6; } 12004 $as_echo "$ac_cv_c_restrict" >&6; }
12052 12005
12053 case $ac_cv_c_restrict in 12006
12007
12008 case $ac_cv_c_restrict in
12054 restrict) ;; 12009 restrict) ;;
12055 no) $as_echo "#define restrict /**/" >>confdefs.h 12010 no) $as_echo "#define restrict /**/" >>confdefs.h
12056 ;; 12011 ;;
12057 *) cat >>confdefs.h <<_ACEOF 12012 *) cat >>confdefs.h <<_ACEOF
12058 #define restrict $ac_cv_c_restrict 12013 #define restrict $ac_cv_c_restrict
12059 _ACEOF 12014 _ACEOF
12060 ;; 12015 ;;
12061 esac 12016 esac
12062
12063
12064 $as_echo "#define OPUS_BUILD /**/" >>confdefs.h
12065
12066 12017
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 variable-size arrays" >&5 12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 variable-size arrays" >&5
12068 $as_echo_n "checking for C99 variable-size arrays... " >&6; } 12019 $as_echo_n "checking for C99 variable-size arrays... " >&6; }
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */ 12021 /* end confdefs.h. */
12071 12022
12072 int 12023 int
12073 main () 12024 main ()
12074 { 12025 {
12075 static int x; char a[++x]; a[sizeof a - 1] = 0; int N; return a[0]; 12026 static int x; char a[++x]; a[sizeof a - 1] = 0; int N; return a[0];
12076 ; 12027 ;
12077 return 0; 12028 return 0;
12078 } 12029 }
12079 _ACEOF 12030 _ACEOF
12080 if ac_fn_c_try_compile "$LINENO"; then : 12031 if ac_fn_c_try_compile "$LINENO"; then :
12081 has_var_arrays=yes; 12032 has_var_arrays=yes
12082 $as_echo "#define VAR_ARRAYS /**/" >>confdefs.h 12033 use_alloca="no (using var arrays)"
12083 12034
12084 12035 $as_echo "#define VAR_ARRAYS 1" >>confdefs.h
12085 else 12036
12086 has_var_arrays=no 12037
12038 else
12039
12040 has_var_arrays=no
12087 12041
12088 fi 12042 fi
12089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_var_arrays" >&5 12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_var_arrays" >&5
12091 $as_echo "$has_var_arrays" >&6; } 12045 $as_echo "$has_var_arrays" >&6; }
12092 12046
12093 for ac_header in alloca.h getopt.h 12047 if test "$has_var_arrays" = "no"; then :
12048
12049 for ac_header in alloca.h
12094 do : 12050 do :
12095 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12051 ac_fn_c_check_header_mongrel "$LINENO" "alloca.h" "ac_cv_header_alloca_h" "$ac _includes_default"
12096 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_include s_default" 12052 if test "x$ac_cv_header_alloca_h" = xyes; then :
12097 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12098 cat >>confdefs.h <<_ACEOF 12053 cat >>confdefs.h <<_ACEOF
12099 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12054 #define HAVE_ALLOCA_H 1
12100 _ACEOF 12055 _ACEOF
12101 12056
12102 fi 12057 fi
12103 12058
12104 done 12059 done
12105 12060
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
12107 $as_echo_n "checking for alloca... " >&6; } 12062 $as_echo_n "checking for alloca... " >&6; }
12063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12064 /* end confdefs.h. */
12065 #include <alloca.h>
12066 int
12067 main ()
12068 {
12069 int foo=10; int *array = alloca(foo);
12070 ;
12071 return 0;
12072 }
12073 _ACEOF
12074 if ac_fn_c_try_compile "$LINENO"; then :
12075 use_alloca=yes;
12076
12077 $as_echo "#define USE_ALLOCA /**/" >>confdefs.h
12078
12079
12080 else
12081
12082 use_alloca=no
12083
12084 fi
12085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_alloca" >&5
12087 $as_echo "$use_alloca" >&6; }
12088
12089 fi
12090
12091 LIBM=
12092 case $host in
12093 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
12094 # These system don't have libm, or don't need it
12095 ;;
12096 *-ncr-sysv4.3*)
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
12098 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
12099 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
12100 $as_echo_n "(cached) " >&6
12101 else
12102 ac_check_lib_save_LIBS=$LIBS
12103 LIBS="-lmw $LIBS"
12108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */ 12105 /* end confdefs.h. */
12110 #include <alloca.h> 12106
12111 int 12107 /* Override any GCC internal prototype to avoid an error.
12112 main () 12108 Use char because int might match the return type of a GCC
12113 { 12109 builtin and then its argument prototype would still apply. */
12114 12110 #ifdef __cplusplus
12115 int foo=10; 12111 extern "C"
12116 int *array = alloca(foo); 12112 #endif
12117 12113 char _mwvalidcheckl ();
12118 ; 12114 int
12119 return 0; 12115 main ()
12120 } 12116 {
12121 _ACEOF 12117 return _mwvalidcheckl ();
12122 if ac_fn_c_try_compile "$LINENO"; then : 12118 ;
12123 12119 return 0;
12124 has_alloca=yes; 12120 }
12125 if test x$has_var_arrays = "xno" ; then 12121 _ACEOF
12126 12122 if ac_fn_c_try_link "$LINENO"; then :
12127 $as_echo "#define USE_ALLOCA /**/" >>confdefs.h 12123 ac_cv_lib_mw__mwvalidcheckl=yes
12128 12124 else
12129 fi 12125 ac_cv_lib_mw__mwvalidcheckl=no
12130 12126 fi
12131 else 12127 rm -f core conftest.err conftest.$ac_objext \
12132 has_alloca=no 12128 conftest$ac_exeext conftest.$ac_ext
12133 12129 LIBS=$ac_check_lib_save_LIBS
12134 fi 12130 fi
12135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" > &5
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_alloca" >&5 12132 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
12137 $as_echo "$has_alloca" >&6; } 12133 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
12138 12134 LIBM="-lmw"
12139 ac_fn_c_check_func "$LINENO" "exp" "ac_cv_func_exp" 12135 fi
12140 if test "x$ac_cv_func_exp" = xyes; then : 12136
12141 fp_libm_not_needed=yes;LIBM= 12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12142 else 12138 $as_echo_n "checking for cos in -lm... " >&6; }
12143 fp_libm_not_needed=dunno 12139 if ${ac_cv_lib_m_cos+:} false; then :
12144 fi
12145
12146 if test x"$fp_libm_not_needed" = xdunno; then
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
12148 $as_echo_n "checking for exp in -lm... " >&6; }
12149 if ${ac_cv_lib_m_exp+:} false; then :
12150 $as_echo_n "(cached) " >&6 12140 $as_echo_n "(cached) " >&6
12151 else 12141 else
12152 ac_check_lib_save_LIBS=$LIBS 12142 ac_check_lib_save_LIBS=$LIBS
12143 LIBS="-lm $LIBS"
12144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h. */
12146
12147 /* Override any GCC internal prototype to avoid an error.
12148 Use char because int might match the return type of a GCC
12149 builtin and then its argument prototype would still apply. */
12150 #ifdef __cplusplus
12151 extern "C"
12152 #endif
12153 char cos ();
12154 int
12155 main ()
12156 {
12157 return cos ();
12158 ;
12159 return 0;
12160 }
12161 _ACEOF
12162 if ac_fn_c_try_link "$LINENO"; then :
12163 ac_cv_lib_m_cos=yes
12164 else
12165 ac_cv_lib_m_cos=no
12166 fi
12167 rm -f core conftest.err conftest.$ac_objext \
12168 conftest$ac_exeext conftest.$ac_ext
12169 LIBS=$ac_check_lib_save_LIBS
12170 fi
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12172 $as_echo "$ac_cv_lib_m_cos" >&6; }
12173 if test "x$ac_cv_lib_m_cos" = xyes; then :
12174 LIBM="$LIBM -lm"
12175 fi
12176
12177 ;;
12178 *)
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12180 $as_echo_n "checking for cos in -lm... " >&6; }
12181 if ${ac_cv_lib_m_cos+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 ac_check_lib_save_LIBS=$LIBS
12153 LIBS="-lm $LIBS" 12185 LIBS="-lm $LIBS"
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */ 12187 /* end confdefs.h. */
12156 12188
12157 /* Override any GCC internal prototype to avoid an error. 12189 /* Override any GCC internal prototype to avoid an error.
12158 Use char because int might match the return type of a GCC 12190 Use char because int might match the return type of a GCC
12159 builtin and then its argument prototype would still apply. */ 12191 builtin and then its argument prototype would still apply. */
12160 #ifdef __cplusplus 12192 #ifdef __cplusplus
12161 extern "C" 12193 extern "C"
12162 #endif 12194 #endif
12163 char exp (); 12195 char cos ();
12164 int 12196 int
12165 main () 12197 main ()
12166 { 12198 {
12167 return exp (); 12199 return cos ();
12168 ; 12200 ;
12169 return 0; 12201 return 0;
12170 } 12202 }
12171 _ACEOF 12203 _ACEOF
12172 if ac_fn_c_try_link "$LINENO"; then : 12204 if ac_fn_c_try_link "$LINENO"; then :
12173 ac_cv_lib_m_exp=yes 12205 ac_cv_lib_m_cos=yes
12174 else 12206 else
12175 ac_cv_lib_m_exp=no 12207 ac_cv_lib_m_cos=no
12176 fi 12208 fi
12177 rm -f core conftest.err conftest.$ac_objext \ 12209 rm -f core conftest.err conftest.$ac_objext \
12178 conftest$ac_exeext conftest.$ac_ext 12210 conftest$ac_exeext conftest.$ac_ext
12179 LIBS=$ac_check_lib_save_LIBS 12211 LIBS=$ac_check_lib_save_LIBS
12180 fi 12212 fi
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5 12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12182 $as_echo "$ac_cv_lib_m_exp" >&6; } 12214 $as_echo "$ac_cv_lib_m_cos" >&6; }
12183 if test "x$ac_cv_lib_m_exp" = xyes; then : 12215 if test "x$ac_cv_lib_m_cos" = xyes; then :
12184 LIBS="-lm $LIBS"; LIBM="-lm" 12216 LIBM="-lm"
12185 else 12217 fi
12186 LIBM= 12218
12187 fi 12219 ;;
12188 12220 esac
12221
12222
12223
12224 # Check whether --enable-fixed-point was given.
12225 if test "${enable_fixed_point+set}" = set; then :
12226 enableval=$enable_fixed_point;
12227 else
12228 enable_fixed_point=no
12229 fi
12230
12231
12232 if test "$enable_fixed_point" = "yes"; then :
12233
12234 enable_float="no"
12235
12236 $as_echo "#define FIXED_POINT 1" >>confdefs.h
12237
12238 PC_BUILD="fixed-point"
12239
12240 else
12241
12242 enable_float="yes";
12243 PC_BUILD="floating-point"
12244
12245 fi
12246
12247 if test "$enable_fixed_point" = "yes"; then
12248 FIXED_POINT_TRUE=
12249 FIXED_POINT_FALSE='#'
12250 else
12251 FIXED_POINT_TRUE='#'
12252 FIXED_POINT_FALSE=
12253 fi
12254
12255
12256 # Check whether --enable-fixed-point-debug was given.
12257 if test "${enable_fixed_point_debug+set}" = set; then :
12258 enableval=$enable_fixed_point_debug;
12259 else
12260 enable_fixed_point_debug=no
12261 fi
12262
12263
12264 if test "$enable_fixed_point_debug" = "yes"; then :
12265
12266
12267 $as_echo "#define FIXED_DEBUG 1" >>confdefs.h
12268
12269
12270 fi
12271
12272 # Check whether --enable-float_api was given.
12273 if test "${enable_float_api+set}" = set; then :
12274 enableval=$enable_float_api;
12275 else
12276 enable_float_api=yes
12277 fi
12278
12279
12280 if test "$enable_float_api" = "no"; then
12281 DISABLE_FLOAT_API_TRUE=
12282 DISABLE_FLOAT_API_FALSE='#'
12283 else
12284 DISABLE_FLOAT_API_TRUE='#'
12285 DISABLE_FLOAT_API_FALSE=
12286 fi
12287
12288
12289 if test "$enable_float_api" = "no"; then :
12290
12291
12292 $as_echo "#define DISABLE_FLOAT_API 1" >>confdefs.h
12293
12294
12295 fi
12296
12297 # Check whether --enable-custom-modes was given.
12298 if test "${enable_custom_modes+set}" = set; then :
12299 enableval=$enable_custom_modes;
12300 else
12301 enable_custom_modes=no
12302 fi
12303
12304
12305 if test "$enable_custom_modes" = "yes"; then :
12306
12307
12308 $as_echo "#define CUSTOM_MODES 1" >>confdefs.h
12309
12310 PC_BUILD="$PC_BUILD, custom modes"
12311
12312 fi
12313
12314 if test "$enable_custom_modes" = "yes"; then
12315 CUSTOM_MODES_TRUE=
12316 CUSTOM_MODES_FALSE='#'
12317 else
12318 CUSTOM_MODES_TRUE='#'
12319 CUSTOM_MODES_FALSE=
12189 fi 12320 fi
12190 12321
12191 12322
12192 has_float_approx=no 12323 has_float_approx=no
12193 #case "$host_cpu" in 12324 #case "$host_cpu" in
12194 #i[[3456]]86 | x86_64 | powerpc64 | powerpc32 | ia64) 12325 #i[[3456]]86 | x86_64 | powerpc64 | powerpc32 | ia64)
12195 # has_float_approx=yes 12326 # has_float_approx=yes
12196 # ;; 12327 # ;;
12197 #esac 12328 #esac
12198 12329
12199 ac_enable_fixed="no";
12200 ac_enable_float="yes";
12201 # Check whether --enable-fixed-point was given.
12202 if test "${enable_fixed_point+set}" = set; then :
12203 enableval=$enable_fixed_point; if test "$enableval" = yes; then
12204 ac_enable_fixed="yes";
12205 ac_enable_float="no";
12206
12207 $as_echo "#define FIXED_POINT 1" >>confdefs.h
12208
12209 fi
12210 fi
12211
12212
12213 ac_enable_fixed_debug="no"
12214 # Check whether --enable-fixed-point-debug was given.
12215 if test "${enable_fixed_point_debug+set}" = set; then :
12216 enableval=$enable_fixed_point_debug; if test "$enableval" = yes; then
12217 ac_enable_fixed_debug="yes"
12218
12219 $as_echo "#define FIXED_DEBUG /**/" >>confdefs.h
12220
12221 fi
12222 fi
12223
12224
12225 ac_enable_custom_modes="no"
12226 # Check whether --enable-custom-modes was given.
12227 if test "${enable_custom_modes+set}" = set; then :
12228 enableval=$enable_custom_modes; if test "$enableval" = yes; then
12229 ac_enable_custom_modes="yes"
12230
12231 $as_echo "#define CUSTOM_MODES /**/" >>confdefs.h
12232
12233 fi
12234 fi
12235
12236
12237 float_approx=$has_float_approx
12238 # Check whether --enable-float-approx was given. 12330 # Check whether --enable-float-approx was given.
12239 if test "${enable_float_approx+set}" = set; then : 12331 if test "${enable_float_approx+set}" = set; then :
12240 enableval=$enable_float_approx; if test "$enableval" = yes; then 12332 enableval=$enable_float_approx; if test "$enable_float_approx" = "yes"; then
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Floating point approximati ons are not supported on all platforms." >&5 12333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Floating point approxim ations are not supported on all platforms." >&5
12242 $as_echo "$as_me: WARNING: Floating point approximations are not supported on al l platforms." >&2;} 12334 $as_echo "$as_me: WARNING: Floating point approximations are not supported on al l platforms." >&2;}
12243 float_approx=yes 12335 fi
12244 else 12336
12245 float_approx=no 12337 else
12246 fi 12338 enable_float_approx=$has_float_approx
12247 else 12339 fi
12248 float_approx=$has_float_approx 12340
12249 fi 12341
12250 12342 if test "$enable_float_approx" = "yes"; then :
12251 12343
12252 if test "x${float_approx}" = "xyes"; then 12344
12253 12345 $as_echo "#define FLOAT_APPROX 1" >>confdefs.h
12254 $as_echo "#define FLOAT_APPROX /**/" >>confdefs.h 12346
12255 12347
12256 fi 12348 fi
12257 12349
12258 ac_enable_assertions="no" 12350 # Check whether --enable-asm was given.
12351 if test "${enable_asm+set}" = set; then :
12352 enableval=$enable_asm;
12353 else
12354 enable_asm=yes
12355 fi
12356
12357
12358 # Check whether --enable-rtcd was given.
12359 if test "${enable_rtcd+set}" = set; then :
12360 enableval=$enable_rtcd;
12361 else
12362 enable_rtcd=yes
12363 fi
12364
12365
12366 rtcd_support=no
12367 cpu_arm=no
12368
12369 if test x"${enable_asm}" = x"yes"; then :
12370
12371 inline_optimization="No ASM for your platform, please send patches"
12372 case $host_cpu in
12373 arm*)
12374 if test "$enable_float" != "yes"; then :
12375
12376 cpu_arm=yes
12377
12378 $as_echo "#define OPUS_ARM_ASM /**/" >>confdefs.h
12379
12380
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports gcc-sty le inline assembly" >&5
12382 $as_echo_n "checking if compiler supports gcc-style inline assembly... " >&6; }
12383
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12386
12387 int
12388 main ()
12389 {
12390
12391 #ifdef __GNUC_MINOR__
12392 #if (__GNUC__ * 1000 + __GNUC_MINOR__) < 3004
12393 #error GCC before 3.4 has critical bugs compiling inline assembly
12394 #endif
12395 #endif
12396 __asm__ (""::)
12397 ;
12398 return 0;
12399 }
12400 _ACEOF
12401 if ac_fn_c_try_compile "$LINENO"; then :
12402 flag_ok=yes
12403 else
12404 flag_ok=no
12405 fi
12406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12407
12408 if test "X$flag_ok" = Xyes ; then
12409 inline_optimization="ARM"
12410 true
12411 else
12412 inline_optimization="disabled"
12413
12414 true
12415 fi
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
12417 $as_echo "$flag_ok" >&6; }
12418
12419
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports EDSP i nstructions on ARM" >&5
12421 $as_echo_n "checking if assembler supports EDSP instructions on ARM... " >&6; }
12422
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12425
12426 int
12427 main ()
12428 {
12429 __asm__("qadd r3,r3,r3")
12430 ;
12431 return 0;
12432 }
12433 _ACEOF
12434 if ac_fn_c_try_compile "$LINENO"; then :
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12436 $as_echo "yes" >&6; }
12437 OPUS_ARM_INLINE_EDSP=1
12438 else
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12440 $as_echo "no" >&6; }
12441 OPUS_ARM_INLINE_EDSP=0
12442 fi
12443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12444
12445
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports ARMv6 media instructions on ARM" >&5
12447 $as_echo_n "checking if assembler supports ARMv6 media instructions on ARM... " >&6; }
12448
12449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12450 /* end confdefs.h. */
12451
12452 int
12453 main ()
12454 {
12455 __asm__("shadd8 r3,r3,r3")
12456 ;
12457 return 0;
12458 }
12459 _ACEOF
12460 if ac_fn_c_try_compile "$LINENO"; then :
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12462 $as_echo "yes" >&6; }
12463 OPUS_ARM_INLINE_MEDIA=1
12464 else
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12466 $as_echo "no" >&6; }
12467 OPUS_ARM_INLINE_MEDIA=0
12468 fi
12469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12470
12471
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports NEON i nstructions on ARM" >&5
12473 $as_echo_n "checking if assembler supports NEON instructions on ARM... " >&6; }
12474
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12477
12478 int
12479 main ()
12480 {
12481 __asm__("vorr d0,d0,d0")
12482 ;
12483 return 0;
12484 }
12485 _ACEOF
12486 if ac_fn_c_try_compile "$LINENO"; then :
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12488 $as_echo "yes" >&6; }
12489 OPUS_ARM_INLINE_NEON=1
12490 else
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12492 $as_echo "no" >&6; }
12493 OPUS_ARM_INLINE_NEON=0
12494 fi
12495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12496
12497 if test x"$inline_optimization" = x"ARM"; then :
12498
12499 if true; then
12500 OPUS_ARM_INLINE_ASM_TRUE=
12501 OPUS_ARM_INLINE_ASM_FALSE='#'
12502 else
12503 OPUS_ARM_INLINE_ASM_TRUE='#'
12504 OPUS_ARM_INLINE_ASM_FALSE=
12505 fi
12506
12507
12508 $as_echo "#define OPUS_ARM_INLINE_ASM 1" >>confdefs.h
12509
12510 if test x"$OPUS_ARM_INLINE_EDSP" = x"1"; then :
12511
12512
12513 $as_echo "#define OPUS_ARM_INLINE_EDSP 1" >>confdefs.h
12514
12515 inline_optimization="$inline_optimization (EDSP)"
12516
12517 fi
12518 if test x"$OPUS_ARM_INLINE_MEDIA" = x"1"; then :
12519
12520
12521 $as_echo "#define OPUS_ARM_INLINE_MEDIA 1" >>confdefs.h
12522
12523 inline_optimization="$inline_optimization (Media)"
12524
12525 fi
12526 if test x"$OPUS_ARM_INLINE_NEON" = x"1"; then :
12527
12528
12529 $as_echo "#define OPUS_ARM_INLINE_NEON 1" >>confdefs.h
12530
12531 inline_optimization="$inline_optimization (NEON)"
12532
12533 fi
12534
12535 fi
12536 # Extract the first word of "perl", so it can be a progr am name with args.
12537 set dummy perl; ac_word=$2
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12539 $as_echo_n "checking for $ac_word... " >&6; }
12540 if ${ac_cv_prog_HAVE_PERL+:} false; then :
12541 $as_echo_n "(cached) " >&6
12542 else
12543 if test -n "$HAVE_PERL"; then
12544 ac_cv_prog_HAVE_PERL="$HAVE_PERL" # Let the user override the test.
12545 else
12546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12547 for as_dir in $PATH
12548 do
12549 IFS=$as_save_IFS
12550 test -z "$as_dir" && as_dir=.
12551 for ac_exec_ext in '' $ac_executable_extensions; do
12552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac _exec_ext"; }; then
12553 ac_cv_prog_HAVE_PERL="yes"
12554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" > &5
12555 break 2
12556 fi
12557 done
12558 done
12559 IFS=$as_save_IFS
12560
12561 test -z "$ac_cv_prog_HAVE_PERL" && ac_cv_prog_HAVE_PERL="no"
12562 fi
12563 fi
12564 HAVE_PERL=$ac_cv_prog_HAVE_PERL
12565 if test -n "$HAVE_PERL"; then
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PERL" >&5
12567 $as_echo "$HAVE_PERL" >&6; }
12568 else
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12570 $as_echo "no" >&6; }
12571 fi
12572
12573
12574 if test x"$HAVE_PERL" = x"yes"; then :
12575
12576 if true; then
12577 OPUS_ARM_EXTERNAL_ASM_TRUE=
12578 OPUS_ARM_EXTERNAL_ASM_FALSE='#'
12579 else
12580 OPUS_ARM_EXTERNAL_ASM_TRUE='#'
12581 OPUS_ARM_EXTERNAL_ASM_FALSE=
12582 fi
12583
12584 asm_optimization="ARM"
12585 if test x"$OPUS_ARM_INLINE_EDSP" = x"1"; then :
12586
12587 OPUS_ARM_PRESUME_EDSP=1
12588 OPUS_ARM_MAY_HAVE_EDSP=1
12589
12590 else
12591
12592 OPUS_ARM_PRESUME_EDSP=0
12593 OPUS_ARM_MAY_HAVE_EDSP=0
12594
12595 fi
12596 if test x"$OPUS_ARM_INLINE_MEDIA" = x"1"; then :
12597
12598 OPUS_ARM_PRESUME_MEDIA=1
12599 OPUS_ARM_MAY_HAVE_MEDIA=1
12600
12601 else
12602
12603 OPUS_ARM_PRESUME_MEDIA=0
12604 OPUS_ARM_MAY_HAVE_MEDIA=0
12605
12606 fi
12607 if test x"$OPUS_ARM_INLINE_NEON" = x"1"; then :
12608
12609 OPUS_ARM_PRESUME_NEON=1
12610 OPUS_ARM_MAY_HAVE_NEON=1
12611
12612 else
12613
12614 OPUS_ARM_PRESUME_NEON=0
12615 OPUS_ARM_MAY_HAVE_NEON=0
12616
12617 fi
12618 if test x"$enable_rtcd" = x"yes"; then :
12619
12620 if test x"$OPUS_ARM_MAY_HAVE_EDSP" != x"1"; then :
12621
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: Trying to force -enable armv5e EDSP instructions..." >&5
12623 $as_echo "$as_me: Trying to force-enable armv5e EDSP instructions..." >&6;}
12624
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports EDSP i nstructions on ARM" >&5
12626 $as_echo_n "checking if assembler supports EDSP instructions on ARM... " >&6; }
12627
12628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12630
12631 int
12632 main ()
12633 {
12634 __asm__(".arch armv5te\n.object_arch armv4t\nqadd r3,r3,r3")
12635 ;
12636 return 0;
12637 }
12638 _ACEOF
12639 if ac_fn_c_try_compile "$LINENO"; then :
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12641 $as_echo "yes" >&6; }
12642 OPUS_ARM_MAY_HAVE_EDSP=1
12643 else
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12645 $as_echo "no" >&6; }
12646
12647 fi
12648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12649
12650
12651 fi
12652 if test x"$OPUS_ARM_MAY_HAVE_MEDIA" != x"1"; then :
12653
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: Trying to force -enable ARMv6 media instructions..." >&5
12655 $as_echo "$as_me: Trying to force-enable ARMv6 media instructions..." >&6;}
12656
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports ARMv6 media instructions on ARM" >&5
12658 $as_echo_n "checking if assembler supports ARMv6 media instructions on ARM... " >&6; }
12659
12660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12661 /* end confdefs.h. */
12662
12663 int
12664 main ()
12665 {
12666 __asm__(".arch armv6\n.object_arch armv4t\nshadd8 r3,r3,r3")
12667 ;
12668 return 0;
12669 }
12670 _ACEOF
12671 if ac_fn_c_try_compile "$LINENO"; then :
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12673 $as_echo "yes" >&6; }
12674 OPUS_ARM_MAY_HAVE_MEDIA=1
12675 else
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12677 $as_echo "no" >&6; }
12678
12679 fi
12680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12681
12682
12683 fi
12684 if test x"$OPUS_ARM_MAY_HAVE_NEON" != x"1"; then :
12685
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: Trying to force -enable NEON instructions..." >&5
12687 $as_echo "$as_me: Trying to force-enable NEON instructions..." >&6;}
12688
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports NEON i nstructions on ARM" >&5
12690 $as_echo_n "checking if assembler supports NEON instructions on ARM... " >&6; }
12691
12692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12693 /* end confdefs.h. */
12694
12695 int
12696 main ()
12697 {
12698 __asm__(".arch armv7-a\n.fpu neon\n.object_arch armv4t\nvorr d0,d0,d0")
12699 ;
12700 return 0;
12701 }
12702 _ACEOF
12703 if ac_fn_c_try_compile "$LINENO"; then :
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12705 $as_echo "yes" >&6; }
12706 OPUS_ARM_MAY_HAVE_NEON=1
12707 else
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12709 $as_echo "no" >&6; }
12710
12711 fi
12712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12713
12714
12715 fi
12716
12717 fi
12718 rtcd_support=
12719 if test x"$OPUS_ARM_MAY_HAVE_EDSP" = x"1"; then :
12720
12721
12722 $as_echo "#define OPUS_ARM_MAY_HAVE_EDSP 1" >>confdefs.h
12723
12724 if test x"$OPUS_ARM_PRESUME_EDSP" = x"1"; then :
12725
12726
12727 $as_echo "#define OPUS_ARM_PRESUME_EDSP 1" >>confdefs.h
12728
12729 asm_optimization="$asm_optimization (EDSP)"
12730
12731 else
12732 rtcd_support="$rtcd_support (EDSP)"
12733
12734 fi
12735
12736 fi
12737
12738 if test x"$OPUS_ARM_MAY_HAVE_MEDIA" = x"1"; then :
12739
12740
12741 $as_echo "#define OPUS_ARM_MAY_HAVE_MEDIA 1" >>confdefs.h
12742
12743 if test x"$OPUS_ARM_PRESUME_MEDIA" = x"1"; then :
12744
12745
12746 $as_echo "#define OPUS_ARM_PRESUME_MEDIA 1" >>confdefs.h
12747
12748 asm_optimization="$asm_optimization (Media)"
12749
12750 else
12751 rtcd_support="$rtcd_support (Media)"
12752
12753 fi
12754
12755 fi
12756
12757 if test x"$OPUS_ARM_MAY_HAVE_NEON" = x"1"; then :
12758
12759
12760 $as_echo "#define OPUS_ARM_MAY_HAVE_NEON 1" >>confdefs.h
12761
12762 if test x"$OPUS_ARM_PRESUME_NEON" = x"1"; then :
12763
12764
12765 $as_echo "#define OPUS_ARM_PRESUME_NEON 1" >>confdefs.h
12766
12767 asm_optimization="$asm_optimization (NEON)"
12768
12769 else
12770 rtcd_support="$rtcd_support (NEON)"
12771
12772 fi
12773
12774 fi
12775
12776 if test x"$rtcd_support" != x""; then :
12777 rtcd_support=ARM"$rtcd_support"
12778 else
12779 rtcd_support="no"
12780
12781 fi
12782
12783 else
12784
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ARM assemb ly requires perl -- disabling optimizations" >&5
12786 $as_echo "$as_me: WARNING: *** ARM assembly requires perl -- disabling optimizat ions" >&2;}
12787 asm_optimization="(missing perl dependency for ARM)"
12788
12789 fi
12790
12791 fi
12792 ;;
12793 esac
12794
12795 else
12796
12797 inline_optimization="disabled"
12798 asm_optimization="disabled"
12799
12800 fi
12801
12802 if test "$cpu_arm" = "yes"; then
12803 CPU_ARM_TRUE=
12804 CPU_ARM_FALSE='#'
12805 else
12806 CPU_ARM_TRUE='#'
12807 CPU_ARM_FALSE=
12808 fi
12809
12810 if test x"${inline_optimization:0:3}" = x"ARM"; then
12811 OPUS_ARM_INLINE_ASM_TRUE=
12812 OPUS_ARM_INLINE_ASM_FALSE='#'
12813 else
12814 OPUS_ARM_INLINE_ASM_TRUE='#'
12815 OPUS_ARM_INLINE_ASM_FALSE=
12816 fi
12817
12818 if test x"${asm_optimization:0:3}" = x"ARM"; then
12819 OPUS_ARM_EXTERNAL_ASM_TRUE=
12820 OPUS_ARM_EXTERNAL_ASM_FALSE='#'
12821 else
12822 OPUS_ARM_EXTERNAL_ASM_TRUE='#'
12823 OPUS_ARM_EXTERNAL_ASM_FALSE=
12824 fi
12825
12826
12827 if test x"$enable_rtcd" = x"yes"; then :
12828
12829 if test x"$rtcd_support" != x"no"; then :
12830
12831
12832 $as_echo "#define OPUS_HAVE_RTCD 1" >>confdefs.h
12833
12834 OPUS_HAVE_RTCD=1
12835
12836
12837 fi
12838
12839 else
12840
12841 rtcd_support="disabled"
12842
12843 fi
12844
12259 # Check whether --enable-assertions was given. 12845 # Check whether --enable-assertions was given.
12260 if test "${enable_assertions+set}" = set; then : 12846 if test "${enable_assertions+set}" = set; then :
12261 enableval=$enable_assertions; if test "$enableval" = yes; then 12847 enableval=$enable_assertions;
12262 ac_enable_assertions="yes" 12848 else
12263 12849 enable_assertions=no
12264 $as_echo "#define ENABLE_ASSERTIONS /**/" >>confdefs.h 12850 fi
12265 12851
12266 fi 12852
12267 fi 12853 if test "$enable_assertions" = "yes"; then :
12268 12854
12269 12855
12270 ac_enable_fuzzing="no" 12856 $as_echo "#define ENABLE_ASSERTIONS 1" >>confdefs.h
12857
12858
12859 fi
12860
12271 # Check whether --enable-fuzzing was given. 12861 # Check whether --enable-fuzzing was given.
12272 if test "${enable_fuzzing+set}" = set; then : 12862 if test "${enable_fuzzing+set}" = set; then :
12273 enableval=$enable_fuzzing; if test "$enableval" = yes; then 12863 enableval=$enable_fuzzing;
12274 ac_enable_fuzzing="yes" 12864 else
12275 12865 enable_fuzzing=no
12276 $as_echo "#define FUZZING /**/" >>confdefs.h 12866 fi
12277 12867
12278 fi 12868
12279 fi 12869 if test "$enable_fuzzing" = "yes"; then :
12280 12870
12281 12871
12282 ac_enable_doc="yes" 12872 $as_echo "#define FUZZING 1" >>confdefs.h
12873
12874
12875 fi
12876
12283 # Check whether --enable-doc was given. 12877 # Check whether --enable-doc was given.
12284 if test "${enable_doc+set}" = set; then : 12878 if test "${enable_doc+set}" = set; then :
12285 enableval=$enable_doc; ac_enable_doc=$enableval 12879 enableval=$enable_doc;
12286 fi 12880 else
12287 12881 enable_doc=yes
12288 # Extract the first word of "doxygen", so it can be a program name with args. 12882 fi
12883
12884
12885 if test "$enable_doc" = "yes"; then :
12886
12887 # Extract the first word of "doxygen", so it can be a program name with args.
12289 set dummy doxygen; ac_word=$2 12888 set dummy doxygen; ac_word=$2
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12291 $as_echo_n "checking for $ac_word... " >&6; } 12890 $as_echo_n "checking for $ac_word... " >&6; }
12292 if ${ac_cv_prog_HAVE_DOXYGEN+:} false; then : 12891 if ${ac_cv_prog_HAVE_DOXYGEN+:} false; then :
12293 $as_echo_n "(cached) " >&6 12892 $as_echo_n "(cached) " >&6
12294 else 12893 else
12295 if test -n "$HAVE_DOXYGEN"; then 12894 if test -n "$HAVE_DOXYGEN"; then
12296 ac_cv_prog_HAVE_DOXYGEN="$HAVE_DOXYGEN" # Let the user override the test. 12895 ac_cv_prog_HAVE_DOXYGEN="$HAVE_DOXYGEN" # Let the user override the test.
12297 else 12896 else
12298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
(...skipping 17 matching lines...) Expand all
12316 HAVE_DOXYGEN=$ac_cv_prog_HAVE_DOXYGEN 12915 HAVE_DOXYGEN=$ac_cv_prog_HAVE_DOXYGEN
12317 if test -n "$HAVE_DOXYGEN"; then 12916 if test -n "$HAVE_DOXYGEN"; then
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOXYGEN" >&5 12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOXYGEN" >&5
12319 $as_echo "$HAVE_DOXYGEN" >&6; } 12918 $as_echo "$HAVE_DOXYGEN" >&6; }
12320 else 12919 else
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12322 $as_echo "no" >&6; } 12921 $as_echo "no" >&6; }
12323 fi 12922 fi
12324 12923
12325 12924
12326 if test "$HAVE_DOXYGEN" != "yes" -o "$ac_enable_doc" != "yes"; then 12925
12327 HAVE_DOXYGEN="false" 12926 else
12328 ac_enable_doc="no" 12927
12928 HAVE_DOXYGEN=no
12929
12329 fi 12930 fi
12330 if test $HAVE_DOXYGEN = yes; then 12931
12932 if test "$HAVE_DOXYGEN" = "yes"; then
12331 HAVE_DOXYGEN_TRUE= 12933 HAVE_DOXYGEN_TRUE=
12332 HAVE_DOXYGEN_FALSE='#' 12934 HAVE_DOXYGEN_FALSE='#'
12333 else 12935 else
12334 HAVE_DOXYGEN_TRUE='#' 12936 HAVE_DOXYGEN_TRUE='#'
12335 HAVE_DOXYGEN_FALSE= 12937 HAVE_DOXYGEN_FALSE=
12336 fi 12938 fi
12337 12939
12338 12940
12941 # Check whether --enable-extra-programs was given.
12942 if test "${enable_extra_programs+set}" = set; then :
12943 enableval=$enable_extra_programs;
12944 else
12945 enable_extra_programs=yes
12946 fi
12947
12948
12949 if test "$enable_extra_programs" = "yes"; then
12950 EXTRA_PROGRAMS_TRUE=
12951 EXTRA_PROGRAMS_FALSE='#'
12952 else
12953 EXTRA_PROGRAMS_TRUE='#'
12954 EXTRA_PROGRAMS_FALSE=
12955 fi
12956
12957
12958
12339 saved_CFLAGS="$CFLAGS" 12959 saved_CFLAGS="$CFLAGS"
12340 CFLAGS="$CFLAGS -fvisibility=hidden" 12960 CFLAGS="$CFLAGS -fvisibility=hidden"
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${CC} supports -fvisibility =hidden" >&5 12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${CC} supports -fvisibility =hidden" >&5
12342 $as_echo_n "checking if ${CC} supports -fvisibility=hidden... " >&6; } 12962 $as_echo_n "checking if ${CC} supports -fvisibility=hidden... " >&6; }
12343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12344 /* end confdefs.h. */ 12964 /* end confdefs.h. */
12345 char foo; 12965 char foo;
12346 _ACEOF 12966 _ACEOF
12347 if ac_fn_c_try_compile "$LINENO"; then : 12967 if ac_fn_c_try_compile "$LINENO"; then :
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12349 $as_echo "yes" >&6; } 12969 $as_echo "yes" >&6; }
12350 SYMBOL_VISIBILITY="-fvisibility=hidden"
12351 else 12970 else
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12353 $as_echo "no" >&6; } 12972 $as_echo "no" >&6; }
12973 CFLAGS="$saved_CFLAGS"
12974
12354 fi 12975 fi
12355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12356 CFLAGS="$saved_CFLAGS $SYMBOL_VISIBILITY"
12357
12358 12977
12359 CFLAGS="$CFLAGS -W" 12978 CFLAGS="$CFLAGS -W"
12360 12979
12980 warn_CFLAGS="-Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-proto types"
12361 saved_CFLAGS="$CFLAGS" 12981 saved_CFLAGS="$CFLAGS"
12362 CFLAGS="$CFLAGS -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-pr ototypes" 12982 CFLAGS="$CFLAGS $warn_CFLAGS"
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${CC} supports -Wall -Wextr a -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes" >&5 12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${CC} supports ${warn_CFLAG S}" >&5
12364 $as_echo_n "checking if ${CC} supports -Wall -Wextra -Wcast-align -Wnested-exter ns -Wshadow -Wstrict-prototypes... " >&6; } 12984 $as_echo_n "checking if ${CC} supports ${warn_CFLAGS}... " >&6; }
12365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12366 /* end confdefs.h. */ 12986 /* end confdefs.h. */
12367 char foo; 12987 char foo;
12368 _ACEOF 12988 _ACEOF
12369 if ac_fn_c_try_compile "$LINENO"; then : 12989 if ac_fn_c_try_compile "$LINENO"; then :
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12371 $as_echo "yes" >&6; } 12991 $as_echo "yes" >&6; }
12372 EXTRA_WARNS="-Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstri ct-prototypes"
12373 else 12992 else
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12375 $as_echo "no" >&6; } 12994 $as_echo "no" >&6; }
12995 CFLAGS="$saved_CFLAGS"
12996
12376 fi 12997 fi
12377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12378 CFLAGS="$saved_CFLAGS $EXTRA_WARNS"
12379 12999
13000 saved_LIBS="$LIBS"
13001 LIBS="$LIBS $LIBM"
12380 for ac_func in lrintf 13002 for ac_func in lrintf
12381 do : 13003 do :
12382 ac_fn_c_check_func "$LINENO" "lrintf" "ac_cv_func_lrintf" 13004 ac_fn_c_check_func "$LINENO" "lrintf" "ac_cv_func_lrintf"
12383 if test "x$ac_cv_func_lrintf" = xyes; then : 13005 if test "x$ac_cv_func_lrintf" = xyes; then :
12384 cat >>confdefs.h <<_ACEOF 13006 cat >>confdefs.h <<_ACEOF
12385 #define HAVE_LRINTF 1 13007 #define HAVE_LRINTF 1
12386 _ACEOF 13008 _ACEOF
12387 13009
12388 fi 13010 fi
12389 done 13011 done
12390 13012
12391 for ac_func in lrint 13013 for ac_func in lrint
12392 do : 13014 do :
12393 ac_fn_c_check_func "$LINENO" "lrint" "ac_cv_func_lrint" 13015 ac_fn_c_check_func "$LINENO" "lrint" "ac_cv_func_lrint"
12394 if test "x$ac_cv_func_lrint" = xyes; then : 13016 if test "x$ac_cv_func_lrint" = xyes; then :
12395 cat >>confdefs.h <<_ACEOF 13017 cat >>confdefs.h <<_ACEOF
12396 #define HAVE_LRINT 1 13018 #define HAVE_LRINT 1
12397 _ACEOF 13019 _ACEOF
12398 13020
12399 fi 13021 fi
12400 done 13022 done
12401 13023
13024 LIBS="$saved_LIBS"
13025
12402 for ac_func in __malloc_hook 13026 for ac_func in __malloc_hook
12403 do : 13027 do :
12404 ac_fn_c_check_func "$LINENO" "__malloc_hook" "ac_cv_func___malloc_hook" 13028 ac_fn_c_check_func "$LINENO" "__malloc_hook" "ac_cv_func___malloc_hook"
12405 if test "x$ac_cv_func___malloc_hook" = xyes; then : 13029 if test "x$ac_cv_func___malloc_hook" = xyes; then :
12406 cat >>confdefs.h <<_ACEOF 13030 cat >>confdefs.h <<_ACEOF
12407 #define HAVE___MALLOC_HOOK 1 13031 #define HAVE___MALLOC_HOOK 1
12408 _ACEOF 13032 _ACEOF
12409 13033
12410 fi 13034 fi
12411 done 13035 done
12412 13036
12413 13037
12414 # The cast to long int works around a bug in the HP C Compiler
12415 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12416 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12417 # This bug is HP SR number 8606223364.
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12419 $as_echo_n "checking size of short... " >&6; }
12420 if ${ac_cv_sizeof_short+:} false; then :
12421 $as_echo_n "(cached) " >&6
12422 else
12423 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_s hort" "$ac_includes_default"; then :
12424
12425 else
12426 if test "$ac_cv_type_short" = yes; then
12427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12429 as_fn_error 77 "cannot compute sizeof (short)
12430 See \`config.log' for more details" "$LINENO" 5; }
12431 else
12432 ac_cv_sizeof_short=0
12433 fi
12434 fi
12435
12436 fi
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12438 $as_echo "$ac_cv_sizeof_short" >&6; }
12439
12440
12441
12442 cat >>confdefs.h <<_ACEOF
12443 #define SIZEOF_SHORT $ac_cv_sizeof_short
12444 _ACEOF
12445
12446
12447 # The cast to long int works around a bug in the HP C Compiler
12448 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12449 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12450 # This bug is HP SR number 8606223364.
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12452 $as_echo_n "checking size of int... " >&6; }
12453 if ${ac_cv_sizeof_int+:} false; then :
12454 $as_echo_n "(cached) " >&6
12455 else
12456 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int " "$ac_includes_default"; then :
12457
12458 else
12459 if test "$ac_cv_type_int" = yes; then
12460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12462 as_fn_error 77 "cannot compute sizeof (int)
12463 See \`config.log' for more details" "$LINENO" 5; }
12464 else
12465 ac_cv_sizeof_int=0
12466 fi
12467 fi
12468
12469 fi
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12471 $as_echo "$ac_cv_sizeof_int" >&6; }
12472
12473
12474
12475 cat >>confdefs.h <<_ACEOF
12476 #define SIZEOF_INT $ac_cv_sizeof_int
12477 _ACEOF
12478
12479
12480 # The cast to long int works around a bug in the HP C Compiler
12481 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12482 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12483 # This bug is HP SR number 8606223364.
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12485 $as_echo_n "checking size of long... " >&6; }
12486 if ${ac_cv_sizeof_long+:} false; then :
12487 $as_echo_n "(cached) " >&6
12488 else
12489 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_lo ng" "$ac_includes_default"; then :
12490
12491 else
12492 if test "$ac_cv_type_long" = yes; then
12493 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12495 as_fn_error 77 "cannot compute sizeof (long)
12496 See \`config.log' for more details" "$LINENO" 5; }
12497 else
12498 ac_cv_sizeof_long=0
12499 fi
12500 fi
12501
12502 fi
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12504 $as_echo "$ac_cv_sizeof_long" >&6; }
12505
12506
12507
12508 cat >>confdefs.h <<_ACEOF
12509 #define SIZEOF_LONG $ac_cv_sizeof_long
12510 _ACEOF
12511
12512
12513 # The cast to long int works around a bug in the HP C Compiler
12514 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12515 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12516 # This bug is HP SR number 8606223364.
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
12518 $as_echo_n "checking size of long long... " >&6; }
12519 if ${ac_cv_sizeof_long_long+:} false; then :
12520 $as_echo_n "(cached) " >&6
12521 else
12522 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_size of_long_long" "$ac_includes_default"; then :
12523
12524 else
12525 if test "$ac_cv_type_long_long" = yes; then
12526 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12528 as_fn_error 77 "cannot compute sizeof (long long)
12529 See \`config.log' for more details" "$LINENO" 5; }
12530 else
12531 ac_cv_sizeof_long_long=0
12532 fi
12533 fi
12534
12535 fi
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
12537 $as_echo "$ac_cv_sizeof_long_long" >&6; }
12538
12539
12540
12541 cat >>confdefs.h <<_ACEOF
12542 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12543 _ACEOF
12544
12545
12546
12547 if test x$has_char16 = "xyes" ; then
12548 case 1 in
12549 $ac_cv_sizeof_short) SIZE16="short";;
12550 $ac_cv_sizeof_int) SIZE16="int";;
12551 esac
12552 else
12553 case 2 in
12554 $ac_cv_sizeof_short) SIZE16="short";;
12555 $ac_cv_sizeof_int) SIZE16="int";;
12556 esac
12557 fi
12558
12559 if test x$has_char16 = "xyes" ; then
12560 case 2 in
12561 $ac_cv_sizeof_int) SIZE32="int";;
12562 $ac_cv_sizeof_long) SIZE32="long";;
12563 $ac_cv_sizeof_short) SIZE32="short";;
12564 esac
12565 else
12566 case 4 in
12567 $ac_cv_sizeof_int) SIZE32="int";;
12568 $ac_cv_sizeof_long) SIZE32="long";;
12569 $ac_cv_sizeof_short) SIZE32="short";;
12570 esac
12571 fi
12572
12573
12574 13038
12575 13039
12576 if test x$ac_enable_fixed = xyes; then 13040 ac_config_files="$ac_config_files Makefile opus.pc opus-uninstalled.pc celt/arm/ armopts.s doc/Makefile doc/Doxyfile"
12577 FIXED_POINT_TRUE=
12578 FIXED_POINT_FALSE='#'
12579 else
12580 FIXED_POINT_TRUE='#'
12581 FIXED_POINT_FALSE=
12582 fi
12583 13041
12584 if test x$ac_enable_custom_modes = xyes; then 13042 ac_config_headers="$ac_config_headers config.h"
12585 CUSTOM_MODES_TRUE=
12586 CUSTOM_MODES_FALSE='#'
12587 else
12588 CUSTOM_MODES_TRUE='#'
12589 CUSTOM_MODES_FALSE=
12590 fi
12591
12592
12593 if test x$ac_enable_float = xyes; then
12594 PC_BUILD="floating-point"
12595 PC_LIBM=$LIBM
12596 else
12597 PC_BUILD="fixed-point"
12598 PC_LIBM=
12599 fi
12600 if test x$ac_enable_custom_modes = xyes; then
12601 PC_BUILD="${PC_BUILD}, custom modes"
12602 PC_LIBM=$LIBM
12603 fi
12604
12605
12606
12607
12608 ac_config_files="$ac_config_files Makefile opus.pc opus-uninstalled.pc doc/Makef ile doc/Doxyfile"
12609 13043
12610 13044
12611 cat >confcache <<\_ACEOF 13045 cat >confcache <<\_ACEOF
12612 # This file is a shell script that caches the results of configure 13046 # This file is a shell script that caches the results of configure
12613 # tests run on this system so they can be shared between configure 13047 # tests run on this system so they can be shared between configure
12614 # scripts and configure runs, see configure's option --config-cache. 13048 # scripts and configure runs, see configure's option --config-cache.
12615 # It is not useful on other systems. If it contains results you don't 13049 # It is not useful on other systems. If it contains results you don't
12616 # want to keep, you may remove or edit it. 13050 # want to keep, you may remove or edit it.
12617 # 13051 #
12618 # config.status only pays attention to the cache file if you give it 13052 # config.status only pays attention to the cache file if you give it
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
12730 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12731 fi 13165 fi
12732 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 13166 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12733 as_fn_error $? "conditional \"AMDEP\" was never defined. 13167 as_fn_error $? "conditional \"AMDEP\" was never defined.
12734 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12735 fi 13169 fi
12736 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 13170 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12737 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 13171 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12738 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12739 fi 13173 fi
13174 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
13175 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
13176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13177 fi
13178 if test -z "${FIXED_POINT_TRUE}" && test -z "${FIXED_POINT_FALSE}"; then
13179 as_fn_error $? "conditional \"FIXED_POINT\" was never defined.
13180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13181 fi
13182 if test -z "${DISABLE_FLOAT_API_TRUE}" && test -z "${DISABLE_FLOAT_API_FALSE}"; then
13183 as_fn_error $? "conditional \"DISABLE_FLOAT_API\" was never defined.
13184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13185 fi
13186 if test -z "${CUSTOM_MODES_TRUE}" && test -z "${CUSTOM_MODES_FALSE}"; then
13187 as_fn_error $? "conditional \"CUSTOM_MODES\" was never defined.
13188 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13189 fi
13190 if test -z "${OPUS_ARM_INLINE_ASM_TRUE}" && test -z "${OPUS_ARM_INLINE_ASM_FALSE }"; then
13191 as_fn_error $? "conditional \"OPUS_ARM_INLINE_ASM\" was never defined.
13192 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13193 fi
13194 if test -z "${OPUS_ARM_EXTERNAL_ASM_TRUE}" && test -z "${OPUS_ARM_EXTERNAL_ASM_F ALSE}"; then
13195 as_fn_error $? "conditional \"OPUS_ARM_EXTERNAL_ASM\" was never defined.
13196 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13197 fi
13198 if test -z "${CPU_ARM_TRUE}" && test -z "${CPU_ARM_FALSE}"; then
13199 as_fn_error $? "conditional \"CPU_ARM\" was never defined.
13200 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13201 fi
13202 if test -z "${OPUS_ARM_INLINE_ASM_TRUE}" && test -z "${OPUS_ARM_INLINE_ASM_FALSE }"; then
13203 as_fn_error $? "conditional \"OPUS_ARM_INLINE_ASM\" was never defined.
13204 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13205 fi
13206 if test -z "${OPUS_ARM_EXTERNAL_ASM_TRUE}" && test -z "${OPUS_ARM_EXTERNAL_ASM_F ALSE}"; then
13207 as_fn_error $? "conditional \"OPUS_ARM_EXTERNAL_ASM\" was never defined.
13208 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13209 fi
12740 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then 13210 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
12741 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined. 13211 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
12742 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13212 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12743 fi 13213 fi
12744 if test -z "${FIXED_POINT_TRUE}" && test -z "${FIXED_POINT_FALSE}"; then 13214 if test -z "${EXTRA_PROGRAMS_TRUE}" && test -z "${EXTRA_PROGRAMS_FALSE}"; then
12745 as_fn_error $? "conditional \"FIXED_POINT\" was never defined. 13215 as_fn_error $? "conditional \"EXTRA_PROGRAMS\" was never defined.
12746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12747 fi
12748 if test -z "${CUSTOM_MODES_TRUE}" && test -z "${CUSTOM_MODES_FALSE}"; then
12749 as_fn_error $? "conditional \"CUSTOM_MODES\" was never defined.
12750 Usually this means the macro was only invoked conditionally." "$LINENO" 5 13216 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12751 fi 13217 fi
12752 13218
12753 : "${CONFIG_STATUS=./config.status}" 13219 : "${CONFIG_STATUS=./config.status}"
12754 ac_write_fail=0 13220 ac_write_fail=0
12755 ac_clean_files_save=$ac_clean_files 13221 ac_clean_files_save=$ac_clean_files
12756 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 13222 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 13223 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12758 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 13224 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12759 as_write_fail=0 13225 as_write_fail=0
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
13151 ## Main body of $CONFIG_STATUS script. ## 13617 ## Main body of $CONFIG_STATUS script. ##
13152 ## ----------------------------------- ## 13618 ## ----------------------------------- ##
13153 _ASEOF 13619 _ASEOF
13154 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 13620 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13155 13621
13156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 13622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13157 # Save the log message, to keep $0 and so on meaningful, and to 13623 # Save the log message, to keep $0 and so on meaningful, and to
13158 # report actual input values of CONFIG_FILES etc. instead of their 13624 # report actual input values of CONFIG_FILES etc. instead of their
13159 # values after options handling. 13625 # values after options handling.
13160 ac_log=" 13626 ac_log="
13161 This file was extended by $as_me, which was 13627 This file was extended by opus $as_me 1.1, which was
13162 generated by GNU Autoconf 2.68. Invocation command line was 13628 generated by GNU Autoconf 2.68. Invocation command line was
13163 13629
13164 CONFIG_FILES = $CONFIG_FILES 13630 CONFIG_FILES = $CONFIG_FILES
13165 CONFIG_HEADERS = $CONFIG_HEADERS 13631 CONFIG_HEADERS = $CONFIG_HEADERS
13166 CONFIG_LINKS = $CONFIG_LINKS 13632 CONFIG_LINKS = $CONFIG_LINKS
13167 CONFIG_COMMANDS = $CONFIG_COMMANDS 13633 CONFIG_COMMANDS = $CONFIG_COMMANDS
13168 $ $0 $@ 13634 $ $0 $@
13169 13635
13170 on `(hostname || uname -n) 2>/dev/null | sed 1q` 13636 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13171 " 13637 "
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
13211 13677
13212 Configuration files: 13678 Configuration files:
13213 $config_files 13679 $config_files
13214 13680
13215 Configuration headers: 13681 Configuration headers:
13216 $config_headers 13682 $config_headers
13217 13683
13218 Configuration commands: 13684 Configuration commands:
13219 $config_commands 13685 $config_commands
13220 13686
13221 Report bugs to the package provider." 13687 Report bugs to <opus@xiph.org>."
13222 13688
13223 _ACEOF 13689 _ACEOF
13224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 13690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13225 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`" 13691 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g '`"
13226 ac_cs_version="\\ 13692 ac_cs_version="\\
13227 config.status 13693 opus config.status 1.1
13228 configured by $0, generated by GNU Autoconf 2.68, 13694 configured by $0, generated by GNU Autoconf 2.68,
13229 with options \\"\$ac_cs_config\\" 13695 with options \\"\$ac_cs_config\\"
13230 13696
13231 Copyright (C) 2010 Free Software Foundation, Inc. 13697 Copyright (C) 2010 Free Software Foundation, Inc.
13232 This config.status script is free software; the Free Software Foundation 13698 This config.status script is free software; the Free Software Foundation
13233 gives unlimited permission to copy, distribute and modify it." 13699 gives unlimited permission to copy, distribute and modify it."
13234 13700
13235 ac_pwd='$ac_pwd' 13701 ac_pwd='$ac_pwd'
13236 srcdir='$srcdir' 13702 srcdir='$srcdir'
13237 INSTALL='$INSTALL' 13703 INSTALL='$INSTALL'
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
13623 14089
13624 14090
13625 _ACEOF 14091 _ACEOF
13626 14092
13627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 14093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13628 14094
13629 # Handling of arguments. 14095 # Handling of arguments.
13630 for ac_config_target in $ac_config_targets 14096 for ac_config_target in $ac_config_targets
13631 do 14097 do
13632 case $ac_config_target in 14098 case $ac_config_target in
13633 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13634 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 14099 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13635 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 14100 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13636 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 14101 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13637 "opus.pc") CONFIG_FILES="$CONFIG_FILES opus.pc" ;; 14102 "opus.pc") CONFIG_FILES="$CONFIG_FILES opus.pc" ;;
13638 "opus-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES opus-uninstalled.pc" ;; 14103 "opus-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES opus-uninstalled.pc" ;;
14104 "celt/arm/armopts.s") CONFIG_FILES="$CONFIG_FILES celt/arm/armopts.s" ;;
13639 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 14105 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13640 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;; 14106 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
14107 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13641 14108
13642 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 14109 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13643 esac 14110 esac
13644 done 14111 done
13645 14112
13646 14113
13647 # If the user did not use the arguments to specify the items to instantiate, 14114 # If the user did not use the arguments to specify the items to instantiate,
13648 # then the envvar interface is used. Set only those that are not. 14115 # then the envvar interface is used. Set only those that are not.
13649 # We use the long form for the default assignment because of an extremely 14116 # We use the long form for the default assignment because of an extremely
13650 # bizarre bug on SunOS 4.1.3. 14117 # bizarre bug on SunOS 4.1.3.
(...skipping 1339 matching lines...) Expand 10 before | Expand all | Expand 10 after
14990 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 15457 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14991 # would make configure fail if this is the last instruction. 15458 # would make configure fail if this is the last instruction.
14992 $ac_cs_success || as_fn_exit 1 15459 $ac_cs_success || as_fn_exit 1
14993 fi 15460 fi
14994 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 15461 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5 15462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_un recognized_opts" >&5
14996 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 15463 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14997 fi 15464 fi
14998 15465
14999 15466
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 15467 { $as_echo "$as_me:${as_lineno-$LINENO}:
15001 ------------------------------------------------------------------------ 15468 ------------------------------------------------------------------------
15002 $PACKAGE $VERSION: Automatic configuration OK. 15469 $PACKAGE_NAME $PACKAGE_VERSION: Automatic configuration OK.
15003 15470
15004 Compiler support: 15471 Compiler support:
15005 15472
15006 C99 var arrays: ................ ${has_var_arrays} 15473 C99 var arrays: ................ ${has_var_arrays}
15007 C99 lrintf: .................... ${ac_cv_func_lrintf} 15474 C99 lrintf: .................... ${ac_cv_func_lrintf}
15008 Alloca: ........................ ${has_alloca} 15475 Use alloca: .................... ${use_alloca}
15009 15476
15010 General configuration: 15477 General configuration:
15011 15478
15012 Floating point support: ........ ${ac_enable_float} 15479 Floating point support: ........ ${enable_float}
15013 Fast float approximations: ..... ${float_approx} 15480 Fast float approximations: ..... ${enable_float_approx}
15014 Fixed point debugging: ......... ${ac_enable_fixed_debug} 15481 Fixed point debugging: ......... ${enable_fixed_point_debug}
15015 Custom modes: .................. ${ac_enable_custom_modes} 15482 Inline Assembly Optimizations: . ${inline_optimization}
15016 Assertion checking: ............ ${ac_enable_assertions} 15483 External Assembly Optimizations: ${asm_optimization}
15017 Fuzzing: ....................... ${ac_enable_fuzzing} 15484 Run-time CPU detection: ........ ${rtcd_support}
15485 Custom modes: .................. ${enable_custom_modes}
15486 Assertion checking: ............ ${enable_assertions}
15487 Fuzzing: ....................... ${enable_fuzzing}
15018 15488
15019 API documentation: ............. ${ac_enable_doc} 15489 API documentation: ............. ${enable_doc}
15490 Extra programs: ................ ${enable_extra_programs}
15020 ------------------------------------------------------------------------ 15491 ------------------------------------------------------------------------
15492
15493 Type \"make; make install\" to compile and install
15494 Type \"make check\" to run the test suite
15021 " >&5 15495 " >&5
15022 $as_echo " 15496 $as_echo "$as_me:
15023 ------------------------------------------------------------------------ 15497 ------------------------------------------------------------------------
15024 $PACKAGE $VERSION: Automatic configuration OK. 15498 $PACKAGE_NAME $PACKAGE_VERSION: Automatic configuration OK.
15025 15499
15026 Compiler support: 15500 Compiler support:
15027 15501
15028 C99 var arrays: ................ ${has_var_arrays} 15502 C99 var arrays: ................ ${has_var_arrays}
15029 C99 lrintf: .................... ${ac_cv_func_lrintf} 15503 C99 lrintf: .................... ${ac_cv_func_lrintf}
15030 Alloca: ........................ ${has_alloca} 15504 Use alloca: .................... ${use_alloca}
15031 15505
15032 General configuration: 15506 General configuration:
15033 15507
15034 Floating point support: ........ ${ac_enable_float} 15508 Floating point support: ........ ${enable_float}
15035 Fast float approximations: ..... ${float_approx} 15509 Fast float approximations: ..... ${enable_float_approx}
15036 Fixed point debugging: ......... ${ac_enable_fixed_debug} 15510 Fixed point debugging: ......... ${enable_fixed_point_debug}
15037 Custom modes: .................. ${ac_enable_custom_modes} 15511 Inline Assembly Optimizations: . ${inline_optimization}
15038 Assertion checking: ............ ${ac_enable_assertions} 15512 External Assembly Optimizations: ${asm_optimization}
15039 Fuzzing: ....................... ${ac_enable_fuzzing} 15513 Run-time CPU detection: ........ ${rtcd_support}
15514 Custom modes: .................. ${enable_custom_modes}
15515 Assertion checking: ............ ${enable_assertions}
15516 Fuzzing: ....................... ${enable_fuzzing}
15040 15517
15041 API documentation: ............. ${ac_enable_doc} 15518 API documentation: ............. ${enable_doc}
15519 Extra programs: ................ ${enable_extra_programs}
15042 ------------------------------------------------------------------------ 15520 ------------------------------------------------------------------------
15043 " >&6; }
15044 15521
15045 echo "Type \"make; make install\" to compile and install"; 15522 Type \"make; make install\" to compile and install
15046 echo "Type \"make check\" to run the test suite"; 15523 Type \"make check\" to run the test suite
15524 " >&6;}
15525
OLDNEW
« no previous file with comments | « config.h.in ('k') | configure.ac » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698