public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* texinfo
@ 1998-03-26 18:14 Mark Mitchell
  0 siblings, 0 replies; 5+ messages in thread
From: Mark Mitchell @ 1998-03-26 18:14 UTC (permalink / raw)
  To: egcs

One of my problems building egcs on mips-sgi-irix6.4 seems to have
been that I didn't have xgettext installed.  Is the top-level
configure secretly configuring texinfo?  I bet it is, since I don't
ever see texinfo's usual autoconf output.  Perhaps texinfo complained,
but I never knew about it?

At the very least, perhaps we should add something to the installation
guidelines that says that you must first install the gettext package.

-- 
Mark Mitchell <mmitchell@usa.net>
http://home.earthlink.net/~mbmitchell
Consulting Services Available

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: texinfo
  1998-04-10 20:10 ` texinfo Alexandre Oliva
@ 1998-04-12 20:01   ` Jeffrey A Law
  0 siblings, 0 replies; 5+ messages in thread
From: Jeffrey A Law @ 1998-04-12 20:01 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: egcs, wilson

  In message < orvhshbbaa.fsf@zecarneiro.lsd.dcc.unicamp.br >you write:
  > The attached patch should take care of that, although I think it might 
  > be easier to remove install-texinfo from INSTALL_MODULES.
Yea, I agree -- removing install-texinfo from INSTALL_MODULES is
simpler and less likely to get lost during a later merge.  Done.

  > 	* configure.in: only set HAVE_LIBZ if zlib.h exists
Installed.

jeff

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: texinfo
  1998-04-10  0:39 texinfo Jeffrey A Law
  1998-04-10 12:23 ` texinfo Ian Lance Taylor
@ 1998-04-10 20:10 ` Alexandre Oliva
  1998-04-12 20:01   ` texinfo Jeffrey A Law
  1 sibling, 1 reply; 5+ messages in thread
From: Alexandre Oliva @ 1998-04-10 20:10 UTC (permalink / raw)
  To: law; +Cc: egcs, wilson

[-- Attachment #1: Type: text/plain, Size: 916 bytes --]

Jeffrey A Law writes:

> I've installed a patch from Jim which disables builds in the
> problem directories since we really don't need to build them.

> Is anyone familiar enough with automake to help me install a
> default rule to disable installation in the texinfo tree?

The attached patch should take care of that, although I think it might 
be easier to remove install-texinfo from INSTALL_MODULES.

The first patch will fix a problem I found on some of my local
systems: zlib is installed in non-standard directories.  The
previously-installed gcc can find libz.a, but it can't find zlib.h, so 
install-info.c failed to compile.  IMO, this should be applied in the
main texinfo sources too.

The rest of the patch modify texinfo so that nothing is installed.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil

[-- Attachment #2: texinfo-noinst.diff --]
[-- Type: text/x-diff, Size: 4120 bytes --]

texinfo/ChangeLog:

DATE	Alexandre Oliva <oliva@dcc.unicamp.br>

	* configure.in: only set HAVE_LIBZ if zlib.h exists
	* doc/Makefile.am: don't install anything
	* info/Makefile.am: ditto
	* makeinfo/Makefile.am: ditto
	* util/Makefile.am: ditto

texinfo/po/ChangeLog:

DATE	Alexandre Oliva <oliva@dcc.unicamp.br>

	* Makefile.in.in: don't install anything

Index: texinfo/configure.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/texinfo/configure.in,v
retrieving revision 1.7
diff -u -r1.7 configure.in
--- configure.in	1998/03/26 10:30:41	1.7
+++ configure.in	1998/04/10 20:54:06
@@ -27,7 +27,7 @@
 AM_EXEEXT
 
 dnl Checks for libraries.
-AC_CHECK_LIB(z, gzdopen)
+AC_CHECK_HEADERS(zlib.h, [AC_CHECK_LIB(z, gzdopen)])
 
 # Needed on sysV68 for sigblock, sigsetmask.  But check for it in libc first.
 AC_CHECK_FUNC(sigblock, , AC_CHECK_LIB(bsd, sigblock))
Index: texinfo/doc/Makefile.am
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/texinfo/doc/Makefile.am,v
retrieving revision 1.3
diff -u -r1.3 Makefile.am
--- Makefile.am	1998/03/24 19:40:35	1.3
+++ Makefile.am	1998/04/10 20:54:06
@@ -2,7 +2,7 @@
 ## $Id: Makefile.am,v 1.3 1998/03/24 19:40:35 law Exp $
 ## Run automake in .. to produce Makefile.in from this.
 
-info_TEXINFOS = info-stnd.texi info.texi texinfo.txi
+noinst_TEXINFOS = info-stnd.texi info.texi texinfo.txi
 
 # Use the programs built in our distribution.
 MAKEINFO = ../makeinfo/makeinfo
Index: texinfo/info/Makefile.am
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/texinfo/info/Makefile.am,v
retrieving revision 1.3
diff -u -r1.3 Makefile.am
--- Makefile.am	1998/03/24 19:40:42	1.3
+++ Makefile.am	1998/04/10 20:54:06
@@ -2,12 +2,12 @@
 ## $Id: Makefile.am,v 1.3 1998/03/24 19:40:42 law Exp $
 ## Run automake in .. to produce Makefile.in from this.
 
-noinst_PROGRAMS = makedoc
+noinst_PROGRAMS = makedoc ginfo
 
 # Use `ginfo' for building to avoid confusion with the standard `info'
 # target.  The install rule removes the `g' before applying any
 # user-specified name transformations.
