Xcursor autogen.sh,1.3,1.4

Daniel Stone xlibs-commit at pdx.freedesktop.org
Sun Jan 2 21:20:03 PST 2005


Committed by: daniels

Update of /cvs/xlibs/Xcursor
In directory gabe:/tmp/cvs-serv29178

Modified Files:
	autogen.sh 
Log Message:
New autogen.sh from Thomas Fitzsimmons that works with srcdir != objdir.

Index: autogen.sh
===================================================================
RCS file: /cvs/xlibs/Xcursor/autogen.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- autogen.sh	1 Oct 2003 06:45:34 -0000	1.3
+++ autogen.sh	3 Jan 2005 05:20:01 -0000	1.4
@@ -1,3 +1,12 @@
 #! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
 autoreconf -v --install || exit 1
-./configure --enable-maintainer-mode "$@"
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"



More information about the xlibs-commit mailing list