comparison configure.in @ 1018:9a64a46f2224

[project @ 1995-01-07 19:29:43 by jwe]
author jwe
date Sat, 07 Jan 1995 19:29:47 +0000
parents d52ca8be7d1e
children a5c1b9b305dd
comparison
equal deleted inserted replaced
1017:d52ca8be7d1e 1018:9a64a46f2224
19 ### 19 ###
20 ### You should have received a copy of the GNU General Public License 20 ### You should have received a copy of the GNU General Public License
21 ### along with Octave; see the file COPYING. If not, write to the Free 21 ### along with Octave; see the file COPYING. If not, write to the Free
22 ### Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22 ### Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
23 23
24 AC_REVISION($Revision: 1.84 $) 24 AC_REVISION($Revision: 1.85 $)
25 AC_PREREQ(2.0) 25 AC_PREREQ(2.0)
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 28
29 AC_DEFINE(OCTAVE_SOURCE, 1) 29 AC_DEFINE(OCTAVE_SOURCE, 1)
219 *) 219 *)
220 AC_MSG_WARN([Octave has only been tested with g++, and I can't find it]) 220 AC_MSG_WARN([Octave has only been tested with g++, and I can't find it])
221 ;; 221 ;;
222 esac 222 esac
223 223
224 HOST_CXXFLAGS=
224 case "$gxx_version" in 225 case "$gxx_version" in
225 2.6.*) 226 2.6.*)
226 case "$canonical_host_type" in 227 case "$canonical_host_type" in
227 rs6000-ibm-aix*) 228 rs6000-ibm-aix*)
228 CXXFLAGS="$CXXFLAGS -Wa,-u" 229 HOST_CXXFLAGS="-Wa,-u"
229 AC_MSG_RESULT([adding -Wa,-u to CXXFLAGS for AIX]) 230 AC_MSG_RESULT([defining HOST_CXXFLAGS to be $HOST_CXXFLAGS])
230 ;; 231 ;;
231 esac 232 esac
232 ;; 233 ;;
233 esac 234 esac
235
236 AC_SUBST(HOST_CXXFLAGS)
234 237
235 ### See what libraries are used by the C++ compiler. Need this for 238 ### See what libraries are used by the C++ compiler. Need this for
236 ### dynamic linking. 239 ### dynamic linking.
237 240
238 CXXLIBS=`sh $srcdir/cxxlibs.sh` 241 CXXLIBS=`sh $srcdir/cxxlibs.sh`