diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/edje/autogen.sh | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to '')
-rwxr-xr-x | libraries/edje/autogen.sh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/libraries/edje/autogen.sh b/libraries/edje/autogen.sh new file mode 100755 index 0000000..00116ea --- /dev/null +++ b/libraries/edje/autogen.sh | |||
@@ -0,0 +1,39 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | rm -rf autom4te.cache | ||
4 | rm -f aclocal.m4 ltmain.sh | ||
5 | |||
6 | touch README | ||
7 | touch ABOUT-NLS | ||
8 | |||
9 | echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1 | ||
10 | echo "Running autoheader..." ; autoheader || exit 1 | ||
11 | echo "Running autoconf..." ; autoconf || exit 1 | ||
12 | echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1 | ||
13 | echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1 | ||
14 | |||
15 | W=0 | ||
16 | |||
17 | rm -f config.cache-env.tmp | ||
18 | echo "OLD_PARM=\"$@\"" >> config.cache-env.tmp | ||
19 | echo "OLD_CFLAGS=\"$CFLAGS\"" >> config.cache-env.tmp | ||
20 | echo "OLD_PATH=\"$PATH\"" >> config.cache-env.tmp | ||
21 | echo "OLD_PKG_CONFIG_PATH=\"$PKG_CONFIG_PATH\"" >> config.cache-env.tmp | ||
22 | echo "OLD_LDFLAGS=\"$LDFLAGS\"" >> config.cache-env.tmp | ||
23 | |||
24 | cmp config.cache-env.tmp config.cache-env >> /dev/null | ||
25 | if [ $? -ne 0 ]; then | ||
26 | W=1; | ||
27 | fi | ||
28 | |||
29 | if [ $W -ne 0 ]; then | ||
30 | echo "Cleaning configure cache..."; | ||
31 | rm -f config.cache config.cache-env | ||
32 | mv config.cache-env.tmp config.cache-env | ||
33 | else | ||
34 | rm -f config.cache-env.tmp | ||
35 | fi | ||
36 | |||
37 | if [ -z "$NOCONFIGURE" ]; then | ||
38 | ./configure -C "$@" | ||
39 | fi | ||