Branch: Tag:

1999-11-23

1999-11-23 07:07:39 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

some fixes for compiling pike on NT

Rev: src/acconfig.h:1.51
Rev: src/builtin_functions.c:1.209
Rev: src/configure.in:1.332
Rev: src/global.h:1.39
Rev: src/modules/Gmp/configure.in:1.10
Rev: src/modules/HTTPLoop/accept_and_parse.c:1.2
Rev: src/modules/HTTPLoop/cache.c:1.2
Rev: src/modules/HTTPLoop/filesystem.c:1.2
Rev: src/modules/HTTPLoop/log.c:1.2
Rev: src/modules/HTTPLoop/requestobject.c:1.2
Rev: src/modules/HTTPLoop/timeout.c:1.2
Rev: src/modules/HTTPLoop/util.c:1.2
Rev: src/modules/Image/font.c:1.57
Rev: src/object.h:1.33
Rev: src/port.c:1.22

1: - AC_REVISION("$Id: configure.in,v 1.331 1999/11/18 07:58:20 hubbe Exp $") + AC_REVISION("$Id: configure.in,v 1.332 1999/11/23 07:07:02 hubbe Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
1131:   AC_CHECK_SIZEOF(short,2)   AC_CHECK_SIZEOF(float,4)   AC_CHECK_SIZEOF(double,8) + AC_CHECK_SIZEOF(long,4) + AC_CHECK_SIZEOF(long long,0)      AC_MY_CHECK_TYPE(size_t,long)   AC_MY_CHECK_TYPE(off_t,long)
1571:    localtime \    gmtime \    memchr \ -  memcpy \ -  memset \ +     mktime \    perror \    rindex \
2157:      ########################################################################    + MY_CHECK_FUNCTION(memcpy, + [ + #include <string.h> + char *a="foo bar gazonk"; + char foo[23]; + int main() + { +  memcpy(foo, a, strlen(a)+1); +  memcpy(foo, a+4, 3); +  if(strcmp(foo,"bar bar gazonk")) exit(1); +  exit(0); + } + ]) +  + ######################################################################## +  + MY_CHECK_FUNCTION(memset, + [ + #include <string.h> + char foo[23]; + int main() + { +  memset(foo, 0, 11); +  memset(foo, 'a', 10); +  memset(foo, 'b', 5); +  if(strcmp(foo,"bbbbbaaaaa")) exit(1); +  exit(0); + } + ]) +  + ######################################################################## +    MY_CHECK_FUNCTION(memmove,   [   #include <string.h>
2878:    AC_DEFINE(HAVE_FUNCTION_ATTRIBUTES)   fi    + ############################################################################# +    AC_MSG_CHECKING(how to concatenate two symbols)   AC_CACHE_VAL(pike_cv_cpp_symbol_concat, [    AC_TRY_COMPILE([