You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

61 rivejä
1.0 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. dnl
  17. dnl Inherit all Lol Engine checks
  18. dnl
  19. LOL_AC_SUBPROJECT()
  20. dnl
  21. dnl Additional checks
  22. dnl
  23. PKG_CHECK_MODULES(CACA, caca >= 0.99.beta17)
  24. dnl Unix-specific libutil
  25. AC_CHECK_LIB(util, forkpty,
  26. [UTIL_LIBS="${UTIL_LIBS} -lutil"
  27. dnl Override future forkpty detection
  28. ac_cv_func_forkpty="yes"])
  29. AC_CHECK_FUNCS(forkpty)
  30. AC_CHECK_FUNCS(getopt_long)
  31. AC_CHECK_HEADERS(glob.h endian.h getopt.h)
  32. AC_CHECK_HEADERS(libutil.h util.h pty.h)
  33. AC_CHECK_HEADERS(linux/kdev_t.h linux/major.h)
  34. AC_CHECK_HEADERS(security/pam_appl.h security/pam_misc.h)
  35. AC_CHECK_HEADERS(pam/pam_appl.h pam/pam_misc.h)
  36. AC_SUBST(UTIL_LIBS)
  37. AC_SUBST(PAM_LIBS)
  38. dnl
  39. dnl Perform the actual commands
  40. dnl
  41. AC_CONFIG_FILES(
  42. [Makefile
  43. neercs/Makefile
  44. ])
  45. AC_OUTPUT