1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-26 21:17:40 +00:00
freebsd-ports/editors/hexedit/files/patch-ab
Steve Price b391cd0fc0 Update to version 1.0.0 and use ncurses in the base system.
PR:		9121
Submitted by:	maintainer
1999-01-10 18:58:32 +00:00

17 lines
538 B
Plaintext

--- configure.in.orig Thu Sep 10 17:23:35 1998
+++ configure.in Sun Dec 6 15:31:53 1998
@@ -23,10 +23,11 @@
AC_PROG_INSTALL
dnl Checks for libraries.
-AC_CHECK_LIB(curses, initscr, LIBS="$LIBS -lcurses",
-AC_CHECK_LIB(ncurses, initscr, LIBS="$LIBS -lncurses"))
+AC_CHECK_LIB(ncurses, initscr, LIBS="$LIBS -lncurses",
+AC_CHECK_LIB(curses, initscr, LIBS="$LIBS -lcurses"))
dnl Checks for header files.
+AC_CHECK_HEADER(ncurses.h, [AC_DEFINE(HAVE_NCURSES_H)])
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(fcntl.h unistd.h)