Mercurial > octave-nkf
comparison configure.in @ 717:b14a2dda50e7
[project @ 1994-09-21 14:51:52 by jwe]
author | jwe |
---|---|
date | Wed, 21 Sep 1994 14:53:22 +0000 |
parents | 6caaaf4c5dd4 |
children | 75c986b14c06 |
comparison
equal
deleted
inserted
replaced
716:893c1893398f | 717:b14a2dda50e7 |
---|---|
19 dnl | 19 dnl |
20 dnl You should have received a copy of the GNU General Public License | 20 dnl You should have received a copy of the GNU General Public License |
21 dnl along with Octave; see the file COPYING. If not, write to the Free | 21 dnl along with Octave; see the file COPYING. If not, write to the Free |
22 dnl Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 22 dnl Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
23 dnl | 23 dnl |
24 AC_REVISION($Revision: 1.47 $)dnl | 24 AC_REVISION($Revision: 1.48 $)dnl |
25 AC_PREREQ(1.8)dnl | 25 AC_PREREQ(1.8)dnl |
26 AC_INIT(src/octave.cc) | 26 AC_INIT(src/octave.cc) |
27 AC_CONFIG_HEADER(config.h kpathsea/c-auto.h) | 27 AC_CONFIG_HEADER(config.h kpathsea/c-auto.h) |
28 dnl | 28 dnl |
29 AC_DEFINE(OCTAVE_SOURCE, 1)dnl | 29 AC_DEFINE(OCTAVE_SOURCE, 1)dnl |
168 AC_SUBST(octfiledir) | 168 AC_SUBST(octfiledir) |
169 AC_SUBST(localoctfilepath) | 169 AC_SUBST(localoctfilepath) |
170 AC_SUBST(fcnfilepath) | 170 AC_SUBST(fcnfilepath) |
171 AC_SUBST(imagepath) | 171 AC_SUBST(imagepath) |
172 dnl | 172 dnl |
173 DYNAMIC_LD_OBJ= | |
174 DLD_DIR= | 173 DLD_DIR= |
175 LIBDLD= | 174 LIBDLD= |
176 LIBOCTDLD='../liboctdld.a' | 175 LIBOCTDLD='../liboctdld.a' |
177 LD_STATIC_FLAG= | 176 LD_STATIC_FLAG= |
178 if $use_dld; then | 177 if $use_dld; then |
179 DYNAMIC_LD_OBJ='dynamic-ld.o' | |
180 DLD_DIR=dld | 178 DLD_DIR=dld |
181 LIBDLD='../libdld.a' | 179 LIBDLD='../libdld.a' |
182 # don't link them in only if doing dynamic linking and small kernel | 180 # don't link them in only if doing dynamic linking and small kernel |
183 # requested. | 181 # requested. |
184 if $lite_kernel; then | 182 if $lite_kernel; then |
185 LIBOCTDLD= | 183 LIBOCTDLD= |
186 fi | 184 fi |
187 LD_STATIC_FLAG=-static | 185 LD_STATIC_FLAG=-static |
188 AC_DEFINE(WITH_DLD, 1)dnl | 186 AC_DEFINE(WITH_DLD, 1)dnl |
189 fi | 187 fi |
190 if test -n "$DYNAMIC_LD_OBJ"; then | |
191 AC_VERBOSE([defining DYNAMIC_LD_OBJ to be $DYNAMIC_LD_OBJ]) | |
192 fi | |
193 if test -n "$DLD_DIR"; then | 188 if test -n "$DLD_DIR"; then |
194 AC_VERBOSE([defining DLD_DIR to be $DLD_DIR]) | 189 AC_VERBOSE([defining DLD_DIR to be $DLD_DIR]) |
195 fi | 190 fi |
196 if test -n "$LIBDLD"; then | 191 if test -n "$LIBDLD"; then |
197 AC_VERBOSE([defining LIBDLD to be $LIBDLD]) | 192 AC_VERBOSE([defining LIBDLD to be $LIBDLD]) |
200 AC_VERBOSE([defining LIBOCTDLD to be $LIBOCTDLD]) | 195 AC_VERBOSE([defining LIBOCTDLD to be $LIBOCTDLD]) |
201 fi | 196 fi |
202 if test -n "$LD_STATIC_FLAG"; then | 197 if test -n "$LD_STATIC_FLAG"; then |
203 AC_VERBOSE([defining LD_STATIC_FLAG to be $LD_STATIC_FLAG]) | 198 AC_VERBOSE([defining LD_STATIC_FLAG to be $LD_STATIC_FLAG]) |
204 fi | 199 fi |
205 AC_SUBST(DYNAMIC_LD_OBJ)dnl | |
206 AC_SUBST(DLD_DIR)dnl | 200 AC_SUBST(DLD_DIR)dnl |
207 AC_SUBST(LIBDLD)dnl | 201 AC_SUBST(LIBDLD)dnl |
208 AC_SUBST(LIBOCTDLD)dnl | 202 AC_SUBST(LIBOCTDLD)dnl |
209 AC_SUBST(LD_STATIC_FLAG)dnl | 203 AC_SUBST(LD_STATIC_FLAG)dnl |
210 dnl | 204 dnl |
799 define([tmpSC], [scripts/linear-algebra/Makefile])dnl | 793 define([tmpSC], [scripts/linear-algebra/Makefile])dnl |
800 define([tmpSD], [scripts/miscellaneous/Makefile scripts/plot/Makefile])dnl | 794 define([tmpSD], [scripts/miscellaneous/Makefile scripts/plot/Makefile])dnl |
801 define([tmpSE], [scripts/polynomial/Makefile scripts/set/Makefile])dnl | 795 define([tmpSE], [scripts/polynomial/Makefile scripts/set/Makefile])dnl |
802 define([tmpSF], [scripts/signal/Makefile scripts/special-matrix/Makefile])dnl | 796 define([tmpSF], [scripts/signal/Makefile scripts/special-matrix/Makefile])dnl |
803 define([tmpSG], [scripts/statistics/Makefile])dnl | 797 define([tmpSG], [scripts/statistics/Makefile])dnl |
804 define([scriptdirs], [tmpSA tmpSB tmpSC tmpSD tmpSE tmpSF tmpSG])dnl | 798 define([tmpSH], [scripts/elfun/Makefile scripts/specfun/Makefile])dnl |
799 define([scriptdirs], [tmpSA tmpSB tmpSC tmpSD tmpSE tmpSF tmpSG tmpSH])dnl | |
805 dnl | 800 dnl |
806 AC_OUTPUT([srcdirs cruftdirs scriptdirs])dnl | 801 AC_OUTPUT([srcdirs cruftdirs scriptdirs])dnl |