home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / CLISP / CLISPSRC.TAR / clisp-1995-01-01 / src / readline / configure.in < prev    next >
Encoding:
Text File  |  1994-06-19  |  2.4 KB  |  86 lines

  1. dnl  AUTOCONF configuration for the READLINE library
  2. dnl  Bruno Haible 1.2.1994
  3. dnl
  4. dnl  configure.in ---<autoconf>--->> configure
  5. dnl
  6. dnl  configure    ---<sh>--->> config.status
  7. dnl                      --->> sysdep.h
  8. dnl          Makefile.in --->> Makefile
  9. dnl
  10. dnl  Makefile     ---<make>--->> libreadline.a
  11. dnl
  12. dnl
  13. AC_INIT(readline.c)
  14. AC_CONFIG_HEADER(config.h)
  15. dnl
  16. dnl           checks for programs
  17. dnl
  18. AC_PROG_CC
  19.                       dnl sets variable CC
  20. AC_PROG_CPP
  21.                       dnl sets variable CPP
  22. AC_GCC_TRADITIONAL
  23.                       dnl modifies variable CC
  24. AC_PROG_RANLIB
  25.                       dnl sets variable RANLIB
  26. AC_PROG_INSTALL
  27.                       dnl sets variables INSTALL, INSTALL_DATA, INSTALL_PROGRAM
  28. dnl
  29. dnl           checks for UNIX variants that set DEFS
  30. dnl
  31. AC_AIX
  32.                       dnl DEFS _ALL_SOURCE
  33. AC_ISC_POSIX
  34.                       dnl DEFS _POSIX_SOURCE, LIBS
  35. AC_MINIX
  36.                       dnl DEFS _POSIX_SOURCE
  37. dnl
  38. dnl           checks for compiler characteristics
  39. dnl
  40. AC_CONST
  41.                       dnl DEFS const
  42. AC_INLINE
  43.                       dnl DEFS inline
  44. RL_VOID
  45.                       dnl DEFS void
  46. dnl
  47. dnl           checks for header files
  48. dnl
  49. CL_STDC_HEADERS
  50.                       dnl DEFS STDC_HEADERS if exist stdlib.h, stdarg.h, ...
  51. CL_UNISTD_H
  52.                       dnl DEFS HAVE_UNISTD_H if exist unistd.h
  53. CL_OPENFLAGS
  54.                       dnl DEFS NEED_SYS_FILE_H if sys/file.h is needed for the open() flags
  55. AC_DIR_HEADER
  56.                       dnl directory reading functions
  57. AC_XENIX_DIR
  58.                       dnl directory reading functions for Xenix
  59. RL_TERM
  60.                       dnl DEFS HAVE_TERMIOS_H, HAVE_TERMIO_H, HAVE_SYS_TERMIO_H, HAVE_SGTTY_H,
  61.                       dnl      HAVE_TCGETATTR, HAVE_TCFLOW,
  62.                       dnl      HAVE_SYS_STREAM_H, HAVE_SYS_PTEM_H,
  63.                       dnl      HAVE_FIONREAD, NEED_SYS_FILIO_H, NEED_SYS_IOCTL_H
  64. dnl
  65. dnl           checks for typedefs
  66. dnl
  67. dnl
  68. dnl           checks for structure members
  69. dnl
  70. dnl
  71. dnl           checks for functions
  72. dnl
  73. AC_ALLOCA
  74.                       dnl set variable ALLOCA
  75. AC_HAVE_FUNCS(strchr strrchr strpbrk)
  76.                       dnl DEFS HAVE_STRCHR, HAVE_STRRCHR, HAVE_STRPBRK
  77. RL_RETSIGTYPE
  78.                       dnl DEFS RETSIGTYPE_VOID
  79. CL_SIGNALBLOCK
  80.                       dnl DEFS SIGNALBLOCK_POSIX, SIGNALBLOCK_SYSV, SIGNALBLOCK_BSD
  81. dnl
  82. dnl           other checks for UNIX variants
  83. dnl
  84. AC_OUTPUT(Makefile)
  85.  
  86.