* libltdl/ltdl.c (strdup, strcmp, strchr, strrchr, memcpy, trim,
free_vars): Revoke inline keyword from declarations. `static
inline' is not very portable, and in addition Unixware 7.1.1's
compiler says you can't access static variables from inline
functions.
Reported by Peter Eisentraut <peter_e@gmx.net>
+2001-04-24 Gary V. Vaughan <gvv@techie.com>
+
+ * ltdl.m4 (AC_C_INLINE): No longer required.
+ * libltdl/ltdl.c (strdup, strcmp, strchr, strrchr, memcpy, trim,
+ free_vars): Revoke inline keyword from declarations. `static
+ inline' is not very portable, and in addition Unixware 7.1.1's
+ compiler says you can't access static variables from inline
+ functions.
+ Reported by Peter Eisentraut <peter_e@gmx.net>
+
2001-04-24 Albert Chin-A-Young <china@thewrittenword.com>
* libtool.m4: Handle case where /bin/nm -p outputs multiple
#undef strdup
#define strdup rpl_strdup
-static inline char *
+static char *
strdup(str)
const char *str;
{
#undef strcmp
#define strcmp rpl_strcmp
-static inline int
+static int
strcmp (str1, str2)
const char *str1;
const char *str2;
# else
# define strchr rpl_strchr
-static inline const char*
+static const char*
strchr(str, ch)
const char *str;
int ch;
# else
# define strrchr rpl_strrchr
-static inline const char*
+static const char*
strrchr(str, ch)
const char *str;
int ch;
# else
# define memcpy rpl_memcpy
-static inline char *
+static char *
memcpy (dest, src, size)
char *dest;
const char *src;
return errors;
}
-static inline int
+static int
trim (dest, str)
char **dest;
const char *str;
return 0;
}
-static inline int
+static int
free_vars( dlname, oldname, libdir, deplibs)
char *dlname;
char *oldname;
[AC_PREREQ(2.13)dnl
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_C_CONST])dnl
-AC_REQUIRE([AC_C_INLINE])dnl
# Perform all the checks necessary for compilation of the ltdl objects
# -- including compiler checks (above) and header checks (below).