comparison configure.in @ 781:ce19e27b6895

[project @ 1994-10-07 18:52:22 by jwe]
author jwe
date Fri, 07 Oct 1994 18:52:22 +0000
parents 29a7b5b6f0dc
children ac49764105cf
comparison
equal deleted inserted replaced
780:81a661c0368b 781:ce19e27b6895
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.55 $)dnl 24 AC_REVISION($Revision: 1.56 $)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 dnl Do special stuff if using dld.
174 dnl
173 DLD_DIR= 175 DLD_DIR=
174 LIBDLD= 176 LIBDLD=
175 LIBOCTDLD='liboctdld.a' 177 LIBOCTDLD='liboctdld.a'
176 LD_STATIC_FLAG= 178 LD_STATIC_FLAG=
177 if $use_dld; then 179 if $use_dld; then
183 LIBOCTDLD= 185 LIBOCTDLD=
184 fi 186 fi
185 LD_STATIC_FLAG=-static 187 LD_STATIC_FLAG=-static
186 AC_DEFINE(WITH_DLD, 1)dnl 188 AC_DEFINE(WITH_DLD, 1)dnl
187 fi 189 fi
190 dnl
191 dnl Also use -static if compiling on Alpha OSF/1 1.3 systems.
192 dnl
193 case "$canonical_host_type" in
194 alpha-dec-osf1.3)
195 LD_STATIC_FLAG=-static
196 ;;
197 esac
198 dnl
188 if test -n "$DLD_DIR"; then 199 if test -n "$DLD_DIR"; then
189 AC_VERBOSE([defining DLD_DIR to be $DLD_DIR]) 200 AC_VERBOSE([defining DLD_DIR to be $DLD_DIR])
190 fi 201 fi
191 if test -n "$LIBDLD"; then 202 if test -n "$LIBDLD"; then
192 AC_VERBOSE([defining LIBDLD to be $LIBDLD]) 203 AC_VERBOSE([defining LIBDLD to be $LIBDLD])