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.

245 lines
6.7 KiB

12 years ago
11 years ago
7 years ago
12 years ago
12 years ago
12 years ago
Asciidoc man page rework (#699) * Add 'tunnel_address' support for json config parser And allow ss-tunnel to use the newly introduced parser. Signed-off-by: Adam Anonymous <anonymous_temp_user@yahoo.co.jp> * Add "mode" support for jconf Now jconf supports "mode" setting, allowed values are "tcp_only", "tcp_and_udp" and "udp_only". Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Use jconf "mode" for server/local/tunnel/manager Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Add per-project vimrc to gitignore As the coding style differs from kernel and other projects, so such project vimrc should be helpful. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Introduce asciidoc based documentation framework Use asciidoc for new documentation framework, which could not only output man pages, but also htmls. And asciidoc documentation is much more human-readable than roff man pages. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert shadowsocks-libev man page to asciidoc The port to asciidoc has some format change compared to old one. The most obvious one is the options listed in SYNOPSIS. Now the options list is not split into 2/3 columns, or we must use asciidoc tables and introduce table frames. Other small change includes the removal of AUTHOR sector, as it's not an expendable method to update AUTHOR sector every time it gets updated. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-local man page to asciidoc Also modify gitignore, since it use too generic rules to ignore such documentation. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-manager man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-nat man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-redir man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-server man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-tunnel man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Remove old roff man pages Welcome to the new age of asciidoc. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Add equivalent tables for command line options and config file Now user can get a more clear view of config file and command line options. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
8 years ago
Asciidoc man page rework (#699) * Add 'tunnel_address' support for json config parser And allow ss-tunnel to use the newly introduced parser. Signed-off-by: Adam Anonymous <anonymous_temp_user@yahoo.co.jp> * Add "mode" support for jconf Now jconf supports "mode" setting, allowed values are "tcp_only", "tcp_and_udp" and "udp_only". Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Use jconf "mode" for server/local/tunnel/manager Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Add per-project vimrc to gitignore As the coding style differs from kernel and other projects, so such project vimrc should be helpful. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Introduce asciidoc based documentation framework Use asciidoc for new documentation framework, which could not only output man pages, but also htmls. And asciidoc documentation is much more human-readable than roff man pages. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert shadowsocks-libev man page to asciidoc The port to asciidoc has some format change compared to old one. The most obvious one is the options listed in SYNOPSIS. Now the options list is not split into 2/3 columns, or we must use asciidoc tables and introduce table frames. Other small change includes the removal of AUTHOR sector, as it's not an expendable method to update AUTHOR sector every time it gets updated. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-local man page to asciidoc Also modify gitignore, since it use too generic rules to ignore such documentation. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-manager man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-nat man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-redir man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-server man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-tunnel man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Remove old roff man pages Welcome to the new age of asciidoc. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Add equivalent tables for command line options and config file Now user can get a more clear view of config file and command line options. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
8 years ago
Asciidoc man page rework (#699) * Add 'tunnel_address' support for json config parser And allow ss-tunnel to use the newly introduced parser. Signed-off-by: Adam Anonymous <anonymous_temp_user@yahoo.co.jp> * Add "mode" support for jconf Now jconf supports "mode" setting, allowed values are "tcp_only", "tcp_and_udp" and "udp_only". Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Use jconf "mode" for server/local/tunnel/manager Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Add per-project vimrc to gitignore As the coding style differs from kernel and other projects, so such project vimrc should be helpful. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Introduce asciidoc based documentation framework Use asciidoc for new documentation framework, which could not only output man pages, but also htmls. And asciidoc documentation is much more human-readable than roff man pages. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert shadowsocks-libev man page to asciidoc The port to asciidoc has some format change compared to old one. The most obvious one is the options listed in SYNOPSIS. Now the options list is not split into 2/3 columns, or we must use asciidoc tables and introduce table frames. Other small change includes the removal of AUTHOR sector, as it's not an expendable method to update AUTHOR sector every time it gets updated. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-local man page to asciidoc Also modify gitignore, since it use too generic rules to ignore such documentation. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-manager man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-nat man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-redir man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-server man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-tunnel man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Remove old roff man pages Welcome to the new age of asciidoc. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Add equivalent tables for command line options and config file Now user can get a more clear view of config file and command line options. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
8 years ago
Asciidoc man page rework (#699) * Add 'tunnel_address' support for json config parser And allow ss-tunnel to use the newly introduced parser. Signed-off-by: Adam Anonymous <anonymous_temp_user@yahoo.co.jp> * Add "mode" support for jconf Now jconf supports "mode" setting, allowed values are "tcp_only", "tcp_and_udp" and "udp_only". Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Use jconf "mode" for server/local/tunnel/manager Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Add per-project vimrc to gitignore As the coding style differs from kernel and other projects, so such project vimrc should be helpful. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Introduce asciidoc based documentation framework Use asciidoc for new documentation framework, which could not only output man pages, but also htmls. And asciidoc documentation is much more human-readable than roff man pages. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert shadowsocks-libev man page to asciidoc The port to asciidoc has some format change compared to old one. The most obvious one is the options listed in SYNOPSIS. Now the options list is not split into 2/3 columns, or we must use asciidoc tables and introduce table frames. Other small change includes the removal of AUTHOR sector, as it's not an expendable method to update AUTHOR sector every time it gets updated. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-local man page to asciidoc Also modify gitignore, since it use too generic rules to ignore such documentation. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-manager man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-nat man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-redir man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-server man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-tunnel man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Remove old roff man pages Welcome to the new age of asciidoc. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Add equivalent tables for command line options and config file Now user can get a more clear view of config file and command line options. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
8 years ago
Asciidoc man page rework (#699) * Add 'tunnel_address' support for json config parser And allow ss-tunnel to use the newly introduced parser. Signed-off-by: Adam Anonymous <anonymous_temp_user@yahoo.co.jp> * Add "mode" support for jconf Now jconf supports "mode" setting, allowed values are "tcp_only", "tcp_and_udp" and "udp_only". Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Use jconf "mode" for server/local/tunnel/manager Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Add per-project vimrc to gitignore As the coding style differs from kernel and other projects, so such project vimrc should be helpful. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Introduce asciidoc based documentation framework Use asciidoc for new documentation framework, which could not only output man pages, but also htmls. And asciidoc documentation is much more human-readable than roff man pages. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert shadowsocks-libev man page to asciidoc The port to asciidoc has some format change compared to old one. The most obvious one is the options listed in SYNOPSIS. Now the options list is not split into 2/3 columns, or we must use asciidoc tables and introduce table frames. Other small change includes the removal of AUTHOR sector, as it's not an expendable method to update AUTHOR sector every time it gets updated. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-local man page to asciidoc Also modify gitignore, since it use too generic rules to ignore such documentation. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-manager man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-nat man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-redir man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-server man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Convert ss-tunnel man page to asciidoc Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Remove old roff man pages Welcome to the new age of asciidoc. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp> * Doc: Add equivalent tables for command line options and config file Now user can get a more clear view of config file and command line options. Signed-off-by: Adam Anonymous <anonymous_temp_mail@yahoo.co.jp>
8 years ago
12 years ago
11 years ago
11 years ago
12 years ago
11 years ago
11 years ago
11 years ago
8 years ago
12 years ago
8 years ago
8 years ago
8 years ago
11 years ago
12 years ago
7 years ago
11 years ago
7 years ago
7 years ago
7 years ago
12 years ago
  1. dnl -*- Autoconf -*-
  2. dnl Process this file with autoconf to produce a configure script.
  3. AC_PREREQ([2.67])
  4. AC_INIT([shadowsocks-libev], [3.0.3], [max.c.lv@gmail.com])
  5. AC_CONFIG_SRCDIR([src/crypto.c])
  6. AC_CONFIG_HEADERS([config.h])
  7. AC_CONFIG_AUX_DIR(auto)
  8. AC_CONFIG_MACRO_DIR([m4])
  9. AC_USE_SYSTEM_EXTENSIONS
  10. AM_INIT_AUTOMAKE([subdir-objects foreign -Wno-gnu -Werror])
  11. m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
  12. m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
  13. AM_MAINTAINER_MODE
  14. AM_DEP_TRACK
  15. dnl Checks for lib
  16. AC_DISABLE_STATIC
  17. AC_DISABLE_SHARED
  18. LT_INIT([dlopen])
  19. dnl Check for pcre library
  20. TS_CHECK_PCRE
  21. if test "x${enable_pcre}" != "xyes"; then
  22. AC_MSG_ERROR([Cannot find pcre library. Configure --with-pcre=DIR])
  23. fi
  24. dnl Checks for using shared libraries from system
  25. AC_ARG_ENABLE(
  26. [system-shared-lib],
  27. AS_HELP_STRING([--enable-system-shared-lib], [build against shared libraries when possible]),
  28. [
  29. case "${enableval}" in
  30. yes) enable_system_shared_lib=true ;;
  31. no) enable_system_shared_lib=false ;;
  32. *) AC_MSG_ERROR([bad value ${enableval} for --enable-system-shared-lib]) ;;
  33. esac], [enable_system_shared_lib=false])
  34. AM_CONDITIONAL([USE_SYSTEM_SHARED_LIB], [test x$enable_system_shared_lib = xtrue])
  35. AC_ARG_ENABLE([documentation],
  36. AS_HELP_STRING([--disable-documentation], [do not build documentation]),
  37. [disable_documentation=true],
  38. [disable_documentation=false])
  39. AM_CONDITIONAL([ENABLE_DOCUMENTATION], [test x$disable_documentation = xfalse])
  40. AM_COND_IF([ENABLE_DOCUMENTATION], [
  41. AC_PATH_PROG([ASCIIDOC], [asciidoc])
  42. test x"${ASCIIDOC}" != x || AC_MSG_ERROR([Cannot find `asciidoc` in PATH.])
  43. AC_PATH_PROG([XMLTO], [xmlto])
  44. test x"$XMLTO" != x || AC_MSG_ERROR([Cannot find `xmlto` in PATH.])
  45. AC_PATH_PROG([GZIP], [gzip], [gzip])
  46. AC_PATH_PROG([MV], [mv], [mv])
  47. AC_PROG_SED
  48. ])
  49. dnl Checks for programs.
  50. AC_PROG_CC
  51. AM_PROG_CC_C_O
  52. AC_PROG_INSTALL
  53. AC_PROG_LN_S
  54. AC_PROG_LIBTOOL
  55. AC_PROG_MAKE_SET
  56. AC_LANG_SOURCE
  57. dnl Add library for mingw
  58. case $host in
  59. *-mingw*)
  60. CFLAGS="$CFLAGS -mno-ms-bitfields"
  61. LIBS="$LIBS -ladvapi32 -lgdi32 -lws2_32 -lcrypt32"
  62. ;;
  63. *-cygwin*)
  64. CFLAGS="$CFLAGS -mno-ms-bitfields"
  65. ;;
  66. *)
  67. ;;
  68. esac
  69. dnl Checks for TLS
  70. AX_TLS([:], [:])
  71. dnl Checks for crypto libraries
  72. ss_MBEDTLS
  73. ss_SODIUM
  74. dnl Checks for inet_ntop
  75. ss_FUNC_INET_NTOP
  76. dnl Checks for host.
  77. AC_MSG_CHECKING(for what kind of host)
  78. case $host in
  79. *-linux*)
  80. os_support=linux
  81. AC_MSG_RESULT(Linux)
  82. ;;
  83. *)
  84. AC_MSG_RESULT(transparent proxy does not support for $host)
  85. ;;
  86. esac
  87. dnl Checks for pthread
  88. AX_PTHREAD([LIBS="$PTHREAD_LIBS $LIBS"
  89. CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
  90. CC="$PTHREAD_CC"], AC_MSG_ERROR(Can not find pthreads. This is required.))
  91. dnl Checks for stack protector
  92. GGL_CHECK_STACK_PROTECTOR([has_stack_protector=yes], [has_stack_protector=no])
  93. # XXX - disable -fstack-protector due to missing libssp_nonshared
  94. case "$host_os" in
  95. *aix*)
  96. AC_MSG_NOTICE([-fstack-protector disabled on AIX])
  97. has_stack_protector=no
  98. ;;
  99. *sunos*)
  100. AC_MSG_NOTICE([-fstack-protector disabled on SunOS])
  101. has_stack_protector=no
  102. ;;
  103. *solaris*)
  104. AC_MSG_NOTICE([-fstack-protector disabled on Solaris])
  105. has_stack_protector=no
  106. ;;
  107. esac
  108. AC_ARG_ENABLE(ssp,
  109. [AS_HELP_STRING(--disable-ssp,Do not compile with -fstack-protector)],
  110. [
  111. enable_ssp="no"
  112. ],
  113. [
  114. enable_ssp="yes"
  115. ])
  116. if test x$has_stack_protector = xyes && test x$enable_ssp = xyes; then
  117. CFLAGS="$CFLAGS -fstack-protector"
  118. AC_MSG_NOTICE([-fstack-protector enabled in CFLAGS])
  119. fi
  120. AM_CONDITIONAL(BUILD_REDIRECTOR, test "$os_support" = "linux")
  121. AM_CONDITIONAL(BUILD_WINCOMPAT, test "$os_support" = "mingw")
  122. dnl Checks for header files.
  123. AC_CHECK_HEADERS([limits.h stdint.h inttypes.h arpa/inet.h fcntl.h langinfo.h locale.h netdb.h netinet/in.h stdlib.h string.h strings.h unistd.h sys/ioctl.h])
  124. dnl A special check required for <net/if.h> on Darwin. See
  125. dnl http://www.gnu.org/software/autoconf/manual/html_node/Header-Portability.html.
  126. AC_CHECK_HEADERS([sys/socket.h])
  127. AC_CHECK_HEADERS([net/if.h], [], [],
  128. [
  129. #include <stdio.h>
  130. #ifdef STDC_HEADERS
  131. # include <stdlib.h>
  132. # include <stddef.h>
  133. #else
  134. # ifdef HAVE_STDLIB_H
  135. # include <stdlib.h>
  136. # endif
  137. #endif
  138. #ifdef HAVE_SYS_SOCKET_H
  139. # include <sys/socket.h>
  140. #endif
  141. ])
  142. case $host in
  143. *-linux*)
  144. AC_DEFINE([CONNECT_IN_PROGRESS], [EINPROGRESS], [errno for incomplete non-blocking connect(2)])
  145. dnl Checks for netfilter headers
  146. AC_CHECK_HEADERS([linux/if.h linux/netfilter_ipv4.h linux/netfilter_ipv6/ip6_tables.h],
  147. [], [AC_MSG_ERROR([Missing netfilter headers])],
  148. [[
  149. #if HAVE_LIMITS_H
  150. #include <limits.h>
  151. #endif
  152. /* Netfilter ip(6)tables v1.4.0 has broken headers */
  153. #if HAVE_NETINET_IN_H
  154. #include <netinet/in.h>
  155. #endif
  156. #if HAVE_LINUX_IF_H
  157. #include <linux/if.h>
  158. #endif
  159. #if HAVE_SYS_SOCKET_H
  160. #include <sys/socket.h>
  161. #endif
  162. ]])
  163. ;;
  164. *)
  165. # These are POSIX-like systems using BSD-like sockets API.
  166. AC_DEFINE([CONNECT_IN_PROGRESS], [EINPROGRESS], [errno for incomplete non-blocking connect(2)])
  167. ;;
  168. esac
  169. AC_C_BIGENDIAN
  170. dnl Checks for typedefs, structures, and compiler characteristics.
  171. AC_C_INLINE
  172. AC_TYPE_SSIZE_T
  173. dnl Checks for header files.
  174. AC_HEADER_ASSERT
  175. AC_HEADER_STDC
  176. AC_HEADER_SYS_WAIT
  177. dnl Checks for typedefs, structures, and compiler characteristics.
  178. AC_C_CONST
  179. AC_TYPE_PID_T
  180. AC_TYPE_SIZE_T
  181. AC_TYPE_SSIZE_T
  182. AC_TYPE_UINT16_T
  183. AC_TYPE_UINT8_T
  184. AC_HEADER_TIME
  185. dnl Checks for library functions.
  186. AC_FUNC_FORK
  187. AC_FUNC_SELECT_ARGTYPES
  188. AC_TYPE_SIGNAL
  189. AC_CHECK_FUNCS([memset select setresuid setreuid strerror get_current_dir_name getpwnam_r setrlimit])
  190. AC_CHECK_LIB(socket, connect)
  191. dnl Checks for library functions.
  192. AC_CHECK_FUNCS([malloc memset posix_memalign socket])
  193. dnl Add define for libudns to enable IPv6 support
  194. dnl This is an option defined in the origin configure script
  195. AC_DEFINE([HAVE_IPv6], [1], [Enable IPv6 support in libudns])
  196. AC_CHECK_HEADERS([udns.h], [], [AC_MSG_ERROR([Couldn't find libudns. Try installing libudns-dev or udns-devel.])])
  197. AC_CHECK_LIB([udns], [dns_dnlen], [LIBS="-ludns $LIBS"], [AC_MSG_ERROR([Couldn't find libudns. Try installing libudns-dev or udns-devel.])])
  198. AC_CHECK_HEADERS([ev.h libev/ev.h], [], [])
  199. AC_CHECK_LIB([ev], [ev_loop_destroy], [LIBS="-lev $LIBS"], [AC_MSG_ERROR([Couldn't find libev. Try installing libev-dev@<:@el@:>@.])])
  200. AC_CONFIG_FILES([shadowsocks-libev.pc
  201. Makefile
  202. src/Makefile
  203. libbloom/Makefile])
  204. AM_COND_IF([USE_SYSTEM_SHARED_LIB],
  205. [AC_DEFINE([USE_SYSTEM_SHARED_LIB], [1], [Define if use system shared lib.])],
  206. [AC_CONFIG_FILES([libcork/Makefile libipset/Makefile])])
  207. AM_COND_IF([ENABLE_DOCUMENTATION],
  208. [AC_CONFIG_FILES([doc/Makefile])
  209. ])
  210. AC_OUTPUT