Build with libtirpc on all architectures because glibc no longer provides SunRPC support. diff --git a/configure b/configure --- a/configure +++ b/configure @@ -23635,10 +23635,13 @@ *-pc-cygwin*) LIBS="$LIBS -ltirpc" CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc" ;; + *-linux-gnu) + LIBS="$LIBS -ltirpc" + CPPFLAGS="$CPPFLAGS" ;; *) ;; esac -if test "X$BUILD_XDR" != "Xyes"; then +if test "X$BUILD_XDR" = "Xyes"; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -23693,9 +23696,9 @@ ## but we need to make sure that it is present on the system. Do that here, ## The SunRPC of the glibc has been replaced by a TI-RPC (Transport Independent RPC) library for IPv6 support case "$host" in - *-pc-cygwin*) + *) HAVE_RPC="yes" - ac_fn_c_check_header_mongrel "$LINENO" "rpc.h" "ac_cv_header_rpc_h" "$ac_includes_default" + ac_fn_c_check_header_mongrel "$LINENO" "rpc/rpc.h" "ac_cv_header_rpc_h" "$ac_includes_default" if test "x$ac_cv_header_rpc_h" = xyes; then : : else ref='/guix/'>summaryrefslogtreecommitdiff
path: root/etc/init.d
AgeCommit message (Expand)Author
2021-07-07guix-install.sh: Prompt for configuring substitutes discovery....Also ensure prompt_yes_no always print the message with a trailing space, which is more pleasing to the eye. * etc/guix-daemon.conf.in <--discover=no>: New guix-daemon option. * etc/guix-daemon.service.in: Likewise. * etc/init.d/guix-daemon.in: Likewise. * etc/openrc/guix-daemon.in: Likewise. * etc/guix-install.sh (configure_substitute_discovery): New procedure. (sys_enable_guix_daemon): Ask the user whether automatic substitute discovery should be enabled. Set the '--discover' argument accordingly. (prompt_yes_no): Add a trailing space to the message. (sys_authorize_build_farms): Remove trailing space from the message argument. * NEWS (Distribution): Add news. Maxim Cournoyer