2 ===================================================================
3 --- configure (revision 560)
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=}"
59 + VFW_CFLAGS="${opt#--extra-cflags=}"
62 + LDFLAGS="$LDFLAGS ${opt#--extra-ldflags=}"
63 + VFW_LDFLAGS="${opt#--extra-ldflags=}"
75 + CFLAGS="$CFLAGS -pg"
76 + LDFLAGS="$LDFLAGS -pg"
96 + if [ $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" ] ; then
100 + --enable-visualize)
101 + LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11"
102 + CFLAGS="$CFLAGS -DVISUALIZE=1"
106 + echo "Unknown option $opt, ignored"
112 case "${MACHINE#*-*-}" in
118 CFLAGS="$CFLAGS -DARCH_$ARCH -DSYS_$SYS"
129 - exec_prefix="$optarg"
138 - includedir="$optarg"
140 - --enable-avis-input)
143 - --disable-avis-input)
146 - --enable-mp4-output)
149 - --disable-mp4-output)
153 - ASFLAGS="$ASFLAGS ${opt#--extra-asflags=}"
156 - CFLAGS="$CFLAGS ${opt#--extra-cflags=}"
157 - VFW_CFLAGS="${opt#--extra-cflags=}"
160 - LDFLAGS="$LDFLAGS ${opt#--extra-ldflags=}"
161 - VFW_LDFLAGS="${opt#--extra-ldflags=}"
173 - CFLAGS="$CFLAGS -pg"
174 - LDFLAGS="$LDFLAGS -pg"
194 - if [ $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" ] ; then
198 - --enable-visualize)
199 - LDFLAGS="$LDFLAGS -L/usr/X11R6/lib -lX11"
200 - CFLAGS="$CFLAGS -DVISUALIZE=1"
204 - echo "Unknown option $opt, ignored"
209 # autodetect options that weren't forced nor disabled
211 if test "$pthread" = "auto" ; then
220 HAVE_GETOPT_LONG=$HAVE_GETOPT_LONG
223 ===================================================================
224 --- Makefile (revision 560)
225 +++ Makefile (working copy)
227 default: $(DEP) x264$(EXE)
229 libx264.a: .depend $(OBJS) $(OBJASM)
230 - ar rc libx264.a $(OBJS) $(OBJASM)
232 + $(AR) rc libx264.a $(OBJS) $(OBJASM)
233 + $(RANLIB) libx264.a
235 $(SONAME): .depend $(OBJS) $(OBJASM)
236 $(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME) $(LDFLAGS)
237 @@ -138,14 +138,14 @@
238 rm -f config.mak config.h vfw/build/cygwin/config.mak x264.pc
239 $(MAKE) -C gtk distclean
241 -install: x264 $(SONAME)
243 install -d $(DESTDIR)$(bindir) $(DESTDIR)$(includedir)
244 install -d $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig
245 install -m 644 x264.h $(DESTDIR)$(includedir)
246 install -m 644 libx264.a $(DESTDIR)$(libdir)
247 install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig
248 - install x264 $(DESTDIR)$(bindir)
249 - ranlib $(DESTDIR)$(libdir)/libx264.a
250 + install x264$(EXE) $(DESTDIR)$(bindir)
251 + $(RANLIB) $(DESTDIR)$(libdir)/libx264.a
252 $(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.so)
253 $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir))