Branch: Tag:

2007-06-10

2007-06-10 23:10:23 by Martin Stjernholm <mast@lysator.liu.se>

Further fixes in the CONFIGURE_TEST tests to avoid compilation
trouble. Adaption in the thread local cpu time test for change in
pike_rusage.h.

Rev: src/configure.in:1.1020

1: - AC_REVISION("$Id: configure.in,v 1.1019 2007/06/10 18:11:12 mast Exp $") + AC_REVISION("$Id: configure.in,v 1.1020 2007/06/10 23:10:23 mast Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2308:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1019 2007/06/10 18:11:12 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.1020 2007/06/10 23:10:23 mast Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2346:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1019 2007/06/10 18:11:12 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.1020 2007/06/10 23:10:23 mast Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2355:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1019 2007/06/10 18:11:12 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.1020 2007/06/10 23:10:23 mast Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
4680:   AC_CACHE_VAL(pike_cv_configure_test_port_c, [    AC_TRY_RUN([   #include <stdio.h> +    #define CONFIGURE_TEST - /* Don't need stralloc.h in this mode, but it often gets indirectly included. */ + /* The following headers can cause problems in this mode, and they easily +  get indirectly included unless we do this. */   #define STRALLOC_H -  + #define SVALUE_H + #define ARRAY_H +    #include "port.c" -  +    int main()   {    return 0;
4779:    AC_MSG_CHECKING(if gethrvtime really works)    AC_CACHE_VAL(pike_cv_func_gethrvtime_works, [    AC_TRY_RUN([ + #include <stdio.h> +    #define CONFIGURE_TEST - /* Don't need stralloc.h in this mode, but it often gets indirectly included. */ + /* The following headers can cause problems in this mode, and they easily +  get indirectly included unless we do this. */   #define STRALLOC_H -  + #define SVALUE_H + #define ARRAY_H      #include "port.c"   
7146:   AC_CACHE_VAL(pike_cv_configure_test_rusage_c, [    AC_TRY_RUN([   #include <stdio.h> +    #define CONFIGURE_TEST - /* Don't need stralloc.h in this mode, but it often gets indirectly included. */ + /* The following headers can cause problems in this mode, and they easily +  get indirectly included unless we do this. */   #define STRALLOC_H -  + #define SVALUE_H + #define ARRAY_H +    #include "rusage.c" -  +    int main()   {    init_rusage();
7174:   AC_CACHE_VAL(pike_cv_configure_test_threads_c, [    AC_TRY_RUN([   #include <stdio.h> +    #define CONFIGURE_TEST - /* Don't need stralloc.h in this mode, but it often gets indirectly included. */ + /* The following headers can cause problems in this mode, and they easily +  get indirectly included unless we do this. */   #define STRALLOC_H -  + #define SVALUE_H + #define ARRAY_H +    #include "threads.c" -  +    int main()   {    return 0;
7211:   #ifdef PIKE_THREADS      #define CONFIGURE_TEST - #define CONFIGURE_TEST_FALLBACK_GET_CPU_TIME - /* Don't need stralloc.h in this mode, but it often gets indirectly included. */ + #define CONFIGURE_TEST_FALLBACK_GCT + /* The following headers can cause problems in this mode, and they easily +  get indirectly included unless we do this. */   #define STRALLOC_H -  + #define SVALUE_H + #define ARRAY_H      #include "port.c"   #include "rusage.c"