3 if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
5 echo "Usage: ./configure [options]"
7 echo "available options:"
9 echo " --help print this message"
10 echo " --disable-avs disables avisynth support (windows only)"
11 echo " --disable-lavf disables libavformat support"
12 echo " --disable-ffms disables ffmpegsource support"
13 echo " --disable-gpac disables gpac support"
14 echo " --disable-gpl disables GPL-only features"
15 echo " --disable-pthread disables multithreaded encoding"
16 echo " --disable-swscale disables swscale support"
17 echo " --disable-asm disables platform-specific assembly optimizations"
18 echo " --enable-debug adds -g, doesn't strip"
19 echo " --enable-gprof adds -pg, doesn't strip"
20 echo " --enable-visualize enables visualization (X11 only)"
21 echo " --enable-pic build position-independent code"
22 echo " --enable-shared build libx264.so"
23 echo " --bit-depth=BIT_DEPTH sets output bit depth (8-10), default 8"
24 echo " --extra-asflags=EASFLAGS add EASFLAGS to ASFLAGS"
25 echo " --extra-cflags=ECFLAGS add ECFLAGS to CFLAGS"
26 echo " --extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS"
27 echo " --host=HOST build programs to run on HOST"
28 echo " --cross-prefix=PREFIX use PREFIX for compilation tools"
29 echo " --sysroot=SYSROOT root of cross-build tree"
35 echo -n "checking $1... " >> config.log
39 echo "yes" >> config.log
43 echo "no" >> config.log
47 echo "$1" >> config.log
52 if [ -z "$1$2" ]; then
53 log_check "whether $CC works"
54 elif [ -z "$1" ]; then
59 elif [ -z "$1" ]; then
60 log_check "whether $CC supports $3"
62 log_check "for $3 in $1";
65 [ -n "$1" ] && echo "#include <$1>" > conftest.c
66 echo "int main () { $3 return 0; }" >> conftest.c
67 if $CC conftest.c $CFLAGS $2 $LDFLAGSCLI $LDFLAGS -o conftest >conftest.log 2>&1; then
73 log_msg "Failed commandline was:"
74 log_msg "--------------------------------------------------"
75 log_msg "$CC conftest.c $CFLAGS $2 $LDFLAGSCLI $LDFLAGS"
76 cat conftest.log >> config.log
77 log_msg "--------------------------------------------------"
78 log_msg "Failed program was:"
79 log_msg "--------------------------------------------------"
80 cat conftest.c >> config.log
81 log_msg "--------------------------------------------------"
87 log_check "whether $3 is true"
89 [ -n "$1" ] && echo "#include <$1>" > conftest.c
90 echo -e "#if !($3) \n#error $4 \n#endif " >> conftest.c
92 if $CC conftest.c $CFLAGS $2 -E -o conftest >conftest.log 2>&1; then
98 log_msg "--------------------------------------------------"
99 cat conftest.log >> config.log
100 log_msg "--------------------------------------------------"
101 log_msg "Failed program was:"
102 log_msg "--------------------------------------------------"
103 cat conftest.c >> config.log
104 log_msg "--------------------------------------------------"
110 log_check "whether $AS supports $1"
111 echo "$1" > conftest.asm
112 if $AS conftest.asm $ASFLAGS $2 -o conftest.o >conftest.log 2>&1; then
118 log_msg "Failed commandline was:"
119 log_msg "--------------------------------------------------"
120 log_msg "$AS conftest.asm $ASFLAGS $2 -o conftest.o"
121 cat conftest.log >> config.log
122 log_msg "--------------------------------------------------"
123 log_msg "Failed program was:"
124 log_msg "--------------------------------------------------"
125 cat conftest.asm >> config.log
126 log_msg "--------------------------------------------------"
132 echo "#define $1$([ -n "$2" ] && echo " $2" || echo " 1")" >> config.h
141 rm -f x264_config.h config.h config.mak config.log x264.pc conftest*
144 exec_prefix='${prefix}'
145 bindir='${exec_prefix}/bin'
146 libdir='${exec_prefix}/lib'
147 includedir='${prefix}/include'
165 CFLAGS="$CFLAGS -Wall -I."
167 LDFLAGSCLI="$LDFLAGSCLI"
174 # list of all preprocessor HAVE values we can define
175 CONFIG_HAVE="MALLOC_H ALTIVEC ALTIVEC_H MMX ARMV6 ARMV6T2 NEON PTHREAD LOG2F VISUALIZE SWSCALE LAVF FFMS GPAC GF_MALLOC AVS GPL"
186 exec_prefix="$optarg"
216 ASFLAGS="$ASFLAGS ${opt#--extra-asflags=}"
219 CFLAGS="$CFLAGS ${opt#--extra-cflags=}"
222 LDFLAGS="$LDFLAGS ${opt#--extra-ldflags=}"
235 LDFLAGS="$LDFLAGS -pg"
248 host="${opt#--host=}"
251 cross_prefix="${opt#--cross-prefix=}"
254 CFLAGS="$CFLAGS --sysroot=${opt#--sysroot=}"
255 LDFLAGS="$LDFLAGS --sysroot=${opt#--sysroot=}"
258 bit_depth="${opt#--bit-depth=}"
259 if [ "$bit_depth" -lt "8" -o "$bit_depth" -gt "10" ]; then
260 echo "Supplied bit depth must be in range [8,10]."
263 bit_depth=`expr $bit_depth + 0`
266 echo "Unknown option $opt, ignored"
271 CC="${CC-${cross_prefix}gcc}"
272 AR="${AR-${cross_prefix}ar}"
273 RANLIB="${RANLIB-${cross_prefix}ranlib}"
274 STRIP="${STRIP-${cross_prefix}strip}"
276 if [ "x$host" = x ]; then
277 host=`./config.guess`
279 # normalize a triplet into a quadruplet
280 host=`./config.sub $host`
283 host_cpu="${host%%-*}"
285 host_vendor="${host%%-*}"
295 CFLAGS="$CFLAGS -falign-loops=16"
296 LDFLAGS="$LDFLAGS -lm"
297 if [ "$pic" = "no" ]; then
298 cc_check "" -mdynamic-no-pic && CFLAGS="$CFLAGS -mdynamic-no-pic"
303 LDFLAGS="$LDFLAGS -lm"
308 LDFLAGS="$LDFLAGS -lm"
312 LDFLAGS="$LDFLAGS -lm"
316 LDFLAGS="$LDFLAGS -lm"
321 LDFLAGS="$LDFLAGS -lm"
327 if cc_check "" -mno-cygwin; then
328 CFLAGS="$CFLAGS -mno-cygwin"
329 LDFLAGS="$LDFLAGS -mno-cygwin"
340 LDFLAGS="$LDFLAGS -lm"
344 die "Unknown system $host, edit the configure"
352 ASFLAGS="$ASFLAGS -O2"
353 if [[ "$asm" == auto && "$CFLAGS" != *-march* ]]; then
354 CFLAGS="$CFLAGS -march=i686"
356 if [[ "$asm" == auto && "$CFLAGS" != *-mfpmath* ]]; then
357 CFLAGS="$CFLAGS -mfpmath=sse -msse"
359 if [ "$SYS" = MACOSX ]; then
360 ASFLAGS="$ASFLAGS -f macho -DPREFIX"
361 elif [ "$SYS" = MINGW ]; then
362 ASFLAGS="$ASFLAGS -f win32 -DPREFIX"
363 LDFLAGS="$LDFLAGS -Wl,--large-address-aware"
365 ASFLAGS="$ASFLAGS -f elf"
371 if [ "$SYS" = MACOSX ]; then
372 ASFLAGS="$ASFLAGS -f macho64 -m amd64 -DPIC -DPREFIX"
373 if cc_check '' "-arch x86_64"; then
374 CFLAGS="$CFLAGS -arch x86_64"
375 LDFLAGS="$LDFLAGS -arch x86_64"
377 elif [ "$SYS" = MINGW ]; then
378 ASFLAGS="$ASFLAGS -f win32 -m amd64"
379 cc_check "" "-S" && grep -q "_main:" conftest && ASFLAGS="$ASFLAGS -DPREFIX"
381 ASFLAGS="$ASFLAGS -f elf -m amd64"
386 if [ $asm = auto ] ; then
388 AS="${AS-${cross_prefix}gcc}"
389 if [ $SYS = MACOSX ] ; then
390 CFLAGS="$CFLAGS -faltivec -fastf -mcpu=G4"
392 CFLAGS="$CFLAGS -maltivec -mabi=altivec"
393 define HAVE_ALTIVEC_H
401 if [ $asm = auto ]; then
403 if ! echo $CFLAGS | grep -Eq '\-mcpu' ; then
404 CFLAGS="$CFLAGS -mcpu=ultrasparc"
405 LDFLAGS="$LDFLAGS -mcpu=ultrasparc"
407 AS="${AS-${cross_prefix}as}"
408 ASFLAGS="$ASFLAGS -xarch=v8plusa"
413 mips|mipsel|mips64|mips64el)
418 if [ "$SYS" = MACOSX ] ; then
419 AS="${AS-extras/gas-preprocessor.pl $CC}"
420 ASFLAGS="$ASFLAGS -DPREFIX -DPIC" # apple's ld doesn't support movw/movt relocations at all
421 # build for armv7 by default
422 if ! echo $CFLAGS | grep -Eq '\-arch' ; then
423 CFLAGS="$CFLAGS -arch armv7"
424 LDFLAGS="$LDFLAGS -arch armv7"
427 AS="${AS-${cross_prefix}gcc}"
440 ARCH="$(echo $host_cpu | tr a-z A-Z)"
444 log_msg "x264 configure script"
446 msg="Command line options:"
456 cc_check || die "No working C compiler found."
458 if cc_check '' -std=gnu99 ; then
459 CFLAGS="$CFLAGS -std=gnu99"
460 elif cc_check '' -std=c99 ; then
461 CFLAGS="$CFLAGS -std=c99 -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE"
464 if [ $shared = yes -a \( $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" -o $ARCH = "ARM" -o $ARCH = "IA64" \) ] ; then
468 if [ $asm = auto -a \( $ARCH = X86 -o $ARCH = X86_64 \) ] ; then
469 if ! as_check "lzcnt eax, eax" ; then
470 VER=`($AS --version || echo no assembler) 2>$DEVNULL | head -n 1`
472 echo "Minimum version is yasm-0.6.2"
473 echo "If you really want to compile without asm, configure with --disable-asm."
476 if ! cc_check '' '' '__asm__("pabsw %xmm0, %xmm0");' ; then
477 VER=`(as --version || echo no gnu as) 2>$DEVNULL | head -n 1`
479 echo "Minimum version is binutils-2.17"
480 echo "Your compiler can't handle inline SSSE3 asm."
481 echo "If you really want to compile without asm, configure with --disable-asm."
487 if [ $asm = auto -a $ARCH = ARM ] ; then
488 # set flags so neon is built by default
489 echo $CFLAGS | grep -Eq '(-mcpu|-march|-mfpu|-mfloat-abi)' || CFLAGS="$CFLAGS -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
491 if cc_check '' '' '__asm__("rev ip, ip");' ; then define HAVE_ARMV6
492 cc_check '' '' '__asm__("movt r0, #0");' && define HAVE_ARMV6T2
493 cc_check '' '' '__asm__("vadd.i16 q0, q0, q0");' && define HAVE_NEON
494 ASFLAGS="$ASFLAGS $CFLAGS -c"
496 echo "You specified a pre-ARMv6 or Thumb-1 CPU in your CFLAGS."
497 echo "If you really want to run on such a CPU, configure with --disable-asm."
502 [ $asm = no ] && AS=""
503 [ "x$AS" = x ] && asm="no" || asm="yes"
508 echo "int i[2] = {0x42494745,0}; double f[2] = {0x1.0656e6469616ep+102,0};" > conftest.c
509 $CC $CFLAGS conftest.c -c -o conftest.o 2>$DEVNULL || die "endian test failed"
510 if (strings -a conftest.o | grep -q BIGE) && (strings -a conftest.o | grep -q FPendian) ; then
511 define WORDS_BIGENDIAN
512 elif !(strings -a conftest.o | grep -q EGIB && strings -a conftest.o | grep -q naidnePF) ; then
513 die "endian test failed"
516 # autodetect options that weren't forced nor disabled
519 if test "$pthread" = "auto" ; then
526 if cc_check pthread.h -lpthread "pthread_create(0,0,0,0);" ; then
528 libpthread="-lpthread"
529 elif cc_check pthread.h -lpthreadGC2 "pthread_create(0,0,0,0);" ; then
531 libpthread="-lpthreadGC2"
532 elif cc_check pthread.h "-lpthreadGC2 -lwsock32 -DPTW32_STATIC_LIB" "pthread_create(0,0,0,0);" ; then
534 libpthread="-lpthreadGC2 -lwsock32"
535 define PTW32_STATIC_LIB
536 elif cc_check pthread.h "-lpthreadGC2 -lws2_32 -DPTW32_STATIC_LIB" "pthread_create(0,0,0,0);" ; then
538 libpthread="-lpthreadGC2 -lws2_32"
539 define PTW32_STATIC_LIB
543 cc_check pthread.h -pthread && pthread="yes" && libpthread="-pthread"
546 cc_check pthread.h -lpthread && pthread="yes" && libpthread="-lpthread"
550 if test "$pthread" = "yes" ; then
552 LDFLAGS="$LDFLAGS $libpthread"
555 if cc_check "math.h" "-Werror" "return log2f(2);" ; then
559 if [ "$vis" = "yes" ] ; then
560 save_CFLAGS="$CFLAGS"
561 CFLAGS="$CFLAGS -I/usr/X11R6/include"
562 if cc_check "X11/Xlib.h" "-L/usr/X11R6/lib -lX11" "XOpenDisplay(0);" ; then
563 LDFLAGS="-L/usr/X11R6/lib -lX11 $LDFLAGS"
564 define HAVE_VISUALIZE
567 CFLAGS="$save_CFLAGS"
571 if [ "$swscale" = "auto" ] ; then
573 if ${cross_prefix}pkg-config --exists libswscale 2>$DEVNULL; then
574 SWSCALE_LIBS="$SWSCALE_LIBS $(${cross_prefix}pkg-config --libs libswscale)"
575 SWSCALE_CFLAGS="$SWSCALE_CFLAGS $(${cross_prefix}pkg-config --cflags libswscale)"
577 [ -z "$SWSCALE_LIBS" ] && SWSCALE_LIBS="-lswscale -lavutil"
579 error="swscale must be at least version 0.9.0"
580 if cc_check "libswscale/swscale.h" "$SWSCALE_CFLAGS $SWSCALE_LIBS" "sws_getContext(0,0,0,0,0,0,0,0,0,0);" ; then
581 if cpp_check "libswscale/swscale.h" "$SWSCALE_CFLAGS" "LIBSWSCALE_VERSION_INT >= AV_VERSION_INT(0,9,0)" "$error"; then
582 # we use colorspaces that were defined in libavutil r19775
583 if cc_check "libavutil/pixfmt.h" "$SWSCALE_CFLAGS" "enum PixelFormat pixfmt = PIX_FMT_YUV422P16LE;" ; then
586 echo "Warning: libavutil is too old, update to ffmpeg r19775+"
589 echo "Warning: ${error}"
594 if [ "$lavf" = "auto" ] ; then
596 if ${cross_prefix}pkg-config --exists libavformat libavcodec libswscale 2>$DEVNULL; then
597 LAVF_LIBS="$LAVF_LIBS $(${cross_prefix}pkg-config --libs libavformat libavcodec libavutil libswscale)"
598 LAVF_CFLAGS="$LAVF_CFLAGS $(${cross_prefix}pkg-config --cflags libavformat libavcodec libavutil libswscale)"
600 if [ -z "$LAVF_LIBS" -a -z "$LAVF_CFLAGS" ]; then
601 LAVF_LIBS="-lavformat"
602 for lib in -lpostproc -lavcodec -lavcore -lswscale -lavutil -lm -lz -lbz2 $libpthread -lavifil32; do
603 cc_check "" $lib && LAVF_LIBS="$LAVF_LIBS $lib"
606 LAVF_LIBS="-L. $LAVF_LIBS"
607 if cc_check libavformat/avformat.h "$LAVF_CFLAGS $LAVF_LIBS" "avcodec_decode_video2(0,0,0,0);" ; then
608 # libvautil/pixdesc.h included the private header intreadwrite.h until r21854
609 if cc_check libavutil/pixdesc.h "$LAVF_CFLAGS $LAVF_LIBS" ; then
610 if [ "$swscale" = "yes" ]; then
613 echo "Warning: libavformat is not supported without swscale support"
616 echo "Warning: libavutil is too old, update to ffmpeg r21854+"
621 if [ "$ffms" = "auto" ] ; then
622 ffms_major="2"; ffms_minor="14"; ffms_micro="0"; ffms_bump="0"
625 if ${cross_prefix}pkg-config --exists ffms2 2>$DEVNULL; then
626 FFMS2_LIBS="$FFMS2_LIBS $(${cross_prefix}pkg-config --libs ffms2)"
627 FFMS2_CFLAGS="$FFMS2_CFLAGS $(${cross_prefix}pkg-config --cflags ffms2)"
629 [ -z "$FFMS2_LIBS" ] && FFMS2_LIBS="-lffms2"
631 if cc_check ffms.h "$FFMS2_CFLAGS $FFMS2_LIBS" "FFMS_DestroyVideoSource(0);" ; then
633 elif cc_check ffms.h "$FFMS2_CFLAGS $FFMS2_LIBS -lstdc++ $LAVF_LIBS" "FFMS_DestroyVideoSource(0);" ; then
635 FFMS2_LIBS="$FFMS2_LIBS -lstdc++ $LAVF_LIBS"
638 error="ffms must be at least version $ffms_major.$ffms_minor.$ffms_micro.$ffms_bump"
639 if [ $ffms = "yes" ] && ! cpp_check "ffms.h" "$FFMS2_CFLAGS" "FFMS_VERSION >= (($ffms_major << 24) | ($ffms_minor << 16) | ($ffms_micro << 8) | $ffms_bump)" "$error"; then
641 echo "Warning: $error"
643 if [ "$ffms" = "yes" -a "$swscale" = "no" ]; then
644 echo "Warning: ffms is not supported without swscale support"
649 if [ "$swscale" = "yes" ]; then
650 LDFLAGSCLI="$SWSCALE_LIBS $LDFLAGSCLI"
651 CFLAGS="$CFLAGS $SWSCALE_CFLAGS"
653 if [ "$lavf" = "yes" ]; then
654 LDFLAGSCLI="$LAVF_LIBS $LDFLAGSCLI"
655 CFLAGS="$CFLAGS $LAVF_CFLAGS"
658 if [ "$ffms" = "yes" ]; then
659 LDFLAGSCLI="$FFMS2_LIBS $LDFLAGSCLI"
660 CFLAGS="$CFLAGS $FFMS2_CFLAGS"
665 GPAC_LIBS="-lgpac_static"
666 if [ $SYS = MINGW ]; then
667 GPAC_LIBS="$GPAC_LIBS -lwinmm"
669 if [ "$gpac" = "auto" ] ; then
671 if cc_check gpac/isomedia.h "$GPAC_LIBS" ; then
672 if cc_check gpac/isomedia.h "$GPAC_LIBS" "gf_isom_set_pixel_aspect_ratio(0,0,0,0,0);" ; then
675 echo "Warning: gpac is too old, update to 2007-06-21 UTC or later"
679 if [ "$gpac" = "yes" ] ; then
681 if cc_check gpac/isomedia.h "-Werror $GPAC_LIBS" "gf_malloc(1); gf_free(NULL);" ; then
682 define HAVE_GF_MALLOC
684 LDFLAGSCLI="$GPAC_LIBS $LDFLAGSCLI"
687 if [ "$avs" = "auto" ] ; then
689 if [ $SYS = MINGW ] && cc_check extras/avisynth_c.h ; then
695 if [ "$pic" = "yes" ] ; then
696 CFLAGS="$CFLAGS -fPIC"
697 ASFLAGS="$ASFLAGS -DPIC"
698 # resolve textrels in the x86 asm
699 cc_check stdio.h -Wl,-Bsymbolic && LDFLAGS="$LDFLAGS -Wl,-Bsymbolic"
702 if [ "$debug" != "yes" -a "$gprof" != "yes" ]; then
703 CFLAGS="$CFLAGS -s -fomit-frame-pointer"
704 LDFLAGS="$LDFLAGS -s"
707 if [ "$debug" = "yes" ]; then
708 CFLAGS="-O1 -g $CFLAGS"
709 elif [ $ARCH = ARM ]; then
710 # arm-gcc-4.2 produces incorrect output with -ffast-math
711 # and it doesn't save any speed anyway on 4.4, so disable it
712 CFLAGS="-O3 -fno-fast-math $CFLAGS"
714 CFLAGS="-O3 -ffast-math $CFLAGS"
717 if cc_check '' -fno-tree-vectorize ; then
718 CFLAGS="$CFLAGS -fno-tree-vectorize"
721 if [ $SYS = MINGW -a $ARCH = X86 ] ; then
722 # workaround gcc/ld bug with alignment of static variables/arrays that are initialized to zero
723 cc_check '' -fno-zero-initialized-in-bss && CFLAGS="$CFLAGS -fno-zero-initialized-in-bss"
726 if cc_check "stdio.h" "" "fseeko(stdin,0,0);" ; then
729 elif cc_check "stdio.h" "" "fseeko64(stdin,0,0);" ; then
730 define fseek fseeko64
731 define ftell ftello64
734 if cc_check '' -Wshadow ; then
735 CFLAGS="-Wshadow $CFLAGS"
738 if [ "$bit_depth" -gt "8" ]; then
739 define HIGH_BIT_DEPTH
740 ASFLAGS="$ASFLAGS -DHIGH_BIT_DEPTH"
743 ASFLAGS="$ASFLAGS -DBIT_DEPTH=$bit_depth"
745 [ $gpl = yes ] && define HAVE_GPL && x264_gpl=1 || x264_gpl=0
747 #define undefined vars as 0
748 for var in $CONFIG_HAVE; do
749 grep -q "HAVE_$var 1" config.h || define HAVE_$var 0
754 # generate exported config file
756 cat > x264_config.h << EOF
757 #define X264_BIT_DEPTH $bit_depth
758 #define X264_GPL $x264_gpl
761 # generate config files
763 cat > config.mak << EOF
765 exec_prefix=$exec_prefix
768 includedir=$includedir
774 LDFLAGSCLI=$LDFLAGSCLI
781 HAVE_GETOPT_LONG=$HAVE_GETOPT_LONG
785 if [ "$shared" = "yes" ]; then
786 API=$(grep '#define X264_BUILD' < x264.h | cut -f 3 -d ' ')
787 if [ "$SYS" = "MINGW" ]; then
788 echo "SONAME=libx264-$API.dll" >> config.mak
789 echo 'IMPLIBNAME=libx264.dll.a' >> config.mak
790 echo 'SOFLAGS=-Wl,--out-implib,$(IMPLIBNAME) -Wl,--enable-auto-image-base' >> config.mak
791 elif [ "$SYS" = "MACOSX" ]; then
792 echo "SOSUFFIX=dylib" >> config.mak
793 echo "SONAME=libx264.$API.dylib" >> config.mak
794 echo 'SOFLAGS=-dynamiclib -Wl,-single_module -Wl,-read_only_relocs,suppress -install_name $(DESTDIR)$(libdir)/$(SONAME)' >> config.mak
795 elif [ "$SYS" = "SunOS" ]; then
796 echo "SOSUFFIX=so" >> config.mak
797 echo "SONAME=libx264.so.$API" >> config.mak
798 echo 'SOFLAGS=-Wl,-h,$(SONAME)' >> config.mak
800 echo "SOSUFFIX=so" >> config.mak
801 echo "SONAME=libx264.so.$API" >> config.mak
802 echo 'SOFLAGS=-Wl,-soname,$(SONAME)' >> config.mak
804 echo 'default: $(SONAME)' >> config.mak
807 ./version.sh >> config.h
809 pclibs="-L$libdir -lx264 $libpthread"
813 exec_prefix=$exec_prefix
815 includedir=$includedir
818 Description: H.264 (MPEG4 AVC) encoder library
819 Version: $(grep POINTVER < config.h | sed -e 's/.* "//; s/".*//')
821 Cflags: -I$includedir
824 filters="crop select_every"
826 [ $swscale = yes ] && filters="resize $filters"
827 [ $gpl = yes ] && filters="$filters $gpl_filters"
829 cat > conftest.log <<EOF
845 bit depth: $bit_depth
849 cat conftest.log >> config.log
854 echo "You can run 'make' or 'make fprofiled' now."