diff options
author | midipix <writeonce@midipix.org> | 2016-04-20 17:59:04 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-21 03:06:03 -0400 |
commit | c60b29b2c63c9f6823d7c415efdce064a26b4253 (patch) | |
tree | ff6e4e528aa6b7399c4f0aacfce0a1c0bb59c1dd /configure | |
parent | 2816af2d8906165f25cb5ca382bac817596e4a70 (diff) | |
download | ntapi-c60b29b2c63c9f6823d7c415efdce064a26b4253.tar.bz2 ntapi-c60b29b2c63c9f6823d7c415efdce064a26b4253.tar.xz |
build system: set proper defaults to the various directory variables.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -105,15 +105,16 @@ verify_build_directory() common_defaults() { # dirs - [ -z "$mb_prefix" ] && mb_prefix=$mb_default_prefix - [ -z "$mb_exec_prefix" ] && mb_exec_prefix=$mb_default_exec_prefix - [ -z "$mb_bindir" ] && mb_bindir=$mb_default_bindir - [ -z "$mb_libdir" ] && mb_libdir=$mb_default_libdir - [ -z "$mb_includedir" ] && mb_includedir=$mb_default_includedir - [ -z "$mb_syslibdir" ] && mb_syslibdir=$mb_default_syslibdir - [ -z "$mb_mandir" ] && mb_mandir=$mb_default_mandir - [ -z "$mb_docdir" ] && mb_docdir=$mb_default_docdir - [ -z "$mb_libexecdir" ] && mb_libexecdir=$mb_default_libexecdir + [ -z "$mb_prefix" ] && mb_prefix='/usr/local' + [ -z "$mb_exec_prefix" ] && 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 + [ -z "$mb_syslibdir" ] && mb_syslibdir=/lib + [ -z "$mb_datarootdir" ] && mb_datarootdir=$mb_prefix/share + [ -z "$mb_mandir" ] && mb_mandir=$mb_datarootdir/man + [ -z "$mb_docdir" ] && mb_docdir=$mb_datarootdir/doc + [ -z "$mb_libexecdir" ] && mb_libexecdir=$mb_exec_prefix/libexec # build [ -z "$mb_build" ] && mb_build=$mb_default_build |