autodetection of Gnome devel libraries


Subject: autodetection of Gnome devel libraries
From: John Tunison (nosinut@WIND.REM.CMU.EDU)
Date: Mon Apr 10 2000 - 16:46:37 CDT


Hi everyone,

What would you think of adding the following three lines to abi_defs.mk,
around line 49?

# autodetection!
ifeq ($(notdir $(shell which gnome-config)), gnome-config)
ABI_OPT_GNOME=1
endif

ifdef $(ABI_OPT_GNOME)
ifeq ($(shell gnome-config | tail | grep -c print), 1)
ABI_OPT_GNOME_PRINT=1
endif

ifeq ($(shell gnome-config | tail | grep -c bonobo), 1)
ABI_OPT_BONOBO=1
endif
endif

Thoughts? Joaquin, I can resubmit this in the form of a diff if you
like. :)

--John



This archive was generated by hypermail 2b25 : Mon Apr 10 2000 - 16:49:23 CDT