annotate main/sparsersb/src/configure.base @ 8882:c47ac161e75d octave-forge

sparsersb: commented out a (probably) redundant (octave_idx_type) symbol redefinition in configure.base.
author michelemartone
date Sat, 12 Nov 2011 11:47:29 +0000
parents b995a264e374
children ba575291987f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8849
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
1 dnl The configure script is generated by autogen.sh from configure.base
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
2 dnl and the various configure.add files in the source tree. Edit
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
3 dnl configure.base and reprocess rather than modifying ./configure.
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
4
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
5 dnl autoconf 2.13 certainly doesn't work! What is the minimum requirement?
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
6 AC_PREREQ(2.2)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
7
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
8 AC_INIT(configure.base)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
9
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
10 PACKAGE=octave-forge
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
11 MAJOR_VERSION=0
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
12 MINOR_VERSION=1
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
13 PATCH_LEVEL=0
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
14
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
15 dnl Kill caching --- this ought to be the default
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
16 define([AC_CACHE_LOAD], )dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
17 define([AC_CACHE_SAVE], )dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
18
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
19 dnl uncomment to put support files in another directory
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
20 dnl AC_CONFIG_AUX_DIR(admin)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
21
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
22 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_LEVEL
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
23 AC_SUBST(PACKAGE)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
24 AC_SUBST(VERSION)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
25
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
26 dnl need to find admin files, so keep track of the top dir.
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
27 TOPDIR=`pwd`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
28 AC_SUBST(TOPDIR)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
29
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
30 dnl if mkoctfile doesn't work, then we need the following:
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
31 dnl AC_PROG_CXX
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
32 dnl AC_PROG_F77
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
33
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
34 dnl Need C compiler regardless so define it in a way that
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
35 dnl makes autoconf happy and we can override whatever we
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
36 dnl need with mkoctfile -p.
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
37 dnl XXX FIXME XXX should use mkoctfile to get CC and CFLAGS
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
38 AC_PROG_CC
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
39
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
40 dnl XXX FIXME XXX need tests for -p -c -s in mkoctfile.
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
41
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
42 dnl *******************************************************************
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
43 dnl Sort out mkoctfile version number and install paths
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
44
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
45 dnl XXX FIXME XXX latest octave has octave-config so we don't
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
46 dnl need to discover things here. Doesn't have --exe-site-dir
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
47 dnl but defines --oct-site-dir and --m-site-dir
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
48
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
49 dnl Check for mkoctfile
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
50 AC_CHECK_PROG(MKOCTFILE,mkoctfile,mkoctfile)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
51 test -z "$MKOCTFILE" && AC_MSG_WARN([no mkoctfile found on path])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
52
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
53 AC_SUBST(ver)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
54 AC_SUBST(subver)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
55 AC_SUBST(mpath)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
56 AC_SUBST(opath)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
57 AC_SUBST(xpath)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
58 AC_SUBST(altpath)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
59 AC_SUBST(altmpath)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
60 AC_SUBST(altopath)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
61 AC_SUBST(LIBRSB_LIBS)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
62 AC_SUBST(LIBRSB_CXXFLAGS)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
63
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
64 AC_ARG_WITH(path,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
65 [ --with-path install path prefix],
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
66 [ path=$withval ])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
67 AC_ARG_WITH(mpath,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
68 [ --with-mpath override path for m-files],
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
69 [mpath=$withval])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
70 AC_ARG_WITH(opath,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
71 [ --with-opath override path for oct-files],
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
72 [opath=$withval])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
73 AC_ARG_WITH(xpath,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
74 [ --with-xpath override path for executables],
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
75 [xpath=$withval])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
76 AC_ARG_WITH(altpath,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
77 [ --with-altpath alternative functions install path prefix],
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
78 [ altpath=$withval ])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
79 AC_ARG_WITH(altmpath,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
80 [ --with-altmpath override path for alternative m-files],
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
81 [altmpath=$withval])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
82 AC_ARG_WITH(altopath,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
83 [ --with-altopath override path for alternative oct-files],
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
84 [altopath=$withval])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
85 AC_ARG_WITH([swig],
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
86 [AS_HELP_STRING([--with-swig],[use swig wrapper generator [no]])],
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
87 [with_swig=$withval],
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
88 [with_swig=no])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
89
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
90 if test -n "$path" ; then
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
91 test -z "$mpath" && mpath=$path
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
92 test -z "$opath" && opath=$path/oct
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
93 test -z "$xpath" && xpath=$path/bin
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
94 test -z "$altpath" && altpath=$path-alternatives
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
95 fi
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
96
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
97 if test -n "$altpath" ; then
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
98 test -z "$altmpath" && altmpath=$altpath
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
99 test -z "$altopath" && altopath=$altpath/oct
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
100 fi
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
101
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
102 dnl Don't query if path/ver are given in the configure environment
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
103 #if test -z "$mpath" || test -z "$opath" || test -z "$xpath" || test -z "$altmpath" || test -z "$altopath" || test -z "$ver" ; then
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
104 if test -z "$mpath" || test -z "$opath" || test -z "$xpath" || test -z "$ver" ; then
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
105 dnl Construct program to get mkoctfile version and local install paths
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
106 cat > conftest.cc <<EOF
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
107 #include <octave/config.h>
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
108 #include <octave/version.h>
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
109 #include <octave/defaults.h>
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
110
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
111 #define INFOV "\nINFOV=" OCTAVE_VERSION "\n"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
112
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
113 #define INFOH "\nINFOH=" OCTAVE_CANONICAL_HOST_TYPE "\n"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
114
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
115 #ifdef OCTAVE_LOCALVERFCNFILEDIR
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
116 # define INFOM "\nINFOM=" OCTAVE_LOCALVERFCNFILEDIR "\n"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
117 #else
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
118 # define INFOM "\nINFOM=" OCTAVE_LOCALFCNFILEPATH "\n"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
119 #endif
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
120
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
121 #ifdef OCTAVE_LOCALVEROCTFILEDIR
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
122 # define INFOO "\nINFOO=" OCTAVE_LOCALVEROCTFILEDIR "\n"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
123 #else
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
124 # define INFOO "\nINFOO=" OCTAVE_LOCALOCTFILEPATH "\n"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
125 #endif
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
126
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
127 #ifdef OCTAVE_LOCALVERARCHLIBDIR
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
128 # define INFOX "\nINFOX=" OCTAVE_LOCALVERARCHLIBDIR "\n"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
129 #else
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
130 # define INFOX "\nINFOX=" OCTAVE_LOCALARCHLIBDIR "\n"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
131 #endif
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
132
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
133 const char *infom = INFOM;
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
134 const char *infoo = INFOO;
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
135 const char *infox = INFOX;
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
136 const char *infoh = INFOH;
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
137 const char *infov = INFOV;
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
138 EOF
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
139
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
140 dnl Compile program perhaps with a special version of mkoctfile
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
141 $MKOCTFILE conftest.cc || AC_MSG_ERROR(Could not run $MKOCTFILE)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
142
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
143 dnl Strip the config info from the compiled file
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
144 eval `strings conftest.o | grep "^INFO.=" | sed -e "s,//.*$,,"`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
145 rm -rf conftest*
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
146
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
147 dnl set the appropriate variables if they are not already set
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
148 ver=`echo $INFOV | sed -e "s/\.//" -e "s/\..*$//"`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
149 subver=`echo $INFOV | sed -e "[s/^[^.]*[.][^.]*[.]//]"`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
150 alt_mbase=`echo $INFOM | sed -e "[s,\/[^\/]*$,,]"`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
151 alt_obase=`echo $INFOO | sed -e "[s,/site.*$,/site,]"`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
152 test -z "$mpath" && mpath=$INFOM/octave-forge
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
153 test -z "$opath" && opath=$INFOO/octave-forge
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
154 test -z "$xpath" && xpath=$INFOX
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
155 test -z "$altmpath" && altmpath=$alt_mbase/octave-forge-alternatives/m
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
156 test -z "$altopath" && altopath=$alt_obase/octave-forge-alternatives/oct/$INFOH
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
157 fi
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
158
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
159 dnl *******************************************************************
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
160
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
161 dnl XXX FIXME XXX Should we allow the user to override these?
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
162 dnl Do we even need them? The individual makefiles can call mkoctfile -p
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
163 dnl themselves, so the only reason to keep them is for configure, and
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
164 dnl for those things which are not built using mkoctfile (e.g., aurecord)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
165 dnl but it is not clear we should be using octave compile flags for those.
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
166
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
167 dnl C compiler and flags
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
168 AC_MSG_RESULT([retrieving compile and link flags from $MKOCTFILE])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
169 CC=`$MKOCTFILE -p CC`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
170 CFLAGS=`$MKOCTFILE -p CFLAGS`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
171 CPPFLAGS=`$MKOCTFILE -p CPPFLAGS`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
172 CPICFLAG=`$MKOCTFILE -p CPICFLAG`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
173 LDFLAGS=`$MKOCTFILE -p LDFLAGS`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
174 LIBS=`$MKOCTFILE -p LIBS`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
175 # add -fPIC or equivalent flags
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
176 FPICFLAG=`$MKOCTFILE -p FPICFLAG`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
177 CPICFLAG=`$MKOCTFILE -p CPICFLAG`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
178 FFLAGS="$FFLAGS $FPICFLAG"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
179 CFLAGS="$CFLAGS $CPICFLAG"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
180 AC_SUBST(CC)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
181 AC_SUBST(CFLAGS)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
182 AC_SUBST(CPPFLAGS)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
183 AC_SUBST(CPICFLAG)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
184
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
185 dnl Fortran compiler and flags
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
186 F77=`$MKOCTFILE -p F77`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
187 FFLAGS=`$MKOCTFILE -p FFLAGS`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
188 FPICFLAG=`$MKOCTFILE -p FPICFLAG`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
189 AC_SUBST(F77)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
190 AC_SUBST(FFLAGS)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
191 AC_SUBST(FPICFLAG)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
192
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
193 dnl C++ compiler and flags
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
194 CXX=`$MKOCTFILE -p CXX`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
195 CXXFLAGS=`$MKOCTFILE -p CXXFLAGS`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
196 CXXPICFLAG=`$MKOCTFILE -p CXXPICFLAG`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
197 CXXFLAGS="$CXXFLAGS $CXXPICFLAG"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
198 AC_SUBST(CXX)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
199 AC_SUBST(CXXFLAGS)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
200 AC_SUBST(CXXPICFLAG)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
201
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
202 dnl *******************************************************************
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
203
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
204 dnl Check for features of your version of mkoctfile.
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
205 dnl All checks should be designed so that the default
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
206 dnl action if the tests are not performed is to do whatever
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
207 dnl is appropriate for the most recent version of Octave.
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
208
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
209 dnl Define the following macro:
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
210 dnl OF_CHECK_LIB(lib,fn,true,false,helpers)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
211 dnl This is just like AC_CHECK_LIB, but it doesn't update LIBS
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
212 AC_DEFUN(OF_CHECK_LIB,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
213 [save_LIBS="$LIBS"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
214 AC_CHECK_LIB($1,$2,$3,$4,$5)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
215 LIBS="$save_LIBS"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
216 ])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
217
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
218 dnl Define the following macro:
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
219 dnl TRY_MKOCTFILE(msg,program,action_if_true,action_if_false)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
220 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
221 AC_DEFUN(TRY_MKOCTFILE,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
222 [AC_MSG_CHECKING($1)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
223 cat > conftest.cc << EOF
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
224 #include <octave/config.h>
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
225 $2
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
226 EOF
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
227 ac_try="$MKOCTFILE -c conftest.cc"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
228 if AC_TRY_EVAL(ac_try) ; then
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
229 AC_MSG_RESULT(yes)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
230 $3
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
231 else
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
232 AC_MSG_RESULT(no)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
233 $4
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
234 fi
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
235 ])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
236
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
237 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
238 dnl Check if F77_FUNC works with MKOCTFILE
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
239 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
240 TRY_MKOCTFILE([for F77_FUNC],
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
241 [int F77_FUNC (hello, HELLO) (const int &n);],,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
242 [MKOCTFILE="$MKOCTFILE -DF77_FUNC=F77_FCN"])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
243
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
244 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
245 dnl Check if octave still uses SLList.h
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
246 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
247 TRY_MKOCTFILE([for SLList.h],[#include <octave/SLList.h>],
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
248 [MKOCTFILE="$MKOCTFILE -DHAVE_SLLIST_H"],)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
249
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
250 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
251 dnl Check if octave has lo_ieee_nan_value
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
252 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
253 TRY_MKOCTFILE([for lo_ieee_nan_value],
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
254 [ #include <octave/lo-ieee.h>
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
255 int test(void) { lo_ieee_nan_value(); }],,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
256 [MKOCTFILE="$MKOCTFILE -DUSE_OCTAVE_NAN"])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
257
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
258 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
259 dnl Check if octave is needs octave_idx_type
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
260 dnl
8882
c47ac161e75d sparsersb: commented out a (probably) redundant (octave_idx_type) symbol redefinition in configure.base.
michelemartone
parents: 8849
diff changeset
261 dnl TRY_MKOCTFILE([for octave_idx_type],
c47ac161e75d sparsersb: commented out a (probably) redundant (octave_idx_type) symbol redefinition in configure.base.
michelemartone
parents: 8849
diff changeset
262 dnl [#include <octave/oct-types.h>
c47ac161e75d sparsersb: commented out a (probably) redundant (octave_idx_type) symbol redefinition in configure.base.
michelemartone
parents: 8849
diff changeset
263 dnl octave_idx_type test(void) { octave_idx_type idx = 1; return idx; }],,
c47ac161e75d sparsersb: commented out a (probably) redundant (octave_idx_type) symbol redefinition in configure.base.
michelemartone
parents: 8849
diff changeset
264 dnl [MKOCTFILE="$MKOCTFILE -Doctave_idx_type=int"])
8849
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
265
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
266 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
267 dnl Check if octave uses quit.h
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
268 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
269 TRY_MKOCTFILE([for quit.h],[#include <octave/quit.h>],,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
270 [MKOCTFILE="$MKOCTFILE -DNEED_OCTAVE_QUIT"])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
271
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
272 dnl **********************************************************
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
273
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
274 dnl Evaluate an expression in octave
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
275 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
276 dnl OCTAVE_EVAL(expr,var) -> var=expr
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
277 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
278 AC_DEFUN(OCTAVE_EVAL,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
279 [AC_MSG_CHECKING([for $1 in Octave])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
280 $2=`echo "disp($1)" | $OCTAVE -qf`
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
281 AC_MSG_RESULT($$2)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
282 AC_SUBST($2)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
283 ])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
284
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
285 dnl Check status of an octave variable
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
286 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
287 dnl OCTAVE_CHECK_EXIST(variable,action_if_true,action_if_false)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
288 dnl
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
289 AC_DEFUN(OCTAVE_CHECK_EXIST,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
290 [AC_MSG_CHECKING([for $1 in Octave])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
291 if test `echo 'disp(exist("$1"))' | $OCTAVE -qf`X != 0X ; then
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
292 AC_MSG_RESULT(yes)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
293 $2
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
294 else
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
295 AC_MSG_RESULT(no)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
296 $3
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
297 fi
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
298 ])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
299
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
300 dnl should check that $(OCTAVE) --version matches $(MKOCTFILE) --version
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
301 AC_CHECK_PROG(OCTAVE,octave,octave)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
302 OCTAVE_EVAL(OCTAVE_VERSION,OCTAVE_VERSION)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
303
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
304 dnl grab canonical host type so we can write system specific install stuff
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
305 OCTAVE_EVAL(octave_config_info('canonical_host_type'),canonical_host_type)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
306
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
307 dnl grab SHLEXT from octave config
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
308 OCTAVE_EVAL(octave_config_info('SHLEXT'),SHLEXT)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
309
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
310 AC_PROG_LN_S
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
311
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
312 AC_PROG_RANLIB
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
313
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
314 dnl Use $(COPY_FLAGS) to set options for cp when installing .oct files.
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
315 COPY_FLAGS="-Rfp"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
316 case "$canonical_host_type" in
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
317 *-*-linux*)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
318 COPY_FLAGS="-fdp"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
319 ;;
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
320 esac
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
321 AC_SUBST(COPY_FLAGS)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
322
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
323 OTHERLIBS=
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
324 OF_CHECK_LIB(m,sin,[OTHERLIBS=-lm])
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
325 AC_SUBST(OTHERLIBS)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
326
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
327 OCTAVE_EVAL(octave_config_info('AR'),AR)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
328 OCTAVE_EVAL(octave_config_info('ARFLAGS'),ARFLAGS)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
329
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
330 CPPFLAGS="$CPPFLAGS -DSTATIC_LINKED"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
331
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
332 dnl Use $(STRIP) in the makefile to strip executables. If not found,
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
333 dnl STRIP expands to ':', which in the makefile does nothing.
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
334 dnl Don't need this for .oct files since mkoctfile handles them directly
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
335 STRIP=${STRIP-strip}
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
336 AC_CHECK_PROG(STRIP,$STRIP,$STRIP,:)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
337
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
338 dnl Strip on windows, don't strip on Mac OS/X or IRIX
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
339 dnl For the rest, you can force strip using MKOCTFILE="mkoctfile -s"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
340 dnl or avoid strip using STRIP=: before ./configure
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
341 case "$canonical_host_type" in
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
342 powerpc-apple-darwin*|*-sgi-*)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
343 STRIP=:
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
344 ;;
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
345 *-cygwin-*|*-mingw-*)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
346 MKOCTFILE="$MKOCTFILE -s"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
347 ;;
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
348 esac
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
349
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
350 dnl check for swig and test that it supports octave
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
351 SWIG=""
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
352 if test x"$with_swig" = "xyes"; then
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
353 AC_PATH_PROG(SWIG,swig)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
354 test -z "$SWIG" && AC_MSG_ERROR(swig not found on path)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
355 cat > conftest.i <<EOF
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
356 %module conftest
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
357 EOF
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
358 $SWIG -c++ -octave conftest.i || AC_MSG_ERROR(swig doesn't support octave modules)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
359 rm -f conftest.*
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
360 fi
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
361
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
362 CONFIGURE_OUTPUTS="Makeconf"
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
363 STATUS_MSG="
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
364 octave commands will install into the following directories:
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
365 m-files: $mpath
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
366 oct-files: $opath
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
367 binaries: $xpath
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
368 alternatives:
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
369 m-files: $altmpath
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
370 oct-files: $altopath
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
371
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
372 shell commands will install into the following directories:
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
373 binaries: $bindir
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
374 man pages: $mandir
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
375 libraries: $libdir
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
376 headers: $includedir
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
377
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
378 octave-forge is configured with
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
379 octave: $OCTAVE (version $OCTAVE_VERSION)
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
380 mkoctfile: $MKOCTFILE for Octave $subver
b995a264e374 imported the project files in main/sparsersb.
michelemartone
parents:
diff changeset
381 swig: $SWIG"