]> granicus.if.org Git - libtirpc/commitdiff
libtoolize: Squelch libtoolize warnings
authorChuck Lever <chuck.lever@oracle.com>
Thu, 25 Mar 2010 17:32:54 +0000 (13:32 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 25 Mar 2010 17:32:54 +0000 (13:32 -0400)
Address these build-time complaints from libtoolize:

libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac
and
libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
.gitignore
Makefile.am
configure.ac

index f4a325a969f397d65133310e1e8104ee82c6442e..a5a8f11c3599c5e49f398ece75c71b17cc7f4ed9 100644 (file)
@@ -13,6 +13,7 @@ ltmain.sh
 Makefile.in
 missing
 config.h.in
+m4/*
 # files generated by configure
 confdefs.h
 config.status
index 7f5f37bc08f4d6abfa2b46f9a46fad97af124649..1a7596b829d08d1359e0e930b0f20681c2a679dc 100644 (file)
@@ -1,4 +1,5 @@
 SUBDIRS = src man doc
+ACLOCAL_AMFLAGS = -I m4
 
 nobase_include_HEADERS = tirpc/netconfig.h \
                         tirpc/rpcsvc/crypt.x \
index 0f3ce422e5149a8e9a4971c8cf508db5d6b42268..34dc080abadf0da690a9799a3597333de9112639 100644 (file)
@@ -2,6 +2,7 @@ AC_INIT(libtirpc, 0.2.1)
 AM_INIT_AUTOMAKE(libtirpc, 0.2.1)
 AM_MAINTAINER_MODE
 AC_CONFIG_SRCDIR([src/auth_des.c])
+AC_CONFIG_MACRO_DIR([m4])
 
 AC_ARG_ENABLE(gss,[  --enable-gss            Turn on gss api], [case "${enableval}" in
         yes) gss=true ; AC_CHECK_LIB([gssapi],[gss_init_sec_context]) ;;
@@ -18,7 +19,6 @@ fi
 AC_PROG_CC
 AM_CONFIG_HEADER(config.h)
 AC_PROG_LIBTOOL
-##AC_PROG_RANLIB
 AC_HEADER_DIRENT
 AC_PREFIX_DEFAULT(/usr)
 AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h limits.h locale.h netdb.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h])