# virt-what
-# Copyright (C) 2008-2011 Red Hat Inc.
+# Copyright (C) 2008-2015 Red Hat Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-AC_INIT([virt-what],[1.12])
+AC_INIT([virt-what],[1.15])
AM_INIT_AUTOMAKE([foreign])
dnl Check for basic C environment.
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([virt-what],[chmod +x virt-what])
AC_CONFIG_FILES([Makefile])
+
+AC_CHECK_PROG([POD2MAN], [pod2man], [pod2man], [false])
+if test "$POD2MAN" = "false"; then
+ AC_MSG_WARN([pod2man was not found. This is needed to build man pages.])
+fi
+AM_CONDITIONAL([HAVE_POD2MAN], [test "$POD2MAN" != "false"])
+
AC_OUTPUT