Use AC_DEFINE rather than AC_DEFINE_UNQUOTED, whenever the right hand side need not...
authorJim Meyering <jim@meyering.net>
Mon, 17 Sep 2001 21:44:03 +0000 (21:44 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 17 Sep 2001 21:44:03 +0000 (21:44 +0000)
20 files changed:
m4/chown.m4
m4/fstypename.m4
m4/getgroups.m4
m4/gettimeofday.m4
m4/jm-mktime.m4
m4/lstat.m4
m4/malloc.m4
m4/memcmp.m4
m4/mkdir-slash.m4
m4/nanosleep.m4
m4/putenv.m4
m4/readdir.m4
m4/realloc.m4
m4/rename.m4
m4/st_dm_mode.m4
m4/stat.m4
m4/strerror_r.m4
m4/timespec.m4
m4/utimbuf.m4
m4/utimes.m4

index 334f1b779e53053a492e2e597a90943a79b4fa60..1f3f51b46e594eb20666870a4fd8997560994be2 100644 (file)
@@ -43,7 +43,7 @@ AC_DEFUN([jm_FUNC_CHOWN],
   ])
   if test $jm_cv_func_working_chown = no; then
     AC_LIBOBJ(chown)
-    AC_DEFINE_UNQUOTED(chown, rpl_chown,
+    AC_DEFINE(chown, rpl_chown,
       [Define to rpl_chown if the replacement function should be used.])
   fi
 ])
index fdf49481bd576d8a2ef4ed392cbce461fc5e0d4a..75723a14fbac23006884ca5ba558a475837d19d8 100644 (file)
@@ -25,8 +25,8 @@ AC_DEFUN([jm_FSTYPENAME],
     )
 
     if test $fu_cv_sys_f_fstypename_in_statfs = yes; then
-      AC_DEFINE_UNQUOTED(HAVE_F_FSTYPENAME_IN_STATFS, 1,
-                        [Define if struct statfs has the f_fstypename member.])
+      AC_DEFINE(HAVE_F_FSTYPENAME_IN_STATFS, 1,
+               [Define if struct statfs has the f_fstypename member.])
     fi
   ]
 )
index 8f3b6c9e52055c7404c30e223ffad6deaa3c7968..e0f3359b090dc8c49ddb80acb4cb7cfc12ac8b78 100644 (file)
@@ -39,7 +39,7 @@ AC_DEFUN([jm_FUNC_GETGROUPS],
     ])
     if test $jm_cv_func_working_getgroups = no; then
       AC_LIBOBJ(getgroups)
