X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgetcwd;h=6b764d21c8f8669b3f2dd8c58726a19eb469b66b;hb=1b1ea5a514b6c42fd527d88261cb434122e9f1a1;hp=f32453e37170c94be18d31d3c22d4a74640f5801;hpb=d691dc95255e598552049fa9d121a6f84cf36568;p=gnulib.git diff --git a/modules/getcwd b/modules/getcwd index f32453e37..6b764d21c 100644 --- a/modules/getcwd +++ b/modules/getcwd @@ -8,15 +8,23 @@ m4/getcwd-path-max.m4 m4/getcwd.m4 Depends-on: -mempcpy -d-ino -dirfd -extensions -stdbool unistd +extensions +mempcpy [test $REPLACE_GETCWD = 1] +d-ino [test $REPLACE_GETCWD = 1] +memmove [test $REPLACE_GETCWD = 1] +openat [test $REPLACE_GETCWD = 1] +stdbool [test $REPLACE_GETCWD = 1] +malloc-posix [test $REPLACE_GETCWD = 1] +strdup-posix [test $REPLACE_GETCWD = 1] configure.ac: gl_FUNC_GETCWD +if test $REPLACE_GETCWD = 1; then + AC_LIBOBJ([getcwd]) + gl_PREREQ_GETCWD +fi +gl_MODULE_INDICATOR([getcwd]) gl_UNISTD_MODULE_INDICATOR([getcwd]) Makefile.am: