diff options
author | midipix <writeonce@midipix.org> | 2016-04-20 17:58:26 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-21 03:06:02 -0400 |
commit | 2816af2d8906165f25cb5ca382bac817596e4a70 (patch) | |
tree | 8b37e99d08393ae4d9cfe25a73f40232c4f849fc /configure | |
parent | 73851625931a79c88fd549a5f8207685945970b9 (diff) | |
download | ntapi-2816af2d8906165f25cb5ca382bac817596e4a70.tar.bz2 ntapi-2816af2d8906165f25cb5ca382bac817596e4a70.tar.xz |
build system: added --exec-prefix support.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -30,6 +30,7 @@ init_vars() # dirs mb_prefix=$PREFIX + mb_exec_prefix=$EXEC_PREFIX mb_bindir=$BINDIR mb_libdir=$LIBDIR mb_includedir=$INCLUDEDIR @@ -105,6 +106,7 @@ 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 @@ -331,6 +333,7 @@ config_copy() -e 's^@elf_config\_defs@^'"$mb_elf_config_defs"'^g' \ \ -e 's^@prefix@^'"$mb_prefix"'^g' \ + -e 's^@exec_prefix@^'"$mb_exec_prefix"'^g' \ -e 's^@bindir@^'"$mb_bindir"'^g' \ -e 's^@libdir@^'"$mb_libdir"'^g' \ -e 's^@includedir@^'"$mb_includedir"'^g' \ @@ -384,6 +387,9 @@ for arg ; do --prefix=*) mb_prefix=${arg#*=} ;; + --exec-prefix=*) + mb_exec_prefix=${arg#*=} + ;; --bindir=*) mb_bindir=${arg#*=} ;; |