home *** CD-ROM | disk | FTP | other *** search
/ ftp.shrubbery.net / 2015-02-07.ftp.shrubbery.net.tar / ftp.shrubbery.net / pub / foad / foad-0.3.tar.gz / foad-0.3.tar / foad-0.3 / configure.in < prev    next >
Text File  |  2003-09-22  |  974b  |  50 lines

  1. dnl Process this file with autoconf to produce a configure script.
  2. dnl A configure script is provided, in cause you do not have autoconf.
  3.  
  4. AC_PREREQ(2.54)
  5. AC_INIT(CHANGES)
  6.  
  7. AM_INIT_AUTOMAKE(foad, 0.2)
  8.  
  9. AM_CONFIG_HEADER(config.h)
  10.  
  11. # make sure MAKE sets ${MAKE}
  12. AC_PROG_MAKE_SET()
  13.  
  14. dnl default install location
  15. AC_PREFIX_DEFAULT(/usr/local)
  16.  
  17. AM_MAINTAINER_MODE()
  18.  
  19. dnl configure options
  20. dnl
  21.  
  22. # compiler specifics
  23. AC_PROG_CC                
  24. AM_C_PROTOTYPES
  25. AC_PROG_CPP
  26. AC_C_CONST
  27. AC_C_INLINE
  28. AC_C_STRINGIZE
  29. AM_PROG_LEX
  30. AC_PROG_YACC
  31.  
  32. # check includes/headers
  33. AC_HEADER_STDC
  34.  
  35. AC_CHECK_HEADERS(errno.h stdlib.h string.h strings.h sys/types.h)
  36. AC_CHECK_HEADERS(malloc.h unistd.h)
  37.  
  38. # check functions
  39. AC_CHECK_FUNCS(bzero)
  40. AC_CHECK_FUNCS(rindex)
  41.  
  42. # Find an appropriate tar for use in "dist" targets.  A "best guess"
  43. # is good enough -- if we can't find GNU tar, we don't really care.
  44. AC_CHECK_PROGS(TAR, gnutar gtar tar)
  45.  
  46. AC_SUBST(INST_PROGS)
  47. INST_PROGS=$progs
  48.  
  49. AC_OUTPUT([Makefile])
  50.