projects
/
platform
/
upstream
/
libdatrie.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix license
[platform/upstream/libdatrie.git]
/
autogen.sh
1
#!/bin/sh
2
3
set -x
4
5
DIE=0
6
7
# Detect [g]libtoolize
8
if libtoolize --version > /dev/null 2>&1; then
9
LIBTOOLIZE=libtoolize
10
elif glibtoolize --version > /dev/null 2>&1; then
11
LIBTOOLIZE=glibtoolize
12
else
13
echo "**Error**: Missing 'libtoolize'"
14
DIE=1
15
fi
16
17
if [ $DIE -eq 1 ]; then
18
exit 1
19
fi
20
21
autoheader
22
${LIBTOOLIZE} --force
23
aclocal
24
automake --add-missing
25
autoconf
26