home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / texinfo-3.7-src.tgz / tar.out / fsf / texinfo / configure.in < prev    next >
Text File  |  1996-09-28  |  1KB  |  41 lines

  1. dnl Process this file with autoconf to produce a configure script.
  2. AC_INIT(texinfo.texi)
  3.  
  4. dnl Checks for programs.
  5. AC_PROG_GCC_TRADITIONAL
  6. AC_PROG_INSTALL
  7. AC_PROG_RANLIB
  8.  
  9. AC_ISC_POSIX
  10. AC_MINIX
  11.  
  12. dnl Checks for libraries.
  13. # Needed on sysV68 for sigblock, sigsetmask.
  14. AC_CHECK_LIB(bsd, sigblock)
  15.  
  16. TERMLIBS=
  17. for termlib in curses termcap terminfo termlib ; do
  18.    AC_CHECK_LIB(${termlib}, tputs,
  19.      [TERMLIBS="${TERMLIBS} -l${termlib}"; break])
  20. done
  21. AC_SUBST(TERMLIBS)
  22.  
  23. dnl Checks for header files.
  24. AC_HEADER_STDC
  25. AC_CHECK_HEADERS(unistd.h termio.h string.h varargs.h \
  26.   sys/time.h sys/fcntl.h sys/ttold.h sys/ptem.h sys/file.h)
  27.  
  28. dnl Checks for typedefs, structures, and compiler characteristics.
  29. AC_TYPE_OFF_T
  30. AC_C_CONST
  31. AC_STRUCT_TM
  32.  
  33. dnl Checks for library functions.
  34. AC_FUNC_ALLOCA
  35. AC_FUNC_SETVBUF_REVERSED
  36. AC_CHECK_FUNCS(setvbuf getcwd bzero bcopy  memset memcpy memmove strchr \
  37.            strcasecmp strdup vfprintf vsprintf strerror sigprocmask \
  38.            sigsetmask)
  39.  
  40. AC_OUTPUT(Makefile libtxi/Makefile makeinfo/Makefile info/Makefile util/Makefile emacs/Makefile)
  41.