File: autogen.sh

package info (click to toggle)
libchewing 0.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 7,588 kB
  • ctags: 878
  • sloc: sh: 9,738; ansic: 7,644; makefile: 234; python: 49
file content (26 lines) | stat: -rwxr-xr-x 513 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh

set -x

if [ "x${ACLOCAL_DIR}" != "x" ]; then
	ACLOCAL_ARG="-I ${ACLOCAL_DIR}"
fi

${ACLOCAL:-aclocal} ${ACLOCAL_ARG}

# Darwin has different name for "libtoolize"
UNAME=`uname`
if [ "x${UNAME}" = "xDarwin" ]; then
	${LIBTOOLIZE:-glibtoolize} -c --automake 
else
	${LIBTOOLIZE:-libtoolize} -c --automake 
fi

# intltoolize -c --automake
${AUTOHEADER:-autoheader}
${AUTOMAKE:-automake} --add-missing --copy --include-deps
${AUTOCONF:-autoconf}

if [ -d autom4te.cache ]; then
	rm -rf autom4te.cache
fi