mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-16 21:14:55 +03:00
configure.ac: make A2X precious
A2X is explicitly declared with AC_ARG_VAR to allow users to pass a custom value to configure. Thus, users who do not have a2x installed can invoke A2X=/bin/true ./configure --enable-examples to prevent configure stopping on the a2x check.
This commit is contained in:
1 parent
842a4135a7
commit
838d5ce37b
1 file changed
+1
@@ -236,6 +236,7 @@ AC_ARG_ENABLE([examples],
|
||||
[build_examples="yes"])
|
||||
|
||||
if test "x$build_examples" = "xyes"; then
|
||||
AC_ARG_VAR([A2X], [a2x command])
|
||||
AC_PATH_PROG([A2X], [a2x])
|
||||
if test "x$A2X" = "x"; then
|
||||
AC_MSG_WARN([==> You want to build the examples binaries, that is also including the respective manpages but a2x was not found!])
|
||||
|
||||
Reference in new issue
Block a user