Let Makefile.lite build succeed on FreeBSD amd64
[flac.git] / configure.ac
index 04277e1..46cb916 100644 (file)
@@ -2,7 +2,7 @@
 #  Copyright (C) 2001,2002,2003,2004,2005,2006,2007,2008,2009  Josh Coalson
 #
 #  This file is part the FLAC project.  FLAC is comprised of several
-#  components distributed under difference licenses.  The codec libraries
+#  components distributed under different licenses.  The codec libraries
 #  are distributed under Xiph.Org's BSD-like license (see the file
 #  COPYING.Xiph in this distribution).  All other programs, libraries, and
 #  plugins are distributed under the GPL (see COPYING.GPL).  The documentation
 # NOTE that for many of the AM_CONDITIONALs we use the prefix FLaC__
 # instead of FLAC__ since autoconf triggers off 'AC_' in strings
 
-AC_INIT(src/flac/main.c)
-AM_INIT_AUTOMAKE(flac, 1.2.1)
+AC_PREREQ(2.60)
+AC_INIT([flac], [1.3.1], [flac-dev@xiph.org], [flac], [https://www.xiph.org/flac/])
+AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_SRCDIR([src/flac/main.c])
+AC_CONFIG_MACRO_DIR([m4])
+AM_INIT_AUTOMAKE([foreign 1.10 -Wall tar-pax no-dist-gzip dist-xz subdir-objects])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
-# Enable the generation of shared libraries under Win32
-AC_LIBTOOL_WIN32_DLL
-
-# We need two libtools, one that builds both shared and static, and
-# one that builds only static.  This is because the resulting libtool
-# does not allow us to choose which to build at runtime.
-AM_PROG_LIBTOOL
-sed -e 's/^build_old_libs=yes/build_old_libs=no/' libtool > libtool-disable-static
-chmod +x libtool-disable-static
-
-AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
+user_cflags=$CFLAGS
 
+#Prefer whatever the current ISO standard is.
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+LT_INIT([win32-dll disable-static pic-only])
 AM_PROG_AS
 AC_PROG_CXX
+XIPH_C_COMPILER_IS_CLANG
+XIPH_GCC_REALLY_IS_GCC
 AC_PROG_MAKE_SET
+AC_PROG_MKDIR_P
 
 AC_SYS_LARGEFILE
 AC_FUNC_FSEEKO
 
-AC_CHECK_SIZEOF(void*,0)
-
-#@@@ new name is AC_CONFIG_HEADERS
-AM_CONFIG_HEADER(config.h)
+AC_CHECK_SIZEOF(off_t,1)       # Fake default value.
+AC_CHECK_SIZEOF([void*])
+AC_SEARCH_LIBS([lround],[m], [AC_DEFINE(HAVE_LROUND,1,lround support)])
 
-AC_LANG_PUSH(C++)
+AC_LANG_PUSH([C++])
 # c++ flavor first
 AC_C_VARARRAYS
 if test $ac_cv_c_vararrays = yes; then
        AC_DEFINE([HAVE_CXX_VARARRAYS], 1, [Define to 1 if C++ supports variable-length arrays.])
 fi
-AC_LANG_POP(C++)
+AC_LANG_POP([C++])
+
 # c flavor
 AC_HEADER_STDC
+AM_PROG_CC_C_O
+AC_C_INLINE
+AC_C_VARARRAYS
+AC_C_TYPEOF
 
-AC_CHECK_HEADERS(stdint.h)
-AC_SUBST(HAVE_STDINT_H)
-AC_CHECK_HEADERS(inttypes.h)
-AC_SUBST(HAVE_INTTYPES_H)
-AC_CHECK_HEADERS(byteswap.h)
-AC_SUBST(HAVE_BYTESWAP_H)
+AC_CHECK_HEADERS([stdint.h inttypes.h byteswap.h sys/param.h termios.h x86intrin.h cpuid.h])
 
-AC_C_VARARRAYS
+AC_HEADER_TIOCGWINSZ
 
-AC_C_BIGENDIAN
-AC_C_INLINE
+XIPH_C_BSWAP32
+XIPH_C_BSWAP16
+
+ac_cv_c_big_endian=0
+ac_cv_c_little_endian=0
+AC_C_BIGENDIAN([ac_cv_c_big_endian=1], [ac_cv_c_little_endian=1], [
+       AC_MSG_WARN([[*****************************************************************]])
+       AC_MSG_WARN([[*** Not able to determine endian-ness of target processor.       ]])
+       AC_MSG_WARN([[*** The constants CPU_IS_BIG_ENDIAN and CPU_IS_LITTLE_ENDIAN in  ]])
+       AC_MSG_WARN([[*** config.h may need to be hand editied.                        ]])
+       AC_MSG_WARN([[*****************************************************************]])
+])
+AC_DEFINE_UNQUOTED(CPU_IS_BIG_ENDIAN, ${ac_cv_c_big_endian},
+                                       [Target processor is big endian.])
+AC_DEFINE_UNQUOTED(CPU_IS_LITTLE_ENDIAN, ${ac_cv_c_little_endian},
+                                       [Target processor is little endian.])
+AC_DEFINE_UNQUOTED(WORDS_BIGENDIAN, ${ac_cv_c_big_endian},
+                                       [Target processor is big endian.])
+
+AC_ARG_ENABLE(asm-optimizations, AC_HELP_STRING([--disable-asm-optimizations], [Don't use any assembly optimization routines]), asm_opt=no, asm_opt=yes)
+dnl ' Terminate the damn single quote
+AM_CONDITIONAL(FLaC__NO_ASM, test "x$asm_opt" = xno)
+if test "x$asm_opt" = xno ; then
+AC_DEFINE(FLAC__NO_ASM)
+AH_TEMPLATE(FLAC__NO_ASM, [define to disable use of assembly code])
+fi
 
+# For the XMMS plugin.
 AC_CHECK_TYPES(socklen_t, [], [])
 
 dnl check for getopt in standard library
 dnl AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] )
 AC_CHECK_FUNCS(getopt_long, [], [])
 
+AC_CHECK_SIZEOF(void*,1)
+
+asm_optimisation=no
 case "$host_cpu" in
+       amd64|x86_64)
+               case "$host" in
+                       *gnux32)
+                               # x32 user space and 64 bit kernel.
+                               cpu_x86_64=true
+                               AC_DEFINE(FLAC__CPU_X86_64)
+                               AH_TEMPLATE(FLAC__CPU_X86_64, [define if building for x86_64])
+                               asm_optimisation=$asm_opt
+                               ;;
+                       *)
+                               if test $ac_cv_sizeof_voidp = 4 ; then
+                                       # This must be a 32 bit user space running on 64 bit kernel so treat
+                                       # this as ia32.
+                                       cpu_ia32=true
+                                       AC_DEFINE(FLAC__CPU_IA32)
+                                       AH_TEMPLATE(FLAC__CPU_IA32, [define if building for ia32/i386])
+                       else
+                                       # x86_64 user space and kernel.
+                                       cpu_x86_64=true
+                                       AC_DEFINE(FLAC__CPU_X86_64)
+                                       AH_TEMPLATE(FLAC__CPU_X86_64, [define if building for x86_64])
+                               fi
+                               asm_optimisation=$asm_opt
+                               ;;
+               esac
+               ;;
        i*86)
                cpu_ia32=true
                AC_DEFINE(FLAC__CPU_IA32)
                AH_TEMPLATE(FLAC__CPU_IA32, [define if building for ia32/i386])
