autogen.sh 529 B

1234567891011121314151617181920212223
  1. #!/bin/sh
  2. # Run this to generate all the initial makefiles, etc.
  3. srcdir=`dirname $0`
  4. test -z "$srcdir" && srcdir=.
  5. REQUIRED_AUTOMAKE_VERSION=1.7
  6. PKG_NAME=NetworkManager-openswan
  7. (test -f $srcdir/configure.ac \
  8. && test -f $srcdir/auth-dialog/main.c) || {
  9. echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
  10. echo " top-level $PKG_NAME directory"
  11. exit 1
  12. }
  13. (cd $srcdir;
  14. autoreconf --install --symlink &&
  15. intltoolize --force &&
  16. autoreconf &&
  17. ./configure --enable-maintainer-mode $@
  18. )