Mercurial > octave-nkf
diff build-aux/common.mk @ 20021:4840fc43f0b5
octave-config: add EXEEXT and SHLEXT variables to -p
* build-aux/common.mk
(do_subst_default_vals) Add OCTAVE_EXEEXT and OCTAVE_SHLEXT
* src/octave-config.in.cc
(help_msg): add string EXEEXT, SHLEXT to help string
(initialize): initialize variables for EXEEXT, SHLEXT
author | John Donoghue |
---|---|
date | Wed, 25 Mar 2015 12:25:23 -0400 |
parents | 8ba35b7b355d |
children | dbb46a7e61a4 |
line wrap: on
line diff
--- a/build-aux/common.mk Wed Mar 25 21:18:37 2015 +0100 +++ b/build-aux/common.mk Wed Mar 25 12:25:23 2015 -0400 @@ -843,6 +843,7 @@ -e "s|%OCTAVE_DEFAULT_PAGER%|\"${DEFAULT_PAGER}\"|" \ -e "s|%OCTAVE_DOC_CACHE_FILE%|\"${doc_cache_file}\"|" \ -e "s|%OCTAVE_EXEC_PREFIX%|\"${exec_prefix}\"|" \ + -e "s|%OCTAVE_EXEEXT%|\"${EXEEXT}\"|" \ -e "s|%OCTAVE_FCNFILEDIR%|\"${fcnfiledir}\"|" \ -e "s|%OCTAVE_IMAGEDIR%|\"${imagedir}\"|" \ -e "s|%OCTAVE_INCLUDEDIR%|\"${includedir}\"|" \ @@ -874,6 +875,7 @@ -e "s|%OCTAVE_PREFIX%|\"${prefix}\"|" \ -e "s|%OCTAVE_API_VERSION%|\"${api_version}\"|" \ -e "s|%OCTAVE_RELEASE%|\"${OCTAVE_RELEASE}\"|" \ + -e "s|%OCTAVE_SHLEXT%|\"${SHLEXT}\"|" \ -e "s|%OCTAVE_TEXI_MACROS_FILE%|\"${texi_macros_file}\"|" \ -e "s|%OCTAVE_VERSION%|\"${version}\"|" && \ $(simple_move_if_change_rule)