autogen.sh 222 B

123456789101112131415
  1. #! /bin/sh
  2. srcdir=`dirname $0`
  3. test -z "$srcdir" && srcdir=.
  4. ORIGDIR=`pwd`
  5. cd $srcdir
  6. autoreconf --force -v --install || exit 1
  7. cd $ORIGDIR || exit $?
  8. if test -z "$NOCONFIGURE"; then
  9. exec $srcdir/configure "$@"
  10. fi