summaryrefslogtreecommitdiffstats
path: root/gencadr.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-07-04 20:06:36 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-07-04 20:06:36 -0700
commit6ba18a4639041f66160c0dff9778094a1e47ce3e (patch)
tree9446744f0754bb108b448cd90d241843114701e5 /gencadr.txr
parent4fd7bddd0e7fda8c5e476cba5e7882dae86fd59d (diff)
downloadtxr-6ba18a4639041f66160c0dff9778094a1e47ce3e.tar.gz
txr-6ba18a4639041f66160c0dff9778094a1e47ce3e.tar.bz2
txr-6ba18a4639041f66160c0dff9778094a1e47ce3e.zip
configure: deal with non-standard libffi installations.
This addresses a failure to build with libffi on Arch Linux, reported by Joe Eib. * Makefile (opt/ffi.o, dbg/ffi.o): Pull LIBFFI_CFLAGS into TXR_CFLAGS for just these object files. * configure (have_pkgconfig, libffi_cflags): New variables. (gen_config_make): Create new Makefile variable, LIBFFI_CFLAGS, from libffi_cflags. New configure test to detect pkg-config. Libffi test falls back on using pkg-config to test for existence of the library and to get the cflags and ldflags. Any needed cflags end up in LIBFFI_CFLAGS and are used only when compiling ffi.c.
Diffstat (limited to 'gencadr.txr')
0 files changed, 0 insertions, 0 deletions