~ubuntu-branches/debian/sid/lvm2/sid

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Package Import Robot
  • Author(s): Bastian Blank
  • Date: 2014-08-19 15:37:06 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20140819153706-i1gaio8lg534dara
Tags: 2.02.109-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
m4_popdef([pkg_description])
213
213
]) dnl PKG_NOARCH_INSTALLDIR
214
214
 
 
215
 
 
216
# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
 
217
# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
 
218
# -------------------------------------------
 
219
# Retrieves the value of the pkg-config variable for the given module.
 
220
AC_DEFUN([PKG_CHECK_VAR],
 
221
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
 
222
AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
 
223
 
 
224
_PKG_CONFIG([$1], [variable="][$3]["], [$2])
 
225
AS_VAR_COPY([$1], [pkg_cv_][$1])
 
226
 
 
227
AS_VAR_IF([$1], [""], [$5], [$4])dnl
 
228
])# PKG_CHECK_VAR
 
229
 
215
230
m4_include([acinclude.m4])