Date:2011-01-02 15:19:00 (13 years 2 months ago)
Author:David Kühling
Commit:9aaeb4623d3ff5746e665bc17914eefd292b7dcd
Message:New OpenWrt package for GNU Octave. Experimental/probably still broken. Work in progress. Committing it as compilation seems to take forever. Not sure whether I can finish this within a few days.

Files: octave/Makefile (1 diff)
octave/patches/010-configure.patch (1 diff)
octave/patches/020-no-x-windows.patch (1 diff)

Change Details

octave/Makefile
1#
2# Copyright (C) 2011 David Kuehling <dvdkhlng TA gmx TOD de>
3#
4# License GPLv2 or later. NO WARRANTY.
5#
6# OpenWRT package for the GNU Octave
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=octave
11PKG_VERSION:=3.2.4
12PKG_RELEASE:=1
13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14PKG_SOURCE_URL:=ftp://ftp.octave.org/pub/octave/
15PKG_MD5SUM:=90c39fa9e241ad2e978bcee4682a2ba9
16PKG_INSTALL:=1
17PKG_FIXUP:=libtool
18
19PKG_BUILD_DEPENDS:= libtool/host @INSTALL_GFORTRAN
20
21#include $(INCLUDE_DIR)/host-build.mk
22include $(INCLUDE_DIR)/package.mk
23
24# todo: graphicsmagick package from multimedia feed is not complete. We need
25# the Magick++ library and the Magick++-config script installed.
26define Package/octave/Default
27  SUBMENU:=Octave
28  SECTION:=lang
29  CATEGORY:=Languages
30  DEPENDS:= +libltdl +zlib +libpcre +libncurses +libreadline \
31    +octave-data
32#+fftw3
33#+GraphicsMagick
34
35  TITLE:=GNU Octave
36  URL:=http://www.gnu.org/software/octave/
37  SUBMENU:=Octave
38endef
39
40define Package/octave/Default/description
41GNU Octave is a high-level language, primarily intended for numerical
42computations. It provides a convenient command line interface for solving
43linear and nonlinear problems numerically, and for performing other numerical
44experiments using a language that is mostly compatible with Matlab. It may
45also be used as a batch-oriented language.
46endef
47
48define Package/octave
49$(call Package/octave/Default)
50  DEPENDS:=+octave-data
51  TITLE+= (executable)
52endef
53
54define Package/octave/description
55$(call Package/octave/Default/description)
56 This package contains the Octave executable files
57endef
58
59define Package/octave-data
60$(call Package/octave/Default)
61  TITLE+= (function files)
62endef
63
64define Package/octave-data/description
65$(call Package/octave/Default/description)
66 This package contains the platform-independant .m-files.
67endef
68
69# fftw contains a lots of code. not much use for soft-float anyways. try to
70# keep memory low and go without fftw (using smaller fftpack instead).
71# todo: verify how much RAM that actually safes
72CONFIGURE_ARGS += --without-x --without-fftw
73#MAKE_FLAGS += "LD=$(TARGET_CROSS)gcc -nostdlib"
74
75define Build/Configure
76    $(call Build/Configure/Default)
77endef
78
79define Build/Compile
80    $(call Build/Compile/Default,-j3)
81endef
82
83define Build/Install
84    $(call Build/Install/Default)
85# $(INSTALL_DATA) ./files/... $(PKG_INSTALL_DIR)/usr/share/octave/
86endef
87
88define Package/octave/install
89    $(INSTALL_DIR) $(1)/usr
90    cp -r $(PKG_INSTALL_DIR)/usr/{bin,lib} $(1)/usr
91endef
92
93define Package/octave-data/install
94    $(INSTALL_DIR) $(1)/
95    (cd $(PKG_INSTALL_DIR)/ && tar -cf - usr/share) \
96        | (cd $(1)/ && tar -xvf -)
97endef
98
99#$(eval $(call HostBuild))
100$(eval $(call BuildPackage,octave))
101$(eval $(call BuildPackage,octave-data))
102
103
104# The following comments configure the Emacs editor. Just ignore them.
105# Local Variables:
106# compile-command: "make -C ~/h/src/qi/openwrt-xburst package/octave/compile -j2 V=99"
107# End:
octave/patches/010-configure.patch
1Index: octave-3.2.4/aclocal.m4
2===================================================================
3--- octave-3.2.4.orig/aclocal.m4 2011-01-02 13:17:05.000000000 +0100
4@@ -109,7 +109,8 @@
5 struct tm t;
6 char *q = strptime ("09/13", "%m/%d/%y", &t);
7 return q ? 1 : 0;
8-]])], [octave_cv_strptime_broken=no], [octave_cv_strptime_broken=yes])])
9+]])], [octave_cv_strptime_broken=no], [octave_cv_strptime_broken=yes],
10+[octave_cv_strptime_broken=yes])])
11 if test $octave_cv_strptime_broken = yes; then
12 AC_DEFINE(OCTAVE_HAVE_BROKEN_STRPTIME, 1, [Define if strptime is broken on your system])
13 fi
14@@ -1386,7 +1387,8 @@
15 ]])],
16 [AC_MSG_RESULT([yes])
17  AC_DEFINE(HAVE_FAST_INT_OPS,1,[Define if signed integers use two's complement])],
18-[AC_MSG_RESULT([no])])
19+[AC_MSG_RESULT([no])],
20+[AC_MSG_RESULT([guessing no])])
21 AC_LANG_POP(C++)])
22 dnl
23 dnl Check to see if the compiler and the linker can handle the flags
24Index: octave-3.2.4/configure
25===================================================================
26--- octave-3.2.4.orig/configure 2011-01-02 13:17:12.000000000 +0100
27@@ -1,12 +1,14 @@
28 #! /bin/sh
29 # From configure.in Revision: 1.603 .
30 # Guess values for system-dependent variables and create Makefiles.
31-# Generated by GNU Autoconf 2.64.
32+# Generated by GNU Autoconf 2.67.
33+#
34 #
35 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
36-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
37+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
38 # Foundation, Inc.
39 #
40+#
41 # This configure script is free software; the Free Software Foundation
42 # gives unlimited permission to copy, distribute and modify it.
43 ## -------------------- ##
44@@ -315,7 +317,7 @@
45       test -d "$as_dir" && break
46     done
47     test -z "$as_dirs" || eval "mkdir $as_dirs"
48- } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
49+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
50
51
52 } # as_fn_mkdir_p
53@@ -355,19 +357,19 @@
54 fi # as_fn_arith
55
56
57-# as_fn_error ERROR [LINENO LOG_FD]
58-# ---------------------------------
59+# as_fn_error STATUS ERROR [LINENO LOG_FD]
60+# ----------------------------------------
61 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
62 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
63-# script with status $?, using 1 if that was 0.
64+# script with STATUS, using 1 if that was 0.
65 as_fn_error ()
66 {
67- as_status=$?; test $as_status -eq 0 && as_status=1
68- if test "$3"; then
69- as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
70- $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
71+ as_status=$1; test $as_status -eq 0 && as_status=1
72+ if test "$4"; then
73+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
74+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
75   fi
76- $as_echo "$as_me: error: $1" >&2
77+ $as_echo "$as_me: error: $2" >&2
78   as_fn_exit $as_status
79 } # as_fn_error
80
81@@ -525,10 +527,11 @@
82 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
83
84
85-exec 7<&0 </dev/null 6>&1
86+test -n "$DJDIR" || exec 7<&0 </dev/null
87+exec 6>&1
88
89 # Name of the host.
90-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
91+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
92 # so uname gets run too.
93 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
94
95@@ -937,8 +940,9 @@
96   fi
97
98   case $ac_option in
99- *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
100- *) ac_optarg=yes ;;
101+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
102+ *=) ac_optarg= ;;
103+ *) ac_optarg=yes ;;
104   esac
105
106   # Accept the important Cygnus configure options, so we can diagnose typos.
107@@ -983,7 +987,7 @@
108     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
109     # Reject names that are not valid shell variable names.
110     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
111- as_fn_error "invalid feature name: $ac_useropt"
112+ as_fn_error $? "invalid feature name: $ac_useropt"
113     ac_useropt_orig=$ac_useropt
114     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
115     case $ac_user_opts in
116@@ -1009,7 +1013,7 @@
117     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
118     # Reject names that are not valid shell variable names.
119     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
120- as_fn_error "invalid feature name: $ac_useropt"
121+ as_fn_error $? "invalid feature name: $ac_useropt"
122     ac_useropt_orig=$ac_useropt
123     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
124     case $ac_user_opts in
125@@ -1213,7 +1217,7 @@
126     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
127     # Reject names that are not valid shell variable names.
128     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
129- as_fn_error "invalid package name: $ac_useropt"
130+ as_fn_error $? "invalid package name: $ac_useropt"
131     ac_useropt_orig=$ac_useropt
132     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
133     case $ac_user_opts in
134@@ -1229,7 +1233,7 @@
135     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
136     # Reject names that are not valid shell variable names.
137     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
138- as_fn_error "invalid package name: $ac_useropt"
139+ as_fn_error $? "invalid package name: $ac_useropt"
140     ac_useropt_orig=$ac_useropt
141     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
142     case $ac_user_opts in
143@@ -1259,8 +1263,8 @@
144   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
145     x_libraries=$ac_optarg ;;
146
147- -*) as_fn_error "unrecognized option: \`$ac_option'
148-Try \`$0 --help' for more information."
149+ -*) as_fn_error $? "unrecognized option: \`$ac_option'
150+Try \`$0 --help' for more information"
151     ;;
152
153   *=*)
154@@ -1268,7 +1272,7 @@
155     # Reject names that are not valid shell variable names.
156     case $ac_envvar in #(
157       '' | [0-9]* | *[!_$as_cr_alnum]* )
158- as_fn_error "invalid variable name: \`$ac_envvar'" ;;
159+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
160     esac
161     eval $ac_envvar=\$ac_optarg
162     export $ac_envvar ;;
163@@ -1286,13 +1290,13 @@
164
165 if test -n "$ac_prev"; then
166   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
167- as_fn_error "missing argument to $ac_option"
168+ as_fn_error $? "missing argument to $ac_option"
169 fi
170
171 if test -n "$ac_unrecognized_opts"; then
172   case $enable_option_checking in
173     no) ;;
174- fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
175+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
176     *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
177   esac
178 fi
179@@ -1315,7 +1319,7 @@
180     [\\/$]* | ?:[\\/]* ) continue;;
181     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
182   esac
183- as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
184+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
185 done
186
187 # There might be people who depend on the old broken behavior: `$host'
188@@ -1329,8 +1333,8 @@
189 if test "x$host_alias" != x; then
190   if test "x$build_alias" = x; then
191     cross_compiling=maybe
192- $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
193- If a cross compiler is detected then cross compile mode will be used." >&2
194+ $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
195+ If a cross compiler is detected then cross compile mode will be used" >&2
196   elif test "x$build_alias" != "x$host_alias"; then
197     cross_compiling=yes
198   fi
199@@ -1345,9 +1349,9 @@
200 ac_pwd=`pwd` && test -n "$ac_pwd" &&
201 ac_ls_di=`ls -di .` &&
202 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
203- as_fn_error "working directory cannot be determined"
204+ as_fn_error $? "working directory cannot be determined"
205 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
206- as_fn_error "pwd does not report name of working directory"
207+ as_fn_error $? "pwd does not report name of working directory"
208
209
210 # Find the source files, if location was not specified.
211@@ -1386,11 +1390,11 @@
212 fi
213 if test ! -r "$srcdir/$ac_unique_file"; then
214   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
215- as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
216+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
217 fi
218 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
219 ac_abs_confdir=`(
220- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
221+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
222     pwd)`
223 # When building in place, set srcdir=.
224 if test "$ac_abs_confdir" = "$ac_pwd"; then
225@@ -1430,7 +1434,7 @@
226       --help=short display options specific to this package
227       --help=recursive display the short help of all the included packages
228   -V, --version display version information and exit
229- -q, --quiet, --silent do not print \`checking...' messages
230+ -q, --quiet, --silent do not print \`checking ...' messages
231       --cache-file=FILE cache test results in FILE [disabled]
232   -C, --config-cache alias for \`--cache-file=config.cache'
233   -n, --no-create do not create output files
234@@ -1549,7 +1553,7 @@
235   LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
236               nonstandard directory <lib dir>
237   LIBS libraries to pass to the linker, e.g. -l<library>
238- CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
239+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
240               you have headers in a nonstandard directory <include dir>
241   CPP C preprocessor
242   CXX C++ compiler command
243@@ -1641,9 +1645,9 @@
244 if $ac_init_version; then
245   cat <<\_ACEOF
246 configure
247-generated by GNU Autoconf 2.64
248+generated by GNU Autoconf 2.67
249
250-Copyright (C) 2009 Free Software Foundation, Inc.
251+Copyright (C) 2010 Free Software Foundation, Inc.
252 This configure script is free software; the Free Software Foundation
253 gives unlimited permission to copy, distribute and modify it.
254 _ACEOF
255@@ -1688,7 +1692,7 @@
256     ac_retval=1
257 fi
258   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
259- return $ac_retval
260+ as_fn_set_status $ac_retval
261
262 } # ac_fn_c_try_compile
263
264@@ -1713,7 +1717,7 @@
265     mv -f conftest.er1 conftest.err
266   fi
267   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
268- test $ac_status = 0; } >/dev/null && {
269+ test $ac_status = 0; } > conftest.i && {
270      test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
271      test ! -s conftest.err
272        }; then :
273@@ -1725,7 +1729,7 @@
274     ac_retval=1
275 fi
276   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
277- return $ac_retval
278+ as_fn_set_status $ac_retval
279
280 } # ac_fn_c_try_cpp
281
282@@ -1737,10 +1741,10 @@
283 ac_fn_c_check_header_mongrel ()
284 {
285   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
286- if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
287+ if eval "test \"\${$3+set}\"" = set; then :
288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
289 $as_echo_n "checking for $2... " >&6; }
290-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
291+if eval "test \"\${$3+set}\"" = set; then :
292   $as_echo_n "(cached) " >&6
293 fi
294 eval ac_res=\$$3
295@@ -1776,7 +1780,7 @@
296 else
297   ac_header_preproc=no
298 fi
299-rm -f conftest.err conftest.$ac_ext
300+rm -f conftest.err conftest.i conftest.$ac_ext
301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
302 $as_echo "$ac_header_preproc" >&6; }
303
304@@ -1803,7 +1807,7 @@
305 esac
306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
307 $as_echo_n "checking for $2... " >&6; }
308-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
309+if eval "test \"\${$3+set}\"" = set; then :
310   $as_echo_n "(cached) " >&6
311 else
312   eval "$3=\$ac_header_compiler"
313@@ -1854,7 +1858,7 @@
314 fi
315   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
316   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
317- return $ac_retval
318+ as_fn_set_status $ac_retval
319
320 } # ac_fn_c_try_run
321
322@@ -1867,7 +1871,7 @@
323   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
325 $as_echo_n "checking for $2... " >&6; }
326-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
327+if eval "test \"\${$3+set}\"" = set; then :
328   $as_echo_n "(cached) " >&6
329 else
330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
331@@ -2063,7 +2067,7 @@
332
333   fi
334   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
335- return $ac_retval
336+ as_fn_set_status $ac_retval
337
338 } # ac_fn_c_compute_int
339
340@@ -2101,7 +2105,7 @@
341     ac_retval=1
342 fi
343   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
344- return $ac_retval
345+ as_fn_set_status $ac_retval
346
347 } # ac_fn_cxx_try_compile
348
349@@ -2126,7 +2130,7 @@
350     mv -f conftest.er1 conftest.err
351   fi
352   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
353- test $ac_status = 0; } >/dev/null && {
354+ test $ac_status = 0; } > conftest.i && {
355      test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
356      test ! -s conftest.err
357        }; then :
358@@ -2138,7 +2142,7 @@
359     ac_retval=1
360 fi
361   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
362- return $ac_retval
363+ as_fn_set_status $ac_retval
364
365 } # ac_fn_cxx_try_cpp
366
367@@ -2184,7 +2188,7 @@
368   # left behind by Apple's compiler. We do this before executing the actions.
369   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
370   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
371- return $ac_retval
372+ as_fn_set_status $ac_retval
373
374 } # ac_fn_cxx_try_link
375
376@@ -2230,7 +2234,7 @@
377   # left behind by Apple's compiler. We do this before executing the actions.
378   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
379   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
380- return $ac_retval
381+ as_fn_set_status $ac_retval
382
383 } # ac_fn_c_try_link
384
385@@ -2242,7 +2246,7 @@
386   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
388 $as_echo_n "checking for $2... " >&6; }
389-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
390+if eval "test \"\${$3+set}\"" = set; then :
391   $as_echo_n "(cached) " >&6
392 else
393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
394@@ -2309,10 +2313,10 @@
395 ac_fn_cxx_check_header_mongrel ()
396 {
397   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
398- if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
399+ if eval "test \"\${$3+set}\"" = set; then :
400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
401 $as_echo_n "checking for $2... " >&6; }
402-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
403+if eval "test \"\${$3+set}\"" = set; then :
404   $as_echo_n "(cached) " >&6
405 fi
406 eval ac_res=\$$3
407@@ -2348,7 +2352,7 @@
408 else
409   ac_header_preproc=no
410 fi
411-rm -f conftest.err conftest.$ac_ext
412+rm -f conftest.err conftest.i conftest.$ac_ext
413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
414 $as_echo "$ac_header_preproc" >&6; }
415
416@@ -2375,7 +2379,7 @@
417 esac
418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
419 $as_echo_n "checking for $2... " >&6; }
420-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
421+if eval "test \"\${$3+set}\"" = set; then :
422   $as_echo_n "(cached) " >&6
423 else
424   eval "$3=\$ac_header_compiler"
425@@ -2422,7 +2426,7 @@
426     ac_retval=1
427 fi
428   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
429- return $ac_retval
430+ as_fn_set_status $ac_retval
431
432 } # ac_fn_f77_try_compile
433
434@@ -2468,7 +2472,7 @@
435   # left behind by Apple's compiler. We do this before executing the actions.
436   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
437   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
438- return $ac_retval
439+ as_fn_set_status $ac_retval
440
441 } # ac_fn_f77_try_link
442
443@@ -2510,7 +2514,7 @@
444 fi
445   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
446   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
447- return $ac_retval
448+ as_fn_set_status $ac_retval
449
450 } # ac_fn_f77_try_run
451
452@@ -2523,7 +2527,7 @@
453   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
455 $as_echo_n "checking for $2... " >&6; }
456-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
457+if eval "test \"\${$3+set}\"" = set; then :
458   $as_echo_n "(cached) " >&6
459 else
460   eval "$3=no"
461@@ -2622,19 +2626,22 @@
462 fi
463   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
464   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
465- return $ac_retval
466+ as_fn_set_status $ac_retval
467
468 } # ac_fn_cxx_try_run
469
470-# ac_fn_cxx_check_decl LINENO SYMBOL VAR
471-# --------------------------------------
472-# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
473+# ac_fn_cxx_check_decl LINENO SYMBOL VAR INCLUDES
474+# -----------------------------------------------
475+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
476+# accordingly.
477 ac_fn_cxx_check_decl ()
478 {
479   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
480- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
481-$as_echo_n "checking whether $2 is declared... " >&6; }
482-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
483+ as_decl_name=`echo $2|sed 's/ *(.*//'`
484+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
485+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
486+$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
487+if eval "test \"\${$3+set}\"" = set; then :
488   $as_echo_n "(cached) " >&6
489 else
490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
491@@ -2651,8 +2658,12 @@
492 int
493 main ()
494 {
495-#ifndef $2
496- (void) $2;
497+#ifndef $as_decl_name
498+#ifdef __cplusplus
499+ (void) $as_decl_use;
500+#else
501+ (void) $as_decl_name;
502+#endif
503 #endif
504
505   ;
506@@ -2681,7 +2692,7 @@
507   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
509 $as_echo_n "checking for $2... " >&6; }
510-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
511+if eval "test \"\${$3+set}\"" = set; then :
512   $as_echo_n "(cached) " >&6
513 else
514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
515@@ -2748,15 +2759,18 @@
516
517 } # ac_fn_cxx_check_func
518
519-# ac_fn_c_check_decl LINENO SYMBOL VAR
520-# ------------------------------------
521-# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
522+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
523+# ---------------------------------------------
524+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
525+# accordingly.
526 ac_fn_c_check_decl ()
527 {
528   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
529- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
530-$as_echo_n "checking whether $2 is declared... " >&6; }
531-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
532+ as_decl_name=`echo $2|sed 's/ *(.*//'`
533+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
534+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
535+$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
536+if eval "test \"\${$3+set}\"" = set; then :
537   $as_echo_n "(cached) " >&6
538 else
539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
540@@ -2773,8 +2787,12 @@
541 int
542 main ()
543 {
544-#ifndef $2
545- (void) $2;
546+#ifndef $as_decl_name
547+#ifdef __cplusplus
548+ (void) $as_decl_use;
549+#else
550+ (void) $as_decl_name;
551+#endif
552 #endif
553
554   ;
555@@ -2804,7 +2822,7 @@
556   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
558 $as_echo_n "checking for $2.$3... " >&6; }
559-if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
560+if eval "test \"\${$4+set}\"" = set; then :
561   $as_echo_n "(cached) " >&6
562 else
563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
564@@ -2872,7 +2890,7 @@
565 running configure, to aid debugging if configure makes a mistake.
566
567 It was created by $as_me, which was
568-generated by GNU Autoconf 2.64. Invocation command line was
569+generated by GNU Autoconf 2.67. Invocation command line was
570
571   $ $0 $@
572
573@@ -2982,11 +3000,9 @@
574   {
575     echo
576
577- cat <<\_ASBOX
578-## ---------------- ##
579+ $as_echo "## ---------------- ##
580 ## Cache variables. ##
581-## ---------------- ##
582-_ASBOX
583+## ---------------- ##"
584     echo
585     # The following way of writing the cache mishandles newlines in values,
586 (
587@@ -3020,11 +3036,9 @@
588 )
589     echo
590
591- cat <<\_ASBOX
592-## ----------------- ##
593+ $as_echo "## ----------------- ##
594 ## Output variables. ##
595-## ----------------- ##
596-_ASBOX
597+## ----------------- ##"
598     echo
599     for ac_var in $ac_subst_vars
600     do
601@@ -3037,11 +3051,9 @@
602     echo
603
604     if test -n "$ac_subst_files"; then
605- cat <<\_ASBOX
606-## ------------------- ##
607+ $as_echo "## ------------------- ##
608 ## File substitutions. ##
609-## ------------------- ##
610-_ASBOX
611+## ------------------- ##"
612       echo
613       for ac_var in $ac_subst_files
614       do
615@@ -3055,11 +3067,9 @@
616     fi
617
618     if test -s confdefs.h; then
619- cat <<\_ASBOX
620-## ----------- ##
621+ $as_echo "## ----------- ##
622 ## confdefs.h. ##
623-## ----------- ##
624-_ASBOX
625+## ----------- ##"
626       echo
627       cat confdefs.h
628       echo
629@@ -3114,7 +3124,12 @@
630 ac_site_file1=NONE
631 ac_site_file2=NONE
632 if test -n "$CONFIG_SITE"; then
633- ac_site_file1=$CONFIG_SITE
634+ # We do not want a PATH search for config.site.
635+ case $CONFIG_SITE in #((
636+ -*) ac_site_file1=./$CONFIG_SITE;;
637+ */*) ac_site_file1=$CONFIG_SITE;;
638+ *) ac_site_file1=./$CONFIG_SITE;;
639+ esac
640 elif test "x$prefix" != xNONE; then
641   ac_site_file1=$prefix/share/config.site
642   ac_site_file2=$prefix/etc/config.site
643@@ -3125,18 +3140,22 @@
644 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
645 do
646   test "x$ac_site_file" = xNONE && continue
647- if test -r "$ac_site_file"; then
648+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
649     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
650 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
651     sed 's/^/| /' "$ac_site_file" >&5
652- . "$ac_site_file"
653+ . "$ac_site_file" \
654+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
655+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
656+as_fn_error $? "failed to load site script $ac_site_file
657+See \`config.log' for more details" "$LINENO" 5 ; }
658   fi
659 done
660
661 if test -r "$cache_file"; then
662- # Some versions of bash will fail to source /dev/null (special
663- # files actually), so we avoid doing that.
664- if test -f "$cache_file"; then
665+ # Some versions of bash will fail to source /dev/null (special files
666+ # actually), so we avoid doing that. DJGPP emulates it as a regular file.
667+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then
668     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
669 $as_echo "$as_me: loading cache $cache_file" >&6;}
670     case $cache_file in
671@@ -3205,7 +3224,7 @@
672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
673   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
674 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
675- as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
676+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
677 fi
678 ## -------------------- ##
679 ## Main body of script. ##
680@@ -3226,16 +3245,22 @@
681
682 ac_aux_dir=
683 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
684- for ac_t in install-sh install.sh shtool; do
685- if test -f "$ac_dir/$ac_t"; then
686- ac_aux_dir=$ac_dir
687- ac_install_sh="$ac_aux_dir/$ac_t -c"
688- break 2
689- fi
690- done
691+ if test -f "$ac_dir/install-sh"; then
692+ ac_aux_dir=$ac_dir
693+ ac_install_sh="$ac_aux_dir/install-sh -c"
694+ break
695+ elif test -f "$ac_dir/install.sh"; then
696+ ac_aux_dir=$ac_dir
697+ ac_install_sh="$ac_aux_dir/install.sh -c"
698+ break
699+ elif test -f "$ac_dir/shtool"; then
700+ ac_aux_dir=$ac_dir
701+ ac_install_sh="$ac_aux_dir/shtool install -c"
702+ break
703+ fi
704 done
705 if test -z "$ac_aux_dir"; then
706- as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
707+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
708 fi
709
710 # These three variables are undocumented and unsupported,
711@@ -3249,7 +3274,7 @@
712
713 # Make sure we can run config.sub.
714 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
715- as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
716+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
717
718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
719 $as_echo_n "checking build system type... " >&6; }
720@@ -3260,16 +3285,16 @@
721 test "x$ac_build_alias" = x &&
722   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
723 test "x$ac_build_alias" = x &&
724- as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
725+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
726 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
727- as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
728+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
729
730 fi
731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
732 $as_echo "$ac_cv_build" >&6; }
733 case $ac_cv_build in
734 *-*-*) ;;
735-*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
736+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
737 esac
738 build=$ac_cv_build
739 ac_save_IFS=$IFS; IFS='-'
740@@ -3294,7 +3319,7 @@
741   ac_cv_host=$ac_cv_build
742 else
743   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
744- as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
745+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
746 fi
747
748 fi
749@@ -3302,7 +3327,7 @@
750 $as_echo "$ac_cv_host" >&6; }
751 case $ac_cv_host in
752 *-*-*) ;;
753-*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
754+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
755 esac
756 host=$ac_cv_host
757 ac_save_IFS=$IFS; IFS='-'
758@@ -3651,8 +3676,8 @@
759
760 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
762-as_fn_error "no acceptable C compiler found in \$PATH
763-See \`config.log' for more details." "$LINENO" 5; }
764+as_fn_error $? "no acceptable C compiler found in \$PATH
765+See \`config.log' for more details" "$LINENO" 5 ; }
766
767 # Provide some information about the compiler.
768 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
769@@ -3673,32 +3698,30 @@
770 ... rest of stderr output deleted ...
771          10q' conftest.err >conftest.er1
772     cat conftest.er1 >&5
773- rm -f conftest.er1 conftest.err
774   fi
775+ rm -f conftest.er1 conftest.err
776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
777   test $ac_status = 0; }
778 done
779
780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
781 /* end confdefs.h. */
782-#include <stdio.h>
783+
784 int
785 main ()
786 {
787-FILE *f = fopen ("conftest.out", "w");
788- return ferror (f) || fclose (f) != 0;
789
790   ;
791   return 0;
792 }
793 _ACEOF
794 ac_clean_files_save=$ac_clean_files
795-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
796+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
797 # Try to create an executable without -o first, disregard a.out.
798 # It will help us diagnose broken compilers, and finding out an intuition
799 # of exeext.
800-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
801-$as_echo_n "checking for C compiler default output file name... " >&6; }
802+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
803+$as_echo_n "checking whether the C compiler works... " >&6; }
804 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
805
806 # The possible output files:
807@@ -3760,62 +3783,28 @@
808 else
809   ac_file=''
810 fi
811-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
812-$as_echo "$ac_file" >&6; }
813 if test -z "$ac_file"; then :
814- $as_echo "$as_me: failed program was:" >&5
815+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
816+$as_echo "no" >&6; }
817+$as_echo "$as_me: failed program was:" >&5
818 sed 's/^/| /' conftest.$ac_ext >&5
819
820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
822-{ as_fn_set_status 77
823-as_fn_error "C compiler cannot create executables
824-See \`config.log' for more details." "$LINENO" 5; }; }
825+as_fn_error 77 "C compiler cannot create executables
826+See \`config.log' for more details" "$LINENO" 5 ; }
827+else
828+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
829+$as_echo "yes" >&6; }
830 fi
831+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
832+$as_echo_n "checking for C compiler default output file name... " >&6; }
833+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
834+$as_echo "$ac_file" >&6; }
835 ac_exeext=$ac_cv_exeext
836
837-# Check that the compiler produces executables we can run. If not, either
838-# the compiler is broken, or we cross compile.
839-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
840-$as_echo_n "checking whether the C compiler works... " >&6; }
841-# If not cross compiling, check that we can run a simple program.
842-if test "$cross_compiling" != yes; then
843- if { ac_try='./$ac_file'
844- { { case "(($ac_try" in
845- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
846- *) ac_try_echo=$ac_try;;
847-esac
848-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
849-$as_echo "$ac_try_echo"; } >&5
850- (eval "$ac_try") 2>&5
851- ac_status=$?
852- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
853- test $ac_status = 0; }; }; then
854- cross_compiling=no
855- else
856- if test "$cross_compiling" = maybe; then
857- cross_compiling=yes
858- else
859- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
860-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
861-as_fn_error "cannot run C compiled programs.
862-If you meant to cross compile, use \`--host'.
863-See \`config.log' for more details." "$LINENO" 5; }
864- fi
865- fi
866-fi
867-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
868-$as_echo "yes" >&6; }
869-
870-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
871+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
872 ac_clean_files=$ac_clean_files_save
873-# Check that the compiler produces executables we can run. If not, either
874-# the compiler is broken, or we cross compile.
875-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
876-$as_echo_n "checking whether we are cross compiling... " >&6; }
877-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
878-$as_echo "$cross_compiling" >&6; }
879-
880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
881 $as_echo_n "checking for suffix of executables... " >&6; }
882 if { { ac_try="$ac_link"
883@@ -3845,16 +3834,75 @@
884 else
885   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
887-as_fn_error "cannot compute suffix of executables: cannot compile and link
888-See \`config.log' for more details." "$LINENO" 5; }
889+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
890+See \`config.log' for more details" "$LINENO" 5 ; }
891 fi
892-rm -f conftest$ac_cv_exeext
893+rm -f conftest conftest$ac_cv_exeext
894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
895 $as_echo "$ac_cv_exeext" >&6; }
896
897 rm -f conftest.$ac_ext
898 EXEEXT=$ac_cv_exeext
899 ac_exeext=$EXEEXT
900+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
901+/* end confdefs.h. */
902+#include <stdio.h>
903+int
904+main ()
905+{
906+FILE *f = fopen ("conftest.out", "w");
907+ return ferror (f) || fclose (f) != 0;
908+
909+ ;
910+ return 0;
911+}
912+_ACEOF
913+ac_clean_files="$ac_clean_files conftest.out"
914+# Check that the compiler produces executables we can run. If not, either
915+# the compiler is broken, or we cross compile.
916+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
917+$as_echo_n "checking whether we are cross compiling... " >&6; }
918+if test "$cross_compiling" != yes; then
919+ { { ac_try="$ac_link"
920+case "(($ac_try" in
921+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
922+ *) ac_try_echo=$ac_try;;
923+esac
924+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
925+$as_echo "$ac_try_echo"; } >&5
926+ (eval "$ac_link") 2>&5
927+ ac_status=$?
928+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
929+ test $ac_status = 0; }
930+ if { ac_try='./conftest$ac_cv_exeext'
931+ { { case "(($ac_try" in
932+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
933+ *) ac_try_echo=$ac_try;;
934+esac
935+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
936+$as_echo "$ac_try_echo"; } >&5
937+ (eval "$ac_try") 2>&5
938+ ac_status=$?
939+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
940+ test $ac_status = 0; }; }; then
941+ cross_compiling=no
942+ else
943+ if test "$cross_compiling" = maybe; then
944+ cross_compiling=yes
945+ else
946+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
947+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
948+as_fn_error $? "cannot run C compiled programs.
949+If you meant to cross compile, use \`--host'.
950+See \`config.log' for more details" "$LINENO" 5 ; }
951+ fi
952+ fi
953+fi
954+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
955+$as_echo "$cross_compiling" >&6; }
956+
957+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
958+ac_clean_files=$ac_clean_files_save
959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
960 $as_echo_n "checking for suffix of object files... " >&6; }
961 if test "${ac_cv_objext+set}" = set; then :
962@@ -3897,8 +3945,8 @@
963
964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
966-as_fn_error "cannot compute suffix of object files: cannot compile
967-See \`config.log' for more details." "$LINENO" 5; }
968+as_fn_error $? "cannot compute suffix of object files: cannot compile
969+See \`config.log' for more details" "$LINENO" 5 ; }
970 fi
971 rm -f conftest.$ac_cv_objext conftest.$ac_ext
972 fi
973@@ -4161,7 +4209,7 @@
974   # Broken: fails on valid input.
975 continue
976 fi
977-rm -f conftest.err conftest.$ac_ext
978+rm -f conftest.err conftest.i conftest.$ac_ext
979
980   # OK, works on sane cases. Now check whether nonexistent headers
981   # can be detected and how.
982@@ -4177,11 +4225,11 @@
983 ac_preproc_ok=:
984 break
985 fi
986-rm -f conftest.err conftest.$ac_ext
987+rm -f conftest.err conftest.i conftest.$ac_ext
988
989 done
990 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
991-rm -f conftest.err conftest.$ac_ext
992+rm -f conftest.i conftest.err conftest.$ac_ext
993 if $ac_preproc_ok; then :
994   break
995 fi
996@@ -4220,7 +4268,7 @@
997   # Broken: fails on valid input.
998 continue
999 fi
1000-rm -f conftest.err conftest.$ac_ext
1001+rm -f conftest.err conftest.i conftest.$ac_ext
1002
1003   # OK, works on sane cases. Now check whether nonexistent headers
1004   # can be detected and how.
1005@@ -4236,18 +4284,18 @@
1006 ac_preproc_ok=:
1007 break
1008 fi
1009-rm -f conftest.err conftest.$ac_ext
1010+rm -f conftest.err conftest.i conftest.$ac_ext
1011
1012 done
1013 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1014-rm -f conftest.err conftest.$ac_ext
1015+rm -f conftest.i conftest.err conftest.$ac_ext
1016 if $ac_preproc_ok; then :
1017
1018 else
1019   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1021-as_fn_error "C preprocessor \"$CPP\" fails sanity check
1022-See \`config.log' for more details." "$LINENO" 5; }
1023+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
1024+See \`config.log' for more details" "$LINENO" 5 ; }
1025 fi
1026
1027 ac_ext=c
1028@@ -4308,7 +4356,7 @@
1029   done
1030 IFS=$as_save_IFS
1031   if test -z "$ac_cv_path_GREP"; then
1032- as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1033+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1034   fi
1035 else
1036   ac_cv_path_GREP=$GREP
1037@@ -4374,7 +4422,7 @@
1038   done
1039 IFS=$as_save_IFS
1040   if test -z "$ac_cv_path_EGREP"; then
1041- as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1042+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1043   fi
1044 else
1045   ac_cv_path_EGREP=$EGREP
1046@@ -4506,8 +4554,7 @@
1047   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
1048 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
1049 "
1050-eval as_val=\$$as_ac_Header
1051- if test "x$as_val" = x""yes; then :
1052+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1053   cat >>confdefs.h <<_ACEOF
1054 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1055 _ACEOF
1056@@ -4596,7 +4643,7 @@
1057       esac
1058     ;;
1059   no)
1060- as_fn_error "You are required to define a path separation character" "$LINENO" 5
1061+ as_fn_error $? "You are required to define a path separation character" "$LINENO" 5
1062     ;;
1063   *)
1064     sepchar=$with_sepchar
1065@@ -4743,9 +4790,8 @@
1066   if test "$ac_cv_type_void_p" = yes; then
1067      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1069-{ as_fn_set_status 77
1070-as_fn_error "cannot compute sizeof (void *)
1071-See \`config.log' for more details." "$LINENO" 5; }; }
1072+as_fn_error 77 "cannot compute sizeof (void *)
1073+See \`config.log' for more details" "$LINENO" 5 ; }
1074    else
1075      ac_cv_sizeof_void_p=0
1076    fi
1077@@ -4777,9 +4823,8 @@
1078   if test "$ac_cv_type_int" = yes; then
1079      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1081-{ as_fn_set_status 77
1082-as_fn_error "cannot compute sizeof (int)
1083-See \`config.log' for more details." "$LINENO" 5; }; }
1084+as_fn_error 77 "cannot compute sizeof (int)
1085+See \`config.log' for more details" "$LINENO" 5 ; }
1086    else
1087      ac_cv_sizeof_int=0
1088    fi
1089@@ -4811,9 +4856,8 @@
1090   if test "$ac_cv_type_long" = yes; then
1091      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1093-{ as_fn_set_status 77
1094-as_fn_error "cannot compute sizeof (long)
1095-See \`config.log' for more details." "$LINENO" 5; }; }
1096+as_fn_error 77 "cannot compute sizeof (long)
1097+See \`config.log' for more details" "$LINENO" 5 ; }
1098    else
1099      ac_cv_sizeof_long=0
1100    fi
1101@@ -5001,8 +5045,8 @@
1102 ... rest of stderr output deleted ...
1103          10q' conftest.err >conftest.er1
1104     cat conftest.er1 >&5
1105- rm -f conftest.er1 conftest.err
1106   fi
1107+ rm -f conftest.er1 conftest.err
1108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1109   test $ac_status = 0; }
1110 done
1111@@ -5166,7 +5210,7 @@
1112   # Broken: fails on valid input.
1113 continue
1114 fi
1115-rm -f conftest.err conftest.$ac_ext
1116+rm -f conftest.err conftest.i conftest.$ac_ext
1117
1118   # OK, works on sane cases. Now check whether nonexistent headers
1119   # can be detected and how.
1120@@ -5182,11 +5226,11 @@
1121 ac_preproc_ok=:
1122 break
1123 fi
1124-rm -f conftest.err conftest.$ac_ext
1125+rm -f conftest.err conftest.i conftest.$ac_ext
1126
1127 done
1128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1129-rm -f conftest.err conftest.$ac_ext
1130+rm -f conftest.i conftest.err conftest.$ac_ext
1131 if $ac_preproc_ok; then :
1132   break
1133 fi
1134@@ -5225,7 +5269,7 @@
1135   # Broken: fails on valid input.
1136 continue
1137 fi
1138-rm -f conftest.err conftest.$ac_ext
1139+rm -f conftest.err conftest.i conftest.$ac_ext
1140
1141   # OK, works on sane cases. Now check whether nonexistent headers
1142   # can be detected and how.
1143@@ -5241,18 +5285,18 @@
1144 ac_preproc_ok=:
1145 break
1146 fi
1147-rm -f conftest.err conftest.$ac_ext
1148+rm -f conftest.err conftest.i conftest.$ac_ext
1149
1150 done
1151 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1152-rm -f conftest.err conftest.$ac_ext
1153+rm -f conftest.i conftest.err conftest.$ac_ext
1154 if $ac_preproc_ok; then :
1155
1156 else
1157   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1159-as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
1160-See \`config.log' for more details." "$LINENO" 5; }
1161+as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
1162+See \`config.log' for more details" "$LINENO" 5 ; }
1163 fi
1164
1165 ac_ext=c
1166@@ -5269,7 +5313,7 @@
1167
1168 case "$gxx_version" in
1169   1.* | 2.[0123456789].* | 3.[01234].*)
1170- as_fn_error "g++ version $gxx_version will probably fail to compile Octave
1171+ as_fn_error $? "g++ version $gxx_version will probably fail to compile Octave
1172 " "$LINENO" 5
1173   ;;
1174 esac
1175@@ -5760,8 +5804,8 @@
1176
1177 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1179-as_fn_error "no acceptable C compiler found in \$PATH
1180-See \`config.log' for more details." "$LINENO" 5; }
1181+as_fn_error $? "no acceptable C compiler found in \$PATH
1182+See \`config.log' for more details" "$LINENO" 5 ; }
1183
1184 # Provide some information about the compiler.
1185 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1186@@ -5782,8 +5826,8 @@
1187 ... rest of stderr output deleted ...
1188          10q' conftest.err >conftest.er1
1189     cat conftest.er1 >&5
1190- rm -f conftest.er1 conftest.err
1191   fi
1192+ rm -f conftest.er1 conftest.err
1193   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1194   test $ac_status = 0; }
1195 done
1196@@ -6042,7 +6086,7 @@
1197   # Broken: fails on valid input.
1198 continue
1199 fi
1200-rm -f conftest.err conftest.$ac_ext
1201+rm -f conftest.err conftest.i conftest.$ac_ext
1202
1203   # OK, works on sane cases. Now check whether nonexistent headers
1204   # can be detected and how.
1205@@ -6058,11 +6102,11 @@
1206 ac_preproc_ok=:
1207 break
1208 fi
1209-rm -f conftest.err conftest.$ac_ext
1210+rm -f conftest.err conftest.i conftest.$ac_ext
1211
1212 done
1213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1214-rm -f conftest.err conftest.$ac_ext
1215+rm -f conftest.i conftest.err conftest.$ac_ext
1216 if $ac_preproc_ok; then :
1217   break
1218 fi
1219@@ -6101,7 +6145,7 @@
1220   # Broken: fails on valid input.
1221 continue
1222 fi
1223-rm -f conftest.err conftest.$ac_ext
1224+rm -f conftest.err conftest.i conftest.$ac_ext
1225
1226   # OK, works on sane cases. Now check whether nonexistent headers
1227   # can be detected and how.
1228@@ -6117,18 +6161,18 @@
1229 ac_preproc_ok=:
1230 break
1231 fi
1232-rm -f conftest.err conftest.$ac_ext
1233+rm -f conftest.err conftest.i conftest.$ac_ext
1234
1235 done
1236 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1237-rm -f conftest.err conftest.$ac_ext
1238+rm -f conftest.i conftest.err conftest.$ac_ext
1239 if $ac_preproc_ok; then :
1240
1241 else
1242   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1244-as_fn_error "C preprocessor \"$CPP\" fails sanity check
1245-See \`config.log' for more details." "$LINENO" 5; }
1246+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
1247+See \`config.log' for more details" "$LINENO" 5 ; }
1248 fi
1249
1250 ac_ext=c
1251@@ -6670,7 +6714,7 @@
1252   have_x=disabled
1253 else
1254   case $x_includes,$x_libraries in #(
1255- *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
1256+ *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
1257     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
1258   $as_echo_n "(cached) " >&6
1259 else
1260@@ -6688,7 +6732,7 @@
1261     @echo libdir='${LIBDIR}'
1262 _ACEOF
1263   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
1264- # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1265+ # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1266     for ac_var in incroot usrlibdir libdir; do
1267       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
1268     done
1269@@ -6774,7 +6818,7 @@
1270   fi
1271 done
1272 fi
1273-rm -f conftest.err conftest.$ac_ext
1274+rm -f conftest.err conftest.i conftest.$ac_ext
1275 fi # $ac_x_includes = no
1276
1277 if test "$ac_x_libraries" = no; then
1278@@ -7045,7 +7089,7 @@
1279   ac_safe=`echo "-mieee-fp" | sed 'y%./+-:=%__p___%'`
1280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts -mieee-fp" >&5
1281 $as_echo_n "checking whether ${CC-cc} accepts -mieee-fp... " >&6; }
1282- if { as_var=octave_cv_cc_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
1283+ if eval "test \"\${octave_cv_cc_flag_$ac_safe+set}\"" = set; then :
1284   $as_echo_n "(cached) " >&6
1285 else
1286
1287@@ -7110,7 +7154,7 @@
1288   ac_safe=`echo "-mieee-fp" | sed 'y%./+-:=%__p___%'`
1289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX-g++} accepts -mieee-fp" >&5
1290 $as_echo_n "checking whether ${CXX-g++} accepts -mieee-fp... " >&6; }
1291- if { as_var=octave_cv_cxx_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
1292+ if eval "test \"\${octave_cv_cxx_flag_$ac_safe+set}\"" = set; then :
1293   $as_echo_n "(cached) " >&6
1294 else
1295
1296@@ -7177,7 +7221,7 @@
1297   ac_safe=`echo "-mieee" | sed 'y%./+-:=%__p___%'`
1298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts -mieee" >&5
1299 $as_echo_n "checking whether ${CC-cc} accepts -mieee... " >&6; }
1300- if { as_var=octave_cv_cc_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
1301+ if eval "test \"\${octave_cv_cc_flag_$ac_safe+set}\"" = set; then :
1302   $as_echo_n "(cached) " >&6
1303 else
1304
1305@@ -7236,7 +7280,7 @@
1306   ac_safe=`echo "-ieee" | sed 'y%./+-:=%__p___%'`
1307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts -ieee" >&5
1308 $as_echo_n "checking whether ${CC-cc} accepts -ieee... " >&6; }
1309- if { as_var=octave_cv_cc_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
1310+ if eval "test \"\${octave_cv_cc_flag_$ac_safe+set}\"" = set; then :
1311   $as_echo_n "(cached) " >&6
1312 else
1313
1314@@ -7296,7 +7340,7 @@
1315   ac_safe=`echo "-mieee" | sed 'y%./+-:=%__p___%'`
1316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX-g++} accepts -mieee" >&5
1317 $as_echo_n "checking whether ${CXX-g++} accepts -mieee... " >&6; }
1318- if { as_var=octave_cv_cxx_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
1319+ if eval "test \"\${octave_cv_cxx_flag_$ac_safe+set}\"" = set; then :
1320   $as_echo_n "(cached) " >&6
1321 else
1322
1323@@ -7355,7 +7399,7 @@
1324   ac_safe=`echo "-ieee" | sed 'y%./+-:=%__p___%'`
1325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX-g++} accepts -ieee" >&5
1326 $as_echo_n "checking whether ${CXX-g++} accepts -ieee... " >&6; }
1327- if { as_var=octave_cv_cxx_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
1328+ if eval "test \"\${octave_cv_cxx_flag_$ac_safe+set}\"" = set; then :
1329   $as_echo_n "(cached) " >&6
1330 else
1331
1332@@ -7416,7 +7460,7 @@
1333   ac_safe=`echo "-mminimal-toc" | sed 'y%./+-:=%__p___%'`
1334   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts -mminimal-toc" >&5
1335 $as_echo_n "checking whether ${CC-cc} accepts -mminimal-toc... " >&6; }
1336- if { as_var=octave_cv_cc_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
1337+ if eval "test \"\${octave_cv_cc_flag_$ac_safe+set}\"" = set; then :
1338   $as_echo_n "(cached) " >&6
1339 else
1340
1341@@ -7472,7 +7516,7 @@
1342   ac_safe=`echo "-mminimal-toc" | sed 'y%./+-:=%__p___%'`
1343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX-g++} accepts -mminimal-toc" >&5
1344 $as_echo_n "checking whether ${CXX-g++} accepts -mminimal-toc... " >&6; }
1345- if { as_var=octave_cv_cxx_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
1346+ if eval "test \"\${octave_cv_cxx_flag_$ac_safe+set}\"" = set; then :
1347   $as_echo_n "(cached) " >&6
1348 else
1349
1350@@ -8064,7 +8108,7 @@
1351   as_ac_Lib=`$as_echo "ac_cv_lib_$zlib_lib''_gzclearerr" | $as_tr_sh`
1352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzclearerr in -l$zlib_lib" >&5
1353 $as_echo_n "checking for gzclearerr in -l$zlib_lib... " >&6; }
1354-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1355+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1356   $as_echo_n "(cached) " >&6
1357 else
1358   ac_check_lib_save_LIBS=$LIBS
1359@@ -8099,8 +8143,7 @@
1360 eval ac_res=\$$as_ac_Lib
1361            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1362 $as_echo "$ac_res" >&6; }
1363-eval as_val=\$$as_ac_Lib
1364- if test "x$as_val" = x""yes; then :
1365+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1366
1367       for ac_header in zlib.h
1368 do :
1369@@ -8150,7 +8193,7 @@
1370     as_ac_Lib=`$as_echo "ac_cv_lib_$hdf5_lib''_H5Pcreate" | $as_tr_sh`
1371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for H5Pcreate in -l$hdf5_lib" >&5
1372 $as_echo_n "checking for H5Pcreate in -l$hdf5_lib... " >&6; }
1373-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1374+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1375   $as_echo_n "(cached) " >&6
1376 else
1377   ac_check_lib_save_LIBS=$LIBS
1378@@ -8185,8 +8228,7 @@
1379 eval ac_res=\$$as_ac_Lib
1380            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1381 $as_echo "$ac_res" >&6; }
1382-eval as_val=\$$as_ac_Lib
1383- if test "x$as_val" = x""yes; then :
1384+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1385
1386       for ac_header in hdf5.h
1387 do :
1388@@ -8202,7 +8244,7 @@
1389     as_ac_Lib=`$as_echo "ac_cv_lib_$hdf5_lib''_H5Gget_num_objs" | $as_tr_sh`
1390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for H5Gget_num_objs in -l$hdf5_lib" >&5
1391 $as_echo_n "checking for H5Gget_num_objs in -l$hdf5_lib... " >&6; }
1392-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1393+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1394   $as_echo_n "(cached) " >&6
1395 else
1396   ac_check_lib_save_LIBS=$LIBS
1397@@ -8237,8 +8279,7 @@
1398 eval ac_res=\$$as_ac_Lib
1399            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1400 $as_echo "$ac_res" >&6; }
1401-eval as_val=\$$as_ac_Lib
1402- if test "x$as_val" = x""yes; then :
1403+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1404
1405
1406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether HDF5 library has required API" >&5
1407@@ -8514,8 +8555,7 @@
1408 do :
1409   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
1410 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
1411-eval as_val=\$$as_ac_Header
1412- if test "x$as_val" = x""yes; then :
1413+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1414   cat >>confdefs.h <<_ACEOF
1415 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1416 _ACEOF
1417@@ -8523,7 +8563,7 @@
1418     as_ac_Lib=`$as_echo "ac_cv_lib_$glpk_lib''_glp_lpx_simplex" | $as_tr_sh`
1419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glp_lpx_simplex in -l$glpk_lib" >&5
1420 $as_echo_n "checking for glp_lpx_simplex in -l$glpk_lib... " >&6; }
1421-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1422+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1423   $as_echo_n "(cached) " >&6
1424 else
1425   ac_check_lib_save_LIBS=$LIBS
1426@@ -8558,8 +8598,7 @@
1427 eval ac_res=\$$as_ac_Lib
1428            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1429 $as_echo "$ac_res" >&6; }
1430-eval as_val=\$$as_ac_Lib
1431- if test "x$as_val" = x""yes; then :
1432+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1433
1434       GLPK_LIBS="-l$glpk_lib"
1435
1436@@ -8570,7 +8609,7 @@
1437         as_ac_Lib=`$as_echo "ac_cv_lib_$glpk_lib''__glp_lpx_simplex" | $as_tr_sh`
1438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _glp_lpx_simplex in -l$glpk_lib" >&5
1439 $as_echo_n "checking for _glp_lpx_simplex in -l$glpk_lib... " >&6; }
1440-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1441+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1442   $as_echo_n "(cached) " >&6
1443 else
1444   ac_check_lib_save_LIBS=$LIBS
1445@@ -8605,8 +8644,7 @@
1446 eval ac_res=\$$as_ac_Lib
1447            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1448 $as_echo "$ac_res" >&6; }
1449-eval as_val=\$$as_ac_Lib
1450- if test "x$as_val" = x""yes; then :
1451+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1452
1453           GLPK_LIBS="-l$glpk_lib"
1454 fi
1455@@ -8655,7 +8693,7 @@
1456   as_ac_Lib=`$as_echo "ac_cv_lib_$curl_lib''_curl_easy_escape" | $as_tr_sh`
1457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_easy_escape in -l$curl_lib" >&5
1458 $as_echo_n "checking for curl_easy_escape in -l$curl_lib... " >&6; }
1459-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1460+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1461   $as_echo_n "(cached) " >&6
1462 else
1463   ac_check_lib_save_LIBS=$LIBS
1464@@ -8690,8 +8728,7 @@
1465 eval ac_res=\$$as_ac_Lib
1466            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1467 $as_echo "$ac_res" >&6; }
1468-eval as_val=\$$as_ac_Lib
1469- if test "x$as_val" = x""yes; then :
1470+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1471
1472     for ac_header in curl/curl.h
1473 do :
1474@@ -8936,8 +8973,7 @@
1475 #endif
1476
1477 "
1478-eval as_val=\$$as_ac_Header
1479- if test "x$as_val" = x""yes; then :
1480+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1481   cat >>confdefs.h <<_ACEOF
1482 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1483 _ACEOF
1484@@ -8951,8 +8987,7 @@
1485 #endif
1486
1487 "
1488-eval as_val=\$$as_ac_Header
1489- if test "x$as_val" = x""yes; then :
1490+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1491   cat >>confdefs.h <<_ACEOF
1492 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1493 _ACEOF
1494@@ -9324,8 +9359,7 @@
1495 do :
1496   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
1497 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
1498-eval as_val=\$$as_ac_Header
1499- if test "x$as_val" = x""yes; then :
1500+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1501   cat >>confdefs.h <<_ACEOF
1502 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1503 _ACEOF
1504@@ -9336,8 +9370,7 @@
1505 do :
1506   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
1507 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
1508-eval as_val=\$$as_ac_Header
1509- if test "x$as_val" = x""yes; then :
1510+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1511   cat >>confdefs.h <<_ACEOF
1512 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1513 _ACEOF
1514@@ -9699,7 +9732,7 @@
1515 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1516 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
1517 if test -n "$ac_tool_prefix"; then
1518- for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
1519+ for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn
1520   do
1521     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1522 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1523@@ -9743,7 +9776,7 @@
1524 fi
1525 if test -z "$F77"; then
1526   ac_ct_F77=$F77
1527- for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
1528+ for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn
1529 do
1530   # Extract the first word of "$ac_prog", so it can be a program name with args.
1531 set dummy $ac_prog; ac_word=$2
1532@@ -9818,8 +9851,8 @@
1533 ... rest of stderr output deleted ...
1534          10q' conftest.err >conftest.er1
1535     cat conftest.er1 >&5
1536- rm -f conftest.er1 conftest.err
1537   fi
1538+ rm -f conftest.er1 conftest.err
1539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540   test $ac_status = 0; }
1541 done
1542@@ -10122,7 +10155,7 @@
1543       ;;
1544       # Ignore these flags.
1545     -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
1546- |-LANG:=* | -LIST:* | -LNO:*)
1547+ |-LANG:=* | -LIST:* | -LNO:* | -link)
1548       ;;
1549     -lkernel32)
1550       test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
1551@@ -10316,8 +10349,8 @@
1552 else
1553   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1555-as_fn_error "linking to Fortran libraries from C fails
1556-See \`config.log' for more details." "$LINENO" 5; }
1557+as_fn_error $? "linking to Fortran libraries from C fails
1558+See \`config.log' for more details" "$LINENO" 5 ; }
1559 fi
1560
1561 ac_ext=c
1562@@ -10478,8 +10511,8 @@
1563 else
1564   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1566-as_fn_error "cannot compile a simple Fortran program
1567-See \`config.log' for more details." "$LINENO" 5; }
1568+as_fn_error $? "cannot compile a simple Fortran program
1569+See \`config.log' for more details" "$LINENO" 5 ; }
1570 fi
1571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1572
1573@@ -10572,7 +10605,7 @@
1574   ac_safe=`echo "-mieee-fp" | sed 'y%./+-:=%__p___%'`
1575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${F77-g77} accepts -mieee-fp" >&5
1576 $as_echo_n "checking whether ${F77-g77} accepts -mieee-fp... " >&6; }
1577- if { as_var=octave_cv_f77_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
1578+ if eval "test \"\${octave_cv_f77_flag_$ac_safe+set}\"" = set; then :
1579   $as_echo_n "(cached) " >&6
1580 else
1581
1582@@ -10627,7 +10660,7 @@
1583   ac_safe=`echo "-mieee" | sed 'y%./+-:=%__p___%'`
1584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${F77-g77} accepts -mieee" >&5
1585 $as_echo_n "checking whether ${F77-g77} accepts -mieee... " >&6; }
1586- if { as_var=octave_cv_f77_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
1587+ if eval "test \"\${octave_cv_f77_flag_$ac_safe+set}\"" = set; then :
1588   $as_echo_n "(cached) " >&6
1589 else
1590
1591@@ -10678,7 +10711,7 @@
1592   ac_safe=`echo "-ieee" | sed 'y%./+-:=%__p___%'`
1593   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${F77-g77} accepts -ieee" >&5
1594 $as_echo_n "checking whether ${F77-g77} accepts -ieee... " >&6; }
1595- if { as_var=octave_cv_f77_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
1596+ if eval "test \"\${octave_cv_f77_flag_$ac_safe+set}\"" = set; then :
1597   $as_echo_n "(cached) " >&6
1598 else
1599
1600@@ -10728,7 +10761,7 @@
1601   ac_safe=`echo "-fpe1" | sed 'y%./+-:=%__p___%'`
1602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${F77-g77} accepts -fpe1" >&5
1603 $as_echo_n "checking whether ${F77-g77} accepts -fpe1... " >&6; }
1604- if { as_var=octave_cv_f77_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
1605+ if eval "test \"\${octave_cv_f77_flag_$ac_safe+set}\"" = set; then :
1606   $as_echo_n "(cached) " >&6
1607 else
1608
1609@@ -10797,7 +10830,7 @@
1610 $as_echo "$as_me: WARNING: Fortran compiler or wrapper script for f2c that functions" >&2;}
1611   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: as a Fortran compiler installed and in your path." >&5
1612 $as_echo "$as_me: WARNING: as a Fortran compiler installed and in your path." >&2;}
1613- as_fn_error "See the file INSTALL for more information." "$LINENO" 5
1614+ as_fn_error $? "See the file INSTALL for more information." "$LINENO" 5
1615 fi
1616
1617 XTRA_CRUFT_SH_LDFLAGS=
1618@@ -10816,7 +10849,7 @@
1619   ac_safe=`echo "-ffloat-store" | sed 'y%./+-:=%__p___%'`
1620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${F77-g77} accepts -ffloat-store" >&5
1621 $as_echo_n "checking whether ${F77-g77} accepts -ffloat-store... " >&6; }
1622- if { as_var=octave_cv_f77_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
1623+ if eval "test \"\${octave_cv_f77_flag_$ac_safe+set}\"" = set; then :
1624   $as_echo_n "(cached) " >&6
1625 else
1626
1627@@ -11117,8 +11150,7 @@
1628     save_LIBS="$LIBS"; LIBS="$LIBS"
1629     as_ac_var=`$as_echo "ac_cv_func_$sgemm" | $as_tr_sh`
1630 ac_fn_c_check_func "$LINENO" "$sgemm" "$as_ac_var"
1631-eval as_val=\$$as_ac_var
1632- if test "x$as_val" = x""yes; then :
1633+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1634   acx_blas_ok=yes
1635 fi
1636
1637@@ -11175,7 +11207,7 @@
1638   as_ac_Lib=`$as_echo "ac_cv_lib_f77blas_$sgemm" | $as_tr_sh`
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lf77blas" >&5
1640 $as_echo_n "checking for $sgemm in -lf77blas... " >&6; }
1641-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1642+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1643   $as_echo_n "(cached) " >&6
1644 else
1645   ac_check_lib_save_LIBS=$LIBS
1646@@ -11218,8 +11250,7 @@
1647 eval ac_res=\$$as_ac_Lib
1648            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1649 $as_echo "$ac_res" >&6; }
1650-eval as_val=\$$as_ac_Lib
1651- if test "x$as_val" = x""yes; then :
1652+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cblas_dgemm in -lcblas" >&5
1654 $as_echo_n "checking for cblas_dgemm in -lcblas... " >&6; }
1655 if test "${ac_cv_lib_cblas_cblas_dgemm+set}" = set; then :
1656@@ -11324,7 +11355,7 @@
1657     as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
1659 $as_echo_n "checking for $sgemm in -lblas... " >&6; }
1660-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1661+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1662   $as_echo_n "(cached) " >&6
1663 else
1664   ac_check_lib_save_LIBS=$LIBS
1665@@ -11367,12 +11398,11 @@
1666 eval ac_res=\$$as_ac_Lib
1667            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1668 $as_echo "$ac_res" >&6; }
1669-eval as_val=\$$as_ac_Lib
1670- if test "x$as_val" = x""yes; then :
1671+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1672   as_ac_Lib=`$as_echo "ac_cv_lib_dgemm_$dgemm" | $as_tr_sh`
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dgemm in -ldgemm" >&5
1674 $as_echo_n "checking for $dgemm in -ldgemm... " >&6; }
1675-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1676+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1677   $as_echo_n "(cached) " >&6
1678 else
1679   ac_check_lib_save_LIBS=$LIBS
1680@@ -11415,12 +11445,11 @@
1681 eval ac_res=\$$as_ac_Lib
1682            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1684-eval as_val=\$$as_ac_Lib
1685- if test "x$as_val" = x""yes; then :
1686+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1687   as_ac_Lib=`$as_echo "ac_cv_lib_sgemm_$sgemm" | $as_tr_sh`
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsgemm" >&5
1689 $as_echo_n "checking for $sgemm in -lsgemm... " >&6; }
1690-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1691+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1692   $as_echo_n "(cached) " >&6
1693 else
1694   ac_check_lib_save_LIBS=$LIBS
1695@@ -11463,8 +11492,7 @@
1696 eval ac_res=\$$as_ac_Lib
1697            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1698 $as_echo "$ac_res" >&6; }
1699-eval as_val=\$$as_ac_Lib
1700- if test "x$as_val" = x""yes; then :
1701+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1702   acx_blas_ok=yes; BLAS_LIBS="-lsgemm -ldgemm -lblas"
1703 fi
1704
1705@@ -11479,7 +11507,7 @@
1706     as_ac_Lib=`$as_echo "ac_cv_lib_cxml_$sgemm" | $as_tr_sh`
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcxml" >&5
1708 $as_echo_n "checking for $sgemm in -lcxml... " >&6; }
1709-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1710+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1711   $as_echo_n "(cached) " >&6
1712 else
1713   ac_check_lib_save_LIBS=$LIBS
1714@@ -11522,8 +11550,7 @@
1715 eval ac_res=\$$as_ac_Lib
1716            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1717 $as_echo "$ac_res" >&6; }
1718-eval as_val=\$$as_ac_Lib
1719- if test "x$as_val" = x""yes; then :
1720+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1721   acx_blas_ok=yes;BLAS_LIBS="-lcxml"
1722 fi
1723
1724@@ -11534,7 +11561,7 @@
1725     as_ac_Lib=`$as_echo "ac_cv_lib_dxml_$sgemm" | $as_tr_sh`
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -ldxml" >&5
1727 $as_echo_n "checking for $sgemm in -ldxml... " >&6; }
1728-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1729+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1730   $as_echo_n "(cached) " >&6
1731 else
1732   ac_check_lib_save_LIBS=$LIBS
1733@@ -11577,8 +11604,7 @@
1734 eval ac_res=\$$as_ac_Lib
1735            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1736 $as_echo "$ac_res" >&6; }
1737-eval as_val=\$$as_ac_Lib
1738- if test "x$as_val" = x""yes; then :
1739+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1740   acx_blas_ok=yes;BLAS_LIBS="-ldxml"
1741 fi
1742
1743@@ -11635,7 +11661,7 @@
1744   as_ac_Lib=`$as_echo "ac_cv_lib_sunperf_$sgemm" | $as_tr_sh`
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lsunperf" >&5
1746 $as_echo_n "checking for $sgemm in -lsunperf... " >&6; }
1747-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1748+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1749   $as_echo_n "(cached) " >&6
1750 else
1751   ac_check_lib_save_LIBS=$LIBS
1752@@ -11678,8 +11704,7 @@
1753 eval ac_res=\$$as_ac_Lib
1754            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1755 $as_echo "$ac_res" >&6; }
1756-eval as_val=\$$as_ac_Lib
1757- if test "x$as_val" = x""yes; then :
1758+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1759   BLAS_LIBS="-lsunperf -lsunmath"
1760                                  acx_blas_ok=yes
1761 fi
1762@@ -11694,7 +11719,7 @@
1763     as_ac_Lib=`$as_echo "ac_cv_lib_scs_$sgemm" | $as_tr_sh`
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lscs" >&5
1765 $as_echo_n "checking for $sgemm in -lscs... " >&6; }
1766-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1767+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1768   $as_echo_n "(cached) " >&6
1769 else
1770   ac_check_lib_save_LIBS=$LIBS
1771@@ -11737,8 +11762,7 @@
1772 eval ac_res=\$$as_ac_Lib
1773            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1774 $as_echo "$ac_res" >&6; }
1775-eval as_val=\$$as_ac_Lib
1776- if test "x$as_val" = x""yes; then :
1777+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1778   acx_blas_ok=yes; BLAS_LIBS="-lscs"
1779 fi
1780
1781@@ -11749,7 +11773,7 @@
1782     as_ac_Lib=`$as_echo "ac_cv_lib_complib.sgimath_$sgemm" | $as_tr_sh`
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lcomplib.sgimath" >&5
1784 $as_echo_n "checking for $sgemm in -lcomplib.sgimath... " >&6; }
1785-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1786+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1787   $as_echo_n "(cached) " >&6
1788 else
1789   ac_check_lib_save_LIBS=$LIBS
1790@@ -11792,8 +11816,7 @@
1791 eval ac_res=\$$as_ac_Lib
1792            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1794-eval as_val=\$$as_ac_Lib
1795- if test "x$as_val" = x""yes; then :
1796+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1797   acx_blas_ok=yes; BLAS_LIBS="-lcomplib.sgimath"
1798 fi
1799
1800@@ -11804,7 +11827,7 @@
1801     as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
1803 $as_echo_n "checking for $sgemm in -lblas... " >&6; }
1804-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1805+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1806   $as_echo_n "(cached) " >&6
1807 else
1808   ac_check_lib_save_LIBS=$LIBS
1809@@ -11847,12 +11870,11 @@
1810 eval ac_res=\$$as_ac_Lib
1811            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1812 $as_echo "$ac_res" >&6; }
1813-eval as_val=\$$as_ac_Lib
1814- if test "x$as_val" = x""yes; then :
1815+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1816   as_ac_Lib=`$as_echo "ac_cv_lib_essl_$sgemm" | $as_tr_sh`
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lessl" >&5
1818 $as_echo_n "checking for $sgemm in -lessl... " >&6; }
1819-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1820+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1821   $as_echo_n "(cached) " >&6
1822 else
1823   ac_check_lib_save_LIBS=$LIBS
1824@@ -11895,8 +11917,7 @@
1825 eval ac_res=\$$as_ac_Lib
1826            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827 $as_echo "$ac_res" >&6; }
1828-eval as_val=\$$as_ac_Lib
1829- if test "x$as_val" = x""yes; then :
1830+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1831   acx_blas_ok=yes; BLAS_LIBS="-lessl -lblas"
1832 fi
1833
1834@@ -11909,7 +11930,7 @@
1835     as_ac_Lib=`$as_echo "ac_cv_lib_blas_$sgemm" | $as_tr_sh`
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sgemm in -lblas" >&5
1837 $as_echo_n "checking for $sgemm in -lblas... " >&6; }
1838-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1839+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1840   $as_echo_n "(cached) " >&6
1841 else
1842   ac_check_lib_save_LIBS=$LIBS
1843@@ -11952,8 +11973,7 @@
1844 eval ac_res=\$$as_ac_Lib
1845            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1846 $as_echo "$ac_res" >&6; }
1847-eval as_val=\$$as_ac_Lib
1848- if test "x$as_val" = x""yes; then :
1849+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1850   acx_blas_ok=yes; BLAS_LIBS="-lblas"
1851 fi
1852
1853@@ -11996,8 +12016,8 @@
1854     if test "$cross_compiling" = yes; then :
1855   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1857-as_fn_error "cannot run test program while cross compiling
1858-See \`config.log' for more details." "$LINENO" 5; }
1859+as_fn_error $? "cannot run test program while cross compiling
1860+See \`config.log' for more details" "$LINENO" 5 ; }
1861 else
1862   cat > conftest.$ac_ext <<_ACEOF
1863       program main
1864@@ -12031,8 +12051,8 @@
1865     if test "$cross_compiling" = yes; then :
1866   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1868-as_fn_error "cannot run test program while cross compiling
1869-See \`config.log' for more details." "$LINENO" 5; }
1870+as_fn_error $? "cannot run test program while cross compiling
1871+See \`config.log' for more details" "$LINENO" 5 ; }
1872 else
1873   cat > conftest.$ac_ext <<_ACEOF
1874       program main
1875@@ -12064,8 +12084,8 @@
1876     if test "$cross_compiling" = yes; then :
1877   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1879-as_fn_error "cannot run test program while cross compiling
1880-See \`config.log' for more details." "$LINENO" 5; }
1881+as_fn_error $? "cannot run test program while cross compiling
1882+See \`config.log' for more details" "$LINENO" 5 ; }
1883 else
1884   cat > conftest.$ac_ext <<_ACEOF
1885       program main
1886@@ -12096,8 +12116,8 @@
1887     if test "$cross_compiling" = yes; then :
1888   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1890-as_fn_error "cannot run test program while cross compiling
1891-See \`config.log' for more details." "$LINENO" 5; }
1892+as_fn_error $? "cannot run test program while cross compiling
1893+See \`config.log' for more details" "$LINENO" 5 ; }
1894 else
1895   cat > conftest.$ac_ext <<_ACEOF
1896       program main
1897@@ -12128,8 +12148,8 @@
1898     if test "$cross_compiling" = yes; then :
1899   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1900 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1901-as_fn_error "cannot run test program while cross compiling
1902-See \`config.log' for more details." "$LINENO" 5; }
1903+as_fn_error $? "cannot run test program while cross compiling
1904+See \`config.log' for more details" "$LINENO" 5 ; }
1905 else
1906   cat > conftest.$ac_ext <<_ACEOF
1907       program main
1908@@ -12160,8 +12180,8 @@
1909     if test "$cross_compiling" = yes; then :
1910   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1912-as_fn_error "cannot run test program while cross compiling
1913-See \`config.log' for more details." "$LINENO" 5; }
1914+as_fn_error $? "cannot run test program while cross compiling
1915+See \`config.log' for more details" "$LINENO" 5 ; }
1916 else
1917   cat > conftest.$ac_ext <<_ACEOF
1918       program main
1919@@ -12312,8 +12332,7 @@
1920         save_LIBS="$LIBS"; LIBS="$LIBS $BLAS_LIBS $FLIBS"
1921         as_ac_var=`$as_echo "ac_cv_func_$cheev" | $as_tr_sh`
1922 ac_fn_c_check_func "$LINENO" "$cheev" "$as_ac_var"
1923-eval as_val=\$$as_ac_var
1924- if test "x$as_val" = x""yes; then :
1925+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
1926   acx_lapack_ok=yes
1927 fi
1928
1929@@ -12327,7 +12346,7 @@
1930                 as_ac_Lib=`$as_echo "ac_cv_lib_$lapack''_$cheev" | $as_tr_sh`
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $cheev in -l$lapack" >&5
1932 $as_echo_n "checking for $cheev in -l$lapack... " >&6; }
1933-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1934+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1935   $as_echo_n "(cached) " >&6
1936 else
1937   ac_check_lib_save_LIBS=$LIBS
1938@@ -12370,8 +12389,7 @@
1939 eval ac_res=\$$as_ac_Lib
1940            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1942-eval as_val=\$$as_ac_Lib
1943- if test "x$as_val" = x""yes; then :
1944+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1945   acx_lapack_ok=yes; LAPACK_LIBS="-l$lapack"
1946 fi
1947
1948@@ -12441,7 +12459,7 @@
1949   as_ac_Lib=`$as_echo "ac_cv_lib_qrupdate_$sqr1up" | $as_tr_sh`
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sqr1up in -lqrupdate" >&5
1951 $as_echo_n "checking for $sqr1up in -lqrupdate... " >&6; }
1952-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
1953+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
1954   $as_echo_n "(cached) " >&6
1955 else
1956   ac_check_lib_save_LIBS=$LIBS
1957@@ -12484,8 +12502,7 @@
1958 eval ac_res=\$$as_ac_Lib
1959            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960 $as_echo "$ac_res" >&6; }
1961-eval as_val=\$$as_ac_Lib
1962- if test "x$as_val" = x""yes; then :
1963+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
1964   QRUPDATE_LIBS="-lqrupdate"; with_qrupdate=yes
1965 fi
1966
1967@@ -12521,8 +12538,7 @@
1968 do :
1969   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
1970 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
1971-eval as_val=\$$as_ac_Header
1972- if test "x$as_val" = x""yes; then :
1973+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1974   cat >>confdefs.h <<_ACEOF
1975 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1976 _ACEOF
1977@@ -12667,8 +12683,7 @@
1978 do :
1979   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
1980 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
1981-eval as_val=\$$as_ac_Header
1982- if test "x$as_val" = x""yes; then :
1983+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1984   cat >>confdefs.h <<_ACEOF
1985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1986 _ACEOF
1987@@ -12941,8 +12956,7 @@
1988 do :
1989   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
1990 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
1991-eval as_val=\$$as_ac_Header
1992- if test "x$as_val" = x""yes; then :
1993+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1994   cat >>confdefs.h <<_ACEOF
1995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1996 _ACEOF
1997@@ -13034,8 +13048,7 @@
1998 do :
1999   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
2000 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
2001-eval as_val=\$$as_ac_Header
2002- if test "x$as_val" = x""yes; then :
2003+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2004   cat >>confdefs.h <<_ACEOF
2005 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
2006 _ACEOF
2007@@ -13125,8 +13138,7 @@
2008 do :
2009   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
2010 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
2011-eval as_val=\$$as_ac_Header
2012- if test "x$as_val" = x""yes; then :
2013+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2014   cat >>confdefs.h <<_ACEOF
2015 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
2016 _ACEOF
2017@@ -13277,8 +13289,7 @@
2018 do :
2019   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
2020 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
2021-eval as_val=\$$as_ac_Header
2022- if test "x$as_val" = x""yes; then :
2023+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2024   cat >>confdefs.h <<_ACEOF
2025 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
2026 _ACEOF
2027@@ -13369,9 +13380,10 @@
2028 warn_arpack="arpack not found. This will result in a lack of the eigs function."
2029 if test "$with_arpack" = yes; then
2030   with_arpack=no
2031- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for F77_FUNC(dseupd,DSEUPD) in -larpack" >&5
2032+ as_ac_Lib=`$as_echo "ac_cv_lib_arpack_F77_FUNC(dseupd,DSEUPD)" | $as_tr_sh`
2033+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for F77_FUNC(dseupd,DSEUPD) in -larpack" >&5
2034 $as_echo_n "checking for F77_FUNC(dseupd,DSEUPD) in -larpack... " >&6; }
2035-if test "${ac_cv_lib_arpack_F77_FUNC_dseupd_DSEUPD_+set}" = set; then :
2036+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
2037   $as_echo_n "(cached) " >&6
2038 else
2039   ac_check_lib_save_LIBS=$LIBS
2040@@ -13403,17 +13415,18 @@
2041 }
2042 _ACEOF
2043 if ac_fn_c_try_link "$LINENO"; then :
2044- ac_cv_lib_arpack_F77_FUNC_dseupd_DSEUPD_=yes
2045+ eval "$as_ac_Lib=yes"
2046 else
2047- ac_cv_lib_arpack_F77_FUNC_dseupd_DSEUPD_=no
2048+ eval "$as_ac_Lib=no"
2049 fi
2050 rm -f core conftest.err conftest.$ac_objext \
2051     conftest$ac_exeext conftest.$ac_ext
2052 LIBS=$ac_check_lib_save_LIBS
2053 fi
2054-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_arpack_F77_FUNC_dseupd_DSEUPD_" >&5
2055-$as_echo "$ac_cv_lib_arpack_F77_FUNC_dseupd_DSEUPD_" >&6; }
2056-if test "x$ac_cv_lib_arpack_F77_FUNC_dseupd_DSEUPD_" = x""yes; then :
2057+eval ac_res=\$$as_ac_Lib
2058+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059+$as_echo "$ac_res" >&6; }
2060+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
2061   ARPACK_LIBS="-larpack"; with_arpack=yes
2062 fi
2063
2064@@ -13473,7 +13486,7 @@
2065 if $STATIC_LIBS || $SHARED_LIBS; then
2066   true
2067 else
2068- as_fn_error "You can't disable building static AND shared libraries!" "$LINENO" 5
2069+ as_fn_error $? "You can't disable building static AND shared libraries!" "$LINENO" 5
2070 fi
2071
2072 # Check whether --enable-rpath was given.
2073@@ -14168,9 +14181,8 @@
2074   if test "$ac_cv_type_short" = yes; then
2075      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2077-{ as_fn_set_status 77
2078-as_fn_error "cannot compute sizeof (short)
2079-See \`config.log' for more details." "$LINENO" 5; }; }
2080+as_fn_error 77 "cannot compute sizeof (short)
2081+See \`config.log' for more details" "$LINENO" 5 ; }
2082    else
2083      ac_cv_sizeof_short=0
2084    fi
2085@@ -14202,9 +14214,8 @@
2086   if test "$ac_cv_type_int" = yes; then
2087      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2089-{ as_fn_set_status 77
2090-as_fn_error "cannot compute sizeof (int)
2091-See \`config.log' for more details." "$LINENO" 5; }; }
2092+as_fn_error 77 "cannot compute sizeof (int)
2093+See \`config.log' for more details" "$LINENO" 5 ; }
2094    else
2095      ac_cv_sizeof_int=0
2096    fi
2097@@ -14236,9 +14247,8 @@
2098   if test "$ac_cv_type_long" = yes; then
2099      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2101-{ as_fn_set_status 77
2102-as_fn_error "cannot compute sizeof (long)
2103-See \`config.log' for more details." "$LINENO" 5; }; }
2104+as_fn_error 77 "cannot compute sizeof (long)
2105+See \`config.log' for more details" "$LINENO" 5 ; }
2106    else
2107      ac_cv_sizeof_long=0
2108    fi
2109@@ -14270,9 +14280,8 @@
2110   if test "$ac_cv_type_long_long" = yes; then
2111      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2113-{ as_fn_set_status 77
2114-as_fn_error "cannot compute sizeof (long long)
2115-See \`config.log' for more details." "$LINENO" 5; }; }
2116+as_fn_error 77 "cannot compute sizeof (long long)
2117+See \`config.log' for more details" "$LINENO" 5 ; }
2118    else
2119      ac_cv_sizeof_long_long=0
2120    fi
2121@@ -14435,8 +14444,7 @@
2122   for ac_func in _getb67 GETB67 getb67; do
2123     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
2125-eval as_val=\$$as_ac_var
2126- if test "x$as_val" = x""yes; then :
2127+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2128
2129 cat >>confdefs.h <<_ACEOF
2130 #define CRAY_STACKSEG_END $ac_func
2131@@ -14707,10 +14715,8 @@
2132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2133
2134 if test "$cross_compiling" = yes; then :
2135- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2136-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2137-as_fn_error "cannot run test program while cross compiling
2138-See \`config.log' for more details." "$LINENO" 5; }
2139+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: guessing no" >&5
2140+$as_echo "guessing no" >&6; }
2141 else
2142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2143 /* end confdefs.h. */
2144@@ -14811,9 +14817,8 @@
2145   if test "$ac_cv_type_long_double" = yes; then
2146      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2148-{ as_fn_set_status 77
2149-as_fn_error "cannot compute sizeof (long double)
2150-See \`config.log' for more details." "$LINENO" 5; }; }
2151+as_fn_error 77 "cannot compute sizeof (long double)
2152+See \`config.log' for more details" "$LINENO" 5 ; }
2153    else
2154      ac_cv_sizeof_long_double=0
2155    fi
2156@@ -14958,7 +14963,7 @@
2157   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
2159 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
2160-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
2161+if eval "test \"\${$as_ac_Header+set}\"" = set; then :
2162   $as_echo_n "(cached) " >&6
2163 else
2164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2165@@ -14993,8 +14998,7 @@
2166 eval ac_res=\$$as_ac_Header
2167            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2168 $as_echo "$ac_res" >&6; }
2169-eval as_val=\$$as_ac_Header
2170- if test "x$as_val" = x""yes; then :
2171+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2172   cat >>confdefs.h <<_ACEOF
2173 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
2174 _ACEOF
2175@@ -15240,8 +15244,7 @@
2176 do :
2177   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
2178 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
2179-eval as_val=\$$as_ac_Header
2180- if test "x$as_val" = x""yes; then :
2181+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
2182   cat >>confdefs.h <<_ACEOF
2183 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
2184 _ACEOF
2185@@ -15514,10 +15517,10 @@
2186
2187
2188   if test "$have_fnmatch" != yes || test "$have_glob" != yes; then
2189- as_fn_error "You are required to have fnmatch and glob" "$LINENO" 5
2190+ as_fn_error $? "You are required to have fnmatch and glob" "$LINENO" 5
2191   fi
2192 else
2193- as_fn_error "You are required to have fnmatch.h and glob.h" "$LINENO" 5
2194+ as_fn_error $? "You are required to have fnmatch.h and glob.h" "$LINENO" 5
2195 fi
2196
2197 ### Checks for functions and variables.
2198@@ -15537,8 +15540,7 @@
2199 do :
2200   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2201 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
2202-eval as_val=\$$as_ac_var
2203- if test "x$as_val" = x""yes; then :
2204+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2205   cat >>confdefs.h <<_ACEOF
2206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2207 _ACEOF
2208@@ -15591,8 +15593,7 @@
2209 do :
2210   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2211 ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
2212-eval as_val=\$$as_ac_var
2213- if test "x$as_val" = x""yes; then :
2214+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2215   cat >>confdefs.h <<_ACEOF
2216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2217 _ACEOF
2218@@ -15760,10 +15761,7 @@
2219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2220
2221 if test "$cross_compiling" = yes; then :
2222- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2223-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2224-as_fn_error "cannot run test program while cross compiling
2225-See \`config.log' for more details." "$LINENO" 5; }
2226+ octave_cv_strptime_broken=yes
2227 else
2228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2229 /* end confdefs.h. */
2230@@ -16057,8 +16055,7 @@
2231 do :
2232   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2233 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
2234-eval as_val=\$$as_ac_var
2235- if test "x$as_val" = x""yes; then :
2236+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2237   cat >>confdefs.h <<_ACEOF
2238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2239 _ACEOF
2240@@ -16194,8 +16191,7 @@
2241 do :
2242   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
2244-eval as_val=\$$as_ac_var
2245- if test "x$as_val" = x""yes; then :
2246+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2247   cat >>confdefs.h <<_ACEOF
2248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2249 _ACEOF
2250@@ -16240,7 +16236,7 @@
2251   ac_safe=`echo "-rdynamic" | sed 'y%./+-:=%__p___%'`
2252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX-g++} accepts -rdynamic" >&5
2253 $as_echo_n "checking whether ${CXX-g++} accepts -rdynamic... " >&6; }
2254- if { as_var=octave_cv_cxx_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
2255+ if eval "test \"\${octave_cv_cxx_flag_$ac_safe+set}\"" = set; then :
2256   $as_echo_n "(cached) " >&6
2257 else
2258
2259@@ -16743,8 +16739,7 @@
2260 do :
2261   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
2263-eval as_val=\$$as_ac_var
2264- if test "x$as_val" = x""yes; then :
2265+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2266   cat >>confdefs.h <<_ACEOF
2267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2268 _ACEOF
2269@@ -16756,8 +16751,7 @@
2270 do :
2271   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2272 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
2273-eval as_val=\$$as_ac_var
2274- if test "x$as_val" = x""yes; then :
2275+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2276   cat >>confdefs.h <<_ACEOF
2277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2278 _ACEOF
2279@@ -16786,8 +16780,7 @@
2280 do :
2281   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
2283-eval as_val=\$$as_ac_var
2284- if test "x$as_val" = x""yes; then :
2285+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2286   cat >>confdefs.h <<_ACEOF
2287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2288 _ACEOF
2289@@ -16799,8 +16792,7 @@
2290 do :
2291   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2292 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
2293-eval as_val=\$$as_ac_var
2294- if test "x$as_val" = x""yes; then :
2295+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2296   cat >>confdefs.h <<_ACEOF
2297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2298 _ACEOF
2299@@ -17088,7 +17080,7 @@
2300   as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5
2302 $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
2303-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
2304+if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
2305   $as_echo_n "(cached) " >&6
2306 else
2307   ac_check_lib_save_LIBS=$LIBS
2308@@ -17131,8 +17123,7 @@
2309 eval ac_res=\$$as_ac_Lib
2310            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311 $as_echo "$ac_res" >&6; }
2312-eval as_val=\$$as_ac_Lib
2313- if test "x$as_val" = x""yes; then :
2314+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
2315   TERMLIBS="${TERMLIBS} -l${termlib}"
2316 fi
2317
2318@@ -17221,7 +17212,7 @@
2319
2320       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I need GNU Readline 4.2 or later" >&5
2321 $as_echo "$as_me: WARNING: I need GNU Readline 4.2 or later" >&2;}
2322- as_fn_error "this is fatal unless you specify --disable-readline" "$LINENO" 5
2323+ as_fn_error $? "this is fatal unless you specify --disable-readline" "$LINENO" 5
2324
2325 fi
2326
2327@@ -17529,8 +17520,7 @@
2328 do :
2329   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
2330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
2331-eval as_val=\$$as_ac_var
2332- if test "x$as_val" = x""yes; then :
2333+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
2334   cat >>confdefs.h <<_ACEOF
2335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
2336 _ACEOF
2337@@ -17667,7 +17657,7 @@
2338 {
2339   tmp=$TMPDIR/sed$$-$RANDOM
2340   (umask 077 && mkdir "$tmp")
2341-} || as_fn_error "cannot create a temporary directory in $TMPDIR" "$LINENO" 5
2342+} || as_fn_error $? "cannot create a temporary directory in $TMPDIR" "$LINENO" 5
2343     _max=0
2344     _count=0
2345     # Add /usr/xpg4/bin/sed as it is typically found on Solaris
2346@@ -17708,7 +17698,7 @@
2347
2348   SED=$octave_cv_path_sed
2349   if test -z "$SED"; then
2350- as_fn_error "no usable version of sed found" "$LINENO" 5
2351+ as_fn_error $? "no usable version of sed found" "$LINENO" 5
2352   fi
2353 fi
2354
2355@@ -17879,7 +17869,7 @@
2356 elif test -f lexyy.c; then
2357   ac_cv_prog_lex_root=lexyy
2358 else
2359- as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
2360+ as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
2361 fi
2362 fi
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
2364@@ -18655,7 +18645,7 @@
2365   ac_safe=`echo "-Wall" | sed 'y%./+-:=%__p___%'`
2366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts -Wall" >&5
2367 $as_echo_n "checking whether ${CC-cc} accepts -Wall... " >&6; }
2368- if { as_var=octave_cv_cc_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
2369+ if eval "test \"\${octave_cv_cc_flag_$ac_safe+set}\"" = set; then :
2370   $as_echo_n "(cached) " >&6
2371 else
2372
2373@@ -18720,7 +18710,7 @@
2374   ac_safe=`echo "-W" | sed 'y%./+-:=%__p___%'`
2375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts -W" >&5
2376 $as_echo_n "checking whether ${CC-cc} accepts -W... " >&6; }
2377- if { as_var=octave_cv_cc_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
2378+ if eval "test \"\${octave_cv_cc_flag_$ac_safe+set}\"" = set; then :
2379   $as_echo_n "(cached) " >&6
2380 else
2381
2382@@ -18785,7 +18775,7 @@
2383   ac_safe=`echo "-Wshadow" | sed 'y%./+-:=%__p___%'`
2384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts -Wshadow" >&5
2385 $as_echo_n "checking whether ${CC-cc} accepts -Wshadow... " >&6; }
2386- if { as_var=octave_cv_cc_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
2387+ if eval "test \"\${octave_cv_cc_flag_$ac_safe+set}\"" = set; then :
2388   $as_echo_n "(cached) " >&6
2389 else
2390
2391@@ -18850,7 +18840,7 @@
2392   ac_safe=`echo "-Wformat" | sed 'y%./+-:=%__p___%'`
2393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts -Wformat" >&5
2394 $as_echo_n "checking whether ${CC-cc} accepts -Wformat... " >&6; }
2395- if { as_var=octave_cv_cc_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
2396+ if eval "test \"\${octave_cv_cc_flag_$ac_safe+set}\"" = set; then :
2397   $as_echo_n "(cached) " >&6
2398 else
2399
2400@@ -18916,7 +18906,7 @@
2401   ac_safe=`echo "-Wall" | sed 'y%./+-:=%__p___%'`
2402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX-g++} accepts -Wall" >&5
2403 $as_echo_n "checking whether ${CXX-g++} accepts -Wall... " >&6; }
2404- if { as_var=octave_cv_cxx_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
2405+ if eval "test \"\${octave_cv_cxx_flag_$ac_safe+set}\"" = set; then :
2406   $as_echo_n "(cached) " >&6
2407 else
2408
2409@@ -18981,7 +18971,7 @@
2410   ac_safe=`echo "-W" | sed 'y%./+-:=%__p___%'`
2411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX-g++} accepts -W" >&5
2412 $as_echo_n "checking whether ${CXX-g++} accepts -W... " >&6; }
2413- if { as_var=octave_cv_cxx_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
2414+ if eval "test \"\${octave_cv_cxx_flag_$ac_safe+set}\"" = set; then :
2415   $as_echo_n "(cached) " >&6
2416 else
2417
2418@@ -19046,7 +19036,7 @@
2419   ac_safe=`echo "-Wshadow" | sed 'y%./+-:=%__p___%'`
2420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX-g++} accepts -Wshadow" >&5
2421 $as_echo_n "checking whether ${CXX-g++} accepts -Wshadow... " >&6; }
2422- if { as_var=octave_cv_cxx_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
2423+ if eval "test \"\${octave_cv_cxx_flag_$ac_safe+set}\"" = set; then :
2424   $as_echo_n "(cached) " >&6
2425 else
2426
2427@@ -19111,7 +19101,7 @@
2428   ac_safe=`echo "-Wold-style-cast" | sed 'y%./+-:=%__p___%'`
2429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX-g++} accepts -Wold-style-cast" >&5
2430 $as_echo_n "checking whether ${CXX-g++} accepts -Wold-style-cast... " >&6; }
2431- if { as_var=octave_cv_cxx_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
2432+ if eval "test \"\${octave_cv_cxx_flag_$ac_safe+set}\"" = set; then :
2433   $as_echo_n "(cached) " >&6
2434 else
2435
2436@@ -19176,7 +19166,7 @@
2437   ac_safe=`echo "-Wformat" | sed 'y%./+-:=%__p___%'`
2438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX-g++} accepts -Wformat" >&5
2439 $as_echo_n "checking whether ${CXX-g++} accepts -Wformat... " >&6; }
2440- if { as_var=octave_cv_cxx_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
2441+ if eval "test \"\${octave_cv_cxx_flag_$ac_safe+set}\"" = set; then :
2442   $as_echo_n "(cached) " >&6
2443 else
2444
2445@@ -19261,7 +19251,7 @@
2446   ac_safe=`echo "$flag" | sed 'y%./+-:=%__p___%'`
2447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC-cc} accepts $flag" >&5
2448 $as_echo_n "checking whether ${CC-cc} accepts $flag... " >&6; }
2449- if { as_var=octave_cv_cc_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
2450+ if eval "test \"\${octave_cv_cc_flag_$ac_safe+set}\"" = set; then :
2451   $as_echo_n "(cached) " >&6
2452 else
2453
2454@@ -19328,7 +19318,7 @@
2455   ac_safe=`echo "$flag" | sed 'y%./+-:=%__p___%'`
2456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CXX-g++} accepts $flag" >&5
2457 $as_echo_n "checking whether ${CXX-g++} accepts $flag... " >&6; }
2458- if { as_var=octave_cv_cxx_flag_$ac_safe; eval "test \"\${$as_var+set}\" = set"; }; then :
2459+ if eval "test \"\${octave_cv_cxx_flag_$ac_safe+set}\"" = set; then :
2460   $as_echo_n "(cached) " >&6
2461 else
2462
2463@@ -19503,6 +19493,7 @@
2464
2465 ac_libobjs=
2466 ac_ltlibobjs=
2467+U=
2468 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2469   # 1. Remove the extension, and $U if already installed.
2470   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2471@@ -19664,19 +19655,19 @@
2472 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2473
2474
2475-# as_fn_error ERROR [LINENO LOG_FD]
2476-# ---------------------------------
2477+# as_fn_error STATUS ERROR [LINENO LOG_FD]
2478+# ----------------------------------------
2479 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2480 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2481-# script with status $?, using 1 if that was 0.
2482+# script with STATUS, using 1 if that was 0.
2483 as_fn_error ()
2484 {
2485- as_status=$?; test $as_status -eq 0 && as_status=1
2486- if test "$3"; then
2487- as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2488- $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2489+ as_status=$1; test $as_status -eq 0 && as_status=1
2490+ if test "$4"; then
2491+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2492+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2493   fi
2494- $as_echo "$as_me: error: $1" >&2
2495+ $as_echo "$as_me: error: $2" >&2
2496   as_fn_exit $as_status
2497 } # as_fn_error
2498
2499@@ -19872,7 +19863,7 @@
2500       test -d "$as_dir" && break
2501     done
2502     test -z "$as_dirs" || eval "mkdir $as_dirs"
2503- } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2504+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2505
2506
2507 } # as_fn_mkdir_p
2508@@ -19926,7 +19917,7 @@
2509 # values after options handling.
2510 ac_log="
2511 This file was extended by $as_me, which was
2512-generated by GNU Autoconf 2.64. Invocation command line was
2513+generated by GNU Autoconf 2.67. Invocation command line was
2514
2515   CONFIG_FILES = $CONFIG_FILES
2516   CONFIG_HEADERS = $CONFIG_HEADERS
2517@@ -19966,6 +19957,7 @@
2518
2519   -h, --help print this help, then exit
2520   -V, --version print version number and configuration settings, then exit
2521+ --config print configuration, then exit
2522   -q, --quiet, --silent
2523                    do not print progress messages
2524   -d, --debug don't remove temporary files
2525@@ -19988,12 +19980,13 @@
2526
2527 _ACEOF
2528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2529+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2530 ac_cs_version="\\
2531 config.status
2532-configured by $0, generated by GNU Autoconf 2.64,
2533- with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2534+configured by $0, generated by GNU Autoconf 2.67,
2535+ with options \\"\$ac_cs_config\\"
2536
2537-Copyright (C) 2009 Free Software Foundation, Inc.
2538+Copyright (C) 2010 Free Software Foundation, Inc.
2539 This config.status script is free software; the Free Software Foundation
2540 gives unlimited permission to copy, distribute and modify it."
2541
2542@@ -20010,11 +20003,16 @@
2543 while test $# != 0
2544 do
2545   case $1 in
2546- --*=*)
2547+ --*=?*)
2548     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2549     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2550     ac_shift=:
2551     ;;
2552+ --*=)
2553+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
2554+ ac_optarg=
2555+ ac_shift=:
2556+ ;;
2557   *)
2558     ac_option=$1
2559     ac_optarg=$2
2560@@ -20028,12 +20026,15 @@
2561     ac_cs_recheck=: ;;
2562   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2563     $as_echo "$ac_cs_version"; exit ;;
2564+ --config | --confi | --conf | --con | --co | --c )
2565+ $as_echo "$ac_cs_config"; exit ;;
2566   --debug | --debu | --deb | --de | --d | -d )
2567     debug=: ;;
2568   --file | --fil | --fi | --f )
2569     $ac_shift
2570     case $ac_optarg in
2571     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2572+ '') as_fn_error $? "missing file argument" ;;
2573     esac
2574     as_fn_append CONFIG_FILES " '$ac_optarg'"
2575     ac_need_defaults=false;;
2576@@ -20046,7 +20047,7 @@
2577     ac_need_defaults=false;;
2578   --he | --h)
2579     # Conflict between --help and --header
2580- as_fn_error "ambiguous option: \`$1'
2581+ as_fn_error $? "ambiguous option: \`$1'
2582 Try \`$0 --help' for more information.";;
2583   --help | --hel | -h )
2584     $as_echo "$ac_cs_usage"; exit ;;
2585@@ -20055,7 +20056,7 @@
2586     ac_cs_silent=: ;;
2587
2588   # This is an error.
2589- -*) as_fn_error "unrecognized option: \`$1'
2590+ -*) as_fn_error $? "unrecognized option: \`$1'
2591 Try \`$0 --help' for more information." ;;
2592
2593   *) as_fn_append ac_config_targets " $1"
2594@@ -20142,7 +20143,7 @@
2595     "libcruft/blas-xtra/Makefile") CONFIG_FILES="$CONFIG_FILES libcruft/blas-xtra/Makefile" ;;
2596     "libcruft/lapack-xtra/Makefile") CONFIG_FILES="$CONFIG_FILES libcruft/lapack-xtra/Makefile" ;;
2597
2598- *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2599+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
2600   esac
2601 done
2602
2603@@ -20180,7 +20181,7 @@
2604 {
2605   tmp=./conf$$-$RANDOM
2606   (umask 077 && mkdir "$tmp")
2607-} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
2608+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2609
2610 # Set up the scripts for CONFIG_FILES section.
2611 # No need to generate them if there are no CONFIG_FILES.
2612@@ -20197,7 +20198,7 @@
2613 fi
2614 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2615 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2616- ac_cs_awk_cr='\r'
2617+ ac_cs_awk_cr='\\r'
2618 else
2619   ac_cs_awk_cr=$ac_cr
2620 fi
2621@@ -20211,18 +20212,18 @@
2622   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2623   echo "_ACEOF"
2624 } >conf$$subs.sh ||
2625- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2626-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
2627+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2628+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2629 ac_delim='%!_!# '
2630 for ac_last_try in false false false false false :; do
2631   . ./conf$$subs.sh ||
2632- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2633+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2634
2635   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2636   if test $ac_delim_n = $ac_delim_num; then
2637     break
2638   elif $ac_last_try; then
2639- as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2640+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2641   else
2642     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2643   fi
2644@@ -20244,7 +20245,7 @@
2645 t delim
2646 :nl
2647 h
2648-s/\(.\{148\}\).*/\1/
2649+s/\(.\{148\}\)..*/\1/
2650 t more1
2651 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2652 p
2653@@ -20258,7 +20259,7 @@
2654 t nl
2655 :delim
2656 h
2657-s/\(.\{148\}\).*/\1/
2658+s/\(.\{148\}\)..*/\1/
2659 t more2
2660 s/["\\]/\\&/g; s/^/"/; s/$/"/
2661 p
2662@@ -20311,20 +20312,28 @@
2663 else
2664   cat
2665 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
2666- || as_fn_error "could not setup config files machinery" "$LINENO" 5
2667+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2668 _ACEOF
2669
2670-# VPATH may cause trouble with some makes, so we remove $(srcdir),
2671-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2672+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
2673+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2674 # trailing colons and then remove the whole line if VPATH becomes empty
2675 # (actually we leave an empty line to preserve line numbers).
2676 if test "x$srcdir" = x.; then
2677- ac_vpsub='/^[ ]*VPATH[ ]*=/{
2678-s/:*\$(srcdir):*/:/
2679-s/:*\${srcdir}:*/:/
2680-s/:*@srcdir@:*/:/
2681-s/^\([^=]*=[ ]*\):*/\1/
2682+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
2683+h
2684+s///
2685+s/^/:/
2686+s/[ ]*$/:/
2687+s/:\$(srcdir):/:/g
2688+s/:\${srcdir}:/:/g
2689+s/:@srcdir@:/:/g
2690+s/^:*//
2691 s/:*$//
2692+x
2693+s/\(=[ ]*\).*/\1/
2694+G
2695+s/\n//
2696 s/^[^=]*=[ ]*$//
2697 }'
2698 fi
2699@@ -20352,7 +20361,7 @@
2700   if test -z "$ac_t"; then
2701     break
2702   elif $ac_last_try; then
2703- as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
2704+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
2705   else
2706     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2707   fi
2708@@ -20437,7 +20446,7 @@
2709 _ACAWK
2710 _ACEOF
2711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2712- as_fn_error "could not setup config headers machinery" "$LINENO" 5
2713+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
2714 fi # test -n "$CONFIG_HEADERS"
2715
2716
2717@@ -20450,7 +20459,7 @@
2718   esac
2719   case $ac_mode$ac_tag in
2720   :[FHL]*:*);;
2721- :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
2722+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
2723   :[FH]-) ac_tag=-:-;;
2724   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2725   esac
2726@@ -20478,7 +20487,7 @@
2727        [\\/$]*) false;;
2728        *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2729        esac ||
2730- as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2731+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
2732       esac
2733       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2734       as_fn_append ac_file_inputs " '$ac_f'"
2735@@ -20505,7 +20514,7 @@
2736
2737     case $ac_tag in
2738     *:-:* | *:-) cat >"$tmp/stdin" \
2739- || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
2740+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2741     esac
2742     ;;
2743   esac
2744@@ -20636,22 +20645,22 @@
2745 $ac_datarootdir_hack
2746 "
2747 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
2748- || as_fn_error "could not create $ac_file" "$LINENO" 5
2749+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2750
2751 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2752   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2753   { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2754   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2755-which seems to be undefined. Please make sure it is defined." >&5
2756+which seems to be undefined. Please make sure it is defined" >&5
2757 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2758-which seems to be undefined. Please make sure it is defined." >&2;}
2759+which seems to be undefined. Please make sure it is defined" >&2;}
2760
2761   rm -f "$tmp/stdin"
2762   case $ac_file in
2763   -) cat "$tmp/out" && rm -f "$tmp/out";;
2764   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
2765   esac \
2766- || as_fn_error "could not create $ac_file" "$LINENO" 5
2767+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2768  ;;
2769   :H)
2770   #
2771@@ -20662,19 +20671,19 @@
2772       $as_echo "/* $configure_input */" \
2773       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
2774     } >"$tmp/config.h" \
2775- || as_fn_error "could not create $ac_file" "$LINENO" 5
2776+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2777     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
2778       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
2779 $as_echo "$as_me: $ac_file is unchanged" >&6;}
2780     else
2781       rm -f "$ac_file"
2782       mv "$tmp/config.h" "$ac_file" \
2783- || as_fn_error "could not create $ac_file" "$LINENO" 5
2784+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2785     fi
2786   else
2787     $as_echo "/* $configure_input */" \
2788       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
2789- || as_fn_error "could not create -" "$LINENO" 5
2790+ || as_fn_error $? "could not create -" "$LINENO" 5
2791   fi
2792  ;;
2793
2794@@ -20698,7 +20707,7 @@
2795 ac_clean_files=$ac_clean_files_save
2796
2797 test $ac_write_fail = 0 ||
2798- as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
2799+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
2800
2801
2802 # configure is writing to config.log, and then calls config.status.
2803@@ -20719,7 +20728,7 @@
2804   exec 5>>config.log
2805   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2806   # would make configure fail if this is the last instruction.
2807- $ac_cs_success || as_fn_exit $?
2808+ $ac_cs_success || as_fn_exit 1
2809 fi
2810
2811 #
2812@@ -20860,7 +20869,7 @@
2813       # The eval makes quoting arguments work.
2814       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
2815        --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
2816- as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
2817+ as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
2818     fi
2819
2820     cd "$ac_popdir"
octave/patches/020-no-x-windows.patch
1Index: octave-3.2.4/configure
2===================================================================
3--- octave-3.2.4.orig/configure 2011-01-02 15:14:21.000000000 +0100
4@@ -6892,7 +6892,7 @@
5 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
6 fi
7
8-if test "$have_x"; then
9+if test "$have_x" = "yes"; then
10
11 $as_echo "#define HAVE_X_WINDOWS 1" >>confdefs.h
12
13Index: octave-3.2.4/configure.in
14===================================================================
15--- octave-3.2.4.orig/configure.in 2011-01-02 15:14:20.000000000 +0100
16@@ -258,7 +258,7 @@
17 ACX_PTHREAD
18
19 AC_PATH_X
20-if test "$have_x"; then
21+if test "$have_x" = "yes"; then
22   AC_DEFINE(HAVE_X_WINDOWS, 1, [Define if you have X11])
23
24   if test "$x_includes" != "NONE"; then

Archive Download the corresponding diff file



interactive