-bin_PROGRAMS = ginfo
+#bin_PROGRAMS = ginfo
 transform = s/ginfo/info/; @program_transform_name@
 
 localedir = $(datadir)/locale
Index: texinfo/makeinfo/Makefile.am
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/texinfo/makeinfo/Makefile.am,v
retrieving revision 1.3
diff -u -r1.3 Makefile.am
--- Makefile.am	1998/03/24 19:41:22	1.3
+++ Makefile.am	1998/04/10 20:54:07
@@ -2,7 +2,7 @@
 ## $Id: Makefile.am,v 1.3 1998/03/24 19:41:22 law Exp $
 ## Run automake in .. to produce Makefile.in from this.
 
-bin_PROGRAMS = makeinfo
+noinst_PROGRAMS = makeinfo
 
 localedir = $(datadir)/locale
 INCLUDES = -I$(top_srcdir)/lib -I../intl -DLOCALEDIR=\"$(localedir)\"
Index: texinfo/po/Makefile.in.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/texinfo/po/Makefile.in.in,v
retrieving revision 1.3
diff -u -r1.3 Makefile.in.in
--- Makefile.in.in	1998/03/24 19:41:29	1.3
+++ Makefile.in.in	1998/04/10 20:54:07
@@ -104,7 +104,8 @@
 	cd $(srcdir) && rm -f stamp-cat-id && echo timestamp > stamp-cat-id
 
 
-install: install-exec install-data
+#install: install-exec install-data
+install:
 install-exec:
 install-data: install-data-@USE_NLS@
 install-data-no: all
Index: texinfo/util/Makefile.am
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/texinfo/util/Makefile.am,v
retrieving revision 1.3
diff -u -r1.3 Makefile.am
--- Makefile.am	1998/03/24 19:41:36	1.3
+++ Makefile.am	1998/04/10 20:54:07
@@ -2,8 +2,8 @@
 ## $Id: Makefile.am,v 1.3 1998/03/24 19:41:36 law Exp $
 ## Run automake in .. to produce Makefile.in from this.
 
-bin_PROGRAMS = install-info texindex
-bin_SCRIPTS = texi2dvi
+noinst_PROGRAMS = install-info texindex
+noinst_SCRIPTS = texi2dvi
 
 localedir = $(datadir)/locale
 INCLUDES = -I$(top_srcdir)/lib -I../intl -DLOCALEDIR=\"$(localedir)\"

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: texinfo
  1998-04-10  0:39 texinfo Jeffrey A Law
@ 1998-04-10 12:23 ` Ian Lance Taylor
  1998-04-10 20:10 ` texinfo Alexandre Oliva
  1 sibling, 0 replies; 5+ messages in thread
From: Ian Lance Taylor @ 1998-04-10 12:23 UTC (permalink / raw)
  To: law; +Cc: egcs, wilson

   Date: Fri, 10 Apr 1998 01:39:15 -0600
   From: Jeffrey A Law <law@cygnus.com>

   Is anyone familiar enough with automake to help me install a
   default rule to disable installation in the texinfo tree?

Where you see
    bin_PROGRAMS
change it to
    noinst_PROGRAMS
In some cases, there is already a noinst_PROGRAMS, in which case you
should just move the contents of bin_PROGRAMS to noinst_PROGRAMS, and
remove the old bin_PROGRAMS assignment.

Both of these are just make variables.

If anything other than programs are installed, similar changes are
needed: change the lib_* or whatever line to be noinst_* instead.

Ian

^ permalink raw reply	[flat|nested] 5+ messages in thread

* texinfo
@ 1998-04-10  0:39 Jeffrey A Law
  1998-04-10 12:23 ` texinfo Ian Lance Taylor
  1998-04-10 20:10 ` texinfo Alexandre Oliva
  0 siblings, 2 replies; 5+ messages in thread
From: Jeffrey A Law @ 1998-04-10  0:39 UTC (permalink / raw)
  To: egcs; +Cc: wilson

I've installed a patch from Jim which disables builds in the
problem directories since we really don't need to build them.

Is anyone familiar enough with automake to help me install a
default rule to disable installation in the texinfo tree?

jeff

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-04-12 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-26 18:14 texinfo Mark Mitchell
1998-04-10  0:39 texinfo Jeffrey A Law
1998-04-10 12:23 ` texinfo Ian Lance Taylor
1998-04-10 20:10 ` texinfo Alexandre Oliva
1998-04-12 20:01   ` texinfo Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).