summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: eb821ce2e30e0845204f6b48cf047bc7202d5d76 (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
#!/bin/sh
KERNEL=`uname`
if [ $KERNEL = 'Linux' ]
then 

aclocal $ACLOCAL_FLAGS -I m4 -I /usr/share/aclocal && \
autoheader && \
libtoolize --force && \
automake --add-missing --gnu && \
autoconf

fi 


if  [ $KERNEL = 'Darwin' ]
then

aclocal $ACLOCAL_FLAGS -I m4 -I /usr/share/aclocal -I /opt/local/share/aclocal && \
autoheader && \
glibtoolize  --force && \
automake --add-missing --gnu && \
autoconf

fi