PATCH: PAM xtests fail if build directory is not source directory

Bernard Leak thisisnotapipe at hotmail.com
Mon Apr 30 03:01:57 UTC 2007


Dear List,
                xtests/Makefile.am makes a rather half-hearted attempt to
handle the case of building outside the source tree (well, it uses
$(srcdir) to get at the test runner script, anyway).

Unfortunately, the script then fails to find the files to be installed,
since it is itself invoked from inside $(top_builddir)/xtests, and they
are all in $(top_srcdir)/xtests.

This can be worked around in many ways.  I use a simple-minded
approach (no additional configuration-time wizardry, and no attempt
to make the script find its own location).  I merely shove the necessary
$(srcdir) location as a command-line argument.

I attach a patch against the current CVS sources.  No relevant
changes have occurred since the Linux-PAM-0.99.7.1 release.
The patch uses UN*X-style (LF) line-breaks.

A bzipped version of the patch should be available, for the
foreseeable future, here:
<a href="http://www.brenda-arkle.demon.co.uk/patches/Linux-PAM/">
http://www.brenda-arkle.demon.co.uk/patches/Linux-PAM/
</a>

Bernard Leak.

_________________________________________________________________
Could you be the guest MSN Movies presenter? Click Here to Audition 
http://www.lightscameraaudition.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Linux-PAM-0.99.7.1-sepbuild-1.patch
Type: text/x-patch
Size: 2247 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pam-list/attachments/20070430/7861bcee/attachment.bin>


More information about the Pam-list mailing list