Fix plugins with MSVC, thanks to Gulam Faruque.
[syx.git] / autogen.sh
blob0ccf997001394e90fd380f12206db32f1e5794c7
1 #!/bin/sh
3 srcdir="`dirname $0`"
4 test -z "$srcdir" && srcdir=.
6 THEDIR="`pwd`"
8 cd "$srcdir"
9 libtoolize --copy --force
10 aclocal
11 autoheader
12 automake -a -c
13 autoconf
15 if [ "$1" = "--noconfigure" ]; then
16 exit 0;
19 cd "$THEDIR"
21 if [ X"$@" = X -a "X`uname -s`" = "XLinux" ]; then
22 $srcdir/configure --prefix=/usr "$@"
23 else
24 $srcdir/configure "$@"