mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-08 12:28:00 -05:00
FS7319: Add option to disable the inclusion of abs script.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
af888c534b
commit
6d649473fa
16
configure.ac
16
configure.ac
@ -58,6 +58,11 @@ AC_ARG_ENABLE(debug,
|
|||||||
AC_HELP_STRING([--enable-debug], [Enable debugging support]),
|
AC_HELP_STRING([--enable-debug], [Enable debugging support]),
|
||||||
[debug=$enableval], [debug=no])
|
[debug=$enableval], [debug=no])
|
||||||
|
|
||||||
|
# Help line for abs
|
||||||
|
AC_ARG_ENABLE(abs,
|
||||||
|
AC_HELP_STRING([--disable-abs], [Include Arch Linux Build System script]),
|
||||||
|
[includeabs=$enableval], [includeabs=yes])
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_PROG_AWK
|
AC_PROG_AWK
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
@ -193,6 +198,16 @@ else
|
|||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Enable or disable inclusion of abs script
|
||||||
|
AC_MSG_CHECKING(for inclusion of abs script)
|
||||||
|
if test "x$includeabs" = "xyes" ; then
|
||||||
|
AC_DEFINE([INCLUDE_ABS], , [Include abs script])
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
AM_CONDITIONAL(INCLUDE_ABS, test "x$includeabs" = "xyes")
|
||||||
|
|
||||||
# Set root directory
|
# Set root directory
|
||||||
AC_SUBST(ROOTDIR)
|
AC_SUBST(ROOTDIR)
|
||||||
AC_DEFINE_UNQUOTED([ROOTDIR], "$ROOTDIR", [Location of pacman's default root di
|
AC_DEFINE_UNQUOTED([ROOTDIR], "$ROOTDIR", [Location of pacman's default root di
|
||||||
@ -257,4 +272,5 @@ $PACKAGE_STRING:
|
|||||||
Compilation options:
|
Compilation options:
|
||||||
Doxygen support : ${usedoxygen}
|
Doxygen support : ${usedoxygen}
|
||||||
debug support : ${debug}
|
debug support : ${debug}
|
||||||
|
include abs : ${includeabs}
|
||||||
"
|
"
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
SUBDIRS = pacman.d abs
|
SUBDIRS = pacman.d
|
||||||
|
|
||||||
|
if INCLUDE_ABS
|
||||||
|
SUBDIRS += abs
|
||||||
|
endif
|
||||||
|
|
||||||
dist_sysconf_DATA = makepkg.conf pacman.conf
|
dist_sysconf_DATA = makepkg.conf pacman.conf
|
||||||
EXTRA_DIST = makepkg.conf.in pacman.conf.in
|
EXTRA_DIST = makepkg.conf.in pacman.conf.in
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
AUTOMAKE_OPTIONS = std-options
|
AUTOMAKE_OPTIONS = std-options
|
||||||
|
|
||||||
bin_SCRIPTS = \
|
bin_SCRIPTS = \
|
||||||
abs \
|
|
||||||
gensync \
|
gensync \
|
||||||
makepkg \
|
makepkg \
|
||||||
makeworld \
|
makeworld \
|
||||||
@ -12,6 +11,10 @@ bin_SCRIPTS = \
|
|||||||
repo-remove \
|
repo-remove \
|
||||||
updatesync
|
updatesync
|
||||||
|
|
||||||
|
if INCLUDE_ABS
|
||||||
|
bin_SCRIPTS += abs
|
||||||
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
abs.in \
|
abs.in \
|
||||||
gensync.in \
|
gensync.in \
|
||||||
|
Loading…
Reference in New Issue
Block a user