Created
February 7, 2012 18:08
-
-
Save matthewryanscott/1761035 to your computer and use it in GitHub Desktop.
Replacement for deleted gist: https://gist.github.com/raw/1034717/931c582cba12d5afcbaa3edd6032baa25bebf5d8/autogen.sh.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/autogen.sh b/autogen.sh | |
index 68962f2..7e09d60 100755 | |
--- a/autogen.sh | |
+++ b/autogen.sh | |
@@ -1,14 +1,15 @@ | |
#!/bin/sh | |
win=$1 | |
-#autopoint check | |
-(autopoint --version) > /dev/null 2>&1 || | |
-{ | |
- echo | |
- echo "Error: you must have autopoint installed to compile libmp3splt !" | |
- echo | |
- exit 1 | |
-} | |
+# PATCH: disabling autopoint for homebrew | |
+##autopoint check | |
+#(autopoint --version) > /dev/null 2>&1 || | |
+#{ | |
+ #echo | |
+ #echo "Error: you must have autopoint installed to compile libmp3splt !" | |
+ #echo | |
+ #exit 1 | |
+#} | |
#autoconf check | |
(autoconf --version && autoheader --version) > /dev/null 2>&1 || | |
@@ -45,15 +46,19 @@ fi | |
#we run aclocal, autoconf and automake | |
#info: the 'sed' is an ugly hack for libtool version compatibility because aclocal.m4 is shipped in 'make dist' | |
-echo -n "1/6 Running autopoint... " \ | |
-&& autopoint -f && echo "done" \ | |
-&& echo -n "2/6 Running aclocal... " \ | |
+ | |
+# PATCH: disabling autopoint for homebrew | |
+#echo -n "1/6 Running autopoint... " \ | |
+#&& autopoint -f && echo "done" \ | |
+#&& | |
+# | |
+echo -n "2/6 Running aclocal... " \ | |
&& aclocal -I m4 $WIN_ACLOCAL_FLAGS $ACLOCAL_FLAGS && echo "done" \ | |
&& if test "x$win" = x;then sed "s/lt_dlcaller_register/lt_dlcaller_set_data/" aclocal.m4 > libmp3splt_aclocal.m4 && mv libmp3splt_aclocal.m4 aclocal.m4;fi \ | |
&& echo -n "3/6 Running autoheader... " \ | |
&& autoheader && echo "done" \ | |
-&& echo -n "4/6 Running libtoolize... " \ | |
-&& libtoolize -c --force && echo "done" \ | |
+&& echo -n "4/6 Running glibtoolize... " \ | |
+&& glibtoolize -c --force && echo "done" \ | |
&& echo -n "5/6 Running autoconf... " \ | |
&& autoconf && echo "done" \ | |
&& echo -n "6/6 Running automake... " \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment