autogen.sh
author Sam Lantinga <slouken@libsdl.org>
Tue, 25 Jan 2005 16:57:11 +0000
changeset 1032 c1c2efca4548
parent 343 9430ba1a19f3
child 1142 c7376efecdb5
permissions -rwxr-xr-x
Date: Mon, 24 Jan 2005 21:37:56 +0800
From: Chris Taylor
Subject: Patch to put back dynamic OpenGL loading for MPW

I sent a patch a while ago that removes dynamic OpenGL loading for
Macintosh Programmer's Workshop. Dynamic loading DOES actually work
when an SDL program is built with MPW, it just has to be set up for it.
(Whoops!!) This is the ideal way to get OpenGL extensions to work,
which D2X uses quite a few of.

This patch puts dynamic loading back in SDL for Mac OS 9. It applies to
current CVS. I noticed that two members need to be set when
DrawSprocket is used.
slouken@0
     1
#!/bin/sh
slouken@0
     2
#
slouken@0
     3
echo "Generating build information using aclocal, automake and autoconf"
slouken@0
     4
echo "This may take a while ..."
slouken@0
     5
slouken@0
     6
# Touch the timestamps on all the files since CVS messes them up
slouken@0
     7
directory=`dirname $0`
slouken@0
     8
touch $directory/configure.in
slouken@0
     9
slouken@0
    10
# Regenerate configuration files
slouken@0
    11
aclocal
slouken@342
    12
automake --foreign --include-deps --add-missing --copy
slouken@0
    13
autoconf
slouken@343
    14
(cd test; aclocal; automake --foreign --include-deps --add-missing --copy; autoconf)
slouken@0
    15
slouken@0
    16
# Run configure for this platform
slouken@0
    17
#./configure $*
slouken@0
    18
echo "Now you are ready to run ./configure"