Index: libquicktime-1.0.0/configure.ac =================================================================== --- libquicktime-1.0.0.orig/configure.ac +++ libquicktime-1.0.0/configure.ac @@ -7,6 +7,8 @@ LQT_VERSION_MAJOR=`echo $VERSION | cut - LQT_VERSION_MINOR=`echo $VERSION | cut -d . -f 2` LQT_VERSION_MICRO=`echo $VERSION | cut -d . -f 3 | cut -d p -f 1` +USER_CFLAGS=$CFLAGS + AM_CONFIG_HEADER(config.h) AC_CANONICAL_HOST @@ -693,10 +695,15 @@ for i in $lqt_test_cflags; do LQT_TRY_CFLAGS($i, COMMON_CFLAGS="$COMMON_CFLAGS $i") ; done +if test "x${USER_CFLAGS}" = "x"; then + + dnl Optimizing flags -dnl Optimizing flags + LQT_OPT_CFLAGS($host_cpu, ["-O3 -funroll-all-loops -fomit-frame-pointer"]) -LQT_OPT_CFLAGS($host_cpu, ["-O3 -funroll-all-loops -fomit-frame-pointer"]) + CFLAGS="$OPT_CFLAGS" + +fi AH_TEMPLATE([NDEBUG], [Causes debug code to e removed]) @@ -705,7 +712,7 @@ if test x$LQT_DEBUG != xtrue; then AC_DEFINE(NDEBUG) fi -CFLAGS="$OPT_CFLAGS $COMMON_CFLAGS" +CFLAGS="$CFLAGS $COMMON_CFLAGS" # -L is required so that linker can find libquicktime when DESTDIR is used. # libtool bug, documented at: http://www.geocrawler.com/mail/thread.php3?subject=install+phase+fails&list=404