summaryrefslogtreecommitdiff
path: root/libc/configure
diff options
context:
space:
mode:
Diffstat (limited to 'libc/configure')
-rwxr-xr-xlibc/configure18
1 files changed, 18 insertions, 0 deletions
diff --git a/libc/configure b/libc/configure
index ec5039bb6..b851a00f4 100755
--- a/libc/configure
+++ b/libc/configure
@@ -731,6 +731,7 @@ multi_arch
base_machine
add_on_subdirs
add_ons
+link_obsolete_rpc
libc_cv_nss_crypt
REPORT_BUGS_TEXI
REPORT_BUGS_TO
@@ -834,6 +835,7 @@ with_pkgversion
with_bugurl
enable_multi_arch
enable_nss_crypt
+enable_obsolete_rpc
with_cpu
'
ac_precious_vars='build_alias
@@ -1503,6 +1505,8 @@ Optional Features:
--enable-multi-arch enable single DSO with optimizations for multiple
architectures
--enable-nss-crypt enable libcrypt to use nss
+ --enable-obsolete-rpc build and install the obsolete RPC code for
+ link-time usage
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -3975,6 +3979,20 @@ else
fi
+# Check whether --enable-obsolete-rpc was given.
+if test "${enable_obsolete_rpc+set}" = set; then :
+ enableval=$enable_obsolete_rpc; link_obsolete_rpc=$enableval
+else
+ link_obsolete_rpc=no
+fi
+
+
+
+if test "$link_obsolete_rpc" = yes; then
+ $as_echo "#define LINK_OBSOLETE_RPC 1" >>confdefs.h
+
+fi
+
# The way shlib-versions is used to generate soversions.mk uses a
# fairly simplistic model for name recognition that can't distinguish
# i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os