bugG-Wrap - Bugs: bug #18821, no configure switch for...

 
 

bug #18821: no configure switch for autodetected dependency on glib in g-wrap-1.9.7

Submitted by:  None
Submitted on:  Thu 18 Jan 2007 03:31:31 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 20 Feb 2009 01:08:29 PM UTC, comment #1:

This should be fixed since (at least) 1.9.10.

Andreas Rottmann <rottmann>
Project Administrator
Thu 18 Jan 2007 03:31:31 PM UTC, original submission:

g-wrap-1.9.7 builds support for glib if it finds it and there is no configure switch to turn this behaviour off. The following patch adds the switch

--- configure.ac.orig 2006-11-05 14:57:30.000000000 +0100
+++ configure.ac 2007-01-17 20:04:35.000000000 +0100
@@ -119,14 +119,13 @@
AC_SUBST(GW_LANGUAGES)

dnl Check for optional libraries
-AC_CHECK_PROG(have_glib, glib-config, yes, no)
-if test "$have_glib" = yes; then
- PKG_CHECK_MODULES(GLIB, glib, [echo building GLib 1.2 support])
-else
- echo Not building Glib 1.2 support
+AC_ARG_WITH([glib], AS_HELP_STRING([--without-glib], [Build without glib-2 (default: test)]))
+AM_CONDITIONAL(HAVE_GLIB, test "$GLIB" = yes)
+if test "x$with_glib" != "xno"; then
+ PKG_CHECK_MODULES([GLIB], [glib-2.0],
+ [echo building GLib 2.0 support],
+ [echo Not building GLib 2.0 support])
fi
-AM_CONDITIONAL(HAVE_GLIB, test "$have_glib" = yes)
-

dnl Check for compiler flags and warnings. This should be last, since
dnl it can infere with other checks due to changed CFLAGS.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #11778:  glib_automagic.patch added by None (559B - text/x-diff - working patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rottmann (Posted a comment)
  •  

    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 logged-in users can vote.

     

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

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 20 Feb 2009 03:11:24 PM UTCrottmannOpen/ClosedOpen=>Closed
    Fri 20 Feb 2009 01:08:29 PM UTCrottmannStatusNone=>Fixed
    Thu 18 Jan 2007 05:07:19 PM UTCNoneAttached File-=>Added glib_automagic.patch, #11778

    Back to the top


    Powered by Savane 3.1-cleanup1