From 8f7a0bb6219f463c4cc8f98b047af8d61d1e71cc Mon Sep 17 00:00:00 2001 From: darkeye Date: Sun, 2 Sep 2001 12:59:28 +0000 Subject: [PATCH] improved on static / dynamic build configuration --- darkice/trunk/configure.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/darkice/trunk/configure.in b/darkice/trunk/configure.in index 98ae318..7120af9 100644 --- a/darkice/trunk/configure.in +++ b/darkice/trunk/configure.in @@ -45,7 +45,15 @@ AC_ARG_WITH(lame-prefix, AC_ARG_ENABLE( static, [ --enable-static link everything into the executable statically [no]], - LINK_STATIC="--static", LINK_STATIC="") + CONFIG_LINK_STATIC="${enableval}", CONFIG_LINK_STATIC="") + if test "${CONFIG_LINK_STATIC}" == "yes" ; then + LINK_STATIC="--static" + AC_MSG_RESULT( "creating statically linked executable") + else + LINK_STATIC="" + AC_MSG_RESULT( "creating dinamically linked executable") + fi +