diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2018-11-13 16:16:47 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2018-11-13 16:42:49 +0100 |
commit | e158ebe08a0c40b28563378b3cde671cb00aa1c0 (patch) | |
tree | 8e08d7cb94195dd502c15751694828764356cc9d /build/linux/configure.ac | |
parent | 7b268a1f78ef6c0ec4445093dd38f1cb3474cc9e (diff) | |
download | astra-e158ebe08a0c40b28563378b3cde671cb00aa1c0.tar.gz astra-e158ebe08a0c40b28563378b3cde671cb00aa1c0.tar.bz2 astra-e158ebe08a0c40b28563378b3cde671cb00aa1c0.tar.xz astra-e158ebe08a0c40b28563378b3cde671cb00aa1c0.zip |
Add install-dev make target for installing headers/pkgconfig/library
Diffstat (limited to 'build/linux/configure.ac')
-rw-r--r-- | build/linux/configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/build/linux/configure.ac b/build/linux/configure.ac index ac0d82f..cb478f7 100644 --- a/build/linux/configure.ac +++ b/build/linux/configure.ac @@ -135,6 +135,13 @@ fi AC_ARG_VAR(NVCCFLAGS, [CUDA nvcc flags]) +PKGCONFIG_CFLAGS_EXTRA= +if test x"$HAVECUDA" = xyes; then + PKGCONFIG_CFLAGS_EXTRA="-DASTRA_CUDA" +fi +AC_SUBST(PKGCONFIG_CFLAGS_EXTRA) + + AC_SUBST(HAVECUDA) AC_SUBST(LDFLAGS_CUDA) @@ -295,7 +302,7 @@ AC_SUBST(SAVED_CXXFLAGS) AC_SUBST(SAVED_NVCCFLAGS) AC_SUBST(SAVED_LDFLAGS) AC_SUBST(SAVED_LIBS) -AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([Makefile libastra.pc]) AC_OUTPUT echo |