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.

35 lines
879 B

12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 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], [1.0], [max.c.lv@gmail.com])
  5. AC_CONFIG_SRCDIR([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. # Checks for libraries.
  13. AC_SEARCH_LIBS([ev_io_start], [ev], [ ], AC_MSG_ERROR([libev not found.]))
  14. # Checks for header files.
  15. AC_CHECK_HEADERS([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])
  16. AC_C_BIGENDIAN
  17. # Checks for typedefs, structures, and compiler characteristics.
  18. AC_C_INLINE
  19. AC_TYPE_SSIZE_T
  20. # Checks for library functions.
  21. AC_CHECK_FUNCS([malloc memset socket])
  22. AC_CONFIG_MACRO_DIR([m4])
  23. AC_CONFIG_FILES([Makefile])
  24. AC_OUTPUT