You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
996 B

12 years ago
12 years ago
11 years ago
11 years ago
12 years ago
12 years ago
12 years ago
11 years ago
12 years ago
11 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
11 years ago
12 years ago
  1. # -*- Autoconf -*-
  2. # Process this file with autoconf to produce a configure script.
  3. AC_PREREQ([2.67])
  4. AC_INIT([shadowsocks], [0.9], [max.c.lv@gmail.com])
  5. AC_CONFIG_SRCDIR([src/encrypt.c])
  6. AC_CONFIG_HEADERS([config.h])
  7. AM_INIT_AUTOMAKE([foreign -Wall -Werror])
  8. # Checks for programs.
  9. AC_PROG_CC
  10. AC_PROG_INSTALL
  11. AC_PROG_LIBTOOL
  12. m4_include([libev/libev.m4])
  13. # Checks for libraries.
  14. # AC_SEARCH_LIBS([ev_io_start], [ev], [ ], AC_MSG_ERROR([libev not found.]))
  15. # Checks for header files.
  16. AC_CHECK_HEADERS([stdint.h inttypes.h arpa/inet.h fcntl.h langinfo.h locale.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/socket.h unistd.h])
  17. AC_C_BIGENDIAN
  18. # Checks for typedefs, structures, and compiler characteristics.
  19. AC_C_INLINE
  20. AC_TYPE_SSIZE_T
  21. # Checks for library functions.
  22. AC_CHECK_FUNCS([malloc memset socket])
  23. AC_CONFIG_MACRO_DIR([m4])
  24. AC_CONFIG_FILES([Makefile
  25. libev/Makefile
  26. src/Makefile])
  27. AC_OUTPUT