-
Notifications
You must be signed in to change notification settings - Fork 7
/
configure.ac
41 lines (32 loc) · 940 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.68])
AC_INIT([mv88e6xxx_dump], [0.0], [[email protected]])
AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.11 foreign no-define no-dist-gzip dist-xz tar-ustar -Wno-portability])
AM_MAINTAINER_MODE([enable])
dnl Support silent build rules. Disable
dnl by either passing --disable-silent-rules to configure or passing V=1
dnl to make
AM_SILENT_RULES([yes])
dnl Required programs
AC_PROG_CC
AC_PROG_INSTALL
AX_PTHREAD
dnl Initialize libtool
LT_PREREQ([2.2])
LT_INIT
dnl Require libmnl
PKG_CHECK_MODULES([LIBMNL], [libmnl])
AC_SUBST(LIBMNL_CFLAGS)
AC_SUBST(LIBMNL_LIBS)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
echo "
mv88e6xxx_dump $VERSION
==============================================
compiler: ${CC}
cflags: ${CFLAGS}
maintainer mode: ${USE_MAINTAINER_MODE}
"