Added macros and headers to support SLES15
[compat-rdma/compat.git] / configure.ac
1 AC_PREREQ([2.57])
2 AC_INIT([compat_ofa], 1.0, [http://bugs.openfabrics.org/bugzilla], [compat_ofa])
3
4 AC_CONFIG_AUX_DIR([config])
5 AC_CONFIG_MACRO_DIR([config])
6
7 AC_CANONICAL_SYSTEM
8
9 AC_PROG_CC
10
11 AM_PROG_AS
12
13 AC_CHECK_TOOLS(AR, ar)
14
15 SET_BUILD_ARCH
16 LB_PROG_CC
17 OFA_PROG_LINUX
18 LB_CONDITIONALS
19
20 #
21 #       cleanup auto-generated defines
22 #
23 sed -i '/\<PACKAGE\>/d' $PWD/config.h
24 sed -i '/\<PACKAGE_BUGREPORT\>/d' $PWD/config.h
25 sed -i '/\<PACKAGE_NAME\>/d' $PWD/config.h
26 sed -i '/\<PACKAGE_STRING\>/d' $PWD/config.h
27 sed -i '/\<PACKAGE_TARNAME\>/d' $PWD/config.h
28 sed -i '/\<PACKAGE_URL\>/d' $PWD/config.h
29 sed -i '/\<PACKAGE_VERSION\>/d' $PWD/config.h
30 sed -i '/\<VERSION\>/d' $PWD/config.h