Ignore:
Timestamp:
Jan 23, 2007, 4:38:18 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Added DLL initialisation code for Win32.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/configure.ac

    r1696 r1701  
    1515AC_PROG_LIBTOOL
    1616
    17 AC_CHECK_HEADERS(inttypes.h stdint.h getopt.h libc.h malloc.h dlfcn.h regex.h sys/socket.h sys/uio.h aio.h sys/mman.h sys/wait.h sys/resource.h)
     17case "${host_os}" in
     18  *mingw32*)
     19    WIN32DLL_LDFLAGS="-Wl,-l,imagehlp"
     20    ac_cv_func_recv=yes
     21    ac_cv_func_recvfrom=yes
     22    ac_cv_func_socket=yes
     23    ac_cv_func_accept=yes
     24    ;;
     25esac
     26AC_SUBST(WIN32DLL_LDFLAGS)
     27
     28AC_CHECK_HEADERS(windows.h winsock2.h inttypes.h stdint.h getopt.h libc.h malloc.h dlfcn.h regex.h sys/socket.h sys/uio.h aio.h sys/mman.h sys/wait.h sys/resource.h)
     29
    1830AC_CHECK_FUNCS(open64 lseek64 mmap64 fopen64 fseeko _IO_getc getline getdelim __getdelim fgetln __srefill map_fd memalign posix_memalign aio_read accept socket readv pread recv recvfrom recvmsg mmap valloc sigaction)
     31
    1932AC_CHECK_TYPES(sighandler_t, [], [],
    2033  [#define _GNU_SOURCE
Note: See TracChangeset for help on using the changeset viewer.