check curses-libs by configure
[openafs.git] / src / gtx / curses_test.c
index d555ae5..2255ff4 100644 (file)
 #include <afsconfig.h>
 #include <afs/param.h>
 
-
-#if defined(AFS_HPUX110_ENV) && !defined(__HP_CURSES)
-#define __HP_CURSES
+#if defined(HAVE_NCURSES_H)
+# include <ncurses.h>
+#elif defined(HAVE_CURSES_H)
+# include <curses.h>
 #endif
 
-#include <curses.h>
-
 #include "AFS_component_version_number.c"
 
 main(argc, argv)