bugGNU Octave - Bugs: bug #49993, configure PCRE using pkg-config

 
 

bug #49993: configure PCRE using pkg-config

Submitter:  Mike Miller <mtmiller>
Submitted:  Thu 05 Jan 2017 11:47:00 PM UTC
   
 
Category:  Configuration and Build System Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  mtmiller
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 06 Jan 2017 04:53:50 PM UTC, comment #3: 

After some discussion on the help list, I also checked in two more changes so that OCTAVE_CHECK_LIB is used:

http://hg.savannah.gnu.org/hgweb/octave/rev/06c248729e6f
http://hg.savannah.gnu.org/hgweb/octave/rev/b8cef5f05dcd

John W. Eaton <jwe>
Group administrator
Fri 06 Jan 2017 01:19:01 PM UTC, comment #2: 
John W. Eaton <jwe>
Group administrator
Fri 06 Jan 2017 03:11:29 AM UTC, comment #1: 

OK.  I think it would also be safe to remove the checks for the PCRE_INFO_NAME{COUNT,ENTRYSIZE,TABLE} macros now.  They have been part of PCRE for more than 13 years (since version 4.0).

John W. Eaton <jwe>
Group administrator
Thu 05 Jan 2017 11:47:00 PM UTC, original submission:  

I noticed today that libpcre now (and probably since about a decade) includes a pkg-config file. Instead of relying on the "pcre-config" program, we should switch to using pkg-config to configure the CPPFLAGS, LDFLAGS, and LIBS needed to build against PCRE.

I'm expecting to work on this, but don't let me block anyone else from doing it first. Also let me know if this is a bad idea for some reason (some particular distributions don't have libpcre.pc? macOS has some ancient version of PCRE that doesn't support pkg-config?)

Mike Miller <mtmiller>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-01-06 jwe StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code