Skip to content

Commit 4c4b569

Browse files
committed
use glibtoolize on OSX
1 parent cf707fa commit 4c4b569

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

autogen.sh

+9-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,16 @@ if test -z "$AUTOMAKE" ; then
1212
done
1313
fi
1414

15+
if [ `uname -s` = Darwin ] ; then
16+
# libtoolize is glibtoolize on OSX
17+
LIBTOOLIZE=glibtoolize
18+
else
19+
LIBTOOLIZE=libtoolize
20+
fi
21+
1522
./aclocal.sh &&
16-
echo libtoolize --copy --automake &&
17-
libtoolize --copy --automake &&
23+
echo $LIBTOOLIZE --copy --automake &&
24+
$LIBTOOLIZE --copy --automake &&
1825
echo autoheader &&
1926
autoheader &&
2027
echo autoconf &&

0 commit comments

Comments
 (0)