X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgetcwd;h=6b764d21c8f8669b3f2dd8c58726a19eb469b66b;hb=1b1ea5a514b6c42fd527d88261cb434122e9f1a1;hp=ed46a17ca641449bcbbfb9dc753803b484dc008a;hpb=9003b6aad863787369445eb8b073640f8a595376;p=gnulib.git diff --git a/modules/getcwd b/modules/getcwd index ed46a17ca..6b764d21c 100644 --- a/modules/getcwd +++ b/modules/getcwd @@ -2,23 +2,35 @@ Description: Return the current working directory. Files: -lib/getcwd.h lib/getcwd.c -m4/d-ino.m4 +m4/getcwd-abort-bug.m4 m4/getcwd-path-max.m4 m4/getcwd.m4 Depends-on: -mempcpy +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: -lib_SOURCES += getcwd.h Include: -"getcwd.h" + License: GPL