aboutsummaryrefslogtreecommitdiffstats
path: root/configure.pl
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-07 16:01:37 +0000
committerlloyd <[email protected]>2008-11-07 16:01:37 +0000
commit93f8f667ca6641afc805af2262757adc66cfaf29 (patch)
treeb2b6fbaa7476d2190898e1ccec25257fd160d7f4 /configure.pl
parentedd4a752d1127c8a72be70565dd03ba0d5b7a6a4 (diff)
For pkg-config, name as botan-$major.$minor.pc, eg botan-1.7, rather than
botan-17, which was potentially confusing (and apparently contradictory to normal pkg-config naming conventions).
Diffstat (limited to 'configure.pl')
-rwxr-xr-xconfigure.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.pl b/configure.pl
index 7936162c8..2110a9809 100755
--- a/configure.pl
+++ b/configure.pl
@@ -97,16 +97,16 @@ sub main {
&$default_value_is('shared', 'yes');
&$default_value_is('local_config', '');
- my $major_minor = $MAJOR_VERSION . $MINOR_VERSION;
-
# Goes into build-specific dirs (maybe)
$$config{'build-dir'} = 'build';
$$config{'botan-config'} = File::Spec->catfile(
- $$config{'build-dir'}, "botan-$major_minor-config");
+ $$config{'build-dir'},
+ 'botan-' . $MAJOR_VERSION . $MINOR_VERSION . '-config');
$$config{'botan-pkgconfig'} = File::Spec->catfile(
- $$config{'build-dir'}, "botan-$major_minor.pc");
+ $$config{'build-dir'},
+ 'botan-' . $MAJOR_VERSION . '.' . $MINOR_VERSION . '.pc');
$$config{'makefile'} = 'Makefile';
$$config{'check_prefix'} = '';