lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory. |
| 2 | # Local configure fragment for sysdeps/nacl. |
| 3 | |
| 4 | nacl_probe_file=native_client/src/trusted/service_runtime/include/sys/errno.h |
| 5 | |
| 6 | # sysheaders is set by the --with-headers=... option to configure. |
| 7 | # For NaCl, we require that the option be given and point to the |
| 8 | # native_client/.. source tree directory. |
| 9 | test -n "$sysheaders" || { |
| 10 | AC_MSG_ERROR([must supply --with-headers=DIR with native_client source tree]) |
| 11 | } |
| 12 | test -r "$sysheaders/$nacl_probe_file" || { |
| 13 | AC_MSG_ERROR([$sysheaders does not appear to be a native_client source tree]) |
| 14 | } |
| 15 | |
| 16 | # nscd is extremely useless in the NaCl context. |
| 17 | build_nscd=no |
| 18 | use_nscd=no |