summaryrefslogtreecommitdiff
path: root/legacy/ephysics/autogen.sh
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-06-26 22:36:12 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-06-26 22:36:12 +0000
commit28d9f92ef24a0d059470da7f1ef64be9542637d4 (patch)
treeb0e29f1104d72089295d5b6121cc09cf01c81a53 /legacy/ephysics/autogen.sh
parent3eaa894b6945756814045be4604e417387626fa7 (diff)
EPhysics: a new library comes to E world
It’s a wrapper between Bullet Physics and EFL to add physics effects in a simple way. More details on README, TODO, and edevelop mail list =) SVN revision: 72896
Diffstat (limited to 'legacy/ephysics/autogen.sh')
-rwxr-xr-xlegacy/ephysics/autogen.sh39
1 files changed, 39 insertions, 0 deletions
diff --git a/legacy/ephysics/autogen.sh b/legacy/ephysics/autogen.sh
new file mode 100755
index 0000000000..00116eaf80
--- /dev/null
+++ b/legacy/ephysics/autogen.sh
@@ -0,0 +1,39 @@
1#!/bin/sh
2
3rm -rf autom4te.cache
4rm -f aclocal.m4 ltmain.sh
5
6touch README
7touch ABOUT-NLS
8
9echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
10echo "Running autoheader..." ; autoheader || exit 1
11echo "Running autoconf..." ; autoconf || exit 1
12echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
13echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
14
15W=0
16
17rm -f config.cache-env.tmp
18echo "OLD_PARM=\"$@\"" >> config.cache-env.tmp
19echo "OLD_CFLAGS=\"$CFLAGS\"" >> config.cache-env.tmp
20echo "OLD_PATH=\"$PATH\"" >> config.cache-env.tmp
21echo "OLD_PKG_CONFIG_PATH=\"$PKG_CONFIG_PATH\"" >> config.cache-env.tmp
22echo "OLD_LDFLAGS=\"$LDFLAGS\"" >> config.cache-env.tmp
23
24cmp config.cache-env.tmp config.cache-env >> /dev/null
25if [ $? -ne 0 ]; then
26 W=1;
27fi
28
29if [ $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
33else
34 rm -f config.cache-env.tmp
35fi
36
37if [ -z "$NOCONFIGURE" ]; then
38 ./configure -C "$@"
39fi