]> granicus.if.org Git - graphviz/commitdiff
have autogen.sh go through a rigamarole to run libtoolize ... --ltdl
authorellson <devnull@localhost>
Mon, 16 Feb 2009 19:20:49 +0000 (19:20 +0000)
committerellson <devnull@localhost>
Mon, 16 Feb 2009 19:20:49 +0000 (19:20 +0000)
remove libltdl/  from cvs

autogen.sh

index 559bd5b3de4364548af11fee470c3c1f10d6af57..73469bf9346c1c358abdf88fff4887a889c2e64e 100755 (executable)
@@ -1,5 +1,12 @@
 #! /bin/sh
 
+# autoregen doesn't run libtoolize with --ltdl on older systems, so force it
+if test -x /usr/bin/libtoolize; then
+    /usr/bin/libtoolize --copy --force --ltdl
+elif test -x /usr/bin/glibtoolize; then
+    /usr/bin/glibtoolize --copy --force --ltdl
+fi
+
 autoreconf -v --install --force || exit 1
 
 # ensure config/depcomp exists even if still using automake-1.4