Use .$ac_objext, not .o
authorJim Meyering <jim@meyering.net>
Sun, 7 Feb 1999 05:27:24 +0000 (05:27 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 7 Feb 1999 05:27:24 +0000 (05:27 +0000)
13 files changed:
m4/ChangeLog
m4/chown.m4
m4/fnmatch.m4
m4/getgroups.m4
m4/getline.m4
m4/lstat.m4
m4/malloc.m4
m4/memcmp.m4
m4/putenv.m4
m4/realloc.m4
m4/regex.m4
m4/stat.m4
m4/strftime.m4

index 6a60a9f21860256bd643a3017edd8e15e2a8092d..fcdd0645c58d5ebdb7503d19c9ce2d6f48dd9d1f 100644 (file)
@@ -1,5 +1,19 @@
 1999-02-06  Jim Meyering  <meyering@ascend.com>
 
+       * chown.m4: Use `.$ac_objext', not `.o'.
+       * fnmatch.m4: Likewise.
+       * getgroups.m4: Likewise.
+       * getline.m4: Likewise.
+       * lstat.m4: Likewise.
+       * malloc.m4: Likewise.
+       * memcmp.m4: Likewise.
+       * putenv.m4: Likewise.
+       * realloc.m4: Likewise.
+       * regex.m4: Likewise.
+       * stat.m4: Likewise.
+       * strftime.m4: Likewise.
+       Suggestion from Alain Magloire.
+
        * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
        an argument.
 
index b3c0a7c43c7ab26197da063999afd6a94e0b8cfe..73ae469c34251449940f7a2aed13ff11c36c3756 100644 (file)
@@ -42,7 +42,7 @@ AC_DEFUN(jm_FUNC_CHOWN,
             jm_cv_func_working_chown=no)
   ])
   if test $jm_cv_func_working_chown = no; then
-    LIBOBJS="$LIBOBJS chown.o"
+    LIBOBJS="$LIBOBJS chown.$ac_objext"
     AC_DEFINE_UNQUOTED(chown, rpl_chown,
       [Define to rpl_chown if the replacement function should be used.])
   fi
index a94f45dd23d4dbbaf22086fd8170a285e9338625..85e40ddaa03a36ac13ee40566e826d1e2142209d 100644 (file)
@@ -10,7 +10,7 @@ AC_DEFUN(jm_FUNC_FNMATCH,
   AC_FUNC_FNMATCH
   if test $ac_cv_func_fnmatch_works = no \
       && test $ac_cv_gnu_library = no; then
-    LIBOBJS="$LIBOBJS fnmatch.o"
+    LIBOBJS="$LIBOBJS fnmatch.$ac_objext"
     AC_DEFINE_UNQUOTED(fnmatch, rpl_fnmatch,
       [Define to rpl_fnmatch if the replacement function should be used.])
   fi
index 37387dda3d85ac546bf2d1155cf5fd8c5f5a52ee..2200056b68e143517a3ffb8e271658759ae6ecd9 100644 (file)
@@ -38,7 +38,7 @@ AC_DEFUN(jm_FUNC_GETGROUPS,
               jm_cv_func_working_getgroups=no)
     ])
     if test $jm_cv_func_working_getgroups = no; then
-      LIBOBJS="$LIBOBJS getgroups.o"
+      LIBOBJS="$LIBOBJS getgroups.$ac_objext"
       AC_DEFINE_UNQUOTED(getgroups, rpl_getgroups,
        [Define as rpl_getgroups if getgroups doesn't work right.])
     fi
index 834b1a2879dd660c892e9d8570517af908e610dd..f3d6a812496e403a07bad57923cded9eb6d4ced1 100644 (file)
@@ -39,7 +39,7 @@ AC_DEFUN(AM_FUNC_GETLINE,
   fi
 
   if test $am_cv_func_working_getline = no; then
-    LIBOBJS="$LIBOBJS getline.o"
+    LIBOBJS="$LIBOBJS getline.$ac_objext"
     AC_SUBST(LIBOBJS)dnl
   fi
 ])
index 8378645c9d7c8ba0f44e8612c216bfa6392b2ebb..0908c4d806d4bbfd41687aa4ca8a159e1be0b207 100644 (file)
@@ -30,7 +30,7 @@ AC_DEFUN(jm_FUNC_LSTAT,
         jm_cv_func_lstat_empty_string_bug=yes)
   ])
   if test $jm_cv_func_lstat_empty_string_bug = yes; then
