diffutils should be compiled with HAVE_SETMODE

Sergey Okhapkin sos@prospect.com.ru
Sun Jul 5 01:42:00 GMT 1998


Bob Ramstad wrote:
> howdy.  yes, this is a "me too".  the diff utilities should
> be compiled with HAVE_SETMODE so that binary diffs work
> properly.
> 

You're right. I suggest the following changes in diff sources (in both cdk and usertools trees):

e:\usr\src\cygnus\cdk\diff>diff -u Makefile.in.orig Makefile.in
--- Makefile.in.orig    Sat Feb 28 21:09:46 1998
+++ Makefile.in Sun Jul 05 12:30:52 1998
@@ -168,14 +168,14 @@
        done
        rm -f $(infodir)/diff.info*

-#configure: configure.in
-#      cd $(srcdir) && autoconf
+configure: configure.in
+       cd $(srcdir) && autoconf

 # autoheader might not change config.hin.
-#config.hin: stamp-h.in
-#stamp-h.in: configure.in
-#      cd $(srcdir) && autoheader
-#      date > $(srcdir)/stamp-h.in
+config.hin: stamp-h.in
+stamp-h.in: configure.in
+       cd $(srcdir) && autoheader
+       date > $(srcdir)/stamp-h.in

 config.status: configure
        ./config.status --recheck

e:\usr\src\cygnus\cdk\diff>diff -u configure.in.orig configure.in
--- configure.in.orig   Sat Feb 28 21:09:40 1998
+++ configure.in        Sun Jul 05 12:20:14 1998
@@ -18,7 +18,7 @@
 AC_HEADER_SYS_WAIT
 AC_TYPE_PID_T
 AC_TYPE_SIGNAL
-AC_CHECK_FUNCS(dup2 memchr sigaction strchr strerror tmpnam)
+AC_CHECK_FUNCS(dup2 memchr sigaction strchr strerror tmpnam setmode)
 AC_REPLACE_FUNCS(memchr waitpid)
 AC_FUNC_ALLOCA


-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list