From 2fa81095dd3532bf82d4bd9ce17e38d5539de2ef Mon Sep 17 00:00:00 2001 From: Danny Auble <da@llnl.gov> Date: Thu, 7 Oct 2004 23:31:19 +0000 Subject: [PATCH] smap will compile on hal --- configure.ac | 3 ++- src/smap/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 56d01fab3e1..c0ab2a70dc7 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,7 @@ AC_CHECK_HEADERS(mcheck.h values.h socket.h sys/socket.h \ stdbool.h sys/ipc.h sys/shm.h sys/sem.h errno.h \ stdlib.h dirent.h pthread.h sys/prctl.h \ sysint.h inttypes.h termcap.h netdb.h sys/socket.h \ - sys/systemcfg.h curses.h\ + sys/systemcfg.h ncurses.h curses.h\ ) AC_HEADER_SYS_WAIT AC_HEADER_TIME @@ -105,6 +105,7 @@ LIBS="$PTHREAD_LIBS $LIBS" X_AC_AIX X_AC_BGL X_AC_SLURM_SEMAPHORE +X_AC_NCURSES dnl checks for system services. dnl diff --git a/src/smap/Makefile.am b/src/smap/Makefile.am index f70e2f793b3..8a054722b81 100644 --- a/src/smap/Makefile.am +++ b/src/smap/Makefile.am @@ -4,7 +4,7 @@ AUTOMAKE_OPTIONS = foreign -LIBS=-lcurses +LIBS=-l$(NCURSES) INCLUDES = -I$(top_srcdir) -I bin_PROGRAMS = smap -- GitLab