[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH fixups for proper setting of archive_cmds_need_lc
From: |
Albert Chin |
Subject: |
Re: PATCH fixups for proper setting of archive_cmds_need_lc |
Date: |
Sun, 12 Jan 2003 15:20:02 -0600 |
User-agent: |
Mutt/1.4i |
On Sun, Jan 12, 2003 at 02:46:02PM -0600, Robert Boehne wrote:
> @@ -5376,11 +5375,11 @@
> if test "$GCC" = yes; then
> variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX
> COMPILER_PATH LIBRARY_PATH"
> fi
> -
> +# Skip the -lc test if a tag was specified.
> +ifelse([$1],[],[
> #
> # Do we need to explicitly link libc?
> #
> -_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes
> if test "$enable_shared" = yes && test "$GCC" = yes; then
> case $_LT_AC_TAGVAR(archive_cmds, $1) in
> *'~'*)
> @@ -5421,7 +5420,7 @@
> AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)])
> ;;
> esac
> -fi
> +fi], [])
> ])# AC_LIBTOOL_PROG_LD_SHLIBS
I disagree with treating the C tag specially. No tag should be treated
any different than another. So, my preference is to see:
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
in all non-C tags specified explicitly.
--
albert chin (address@hidden)