[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 1154, Sun Sep 28 13:21:59 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 86  Line 87 
87                       macosx_module="yes"                       macosx_module="yes"
88                    else                    else
89                       macosx_module="no"                       macosx_module="no"
90                    fi])                    fi],
91                      [macosx_module="no"])
92    
93  dnl ==========================================================================  dnl ==========================================================================
94  dnl Default install prefix and checks build type  dnl Default install prefix and checks build type
# Line 282  Line 284 
284          SPECIFIC_CFLAGS="-mno-cygwin"          SPECIFIC_CFLAGS="-mno-cygwin"
285          ;;          ;;
286       darwin*|raphsody*)       darwin*|raphsody*)
         AC_MSG_RESULT([ok])  
287          STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"          STATIC_LIB="libxvidcore.\$(STATIC_EXTENSION)"
288          SPECIFIC_CFLAGS="-fPIC -fno-common -no-cpp-precomp"          SPECIFIC_CFLAGS="-fPIC -fno-common -no-cpp-precomp"
289          if test x"$macosx_module" = x"no"; then          if test x"$macosx_module" = x"no"; then
290             AC_MSG_RESULT([dylib options])             AC_MSG_RESULT([dylib options])
291             SHARED_LIB="libxvidcore.\$(API_MAJOR).\$(SHARED_EXTENSION)"             SHARED_LIB="libxvidcore.\$(API_MAJOR).\$(SHARED_EXTENSION)"
292             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)"
293          else          else
294             AC_MSG_RESULT([module options])             AC_MSG_RESULT([module options])
295             PRE_SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION)-temp.o"             PRE_SHARED_LIB="libxvidcore.\$(SHARED_EXTENSION)-temp.o"
# Line 346  Line 347 
347        dnl        dnl
348        AC_MSG_CHECKING([for nasm patch version])        AC_MSG_CHECKING([for nasm patch version])
349        nasm_patch=`nasm -r | cut -d '.' -f 3 | cut -d ' ' -f 1`        nasm_patch=`nasm -r | cut -d '.' -f 3 | cut -d ' ' -f 1`
350          if test -z $nasm_patch ; then
351            nasm_patch=-1
352          fi
353        AC_MSG_RESULT([$nasm_patch])        AC_MSG_RESULT([$nasm_patch])
354    
355    
356        if test "$nasm_patch" -lt "$minimum_nasm_patch_version" ; then        if test "$nasm_patch" -lt "$minimum_nasm_patch_version" ; then
357          AC_MSG_WARN([nasm patch version too old - Compiling generic sources only])          AC_MSG_WARN([nasm patch version too old - Compiling generic sources only])
358          ARCHITECTURE="GENERIC"          ARCHITECTURE="GENERIC"

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

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