]> git.cworth.org Git - tar/blobdiff - m4/system.m4
Imported Upstream version 1.23
[tar] / m4 / system.m4
index f0845afb88c5bf462c20cfb5f3826594601e8bb2..bafedda49fcd385b6bc8f9905c0cafffe9f8048c 100644 (file)
@@ -1,6 +1,6 @@
 # Configuration for paxutils/lib/system.h.
 
-# Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2005, 2006, 2007, 2009 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.
@@ -24,6 +24,8 @@ AC_DEFUN([PU_SYSTEM],[
   AC_REQUIRE([AC_STRUCT_ST_BLKSIZE])
 
   AC_CHECK_FUNCS_ONCE(lstat mkfifo setlocale)
-  AC_REQUIRE([gl_INTTYPES_H])
+  AC_REQUIRE([gl_INTTOSTR])
   AC_REQUIRE([gl_STDINT_H])
+
+  AC_SEARCH_LIBS(gethostbyname, nsl)
 ])