X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure.ac.in;h=f87093a44f2598e7c7a01336d4c2066abb8d1a7f;hb=ea9bb58e40f8f2f01c2ed64f0b272a5d9d5027f5;hp=9128cc763e12d014e6cf6c11e7a85760f93909da;hpb=eb0eac06d7d6d85fe9a88c3184d70de9d13ca0d9;p=vlc diff --git a/configure.ac.in b/configure.ac.in index 9128cc763e..f87093a44f 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -154,7 +154,7 @@ case "x${target_os}" in LDFLAGS_vlc="${LDFLAGS_vlc} -lbe" LDFLAGS_plugins="${LDFLAGS_plugins} -nostart" LDFLAGS_beos="${LDFLAGS_beos} -lbe -lmedia -lroot -ltracker -lstdc++.r4 -ltranslation" - dnl BONE or not BONE ? + dnl BONE or not BONE ? only BONE has libbind.so AC_CHECK_LIB( bind, inet_ntoa, [ LDFLAGS_access_mms="${LDFLAGS_access_mms} -lbind" LDFLAGS_ipv4="${LDFLAGS_ipv4} -lbind" @@ -681,12 +681,16 @@ if test "x${ac_cv_c_fast_math}" != "xno"; then fi dnl Check for -funroll-loops -AC_CACHE_CHECK([if \$CC accepts -funroll-loops], - [ac_cv_c_unroll_loops], - [CFLAGS="${CFLAGS_save} -funroll-loops" - AC_TRY_COMPILE([],,ac_cv_c_unroll_loops=yes, ac_cv_c_unroll_loops=no)]) -if test "x${ac_cv_c_unroll_loops}" != "xno"; then - CFLAGS_OPTIM="${CFLAGS_OPTIM} -funroll-loops" +dnl Disabled on BeOS because BeOS' gcc is buggy and may crash with it +if test "x${SYS}" != "xbeos" +then + AC_CACHE_CHECK([if \$CC accepts -funroll-loops], + [ac_cv_c_unroll_loops], + [CFLAGS="${CFLAGS_save} -funroll-loops" + AC_TRY_COMPILE([],,ac_cv_c_unroll_loops=yes, ac_cv_c_unroll_loops=no)]) + if test "x${ac_cv_c_unroll_loops}" != "xno"; then + CFLAGS_OPTIM="${CFLAGS_OPTIM} -funroll-loops" + fi fi dnl Check for -fomit-frame-pointer