Skip to content
Tcl Source Code View Ticket
Login

View Ticket

configure fails to guess FreeBSD-1*/2* OSn

Closed / Fixed218154ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:53:52
OriginalBugID: 2169 Bug
Version: 8.1.1
SubmitDate: '1999-06-03'
LastModified: '1999-09-15'
Severity: CRIT
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Other
OSVersion: FreeBSD 2.2.8-STABLE
Machine: NA
FixedDate: '2000-10-25'
ClosedDate: '1999-09-15'


Name:
a

Comments:
I got sunburned yesterday, I'm feeling pretty grumpy.

ReproducibleScript:
the regexp match in configure script fails to match FreeBSD-1* or 2* OS
    versions.  configure.in needs to protect '[]' characters because
    autoconf strips them, so:
    
        NetBSD-*|FreeBSD-[12].*|OpenBSD-*)
    
    should read:
    
        NetBSD-*|FreeBSD-[[12]].*|OpenBSD-*)

ObservedBehavior:
it doesn't build

DesiredBehavior:
it should build

Patch:
*** configure.in.orig   Sat May 29 12:30:11 1999
--- configure.in        Sat May 29 12:30:35 1999
***************
*** 907,913 ****
        LD_FLAGS="-Wl,-Bexport"
        LD_SEARCH_FLAGS=""
        ;;
!     NetBSD-*|FreeBSD-[12].*|OpenBSD-*)
        # Not available on all versions:  check for include file.
        AC_CHECK_HEADER(dlfcn.h, [
            SHLIB_CFLAGS="-fpic"
--- 907,913 ----
        LD_FLAGS="-Wl,-Bexport"
        LD_SEARCH_FLAGS=""
        ;;
!     NetBSD-*|FreeBSD-[[12]].*|OpenBSD-*)
        # Not available on all versions:  check for include file.
        AC_CHECK_HEADER(dlfcn.h, [
            SHLIB_CFLAGS="-fpic"

PatchFiles:
patch is against configure.in.  you'll need to run autoconf and checkin
    the new version of 'configure' too.



This was a bad patch, from Mark D.  He submitted another later. 
-- 09/15/1999 hobbs
welch Closed ticket [218154ffff]. [History diff]2000-10-26 08:15:56
dgp Ticket [218154ffff]: 3 changes [History diff]2001-04-21 12:33:14
Log in (anonymous is fine) to add a comment.