X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=modules%2Fchdir-long;h=22236c6cc893022606aa0d4656aff2bfd2c13b59;hb=13ebbbd5b53127e51b34532465119c97ec6c23ca;hp=18cb94ca00a6c2c73121fe0f8ddffe5708b6c831;hpb=efc9686904177e6644b5528c4703f378daaee0b0;p=pspp diff --git a/modules/chdir-long b/modules/chdir-long index 18cb94ca00..22236c6cc8 100644 --- a/modules/chdir-long +++ b/modules/chdir-long @@ -7,17 +7,25 @@ lib/chdir-long.c m4/chdir-long.m4 Depends-on: -fcntl -openat -mempcpy -memrchr -stdbool +unistd +atexit [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +fchdir [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +fcntl-h [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +openat [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +memchr [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +mempcpy [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +memrchr [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +stdbool [test $gl_cv_have_arbitrary_file_name_length_limit = yes] +stdlib [test $gl_cv_have_arbitrary_file_name_length_limit = yes] configure.ac: gl_FUNC_CHDIR_LONG +if test $gl_cv_have_arbitrary_file_name_length_limit = yes; then + AC_LIBOBJ([chdir-long]) + gl_PREREQ_CHDIR_LONG +fi Makefile.am: -EXTRA_DIST += chdir-long.h Include: "chdir-long.h"