Branch: Tag:

2000-05-19

2000-05-19 16:58:05 by Martin Stjernholm <mast@lysator.liu.se>

Fixes for the case when $srcdir doesn't work as path in the conftest
programs (eg when using sprshd).

Rev: src/configure.in:1.373
Rev: src/modules/Gz/configure.in:1.16

1: - AC_REVISION("$Id: configure.in,v 1.372 2000/05/05 01:56:43 hubbe Exp $") + AC_REVISION("$Id: configure.in,v 1.373 2000/05/19 16:58:03 mast Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
62:   # The purpose of this test is to check that there is no filesystem   # caching preventing pike from compiling correctly.   # - AC_MSG_CHECKING([filesystem syncronization]) + AC_MSG_CHECKING([filesystem synchronization])      AC_CACHE_VAL(pike_cv_filesystem_syncronization,   [
1034:   export EXTRA_PATH      else -  : # We are running NT +  # We are running NT +  CPPFLAGS="${CPPFLAGS} -I$srcdir -I`pwd`"   fi      #############################################################################
3223:    AC_TRY_RUN([   #define TESTING   #define USE_FCNTL_FNDELAY - #include "$srcdir/fd_control.c" + #include "fd_control.c"   ], pike_cv_sys_nonblock=USE_FCNTL_FNDELAY,    AC_TRY_RUN([   #define TESTING   #define USE_FCNTL_O_NDELAY - #include "$srcdir/fd_control.c" + #include "fd_control.c"   ], pike_cv_sys_nonblock=USE_FCNTL_O_NDELAY,    AC_TRY_RUN([   #define TESTING   #define USE_FCNTL_O_NONBLOCK - #include "$srcdir/fd_control.c" + #include "fd_control.c"   ], pike_cv_sys_nonblock=USE_FCNTL_O_NONBLOCK,    AC_TRY_RUN([   #define TESTING   #define USE_IOCTL_FIONBIO - #include "$srcdir/fd_control.c" + #include "fd_control.c"   ], pike_cv_sys_nonblock=USE_IOCTL_FIONBIO,    AC_TRY_RUN([   #define TESTING   #define USE_IOCTLSOCKET_FIONBIO - #include "$srcdir/fd_control.c" + #include "fd_control.c"   ], pike_cv_sys_nonblock=USE_IOCTLSOCKET_FIONBIO,   unset pike_cv_sys_nonblock,   unset pike_cv_sys_nonblock),
3488:    esac    AC_TRY_RUN([   #define TESTING - #include "$srcdir/dynamic_load.c" + #include "dynamic_load.c"   void testfunc2(void) { exit(0); }   ], pike_cv_sys_dynamic_loading=yes, pike_cv_sys_dynamic_loading=no, pike_cv_sys_dynamic_loading=no)    CFLAGS="$OLD_CFLAGS"