Search for pod2man during configure
[awesomized/libmemcached] / config / pod2man.m4
diff --git a/config/pod2man.m4 b/config/pod2man.m4
new file mode 100644 (file)
index 0000000..ef9f394
--- /dev/null
@@ -0,0 +1,5 @@
+AC_PATH_PROG([POD2MAN], [pod2man], "no", [$PATH:/usr/bin:/usr/local/bin])
+if test "x$POD2MAN" == "xno"; then
+  AC_MSG_ERROR(["Could not find pod2man anywhere in path"])
+fi
+AC_SUBST(POD2MAN)