add the --container config option so a ldconfig won't be installed into librarian.sh

This commit is contained in:
david parsons
2024-02-06 20:50:51 -08:00
parent 2eea56e23f
commit 737e7ee6fe
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -1458,7 +1458,7 @@ __AC_ELF_LIBRARIAN() {
fi
LDCONFIG=`AC_PATH=/sbin:/usr/sbin:/usr/local/sbin acLookFor ldconfig`
if [ "$LDCONFIG" ]; then
if [ "$LDCONFIG" -a -z "$CONTAINER" ]; then
case `uname -s 2>/dev/null | $AC_UPPERCASE` in
*BSD) # *BSD ldconfig, when passed a directory, blows away the
# ld.so hints file and replaces it with one that's just
+4
View File
@@ -10,6 +10,7 @@
ac_help='--enable-amalloc Enable memory allocation debugging
--with-tabstops=N Set tabstops to N characters (default is 4)
--shared Build shared libraries (default is static)
--container Build inside a container
--pkg-config Install pkg-config(1) glue files
--cxx-binding Install header files with c++ wrappers
--github-checkbox[=input] Enable github-style checkboxes in lists
@@ -36,6 +37,9 @@ locals() {
--DEBIAN-GLITCH)
echo DEBIAN_GLITCH=T
;;
--CONTAINER)
echo CONTAINER=T
;;
--H1-TITLE)
echo H1TITLE=T
;;