]> git.sesse.net Git - vlc/commitdiff
theora contrib: run autogen.sh with the full configure arguments
authorRafaël Carré <rafael.carre@gmail.com>
Mon, 31 Aug 2009 11:06:23 +0000 (13:06 +0200)
committerRafaël Carré <rafael.carre@gmail.com>
Mon, 31 Aug 2009 11:06:23 +0000 (13:06 +0200)
It will run configure itself and can break when cross compiling

extras/contrib/src/Makefile

index 656f25fbc72b50ea7dc5cb098dd80004541176c4..b8827c2e72ac84d845cddb6064b859114295d811 100644 (file)
@@ -765,7 +765,6 @@ endif
 ifdef HAVE_WIN32
        patch -p0 < Patches/theora-doc.patch
 endif
-       (cd $@; ./autogen.sh)
 
 THEORACONF = --disable-sdltest --disable-oggtest --disable-vorbistest --disable-examples
 ifdef HAVE_WIN32
@@ -780,7 +779,7 @@ THEORACONF += --disable-asm
 endif
 
 .theora: libtheora .ogg
-       (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) $(THEORACONF) && make && make install)
+       (cd $<; $(HOSTCC) ./autogen.sh $(HOSTCONF) --prefix=$(PREFIX) $(THEORACONF) && make && make install)
        $(INSTALL_NAME)
        touch $@