updates.
[silc.git] / configure.ad
index 3322035e66c2056fe41178aaa7e8d1d8b62f8a83..90c55578620cb88cc25988ab15659cf0f00cc8f7 100644 (file)
@@ -177,7 +177,7 @@ AC_CHECK_FUNCS(poll select listen bind shutdown close connect setsockopt)
 AC_CHECK_FUNCS(setrlimit time ctime utime gettimeofday getrusage)
 AC_CHECK_FUNCS(chmod fcntl stat fstat getenv putenv strerror)
 AC_CHECK_FUNCS(getpid getgid getsid getpgid getpgrp getuid)
-AC_CHECK_FUNCS(setgroups initgroups nl_langinfo)
+AC_CHECK_FUNCS(setgroups initgroups nl_langinfo epoll_wait)
 AC_CHECK_FUNCS(strchr strstr strcpy strncpy memcpy memset memmove)
 
 #ifdef SILC_DIST_SIM
@@ -345,14 +345,14 @@ SILC_ASSEMBLER=""
 have_assembler=false
 if test x$want_asm = xtrue; then
   AC_PATH_PROG([NASM], [nasm], [no])
-  if test "x$NASM" != xyes; then
-    SILC_ASSEMBLER="nasm -O2 -felf"
+  if test "x$NASM" != "xno"; then
+    SILC_ASSEMBLER="$NASM -O2 -felf"
     have_assembler=true
   fi
 
   AC_PATH_PROG([YASM], [yasm], [no])
-  if test "x$YASM" != xyes; then
-    SILC_ASSEMBLER="yasm -Xgnu -felf"
+  if test "x$YASM" != "xno"; then
+    SILC_ASSEMBLER="$YASM -Xgnu -felf"
     have_assembler=true
   fi
 fi