notation for cache variables.
diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4
index 810a0a7..946a646 100644
--- a/lib/autoconf/functions.m4
+++ b/lib/autoconf/functions.m4
@@ -832,14 +832,14 @@ fi
AN_FUNCTION([lstat], [AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
AC_DEFUN
Derek Robert Price wrote:
Index: m4/lstat.m4
===
RCS file: /cvsroot/gnulib/gnulib/m4/lstat.m4,v
retrieving revision 1.14
diff -u -r1.14 lstat.m4
--- m4/lstat.m431 Dec 2002 13:43:06 -1.14
+++ m4/lstat.m420 Jul 2003
/lstat.m4,v
retrieving revision 1.14
diff -u -r1.14 lstat.m4
--- m4/lstat.m4 31 Dec 2002 13:43:06 - 1.14
+++ m4/lstat.m4 20 Jul 2003 12:06:42 -
@@ -13,9 +13,12 @@
[
AC_FUNC_LSTAT
dnl Note: AC_FUNC_LSTAT does AC_LIBOBJ(lstat).
- if test $ac_cv_func_lstat_empty_string_bug = yes
a deficiency in Solaris systems (up to at
least Solaris5.9) regarding the semantics of `lstat (symlink/, sbuf).'
has this bug.
I just got a complaint from one of the other CVS developers that Sun
likes to see wither the uname output (SunOS 5.9) or their marketing name
(Solaris 9) when referring
about my tweaks to stat.c?
Yes. I liked it and have just made that change. Thanks.
I also confirmed that Solaris5.9 still requires the
work-around code and added this comment:
Also work around a deficiency in Solaris systems (up to at
least Solaris5.9) regarding the semantics of `lstat
the autoconf discussion list.
If no one objects, I'll change the stat/lstat-related AC_
macros as I've suggested.
+1
. . .
Did you have an opinion about my tweaks to stat.c?
Derek
--
*8^)
Email: [EMAIL PROTECTED]
Get CVS support at http://ximbiot.com!
--
Southern DOS: Y'all reckon
Is there any way to replace checks for certain functions such as lstat()
which do not exist on a particular platform with suitable substitutes such
as stat() ?
I guess what I'm looking for is a way of adding platform specific plugins
which don't need to be incorporated into Autoconf itself
From: John Poltorak [EMAIL PROTECTED]
Date: Wed, 6 Mar 2002 16:49:21 +
what I'm looking for is a way of adding platform specific plugins
which don't need to be incorporated into Autoconf itself, but Autoconf
will call them if they exist.
Presumably you can build the plugin and add
)
+#endif])
+AH_VERBATIM([_EMX_REPLACE_STRNCASECMP],
+[/* Replace strncasecmp() by strnicmp() if necessary (EMX only) */
+#if !HAVE_STRNCASECMP HAVE_STRNICMP !defined strncasecmp
+# define strncasecmp(x,y,z) strnicmp(x,y,z)
+#endif])
+AH_VERBATIM([_EMX_REPLACE_LSTAT],
+[/* If libc does not support lstat
John == John Poltorak [EMAIL PROTECTED] writes:
John test -f $THISPLATFORM.m4 use $THISPLATFORM.m4
In lib/autom4te.cfg, you add:
## -- ##
## Autoconf. ##
## -- ##
begin-language: Autoconf
# patterns: *.ac
# patterns:
John == John Poltorak [EMAIL PROTECTED] writes:
John I would like to add the line:-
John #define lstat stat
John to config.h if lstat is not found on the system.
John Can anyone tell me if I can achieve this via an entry in
John configure.in ?
AC_DEFINE(lstat, stat, [Foo])
I would like to add the line:-
#define lstat stat
to config.h if lstat is not found on the system.
Can anyone tell me if I can achieve this via an entry in configure.in ?
--
John
12 matches
Mail list logo