X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Freaddir.m4;h=d851b0fe38344dafd6badb02bfe7a3ab9aee287b;hb=98dccf6477ac680d228a4e1687731cc3dc86cab9;hp=74616d462b7c78c8a6010acc0711ecdbb4021cd3;hpb=6273d0115200a9a4ae9a9e2d71a677c911609562;p=gnulib.git diff --git a/m4/readdir.m4 b/m4/readdir.m4 index 74616d462..d851b0fe3 100644 --- a/m4/readdir.m4 +++ b/m4/readdir.m4 @@ -1,4 +1,4 @@ -#serial 2 +#serial 3 dnl SunOS's readdir is broken in such a way that rm.c has to add extra code dnl to test whether a NULL return value really means there are no more files @@ -23,9 +23,7 @@ AC_CACHE_CHECK([for working readdir], jm_cv_func_working_readdir, ac_clean_files="$ac_clean_files conf-dir" AC_TRY_RUN( - changequote(<<, >>)dnl - << -# include +[# include # include # if HAVE_STRING_H # include @@ -119,9 +117,7 @@ AC_CACHE_CHECK([for working readdir], jm_cv_func_working_readdir, create_300_file_dir (dir); remove_dir (dir); exit (0); - } - >>, - changequote([, ])dnl + }], jm_cv_func_working_readdir=yes, jm_cv_func_working_readdir=no, jm_cv_func_working_readdir=no)])