(gl_FCNTL_SAFER): Add creat-safer.c to the
authorJim Meyering <jim@meyering.net>
Sat, 27 Aug 2005 14:35:43 +0000 (14:35 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 27 Aug 2005 14:35:43 +0000 (14:35 +0000)
AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.

m4/fcntl-safer.m4

index 20cb0f1..be210f9 100644 (file)
@@ -1,4 +1,4 @@
-# fcntl-safer.m4 serial 1
+#serial 2
 dnl Copyright (C) 2005 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -6,6 +6,7 @@ dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_FCNTL_SAFER],
 [
-  AC_LIBSOURCES([open-safer.c, fcntl-safer.h, fcntl--.h])
+  AC_LIBSOURCES([creat-safer.c, fcntl-safer.h, open-safer.c, fcntl--.h])
   AC_LIBOBJ([open-safer])
+  AC_LIBOBJ([creat-safer])
 ])