summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 36cb017cb8c2456e049a3a3e1d8b063b61ad4f02 (plain)
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
27
28
29
30
31
32
33
34
35
#!/bin/sh

# Define internationalization (i18n)

./tools/maint/init_potfiles.sh

gettextize --no-changelog

# Beware of acknowledgment!

sed -i 's/po\/Makefile.in \(po\/Makefile.in *\)*/po\/Makefile.in /' configure.ac
sed -i 's/EXTRA_DIST.*$/EXTRA_DIST = config.rpath  ChangeLog/' Makefile.am

rm po/Makevars.template
cp /usr/share/gettext/gettext.h .

# Create a timestamp mark
echo "timestamp" > stamp-h.in

# As some Makefiles expect an external fragment built dynamically, ensure these files exist
touch plugins/arm/v7/opcodes/gencode.mk
touch plugins/dalvik/v35/opcodes/gencode.mk

touch ChangeLog

# Run the GNU tools
libtoolize --force
aclocal -Im4
autoheader
automake --add-missing --copy
autoconf

# Define the way the program will be built
#./configure --prefix=/dev/shm/chrysalide.git --enable-silent-rules --enable-debug CC=colorgcc CFLAGS="-fPIC"
#./configure --prefix=/usr/local --enable-silent-rules CFLAGS="-fPIC"