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.83 2003/08/08 22:13:50 guus Exp $
AC_PREREQ(2.57)
AC_INIT(src/tincd.c)
*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.")
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 fcloseall 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
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