Re: Looking for a autotools/libtool expert: Unnecessarily linked libraries
Frank Küster <frank@debian.org> wrote:
[...]
> and then "cd texk" and your commands, configure fails like this:
> [...]
> configuring in texk
> running /bin/sh ./configure --prefix=/usr --enable-ipc --disable-multiplatform --enable-shared --without-dialog --without-texinfo --without-t1utils --without-dvipng --without-lcdf-typetools --without-psutils --without-dvi2tty --without-dvidvi --without-lacheck --without-musixflx --without-texi2html --with-cjkutils --with-detex --with-dtl --with-dviljk --with-seetexk --with-x --with-xdvi-x-toolkit=xaw --with-mf-x-toolkit --with-system-ncurses --with-system-zlib --with-system-pnglib --with-system-tifflib --with-system-wwwlib --with-system-t1lib '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --srcdir=.
[...]
> checking where the main texmf tree is located... "${prefix}/share/texmf"
> ./configure: line 20631: syntax error: unexpected end of file
> configure: error: ./configure failed for texk
> make: *** [configure-stamp] Error 1
[...]
autoconf generates a broken configure:
------------
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* Define connect to an innocuous variant
else
in case <limits.h> declares connect.
For example
fi;
------------
Note that the @here document _ACEOF is not closed.
It seems to stumble over this in web2c/withenable.ac
------------
AC_ARG_ENABLE(ipc,
[ --enable-ipc enable TeX's --ipc option, i.e., pipe to a program],
if test "x$enableval" = xyes; then
AC_DEFINE(IPC)
# -lsocket is needed on Solaris, at least. Maybe -lnsl on SCO, too?
# See ac_path_xtra.
AC_CHECK_FUNC(connect)
if test x$ac_cv_func_connect = xno; then
AC_CHECK_LIB(socket, connect, socketlibs="-lsocket $socketlibs")
fi
fi
)
AC_SUBST(socketlibs)
------------
Perhaps somebody with strong autofoo can see the bug.
cu andreas
--
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken. (c) Jasper Ffforde
Reply to: