configure.in port to POSIX 1003.1-2001

Bug #265617 reported by Eggert-users
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Unassigned

Bug Description

I attempted to run 'configure' on host with GNU textutils
2.0.21 installed, and with _POSIX2_VERSION=200112 in my
environment. This causes GNU textutils to conform to
the new POSIX standard, POSIX 1003.1-2001. The
configure failed as follows:

checking for default fully qualified host name... head:
-1' option is obsolete\; use `-n 1'
Try `head --help' for more information.

checking for default URL host component... tail: `-1'
ption is obsolete; use `\-n 1'
Try `tail --help' for more information.

The problem is that POSIX 1003.1-2001 has removed support
for many shell options that consist of digit strings.

This problem occurs in Mailman 2.0.8 as well as in the
latest CVS.

[http://sourceforge.net/tracker/index.php?func=detail&aid=527712&group_id=103&atid=100103]

Revision history for this message
Barry Warsaw (barry) wrote :

I'll accept patches, if they also work for my old RedHat
6.1-ish system. <wink>

Revision history for this message
Eggert-users (eggert-users) wrote :

The patch in Bugs item #527715 should work on your
old Red Hat system. It uses 'sed' instead of
'head -1' and 'tail -1'.

Revision history for this message
Barry Warsaw (barry) wrote :

Thanks, I've applied the referenced patch.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.