mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-21 01:20:28 +01:00
* doc/example-vpnc-system-wide-connection.sh: New file * properties/nm-vpnc-dialog.glade: New file * properties/nm-vpnc.c: New file * properties/Makefile.am: New file * auth-dialog/Makefile.am: New file * auth-dialog/gnome-two-password-dialog.[ch]: New files, based on gnome-password-dialog.[ch] from libgnomeui * auth-dialog/main.c: New file * po/POTFILES.in, po/ChangeLog, da.po: New files * Makefile.am: Add src, auth-dialog, propertes and po * autogen.sh: New file * configure.in: New file * acinclude.m4: New file * README: New file * NEWS: New file * ChangeLog: New file * AUTHORS: New file * nm-vpnc-service.name.in: Based on nm-vpnc-service.name. Reworked to sport multiple sections and have the paths to the auth-dialog binary and properties shared object * nm-vpnc-service.name: Deleted and replaced by nm-vpnc-service.name.in * nm-vpnc-service.conf: Rename from org.freedesktop.vpn to org.freedesktop.NetworkManager.vpnc * src/nm-vpnc-service.h: Rename from org.freedesktop.vpn to org.freedesktop.NetworkManager.vpnc (New file) * src/nm-vpnc-service.c: Use the system-installed NetworkManager.h instead. Setup i18n. (New file) (nm_vpnc_config_write): Rework to cope with passwords being an array. (nm_vpnc_config_options_validate): Add "Xauth username" to list of allowed options (nm_vpnc_dbus_handle_start_vpn): Passwords is now an array. * src/nm-vpnc-service-vpnc-helper.c: Use the system-installed NetworkManager.h instead (New file) * nm-vpn-service.[ch], nm-vpn-service-vpnc-helper.c: Moved in src * src/nm-utils.[ch]: For now, a local copy duplicated from utils/ in the NM project git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@663 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
45 lines
1.1 KiB
Text
45 lines
1.1 KiB
Text
|
|
dnl as-ac-expand.m4 0.1.0
|
|
dnl autostars m4 macro for expanding directories using configure's prefix
|
|
dnl thomas@apestaart.org
|
|
|
|
dnl AS_AC_EXPAND(VAR, CONFIGURE_VAR)
|
|
dnl
|
|
dnl example
|
|
dnl AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
|
|
dnl will set SYSCONFDIR to /usr/local/etc if prefix=/usr/local
|
|
|
|
AC_DEFUN(AS_AC_EXPAND,
|
|
[
|
|
EXP_VAR=[$1]
|
|
FROM_VAR=[$2]
|
|
|
|
dnl first expand prefix and exec_prefix if necessary
|
|
prefix_save=$prefix
|
|
exec_prefix_save=$exec_prefix
|
|
|
|
dnl if no prefix given, then use /usr/local, the default prefix
|
|
if test "x$prefix" = "xNONE"; then
|
|
prefix=$ac_default_prefix
|
|
fi
|
|
dnl if no exec_prefix given, then use prefix
|
|
if test "x$exec_prefix" = "xNONE"; then
|
|
exec_prefix=$prefix
|
|
fi
|
|
|
|
full_var="$FROM_VAR"
|
|
dnl loop until it doesn't change anymore
|
|
while true; do
|
|
new_full_var="`eval echo $full_var`"
|
|
if test "x$new_full_var"="x$full_var"; then break; fi
|
|
full_var=$new_full_var
|
|
done
|
|
|
|
dnl clean up
|
|
full_var=$new_full_var
|
|
AC_SUBST([$1], "$full_var")
|
|
|
|
dnl restore prefix and exec_prefix
|
|
prefix=$prefix_save
|
|
exec_prefix=$exec_prefix_save
|
|
])
|