On August 14, 2003 10:00 pm, Mike McCormack wrote:it would be great, but that may be hard to do.
+#ifdef HAVE_NCURSES_H + char *ncname = SONAME_LIBNCURSES; +#else + char *ncname = SONAME_LIBCURSES; +#endif
Since we're doing this dynamically, shouldn't we also determine at runtime if we should use ncurses or curses? It would make a lot more sense, as we typically compile on one box, and run on another...
some (n)curses functions are implemented as macros (and you don't know for sure which). So, a strong rule to be sure everything works correctly is to run with the curses package that the one you compiled with...
A+ -- Eric Pouech
