repo.or.cz
/
syx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix plugins with MSVC, thanks to Gulam Faruque.
[syx.git]
/
autogen.sh
blob
0ccf997001394e90fd380f12206db32f1e5794c7
1
#!/bin/sh
2
3
srcdir
=
"`dirname
$0
`"
4
test -z
"
$srcdir
"
&&
srcdir
=
.
5
6
THEDIR
=
"`pwd`"
7
8
cd
"
$srcdir
"
9
libtoolize
--copy --force
10
aclocal
11
autoheader
12
automake
-a -c
13
autoconf
14
15
if
[
"
$1
"
=
"--noconfigure"
];
then
16
exit
0
;
17
fi
18
19
cd
"
$THEDIR
"
20
21
if
[
X
"$@"
=
X
-a
"X`uname -s`"
=
"XLinux"
];
then
22
$srcdir
/
configure
--prefix
=/
usr
"$@"
23
else
24
$srcdir
/
configure
"$@"
25
fi