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.

34 lines
956 B

12 years ago
12 years ago
11 years ago
12 years ago
11 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.68])
  4. AC_INIT([shadowsocks], [0.9], [clowwindy42@gmail.com|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([MD5], [crypto], [ ], AC_MSG_ERROR([libcrypto not found.]))
  14. AC_SEARCH_LIBS([ev_io_start], [ev], [ ], AC_MSG_ERROR([libev not found.]))
  15. # Checks for header files.
  16. 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])
  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_FUNC_MALLOC
  23. AC_CHECK_FUNCS([memset socket])
  24. AC_CONFIG_FILES([Makefile])
  25. AC_OUTPUT