]> git.sesse.net Git - vlc/commitdiff
* extras/contrib/src/Makefile: Really fixed the libtool target.
authorChristophe Massiot <massiot@videolan.org>
Sun, 4 Sep 2005 12:47:53 +0000 (12:47 +0000)
committerChristophe Massiot <massiot@videolan.org>
Sun, 4 Sep 2005 12:47:53 +0000 (12:47 +0000)
extras/contrib/src/Makefile

index 1f157853b880951fb4fc997fff826b1165df3d18..c342b41422b21d9ddb9917e71d89a67a52173d04 100644 (file)
@@ -227,7 +227,10 @@ ifdef HAVE_DARWIN_OS
 .libtool:
        if test -x /usr/bin/glibtoolize; then \
                ln -sf /usr/bin/glibtoolize $(PREFIX)/bin/libtoolize ; \
-               ln -sf /usr/share/aclocal/libtool.m4 $(PREFIX)/share/aclocal-$(AUTOMAKE_VERSION) ; \
+       fi
+       if test -f /usr/share/aclocal/libtool.m4; then \
+               mkdir -p $(PREFIX)/share/aclocal ; \
+               ln -sf /usr/share/aclocal/libtool.m4 $(PREFIX)/share/aclocal ; \
        fi
        touch $@
 endif