]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR bootstrap/38903: Backport fix from HEAD.
authorDave Korn <dave.korn.cygwin@gmail.com>
Wed, 29 Jul 2009 11:45:30 +0000 (11:45 +0000)
committerDave Korn <davek@gcc.gnu.org>
Wed, 29 Jul 2009 11:45:30 +0000 (11:45 +0000)
* configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
as it no longer shares libiberty object files.
* configure: Regenerated.

From-SVN: r150209

libiberty/ChangeLog
libiberty/configure
libiberty/configure.ac

index a22fc0a6c105a3536433c6a88b5fbca68a3be235..86f59ae38e6ddc1a766025c3dc233405dc774500 100644 (file)
@@ -1,3 +1,10 @@
+2009-07-29  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR bootstrap/38903: Backport fix from HEAD.
+       * configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
+       as it no longer shares libiberty object files.
+       * configure: Regenerated.
+
 2009-01-24  Release Manager
 
        * GCC 4.3.3 released.
index e444bd367d87c6aaa15154e2efeae3db47a36998..14542e77cd31a058834279a72d0d0f12d100da90 100755 (executable)
@@ -6166,36 +6166,6 @@ if test -z "${setobjs}"; then
 
   case "${host}" in
 
-  *-*-cygwin*)
-    # The Cygwin library actually uses a couple of files from
-    # libiberty when it is built.  If we are building a native
-    # Cygwin, and we run the tests, we will appear to have these
-    # files.  However, when we go on to build winsup, we will wind up
-    # with a library which does not have the files, since they should
-    # have come from libiberty.
-
-    # We handle this by removing the functions the winsup library
-    # provides from our shell variables, so that they appear to be
-    # missing.
-
-    # DJ - only if we're *building* cygwin, not just building *with* cygwin
-
-    if test -n "${with_target_subdir}"
-    then
-      funcs="`echo $funcs | sed -e 's/random//'`"
-      case $LIBOBJS in
-    "random.$ac_objext"   | \
-  *" random.$ac_objext"   | \
-    "random.$ac_objext "* | \
-  *" random.$ac_objext "* ) ;;
-  *) LIBOBJS="$LIBOBJS random.$ac_objext" ;;
-esac
-
-      vars="`echo $vars | sed -e 's/sys_siglist//'`"
-      checkfuncs="`echo $checkfuncs | sed -e 's/strsignal//' -e 's/psignal//'`"
-    fi
-    ;;
-
   *-*-mingw32*)
     # Under mingw32, sys_nerr and sys_errlist exist, but they are
     # macros, so the test below won't find them.
index 864db177be941c6279ea3e6f7e58843ee3c4d96a..9263c82eb7c1a6e96c0f3737d0320c2ea4ed9279 100644 (file)
@@ -571,29 +571,6 @@ if test -z "${setobjs}"; then
 
   case "${host}" in
 
-  *-*-cygwin*)
-    # The Cygwin library actually uses a couple of files from
-    # libiberty when it is built.  If we are building a native
-    # Cygwin, and we run the tests, we will appear to have these
-    # files.  However, when we go on to build winsup, we will wind up
-    # with a library which does not have the files, since they should
-    # have come from libiberty.
-
-    # We handle this by removing the functions the winsup library
-    # provides from our shell variables, so that they appear to be
-    # missing.
-
-    # DJ - only if we're *building* cygwin, not just building *with* cygwin
-  
-    if test -n "${with_target_subdir}"
-    then
-      funcs="`echo $funcs | sed -e 's/random//'`"
-      AC_LIBOBJ([random])
-      vars="`echo $vars | sed -e 's/sys_siglist//'`"
-      checkfuncs="`echo $checkfuncs | sed -e 's/strsignal//' -e 's/psignal//'`"
-    fi
-    ;;
-
   *-*-mingw32*)
     # Under mingw32, sys_nerr and sys_errlist exist, but they are
     # macros, so the test below won't find them.