[FFmpeg-cvslog] r9324 - in trunk: configure libavcodec/Makefile

mru subversion
Fri Jun 15 22:35:44 CEST 2007


Author: mru
Date: Fri Jun 15 22:35:44 2007
New Revision: 9324

Log:
replace TARGET_* with HAVE_* simplifying lists in configure script


Modified:
   trunk/configure
   trunk/libavcodec/Makefile

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Fri Jun 15 22:35:44 2007
@@ -618,12 +618,37 @@ THREADS_LIST='
     w32threads
 '
 
-HAVE_LIST="
-    $THREADS_LIST
+ARCH_LIST='
+    alpha
+    armv4l
+    bfin
+    ia64
+    m68k
+    mips
+    parisc
+    powerpc
+    s390
+    sh4
+    sparc
+    sparc64
+    x86
+    x86_32
+    x86_64
+'
+
+ARCH_EXT_LIST='
     altivec
-    altivec_h
     armv5te
     armv6
+    iwmmxt
+    mmi
+    mmx
+'
+
+HAVE_LIST="
+    $ARCH_EXT_LIST
+    $THREADS_LIST
+    altivec_h
     arpa_inet_h
     byteswap_h
     cmov
@@ -643,7 +668,6 @@ HAVE_LIST="
     freetype2
     imlib2
     inet_aton
-    iwmmxt
     localtime_r
     lrintf
     machine_ioctl_bt848_h
@@ -651,8 +675,6 @@ HAVE_LIST="
     malloc_h
     memalign
     mlib
-    mmi
-    mmx
     os2
     sdl
     sdl_video_size
@@ -663,36 +685,9 @@ HAVE_LIST="
     threads
 "
 
-ARCH_LIST='
-    alpha
-    armv4l
-    bfin
-    ia64
-    m68k
-    mips
-    parisc
-    powerpc
-    s390
-    sh4
-    sparc
-    sparc64
-    x86
-    x86_32
-    x86_64
-'
-
-TARGET_LIST='
-    altivec
-    armv5te
-    armv6
-    iwmmxt
-    mmi
-    mmx
-'
-
 CMDLINE_SELECT="
+    $ARCH_EXT_LIST
     $CONFIG_LIST
-    $TARGET_LIST
     $THREADS_LIST
     debug
     extra_warnings
@@ -2037,7 +2032,6 @@ echo "EXTRALIBS=$extralibs" >> config.ma
 
 print_config_enable ARCH_   $TMPH config.mak $ARCH_LIST
 print_config_enable HAVE_   $TMPH config.mak $HAVE_LIST
-print_config        TARGET_ $TMPH config.mak $TARGET_LIST
 print_config_enable CONFIG_ $TMPH config.mak $CONFIG_LIST   \
                                              $DECODER_LIST  \
                                              $ENCODER_LIST  \

Modified: trunk/libavcodec/Makefile
==============================================================================
--- trunk/libavcodec/Makefile	(original)
+++ trunk/libavcodec/Makefile	Fri Jun 15 22:35:44 2007
@@ -325,7 +325,7 @@ OBJS += imgresample.o
 endif
 
 # processor-specific code
-ifeq ($(TARGET_MMX),yes)
+ifeq ($(HAVE_MMX),yes)
 OBJS += i386/fdct_mmx.o \
         i386/cputest.o \
         i386/dsputil_mmx.o \
@@ -352,13 +352,13 @@ ASM_OBJS-$(ARCH_ARMV4L)                +
 OBJS-$(ARCH_ARMV4L)                    += armv4l/dsputil_arm.o   \
                                           armv4l/mpegvideo_arm.o \
 
-OBJS-$(TARGET_IWMMXT)                  += armv4l/dsputil_iwmmxt.o   \
+OBJS-$(HAVE_IWMMXT)                    += armv4l/dsputil_iwmmxt.o   \
                                           armv4l/mpegvideo_iwmmxt.o \
 
-ASM_OBJS-$(TARGET_ARMV5TE)             += armv4l/simple_idct_armv5te.o \
+ASM_OBJS-$(HAVE_ARMV5TE)               += armv4l/simple_idct_armv5te.o \
                                           armv4l/mpegvideo_armv5te.o \
 
-ASM_OBJS-$(TARGET_ARMV6)               += armv4l/simple_idct_armv6.o \
+ASM_OBJS-$(HAVE_ARMV6)                 += armv4l/simple_idct_armv6.o \
 
 OBJS-$(ARCH_SPARC)                     += sparc/dsputil_vis.o \
 
@@ -377,7 +377,7 @@ ASM_OBJS-$(ARCH_ALPHA)                 +
 OBJS-$(ARCH_POWERPC)                   += ppc/dsputil_ppc.o   \
                                           ppc/mpegvideo_ppc.o \
 
-OBJS-$(TARGET_MMI)                     += ps2/dsputil_mmi.o   \
+OBJS-$(HAVE_MMI)                       += ps2/dsputil_mmi.o   \
                                           ps2/idct_mmi.o      \
                                           ps2/mpegvideo_mmi.o \
 
@@ -385,7 +385,7 @@ OBJS-$(ARCH_SH4)                       +
                                           sh4/dsputil_sh4.o   \
                                           sh4/dsputil_align.o \
 
-OBJS-$(TARGET_ALTIVEC)                 += ppc/dsputil_altivec.o      \
+OBJS-$(HAVE_ALTIVEC)                   += ppc/dsputil_altivec.o      \
                                           ppc/mpegvideo_altivec.o    \
                                           ppc/idct_altivec.o         \
                                           ppc/fft_altivec.o          \
@@ -394,7 +394,7 @@ OBJS-$(TARGET_ALTIVEC)                 +
                                           ppc/float_altivec.o        \
                                           ppc/int_altivec.o          \
 
-ifeq ($(TARGET_ALTIVEC),yes)
+ifeq ($(HAVE_ALTIVEC),yes)
 OBJS-$(CONFIG_H264_DECODER)            += ppc/h264_altivec.o
 OBJS-$(CONFIG_SNOW_DECODER)            += ppc/snow_altivec.o
 OBJS-$(CONFIG_VC1_DECODER)             += ppc/vc1dsp_altivec.o




More information about the ffmpeg-cvslog mailing list