X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fd-type.m4;h=c69436d3c550df92549832314d3d7e3cbe14a7c5;hb=be1f94e3d6e1f561cb62a73e26e40c7051d966d9;hp=3ab69b44426148912a4c4ce263abee719e34712b;hpb=96d4de6e758ea1c7358a4eba47a3ad4082724ba8;p=gnulib.git diff --git a/m4/d-type.m4 b/m4/d-type.m4 index 3ab69b444..c69436d3c 100644 --- a/m4/d-type.m4 +++ b/m4/d-type.m4 @@ -1,11 +1,11 @@ -#serial 2 +#serial 6 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([jm_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 ] )