Develop and Download Open Source Software

Browse CVS Repository

Diff of /satellite/satellite4/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2 by orrisroot, Wed Jul 28 05:44:24 2004 UTC revision 1.3 by orrisroot, Wed Jul 28 13:47:05 2004 UTC
# Line 68  AM_PATH_PTHREAD Line 68  AM_PATH_PTHREAD
68  # FIXME: Replace `main' with a function in `-lm':  # FIXME: Replace `main' with a function in `-lm':
69  AC_CHECK_LIB(m, sin)  AC_CHECK_LIB(m, sin)
70    
71  AC_CHECK_LIB(ncurses, tgetent, have_ncurses=yes, have_ncurses=no)  # check termcap library
72  AC_CHECK_LIB(curses, tgetent, have_curses=yes, have_curses=no)  AM_PATH_TERMCAP
 AC_CHECK_LIB(termcap, tgetent, have_termcap=yes, have_termcap=no)  
 TERMCAP_LIBS=""  
 if test x$have_ncurses = xyes; then  
   TERMCAP_LIBS="-lncurses"  
 elif test x$have_curses = xyes; then  
   TERMCAP_LIBS="-lcurses"  
 elif test x$have_termcap = xyes; then  
   TERMCAP_LIBS="-ltermcap"  
 else  
   AC_MSG_ERROR([*** curses or termcap lib not installed - please install first ***])  
 fi  
 AC_SUBST(TERMCAP_LIBS)  
73    
74  # FIXME: Replace `main' with a function in `-lsatellite':  # FIXME: Replace `main' with a function in `-lsatellite':
75  #AC_CHECK_LIB([satellite], [main])  #AC_CHECK_LIB([satellite], [main])
# Line 96  AC_HEADER_STDC Line 84  AC_HEADER_STDC
84  AC_HEADER_SYS_WAIT  AC_HEADER_SYS_WAIT
85  AC_CHECK_HEADERS([fcntl.h float.h locale.h malloc.h stddef.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/time.h sys/timeb.h termios.h unistd.h \  AC_CHECK_HEADERS([fcntl.h float.h locale.h malloc.h stddef.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/time.h sys/timeb.h termios.h unistd.h \
86                    vfork.h errno.h limits.h memory.h getopt.h pwd.h \                    vfork.h errno.h limits.h memory.h getopt.h pwd.h \
                   ncurses.h termcap.h curses.h term.h \  
87                    windows.h direct.h io.h process.h])                    windows.h direct.h io.h process.h])
88    
89  # Checks for typedefs, structures, and compiler characteristics.  # Checks for typedefs, structures, and compiler characteristics.

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26