Sfoglia il codice sorgente

build: Use AC_REQUIRE for AC_CANONICAL_HOST in DPKG_FUNC_ASYNC_SYNC

Guillem Jover 15 anni fa
parent
commit
2d8721c841
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      m4/dpkg-funcs.m4

+ 1 - 1
m4/dpkg-funcs.m4

@@ -90,7 +90,7 @@ AC_DEFUN([DPKG_MMAP],
 # Define HAVE_ASYNC_SYNC if sync() is asynchronous
 # Define HAVE_ASYNC_SYNC if sync() is asynchronous
 AC_DEFUN([DPKG_FUNC_ASYNC_SYNC],
 AC_DEFUN([DPKG_FUNC_ASYNC_SYNC],
 [
 [
-  AC_CANONICAL_HOST
+  AC_REQUIRE([AC_CANONICAL_HOST])
   AC_MSG_CHECKING([whether sync is asynchronous])
   AC_MSG_CHECKING([whether sync is asynchronous])
   AS_CASE([$host_os],
   AS_CASE([$host_os],
           [linux-*], [dpkg_cv_async_sync=no],
           [linux-*], [dpkg_cv_async_sync=no],