Bug 24495 – Fails to build on platforms without PATH_MAX (like hurd)
Bug 24495 – Fails to build on platforms without PATH_MAX (like hurd)

PATH_MAX, which hurd-i386 doesn't define since it doesn't have such
arbitrary limitation.  The attached patch fixes it by just using
glibc's get_current_dir_name() extension when available.

Signed-off-by: Michael Biebl <b201aff6738a1a36531db8b0b468b7761cf27285@gmail.com>
Signed-off-by: David Zeuthen <16a4bae6a7afea1fdd75baca6404fe68f285db96@redhat.com>

cgwalters/polkit,krytarowski/polkit,Distrotech/polkit,Distrotech/polkit,magcius/polkit,cgwalters/polkit,cgwalters/polkit,Distrotech/polkit,krytarowski/polkit,cgwalters/polkit,krytarowski/polkit,magcius/polkit,magcius/polkit,magcius/polkit,magcius/polkit,krytarowski/polkit,Distrotech/polkit,cgwalters/polkit,krytarowski/polkit,Distrotech/polkit,Distrotech/polkit