forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4d399a6
committed
Bring configure support for LZ4 up to snuff.
It's not okay to just shove the pkg_config results right into ourbuild flags, for a couple different reasons:* This fails to maintain the separation between CPPFLAGS and CFLAGS,as well as that between LDFLAGS and LIBS. (The CPPFLAGS angle is,I believe, the reason for warning messages reported when buildingwith MacPorts' liblz4.)* If pkg_config emits anything other than -I/-D/-L/-l switches,it's highly unlikely that we want to absorb those. That'd be morelikely to break the build than do anything helpful. (Even the -Dcase is questionable; but we're doing that for libxml2, so I kept it.)Also, it's not okay to skip doing an AC_CHECK_LIB probe, asevidenced by recent build failure on topminnow; that shouldhave been caught at configure time.Model fixes for this on configure's libxml2 support.It appears that somebody overlooked an autoheader run, too.Discussion:https://postgr.es/m/20210119190720.GL8560@telsasoft.com1 parentfd1ac9a commit4d399a6
File tree
4 files changed
+91
-5
lines changed- src
- include
- tools/msvc
4 files changed
+91
-5
lines changedLines changed: 62 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8699 | 8699 |
| |
8700 | 8700 |
| |
8701 | 8701 |
| |
8702 |
| - | |
8703 |
| - | |
| 8702 | + | |
| 8703 | + | |
| 8704 | + | |
| 8705 | + | |
| 8706 | + | |
| 8707 | + | |
| 8708 | + | |
| 8709 | + | |
| 8710 | + | |
| 8711 | + | |
| 8712 | + | |
| 8713 | + | |
8704 | 8714 |
| |
8705 | 8715 |
| |
8706 | 8716 |
| |
| |||
12816 | 12826 |
| |
12817 | 12827 |
| |
12818 | 12828 |
| |
| 12829 | + | |
| 12830 | + | |
| 12831 | + | |
| 12832 | + | |
| 12833 | + | |
| 12834 | + | |
| 12835 | + | |
| 12836 | + | |
| 12837 | + | |
| 12838 | + | |
| 12839 | + | |
| 12840 | + | |
| 12841 | + | |
| 12842 | + | |
| 12843 | + | |
| 12844 | + | |
| 12845 | + | |
| 12846 | + | |
| 12847 | + | |
| 12848 | + | |
| 12849 | + | |
| 12850 | + | |
| 12851 | + | |
| 12852 | + | |
| 12853 | + | |
| 12854 | + | |
| 12855 | + | |
| 12856 | + | |
| 12857 | + | |
| 12858 | + | |
| 12859 | + | |
| 12860 | + | |
| 12861 | + | |
| 12862 | + | |
| 12863 | + | |
| 12864 | + | |
| 12865 | + | |
| 12866 | + | |
| 12867 | + | |
| 12868 | + | |
| 12869 | + | |
| 12870 | + | |
| 12871 | + | |
| 12872 | + | |
| 12873 | + | |
| 12874 | + | |
| 12875 | + | |
| 12876 | + | |
| 12877 | + | |
| 12878 | + | |
12819 | 12879 |
| |
12820 | 12880 |
| |
12821 | 12881 |
| |
|
Lines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
997 | 997 |
| |
998 | 998 |
| |
999 | 999 |
| |
1000 |
| - | |
1001 |
| - | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
1002 | 1012 |
| |
1003 | 1013 |
| |
1004 | 1014 |
| |
| |||
1271 | 1281 |
| |
1272 | 1282 |
| |
1273 | 1283 |
| |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
1274 | 1288 |
| |
1275 | 1289 |
| |
1276 | 1290 |
| |
|
Lines changed: 10 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
319 | 319 |
| |
320 | 320 |
| |
321 | 321 |
| |
| 322 | + | |
| 323 | + | |
| 324 | + | |
322 | 325 |
| |
323 | 326 |
| |
324 | 327 |
| |
| |||
358 | 361 |
| |
359 | 362 |
| |
360 | 363 |
| |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
361 | 370 |
| |
362 | 371 |
| |
363 | 372 |
| |
| |||
902 | 911 |
| |
903 | 912 |
| |
904 | 913 |
| |
905 |
| - | |
| 914 | + | |
906 | 915 |
| |
907 | 916 |
| |
908 | 917 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
298 | 298 |
| |
299 | 299 |
| |
300 | 300 |
| |
| 301 | + | |
301 | 302 |
| |
302 | 303 |
| |
303 | 304 |
| |
| |||
311 | 312 |
| |
312 | 313 |
| |
313 | 314 |
| |
| 315 | + | |
| 316 | + | |
314 | 317 |
| |
315 | 318 |
| |
316 | 319 |
| |
|
0 commit comments
Comments
(0)