summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 93af1649d3147c52440399da5f5194567a63d3c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# Run this to generate all the initial makefiles, etc.

srcdir=$(dirname "$0")
test -z "$srcdir" && srcdir=.

PKG_NAME="PLD Linux Distribution rc-scripts"

autoreconf -vif "$srcdir"

conf_flags="" #--enable-maintainer-mode --enable-compile-warnings --enable-iso-c

if test x$NOCONFIGURE = x; then
  echo Running $srcdir/configure $conf_flags "$@" ...
  $srcdir/configure $conf_flags "$@" \
  && echo Now type \`make\' to compile $PKG_NAME
else
  echo Skipping configure process.
fi