Why does AC_LIBTOOL_PROG_LD_SHLIBS override defaults set in the
tag-specific configuration? I'm talking about:
runpath_var=
_LT_AC_TAGVAR(allow_undefined_flag, $1)=
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
_LT_AC_TAGVAR(archive_cmds, $1)=
...
If I set a default in AC_LIBTOOL_LANG_GCJ_CONFIG, the above code will
just override it. How about we change all of the above to:
runpath_var=
if test "x$_LT_AC_TAGVAR(allow_undefined_flag, $1)" = "x"; then
_LT_AC_TAGVAR(allow_undefined_flag, $1)=
fi
...
Or, if a variable is unset, we don't give it a blank value and only
test for variables we change, like:
if test "x$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)" != "x"; then
_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no
fi
--
albert chin ([EMAIL PROTECTED])
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool