Greetings,
while building the latest (0.9.1) alsa-utils on a recently installed Red
Hat Linux 8.0 desktop, i was getting fatal errors because i had no
ncurses-devel package installed (with headers and static libraries for
ncurses)
configure.in tests for both ncurses and curses but fails to abort if they
are not found. attached patch fixes configure.in for that (tested
rebuilding configure with autoconf 2.53.8)
hope you find it usefull
Carlo
--- alsa-utils-0.9.1/configure.in.curses 2003-03-11 16:11:04.000000000 -0500
+++ alsa-utils-0.9.1/configure.in 2003-03-17 02:34:12.000000000 -0500
@@ -15,7 +15,8 @@
AC_CHECK_LIB(ncurses, initscr,
[ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; ], [
AC_CHECK_LIB(curses, initscr,
- [ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; ])
+ [ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; ],
+ AC_MSG_ERROR(this packages requires a curses library))
])
AC_SUBST(CURSESINC)