Clarify the configure message for when pre-xfsctl libxfs.h versions are being used...
[xfstests-dev.git] / aclocal.m4
index 895bf99b50dba2f255093b6297df53b1dbb9a10a..817fd3e4ad484bec9fc50e65a0509ad1e804ac2a 100644 (file)
@@ -1,14 +1,15 @@
-dnl aclocal.m4 generated automatically by aclocal 1.4-p6
+# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*-
 
-dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
+# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
+# Free Software Foundation, Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-dnl This program is distributed in the hope that it will be useful,
-dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-dnl PARTICULAR PURPOSE.
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
 
 # 
 # Generic macro, sets up all of the global packaging variables.
@@ -203,8 +204,8 @@ AC_DEFUN([AC_PACKAGE_NEED_XFS_LIBXFS_H],
   [ AC_CHECK_HEADERS([xfs/libxfs.h])
     if test "$ac_cv_header_xfs_libxfs_h" != "yes"; then
         echo
-        echo 'FATAL ERROR: XFS header <xfs/libxfs.h> does not exist.'
-        echo 'Install the XFS programs (xfsprogs) development package.'
+        echo 'FATAL ERROR: cannot find a valid <xfs/libxfs.h> header file.'
+        echo 'Install or upgrade the XFS development package.'
         echo 'Alternatively, run "make install-dev" from the xfsprogs source.'
         exit 1
     fi
@@ -214,8 +215,8 @@ AC_DEFUN([AC_PACKAGE_NEED_XFS_HANDLE_H],
   [ AC_CHECK_HEADERS([xfs/handle.h])
     if test "$ac_cv_header_xfs_handle_h" != "yes"; then
         echo
-        echo 'FATAL ERROR: XFS header <xfs/handle.h> does not exist.'
-        echo 'Install the XFS programs (xfsprogs) development package.'
+        echo 'FATAL ERROR: cannot find a valid <xfs/handle.h> header file.'
+        echo 'Install or upgrade the XFS development package.'
         echo 'Alternatively, run "make install-dev" from the xfsprogs source.'
         exit 1
     fi
@@ -225,8 +226,8 @@ AC_DEFUN([AC_PACKAGE_NEED_LIBXFSINIT_LIBXFS],
   [ AC_CHECK_LIB(xfs, libxfs_init,, [
         echo
         echo 'FATAL ERROR: could not find a valid XFS base library.'
-        echo 'Install the XFS programs (xfsprogs) library package.'
-        echo 'Alternatively, run "make install-dev" from the xfsprogs source.'
+        echo 'Install or upgrade the XFS library package.'
+        echo 'Alternatively, run "make install-lib" from the xfsprogs source.'
         exit 1
     ])
     libxfs="-lxfs"
@@ -240,7 +241,7 @@ AC_DEFUN([AC_PACKAGE_NEED_ATTRLIST_LIBHANDLE],
   [ AC_CHECK_LIB(handle, attr_list_by_handle,, [
         echo
         echo 'FATAL ERROR: could not find a current XFS handle library.'
-        echo 'Install the XFS programs (xfsprogs) library package.'
+        echo 'Install or upgrade the XFS library package.'
         echo 'Alternatively, run "make install-lib" from the xfsprogs source.'
         exit 1
     ])