postgresql/contrib/uuid-ossp
Tom Lane 1cfdb29c7d Give a useful error message if uuid-ossp is built without preconfiguration.
Before commit b8cc8f947, it was possible to build contrib/uuid-ossp without
having told configure you meant to; you could just cd into that directory
and "make".  That no longer works because the code depends on configure to
have done header and library probes, but the ensuing error messages are
not so easy to interpret if you're not an old C hand.  We've gotten a
couple of complaints recently from people trying to do this the low-tech
way, so add an explicit #error directing the user to use --with-uuid.

(In principle we might want to do something similar in the other
optionally-built contrib modules; but I don't think any of the others have
ever worked without preconfiguration, so there are no bad habits to break
people of.)

Back-patch to 9.4 where the previous commit came in.

Report: https://postgr.es/m/CAHeEsBf42AWTnk=1qJvFv+mYgRFm07Knsfuc86Ono8nRjf3tvQ@mail.gmail.com
Report: https://postgr.es/m/CAKYdkBrUaZX+F6KpmzoHqMtiUqCtAW_w6Dgvr6F0WTiopuGxow@mail.gmail.com
2016-12-22 11:19:18 -05:00
..
expected Fix uuid-ossp regression tests based on buildfarm feedback. 2014-05-28 23:15:51 -04:00
sql Fix uuid-ossp regression tests based on buildfarm feedback. 2014-05-28 23:15:51 -04:00
.gitignore Support BSD and e2fsprogs UUID libraries alongside OSSP UUID library. 2014-05-27 19:42:08 -04:00
Makefile Add file version information to most installed Windows binaries. 2014-07-14 14:07:52 -04:00
uuid-ossp--1.0.sql Fix quoting in help messages in uuid-ossp extension scripts. 2013-11-22 12:07:53 -05:00
uuid-ossp--unpackaged--1.0.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
uuid-ossp.c Give a useful error message if uuid-ossp is built without preconfiguration. 2016-12-22 11:19:18 -05:00
uuid-ossp.control Convert contrib modules to use the extension facility. 2011-02-13 22:54:49 -05:00