2 ===================================================================
3 --- configure (revision 612)
4 +++ configure (working copy)
13 MACHINE="$(./config.guess)"
24 + RANLIB="$CROSS-ranlib"
25 + MACHINE="`echo $CROSS | sed -e 's/-/-x-/g'`"
31 + exec_prefix="$optarg"
40 + includedir="$optarg"
42 + --enable-avis-input)
45 + --disable-avis-input)
48 + --enable-mp4-output)
51 + --disable-mp4-output)
55 + ASFLAGS="$ASFLAGS ${opt#--extra-asflags=}"
58 + CFLAGS="$CFLAGS ${opt#--extra-cflags=}"
61 + LDFLAGS="$LDFLAGS ${opt#--extra-ldflags=}"
73 + CFLAGS="$CFLAGS -pg"
74 + LDFLAGS="$LDFLAGS -pg"
88 + if [ $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" ] ; then
93 + LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11"
94 + CFLAGS="$CFLAGS -DVISUALIZE=1"
98 + echo "Unknown option $opt, ignored"
104 case "${MACHINE#*-*-}" in
110 CFLAGS="$CFLAGS -DARCH_$ARCH -DSYS_$SYS"
121 - exec_prefix="$optarg"
130 - includedir="$optarg"
132 - --enable-avis-input)
135 - --disable-avis-input)
138 - --enable-mp4-output)
141 - --disable-mp4-output)
145 - ASFLAGS="$ASFLAGS ${opt#--extra-asflags=}"
148 - CFLAGS="$CFLAGS ${opt#--extra-cflags=}"
151 - LDFLAGS="$LDFLAGS ${opt#--extra-ldflags=}"
154 - pthread="auto" # can't skip detection, since it differs by OS
163 - CFLAGS="$CFLAGS -pg"
164 - LDFLAGS="$LDFLAGS -pg"
178 - if [ $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" ] ; then
182 - --enable-visualize)
183 - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11"
184 - CFLAGS="$CFLAGS -DVISUALIZE=1"
188 - echo "Unknown option $opt, ignored"
193 # autodetect options that weren't forced nor disabled
204 HAVE_GETOPT_LONG=$HAVE_GETOPT_LONG
207 ===================================================================
208 --- Makefile (revision 590)
209 +++ Makefile (working copy)
211 default: $(DEP) x264$(EXE)
213 libx264.a: .depend $(OBJS) $(OBJASM)
214 - ar rc libx264.a $(OBJS) $(OBJASM)
216 + $(AR) rc libx264.a $(OBJS) $(OBJASM)
217 + $(RANLIB) libx264.a
219 $(SONAME): .depend $(OBJS) $(OBJASM)
220 $(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME) $(LDFLAGS)
221 @@ -138,14 +138,14 @@
222 rm -f config.mak config.h x264.pc
223 $(MAKE) -C gtk distclean
225 -install: x264 $(SONAME)
227 install -d $(DESTDIR)$(bindir) $(DESTDIR)$(includedir)
228 install -d $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig
229 install -m 644 x264.h $(DESTDIR)$(includedir)
230 install -m 644 libx264.a $(DESTDIR)$(libdir)
231 install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig
232 - install x264 $(DESTDIR)$(bindir)
233 - ranlib $(DESTDIR)$(libdir)/libx264.a
234 + install x264$(EXE) $(DESTDIR)$(bindir)
235 + $(RANLIB) $(DESTDIR)$(libdir)/libx264.a
236 $(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.so)
237 $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir))