bugGNUstep - Bugs: bug #52793, autoreconf fails


You are not allowed to post comments on this tracker with your current authentication level.

bug #52793: autoreconf fails

Submitted by:  Yavor Doganov <yavor>
Submitted on:  Wed 03 Jan 2018 12:11:55 PM UTC  
Category:  Backend Severity:  3 - Normal
Item Group:  Bug Status:  Ready For Test
Privacy:  Public Assigned to:  Fred Kiefer <FredKiefer>
Open/Closed:  In Test

Sun 07 Jan 2018 01:50:26 PM UTC, comment #1:

I applied your patch. Thank you very much for it.

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
Wed 03 Jan 2018 12:11:55 PM UTC, original submission:

This is similar to Bug #52779 but not identical, so I'm reporting it as a separate bug.

This is because newer pkg.m4 macros now use m4_pattern_forbid to reserve their own namespace. Proposed patch attached.

P.S. PKG_PROG_PKG_CONFIG is AC_REQUIREd by PKG_CHECK_MODULES and generally shouldn't be necessary to be called explicitly. However, the first call to PKG_CHECK_MODULES (for xext) is conditional and that's why the macro is not expanded and later it fails to detect cairo. If you use AS_IF instead of plain "if" autoconf would be able to "see" that and the AC_REQUIRE machinery would work. So, either an explicit call to PKG_PROG_PKG_CONFIG is neeeded, or rewrite the if statement as

AS_IF([test "$HAVE_LIBXext" = no], [PKG_CHECK_MODULES([XEXT], [xext])])

Yavor Doganov <yavor>


Attached Files


Depends on the following items: None found

Items that depend on this one: None found


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

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

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-07 FredKiefer StatusNone => Ready For Test
        Assigned toNone => FredKiefer
        Open/ClosedOpen => In Test
    2018-01-03 yavor Attached File- => Added 0001-Fix-autoreconf-failure.patch, #42799

    Back to the top

    Powered by Savane 3.3