On Wed, 22 Jun 2005, Simon Perreault wrote:

> +# If PAM modules are not linked against libpam.so, set DLOPEN_PAM to 1. This
> +# must be done on SUSE 9.1, at least.
> +DLOPEN_PAM=0
> +
> +ifeq ($(DLOPEN_PAM),1)
> +     LIBPAM=-ldl
> +else
> +     LIBPAM=-lpam
> +endif

Is this portable to non-GNU makes?
If it is not, does OpenVPN require GNU make? I don't think it does.

Is there a broken-out C program that fails to link at run-time if the
workaround is required? This would be tested from configure.{in|ac} and
set DLOPEN_PAM appropriately.

-- 
Matthias Andree

Reply via email to