[svn] / branches / dev-api-4 / xvidcore / build / generic / configure.in Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/build/generic/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1152, Thu Sep 11 17:11:49 2003 UTC revision 1169, Fri Oct 3 16:57:55 2003 UTC
# Line 19  Line 19 
19    
20  dnl Default CFLAGS -- Big impact on overall speed  dnl Default CFLAGS -- Big impact on overall speed
21  our_cflags_defaults="-Wall"  our_cflags_defaults="-Wall"
22  our_cflags_defaults="$our_cflags_defaults -O2"  our_cflags_defaults="$our_cflags_defaults -O1"
23  our_cflags_defaults="$our_cflags_defaults -fomit-frame-pointer"  our_cflags_defaults="$our_cflags_defaults -fstrength-reduce"
24    our_cflags_defaults="$our_cflags_defaults -finline-functions"
25    our_cflags_defaults="$our_cflags_defaults -fgcse"
26    our_cflags_defaults="$our_cflags_defaults -freduce-all-givs"
27  our_cflags_defaults="$our_cflags_defaults -ffast-math"  our_cflags_defaults="$our_cflags_defaults -ffast-math"
28  our_cflags_defaults="$our_cflags_defaults -funroll-loops"  our_cfalgs_defaults="$our_cflags_defaults -fomit-frame-pointer"
 our_cflags_defaults="$our_cflags_defaults -fschedule-insns"  
 our_cflags_defaults="$our_cflags_defaults -fschedule-insns2"  
29    
30  dnl ==========================================================================  dnl ==========================================================================
31  dnl Features - configure options  dnl Features - configure options
# Line 32  Line 33 
33    
34  FEATURES=""  FEATURES=""
35    
 dnl BIGLUT aka old VLC code  
 AC_ARG_ENABLE(oldvlc,  
                 AC_HELP_STRING([--enable-oldvlc],  
                                  [Enable old VLC code (Needs much more memory ~10MB)]),  
                 [if test "$enable_oldvlc" = "yes" ; then  
                     FEATURES="$FEATURES -DBIGLUT"  
                  fi])  
   
36  dnl Internal Debug  dnl Internal Debug
37  AC_ARG_ENABLE(idebug,  AC_ARG_ENABLE(idebug,
38                  AC_HELP_STRING([--enable-idebug],                  AC_HELP_STRING([--enable-idebug],
# Line 86  Line 79 
79                       macosx_module="yes"                       macosx_module="yes"
80                    else                    else
81                       macosx_module="no"                       macosx_module="no"
82                    fi])                    fi],
83                      [macosx_module="no"])
84    
85  dnl ==========================================================================  dnl ==========================================================================
86  dnl Default install prefix and checks build type  dnl Default install prefix and checks build type
# Line 282  Line 276 
276          SPECIFIC_CFLAGS="-mno-cygwin"          SPECIFIC_CFLAGS="-mno-cygwin"
277          ;;          ;;
278       darwin*|raphsody*)       darwin*|raphsody*)
         AC_MSG_RESULT([ok])  
279          STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"          STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
280          SPECIFIC_CFLAGS="-fPIC -fno-common -no-cpp-precomp"          SPECIFIC_CFLAGS="-fPIC -fno-common -no-cpp-precomp"
281          if test x"$macosx_module" = x"no"; then          if test x"$macosx_module" = x"no"; then
282             AC_MSG_RESULT([dylib options])             AC_MSG_RESULT([dylib options])
283             SHARED_LIB="libxvidcore.\$(API_MAJOR).\$(SHARED_EXTENSION)"             SHARED_LIB="libxvidcore.\$(API_MAJOR).\$(SHARED_EXTENSION)"
284             SPECIFIC_LDFLAGS="-dynamiclib -flat_namespace -compatibility_version \$(API_MAJOR) -current_version \$(API_MINOR) -install_name \$(libdir)/\$(SHARED_LIB)"             SPECIFIC_LDFLAGS="-dynamiclib -flat_namespace -compatibility_version \$(API_MAJOR) -current_version \$(API_MAJOR).\$(API_MINOR) -install_name \$(libdir)/\$(SHARED_LIB)"
285          else          else
286             AC_MSG_RESULT([module options])             AC_MSG_RESULT([module options])
287             PRE_SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION)-temp.o"             PRE_SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION)-temp.o"
# Line 346  Line 339 
339        dnl        dnl
340        AC_MSG_CHECKING([for nasm patch version])        AC_MSG_CHECKING([for nasm patch version])
341        nasm_patch=`nasm -r | cut -d '.' -f 3 | cut -d ' ' -f 1`        nasm_patch=`nasm -r | cut -d '.' -f 3 | cut -d ' ' -f 1`
342          if test -z $nasm_patch ; then
343            nasm_patch=-1
344          fi
345        AC_MSG_RESULT([$nasm_patch])        AC_MSG_RESULT([$nasm_patch])
346    
347    
348        if test "$nasm_patch" -lt "$minimum_nasm_patch_version" ; then        if test "$nasm_patch" -lt "$minimum_nasm_patch_version" ; then
349          AC_MSG_WARN([nasm patch version too old - Compiling generic sources only])          AC_MSG_WARN([nasm patch version too old - Compiling generic sources only])
350          ARCHITECTURE="GENERIC"          ARCHITECTURE="GENERIC"

Legend:
Removed from v.1152  
changed lines
  Added in v.1169

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4