configure.ac 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. AC_PREREQ([2.69])
  4. AC_INIT(eacsmb, 1.0, no@spam.com)
  5. AM_INIT_AUTOMAKE([-Werror foreign subdir-objects])
  6. AC_CONFIG_SRCDIR([config.h.in])
  7. AC_CONFIG_HEADERS([config.h])
  8. # Checks for programs.
  9. AC_PROG_CC
  10. # Checks for libraries.
  11. # FIXME: Replace `main' with a function in `-lGL':
  12. AC_CHECK_LIB([GL], [main])
  13. # FIXME: Replace `main' with a function in `-lGLEW':
  14. AC_CHECK_LIB([GLEW], [main])
  15. # FIXME: Replace `main' with a function in `-lGLU':
  16. AC_CHECK_LIB([GLU], [main])
  17. # FIXME: Replace `main' with a function in `-lX11':
  18. AC_CHECK_LIB([X11], [main])
  19. # FIXME: Replace `main' with a function in `-lfreetype':
  20. AC_CHECK_LIB([freetype], [main])
  21. # FIXME: Replace `main' with a function in `-lm':
  22. AC_CHECK_LIB([m], [main])
  23. # Checks for header files.
  24. AC_PATH_X
  25. AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
  26. # Checks for typedefs, structures, and compiler characteristics.
  27. # Checks for library functions.
  28. AC_CONFIG_FILES([Makefile
  29. src/Makefile])
  30. AC_OUTPUT