diff options
author | Alexey Gladkov <legion@altlinux.org> | 2007-10-04 14:21:44 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2007-10-04 14:21:44 +0800 |
commit | 12dc49683be594a147a124472a849287653882f3 (patch) | |
tree | 13cc3c95bc6d56569e25c53232bb2bb844f31056 | |
parent | [PARSER] Recognise here-doc delimiters terminated by EOF (diff) | |
download | dash-12dc49683be594a147a124472a849287653882f3.tar.gz dash-12dc49683be594a147a124472a849287653882f3.zip |
[BUILD] Add --enable-static option to configure.
Add new option to build statical linked dash.
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.ac | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index cf56c9a..ac717c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-10-04 Alexey Gladkov <legion@altlinux.org> + + * Add --enable-static option to configure. + 2007-09-26 Herbert Xu <herbert@gondor.apana.org.au> * Recognise here-doc delimiters terminated by EOF. diff --git a/configure.ac b/configure.ac index e0a94a8..5e8f17d 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,12 @@ fi AC_MSG_RESULT(${CC_FOR_BUILD}) AC_SUBST(CC_FOR_BUILD) +AC_ARG_ENABLE(static, AS_HELP_STRING(--enable-static, \ + [Build statical linked program])) +if test "$enable_static" = "yes"; then + export LDFLAGS="-static -Wl,--fatal-warnings" +fi + dnl Checks for libraries. dnl Checks for header files. |