Subject: fvwm-2.4.7 -- a build/install problem and a typo

From: Peter Breitenlohner <[email-masked]>
Date: Thu, 2 May 2002 19:07:38 +0200 (CEST)

From: [email-masked]
To: [email-masked]
Subject: fvwm-2.4.7 -- a build/install problem and a typo

Configuration Information [Automatically generated, do not change]:
uname output: Linux pcl321 2.4.17 #1 Sat Feb 23 15:19:54 CET 2002 i686 unknown
Compiler: xCCx
Compilation CFLAGS: xCFLAGSx
prefix: xprefixx

FVWM Version:	2.4.7
FVWM_MODULEDIR:	/usr/X11R6/libexec/fvwm
FVWM_DATADIR:	/usr/X11R6/share/fvwm
FVWM_USERDIR:	unset

Description:
	When building and installing fvwm-2.4.7 I encountered two problems,
	which both were already present in previous versions.

	(1) "make install-strip" fails due to a bug in configure (which is
	actually caused by autoconf-2.13, but is fixed in autoconf-2.5x):
	install tries to strip shell-scripts and therefore fails.

	(2) A typo in the fvwmrc_convert(1) manpage (garbage instead of
	font changes)

Repeat-By:
	(1) say "./configure;make;make install-strip"

	(2) say "man fvwmrc_convert"

Fix:
	Apply the attached patch

	You should actually switch to autoconf-2.5x in order to permanently
	fix problem (1)

regards
Peter Breitenlohner <[email-masked]>
diff -ur fvwm-2.4.7.orig/configure fvwm-2.4.7/configure
--- fvwm-2.4.7.orig/configure	2002-04-11 14:21:34.000000000 +0200
+++ fvwm-2.4.7/configure	2002-05-02 17:47:59.000000000 +0200
@@ -672,7 +672,7 @@
 # It thinks the first close brace ends the variable substitution.
 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
@@ -3929,7 +3929,7 @@
 # It thinks the first close brace ends the variable substitution.
 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
diff -ur fvwm-2.4.7.orig/utils/fvwmrc_convert.1 fvwm-2.4.7/utils/fvwmrc_convert.1
--- fvwm-2.4.7.orig/utils/fvwmrc_convert.1	1999-11-15 01:05:46.000000000 +0100
+++ fvwm-2.4.7/utils/fvwmrc_convert.1	2002-05-02 17:49:23.000000000 +0200
@@ -2,7 +2,7 @@
 .SH NAME
 fvwmrc_convert \- convert FVWM 1.xx configuration file to FVWM 2.xx style
 .SH SYNOPSIS
-/fBfvwmrc_convert/fR [/fIsource/fR [/fIdest\fR]]
+\fBfvwmrc_convert\fR [\fIsource\fR [\fIdest\fR]]
 .SH DESCRIPTION
 .B fvwmrc_convert
 is a simple program that tries to convert an FVWM 1.xx configuration