Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 330319 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure.ac (-3 / +3 lines)
Lines 343-352 case "${with_dhcpcd}" in Link Here
343
		AC_MSG_CHECKING(for dhcpcd)
343
		AC_MSG_CHECKING(for dhcpcd)
344
		# We fully work with upstream dhcpcd-4
344
		# We fully work with upstream dhcpcd-4
345
		for path in /sbin /usr/sbin /usr/pkg/sbin /usr/local/sbin; do
345
		for path in /sbin /usr/sbin /usr/pkg/sbin /usr/local/sbin; do
346
			test -x "${path}/dhclient" || continue
346
			test -x "${path}/dhcpcd" || continue
347
			case `"$path/dhcpcd" --version 2>/dev/null` in
347
			case `"$path/dhcpcd" --version 2>/dev/null` in
348
				"dhcpcd "[123]*);;
348
				"dhcpcd "[123]*);;
349
				"dhcpcd "*) DHCP_CLIENT_PATH="$path/dhcpcd"; break;;
349
				"dhcpcd "*) DHCPCD_PATH="$path/dhcpcd"; break;;
350
			esac
350
			esac
351
		done
351
		done
352
		if test -n "${DHCPCD_PATH}"; then
352
		if test -n "${DHCPCD_PATH}"; then
Lines 363-369 if test -z "$DHCPCD_PATH" -a -z "$DHCLIENT_PATH"; then Link Here
363
	# in most distros, so use it.
363
	# in most distros, so use it.
364
	AC_MSG_WARN([Could not find a suitable DHCP client])
364
	AC_MSG_WARN([Could not find a suitable DHCP client])
365
	DHCLIENT_PATH=/sbin/dhclient
365
	DHCLIENT_PATH=/sbin/dhclient
366
	AC_MSG_WARN([Falling back to ISC dhclient, ${DHCP_CLIENT_PATH}])
366
	AC_MSG_WARN([Falling back to ISC dhclient, ${DHCLIENT_PATH}])
367
fi
367
fi
368
AC_SUBST(DHCLIENT_PATH)
368
AC_SUBST(DHCLIENT_PATH)
369
AC_SUBST(DHCPCD_PATH)
369
AC_SUBST(DHCPCD_PATH)

Return to bug 330319