ncurses/curses detection

2009-05-12 Thread Dan McMahill
Anyone know of a decent autoconf macro for detecting the right header and library for curses/ncurses? Here is the issue I have seen. Many systems ship curses.h and libcurses. Sometimes this may actually be ncurses, sometimes not. Then I sometimes on those same systems I see ncurses.h and li

AC_SUBST and AC_CACHE_VAL

2009-05-12 Thread Stefan Bienert
Hi autoconfigurators! I have a smallish problem using AC_SUBST together with AC_CACHE_VAL. According to the manual, AC_CACHE_VAL may only contain code to set the cache-var. But if I want to sent something depending on a cached-var to AC_SUBST, I end up in concatenating the same values...Example:

Re: test fails when no C++ compiler is available

2009-05-12 Thread Jim Meyering
Jim Meyering wrote: > Hi Ralf, Whoops. This is for autoconf, but for automake. > I've just built automake-from-git on a newly-installed system > that lacked a C++ compiler. It failed like this: > > 220: Multiple languages FAILED (compile.at:249) > ... > > > > 220. co