Advertisement
Guest User

Untitled

a guest
Mar 5th, 2020
691
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. dnl GNOME support
  2. dnl
  3. AC_ARG_WITH(gnome, AS_HELP_STRING([--without-gnome], [Build NetworkManager-libreswan without GNOME support, e.g. vpn service only]), [], [with_gnome_specified=no])
  4. AC_ARG_WITH(libnm-glib, AS_HELP_STRING([--without-libnm-glib], [Build NetworkManager-libreswan without libnm-glib comatibility]), [], [with_libnm_glib_specified=no])
  5. AC_ARG_WITH(libnm-glib, AS_HELP_STRING([--with-libnm-glib], [Build NetworkManager-libreswan with libnm-glib comatibility (depreacted)]), [], [with_libnm_glib_specified=no])
  6. if test "$with_libnm_glib_specified" != no -a "$with_libnm_glib" != no; then
  7. if test "$with_gnome_specified" != no -a "$with_gnome" == no; then
  8. AC_MSG_ERROR(Building --with-libnm-glib conflicts with --without-gnome)
  9. with_gnome=yes
  10. fi
  11. if test "$with_libnm_glib_specified" == no; then
  12. with_libnm_glib="$with_gnome"
  13. with_libnm_glib=no
  14. fi
  15. if test "$with_libnm_glib" != no; then
  16. with_libnm_glib=yes
  17. if test "$with_libnm_glib" != yes; then
  18. with_libnm_glib=no
  19. fi
  20. AM_CONDITIONAL(WITH_GNOME, test "$with_gnome" != no)
  21. AM_CONDITIONAL(WITH_LIBNM_GLIB, test "$with_libnm_glib" != no)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement