[PATCH 2/4] configure.ac: Removed a number warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Steve Dickson <steved@xxxxxxxxxx>
---
 Makefile             | 4 ++--
 configure.ac         | 8 ++++----
 include/builddefs.in | 1 +
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index be7454d..a460e78 100644
--- a/Makefile
+++ b/Makefile
@@ -60,8 +60,8 @@ clean:	# if configure hasn't run, nothing to clean
 endif
 
 $(CONFIGURE): aclocal.m4
+	autoupdate --force
 	autoreconf --install
-	autoconf
 	./configure \
 		--prefix=/ \
 		--exec-prefix=/ \
@@ -96,6 +96,6 @@ install-lib: default
 
 realclean distclean: clean
 	rm -f $(LDIRT) $(CONFIGURE)
-	rm -rf autom4te.cache Logs
+	rm -rf autom4te.cache Logs configure.ac~
 	rm -rf config.guess config.sub configure~
 
diff --git a/configure.ac b/configure.ac
index c624295..3337575 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
-AC_INIT([nfs4-acl-tools], [0.3.3])
-AC_CONFIG_HEADER(include/config.h)
+AC_INIT([nfs4-acl-tools],[0.3.3])
+AC_CONFIG_HEADERS(include/config.h)
 AC_PREFIX_DEFAULT(/usr/local)
 
 AC_CONFIG_MACRO_DIRS([m4])
@@ -12,7 +12,6 @@ AC_SUBST(enable_shared)
 AC_PROG_INSTALL
 AC_PROG_CC
 
-AC_HEADER_STDC
 AC_CHECK_HEADERS([netinet/in.h stdlib.h string.h unistd.h])
 AC_CHECK_HEADERS([attr/xattr.h sys/xattr.h])
 
@@ -33,4 +32,5 @@ AC_PACKAGE_UTILITIES([nfs4acl])
 AC_PACKAGE_NEED_GETXATTR_LIBATTR
 AC_MANUAL_FORMAT
 
-AC_OUTPUT(include/builddefs)
+AC_CONFIG_FILES([include/builddefs])
+AC_OUTPUT
diff --git a/include/builddefs.in b/include/builddefs.in
index fe49b08..3dab1de 100644
--- a/include/builddefs.in
+++ b/include/builddefs.in
@@ -43,6 +43,7 @@ LIBNFS4ACL = $(TOPDIR)/libnfs4acl/libnfs4acl.la
 LIBATTR = @libattr@
 
 prefix = @prefix@
+datarootdir = @datarootdir@
 exec_prefix = @exec_prefix@
 
 DESTDIR =
-- 
2.36.1




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux