--- ../libquicktime-0.9.4.orig/configure.ac 2005-03-12 18:32:46.604712360 +0100 +++ configure.ac 2005-03-12 19:39:42.743166512 +0100 @@ -32,7 +32,6 @@ AC_LIBTOOL_DLOPEN AM_PROG_LIBTOOL -AC_PROG_CC AC_LANG_C AC_C_BIGENDIAN @@ -50,25 +49,6 @@ AC_SUBST(AS) AC_SUBST(ASFLAGS) -dnl Build CFLAGS - -COMMON_CFLAGS=" -finline-functions -Wall -Winline" -PROFILE_CFLAGS=" -pg -fprofile-arcs -ftest-coverage" -DEBUG_CFLAGS=" -g3" - -dnl Optimizing flags - -OPTIMIZE_CFLAGS="-O3" - -AC_TRY_CFLAGS([-funroll-all-loops], [OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS -funroll-all-loops"]) -AC_TRY_CFLAGS([-fomit-frame-pointer], [OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS -fomit-frame-pointer"]) -AC_TRY_CFLAGS([-falign-loops=2], [OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS -falign-loops=2"]) -AC_TRY_CFLAGS([-falign-jumps=2], [OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS -falign-jumps=2"]) -AC_TRY_CFLAGS([-falign-functions=2], [OPTIMIZE_CFLAGS="$OPTIMIZE_CFLAGS -falign-functions=2"]) - -# -Wno-unused-variable -Wno-unused-parameter -# -std=gnu99 - have_debug=false have_profile=false compile_mode="optimize" @@ -101,11 +81,13 @@ fi case $compile_mode in -"optimize") CFLAGS="$OPTIMIZE_CFLAGS $COMMON_CFLAGS"; AC_DEFINE(NDEBUG);; +"optimize") CFLAGS="$CFLAGS"; AC_DEFINE(NDEBUG);; "debug") CFLAGS="$DEBUG_CFLAGS $COMMON_CFLAGS" ;; "profile") CFLAGS="$PROFILE_CFLAGS $COMMON_CFLAGS"; AC_DEFINE(NDEBUG);; esac +AC_PROG_CC + AC_SUBST(LIBS) AH_TEMPLATE([_GNU_SOURCE],