Branch: Tag:

2003-02-08

2003-02-08 22:50:39 by Martin Stjernholm <mast@lysator.liu.se>

Use more return codes to get another crosscheck possibility with
autoconfs that don't clobber the return value in AC_TRY_RUN.

Rev: src/configure.in:1.683

1: - AC_REVISION("$Id: configure.in,v 1.682 2003/02/08 02:28:40 mast Exp $") + AC_REVISION("$Id: configure.in,v 1.683 2003/02/08 22:50:39 mast Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
5771:    if (th_create (&worker, work_thread, NULL)) {    fputs ("unknown (failed to create thread)", res);    fclose (res); -  return 1; +  return 3;    }    start = get_cpu_time();    co_wait (&c, &m);
5780:    if (work_time < (CPU_TIME_TICKS / 10)) {    fputs ("unknown (get_cpu_time doesn't work)", res);    fclose (res); -  return 1; +  return 4;    }       if (work_time > wait_time)
5796:   int main()   {    FILE *res = fopen ("conftest.out.2", "w"); -  if (!res) return 2; +  if (!res) return 5;    fputs ("no", res);    fclose (res);    return 1;