]> granicus.if.org Git - strace/commit
mpers.m4: workaround missing gnu/stubs-*.h files
authorDmitry V. Levin <ldv@altlinux.org>
Thu, 27 Aug 2015 19:51:05 +0000 (19:51 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 28 Aug 2015 08:46:24 +0000 (08:46 +0000)
commite2a3370f67dfc9085fad454fc2cac07357f3be56
treeae0b527b74e24b844d642e9df1f14ef421f955ad
parent9d77b562d3c3d8f376efec1b6e0bd70d348934c8
mpers.m4: workaround missing gnu/stubs-*.h files

On some systems missing gnu/stubs-*.h files make -m32/-mx32 compilation
checks fail.  As we want to support multiple personalities despite of
this limitation, workaround the check by creating empty gnu stub files
if necessary.

* m4/mpers.m4 (st_MPERS): Check for the gnu stub file.  Create an empty
gnu stub file if the system one is missing.
* Makefile.am (DISTCLEANFILES): Add gnu/stubs-32.h and gnu/stubs-x32.h.
Makefile.am
m4/mpers.m4