libibmad: Modernize auto files.
Subsystems (2)
cover libibmad: Modernize auto files.
From: Ira Weiny <[email protected]>
Update the Makefile and configure.in files to avoid autogen warnings.
Ira Weiny (2):
libibmad: Makefile.am: Fix INCLUDES warning configure.ac: Update configure.in to configure.ac
Makefile.am | 2 +- configure.ac | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 66 ------------------------------------------------------------ 3 files changed, 67 insertions(+), 67 deletions(-) create mode 100644 configure.ac delete mode 100644 configure.in
Signature · 6 lines
1.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1474870855-21158-1-git-send-email-ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
PATCH 1/2 libibmad: Makefile.am: Fix INCLUDES warning
From: Ira Weiny <[email protected]>
Change INCLUDES to AM_CPPFLAGS to avoid the following warning
Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
--- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile.am +1 -1
@@ -1,7 +1,7 @@ ACLOCAL_AMFLAGS = -I config SUBDIRS = . -INCLUDES = -I$(srcdir)/include -I$(includedir) +AM_CPPFLAGS = -I$(srcdir)/include -I$(includedir) lib_LTLIBRARIES = libibmad.la
Signature · 6 lines
1.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
PATCH 2/2 libibmad: configure.ac: Update configure.in to configure.ac
In reply to a message not in the archiveFrom: Ira Weiny <[email protected]>
To avoid this warning:
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
--- configure.ac | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 66 ------------------------------------------------------------ 2 files changed, 66 insertions(+), 66 deletions(-) create mode 100644 configure.ac delete mode 100644 configure.in
configure.ac new file +66 -0
@@ -0,0 +1,66 @@ +dnl Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.57) +AC_INIT(libibmad, 1.3.12, [email protected]) +AC_CONFIG_SRCDIR([src/sa.c]) +AC_CONFIG_AUX_DIR(config) +AC_CONFIG_MACRO_DIR(config) +AM_CONFIG_HEADER(config.h) +AM_INIT_AUTOMAKE + +AC_SUBST(RELEASE, ${RELEASE:-unknown}) +AC_SUBST(TARBALL, ${TARBALL:-${PACKAGE}-${VERSION}.tar.gz}) + +dnl the library version info is available in the file: libibmad.ver +ibmad_api_version=`grep LIBVERSION $srcdir/libibmad.ver | sed 's/LIBVERSION=//'` +if test -z $ibmad_api_version; then + ibmad_api_version=1:0:0 +fi +AC_SUBST(ibmad_api_version) + +AC_ARG_ENABLE(libcheck, [ --disable-libcheck do not test for presence of ib libraries], +[ if test x$enableval = xno ; then + disable_libcheck=yes + fi +]) + +AM_PROG_LIBTOOL + +dnl Checks for programs +AC_PROG_CC + +dnl Checks for libraries +if test "$disable_libcheck" != "yes" +then +AC_CHECK_LIB(ibumad, umad_init, [], + AC_MSG_ERROR([umad_init() not found. libibmad requires libibumad.])) +fi + +dnl Checks for header files. +AC_HEADER_STDC +AC_CHECK_HEADERS([netinet/in.h stdlib.h string.h sys/time.h unistd.h]) +if test "$disable_libcheck" != "yes" +then +AC_CHECK_HEADER(infiniband/umad.h, [], + AC_MSG_ERROR([<infiniband/umad.h> not found. libibmad requires libibumad.]) +) +fi + +dnl Checks for library functions +AC_CHECK_FUNCS([memset strrchr strtol]) + +dnl Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST +AC_C_INLINE + +AC_CACHE_CHECK(whether ld accepts --version-script, ac_cv_version_script, + if test -n "`$LD --help < /dev/null 2>/dev/null | grep version-script`"; then + ac_cv_version_script=yes + else + ac_cv_version_script=no + fi) + +AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$ac_cv_version_script" = "yes") + +AC_CONFIG_FILES([Makefile libibmad.spec]) +AC_OUTPUT
configure.in deleted +0 -66
66 lines not on this page · raw message
Signature · 6 lines
1.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html