configure.ac 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. dnl -*- Autoconf -*-
  2. dnl
  3. dnl configuration script for Guile-Squee
  4. dnl Process this file with autoconf to produce configure.
  5. dnl
  6. define(GUILE_SQUEE_CONFIGURE_COPYRIGHT,[[
  7. Copyright (C) 2015
  8. David Pirotte <david at altosw dot be>
  9. This file is part of Guile-Squee.
  10. Guile-Squee is free software: you can redistribute it and/or modify it
  11. under the terms of the GNU General Lesser Public License as published
  12. by the Free Software Foundation, either version 3 of the License, or
  13. (at your option) any later version.
  14. Guile-Squee is distributed in the hope that it will be useful, but
  15. WITHOUT ANY WARRANTY; without even the implied warranty of
  16. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. Lesser General Public License for more details.
  18. You should have received a copy of the GNU Lesser General Public
  19. License along with Guile-Squee. If not, see
  20. <http://www.gnu.org/licenses/>.
  21. ]])
  22. AC_PREREQ(2.61)
  23. AC_INIT([guile-squee], [0.1.0], [guile-user at gnu dot org])
  24. AC_CONFIG_AUX_DIR([build-aux])
  25. AC_CONFIG_MACRO_DIR([m4])
  26. dnl Use `serial-tests' so the output `check-guile' is not hidden
  27. dnl (`parallel-tests' is the default in Automake 1.13.)
  28. dnl `serial-tests' was introduced in Automake 1.12.
  29. AM_INIT_AUTOMAKE([1.12 gnu -Wall -Werror -Wno-portability -Wno-syntax \
  30. color-tests serial-tests foreign])
  31. AM_MAINTAINER_MODE([enable])
  32. AM_SILENT_RULES([yes])
  33. AC_COPYRIGHT(GUILE_SQUEE_CONFIGURE_COPYRIGHT)
  34. AC_CONFIG_SRCDIR([squee])
  35. GUILE_PKG([2.2 2.0])
  36. GUILE_PROGS([2.0.11])
  37. GUILE_PREFIX_DIR
  38. GUILE_SITE_DIR
  39. GUILE_GLOBAL_SITE_DIR
  40. GUILE_SITE_CCACHE_DIR
  41. PKG_CHECK_MODULES(
  42. [LIBPQ],
  43. [libpq >= 9.4.4])
  44. AC_CONFIG_FILES(
  45. [env],
  46. [chmod +x env])
  47. AC_CONFIG_FILES([
  48. meta/guile-squee-1.0.pc
  49. Makefile
  50. doc/Makefile])
  51. AC_OUTPUT