Hi,
I'm updating a very old configure.in to a new configure.ac.
I don't get what this does:
****************************************************
# Check for the tigetstr/tigetnum functions.
AC_MSG_CHECKING([for tigetstr/tigetstr])
AC_CACHE_VAL([gotch_cv_have_curses_tigetstr],
[dnl AC_TRY_LINK([#include <curses.h>],
[tigetstr(0);],
[gotch_cv_have_curses_tigetstr=yes],
[gotch_cv_have_curses_tigetstr=no])
]
)
if test "$gotch_cv_have_curses_tigetstr" = yes; then
AC_DEFINE(HAVE_CURSES_TIGETSTR)
fi
AC_MSG_RESULT($gotch_cv_have_curses_tigetstr)
****************************************************
What is being stored in the cache? Why is this done?
ATM, it gives errors.
make:
cd . && /bin/sh /home/russell/GNU/snooper/missing --run autoheader
autoheader: warning: missing template: HAVE_CURSES_TIGETSTR
autoheader: Use AC_DEFINE([HAVE_CURSES_TIGETSTR], [], [Description])
make: *** [config.h.in] Error 1
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf