autogen.sh
author Sam Lantinga
Tue, 23 Aug 2005 06:36:23 +0000
changeset 1127 fb8818ee9112
parent 343 9430ba1a19f3
child 1142 c7376efecdb5
permissions -rwxr-xr-x
Date: Mon, 22 Aug 2005 04:22:46 -0400
From: "Ryan C. Gordon"
Subject: [Fwd: SDL patch: make usage of rpath optional]

Here's a small patch against current SDL CVS that makes usage of rpath
optional, by passing --disable-rpath to configure. This comes in handy
when redistributing SDL -- the rpath setting prevents the lib being
loaded if it's not in the rpath, which makes redistributing in packages
to be installed by non-root users pretty much useless.
     1 #!/bin/sh
     2 #
     3 echo "Generating build information using aclocal, automake and autoconf"
     4 echo "This may take a while ..."
     5 
     6 # Touch the timestamps on all the files since CVS messes them up
     7 directory=`dirname $0`
     8 touch $directory/configure.in
     9 
    10 # Regenerate configuration files
    11 aclocal
    12 automake --foreign --include-deps --add-missing --copy
    13 autoconf
    14 (cd test; aclocal; automake --foreign --include-deps --add-missing --copy; autoconf)
    15 
    16 # Run configure for this platform
    17 #./configure $*
    18 echo "Now you are ready to run ./configure"