diff options
author | lloyd <[email protected]> | 2008-11-07 16:01:37 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-07 16:01:37 +0000 |
commit | 93f8f667ca6641afc805af2262757adc66cfaf29 (patch) | |
tree | b2b6fbaa7476d2190898e1ccec25257fd160d7f4 | |
parent | edd4a752d1127c8a72be70565dd03ba0d5b7a6a4 (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).
-rwxr-xr-x | configure.pl | 8 |
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'} = ''; |