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

extras/contrib/src/Makefile

index a3304fff98e1cae0aab4673af6debafa3f1472bb..db932b3f4144b1de1386e128e314e2aae50d0251 100644 (file)
@@ -716,7 +716,7 @@ ifdef SVN
 tremor:
        $(SVN) co http://svn.xiph.org/trunk/Tremor tremor
        (cd $@ && patch -p0 < ../Patches/tremor.patch)
-       (cd $@; rm -f ogg.h && echo "#include <ogg/ogg.h>" > ogg.h && rm -f os_types.h && echo "#include <ogg/os_types.h>" > os_types.h && ./autogen.sh)
+       (cd $@; rm -f ogg.h && echo "#include <ogg/ogg.h>" > ogg.h && rm -f os_types.h && echo "#include <ogg/os_types.h>" > os_types.h)
 else
 tremor-$(TREMOR_VERSION).tar.bz2:
        echo "tremor snapshot does not exist, you MUST use subversion !"
@@ -728,7 +728,7 @@ tremor: tremor-$(TREMOR_VERSION).tar.bz2
 endif
 
 .tremor: tremor .ogg
-       (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-shared && make && make install)
+       (cd $<; $(HOSTCC) ./autogen.sh $(HOSTCONF) --prefix=$(PREFIX) --disable-shared && make && make install)
        $(INSTALL_NAME)
        touch $@