configure.ac 611 B

123456789101112131415161718192021222324252627282930
  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. AC_PREREQ([2.67])
  4. AC_INIT([libPolyCore], [0.8.2], [[email protected]])
  5. AC_CONFIG_FILES([Makefile])
  6. AM_INIT_AUTOMAKE([libPolyCore], [0.8.2])
  7. LT_INIT()
  8. AC_PROG_RANLIB
  9. AC_PROG_LIBTOOL
  10. AC_PROG_CXX
  11. # Checks for programs.
  12. # Checks for libraries.
  13. AC_CHECK_LIB([PolyCore], [png_create_read_struct],[], [
  14. echo "libpng is required!"
  15. exit -1])
  16. # Checks for header files.
  17. # Checks for typedefs, structures, and compiler characteristics.
  18. # Checks for library functions.
  19. AC_OUTPUT