Commit 2db41543 authored by Ilya Leoshkevich's avatar Ilya Leoshkevich

NO_VERSIONED_INCLUDE_DIR

parent 1ac0b7d6
......@@ -53,7 +53,11 @@ libcppa_la_SOURCES = \
src/yielding_message_queue.cpp \
src/yield_interface.cpp
library_includedir = $(includedir)/cppa/0.1/
if VERSIONED_INCLUDE_DIR
library_includedir = $(includedir)/cppa/$(PACKAGE_VERSION)/
else
library_includedir = $(includedir)/
endif
nobase_library_include_HEADERS = \
cppa/actor_behavior.hpp \
......
......@@ -39,5 +39,9 @@ AS_IF(
CPPFLAGS="$ORIGINAL_CPPFLAGS"
# environment
AC_ARG_VAR([NO_VERSIONED_INCLUDE_DIR], [set this to 1 in order to install headers into <prefix>/cppa/ rather than into <prefix>/cppa/<version>/cppa/])
AM_CONDITIONAL([VERSIONED_INCLUDE_DIR], [test "x$NO_VERSIONED_INCLUDE_DIR" != "x1"])
AC_CONFIG_FILES([Makefile unit_testing/Makefile libcppa.pc])
AC_OUTPUT
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment