libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AC_LIBTOOL_PROG_LD_SHLIBS overrides defaults


From: Albert Chin
Subject: AC_LIBTOOL_PROG_LD_SHLIBS overrides defaults
Date: Sat, 18 Jan 2003 19:35:24 -0600
User-agent: Mutt/1.4i

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 (address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]