]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.ac (funcs, [...]): Don't munge on Cygwin, as it no longer shares libiberty...
authorDave Korn <dave.korn.cygwin@gmail.com>
Sun, 18 Jan 2009 21:36:20 +0000 (21:36 +0000)
committerDave Korn <davek@gcc.gnu.org>
Sun, 18 Jan 2009 21:36:20 +0000 (21:36 +0000)
* configure.ac (funcs, vars, checkfuncs):  Don't munge on Cygwin,
as it no longer shares libiberty object files.
* configure:  Regenerated.

From-SVN: r143487

libiberty/ChangeLog
libiberty/configure
libiberty/configure.ac

index b9cb1999177f5dce29d961b7181e8077880dc63b..3101aeac5f3c130fa1aa63386c2390dd297766d0 100644 (file)
@@ -1,3 +1,9 @@
+2009-01-18  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * configure.ac (funcs, vars, checkfuncs):  Don't munge on Cygwin,
+       as it no longer shares libiberty object files.
+       * configure:  Regenerated.
+
 2009-01-07  Jason Merrill  <jason@redhat.com>
 
        * cp-demangle.c (d_expression): Remove mangling for zero-op casts.
index 71b6ccd95b5fb38344b981a3e708afa167d13f2d..4469808cdeca7e278d1889aac39c414e7a4be0ff 100755 (executable)
@@ -6563,36 +6563,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 ff0ae6a81e4587f946d8abb0c92d7a35941bfe8b..00fce384818d4ae1947eae03346fdddbb49be603 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.