texi2html-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texi2html-bug] configure change for TeX Live in texi2html


From: Derek Price
Subject: Re: [Texi2html-bug] configure change for TeX Live in texi2html
Date: Mon, 25 Feb 2008 22:42:43 -0500
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Does it really make sense for the Texi2html installer to handle the --enable-multiplatform configure option at all? Texi2html is written entirely in Perl and thus is platform independent. I admit I haven't dealt with a multiplatform aware package that installed both platform-dependent and platform independent software based on the same set of configure options before, but it seems to me it may make sense for the platform-independent software (Texi2html here) to completely ignore the option and install itself in a platform-independent bin directory.

At the very least, it seems to me that this could easily confuse somebody intending to install only Texi2html. They might assume that Texi2html was not platform-independent when they saw that `configure --help' reported supporting the --enable-multiplatform option.

Cheers,

Derek


Karl Berry wrote:
Hi Patrice and all,

This isn't a bug exactly, but since there's a patch, I'll send it here.
Could you install this small change in the --enable-multiplatform stuff
used in TeX Live?  It just sets libdir as well as bindir.  Ok?

Thanks,
karl & peb

*** /usr/local/texlive/2007/source/utils/texi2html/configure.ac Tue Jan 17 
13:16:42 2006
--- /tmp/configure.ac   Thu Feb 21 01:28:43 2008
***************
*** 51,62 ****
dnl Checks for library functions.
- # For teTeX and TeX Live.
AC_CANONICAL_HOST
! AC_ARG_ENABLE(multiplatform,
!   [  --enable-multiplatform  put executables in bin/PLATFORM])
! test "x$enable_multiplatform" = xyes \
! && test "x$bindir" = 'x${exec_prefix}/bin' \
! && bindir="$bindir/$host"
AC_CONFIG_FILES([texi2html:texi2html.pl], [chmod +x texi2html])
--- 51,65 ----
dnl Checks for library functions. + # For teTeX and TeX Live.
  AC_CANONICAL_HOST
! AC_ARG_ENABLE([multiplatform],
!   [AS_HELP_STRING([--enable-multiplatform],
!      [put executables into bin/PLATFORM and libraries into lib/PLATFORM])])dnl
! # if enable_multiplatform is set in the environment, use that.
! if test "x$enable_multiplatform" = xyes; then
!   test "x$bindir" = 'x${exec_prefix}/bin' && bindir="$bindir/$host"
!   test "x$libdir" = 'x${exec_prefix}/lib' && libdir="$libdir/$host"
! fi
AC_CONFIG_FILES([texi2html:texi2html.pl], [chmod +x texi2html])


_______________________________________________
Texi2html-bug mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/texi2html-bug


--
Derek R. Price
Solutions Architect
Ximbiot, LLC <http://ximbiot.com>
Get CVS and Subversion Support from Ximbiot!

v: +1 248.835.1260
f: +1 248.246.1176




reply via email to

[Prev in Thread] Current Thread [Next in Thread]