-      AC_DEFINE_UNQUOTED(getgroups, rpl_getgroups,
+      AC_DEFINE(getgroups, rpl_getgroups,
        [Define as rpl_getgroups if getgroups doesn't work right.])
     fi
   fi
index 3e2baa1ea8c0c2465b8f35b145e7d590b4dd09c8..895f89269361a7283ee48a4928f081fd49bf9f37 100644 (file)
@@ -59,7 +59,7 @@ main ()
   ])
   if test $jm_cv_func_gettimeofday_clobber = yes; then
     AC_LIBOBJ(gettimeofday)
-    AC_DEFINE_UNQUOTED(gettimeofday, rpl_gettimeofday,
+    AC_DEFINE(gettimeofday, rpl_gettimeofday,
       [Define to rpl_gettimeofday if the replacement function should be used.])
     AC_DEFINE(GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, 1,
       [Define if gettimeofday clobbers localtime's static buffer.])
index 63e7cef848c16b4c5764d8026d914f14ca75c75a..d687c999a268d7ff9717b90986edcbd97f22dc3b 100644 (file)
@@ -10,7 +10,7 @@ AC_DEFUN([jm_FUNC_MKTIME],
  AC_CHECK_FUNCS(localtime_r)
 
  if test $ac_cv_func_working_mktime = no; then
-   AC_DEFINE_UNQUOTED(mktime, rpl_mktime,
+   AC_DEFINE(mktime, rpl_mktime,
     [Define to rpl_mktime if the replacement function should be used.])
  fi
 ])
index c2e6ca13fa7ad212130b8b26258df70efdf18110..8ef73b3220a76ec50f5584f09c41a048b80f3e64 100644 (file)
@@ -32,7 +32,7 @@ AC_DEFUN([jm_FUNC_LSTAT],
   ])
   if test $jm_cv_func_lstat_empty_string_bug = yes; then
     AC_LIBOBJ(lstat)
-    AC_DEFINE_UNQUOTED(HAVE_LSTAT_EMPTY_STRING_BUG, 1,
+    AC_DEFINE(HAVE_LSTAT_EMPTY_STRING_BUG, 1,
 [Define if lstat has the bug that it succeeds when given the zero-length
    file name argument.  The lstat from SunOS4.1.4 and the Hurd as of 1998-11-01)
    do this. ])
index 05c66ad6a21012deeac28e0456e2efceffc09dd5..bb60947dc7460975d7b0d16aae8ae4ad783fd42b 100644 (file)
@@ -9,8 +9,8 @@ AC_DEFUN([jm_FUNC_MALLOC],
 [
  dnl xmalloc.c requires that this symbol be defined so it doesn't
  dnl mistakenly use a broken malloc -- as it might if this test were omitted.
- AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_MALLOC_CHECK, 1,
-                    [Define if the malloc check has been performed. ])
+ AC_DEFINE(HAVE_DONE_WORKING_MALLOC_CHECK, 1,
+           [Define if the malloc check has been performed. ])
 
  AC_CACHE_CHECK([for working malloc], jm_cv_func_working_malloc,
   [AC_TRY_RUN([
@@ -28,7 +28,7 @@ AC_DEFUN([jm_FUNC_MALLOC],
   ])
   if test $jm_cv_func_working_malloc = no; then
     AC_LIBOBJ(malloc)
-    AC_DEFINE_UNQUOTED(malloc, rpl_malloc,
+    AC_DEFINE(malloc, rpl_malloc,
       [Define to rpl_malloc if the replacement function should be used.])
   fi
 ])
index f1d7a88e1840ea9eb6d8e91c03c29ed8ca81c0b2..1de340938bd8ab3aeeb54f5704241b56c45f2003 100644 (file)
@@ -3,7 +3,7 @@
 AC_DEFUN([jm_FUNC_MEMCMP],
 [AC_REQUIRE([AC_FUNC_MEMCMP])dnl
  if test $ac_cv_func_memcmp_working = no; then
-   AC_DEFINE_UNQUOTED(memcmp, rpl_memcmp,
+   AC_DEFINE(memcmp, rpl_memcmp,
      [Define to rpl_memcmp if the replacement function should be used.])
  fi
 ])
index 8245d887064dd8c752bc64bea8046c4fcd14c91e..18f835a9dfe05b45551f2f5610a23c085c8ae5c4 100644 (file)
@@ -29,7 +29,7 @@ AC_DEFUN([UTILS_FUNC_MKDIR_TRAILING_SLASH],
 
   if test $utils_cv_func_mkdir_trailing_slash_bug = yes; then
     AC_LIBOBJ(mkdir)
-    AC_DEFINE_UNQUOTED(mkdir, rpl_mkdir,
+    AC_DEFINE(mkdir, rpl_mkdir,
       [Define to rpl_mkdir if the replacement function should be used.])
   fi
 ])
index 2e0b971999aedcc273621acbc2bb7499c2acd370..b431456c79bf778e5d3cac37027d62be56537d52 100644 (file)
@@ -46,7 +46,7 @@ AC_DEFUN([jm_FUNC_NANOSLEEP],
   ])
   if test $jm_cv_func_nanosleep_works = no; then
     AC_LIBOBJ(nanosleep)
-    AC_DEFINE_UNQUOTED(nanosleep, rpl_nanosleep,
+    AC_DEFINE(nanosleep, rpl_nanosleep,
       [Define to rpl_nanosleep if the replacement function should be used.])
   fi
 
index eb6ef5f9359d277ccd7292e9c98f58acd54218b1..39a6e7568bf4f442524b7851047e98453e6bfe3c 100644 (file)
@@ -34,7 +34,7 @@ AC_DEFUN([jm_FUNC_PUTENV],
   ])
   if test $jm_cv_func_svid_putenv = no; then
     AC_LIBOBJ(putenv)
-    AC_DEFINE_UNQUOTED(putenv, rpl_putenv,
+    AC_DEFINE(putenv, rpl_putenv,
       [Define to rpl_putenv if the replacement function should be used.])
   fi
 ])
index 6087602c41ca5828d01ead8d8f21b742197835cd..fc1dcacd02df9544625dfdf4ad8bd93d5cfc4482 100644 (file)
@@ -123,7 +123,7 @@ AC_CACHE_CHECK([for working readdir], jm_cv_func_working_readdir,
   jm_cv_func_working_readdir=no)])
 
   if test $jm_cv_func_working_readdir = yes; then
-    AC_DEFINE_UNQUOTED(HAVE_WORKING_READDIR, 1,
+    AC_DEFINE(HAVE_WORKING_READDIR, 1,
 [Define if readdir is found to work properly in some unusual cases. ])
   fi
 ])
index ff8314dd4fc407e9de5380a6020e9fd76a1ef9d9..c8a8237472dbcfca740b5ffaec143477e0e229d7 100644 (file)
@@ -9,8 +9,8 @@ AC_DEFUN([jm_FUNC_REALLOC],
 [
  dnl xmalloc.c requires that this symbol be defined so it doesn't
  dnl mistakenly use a broken realloc -- as it might if this test were omitted.
- AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_REALLOC_CHECK, 1,
-                    [Define if the realloc check has been performed. ])
+ AC_DEFINE(HAVE_DONE_WORKING_REALLOC_CHECK, 1,
+           [Define if the realloc check has been performed. ])
 
  AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc,
   [AC_TRY_RUN([
@@ -28,7 +28,7 @@ AC_DEFUN([jm_FUNC_REALLOC],
   ])
   if test $jm_cv_func_working_realloc = no; then
     AC_LIBOBJ(realloc)
-    AC_DEFINE_UNQUOTED(realloc, rpl_realloc,
+    AC_DEFINE(realloc, rpl_realloc,
       [Define to rpl_realloc if the replacement function should be used.])
   fi
 ])
index 41359ce0f48c0f1ee86d4e584623c082951308af..4ce7f472d16ef98a72b673484f89e91478910797 100644 (file)
@@ -33,7 +33,7 @@ AC_DEFUN([vb_FUNC_RENAME],
   ])
   if test $vb_cv_func_rename_trailing_slash_bug = yes; then
     AC_LIBOBJ(rename)
-    AC_DEFINE_UNQUOTED(RENAME_TRAILING_SLASH_BUG, 1,
+    AC_DEFINE(RENAME_TRAILING_SLASH_BUG, 1,
 [Define if rename does not work for source paths with a trailing slash,
    like the one from SunOS 4.1.1_U1.])
   fi
index bd22665a2cd82032b1cce2333ea69f549af0c72f..ef5232efff7af1d714f7a76aa8c81974d8a356f4 100644 (file)
@@ -10,8 +10,8 @@ AC_DEFUN([AC_STRUCT_ST_DM_MODE],
      ac_cv_struct_st_dm_mode=no)])
 
   if test $ac_cv_struct_st_dm_mode = yes; then
-    AC_DEFINE_UNQUOTED(HAVE_ST_DM_MODE, 1,
-                      [Define if struct stat has an st_dm_mode member. ])
+    AC_DEFINE(HAVE_ST_DM_MODE, 1,
+             [Define if struct stat has an st_dm_mode member. ])
   fi
  ]
 )
