Skip to content
Snippets Groups Projects
  • Andrew Burgess's avatar
    20fa702b
    Fixes after recent configure changes relating to static libraries · 20fa702b
    Andrew Burgess authored
    This commit:
    
      commit e7c26e04 (tjteru/master)
      Date:   Wed Jan 22 14:54:26 2020 +0000
    
          gcc: Add new configure options to allow static libraries to be selected
    
    contains a couple of issues.  First I failed to correctly regenerate
    all of the configure files it should have done.  Second, there was a
    mistake in lib-link.m4, one of the conditions didn't use pure sh
    syntax, I wrote this:
    
      if x$lib_type = xauto || x$lib_type = xshared; then
    
    When I should have written this:
    
      if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
    
    These issues were raised on the mailing list in these messages:
    
      https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01827.html
      https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01921.html
    
    config/ChangeLog:
    
    	* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Update shell syntax.
    
    gcc/ChangeLog:
    
    	* configure: Regenerate.
    
    intl/ChangeLog:
    
    	* configure: Regenerate.
    
    libcpp/ChangeLog:
    
    	* configure: Regenerate.
    
    libstdc++-v3/ChangeLog:
    
    	* configure: Regenerate.
    20fa702b
    History
    Fixes after recent configure changes relating to static libraries
    Andrew Burgess authored
    This commit:
    
      commit e7c26e04 (tjteru/master)
      Date:   Wed Jan 22 14:54:26 2020 +0000
    
          gcc: Add new configure options to allow static libraries to be selected
    
    contains a couple of issues.  First I failed to correctly regenerate
    all of the configure files it should have done.  Second, there was a
    mistake in lib-link.m4, one of the conditions didn't use pure sh
    syntax, I wrote this:
    
      if x$lib_type = xauto || x$lib_type = xshared; then
    
    When I should have written this:
    
      if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
    
    These issues were raised on the mailing list in these messages:
    
      https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01827.html
      https://gcc.gnu.org/ml/gcc-patches/2020-01/msg01921.html
    
    config/ChangeLog:
    
    	* lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Update shell syntax.
    
    gcc/ChangeLog:
    
    	* configure: Regenerate.
    
    intl/ChangeLog:
    
    	* configure: Regenerate.
    
    libcpp/ChangeLog:
    
    	* configure: Regenerate.
    
    libstdc++-v3/ChangeLog:
    
    	* configure: Regenerate.
configure 245.06 KiB