aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
blob: efdcaccf3ee85dae0c630942ed9b7d276022af98 (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
27
28
29
30
31
32
#!/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 ] || [ $(uname) = DragonFly ];
then
  WARNINGS=""
  export WARNINGS
fi

if [ $(uname) = "CYGWIN_NT-6.1" ] || [ $(uname) = "MINGW32_NT-6.1" ];
then
  WARNINGS=""
  export WARNINGS
fi

autoreconf --install --verbose --force