Branch: Tag:

1997-01-22

1997-01-22 00:58:20 by Bernhard Fastenrath <fasten@shw.com>

Added support for dld-style dynamic-linking.
Added work-around for nonblocking test hanging on AmigaOS.

Rev: src/configure.in:1.44

1: - AC_REVISION("$Id: configure.in,v 1.43 1997/01/21 12:50:10 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.44 1997/01/22 00:58:20 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
343:   AC_HEADER_STDC   AC_CHECK_HEADERS(sys/rusage.h time.h sys/time.h sys/types.h unistd.h stdlib.h \   memory.h values.h string.h fcntl.h sys/filio.h sys/sockio.h crypt.h locale.h \ - sys/resource.h sys/select.h sys/mman.h setjmp.h limits.h pthread.h dlfcn.h) + sys/resource.h sys/select.h sys/mman.h setjmp.h limits.h pthread.h dlfcn.h \ + dld.h)      AC_SIZEOF_TYPE(char *)   AC_SIZEOF_TYPE(long)
362:      AC_CHECK_LIB(m, floor)   AC_CHECK_LIB(dl, dlopen) + AC_CHECK_LIB(dld, dld_link)         if test "${pike_cv_sys_os}" = "Linux"; then
493:    munmap \    dlopen \    dlsym \ +  dld_link \ +  dld_get_func \   )      if test $ac_cv_func_crypt$ac_cv_func__crypt = nono ; then
1155:   AC_MSG_CHECKING(how to set things nonblocking)   AC_CACHE_VAL(pike_cv_sys_nonblock,   [ +  # Kludge needed for AmigaOS +  if test x$pike_cv_sys_os = xAmigaOS ; then +  pike_cv_sys_nonblock=USE_FCNTL_O_NONBLOCK +  else    AC_TRY_RUN([   #define TESTING   #define USE_FCNTL_FNDELAY   #include "$srcdir/fd_control.c" - ],pike_cv_sys_nonblock=USE_FCNTL_FNDELAY, + ], pike_cv_sys_nonblock=USE_FCNTL_FNDELAY,    AC_TRY_RUN([   #define TESTING   #define USE_FCNTL_O_NDELAY   #include "$srcdir/fd_control.c" - ],pike_cv_sys_nonblock=USE_FCNTL_O_NDELAY, + ], pike_cv_sys_nonblock=USE_FCNTL_O_NDELAY,    AC_TRY_RUN([   #define TESTING   #define USE_FCNTL_O_NONBLOCK   #include "$srcdir/fd_control.c" - ],pike_cv_sys_nonblock=USE_FCNTL_O_NONBLOCK, + ], pike_cv_sys_nonblock=USE_FCNTL_O_NONBLOCK,    AC_TRY_RUN([   #define TESTING   #define USE_IOCTL_FIONBIO   #include "$srcdir/fd_control.c" - ],pike_cv_sys_nonblock=USE_IOCTL_FIONBIO, + ], pike_cv_sys_nonblock=USE_IOCTL_FIONBIO,   unset pike_cv_sys_nonblock - ))))]) +  )))) +  fi + ])      if test "${pike_cv_sys_nonblock}" = ""; then    AC_MSG_RESULT(none found)