Go to file
Trung Lê 2e0c32e11c configure: Add --with-pam-dir option for configurable PAM directory
The PAM configuration directory was hardcoded to /etc/pam.d (or
/usr/local/etc/pam.d on FreeBSD), which prevented non-root installations.

This change:
- Adds --with-pam-dir configure option to specify PAM config location
- Defaults to /etc/pam.d for system installs (prefix=/usr or /usr/local)
- Defaults to PREFIX/etc/pam.d for local/user installs
- Updates dtlogin/config/Makefile.am to use the PAM_CONFDIR variable

Examples:
  # User installation (PAM config goes to ~/cde/etc/pam.d)
  ./configure --prefix=$HOME/cde

  # System install with standard PAM location
  ./configure --prefix=/usr  # PAM goes to /etc/pam.d

  # Explicit PAM directory
  ./configure --prefix=/opt/cde --with-pam-dir=/etc/pam.d
2026-01-29 17:08:13 +11:00
cde configure: Add --with-pam-dir option for configurable PAM directory 2026-01-29 17:08:13 +11:00