mirror of
https://github.com/systemd/systemd.git
synced 2024-11-08 11:27:32 +03:00
build-sys: add --disable-manpages
This commit is contained in:
parent
c03fcc27b4
commit
3840d31801
@ -269,10 +269,12 @@ src_udevadm_CPPFLAGS = $(udev_common_CPPFLAGS)
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# udev man pages
|
# udev man pages
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
if ENABLE_MANPAGES
|
||||||
dist_man_MANS += \
|
dist_man_MANS += \
|
||||||
src/udev.7 \
|
src/udev.7 \
|
||||||
src/udevadm.8 \
|
src/udevadm.8 \
|
||||||
src/udevd.8
|
src/udevd.8
|
||||||
|
endif
|
||||||
|
|
||||||
EXTRA_DIST += \
|
EXTRA_DIST += \
|
||||||
src/udev.xml \
|
src/udev.xml \
|
||||||
|
134
configure.ac
134
configure.ac
@ -27,37 +27,6 @@ PKG_CHECK_MODULES(BLKID, blkid >= 2.20)
|
|||||||
|
|
||||||
PKG_CHECK_MODULES(KMOD, libkmod >= 5)
|
PKG_CHECK_MODULES(KMOD, libkmod >= 5)
|
||||||
|
|
||||||
if test "x$cross_compiling" = "xno" ; then
|
|
||||||
AC_CHECK_FILES([/usr/share/pci.ids], [pciids=/usr/share/pci.ids])
|
|
||||||
AC_CHECK_FILES([/usr/share/hwdata/pci.ids], [pciids=/usr/share/hwdata/pci.ids])
|
|
||||||
AC_CHECK_FILES([/usr/share/misc/pci.ids], [pciids=/usr/share/misc/pci.ids])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_WITH(usb-ids-path,
|
|
||||||
[AS_HELP_STRING([--with-usb-ids-path=DIR], [Path to usb.ids file])],
|
|
||||||
[USB_DATABASE=${withval}],
|
|
||||||
[if test -n "$usbids" ; then
|
|
||||||
USB_DATABASE="$usbids"
|
|
||||||
else
|
|
||||||
PKG_CHECK_MODULES(USBUTILS, usbutils >= 0.82)
|
|
||||||
AC_SUBST([USB_DATABASE], [$($PKG_CONFIG --variable=usbids usbutils)])
|
|
||||||
fi])
|
|
||||||
AC_MSG_CHECKING([for USB database location])
|
|
||||||
AC_MSG_RESULT([$USB_DATABASE])
|
|
||||||
AC_SUBST(USB_DATABASE)
|
|
||||||
|
|
||||||
AC_ARG_WITH(pci-ids-path,
|
|
||||||
[AS_HELP_STRING([--with-pci-ids-path=DIR], [Path to pci.ids file])],
|
|
||||||
[PCI_DATABASE=${withval}],
|
|
||||||
[if test -n "$pciids" ; then
|
|
||||||
PCI_DATABASE="$pciids"
|
|
||||||
else
|
|
||||||
AC_MSG_ERROR([pci.ids not found, try --with-pci-ids-path=])
|
|
||||||
fi])
|
|
||||||
AC_MSG_CHECKING([for PCI database location])
|
|
||||||
AC_MSG_RESULT([$PCI_DATABASE])
|
|
||||||
AC_SUBST(PCI_DATABASE)
|
|
||||||
|
|
||||||
AC_ARG_WITH([rootprefix],
|
AC_ARG_WITH([rootprefix],
|
||||||
AS_HELP_STRING([--with-rootprefix=DIR], [rootfs directory prefix for config files and kernel modules]),
|
AS_HELP_STRING([--with-rootprefix=DIR], [rootfs directory prefix for config files and kernel modules]),
|
||||||
[], [with_rootprefix=${ac_default_prefix}])
|
[], [with_rootprefix=${ac_default_prefix}])
|
||||||
@ -93,6 +62,42 @@ AC_ARG_ENABLE([logging],
|
|||||||
[], enable_logging=yes)
|
[], enable_logging=yes)
|
||||||
AS_IF([test "x$enable_logging" = "xyes"], [ AC_DEFINE(ENABLE_LOGGING, [1], [System logging.]) ])
|
AS_IF([test "x$enable_logging" = "xyes"], [ AC_DEFINE(ENABLE_LOGGING, [1], [System logging.]) ])
|
||||||
|
|
||||||
|
AC_ARG_ENABLE([manpages],
|
||||||
|
AS_HELP_STRING([--disable-manpages], [disable man pages @<:@default=enabled@:>@]),
|
||||||
|
[], enable_manpages=yes)
|
||||||
|
AM_CONDITIONAL([ENABLE_MANPAGES], [test "x$enable_manpages" = "xyes"])
|
||||||
|
|
||||||
|
if test "x$cross_compiling" = "xno" ; then
|
||||||
|
AC_CHECK_FILES([/usr/share/pci.ids], [pciids=/usr/share/pci.ids])
|
||||||
|
AC_CHECK_FILES([/usr/share/hwdata/pci.ids], [pciids=/usr/share/hwdata/pci.ids])
|
||||||
|
AC_CHECK_FILES([/usr/share/misc/pci.ids], [pciids=/usr/share/misc/pci.ids])
|
||||||
|
fi
|
||||||
|
|
||||||
|
AC_ARG_WITH(usb-ids-path,
|
||||||
|
[AS_HELP_STRING([--with-usb-ids-path=DIR], [Path to usb.ids file])],
|
||||||
|
[USB_DATABASE=${withval}],
|
||||||
|
[if test -n "$usbids" ; then
|
||||||
|
USB_DATABASE="$usbids"
|
||||||
|
else
|
||||||
|
PKG_CHECK_MODULES(USBUTILS, usbutils >= 0.82)
|
||||||
|
AC_SUBST([USB_DATABASE], [$($PKG_CONFIG --variable=usbids usbutils)])
|
||||||
|
fi])
|
||||||
|
AC_MSG_CHECKING([for USB database location])
|
||||||
|
AC_MSG_RESULT([$USB_DATABASE])
|
||||||
|
AC_SUBST(USB_DATABASE)
|
||||||
|
|
||||||
|
AC_ARG_WITH(pci-ids-path,
|
||||||
|
[AS_HELP_STRING([--with-pci-ids-path=DIR], [Path to pci.ids file])],
|
||||||
|
[PCI_DATABASE=${withval}],
|
||||||
|
[if test -n "$pciids" ; then
|
||||||
|
PCI_DATABASE="$pciids"
|
||||||
|
else
|
||||||
|
AC_MSG_ERROR([pci.ids not found, try --with-pci-ids-path=])
|
||||||
|
fi])
|
||||||
|
AC_MSG_CHECKING([for PCI database location])
|
||||||
|
AC_MSG_RESULT([$PCI_DATABASE])
|
||||||
|
AC_SUBST(PCI_DATABASE)
|
||||||
|
|
||||||
AC_ARG_WITH(firmware-path,
|
AC_ARG_WITH(firmware-path,
|
||||||
AS_HELP_STRING([--with-firmware-path=DIR[[[:DIR[...]]]]],
|
AS_HELP_STRING([--with-firmware-path=DIR[[[:DIR[...]]]]],
|
||||||
[Firmware search path (default=ROOTPREFIX/lib/firmware/updates:ROOTPREFIX/lib/firmware)]),
|
[Firmware search path (default=ROOTPREFIX/lib/firmware/updates:ROOTPREFIX/lib/firmware)]),
|
||||||
@ -220,41 +225,42 @@ AC_CONFIG_FILES([
|
|||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
AC_MSG_RESULT([
|
AC_MSG_RESULT([
|
||||||
$PACKAGE $VERSION
|
$PACKAGE $VERSION
|
||||||
========
|
========
|
||||||
|
|
||||||
prefix: ${prefix}
|
prefix: ${prefix}
|
||||||
rootprefix: ${rootprefix}
|
rootprefix: ${rootprefix}
|
||||||
sysconfdir: ${sysconfdir}
|
sysconfdir: ${sysconfdir}
|
||||||
bindir: ${bindir}
|
bindir: ${bindir}
|
||||||
libdir: ${libdir}
|
libdir: ${libdir}
|
||||||
rootlibdir: ${rootlib_execdir}
|
rootlibdir: ${rootlib_execdir}
|
||||||
libexecdir: ${libexecdir}
|
libexecdir: ${libexecdir}
|
||||||
datarootdir: ${datarootdir}
|
datarootdir: ${datarootdir}
|
||||||
mandir: ${mandir}
|
mandir: ${mandir}
|
||||||
includedir: ${includedir}
|
includedir: ${includedir}
|
||||||
include_prefix: ${INCLUDE_PREFIX}
|
include_prefix: ${INCLUDE_PREFIX}
|
||||||
systemdsystemunitdir: ${systemdsystemunitdir}
|
systemdsystemunitdir: ${systemdsystemunitdir}
|
||||||
firmware path: ${FIRMWARE_PATH}
|
firmware path: ${FIRMWARE_PATH}
|
||||||
usb.ids: ${USB_DATABASE}
|
usb.ids: ${USB_DATABASE}
|
||||||
pci.ids: ${PCI_DATABASE}
|
pci.ids: ${PCI_DATABASE}
|
||||||
|
|
||||||
compiler: ${CC}
|
compiler: ${CC}
|
||||||
cflags: ${CFLAGS}
|
cflags: ${CFLAGS}
|
||||||
ldflags: ${LDFLAGS}
|
ldflags: ${LDFLAGS}
|
||||||
xsltproc: ${XSLTPROC}
|
xsltproc: ${XSLTPROC}
|
||||||
gperf: ${GPERF}
|
gperf: ${GPERF}
|
||||||
|
|
||||||
logging: ${enable_logging}
|
logging: ${enable_logging}
|
||||||
debug: ${enable_debug}
|
debug: ${enable_debug}
|
||||||
selinux: ${with_selinux}
|
selinux: ${with_selinux}
|
||||||
|
|
||||||
gudev: ${enable_gudev}
|
man pages ${enable_manpages}
|
||||||
gintrospection: ${enable_introspection}
|
gudev: ${enable_gudev}
|
||||||
keymap: ${enable_keymap}
|
gintrospection: ${enable_introspection}
|
||||||
mtd_probe: ${enable_mtd_probe}
|
keymap: ${enable_keymap}
|
||||||
rule_generator: ${enable_rule_generator}
|
mtd_probe: ${enable_mtd_probe}
|
||||||
udev_acl: ${enable_udev_acl}
|
rule_generator: ${enable_rule_generator}
|
||||||
floppy: ${enable_floppy}
|
udev_acl: ${enable_udev_acl}
|
||||||
edd: ${enable_edd}
|
floppy: ${enable_floppy}
|
||||||
|
edd: ${enable_edd}
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user