Re: Strange gnome-config output



* Sydney Weidman (Sydney_Weidman@mbnet.mb.ca) wrote:
> When I run 'gnome-config --cflags idl glib gtk' the output is:
> 
> 
> 	-I/usr/share/idl -I/usr/lib/glib/include -I/usr/X11R6/include
> 
> But when I run 'gnome-config --cflags glib gtk idl' the output is:
> 
> 	-I/usr/share/idl
> 
> Is this the expected value? If so, why does reversing the order of the
> include tags change the include requirements? Are the includes from glib
> and gtk included in the includes from /usr/share/idl?
> 
> Sorry if this is simple-minded. Some of this stuff doesn't make sense to
> me.
> 
> TIA
> 
> Cheers,
> Syd.

Same happens here. This fixes it.


$ diff -u gnome-config gnome-config_tom
--- gnome-config        Sat Oct 16 19:52:09 1999
+++ gnome-config_tom    Tue Oct 19 18:16:27 1999
@@ -184,7 +184,7 @@
        the_flags="$the_flags -I${includedir} -DNEED_GNOMESUPPORT_H -I${pkglibdir}/include -I/usr/lib/glib/include -I/usr/include"
         ;;
     idl)
-        the_flags="-I${datadir}/idl"
+        the_flags="$the_flags -I${datadir}/idl"
        ;;
     zvt)
        the_libs="$the_libs -L${libdir} -lzvt -lutil -lSM -lICE -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm"


Tom.
-- 
            .-------------------------------------------------------.
    .^.     | Tom Gilbert, England | tom@tomgilbert.freeserve.co.uk |
    /V\     |----------------------| www.tomgilbert.freeserve.co.uk |
   // \\    | Sites I recommend:   `--------------------------------|
  /(   )\   | www.freshmeat.net www.enlightenment.org www.gnome.org |
   ^^-^^    `-------------------------------------------------------'



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]