X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fd-type.m4;h=9c62198d517d2977d972c40a07127327d5732a05;hb=3f664fb52ec6909f47840e3c6101b8735edf5cfb;hp=3ab69b44426148912a4c4ce263abee719e34712b;hpb=96d4de6e758ea1c7358a4eba47a3ad4082724ba8;p=gnulib.git diff --git a/m4/d-type.m4 b/m4/d-type.m4 index 3ab69b444..9c62198d5 100644 --- a/m4/d-type.m4 +++ b/m4/d-type.m4 @@ -1,11 +1,11 @@ -#serial 2 +#serial 7 dnl From Jim Meyering. dnl dnl Check whether struct dirent has a member named d_type. dnl -AC_DEFUN(jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE, +AC_DEFUN([gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE], [AC_REQUIRE([AC_HEADER_DIRENT])dnl AC_CACHE_CHECK([for d_type member in directory struct], jm_cv_struct_dirent_d_type, @@ -34,9 +34,9 @@ AC_DEFUN(jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE, ] ) if test $jm_cv_struct_dirent_d_type = yes; then - AC_DEFINE(D_TYPE_IN_DIRENT, 1, - [Define if there is a member named d_type in the struct describing - directory headers.]) + AC_DEFINE(HAVE_STRUCT_DIRENT_D_TYPE, 1, + [Define if there is a member named d_type in the struct describing + directory headers.]) fi ] )