projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Latest m4
[yazpp-moved-to-github.git]
/
buildconf.sh
diff --git
a/buildconf.sh
b/buildconf.sh
index
f2ea8da
..
00028e1
100755
(executable)
--- a/
buildconf.sh
+++ b/
buildconf.sh
@@
-1,5
+1,13
@@
#!/bin/sh
#!/bin/sh
-# $Id: buildconf.sh,v 1.16 2006-05-26 19:46:37 adam Exp $
+# $Id: buildconf.sh,v 1.17 2006-07-07 06:21:29 adam Exp $
+
+test -d config || mkdir config
+if test -d m4/.git -a -d doc/common/.git; then
+ :
+else
+ git submodule init
+ git submodule update
+fi
if automake --version|head -1 |grep '1\.[4-7]'; then
echo "automake 1.4-1.7 is active. You should use automake 1.8 or later"
if automake --version|head -1 |grep '1\.[4-7]'; then
echo "automake 1.4-1.7 is active. You should use automake 1.8 or later"
@@
-42,7
+50,7
@@
esac
if $enable_configure; then
if test -n "$sh_flags"; then
if $enable_configure; then
if test -n "$sh_flags"; then
- CFLAGS="$sh_flags" CXXFLAGS="$sh_flags" ./configure $*
+ CFLAGS="$sh_flags" CXXFLAGS="$sh_flags" ./configure --disable-shared --enable-static $*
else
./configure $*
fi
else
./configure $*
fi