~thopiekar/emgd/xserver-xorg-input-evdev-github_community

« back to all changes in this revision

Viewing changes to autogen.sh

  • Committer: Daniel Stone
  • Date: 2005-08-18 09:03:38 UTC
  • Revision ID: git-v1:7d5839eb992e0a217b8368762cab80fa7a15faa2
Update autogen.sh to one that does objdir != srcdir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
 
2
 
 
3
srcdir=`dirname $0`
 
4
test -z "$srcdir" && srcdir=.
 
5
 
 
6
ORIGDIR=`pwd`
 
7
cd $srcdir
 
8
 
2
9
autoreconf -v --install || exit 1
3
 
./configure --enable-maintainer-mode "$@"
 
10
cd $ORIGDIR || exit $?
 
11
 
 
12
$srcdir/configure --enable-maintainer-mode "$@"