[Mono-bugs] [Bug 329266] New: The mono. pc file should have a variable containing the value of @sysconfdir@

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 28 07:59:55 EDT 2007


           Summary: The mono.pc file should have a variable containing the
                    value of @sysconfdir@
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: tlillqvist at novell.com
         QAContact: mono-bugs at ximian.com
          Found By: ---

It would be useful if the mono.pc file defined a pkg-config variable that would
contain the value of @sysconfdir at . That way one could programmatically in a
Makefile or script get the path to the machine.config file (for passing to
mkbundle2's --machine-config switch) even if mono has been configured with a
--sysconfdir switch that points to some random place instead of the "normal"

This (untested) patch should do this:

Index: data/mono.pc.in
--- data/mono.pc.in     (revision 86493)
+++ data/mono.pc.in     (working copy)
@@ -2,6 +2,7 @@
 includedir=${prefix}/include/mono- at API_VER@

 Name: Mono
 Description: Mono Runtime

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list