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