index 3bc732d6fc67adb618954b8343dd077b6b20f919..1469ecf19614c2c7278590baa6f1e872a1b85dbe 100644 (file)
@@ -32,7 +32,7 @@ AC_DEFUN([jm_FUNC_STAT],
   ])
   if test $jm_cv_func_stat_empty_string_bug = yes; then
     AC_LIBOBJ(stat)
-    AC_DEFINE_UNQUOTED(HAVE_STAT_EMPTY_STRING_BUG, 1,
+    AC_DEFINE(HAVE_STAT_EMPTY_STRING_BUG, 1,
 [Define if stat has the bug that it succeeds when given the zero-length
    file name argument.  The stat from SunOS4.1.4 and the Hurd as of 1998-11-01)
    do this. ])
index 6cf46240a7912f5386a488ed9ec1d0fbda10f770..47e5507917c56b7c71b263b0be8bb3f589839030 100644 (file)
@@ -59,7 +59,7 @@ if test $ac_cv_func_strerror_r = yes; then
     fi
   ])
   if test $ac_cv_func_strerror_r_works = yes; then
-    AC_DEFINE_UNQUOTED(HAVE_WORKING_STRERROR_R, 1,
+    AC_DEFINE(HAVE_WORKING_STRERROR_R, 1,
       [Define to 1 if `strerror_r' returns a string.])
   fi
 fi
index 4d547cf261e5b169bb840fd39ef0fe4eaaae0fa8..5edb554dbe21361d7e5cbe5652a254d2d8ccd360 100644 (file)
@@ -28,7 +28,7 @@ AC_DEFUN([jm_CHECK_TYPE_STRUCT_TIMESPEC],
     ])
 
   if test $fu_cv_sys_struct_timespec = yes; then
-    AC_DEFINE_UNQUOTED(HAVE_STRUCT_TIMESPEC, 1,
-                      [Define if struct timespec is declared in <time.h>. ])
+    AC_DEFINE(HAVE_STRUCT_TIMESPEC, 1,
+             [Define if struct timespec is declared in <time.h>. ])
   fi
 ])
index 7c82f19e0c3e800b72e62c2548128262e144e80d..4ea49523e432a05834d007b119b346a39312ba92 100644 (file)
@@ -33,7 +33,7 @@ AC_DEFUN([jm_CHECK_TYPE_STRUCT_UTIMBUF],
     ])
 
   if test $fu_cv_sys_struct_utimbuf = yes; then
-    AC_DEFINE_UNQUOTED(HAVE_STRUCT_UTIMBUF, 1,
+    AC_DEFINE(HAVE_STRUCT_UTIMBUF, 1,
 [Define if struct utimbuf is declared -- usually in <utime.h>.
    Some systems have utime.h but don't declare the struct anywhere. ])
   fi
index 0f70ee3cc50b90a820b54b60f5d51bb6cc89bd51..f7e7842c5a0cae8c1a6250b6b91033a69aa788b7 100644 (file)
@@ -25,8 +25,8 @@ exit(!(stat ("conftest.data", &s) == 0
 rm -f core core.* *.core])
 
     if test $ac_cv_func_utimes_null = yes; then
-      AC_DEFINE_UNQUOTED(HAVE_UTIMES_NULL, 1,
-                        [Define if utimes accepts a null argument])
+      AC_DEFINE(HAVE_UTIMES_NULL, 1,
+               [Define if utimes accepts a null argument])
     fi
   ]
 )