|
Packit |
a132db |
AC_INIT([fcoe-utils], [1.0.32], [fcoe-devel@open-fcoe.org])
|
|
Packit |
a132db |
|
|
Packit |
a132db |
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
|
|
Packit |
a132db |
AM_INIT_AUTOMAKE([foreign])
|
|
Packit |
a132db |
|
|
Packit |
a132db |
AC_PROG_CC
|
|
Packit |
a132db |
AM_PROG_CC_C_O
|
|
Packit |
a132db |
AC_PROG_RANLIB
|
|
Packit |
a132db |
|
|
Packit |
a132db |
PKG_CHECK_MODULES([LLDPAD], [lldpad >= 0.9.46])
|
|
Packit |
a132db |
AC_SUBST([LLDPAD_CFLAGS])
|
|
Packit |
a132db |
|
|
Packit |
a132db |
PKG_CHECK_MODULES([PCIACCESS], [pciaccess])
|
|
Packit |
a132db |
AC_SUBST([PCIACCESS_LIBS])
|
|
Packit |
a132db |
|
|
Packit |
a132db |
PKG_PROG_PKG_CONFIG
|
|
Packit |
a132db |
AC_ARG_WITH([systemdsystemunitdir],
|
|
Packit |
a132db |
AS_HELP_STRING([--with-systemdsystemunitdir=DIR],
|
|
Packit |
a132db |
[Directory for systemd service files]), [],
|
|
Packit |
a132db |
[with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
|
|
Packit |
a132db |
AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
|
|
Packit |
a132db |
AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir"])
|
|
Packit |
a132db |
|
|
Packit |
a132db |
AC_CONFIG_FILES([Makefile fcoe-utils.spec include/fcoe_utils_version.h])
|
|
Packit |
a132db |
AC_OUTPUT
|
|
Packit |
a132db |
|