+               asm_optimisation=$asm_opt
                ;;
-       powerpc)
+       powerpc|powerpc64)
                cpu_ppc=true
                AC_DEFINE(FLAC__CPU_PPC)
                AH_TEMPLATE(FLAC__CPU_PPC, [define if building for PowerPC])
+               asm_optimisation=$asm_opt
                ;;
        sparc)
                cpu_sparc=true
                AC_DEFINE(FLAC__CPU_SPARC)
                AH_TEMPLATE(FLAC__CPU_SPARC, [define if building for SPARC])
+               asm_optimisation=$asm_opt
                ;;
 esac
+AM_CONDITIONAL(FLAC__CPU_X86_64, test "x$cpu_x86_64" = xtrue)
 AM_CONDITIONAL(FLaC__CPU_IA32, test "x$cpu_ia32" = xtrue)
 AM_CONDITIONAL(FLaC__CPU_PPC, test "x$cpu_ppc" = xtrue)
 AM_CONDITIONAL(FLaC__CPU_SPARC, test "x$cpu_sparc" = xtrue)
 
+if test "x$ac_cv_header_x86intrin_h" = xyes; then
+AC_DEFINE([FLAC__HAS_X86INTRIN], 1, [Set to 1 if <x86intrin.h> is available.])
+fi
+
 case "$host" in
        i386-*-openbsd3.[[0-3]]) OBJ_FORMAT=aoutb ;;
        *-*-cygwin|*mingw*) OBJ_FORMAT=win32 ;;
