Collection of DPF-based plugins for packaging
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.

36 lines
1.1KB

  1. # ===========================================================================
  2. # https://www.gnu.org/software/autoconf-archive/ax_lib_orbit2.html
  3. # ===========================================================================
  4. #
  5. # SYNOPSIS
  6. #
  7. # AX_LIB_ORBIT2([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
  8. #
  9. # DESCRIPTION
  10. #
  11. # Checks for minimum Orbit2 library version VERSION. If successful
  12. # executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
  13. #
  14. # Defines ORBIT2_LIBS and ORBIT2_CFLAGS.
  15. #
  16. # A simple example:
  17. #
  18. # AX_LIB_ORBIT2([2.14.16],,[
  19. # AC_MSG_ERROR([Your system lacks of orbit2 >= 2.14.16])
  20. # ])
  21. #
  22. # LICENSE
  23. #
  24. # Copyright (c) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
  25. #
  26. # Copying and distribution of this file, with or without modification, are
  27. # permitted in any medium without royalty provided the copyright notice
  28. # and this notice are preserved. This file is offered as-is, without any
  29. # warranty.
  30. #serial 8
  31. AC_DEFUN([AX_LIB_ORBIT2], [
  32. AX_PATH_GENERIC([orbit2],[$1],'s/^ORBit2\ \+//',[$2],[$3])
  33. ])