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

 
 

bug #49993: configure PCRE using pkg-config

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Thu 05 Jan 2017 11:47:00 PM UTC  
 
Category: Configuration and Build SystemSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: Mike Miller <mtmiller>
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project Administrator
Fri 06 Jan 2017 01:19:01 PM UTC, comment #2:

Done, here:

http://hg.savannah.gnu.org/hgweb/octave/rev/8e9dd0d6e337

John W. Eaton <jwe>
Project 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>
Project 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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 06 Jan 2017 01:19:01 PM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1