@@ -103,17 +166,24 @@ case "$host" in
        *) OBJ_FORMAT=elf ;;
 esac
 AC_SUBST(OBJ_FORMAT)
-
 case "$host" in
-       *-*-cygwin|*mingw*|*emx*)
-               # define this variable for enabling strict exports with libtool; for now, it's supported by Win32 and OS/2
-               LT_NO_UNDEFINED="-no-undefined"
+       *-gnuspe)
+               abi_spe=true
+               AC_DEFINE(FLAC__CPU_PPC_SPE)
+               AH_TEMPLATE(FLAC__CPU_PPC_SPE, [define if building for PowerPC with SPE ABI])
                ;;
-       *)
-               LT_NO_UNDEFINED=
+esac
+AM_CONDITIONAL(FLaC__CPU_PPC_SPE, test "x$abi_spe" = xtrue)
+
+os_is_windows=no
+case "$host" in
+       *-*-cygwin|*mingw*)
+               CPPFLAGS="-D__MSVCRT_VERSION__=0x0601 $CPPFLAGS"
+               os_is_windows=yes
                ;;
 esac
-AC_SUBST(LT_NO_UNDEFINED)
+
+AM_CONDITIONAL(OS_IS_WINDOWS, test "x$os_is_windows" = xyes)
 
 case "$host" in
        *-pc-linux-gnu)
@@ -130,19 +200,11 @@ esac
 AM_CONDITIONAL(FLaC__SYS_DARWIN, test "x$sys_darwin" = xtrue)
 AM_CONDITIONAL(FLaC__SYS_LINUX, test "x$sys_linux" = xtrue)
 
-if test "x$cpu_ia32" = xtrue ; then
+if test "x$cpu_ia32" = xtrue || test "x$cpu_x86_64" = xtrue ; then
 AC_DEFINE(FLAC__ALIGN_MALLOC_DATA)
 AH_TEMPLATE(FLAC__ALIGN_MALLOC_DATA, [define to align allocated memory on 32-byte boundaries])
 fi
 
-AC_ARG_ENABLE(asm-optimizations, AC_HELP_STRING([--disable-asm-optimizations], [Don't use any assembly optimization routines]), asm_opt=no, asm_opt=yes)
-dnl ' Terminate the damn single quote
-AM_CONDITIONAL(FLaC__NO_ASM, test "x$asm_opt" = xno)
-if test "x$asm_opt" = xno ; then
-AC_DEFINE(FLAC__NO_ASM)
-AH_TEMPLATE(FLAC__NO_ASM, [define to disable use of assembly code])
-fi
-
 AC_ARG_ENABLE(debug,
 AC_HELP_STRING([--enable-debug], [Turn on debugging]),
 [case "${enableval}" in
@@ -153,31 +215,18 @@ esac],[debug=false])
 AM_CONDITIONAL(DEBUG, test "x$debug" = xtrue)
 
 AC_ARG_ENABLE(sse,
-AC_HELP_STRING([--enable-sse], [Enable SSE support by asserting that the OS supports SSE instructions]),
+AC_HELP_STRING([--disable-sse], [Disable SSE if the OS does not support SSE instructions]),
 [case "${enableval}" in
-       yes) sse_os=true ;;
-       no)  sse_os=false ;;
+       yes) sse_os=yes ;;
+       no)  sse_os=no ;;
        *) AC_MSG_ERROR(bad value ${enableval} for --enable-sse) ;;
