SHA256
1
0
forked from pool/mstflint
mstflint/mstflint-autotools.patch

64 lines
2.2 KiB
Diff
Raw Normal View History

---
configure.ac | 34 ++++++++++++++++++++++++----------
1 file changed, 24 insertions(+), 10 deletions(-)
Index: configure.ac
===================================================================
--- configure.ac.orig 2014-05-14 04:09:28.079178181 +0200
+++ configure.ac 2014-05-14 04:13:35.515332301 +0200
@@ -1,6 +1,6 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(mstflint, 3.6.0, orenk@mellanox.co.il)
+AC_INIT([mstflint], [3.6.0], [orenk@mellanox.co.il])
AC_DEFINE_UNQUOTED([PROJECT], ["mstflint"], [Define the project name.])
AC_SUBST([PROJECT])
@@ -10,13 +10,13 @@ AC_SUBST([VERSION])
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_SRCDIR([README])
-AM_INIT_AUTOMAKE(mstflint, 3.6.0)
+AM_INIT_AUTOMAKE([-Wall foreign])
dnl Checks for programs
-AC_PROG_CC
-AC_PROG_CXX
-AC_PROG_LIBTOOL
-AC_CONFIG_HEADERS( config.h )
+AC_PROG_CC()
+AC_PROG_CXX()
+AC_PROG_LIBTOOL()
+AC_CONFIG_HEADERS([config.h])
AC_MSG_CHECKING(--enable-dc argument)
AC_ARG_ENABLE(dc,
@@ -47,9 +47,23 @@ AM_CONDITIONAL(ENABLE_INBAND, [test "x$
CFLAGS="$CFLAGS -Werror -DMST_UL"
CXXFLAGS="$CXXFLAGS -Werror -DMST_UL"
-AC_CONFIG_FILES( mstflint.spec )
+AC_CONFIG_FILES( mstflint.spec \
+ Makefile \
+ mft_utils/Makefile \
+ mtcr_ul/Makefile \
+ dev_mgt/Makefile \
+ tools_layouts/Makefile \
+ reg_access/Makefile \
+ mlxconfig/Makefile \
+ mflash/Makefile \
+ mlxfwops/Makefile \
+ mlxfwops/lib/Makefile \
+ cmdparser/Makefile flint/Makefile \
+ small_utils/Makefile \
+ mstdump/Makefile \
+ mstdump/crd_lib/Makefile \
+ mstdump/crd_main/Makefile \
+ mstdump/mstdump_dbs/Makefile )
-AC_OUTPUT( Makefile mft_utils/Makefile mtcr_ul/Makefile dev_mgt/Makefile tools_layouts/Makefile reg_access/Makefile mlxconfig/Makefile \
- mflash/Makefile mlxfwops/Makefile mlxfwops/lib/Makefile cmdparser/Makefile flint/Makefile \
- small_utils/Makefile mstdump/Makefile mstdump/crd_lib/Makefile mstdump/crd_main/Makefile mstdump/mstdump_dbs/Makefile )
+AC_OUTPUT()