Re: teTeX-2.0.1

Thomas Esser <[email protected]>
Newsgroups gmane.comp.tex.tetex.beta
Message-ID <[email protected]>
> --- 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=],

I applied that patch "by hand" for teTeX-2.0.1 and I overlooked the
argument to ${x_direct_test_function}:
  AC_TRY_LINK([#include <X11/Intrinsic.h>], [${x_direct_test_function}()],

Sorry...

Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.