diff options
author | midipix <writeonce@midipix.org> | 2018-06-09 00:10:34 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-06-08 20:51:45 -0400 |
commit | bf88f3ed5fd8df728bb14b1a19110f7d4e65c1ca (patch) | |
tree | 5985f25ff087106ab0b7c7a1ef551e62316d80f6 /configure | |
parent | 3af61d2482bd18a8af6413819ff9b4e3e20c99fd (diff) | |
download | apimagic-bf88f3ed5fd8df728bb14b1a19110f7d4e65c1ca.tar.bz2 apimagic-bf88f3ed5fd8df728bb14b1a19110f7d4e65c1ca.tar.xz |
build system: configure: support alternate bindir relative to exec_prefix.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -172,7 +172,13 @@ common_defaults() [ -z "$mb_exec_prefix" ] && [ -z "$mb_exec_prefix_set" ] \ && mb_exec_prefix=$mb_prefix - [ -z "$mb_bindir" ] && mb_bindir=$mb_exec_prefix/bin + [ -z "$mb_bindir" ] && [ -z "$mb_bindir_set" ] \ + && [ -z "$mb_bindir_basename" ] \ + && mb_bindir=$mb_exec_prefix/bin + + [ -z "$mb_bindir" ] && [ -z "$mb_bindir_set" ] \ + && mb_bindir=$mb_exec_prefix/$mb_bindir_basename + [ -z "$mb_sbindir" ] && mb_sbindir=$mb_exec_prefix/sbin [ -z "$mb_libdir" ] && mb_libdir=$mb_exec_prefix/lib [ -z "$mb_includedir" ] && mb_includedir=$mb_prefix/include @@ -594,6 +600,7 @@ for arg ; do mb_exec_prefix=${arg#*=} ;; --bindir=*) + mb_bindir_set=yes mb_bindir=${arg#*=} ;; --sbindir=*) |