File: package_blkid.m4

package info (click to toggle)
xfsprogs 4.9.0+nmu1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 8,012 kB
  • ctags: 10,574
  • sloc: ansic: 110,850; sh: 3,804; makefile: 863; python: 126
file content (18 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# See if blkid has the topology bits
#

AC_DEFUN([AC_HAVE_BLKID_TOPO],
[
  AC_SEARCH_LIBS([blkid_probe_all], [blkid])
  AC_CHECK_FUNCS(blkid_probe_get_topology)
  if test $ac_cv_func_blkid_probe_get_topology = yes; then
    libblkid="-lblkid"
  else
    echo
    echo 'FATAL ERROR: could not find a valid BLKID header.'
    echo 'Install the Block device ID development package.'
    exit 1
  fi
  AC_SUBST(libblkid)
])