mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-15 20:00:23 +01:00
backends: further flesh out "generic" target to build
By default let's assume we don't have to do some magical invocation to unbreak the libc resolv.conf cache.
This commit is contained in:
parent
659c22ccf6
commit
0b30200e4b
2 changed files with 17 additions and 0 deletions
|
|
@ -140,6 +140,11 @@ else
|
|||
esac
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(TARGET_GENERIC, test x"$with_distro" = xgeneric)
|
||||
if test x"$with_distro" = xgeneric; then
|
||||
AC_DEFINE(TARGET_GENERIC, 1, [Define for a general unknown Linux system])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(TARGET_REDHAT, test x"$with_distro" = xredhat)
|
||||
if test x"$with_distro" = xredhat; then
|
||||
AC_DEFINE(TARGET_REDHAT, 1, [Define if you have Fedora or RHEL])
|
||||
|
|
|
|||
|
|
@ -113,3 +113,15 @@ void nm_generic_update_dns (void)
|
|||
{
|
||||
}
|
||||
|
||||
#ifdef TARGET_GENERIC
|
||||
void nm_backend_enable_loopback (void)
|
||||
{
|
||||
nm_generic_enable_loopback ();
|
||||
}
|
||||
|
||||
void nm_backend_update_dns (void)
|
||||
{
|
||||
nm_generic_update_dns ();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue