This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[RFA] patch for branch libiberty re cygwin build problems


Could the following patch be applied to the 3.x branch?  It fixes a
build problem with recent cygwins.

I should have applied this to the branch when I applied it to the trunk
but I forgot.

cgf

Aug 21 12:35:04 2001  Christopher Faylor <cgf@cygnus.com>

        * configure.in: Set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
        hosting on cygwin.
        * configure: Regenerate.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libiberty/configure.in,v
retrieving revision 1.31
diff -p -r1.31 configure.in
*** configure.in	2000/12/26 22:16:22	1.31
--- configure.in	2001/10/10 04:10:22
*************** fi
*** 191,196 ****
--- 191,203 ----
  
  AC_SUBST(CHECK)
  
+ case "${host}" in
+   *-*-cygwin*) 
+     AC_DEFINE(HAVE_SYS_ERRLIST)
+     AC_DEFINE(HAVE_SYS_NERR)
+     ;;
+ esac
+ 
  if test -z "${setobjs}"; then
    case "${host}" in
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]