-    LIBOBJS="$LIBOBJS lstat.o"
+    LIBOBJS="$LIBOBJS lstat.$ac_objext"
     AC_DEFINE_UNQUOTED(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)
index 893c6e21d9845a9d9cd12641fb501256498f3b03..b491ad4ced7cc8faa6e2cd65eef7a1e292f3a1d9 100644 (file)
@@ -27,7 +27,7 @@ AC_DEFUN(jm_FUNC_MALLOC,
         jm_cv_func_working_malloc=no)
   ])
   if test $jm_cv_func_working_malloc = no; then
-    LIBOBJS="$LIBOBJS malloc.o"
+    LIBOBJS="$LIBOBJS malloc.$ac_objext"
     AC_DEFINE_UNQUOTED(malloc, rpl_malloc,
       [Define to rpl_malloc if the replacement function should be used.])
   fi
index 390014f41b183f5d427477c2cad0de3ce5de01bf..1c08adc220cde9e7eb906c2db22e74f8f0b13f71 100644 (file)
@@ -38,7 +38,8 @@ changequote([, ])dnl
    jm_cv_func_memcmp_working=yes,
    jm_cv_func_memcmp_working=no,
    jm_cv_func_memcmp_working=no)])
-test $jm_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.o"
+test $jm_cv_func_memcmp_working = no \
+  && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
 AC_SUBST(LIBOBJS)dnl
 ])
 
index c1f444b2fdf5ef17b73d266e867382405deb0dda..8743cc918426c737591ca99eb38a076900dcbc33 100644 (file)
@@ -33,7 +33,7 @@ AC_DEFUN(jm_FUNC_PUTENV,
             jm_cv_func_svid_putenv=no)
   ])
   if test $jm_cv_func_svid_putenv = no; then
-    LIBOBJS="$LIBOBJS putenv.o"
+    LIBOBJS="$LIBOBJS putenv.$ac_objext"
     AC_DEFINE_UNQUOTED(putenv, rpl_putenv,
       [Define to rpl_memcmp if the replacement function should be used.])
   fi
index 989d53b66eedd5dfc5a24834178e7854b0c10d4b..2c867487694b512eb5d47131b3e7fe2588a73789 100644 (file)
@@ -27,7 +27,7 @@ AC_DEFUN(jm_FUNC_REALLOC,
         jm_cv_func_working_realloc=no)
   ])
   if test $jm_cv_func_working_realloc = no; then
-    LIBOBJS="$LIBOBJS realloc.o"
+    LIBOBJS="$LIBOBJS realloc.$ac_objext"
     AC_DEFINE_UNQUOTED(realloc, rpl_realloc,
       [Define to rpl_realloc if the replacement function should be used.])
   fi
index b7a0389420305b0793cd6ed5965cbca587f04f65..df78cbb89fd693782789002da8a5eb0e82e9ce3a 100644 (file)
@@ -63,7 +63,7 @@ AC_DEFUN(jm_WITH_REGEX,
                    jm_with_regex=$withval,
                    jm_with_regex=$ac_use_included_regex)
        if test "$jm_with_regex" = yes; then
-         LIBOBJS="$LIBOBJS regex.o"
+         LIBOBJS="$LIBOBJS regex.$ac_objext"
        fi
       ],
     )
index 767b9a5d7bf1c779f77ec61fc7fe1509d27eba9b..c1865410823ca7e48b937fe651deac220d56580b 100644 (file)
@@ -30,7 +30,7 @@ AC_DEFUN(jm_FUNC_STAT,
         jm_cv_func_stat_empty_string_bug=yes)
   ])
   if test $jm_cv_func_stat_empty_string_bug = yes; then
-    LIBOBJS="$LIBOBJS stat.o"
+    LIBOBJS="$LIBOBJS stat.$ac_objext"
     AC_DEFINE_UNQUOTED(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)
index fd4b6ffa57ea7619fb61bfe7077c264be767eccf..e2074abeb7082a00e4cc67ed54e6662f3c7bbf17 100644 (file)
@@ -133,7 +133,7 @@ changequote([, ])dnl
             jm_cv_func_working_gnu_strftime=no)
   ])
   if test $jm_cv_func_working_gnu_strftime = no; then
-    LIBOBJS="$LIBOBJS strftime.o"
+    LIBOBJS="$LIBOBJS strftime.$ac_objext"
     AC_DEFINE_UNQUOTED(strftime, gnu_strftime,
       [Define to gnu_strftime if the replacement function should be used.])
   fi