aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
blob: 4f6f6399990fef5e3e57ef163d9031037779b011 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
#
# This generates our configure scripts and leads us onto the path of 
# the great Makefile...
#

set -e

if [ ! -d config ];
then
  mkdir config;
fi

if [ $(uname) != FreeBSD ];
then
  WARNINGS="all,error"
  export WARNINGS
fi

if [ $(uname) = NetBSD ];
then
  WARNINGS=""
  export WARNINGS
fi

autoreconf --install --verbose --force