X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=da2ebb3103fbc1f6333b8f19419c88548091ed79;hb=5c4bdcf6abe012dbc4965e5bede00c8a9d31a8f6;hp=0aa7debeccc996f1da6e5373d1182a61bddf0b4a;hpb=4fbbc8153ab74d5448bbb6d1113f1bc39f55402a;p=virt-what.git diff --git a/configure.ac b/configure.ac index 0aa7deb..da2ebb3 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ # 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.10]) +AC_INIT([virt-what],[1.14]) AM_INIT_AUTOMAKE([foreign]) dnl Check for basic C environment. @@ -28,8 +28,19 @@ test "x$U" != "x" && AC_MSG_ERROR([Compiler not ANSI compliant]) AM_PROG_CC_C_O +dnl Architecture we are compiling for. +AC_CANONICAL_HOST +AM_CONDITIONAL([HOST_CPU_IA64], [ test "x$host_cpu" = "xia64" ]) + dnl Produce output files. 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