1. AIX wants the return type of select to be int.

2. IRIX doesn't like the lack of a prototype in the AC_TRY_LINK line
below.

-- 
albert chin ([EMAIL PROTECTED])

-- snip snip
--- texk/etc/autoconf/acspecific.m4.orig        Mon Feb  3 18:47:42 2003
+++ texk/etc/autoconf/acspecific.m4     Mon Feb  3 18:48:02 2003
@@ -1754,7 +1754,7 @@
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif
-extern select 
($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);],,dnl
+extern int select 
+($ac_cv_func_select_arg1,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg234,$ac_cv_func_select_arg5);],,dnl
         [ac_not_found=no ; break 3],ac_not_found=yes)
       done
      done
@@ -2519,7 +2519,7 @@
   # Don't add to $LIBS permanently.
   ac_save_LIBS="$LIBS"
   LIBS="-l$x_direct_test_library $LIBS"
-AC_TRY_LINK(, [${x_direct_test_function}()],
+AC_TRY_LINK([#include <X11/Intrinsic.h>], [${x_direct_test_function}(1)],
 [LIBS="$ac_save_LIBS"
 # We can link X programs with no special library path.
 ac_x_libraries=],

Reply via email to