annotate run-octave.in @ 25931:332be8be16eb

dynamically load qt graphics * configure.ac (QT_OPENGL_LIBS): New variable. (LIBOCTGUI_LINK_DEPS): Delete $OPENGL_LIBS from the list. * acinclude.m4 (OCTAVE_CHECK_QT_VERSION): Check for Qt OpenGL module separately from other Qt modules. * subst-cross-config-vals.in.sh, subst-config-vals.in.sh: Substitute it. * build-env.h, build-env.in.cc, toplev.cc: Include QT_OPENGL_LIBS in build info. * libgui/src/module.mk (%canon_reldir%_%canon_reldir%_la_CPPFLAGS): Delete -I$(srcdir)/libgui/graphics from the list. * __init_qt__.cc: Use DEFUN_DLD and DEFMETHOD_DLD macros. Include comment to register qt toolkit using PKG_ADD file. * libgui/graphics/module.mk: Build __init_qt__.oct. * libgui/module.mk (%canon_reldir%_liboctgui_la_LIBADD): Delete $(LIBOCTGUI_GRAPHICS_LIB) from the list. Use $(QT_LIBS) instead of $(LIBOCTGUI_LINK_DEPS). * main-window.cc: (octave_interpreter::octave_interpreter): Don't call install___init_qt___functions or register qt graphics toolkit. * run-octave.in: Add $builddir/libgui/graphics directory to LOADPATH.
author John W. Eaton <jwe@octave.org>
date Fri, 28 Sep 2018 18:18:09 -0400
parents 74ece2b45b4f
children 00f796120a6d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5786
9c3c903f037e [project @ 2006-05-03 20:03:41 by jwe]
jwe
parents:
diff changeset
1 #! /bin/sh
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7001
diff changeset
2 ##
7017
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
3 ## run-octave -- run Octave in the build tree.
19593
446c46af4b42 strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 18169
diff changeset
4 ##
25054
6652d3823428 maint: Update copyright dates in all source files.
John W. Eaton <jwe@octave.org>
parents: 24899
diff changeset
5 ## Copyright (C) 2006-2018 John W. Eaton
7017
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
6 ##
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7001
diff changeset
7 ## This file is part of Octave.
19593
446c46af4b42 strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 18169
diff changeset
8 ##
24534
194eb4bd202b maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents: 24126
diff changeset
9 ## Octave is free software: you can redistribute it and/or modify it
22755
3a2b891d0b33 maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents: 22323
diff changeset
10 ## under the terms of the GNU General Public License as published by
24534
194eb4bd202b maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents: 24126
diff changeset
11 ## the Free Software Foundation, either version 3 of the License, or
22755
3a2b891d0b33 maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents: 22323
diff changeset
12 ## (at your option) any later version.
19593
446c46af4b42 strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 18169
diff changeset
13 ##
22755
3a2b891d0b33 maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents: 22323
diff changeset
14 ## Octave is distributed in the hope that it will be useful, but
3a2b891d0b33 maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents: 22323
diff changeset
15 ## WITHOUT ANY WARRANTY; without even the implied warranty of
3a2b891d0b33 maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents: 22323
diff changeset
16 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3a2b891d0b33 maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents: 22323
diff changeset
17 ## GNU General Public License for more details.
19593
446c46af4b42 strip trailing whitespace from most source files
John W. Eaton <jwe@octave.org>
parents: 18169
diff changeset
18 ##
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7001
diff changeset
19 ## You should have received a copy of the GNU General Public License
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7001
diff changeset
20 ## along with Octave; see the file COPYING. If not, see
24534
194eb4bd202b maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents: 24126
diff changeset
21 ## <https://www.gnu.org/licenses/>.
6125
a1754033bc6c [project @ 2006-10-29 17:05:53 by jwe]
jwe
parents: 6074
diff changeset
22
20430
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
23 : ${AWK=%AWK%}
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
24 : ${FIND=%FIND%}
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
25 : ${SED=%SED%}
20712
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20479
diff changeset
26 : ${ADDRESS_SANITIZER_OPTIONS="%ADRESS_SANITIZER_OPTIONS%"}
6125
a1754033bc6c [project @ 2006-10-29 17:05:53 by jwe]
jwe
parents: 6074
diff changeset
27
21092
429f83903400 maint: Use "FIXME:" more places in code base.
Rik <rik@octave.org>
parents: 21036
diff changeset
28 # FIXME: is there a better way to handle the possibility of spaces
429f83903400 maint: Use "FIXME:" more places in code base.
Rik <rik@octave.org>
parents: 21036
diff changeset
29 # in these names?
6125
a1754033bc6c [project @ 2006-10-29 17:05:53 by jwe]
jwe
parents: 6074
diff changeset
30
6131
9a6e5cae5275 [project @ 2006-11-01 18:25:54 by jwe]
jwe
parents: 6129
diff changeset
31 top_srcdir='%abs_top_srcdir%'
9a6e5cae5275 [project @ 2006-11-01 18:25:54 by jwe]
jwe
parents: 6129
diff changeset
32 builddir='%builddir%'
6125
a1754033bc6c [project @ 2006-10-29 17:05:53 by jwe]
jwe
parents: 6074
diff changeset
33
13187
12814f1fbbd2 Omit $top_srcdir/test directory tree from Octave's path in run-octave script
John W. Eaton <jwe@octave.org>
parents: 11523
diff changeset
34 d1="$top_srcdir/scripts"
12814f1fbbd2 Omit $top_srcdir/test directory tree from Octave's path in run-octave script
John W. Eaton <jwe@octave.org>
parents: 11523
diff changeset
35 d2="$builddir/scripts"
15195
2fc554ffbc28 split libinterp from src
John W. Eaton <jwe@octave.org>
parents: 15159
diff changeset
36 d3="$builddir/libinterp"
19032
d902542221c8 new data directory for storing data files we distribute
John W. Eaton <jwe@octave.org>
parents: 18169
diff changeset
37 d4="$top_srcdir/examples/data"
25931
332be8be16eb dynamically load qt graphics
John W. Eaton <jwe@octave.org>
parents: 25065
diff changeset
38 d5="$builddir/libgui/graphics"
6125
a1754033bc6c [project @ 2006-10-29 17:05:53 by jwe]
jwe
parents: 6074
diff changeset
39
23856
41a0b750c36e run-octave.in: Don't put +packages in to the PATH variable.
Rik <rik@octave.org>
parents: 23220
diff changeset
40 d1_list=`$FIND "$d1" -type d -a ! \( \( -name private -o -name '@*' -o -name '+*' -o -name '.deps' -o -name '.libs' \) -a -prune \) -exec echo '{}' ';' | $SED 's/$/:/'`
41a0b750c36e run-octave.in: Don't put +packages in to the PATH variable.
Rik <rik@octave.org>
parents: 23220
diff changeset
41 d2_list=`$FIND "$d2" -type d -a ! \( \( -name private -o -name '@*' -o -name '+*' -o -name '.deps' -o -name '.libs' \) -a -prune \) -exec echo '{}' ';' | $SED 's/$/:/'`
41a0b750c36e run-octave.in: Don't put +packages in to the PATH variable.
Rik <rik@octave.org>
parents: 23220
diff changeset
42 d3_list=`$FIND "$d3" -type d -a ! \( \( -name private -o -name '@*' -o -name '+*' -o -name '.deps' -o -name '.libs' \) -a -prune \) -exec echo '{}' ';' | $SED 's/$/:/'`
19032
d902542221c8 new data directory for storing data files we distribute
John W. Eaton <jwe@octave.org>
parents: 18169
diff changeset
43 d4_list=`$FIND "$d4" -type d -exec echo '{}' ';' | $SED 's/$/:/'`
6125
a1754033bc6c [project @ 2006-10-29 17:05:53 by jwe]
jwe
parents: 6074
diff changeset
44
6827
647cad232070 [project @ 2007-08-24 16:38:05 by jwe]
jwe
parents: 6732
diff changeset
45 d1_path=`echo "$d1_list" | $AWK '{ t = (s $0); s = t; } END { sub (/:$/, "", s); print s; }'`
647cad232070 [project @ 2007-08-24 16:38:05 by jwe]
jwe
parents: 6732
diff changeset
46 d2_path=`echo "$d2_list" | $AWK '{ t = (s $0); s = t; } END { sub (/:$/, "", s); print s; }'`
647cad232070 [project @ 2007-08-24 16:38:05 by jwe]
jwe
parents: 6732
diff changeset
47 d3_path=`echo "$d3_list" | $AWK '{ t = (s $0); s = t; } END { sub (/:$/, "", s); print s; }'`
19032
d902542221c8 new data directory for storing data files we distribute
John W. Eaton <jwe@octave.org>
parents: 18169
diff changeset
48 d4_path=`echo "$d4_list" | $AWK '{ t = (s $0); s = t; } END { sub (/:$/, "", s); print s; }'`
6125
a1754033bc6c [project @ 2006-10-29 17:05:53 by jwe]
jwe
parents: 6074
diff changeset
49
15137
16a6b0a6855d GUI: support for octave arguments and integrate with run-octave.
John W. Eaton <jwe@octave.org>
parents: 14614
diff changeset
50 octave_executable="$builddir/src/octave"
16a6b0a6855d GUI: support for octave arguments and integrate with run-octave.
John W. Eaton <jwe@octave.org>
parents: 14614
diff changeset
51
25931
332be8be16eb dynamically load qt graphics
John W. Eaton <jwe@octave.org>
parents: 25065
diff changeset
52 LOADPATH="$d1_path:$d2_path:$d3_path:$d4_path:$d5"
24046
230613ece415 Add the working directory to IMAGE_PATH when running in build tree
Mike Miller <mtmiller@octave.org>
parents: 23856
diff changeset
53 IMAGEPATH=".:$top_srcdir/scripts/image"
8940
6994961bf1f4 use doc-cache instead of DOC for doc cache file name
John W. Eaton <jwe@octave.org>
parents: 8920
diff changeset
54 DOCFILE="$builddir/doc/interpreter/doc-cache"
22077
df50d42d4b1b build: build doc-cache and DOCSTRINGS files in the build dir
Mike Miller <mtmiller@octave.org>
parents: 21664
diff changeset
55 BUILT_IN_DOCSTRINGS_FILE="$builddir/libinterp/DOCSTRINGS"
14614
4e9dc46d4125 handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents: 14138
diff changeset
56 TEXIMACROSFILE="$top_srcdir/doc/interpreter/macros.texi"
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents: 9613
diff changeset
57 INFOFILE="$top_srcdir/doc/interpreter/octave.info"
6125
a1754033bc6c [project @ 2006-10-29 17:05:53 by jwe]
jwe
parents: 6074
diff changeset
58
11452
e1a5bf3ea1d9 Add a GUD mode option to run-octave.in
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 9794
diff changeset
59 ## Checking for string equality below with prepended x's in order to
e1a5bf3ea1d9 Add a GUD mode option to run-octave.in
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 9794
diff changeset
60 ## handle problems with empty strings.
21036
b432e7bb3cbd run-octave.in: Allow passing multiple arguments to run-octave. (bug #46690)
Lachlan Andrew <lachlanbis@gmail.com>
parents: 20712
diff changeset
61 while [ $# -gt 0 ]; do
5786
9c3c903f037e [project @ 2006-05-03 20:03:41 by jwe]
jwe
parents:
diff changeset
62 if [ "x$1" = "x-g" ]; then
6987
deb175b6e4a1 [project @ 2007-10-09 18:39:15 by jwe]
jwe
parents: 6827
diff changeset
63 driver="gdb --args"
5786
9c3c903f037e [project @ 2006-05-03 20:03:41 by jwe]
jwe
parents:
diff changeset
64 shift
11452
e1a5bf3ea1d9 Add a GUD mode option to run-octave.in
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 9794
diff changeset
65 elif [ "x$1" = "x-gud" ]; then
e1a5bf3ea1d9 Add a GUD mode option to run-octave.in
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 9794
diff changeset
66 ## Frontends for gdb (e.g. Emacs's GUD mode) need --annotate=3
e1a5bf3ea1d9 Add a GUD mode option to run-octave.in
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 9794
diff changeset
67 driver="gdb --annotate=3 --args"
e1a5bf3ea1d9 Add a GUD mode option to run-octave.in
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 9794
diff changeset
68 shift
15335
5187c3ea5a68 run-octave.in: Add -gud2 option to support new versions of gud
Max Brister <max@2bass.com>
parents: 15249
diff changeset
69 elif [ "x$1" = "x-gud2" ]; then
5187c3ea5a68 run-octave.in: Add -gud2 option to support new versions of gud
Max Brister <max@2bass.com>
parents: 15249
diff changeset
70 ## The latest version of gud needs -i=mi. There isn't a good way to check
16036
dd583c258cf9 Fix trivial typo in run-octave.in comment
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 15971
diff changeset
71 ## this at configure time, so we just add a gud2 flag
15335
5187c3ea5a68 run-octave.in: Add -gud2 option to support new versions of gud
Max Brister <max@2bass.com>
parents: 15249
diff changeset
72 driver="gdb -i=mi --args"
5187c3ea5a68 run-octave.in: Add -gud2 option to support new versions of gud
Max Brister <max@2bass.com>
parents: 15249
diff changeset
73 shift
5786
9c3c903f037e [project @ 2006-05-03 20:03:41 by jwe]
jwe
parents:
diff changeset
74 elif [ "x$1" = "x-valgrind" ]; then
9c3c903f037e [project @ 2006-05-03 20:03:41 by jwe]
jwe
parents:
diff changeset
75 driver="valgrind --tool=memcheck"
9c3c903f037e [project @ 2006-05-03 20:03:41 by jwe]
jwe
parents:
diff changeset
76 shift
19159
eeb22763138b Add --callgrind option to run-octave to run with profiling.
Rik <rik@octave.org>
parents: 19032
diff changeset
77 elif [ "x$1" = "x-callgrind" ]; then
eeb22763138b Add --callgrind option to run-octave to run with profiling.
Rik <rik@octave.org>
parents: 19032
diff changeset
78 driver="valgrind --tool=callgrind"
eeb22763138b Add --callgrind option to run-octave to run with profiling.
Rik <rik@octave.org>
parents: 19032
diff changeset
79 shift
5786
9c3c903f037e [project @ 2006-05-03 20:03:41 by jwe]
jwe
parents:
diff changeset
80 elif [ "x$1" = "x-strace" ]; then
9c3c903f037e [project @ 2006-05-03 20:03:41 by jwe]
jwe
parents:
diff changeset
81 driver="strace -o octave.trace"
9c3c903f037e [project @ 2006-05-03 20:03:41 by jwe]
jwe
parents:
diff changeset
82 shift
15139
bfc220d1de67 include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents: 15137
diff changeset
83 elif [ "x$1" = "x-cli" ]; then
bfc220d1de67 include gui in default Octave binary
John W. Eaton <jwe@octave.org>
parents: 15137
diff changeset
84 octave_executable="$builddir/src/octave-cli"
15137
16a6b0a6855d GUI: support for octave arguments and integrate with run-octave.
John W. Eaton <jwe@octave.org>
parents: 14614
diff changeset
85 shift
21036
b432e7bb3cbd run-octave.in: Allow passing multiple arguments to run-octave. (bug #46690)
Lachlan Andrew <lachlanbis@gmail.com>
parents: 20712
diff changeset
86 else
b432e7bb3cbd run-octave.in: Allow passing multiple arguments to run-octave. (bug #46690)
Lachlan Andrew <lachlanbis@gmail.com>
parents: 20712
diff changeset
87 break
5786
9c3c903f037e [project @ 2006-05-03 20:03:41 by jwe]
jwe
parents:
diff changeset
88 fi
21036
b432e7bb3cbd run-octave.in: Allow passing multiple arguments to run-octave. (bug #46690)
Lachlan Andrew <lachlanbis@gmail.com>
parents: 20712
diff changeset
89 done
6125
a1754033bc6c [project @ 2006-10-29 17:05:53 by jwe]
jwe
parents: 6074
diff changeset
90
22077
df50d42d4b1b build: build doc-cache and DOCSTRINGS files in the build dir
Mike Miller <mtmiller@octave.org>
parents: 21664
diff changeset
91 ## DOCSTRINGS and doc-cache files may exist in the current (build) directory
df50d42d4b1b build: build doc-cache and DOCSTRINGS files in the build dir
Mike Miller <mtmiller@octave.org>
parents: 21664
diff changeset
92 ## or in the source directory when building from a release.
df50d42d4b1b build: build doc-cache and DOCSTRINGS files in the build dir
Mike Miller <mtmiller@octave.org>
parents: 21664
diff changeset
93 if ! [ -e $DOCFILE ]; then
df50d42d4b1b build: build doc-cache and DOCSTRINGS files in the build dir
Mike Miller <mtmiller@octave.org>
parents: 21664
diff changeset
94 DOCFILE="$top_srcdir/doc/interpreter/doc-cache"
df50d42d4b1b build: build doc-cache and DOCSTRINGS files in the build dir
Mike Miller <mtmiller@octave.org>
parents: 21664
diff changeset
95 fi
df50d42d4b1b build: build doc-cache and DOCSTRINGS files in the build dir
Mike Miller <mtmiller@octave.org>
parents: 21664
diff changeset
96 if ! [ -e $BUILT_IN_DOCSTRINGS_FILE ]; then
df50d42d4b1b build: build doc-cache and DOCSTRINGS files in the build dir
Mike Miller <mtmiller@octave.org>
parents: 21664
diff changeset
97 BUILT_IN_DOCSTRINGS_FILE="$top_srcdir/libinterp/DOCSTRINGS"
df50d42d4b1b build: build doc-cache and DOCSTRINGS files in the build dir
Mike Miller <mtmiller@octave.org>
parents: 21664
diff changeset
98 fi
df50d42d4b1b build: build doc-cache and DOCSTRINGS files in the build dir
Mike Miller <mtmiller@octave.org>
parents: 21664
diff changeset
99
18169
525af54479eb allow run-octave to find octave-gui program
John W. Eaton <jwe@octave.org>
parents: 17778
diff changeset
100 ## We set OCTAVE_ARCHLIBDIR so that the wrapper program can find the
525af54479eb allow run-octave to find octave-gui program
John W. Eaton <jwe@octave.org>
parents: 17778
diff changeset
101 ## octave-gui program in the build tree. That will fail if we ever
525af54479eb allow run-octave to find octave-gui program
John W. Eaton <jwe@octave.org>
parents: 17778
diff changeset
102 ## need Octave to find other things in ARCHLIBDIR that are not built
525af54479eb allow run-octave to find octave-gui program
John W. Eaton <jwe@octave.org>
parents: 17778
diff changeset
103 ## in the $builddir/src directory.
525af54479eb allow run-octave to find octave-gui program
John W. Eaton <jwe@octave.org>
parents: 17778
diff changeset
104
20430
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
105 OCTAVE_ARCHLIBDIR="$builddir/src"; export OCTAVE_ARCHLIBDIR
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
106 OCTAVE_BINDIR="$builddir/src"; export OCTAVE_BINDIR
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
107 OCTAVE_DEFAULT_QT_SETTINGS="$builddir/libgui/default-qt-settings"; export OCTAVE_DEFAULT_QT_SETTINGS
24899
1a46d174a483 include a proper definition of Octave's private font fallback directory
Mike Miller <mtmiller@octave.org>
parents: 24875
diff changeset
108 OCTAVE_FONTS_DIR="$top_srcdir/etc/fonts"; export OCTAVE_FONTS_DIR
20430
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
109 OCTAVE_JAVA_DIR="$builddir/scripts/java"; export OCTAVE_JAVA_DIR
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
110 OCTAVE_LOCALE_DIR="$builddir/libgui/languages"; export OCTAVE_LOCALE_DIR
25065
74ece2b45b4f Revert unintended changes in cset 1cd3aeda7598
Pantxo Diribarne <pantxo.diribarne@gmail.com>
parents: 25060
diff changeset
111 OCTAVE_QTHELP_COLLECTION="$builddir/doc/interpreter/octave_interpreter.qhc"; export OCTAVE_QTHELP_COLLECTION
20479
ac0f7acdc3fd avoid executing startup file twice when using run-octave script (bug #45872)
John W. Eaton <jwe@octave.org>
parents: 20430
diff changeset
112 OCTAVE_SITE_INITFILE="$top_srcdir/scripts/startup/site-rcfile"; export OCTAVE_SITE_INITFILE
ac0f7acdc3fd avoid executing startup file twice when using run-octave script (bug #45872)
John W. Eaton <jwe@octave.org>
parents: 20430
diff changeset
113 OCTAVE_VERSION_INITFILE="$top_srcdir/scripts/startup/version-rcfile"; export OCTAVE_VERSION_INITFILE
20430
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
114
20712
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20479
diff changeset
115 if [ "$ADDRESS_SANITIZER_ENABLED" = yes ]; then
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20479
diff changeset
116 ASAN_OPTIONS=symbolize=1; export ASAN_OPTIONS
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20479
diff changeset
117 fi
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20479
diff changeset
118
20430
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
119 exec $builddir/libtool --mode=execute $driver \
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
120 "$octave_executable" --no-init-path --path="$LOADPATH" \
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
121 --image-path="$IMAGEPATH" --doc-cache-file="$DOCFILE" \
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
122 --built-in-docstrings-file="$BUILT_IN_DOCSTRINGS_FILE" \
a63f9cb609a1 run-octave: Use portable shell constructs
Mike Miller <mtmiller@octave.org>
parents: 19697
diff changeset
123 --texi-macros-file="$TEXIMACROSFILE" --info-file="$INFOFILE" "$@"