diff options
author | midipix <writeonce@midipix.org> | 2016-04-20 17:14:05 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 00:22:38 -0500 |
commit | 3d4f90d5ade6d437d8a5668b95d622bc881706b6 (patch) | |
tree | e11bbc090a326a490838f2bd4aa4ba9b07b5be1f /configure | |
parent | 86ddc07fdabb803170e40b046819a90acf45ef0a (diff) | |
download | mdso-3d4f90d5ade6d437d8a5668b95d622bc881706b6.tar.bz2 mdso-3d4f90d5ade6d437d8a5668b95d622bc881706b6.tar.xz |
build system: added empty --prefix and --exec-prefix support.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -107,8 +107,12 @@ verify_build_directory() common_defaults() { # dirs - [ -z "$mb_prefix" ] && mb_prefix='/usr/local' - [ -z "$mb_exec_prefix" ] && mb_exec_prefix=$mb_prefix + [ -z "$mb_prefix" ] && [ -z "$mb_prefix_set" ] \ + && mb_prefix='/usr/local' + + [ -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_libdir" ] && mb_libdir=$mb_exec_prefix/lib [ -z "$mb_includedir" ] && mb_includedir=$mb_prefix/include @@ -392,9 +396,11 @@ for arg ; do # dirs --prefix=*) + mb_prefix_set=yes mb_prefix=${arg#*=} ;; --exec-prefix=*) + mb_exec_prefix_set=yes mb_exec_prefix=${arg#*=} ;; --bindir=*) |