autogen.sh
author Sam Lantinga <slouken@libsdl.org>
Tue, 21 Mar 2006 06:54:24 +0000
changeset 1563 b054590b967a
parent 1380 d94b080ff6ce
child 1564 4950a25bd91e
permissions -rwxr-xr-x
Fall back to autogen259 if autogen isn't available
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
     1
#!/bin/sh
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
     2
#
1376
4a47f20705eb I don't think we need aclocal anymore (comes from the automake package)
Sam Lantinga <slouken@libsdl.org>
parents: 1361
diff changeset
     3
echo "Generating build information using autoconf"
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
     4
echo "This may take a while ..."
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
     5
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
     6
# Regenerate configuration files
1376
4a47f20705eb I don't think we need aclocal anymore (comes from the automake package)
Sam Lantinga <slouken@libsdl.org>
parents: 1361
diff changeset
     7
cp acinclude.m4 aclocal.m4
1563
b054590b967a Fall back to autogen259 if autogen isn't available
Sam Lantinga <slouken@libsdl.org>
parents: 1380
diff changeset
     8
for autoconf in autoconf autoconf259
b054590b967a Fall back to autogen259 if autogen isn't available
Sam Lantinga <slouken@libsdl.org>
parents: 1380
diff changeset
     9
do if which $autoconf >/dev/null; then $autoconf; break; fi
b054590b967a Fall back to autogen259 if autogen isn't available
Sam Lantinga <slouken@libsdl.org>
parents: 1380
diff changeset
    10
done
1380
d94b080ff6ce Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents: 1376
diff changeset
    11
(cd test; sh autogen.sh)
0
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
    12
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
    13
# Run configure for this platform
74212992fb08 Initial revision
Sam Lantinga <slouken@lokigames.com>
parents:
diff changeset
    14
echo "Now you are ready to run ./configure"