Skip to content

Commit

Permalink
Get the proper Parrot include directory from parrot_config
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Jan 27, 2010
1 parent d2b78ea commit 7c91019
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handler/Makefile
Expand Up @@ -13,6 +13,7 @@ include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif

PARROTINC = $(shell parrot_config includedir)
# We need to do various things with various versions of PostgreSQL.
VERSION = $(shell $(PG_CONFIG) --version | awk '{print $$2}')
PGVER_MAJOR = $(shell echo $(VERSION) | awk -F. '{ print ($$1 + 0) }')
Expand All @@ -22,5 +23,4 @@ PGVER_PATCH = $(shell echo $(VERSION) | awk -F. '{ print ($$3 + 0) }')
# this is not quite working yet
#PARROT_CCFLAGS=$(shell ~/svn/parrot/parrot_config ccflags)
#PARROT_CCFLAGS2=$(shell ~/svn/parrot/parrot_config ccflags_provisional)
#override CPPFLAGS :=-I$(PARROT_CCFLAGS) -I$(PARROT_CCFLAGS2) -I$(includedir_server) -I$(includedir_internal) $(CPPFLAGS)

override CPPFLAGS :=-I$(PARROTINC) -I$(srcdir) $(CPPFLAGS)

0 comments on commit 7c91019

Please sign in to comment.