Update of /cvsroot/alsa/alsa-utils
In directory sc8-pr-cvs1:/tmp/cvs-serv5058

Modified Files:
        configure.in 
Log Message:
Fixed ncurses test

Index: configure.in
===================================================================
RCS file: /cvsroot/alsa/alsa-utils/configure.in,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- configure.in        14 Jun 2003 08:32:44 -0000      1.61
+++ configure.in        16 Jun 2003 18:46:06 -0000      1.62
@@ -36,12 +36,14 @@
 
 dnl Checks for header files.
 AC_HEADER_STDC
-#AC_CHECK_LIB(ncurses, initscr, 
-#             [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; ], [ 
-#      AC_CHECK_LIB(curses, initscr, 
-#                   [ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; ],
-#                     AC_MSG_ERROR(this packages requires a curses library))
-#])
+if test x$alsamixer = xtrue; then
+  AC_CHECK_LIB(ncurses, initscr, 
+             [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; ], [ 
+       AC_CHECK_LIB(curses, initscr, 
+                    [ CURSESINC='<curses.h>'; CURSESLIB='-lcurses'; ],
+                     AC_MSG_ERROR(this packages requires a curses library))
+  ])
+fi
 
 AC_SUBST(CURSESINC)
 AC_SUBST(CURSESLIB)



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to