symlink gdk-2.0.pc and gtk+-2.0.pc to default target



Hi,

the following snippet is from current gtk+/Makefile.am:

  ## symlink gdk-2.0.pc and gtk+-2.0.pc to default target for the platform 
  DEFAULT_GDKTARGET=x11
  install-data-local:
                (cd $(DESTDIR)$(pkgconfigdir) && \
                $(LN_S) -f gdk-$(DEFAULT_GDKTARGET)-2.0.pc gdk-2.0.pc && \
                $(LN_S) -f gtk+-$(DEFAULT_GDKTARGET)-2.0.pc gtk+-2.0.pc)


Is there a special reason we don't use the GDKTARGET that was specified
at configure time, but introduce a hardcoded X11 default target here? 
IMO this is useless, since the user wants his gtk+-2.0.pc file to point
to the version that is installed, not a hardcoded X11 target that might 
not even be available.


Salut, Sven




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