We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a4a041 commit 22b7024Copy full SHA for 22b7024
bootstrap.sh
@@ -22,15 +22,21 @@
22
./cleanup.sh
23
(cd lib/php/src/ext/thrift_protocol && phpize)
24
25
-autoscan || exit 1
26
-aclocal -I ./aclocal || exit 1
27
-autoheader || exit 1
+set -e
28
+# libtoolize is called "glibtoolize" on OSX.
29
if libtoolize --version 1 >/dev/null 2>/dev/null; then
30
- libtoolize --copy --automake || exit 1
+ LIBTOOLIZE=libtoolize
31
elif glibtoolize --version 1 >/dev/null 2>/dev/null; then
32
- glibtoolize --copy --automake || exit 1
+ LIBTOOLIZE=glibtoolize
+else
33
+ echo >&2 "Couldn't find libtoolize!"
34
+ exit 1
35
fi
36
37
+autoscan
38
+$LIBTOOLIZE --copy --automake
39
+aclocal -I ./aclocal
40
+autoheader
41
autoconf
-automake -ac --add-missing --foreign || exit 1
42
+automake --copy --add-missing --foreign
0 commit comments