pg_config --pgxs on Win32

From: Thomas Hallgren <thhal(at)mailblocks(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: pg_config --pgxs on Win32
Date: 2005-10-13 16:05:43
Message-ID: dim0kn$h0e$1@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Something changed very recently in the output from pg_config --pgxs command on Win32. It now
outputs double backslash everywhere instead of forward slashes. The mingw GNU Make is not
too happy about the double backslashes. I do:

export PGXS := $(dir $(shell pg_config --pgxs))

and now it yields "./"

I tried to do the following:

$(warning "PGXS = $(dir c:\\msys\\local\\pgsql\\lib\\pgxs\\src\\MAKEFI~1\\pgxs.mk)")
$(warning "PGXS = $(dir c:/msys/local/pgsql/lib/pgxs/src/MAKEFI~1\\pgxs.mk)")

The first one yields "./", the second is OK.

I guess it happened when changing to using short-name represenation?

Regards,
Thomas Hallgren

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-10-13 16:10:14 Re: Minor point about contrib/xml2 functions "IMMUTABLE" marking
Previous Message Tom Lane 2005-10-13 16:03:46 Re: Minor point about contrib/xml2 functions "IMMUTABLE" marking