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] Fix libiberty to detect new cygwin export, try 2


Here is a much simpler version of the previous patch, worked out
in communication with DJ Delorie.

cgf

2001-08-16  Christopher Faylor <cgf@cygnus.com>

	* configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
	* configure: Regenerate.


Index: configure.in
===================================================================
RCS file: /cvs/uberbaum/libiberty/configure.in,v
retrieving revision 1.33
diff -p -r1.33 configure.in
*** configure.in        2001/07/05 17:24:39     1.33
--- configure.in        2001/08/16 17:45:02
*************** if test -n "${with_target_subdir}"; then
*** 177,182 ****
--- 177,187 ----
      # Of the functions in $checkfuncs, newlib only has strerror.
      AC_DEFINE_NOAUTOHEADER(HAVE_STRERROR)
  
+     case "${with_target_subdir}" in
+       *-*-cygwin*)
+       AC_DEFINE(HAVE_SYS_ERRLIST)
+       ;;
+     esac
      setobjs=yes
  
    fi


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