summaryrefslogtreecommitdiff
path: root/legacy/eobj
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-09-04 10:48:28 +0000
committerTom Hacohen <tom@stosb.com>2012-09-04 10:48:28 +0000
commit5d68b39a008235b09199d80c14f422a44674814c (patch)
tree82a612537c4244eeab2ee7432295471a626835ea /legacy/eobj
parent8f17e3b3f066ecd7ff915ba6f4170b503933c823 (diff)
Eo: autogen.sh - dos->unix.
SVN revision: 76125
Diffstat (limited to 'legacy/eobj')
-rwxr-xr-xlegacy/eobj/autogen.sh78
1 files changed, 39 insertions, 39 deletions
diff --git a/legacy/eobj/autogen.sh b/legacy/eobj/autogen.sh
index cc2cf7729a..00116eaf80 100755
--- a/legacy/eobj/autogen.sh
+++ b/legacy/eobj/autogen.sh
@@ -1,39 +1,39 @@
1#!/bin/sh 1#!/bin/sh
2 2
3rm -rf autom4te.cache 3rm -rf autom4te.cache
4rm -f aclocal.m4 ltmain.sh 4rm -f aclocal.m4 ltmain.sh
5 5
6touch README 6touch README
7touch ABOUT-NLS 7touch ABOUT-NLS
8 8
9echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1 9echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
10echo "Running autoheader..." ; autoheader || exit 1 10echo "Running autoheader..." ; autoheader || exit 1
11echo "Running autoconf..." ; autoconf || exit 1 11echo "Running autoconf..." ; autoconf || exit 1
12echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1 12echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
13echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1 13echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
14 14
15W=0 15W=0
16 16
17rm -f config.cache-env.tmp 17rm -f config.cache-env.tmp
18echo "OLD_PARM=\"$@\"" >> config.cache-env.tmp 18echo "OLD_PARM=\"$@\"" >> config.cache-env.tmp
19echo "OLD_CFLAGS=\"$CFLAGS\"" >> config.cache-env.tmp 19echo "OLD_CFLAGS=\"$CFLAGS\"" >> config.cache-env.tmp
20echo "OLD_PATH=\"$PATH\"" >> config.cache-env.tmp 20echo "OLD_PATH=\"$PATH\"" >> config.cache-env.tmp
21echo "OLD_PKG_CONFIG_PATH=\"$PKG_CONFIG_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 22echo "OLD_LDFLAGS=\"$LDFLAGS\"" >> config.cache-env.tmp
23 23
24cmp config.cache-env.tmp config.cache-env >> /dev/null 24cmp config.cache-env.tmp config.cache-env >> /dev/null
25if [ $? -ne 0 ]; then 25if [ $? -ne 0 ]; then
26 W=1; 26 W=1;
27fi 27fi
28 28
29if [ $W -ne 0 ]; then 29if [ $W -ne 0 ]; then
30 echo "Cleaning configure cache..."; 30 echo "Cleaning configure cache...";
31 rm -f config.cache config.cache-env 31 rm -f config.cache config.cache-env
32 mv config.cache-env.tmp config.cache-env 32 mv config.cache-env.tmp config.cache-env
33else 33else
34 rm -f config.cache-env.tmp 34 rm -f config.cache-env.tmp
35fi 35fi
36 36
37if [ -z "$NOCONFIGURE" ]; then 37if [ -z "$NOCONFIGURE" ]; then
38 ./configure -C "$@" 38 ./configure -C "$@"
39fi 39fi