configure.ac 727 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. dnl Process this file with autoconf to produce a configure script.
  2. AC_PREREQ(2.50)
  3. AC_INIT(codria, 0.0.1)
  4. AC_CONFIG_HEADERS(config.in)
  5. AM_INIT_AUTOMAKE
  6. AC_PROG_CXX
  7. AC_PROG_INSTALL
  8. AC_PROG_MAKE_SET
  9. dnl Initialize automake
  10. AM_INIT_AUTOMAKE
  11. dnl Initialize Libtool
  12. LT_INIT
  13. dnl Check if Libtool is present
  14. dnl Libtool is used for building shared libraries
  15. AC_PROG_LIBTOOL
  16. ##########################
  17. # Checking for packages #
  18. # ########################
  19. PKG_CHECK_MODULES(OGRE, [OGRE >= 1.7])
  20. AC_SUBST(OGRE_CFLAGS)
  21. AC_SUBST(OGRE_LIBS)
  22. PKG_CHECK_MODULES(OIS, [OIS >= .0])
  23. AC_SUBST(OIS_CFLAGS)
  24. AC_SUBST(OIS_LIBS)
  25. ##########################
  26. AC_CONFIG_FILES(Makefile
  27. src/Makefile
  28. )
  29. AC_OUTPUT