-esac],[sse_os=false])
-AM_CONDITIONAL(FLaC__SSE_OS, test "x$sse_os" = xtrue)
-if test "x$sse_os" = xtrue ; then
+esac],[sse_os=yes])
+AM_CONDITIONAL(FLaC__SSE_OS, test "x$sse_os" = xyes)
+if test "x$sse_os" = xyes ; then
 AC_DEFINE(FLAC__SSE_OS)
 AH_TEMPLATE(FLAC__SSE_OS, [define if your operating system supports SSE instructions])
 fi
 
-AC_ARG_ENABLE(3dnow,
-AC_HELP_STRING([--disable-3dnow], [Disable 3DNOW! optimizations]),
-[case "${enableval}" in
-       yes) use_3dnow=true ;;
-       no)  use_3dnow=false ;;
-       *) AC_MSG_ERROR(bad value ${enableval} for --enable-3dnow) ;;
-esac],[use_3dnow=true])
-AM_CONDITIONAL(FLaC__USE_3DNOW, test "x$use_3dnow" = xtrue)
-if test "x$use_3dnow" = xtrue ; then
-AC_DEFINE(FLAC__USE_3DNOW)
-AH_TEMPLATE(FLAC__USE_3DNOW, [define to enable use of 3Dnow! instructions])
-fi
-
 AC_ARG_ENABLE(altivec,
 AC_HELP_STRING([--disable-altivec], [Disable Altivec optimizations]),
 [case "${enableval}" in
@@ -214,8 +263,11 @@ FLAC__TEST_LEVEL=2
 fi
 AC_SUBST(FLAC__TEST_LEVEL)
 
-AC_ARG_ENABLE(gcc-werror,
-       AC_HELP_STRING([--enable-gcc-werror], [enable -Werror in all Makefiles]))
+AC_ARG_ENABLE(werror,
+       AC_HELP_STRING([--enable-werror], [Enable -Werror in all Makefiles]))
+
+AC_ARG_ENABLE(stack-smash-protection,
+       AC_HELP_STRING([--enable-stack-smash-protection], [Enable GNU GCC stack smash protection]))
 
 AC_ARG_ENABLE(valgrind-testing,
 AC_HELP_STRING([--enable-valgrind-testing], [Run all tests inside Valgrind]),
@@ -280,9 +332,13 @@ fi
 
 AM_CONDITIONAL(FLaC__HAS_OGG, [test "x$have_ogg" = xyes])
 if test "x$have_ogg" = xyes ; then
-AC_DEFINE(FLAC__HAS_OGG)
-AH_TEMPLATE(FLAC__HAS_OGG, [define if you have the ogg library])
+       AC_DEFINE_UNQUOTED([FLAC__HAS_OGG],1,[define if you have the ogg library])
+       OGG_PACKAGE="ogg"
+else
+       AC_DEFINE_UNQUOTED([FLAC__HAS_OGG],0)
+       have_ogg=no
 fi
+AC_SUBST(OGG_PACKAGE)
 
 dnl check for i18n(internationalization); these are from libiconv/gettext
 AM_ICONV
@@ -303,52 +359,74 @@ AC_DEFINE(FLAC__HAS_NASM)
 AH_TEMPLATE(FLAC__HAS_NASM, [define if you are compiling for x86 and have the NASM assembler])
 fi
 
-# only matters for PowerPC
-AC_CHECK_PROGS(AS, as, as)
-AC_CHECK_PROGS(GAS, gas, gas)
-
-# try -v (apple as) and --version (gas) at the same time
-test "$AS" = "as" && as --version -v < /dev/null 2>&1 | grep Apple >/dev/null || AS=gas
-
-AM_CONDITIONAL(FLaC__HAS_AS, test "$AS" = "as")
-AM_CONDITIONAL(FLaC__HAS_GAS, test "$AS" = "gas")
-if test "$AS" = "as" ; then
-AC_DEFINE(FLAC__HAS_AS)
-AH_TEMPLATE(FLAC__HAS_AS, [define if you are compiling for PowerPC and have the 'as' assembler])
-fi
-if test "$AS" = "gas" ; then
-# funniest. macro. ever.
-AC_DEFINE(FLAC__HAS_GAS)
-AH_TEMPLATE(FLAC__HAS_GAS, [define if you are compiling for PowerPC and have the 'gas' assembler])
-fi
-
-CPPFLAGS='-I$(top_builddir) -I$(srcdir)/include -I$(top_srcdir)/include'" $CPPFLAGS"
 if test "x$debug" = xtrue; then
-       CPPFLAGS="-DDEBUG -DFLaC__INLINE= $CPPFLAGS"
+       CPPFLAGS="-DDEBUG $CPPFLAGS"
        CFLAGS="-g $CFLAGS"
 else
        CPPFLAGS="-DNDEBUG $CPPFLAGS"
-       # $ac_cv_c_inline from AC_C_INLINE
-       if test "x$ac_cv_c_inline" != xno ; then
-               CPPFLAGS="-DFLaC__INLINE=$ac_cv_c_inline $CPPFLAGS"
-       fi
-       if test "x$GCC" = xyes; then
-               CFLAGS="-O3 -funroll-loops -finline-functions -Wall -W -Winline $CFLAGS"
-       fi
+       CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//')
+       CFLAGS="-O3 -funroll-loops $CFLAGS"
 fi
 
+XIPH_GCC_VERSION
 
 if test x$ac_cv_c_compiler_gnu = xyes ; then
-       if test x$enable_gcc_werror = "xyes" ; then
-               CFLAGS="-Werror $CFLAGS"
-               CXXFLAGS="-Werror $CXXFLAGS"
+       CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Wunreachable-code -Winline " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Wconversion
+       CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef -Wunreachable-code " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Woverloaded-virtual -Wmissing-declarations
+
+       XIPH_ADD_CFLAGS([-Wdeclaration-after-statement])
+       XIPH_ADD_CFLAGS([-D_FORTIFY_SOURCE=2])
+
+       AC_LANG_PUSH([C++])
+       XIPH_ADD_CXXFLAGS([-Weffc++])
+       AC_LANG_POP([C++])
+
+       if test "$GCC_MAJOR_VERSION" -ge 4 && test "$OBJ_FORMAT" = elf; then
+               CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR"
+               CFLAGS="$CFLAGS -fvisibility=hidden"
+               CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
+               fi
+
+       if test "$GCC_MAJOR_VERSION" -ge 4 && test "$OBJ_FORMAT" = macho; then
+               CPPFLAGS="$CPPFLAGS -DFLAC__USE_VISIBILITY_ATTR"
+               CFLAGS="$CFLAGS -fvisibility=hidden"
+               CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
+               fi
+
+       if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x42" ; then
+               XIPH_ADD_CFLAGS([-fgnu89-inline])
                fi
+
+       if test "x$GCC_MAJOR_VERSION$GCC_MINOR_VERSION" = "x47" ; then
+               XIPH_ADD_CFLAGS([-fno-inline-small-functions])
+               fi
+
+       if test "x$asm_optimisation$sse_os" = "xyesyes" ; then
+               XIPH_ADD_CFLAGS([-msse2])
+               fi
+
        fi
 
+case "$host_os" in
+       "mingw32"|"os2")
+       if test "$host_cpu" = "i686"; then
+               XIPH_ADD_CFLAGS([-mstackrealign])
+               fi
+       esac
+
+XIPH_ADD_CFLAGS([-Wextra])
+
+if test x$enable_werror = "xyes" ; then
+       XIPH_ADD_CFLAGS([-Werror])
+       AC_LANG_PUSH([C++])
+       XIPH_ADD_CXXFLAGS([-Werror])
+       AC_LANG_POP([C++])
+       fi
 
-#@@@
-AM_CONDITIONAL(FLaC__HAS_AS__TEMPORARILY_DISABLED, test "yes" = "no")
-AM_CONDITIONAL(FLaC__HAS_GAS__TEMPORARILY_DISABLED, test "yes" = "no")
+if test x$enable_stack_smash_protection = "xyes" ; then
+       XIPH_GCC_STACK_PROTECTOR
+       XIPH_GXX_STACK_PROTECTOR
+       fi
 
 AC_CONFIG_FILES([ \
        Makefile \
@@ -356,9 +434,6 @@ AC_CONFIG_FILES([ \
        src/libFLAC/Makefile \
        src/libFLAC/flac.pc \
        src/libFLAC/ia32/Makefile \
-       src/libFLAC/ppc/Makefile \
-       src/libFLAC/ppc/as/Makefile \
-       src/libFLAC/ppc/gas/Makefile \
        src/libFLAC/include/Makefile \
        src/libFLAC/include/private/Makefile \
        src/libFLAC/include/protected/Makefile \
@@ -366,22 +441,9 @@ AC_CONFIG_FILES([ \
        src/libFLAC++/flac++.pc \
        src/flac/Makefile \
        src/metaflac/Makefile \
-       src/monkeys_audio_utilities/Makefile \
-       src/monkeys_audio_utilities/flac_mac/Makefile \
-       src/monkeys_audio_utilities/flac_ren/Makefile \
        src/plugin_common/Makefile \
-       src/plugin_winamp2/Makefile \
-       src/plugin_winamp2/include/Makefile \
-       src/plugin_winamp2/include/winamp2/Makefile \
        src/plugin_xmms/Makefile \
        src/share/Makefile \
-       src/share/getopt/Makefile \
-       src/share/grabbag/Makefile \
-       src/share/replaygain_analysis/Makefile \
-       src/share/replaygain_synthesis/Makefile \
-       src/share/replaygain_synthesis/include/Makefile \
-       src/share/replaygain_synthesis/include/private/Makefile \
-       src/share/utf8/Makefile \
        src/test_grabbag/Makefile \
        src/test_grabbag/cuesheet/Makefile \
        src/test_grabbag/picture/Makefile \
@@ -410,25 +472,48 @@ AC_CONFIG_FILES([ \
        include/share/Makefile \
        include/share/grabbag/Makefile \
        include/test_libs_common/Makefile \
+       doc/Doxyfile \
        doc/Makefile \
        doc/html/Makefile \
        doc/html/images/Makefile \
-       doc/html/images/hw/Makefile \
-       doc/html/ru/Makefile \
        m4/Makefile \
        man/Makefile \
+       test/common.sh \
        test/Makefile \
        test/cuesheets/Makefile \
        test/flac-to-flac-metadata-test-files/Makefile \
        test/metaflac-test-files/Makefile \
        test/pictures/Makefile \
        build/Makefile \
-       obj/Makefile \
-       obj/debug/Makefile \
-       obj/debug/bin/Makefile \
-       obj/debug/lib/Makefile \
-       obj/release/Makefile \
-       obj/release/bin/Makefile \
-       obj/release/lib/Makefile \
+       objs/Makefile \
+       objs/debug/Makefile \
+       objs/debug/bin/Makefile \
+       objs/debug/lib/Makefile \
+       objs/release/Makefile \
+       objs/release/bin/Makefile \
+       objs/release/lib/Makefile \
+       microbench/Makefile
 ])
 AC_OUTPUT
+
+AC_MSG_RESULT([
+-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-
+
+  Configuration summary :
+
+    FLAC version : ........................ ${VERSION}
+
+    Host CPU : ............................ ${host_cpu}
+    Host Vendor : ......................... ${host_vendor}
+    Host OS : ............................. ${host_os}
+])
+
+       echo "    Compiler is GCC : ..................... ${ac_cv_c_compiler_gnu}"
+if test x$ac_cv_c_compiler_gnu = xyes ; then
+       echo "    GCC version : ......................... ${GCC_VERSION}"
+fi
+       echo "    Compiler is Clang : ................... ${xiph_cv_c_compiler_clang}"
+       echo "    SSE optimizations : ................... ${sse_os}"
+       echo "    Asm optimizations : ................... ${asm_optimisation}"
+       echo "    Ogg/FLAC support : .................... ${have_ogg}"
+echo