X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=configure.in;h=c66adb6c113cc3f3e8236a659dba6e4ae55813be;hp=79165e8cf3be21ff9c3df383e7a314fe1661feb9;hb=5900c07fab39d2833ea66429ad652ca49a91a508;hpb=9a491a10eee55b243dd1030ee9016ec510908a10 diff --git a/configure.in b/configure.in index 79165e8c..c66adb6c 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Id: configure.in,v 1.13.2.79 2003/08/02 15:32:57 guus Exp $ +dnl $Id: configure.in,v 1.13.2.84 2003/10/06 16:13:06 guus Exp $ AC_PREREQ(2.57) AC_INIT(src/tincd.c) @@ -70,6 +70,7 @@ case $host_os in *mingw*) AC_DEFINE(HAVE_MINGW, 1, [MinGW]) [ rm -f src/device.c; cp -f src/mingw/device.c src/device.c ] + LIBS="$LIBS -lws2_32" ;; *) AC_MSG_ERROR("Unknown operating system.") @@ -252,7 +253,7 @@ dnl Checks for library functions. AC_FUNC_MEMCMP AC_FUNC_ALLOCA AC_TYPE_SIGNAL -AC_CHECK_FUNCS([asprintf daemon fcloseall flock ftime fork get_current_dir_name gettimeofday mlockall putenv random select strdup strerror strsignal strtol unsetenv vsyslog]) +AC_CHECK_FUNCS([asprintf daemon fchmod flock ftime fork get_current_dir_name gettimeofday mlockall putenv random select strdup strerror strsignal strtol system unsetenv vsyslog]) jm_FUNC_MALLOC jm_FUNC_REALLOC @@ -295,10 +296,6 @@ AC_ARG_ENABLE(tracing, AC_SUBST(INCLUDES) -AC_OUTPUT(Makefile -src/Makefile -doc/Makefile -lib/Makefile -po/Makefile.in -m4/Makefile -) +AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile doc/tincd.8 doc/tinc.conf.5 doc/tincinclude.texi lib/Makefile po/Makefile.in m4/Makefile]) + +AC_OUTPUT