[xiph-cvs] cvs commit: ogg-tools/oggplay autogen.sh

Chris Cheney calc at xiph.org
Wed Jul 10 20:58:39 PDT 2002



calc        02/07/10 20:58:39

  Modified:    oggplay  autogen.sh
  Log:
  fix autogen.sh so that builddir != srcdir works

Revision  Changes    Path
1.2       +2 -0      ogg-tools/oggplay/autogen.sh

Index: autogen.sh
===================================================================
RCS file: /usr/local/cvsroot/ogg-tools/oggplay/autogen.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- autogen.sh	2001/08/25 22:22:31	1.1
+++ autogen.sh	2002/07/11 03:58:39	1.2
@@ -8,6 +8,7 @@
 DIE=0
 
 # try to guess the proper treetop
+olddir=`pwd`
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 (test -f $srcdir/configure.in \
@@ -123,6 +124,7 @@
 #conf_flags="--enable-maintainer-mode --enable-debug " 
 
 if test x$NOCONFIGURE = x; then
+  cd $olddir
   echo Running $srcdir/configure $conf_flags "$@" ...
   $srcdir/configure $conf_flags "$@" 
 else

<p><p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list