From 57061c2630f14325c02e1e06b5b67101e1f4fcce Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 6 Nov 2008 23:58:19 +0000 Subject: Fix the --with-build-dir option, so that it is actually possible to do out of tree builds. Also rename the generated botan-config script so that it is, like the pkg-config settings, namespaced by the major and minor version numbers (eg, botan-17-config). This is useful in particular for distros like Debian which ship both stable and unstable versions. Currently Debian is actually the only distro I know of shipping 1.7 as well as 1.6, but I would certainly like to encourage more in the future by making it easy to do. --- doc/examples/GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/examples') diff --git a/doc/examples/GNUmakefile b/doc/examples/GNUmakefile index 4b45af0a6..0318e3016 100644 --- a/doc/examples/GNUmakefile +++ b/doc/examples/GNUmakefile @@ -5,9 +5,9 @@ BOTAN_DIR = ../.. CXX = g++ CFLAGS = -O2 -ansi -W -Wall -INCLUDES = $(shell $(BOTAN_DIR)/botan-config --cflags) +INCLUDES = $(shell $(BOTAN_DIR)/botan-17-config --cflags) -LIBS = $(shell $(BOTAN_DIR)/botan-config --libs) +LIBS = $(shell $(BOTAN_DIR)/botan-17-config --libs) FLAGS = $(INCLUDES) $(CFLAGS) -I$(BOTAN_DIR)/build/include -L$(BOTAN_DIR) SRCS=$(wildcard *.cpp) -- cgit v1.2.3