Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/vi/build Make this work on SVR4 systems.



details:   https://anonhg.NetBSD.org/src/rev/88d456fd9f6f
branches:  trunk
changeset: 483749:88d456fd9f6f
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Mar 17 02:22:27 2000 +0000

description:
Make this work on SVR4 systems.

diffstat:

 usr.bin/vi/build/config.h |  16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diffs (47 lines):

diff -r 134fe42ed872 -r 88d456fd9f6f usr.bin/vi/build/config.h
--- a/usr.bin/vi/build/config.h Fri Mar 17 01:26:52 2000 +0000
+++ b/usr.bin/vi/build/config.h Fri Mar 17 02:22:27 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: config.h,v 1.4 1999/04/17 17:48:23 drochner Exp $      */
+/*     $NetBSD: config.h,v 1.5 2000/03/17 02:22:27 christos Exp $      */
 
 /* config.h.  Generated automatically by configure.  */
 /* config.h.in.  Generated automatically from configure.in by autoheader.  */
@@ -10,7 +10,9 @@
 /* #undef HAVE_DOPRNT */
 
 /* Define if you have a working `mmap' system call.  */
-/* #define HAVE_MMAP 1 */
+#ifdef __SVR4
+#define HAVE_MMAP 1 
+#endif
 
 /* Define if your struct stat has st_blksize.  */
 #define HAVE_ST_BLKSIZE 1
@@ -59,7 +61,9 @@
 /* #undef HAVE_BROKEN_VDISABLE */
 
 /* Define if you have a BSD version of curses. */
+#ifndef __SVR4
 #define HAVE_BSD_CURSES 1
+#endif
 
 /* Define if you have the curses(3) addnstr function. */
 #define HAVE_CURSES_ADDNSTR 1
@@ -77,10 +81,14 @@
 #define HAVE_CURSES_KEYPAD 1
 
 /* Define if you have the curses(3) newterm function. */
-/* #undef HAVE_CURSES_NEWTERM */
+#ifdef __SVR4
+#define HAVE_CURSES_NEWTERM 1
+#endif
 
 /* Define if you have the curses(3) setupterm function. */
-/* #undef HAVE_CURSES_SETUPTERM */
+#ifdef __SVR4
+#define HAVE_CURSES_SETUPTERM 1
+#endif
 
 /* Define if you have the curses(3) tigetstr/tigetnum functions. */
 /* #undef HAVE_CURSES_TIGETSTR */



Home | Main Index | Thread Index | Old Index