mconnect - KDE Connect protocol implementation in Vala/C
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 lines
1.9 KiB

  1. #
  2. # This program is free software; you can redistribute it and/or modify
  3. # it under the terms of the GNU General Public License version 2 as
  4. # published by the Free Software Foundation.
  5. #
  6. # This program is distributed in the hope that it will be useful,
  7. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. # GNU General Public License for more details.
  10. #
  11. # You should have received a copy of the GNU General Public License along
  12. # with this program; if not, write to the Free Software Foundation, Inc.,
  13. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  14. #
  15. # AUTHORS
  16. # Maciek Borzecki <maciek.borzecki (at] gmail.com>
  17. #
  18. AC_PREREQ(2.61)
  19. AC_INIT([mconnect], [0.1.0], [maciek.borzecki@gmail.com])
  20. AC_CONFIG_SRCDIR([src/main.vala])
  21. AC_CONFIG_AUX_DIR([.])
  22. AC_PROG_MAKE_SET
  23. AM_INIT_AUTOMAKE([tar-pax foreign subdir-objects])
  24. AM_SILENT_RULES([yes])
  25. AM_MAINTAINER_MODE
  26. # Checks for header files.
  27. # AC_HEADER_STDC
  28. # AC_CHECK_HEADERS([stdlib.h])
  29. # Checks for typedefs, structures, and compiler characteristics.
  30. # AC_C_CONST
  31. # Checks for programs.
  32. AC_PROG_CC
  33. AM_PROG_VALAC([0.7.0])
  34. AC_PROG_INSTALL
  35. AC_SUBST(MCONNECT_VALAFLAGS, ["--pkg=json-glib-1.0 --pkg=gee-0.8 --pkg=libnotify"])
  36. # AC_SUBST(MCONNECT_VALAFLAGS, [--pkg=json-glib-1.0 --pkg=gee-0.8])
  37. PKG_CHECK_MODULES(MCONNECT, [glib-2.0,
  38. gobject-2.0,
  39. gio-2.0,
  40. gio-unix-2.0,
  41. json-glib-1.0,
  42. gee-0.8,
  43. libcrypto
  44. libvala-0.26
  45. libnotify
  46. ])
  47. AC_SUBST(MCONNECT_CFLAGS)
  48. AC_SUBST(MCONNECT_LIBS)
  49. AC_SUBST(GEN_INTROSPECT,$($PKG_CONFIG --variable=gen_introspect libvala-0.26))
  50. # Files to generate
  51. AC_CONFIG_FILES([Makefile])
  52. # Output
  53. AC_OUTPUT