aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-07 00:44:16 +0000
committerlloyd <[email protected]>2008-11-07 00:44:16 +0000
commit681b95b870148b7354995197bc923ab3b7d887db (patch)
treea86cbbbf28b1cb9b51ad933bdf3106020c3ae5d4
parent57061c2630f14325c02e1e06b5b67101e1f4fcce (diff)
Put automatically generated botan-config and pkgconfig files into build/
instead of in the toplevel directory.
-rwxr-xr-xconfigure.pl8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.pl b/configure.pl
index 5d08594de..f97185c7c 100755
--- a/configure.pl
+++ b/configure.pl
@@ -102,8 +102,12 @@ sub main {
# Goes into build-specific dirs (maybe)
$$config{'build-dir'} = 'build';
- $$config{'botan-config'} = "botan-$major_minor-config";
- $$config{'botan-pkgconfig'} = "botan-$major_minor.pc";
+ $$config{'botan-config'} = File::Spec->catfile(
+ $$config{'build-dir'}, "botan-$major_minor-config");
+
+ $$config{'botan-pkgconfig'} = File::Spec->catfile(
+ $$config{'build-dir'}, "botan-$major_minor.pc");
+
$$config{'makefile'} = 'Makefile';
$$config{'check_prefix'} = '';
$$config{'lib_prefix'} = '';