]>
Commit | Line | Data |
---|---|---|
4cd1322d ES |
1 | # |
2 | # See if blkid has the topology bits | |
3 | # | |
4 | ||
5 | AC_DEFUN([AC_HAVE_BLKID_TOPO], | |
6 | [ | |
2a3a4942 JT |
7 | AC_SEARCH_LIBS([blkid_probe_all], [blkid]) |
8 | AC_CHECK_FUNCS(blkid_probe_get_topology) | |
9 | if test $ac_cv_func_blkid_probe_get_topology = yes; then | |
10 | libblkid="-lblkid" | |
11 | else | |
12 | echo | |
13 | echo 'FATAL ERROR: could not find a valid BLKID header.' | |
14 | echo 'Install the Block device ID development package.' | |
15 | exit 1 | |
4cd1322d ES |
16 | fi |
17 | AC_SUBST(libblkid) | |
18 | ]) |