Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

63 rader
1.1 KiB

  1. dnl
  2. dnl Configure script for a Lol Engine project
  3. dnl
  4. AC_INIT(neercs, 0.0)
  5. dnl
  6. dnl Standard autoconf setup and tools requirements
  7. dnl
  8. AC_PREREQ(2.50)
  9. AC_CONFIG_AUX_DIR(.auto)
  10. AC_CANONICAL_SYSTEM
  11. AM_INIT_AUTOMAKE([subdir-objects no-define tar-ustar silent-rules])
  12. AM_DEFAULT_VERBOSITY=0
  13. AC_PROG_CXX
  14. AM_PROG_LIBTOOL
  15. AC_LIBTOOL_CXX
  16. AC_CONFIG_HEADER(config.h)
  17. AC_CONFIG_FILES(
  18. [Makefile
  19. neercs/Makefile
  20. ])
  21. dnl
  22. dnl Inherit all Lol Engine checks
  23. dnl
  24. LOL_AC_SUBPROJECT()
  25. dnl
  26. dnl Additional checks
  27. dnl
  28. PKG_CHECK_MODULES(CACA, caca >= 0.99.beta17)
  29. dnl Unix-specific libutil
  30. AC_CHECK_LIB(util, forkpty,
  31. [UTIL_LIBS="${UTIL_LIBS} -lutil"
  32. dnl Override future forkpty detection
  33. ac_cv_func_forkpty="yes"])
  34. AC_CHECK_FUNCS(forkpty)
  35. AC_CHECK_FUNCS(getopt_long)
  36. AC_CHECK_HEADERS(glob.h endian.h getopt.h)
  37. AC_CHECK_HEADERS(libutil.h util.h pty.h)
  38. AC_CHECK_HEADERS(linux/kdev_t.h linux/major.h)
  39. AC_CHECK_HEADERS(security/pam_appl.h security/pam_misc.h)
  40. AC_CHECK_HEADERS(pam/pam_appl.h pam/pam_misc.h)
  41. AC_SUBST(UTIL_LIBS)
  42. AC_SUBST(PAM_LIBS)
  43. dnl
  44. dnl Perform the actual commands
  45. dnl
  46. AC_OUTPUT