Browse code

(1.13.3) Some changes to how PTHREAD_STACK_MIN is handled

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/preprocessCore@51176 bc3139a8-67e5-0310-9ffc-ced21a209358

Ben Bolstad authored on 02/12/2010 01:55:07
Showing6 changed files

... ...
@@ -1,5 +1,5 @@
1 1
 Package: preprocessCore
2
-Version: 1.13.2
2
+Version: 1.13.3
3 3
 Title: A collection of pre-processing functions
4 4
 Author: Benjamin Milo Bolstad <bmb@bmbolstad.com>
5 5
 Maintainer: Benjamin Milo Bolstad <bmb@bmbolstad.com>
... ...
@@ -1,18 +1,22 @@
1 1
 #! /bin/sh
2 2
 # Guess values for system-dependent variables and create Makefiles.
3
-# Generated by GNU Autoconf 2.63.
3
+# Generated by GNU Autoconf 2.66.
4
+#
4 5
 #
5 6
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8
+# Foundation, Inc.
9
+#
10
+#
7 11
 # This configure script is free software; the Free Software Foundation
8 12
 # gives unlimited permission to copy, distribute and modify it.
9
-## --------------------- ##
10
-## M4sh Initialization.  ##
11
-## --------------------- ##
13
+## -------------------- ##
14
+## M4sh Initialization. ##
15
+## -------------------- ##
12 16
 
13 17
 # Be more Bourne compatible
14 18
 DUALCASE=1; export DUALCASE # for MKS sh
15
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16 20
   emulate sh
17 21
   NULLCMD=:
18 22
   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
... ...
@@ -20,23 +24,15 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 24
   alias -g '${1+"$@"}'='"$@"'
21 25
   setopt NO_GLOB_SUBST
22 26
 else
23
-  case `(set -o) 2>/dev/null` in
24
-  *posix*) set -o posix ;;
27
+  case `(set -o) 2>/dev/null` in #(
28
+  *posix*) :
29
+    set -o posix ;; #(
30
+  *) :
31
+     ;;
25 32
 esac
26
-
27 33
 fi
28 34
 
29 35
 
30
-
31
-
32
-# PATH needs CR
33
-# Avoid depending upon Character Ranges.
34
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
-as_cr_digits='0123456789'
38
-as_cr_alnum=$as_cr_Letters$as_cr_digits
39
-
40 36
 as_nl='
41 37
 '
42 38
 export as_nl
... ...
@@ -44,7 +40,13 @@ export as_nl
44 40
 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 41
 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 42
 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
-if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
43
+# Prefer a ksh shell builtin over an external printf program on Solaris,
44
+# but without wasting forks for bash or zsh.
45
+if test -z "$BASH_VERSION$ZSH_VERSION" \
46
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47
+  as_echo='print -r --'
48
+  as_echo_n='print -rn --'
49
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 50
   as_echo='printf %s\n'
49 51
   as_echo_n='printf %s'
50 52
 else
... ...
@@ -55,7 +57,7 @@ else
55 57
     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 58
     as_echo_n_body='eval
57 59
       arg=$1;
58
-      case $arg in
60
+      case $arg in #(
59 61
       *"$as_nl"*)
60 62
 	expr "X$arg" : "X\\(.*\\)$as_nl";
61 63
 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
... ...
@@ -78,13 +80,6 @@ if test "${PATH_SEPARATOR+set}" != set; then
78 80
   }
79 81
 fi
80 82
 
81
-# Support unset when possible.
82
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83
-  as_unset=unset
84
-else
85
-  as_unset=false
86
-fi
87
-
88 83
 
89 84
 # IFS
90 85
 # We need space, tab and new line, in precisely that order.  Quoting is
... ...
@@ -94,15 +89,15 @@ fi
94 89
 IFS=" ""	$as_nl"
95 90
 
96 91
 # Find who we are.  Look in the path if we contain no directory separator.
97
-case $0 in
92
+case $0 in #((
98 93
   *[\\/]* ) as_myself=$0 ;;
99 94
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 95
 for as_dir in $PATH
101 96
 do
102 97
   IFS=$as_save_IFS
103 98
   test -z "$as_dir" && as_dir=.
104
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
-done
99
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100
+  done
106 101
 IFS=$as_save_IFS
107 102
 
108 103
      ;;
... ...
@@ -114,12 +109,16 @@ if test "x$as_myself" = x; then
114 109
 fi
115 110
 if test ! -f "$as_myself"; then
116 111
   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
-  { (exit 1); exit 1; }
112
+  exit 1
118 113
 fi
119 114
 
120
-# Work around bugs in pre-3.0 UWIN ksh.
121
-for as_var in ENV MAIL MAILPATH
122
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115
+# Unset variables that we do not need and which cause bugs (e.g. in
116
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117
+# suppresses any "Segmentation fault" message there.  '((' could
118
+# trigger a bug in pdksh 5.2.14.
119
+for as_var in BASH_ENV ENV MAIL MAILPATH
120
+do eval test x\${$as_var+set} = xset \
121
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 122
 done
124 123
 PS1='$ '
125 124
 PS2='> '
... ...
@@ -131,330 +130,299 @@ export LC_ALL
131 130
 LANGUAGE=C
132 131
 export LANGUAGE
133 132
 
134
-# Required to use basename.
135
-if expr a : '\(a\)' >/dev/null 2>&1 &&
136
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
137
-  as_expr=expr
138
-else
139
-  as_expr=false
140
-fi
141
-
142
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143
-  as_basename=basename
144
-else
145
-  as_basename=false
146
-fi
147
-
148
-
149
-# Name of the executable.
150
-as_me=`$as_basename -- "$0" ||
151
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
-	 X"$0" : 'X\(//\)$' \| \
153
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154
-$as_echo X/"$0" |
155
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
156
-	    s//\1/
157
-	    q
158
-	  }
159
-	  /^X\/\(\/\/\)$/{
160
-	    s//\1/
161
-	    q
162
-	  }
163
-	  /^X\/\(\/\).*/{
164
-	    s//\1/
165
-	    q
166
-	  }
167
-	  s/.*/./; q'`
168
-
169 133
 # CDPATH.
170
-$as_unset CDPATH
171
-
134
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
172 135
 
173 136
 if test "x$CONFIG_SHELL" = x; then
174
-  if (eval ":") 2>/dev/null; then
175
-  as_have_required=yes
137
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
+  emulate sh
139
+  NULLCMD=:
140
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
+  # is contrary to our usage.  Disable this feature.
142
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
+  setopt NO_GLOB_SUBST
176 144
 else
177
-  as_have_required=no
145
+  case \`(set -o) 2>/dev/null\` in #(
146
+  *posix*) :
147
+    set -o posix ;; #(
148
+  *) :
149
+     ;;
150
+esac
178 151
 fi
179
-
180
-  if test $as_have_required = yes &&	 (eval ":
181
-(as_func_return () {
182
-  (exit \$1)
183
-}
184
-as_func_success () {
185
-  as_func_return 0
186
-}
187
-as_func_failure () {
188
-  as_func_return 1
189
-}
190
-as_func_ret_success () {
191
-  return 0
192
-}
193
-as_func_ret_failure () {
194
-  return 1
195
-}
152
+"
153
+  as_required="as_fn_return () { (exit \$1); }
154
+as_fn_success () { as_fn_return 0; }
155
+as_fn_failure () { as_fn_return 1; }
156
+as_fn_ret_success () { return 0; }
157
+as_fn_ret_failure () { return 1; }
196 158
 
197 159
 exitcode=0
198
-if as_func_success; then
199
-  :
200
-else
201
-  exitcode=1
202
-  echo as_func_success failed.
203
-fi
204
-
205
-if as_func_failure; then
206
-  exitcode=1
207
-  echo as_func_failure succeeded.
208
-fi
160
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
209 165
 
210
-if as_func_ret_success; then
211
-  :
212 166
 else
213
-  exitcode=1
214
-  echo as_func_ret_success failed.
167
+  exitcode=1; echo positional parameters were not saved.
215 168
 fi
216
-
217
-if as_func_ret_failure; then
218
-  exitcode=1
219
-  echo as_func_ret_failure succeeded.
220
-fi
221
-
222
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223
-  :
169
+test x\$exitcode = x0 || exit 1"
170
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
+test \$(( 1 + 1 )) = 2 || exit 1"
175
+  if (eval "$as_required") 2>/dev/null; then :
176
+  as_have_required=yes
224 177
 else
225
-  exitcode=1
226
-  echo positional parameters were not saved.
178
+  as_have_required=no
227 179
 fi
180
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
228 181
 
229
-test \$exitcode = 0) || { (exit 1); exit 1; }
230
-
231
-(
232
-  as_lineno_1=\$LINENO
233
-  as_lineno_2=\$LINENO
234
-  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
-  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
-") 2> /dev/null; then
237
-  :
238 182
 else
239
-  as_candidate_shells=
240
-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184
+as_found=false
241 185
 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242 186
 do
243 187
   IFS=$as_save_IFS
244 188
   test -z "$as_dir" && as_dir=.
245
-  case $as_dir in
189
+  as_found=:
190
+  case $as_dir in #(
246 191
 	 /*)
247 192
 	   for as_base in sh bash ksh sh5; do
248
-	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
193
+	     # Try only shells that exist, to save several forks.
194
+	     as_shell=$as_dir/$as_base
195
+	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
+		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
+  CONFIG_SHELL=$as_shell as_have_required=yes
198
+		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
+  break 2
200
+fi
201
+fi
249 202
 	   done;;
250 203
        esac
204
+  as_found=false
251 205
 done
206
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
+	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
+  CONFIG_SHELL=$SHELL as_have_required=yes
209
+fi; }
252 210
 IFS=$as_save_IFS
253 211
 
254 212
 
255
-      for as_shell in $as_candidate_shells $SHELL; do
256
-	 # Try only shells that exist, to save several forks.
257
-	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
-		{ ("$as_shell") 2> /dev/null <<\_ASEOF
259
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
-  emulate sh
261
-  NULLCMD=:
262
-  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
-  # is contrary to our usage.  Disable this feature.
264
-  alias -g '${1+"$@"}'='"$@"'
265
-  setopt NO_GLOB_SUBST
266
-else
267
-  case `(set -o) 2>/dev/null` in
268
-  *posix*) set -o posix ;;
269
-esac
270
-
271
-fi
272
-
273
-
274
-:
275
-_ASEOF
276
-}; then
277
-  CONFIG_SHELL=$as_shell
278
-	       as_have_required=yes
279
-	       if { "$as_shell" 2> /dev/null <<\_ASEOF
280
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281
-  emulate sh
282
-  NULLCMD=:
283
-  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
-  # is contrary to our usage.  Disable this feature.
285
-  alias -g '${1+"$@"}'='"$@"'
286
-  setopt NO_GLOB_SUBST
287
-else
288
-  case `(set -o) 2>/dev/null` in
289
-  *posix*) set -o posix ;;
290
-esac
291
-
292
-fi
293
-
294
-
295
-:
296
-(as_func_return () {
297
-  (exit $1)
298
-}
299
-as_func_success () {
300
-  as_func_return 0
301
-}
302
-as_func_failure () {
303
-  as_func_return 1
304
-}
305
-as_func_ret_success () {
306
-  return 0
307
-}
308
-as_func_ret_failure () {
309
-  return 1
310
-}
311
-
312
-exitcode=0
313
-if as_func_success; then
314
-  :
315
-else
316
-  exitcode=1
317
-  echo as_func_success failed.
318
-fi
319
-
320
-if as_func_failure; then
321
-  exitcode=1
322
-  echo as_func_failure succeeded.
323
-fi
324
-
325
-if as_func_ret_success; then
326
-  :
327
-else
328
-  exitcode=1
329
-  echo as_func_ret_success failed.
330
-fi
331
-
332
-if as_func_ret_failure; then
333
-  exitcode=1
334
-  echo as_func_ret_failure succeeded.
335
-fi
336
-
337
-if ( set x; as_func_ret_success y && test x = "$1" ); then
338
-  :
339
-else
340
-  exitcode=1
341
-  echo positional parameters were not saved.
342
-fi
343
-
344
-test $exitcode = 0) || { (exit 1); exit 1; }
345
-
346
-(
347
-  as_lineno_1=$LINENO
348
-  as_lineno_2=$LINENO
349
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
350
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
-
352
-_ASEOF
353
-}; then
354
-  break
355
-fi
356
-
357
-fi
358
-
359
-      done
360
-
361
-      if test "x$CONFIG_SHELL" != x; then
362
-  for as_var in BASH_ENV ENV
363
-	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364
-	done
213
+      if test "x$CONFIG_SHELL" != x; then :
214
+  # We cannot yet assume a decent shell, so we have to provide a
215
+	# neutralization value for shells without unset; and this also
216
+	# works around shells that cannot unset nonexistent variables.
217
+	BASH_ENV=/dev/null
218
+	ENV=/dev/null
219
+	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365 220
 	export CONFIG_SHELL
366 221
 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367 222
 fi
368 223
 
369
-
370
-    if test $as_have_required = no; then
371
-  echo This script requires a shell more modern than all the
372
-      echo shells that I found on your system.  Please install a
373
-      echo modern shell, or manually run the script under such a
374
-      echo shell if you do have one.
375
-      { (exit 1); exit 1; }
224
+    if test x$as_have_required = xno; then :
225
+  $as_echo "$0: This script requires a shell more modern than all"
226
+  $as_echo "$0: the shells that I found on your system."
227
+  if test x${ZSH_VERSION+set} = xset ; then
228
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
+  else
231
+    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
+$0: including any error possibly output before this
233
+$0: message. Then install a modern shell, or manually run
234
+$0: the script under such a shell if you do have one."
235
+  fi
236
+  exit 1
376 237
 fi
377
-
378
-
379 238
 fi
380
-
381 239
 fi
240
+SHELL=${CONFIG_SHELL-/bin/sh}
241
+export SHELL
242
+# Unset more variables known to interfere with behavior of common tools.
243
+CLICOLOR_FORCE= GREP_OPTIONS=
244
+unset CLICOLOR_FORCE GREP_OPTIONS
382 245
 
246
+## --------------------- ##
247
+## M4sh Shell Functions. ##
248
+## --------------------- ##
249
+# as_fn_unset VAR
250
+# ---------------
251
+# Portably unset VAR.
252
+as_fn_unset ()
253
+{
254
+  { eval $1=; unset $1;}
255
+}
256
+as_unset=as_fn_unset
383 257
 
258
+# as_fn_set_status STATUS
259
+# -----------------------
260
+# Set $? to STATUS, without forking.
261
+as_fn_set_status ()
262
+{
263
+  return $1
264
+} # as_fn_set_status
384 265
 
385
-(eval "as_func_return () {
386
-  (exit \$1)
387
-}
388
-as_func_success () {
389
-  as_func_return 0
390
-}
391
-as_func_failure () {
392
-  as_func_return 1
393
-}
394
-as_func_ret_success () {
395
-  return 0
396
-}
397
-as_func_ret_failure () {
398
-  return 1
399
-}
266
+# as_fn_exit STATUS
267
+# -----------------
268
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269
+as_fn_exit ()
270
+{
271
+  set +e
272
+  as_fn_set_status $1
273
+  exit $1
274
+} # as_fn_exit
275
+
276
+# as_fn_mkdir_p
277
+# -------------
278
+# Create "$as_dir" as a directory, including parents if necessary.
279
+as_fn_mkdir_p ()
280
+{
400 281
 
401
-exitcode=0
402
-if as_func_success; then
403
-  :
282
+  case $as_dir in #(
283
+  -*) as_dir=./$as_dir;;
284
+  esac
285
+  test -d "$as_dir" || eval $as_mkdir_p || {
286
+    as_dirs=
287
+    while :; do
288
+      case $as_dir in #(
289
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
+      *) as_qdir=$as_dir;;
291
+      esac
292
+      as_dirs="'$as_qdir' $as_dirs"
293
+      as_dir=`$as_dirname -- "$as_dir" ||
294
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
+	 X"$as_dir" : 'X\(//\)[^/]' \| \
296
+	 X"$as_dir" : 'X\(//\)$' \| \
297
+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
+$as_echo X"$as_dir" |
299
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300
+	    s//\1/
301
+	    q
302
+	  }
303
+	  /^X\(\/\/\)[^/].*/{
304
+	    s//\1/
305
+	    q
306
+	  }
307
+	  /^X\(\/\/\)$/{
308
+	    s//\1/
309
+	    q
310
+	  }
311
+	  /^X\(\/\).*/{
312
+	    s//\1/
313
+	    q
314
+	  }
315
+	  s/.*/./; q'`
316
+      test -d "$as_dir" && break
317
+    done
318
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
319
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
+
321
+
322
+} # as_fn_mkdir_p
323
+# as_fn_append VAR VALUE
324
+# ----------------------
325
+# Append the text in VALUE to the end of the definition contained in VAR. Take
326
+# advantage of any shell optimizations that allow amortized linear growth over
327
+# repeated appends, instead of the typical quadratic growth present in naive
328
+# implementations.
329
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
+  eval 'as_fn_append ()
331
+  {
332
+    eval $1+=\$2
333
+  }'
404 334
 else
405
-  exitcode=1
406
-  echo as_func_success failed.
407
-fi
335
+  as_fn_append ()
336
+  {
337
+    eval $1=\$$1\$2
338
+  }
339
+fi # as_fn_append
340
+
341
+# as_fn_arith ARG...
342
+# ------------------
343
+# Perform arithmetic evaluation on the ARGs, and store the result in the
344
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
+# must be portable across $(()) and expr.
346
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347
+  eval 'as_fn_arith ()
348
+  {
349
+    as_val=$(( $* ))
350
+  }'
351
+else
352
+  as_fn_arith ()
353
+  {
354
+    as_val=`expr "$@" || test $? -eq 1`
355
+  }
356
+fi # as_fn_arith
408 357
 
409
-if as_func_failure; then
410
-  exitcode=1
411
-  echo as_func_failure succeeded.
412
-fi
413 358
 
414
-if as_func_ret_success; then
415
-  :
359
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
360
+# ----------------------------------------
361
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
+# script with STATUS, using 1 if that was 0.
364
+as_fn_error ()
365
+{
366
+  as_status=$1; test $as_status -eq 0 && as_status=1
367
+  if test "$4"; then
368
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370
+  fi
371
+  $as_echo "$as_me: error: $2" >&2
372
+  as_fn_exit $as_status
373
+} # as_fn_error
374
+
375
+if expr a : '\(a\)' >/dev/null 2>&1 &&
376
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
377
+  as_expr=expr
416 378
 else
417
-  exitcode=1
418
-  echo as_func_ret_success failed.
379
+  as_expr=false
419 380
 fi
420 381
 
421
-if as_func_ret_failure; then
422
-  exitcode=1
423
-  echo as_func_ret_failure succeeded.
382
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383
+  as_basename=basename
384
+else
385
+  as_basename=false
424 386
 fi
425 387
 
426
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427
-  :
388
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389
+  as_dirname=dirname
428 390
 else
429
-  exitcode=1
430
-  echo positional parameters were not saved.
391
+  as_dirname=false
431 392
 fi
432 393
 
433
-test \$exitcode = 0") || {
434
-  echo No shell found that supports shell functions.
435
-  echo Please tell bug-autoconf@gnu.org about your system,
436
-  echo including any error possibly output before this message.
437
-  echo This can help us improve future autoconf versions.
438
-  echo Configuration will now proceed without shell functions.
439
-}
440
-
394
+as_me=`$as_basename -- "$0" ||
395
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
+	 X"$0" : 'X\(//\)$' \| \
397
+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398
+$as_echo X/"$0" |
399
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
400
+	    s//\1/
401
+	    q
402
+	  }
403
+	  /^X\/\(\/\/\)$/{
404
+	    s//\1/
405
+	    q
406
+	  }
407
+	  /^X\/\(\/\).*/{
408
+	    s//\1/
409
+	    q
410
+	  }
411
+	  s/.*/./; q'`
441 412
 
413
+# Avoid depending upon Character Ranges.
414
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
+as_cr_digits='0123456789'
418
+as_cr_alnum=$as_cr_Letters$as_cr_digits
442 419
 
443
-  as_lineno_1=$LINENO
444
-  as_lineno_2=$LINENO
445
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
446
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447 420
 
448
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
-  # uniformly replaced by the line number.  The first 'sed' inserts a
450
-  # line-number line after each line using $LINENO; the second 'sed'
451
-  # does the real work.  The second script uses 'N' to pair each
452
-  # line-number line with the line containing $LINENO, and appends
453
-  # trailing '-' during substitution so that $LINENO is not a special
454
-  # case at line end.
455
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
457
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
421
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
458 426
   sed -n '
459 427
     p
460 428
     /[$]LINENO/=
... ...
@@ -471,8 +439,7 @@ test \$exitcode = 0") || {
471 439
       s/-\n.*//
472 440
     ' >$as_me.lineno &&
473 441
   chmod +x "$as_me.lineno" ||
474
-    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
-   { (exit 1); exit 1; }; }
442
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
476 443
 
477 444
   # Don't try to exec as it changes $[0], causing all sort of problems
478 445
   # (the dirname of $[0] is not the place where we might find the
... ...
@@ -482,29 +449,18 @@ test \$exitcode = 0") || {
482 449
   exit
483 450
 }
484 451
 
485
-
486
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487
-  as_dirname=dirname
488
-else
489
-  as_dirname=false
490
-fi
491
-
492 452
 ECHO_C= ECHO_N= ECHO_T=
493
-case `echo -n x` in
453
+case `echo -n x` in #(((((
494 454
 -n*)
495
-  case `echo 'x\c'` in
455
+  case `echo 'xy\c'` in
496 456
   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
497
-  *)   ECHO_C='\c';;
457
+  xy)  ECHO_C='\c';;
458
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459
+       ECHO_T='	';;
498 460
   esac;;
499 461
 *)
500 462
   ECHO_N='-n';;
501 463
 esac
502
-if expr a : '\(a\)' >/dev/null 2>&1 &&
503
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
504
-  as_expr=expr
505
-else
506
-  as_expr=false
507
-fi
508 464
 
509 465
 rm -f conf$$ conf$$.exe conf$$.file
510 466
 if test -d conf$$.dir; then
... ...
@@ -534,7 +490,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 490
 rmdir conf$$.dir 2>/dev/null
535 491
 
536 492
 if mkdir -p . 2>/dev/null; then
537
-  as_mkdir_p=:
493
+  as_mkdir_p='mkdir -p "$as_dir"'
538 494
 else
539 495
   test -d ./-p && rmdir ./-p
540 496
   as_mkdir_p=false
... ...
@@ -553,10 +509,10 @@ else
553 509
       if test -d "$1"; then
554 510
 	test -d "$1/.";
555 511
       else
556
-	case $1 in
512
+	case $1 in #(
557 513
 	-*)set "./$1";;
558 514
 	esac;
559
-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
515
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
560 516
 	???[sx]*):;;*)false;;esac;fi
561 517
     '\'' sh
562 518
   '
... ...
@@ -570,11 +526,11 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570 526
 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571 527
 
572 528
 
573
-
574
-exec 7<&0 </dev/null 6>&1
529
+test -n "$DJDIR" || exec 7<&0 </dev/null
530
+exec 6>&1
575 531
 
576 532
 # Name of the host.
577
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
578 534
 # so uname gets run too.
579 535
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580 536
 
... ...
@@ -589,7 +545,6 @@ cross_compiling=no
589 545
 subdirs=
590 546
 MFLAGS=
591 547
 MAKEFLAGS=
592
-SHELL=${CONFIG_SHELL-/bin/sh}
593 548
 
594 549
 # Identity of this package.
595 550
 PACKAGE_NAME=
... ...
@@ -597,10 +552,49 @@ PACKAGE_TARNAME=
597 552
 PACKAGE_VERSION=
598 553
 PACKAGE_STRING=
599 554
 PACKAGE_BUGREPORT=
555
+PACKAGE_URL=
556
+
557
+# Factoring default headers for most tests.
558
+ac_includes_default="\
559
+#include <stdio.h>
560
+#ifdef HAVE_SYS_TYPES_H
561
+# include <sys/types.h>
562
+#endif
563
+#ifdef HAVE_SYS_STAT_H
564
+# include <sys/stat.h>
565
+#endif
566
+#ifdef STDC_HEADERS
567
+# include <stdlib.h>
568
+# include <stddef.h>
569
+#else
570
+# ifdef HAVE_STDLIB_H
571
+#  include <stdlib.h>
572
+# endif
573
+#endif
574
+#ifdef HAVE_STRING_H
575
+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
576
+#  include <memory.h>
577
+# endif
578
+# include <string.h>
579
+#endif
580
+#ifdef HAVE_STRINGS_H
581
+# include <strings.h>
582
+#endif
583
+#ifdef HAVE_INTTYPES_H
584
+# include <inttypes.h>
585
+#endif
586
+#ifdef HAVE_STDINT_H
587
+# include <stdint.h>
588
+#endif
589
+#ifdef HAVE_UNISTD_H
590
+# include <unistd.h>
591
+#endif"
600 592
 
601
-ac_unique_file=""DESCRIPTION""
602 593
 ac_subst_vars='LTLIBOBJS
603 594
 LIBOBJS
595
+EGREP
596
+GREP
597
+CPP
604 598
 OBJEXT
605 599
 EXEEXT
606 600
 ac_ct_CC
... ...
@@ -638,6 +632,7 @@ bindir
638 632
 program_transform_name
639 633
 prefix
640 634
 exec_prefix
635
+PACKAGE_URL
641 636
 PACKAGE_BUGREPORT
642 637
 PACKAGE_STRING
643 638
 PACKAGE_VERSION
... ...
@@ -656,7 +651,8 @@ CC
656 651
 CFLAGS
657 652
 LDFLAGS
658 653
 LIBS
659
-CPPFLAGS'
654
+CPPFLAGS
655
+CPP'
660 656
 
661 657
 
662 658
 # Initialize some variables set by options.
... ...
@@ -765,8 +761,7 @@ do
765 761
     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
766 762
     # Reject names that are not valid shell variable names.
767 763
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
768
-      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
769
-   { (exit 1); exit 1; }; }
764
+      as_fn_error $? "invalid feature name: $ac_useropt"
770 765
     ac_useropt_orig=$ac_useropt
771 766
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
772 767
     case $ac_user_opts in
... ...
@@ -792,8 +787,7 @@ do
792 787
     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
793 788
     # Reject names that are not valid shell variable names.
794 789
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
795
-      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
796
-   { (exit 1); exit 1; }; }
790
+      as_fn_error $? "invalid feature name: $ac_useropt"
797 791
     ac_useropt_orig=$ac_useropt
798 792
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
799 793
     case $ac_user_opts in
... ...
@@ -997,8 +991,7 @@ do
997 991
     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
998 992
     # Reject names that are not valid shell variable names.
999 993
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1000
-      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1001
-   { (exit 1); exit 1; }; }
994
+      as_fn_error $? "invalid package name: $ac_useropt"
1002 995
     ac_useropt_orig=$ac_useropt
1003 996
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1004 997
     case $ac_user_opts in
... ...
@@ -1014,8 +1007,7 @@ do
1014 1007
     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1015 1008
     # Reject names that are not valid shell variable names.
1016 1009
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1017
-      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1018
-   { (exit 1); exit 1; }; }
1010
+      as_fn_error $? "invalid package name: $ac_useropt"
1019 1011
     ac_useropt_orig=$ac_useropt
1020 1012
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 1013
     case $ac_user_opts in
... ...
@@ -1045,17 +1037,17 @@ do
1045 1037
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1046 1038
     x_libraries=$ac_optarg ;;
1047 1039
 
1048
-  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1049
-Try \`$0 --help' for more information." >&2
1050
-   { (exit 1); exit 1; }; }
1040
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1041
+Try \`$0 --help' for more information"
1051 1042
     ;;
1052 1043
 
1053 1044
   *=*)
1054 1045
     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1055 1046
     # Reject names that are not valid shell variable names.
1056
-    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1057
-      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1058
-   { (exit 1); exit 1; }; }
1047
+    case $ac_envvar in #(
1048
+      '' | [0-9]* | *[!_$as_cr_alnum]* )
1049
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1050
+    esac
1059 1051
     eval $ac_envvar=\$ac_optarg
1060 1052
     export $ac_envvar ;;
1061 1053
 
... ...
@@ -1072,15 +1064,13 @@ done
1072 1064
 
1073 1065
 if test -n "$ac_prev"; then
1074 1066
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1075
-  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1076
-   { (exit 1); exit 1; }; }
1067
+  as_fn_error $? "missing argument to $ac_option"
1077 1068
 fi
1078 1069
 
1079 1070
 if test -n "$ac_unrecognized_opts"; then
1080 1071
   case $enable_option_checking in
1081 1072
     no) ;;
1082
-    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1083
-   { (exit 1); exit 1; }; } ;;
1073
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1084 1074
     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1085 1075
   esac
1086 1076
 fi
... ...
@@ -1103,8 +1093,7 @@ do
1103 1093
     [\\/$]* | ?:[\\/]* )  continue;;
1104 1094
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1105 1095
   esac
1106
-  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1107
-   { (exit 1); exit 1; }; }
1096
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1108 1097
 done
1109 1098
 
1110 1099
 # There might be people who depend on the old broken behavior: `$host'
... ...
@@ -1118,8 +1107,8 @@ target=$target_alias
1118 1107
 if test "x$host_alias" != x; then
1119 1108
   if test "x$build_alias" = x; then
1120 1109
     cross_compiling=maybe
1121
-    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1122
-    If a cross compiler is detected then cross compile mode will be used." >&2
1110
+    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1111
+    If a cross compiler is detected then cross compile mode will be used" >&2
1123 1112
   elif test "x$build_alias" != "x$host_alias"; then
1124 1113
     cross_compiling=yes
1125 1114
   fi
... ...
@@ -1134,11 +1123,9 @@ test "$silent" = yes && exec 6>/dev/null
1134 1123
 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1135 1124
 ac_ls_di=`ls -di .` &&
1136 1125
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1137
-  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1138
-   { (exit 1); exit 1; }; }
1126
+  as_fn_error $? "working directory cannot be determined"
1139 1127
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1140
-  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1141
-   { (exit 1); exit 1; }; }
1128
+  as_fn_error $? "pwd does not report name of working directory"
1142 1129
 
1143 1130
 
1144 1131
 # Find the source files, if location was not specified.
... ...
@@ -1177,13 +1164,11 @@ else
1177 1164
 fi
1178 1165
 if test ! -r "$srcdir/$ac_unique_file"; then
1179 1166
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1180
-  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1181
-   { (exit 1); exit 1; }; }
1167
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1182 1168
 fi
1183 1169
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1184 1170
 ac_abs_confdir=`(
1185
-	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1186
-   { (exit 1); exit 1; }; }
1171
+	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1187 1172
 	pwd)`
1188 1173
 # When building in place, set srcdir=.
1189 1174
 if test "$ac_abs_confdir" = "$ac_pwd"; then
... ...
@@ -1223,7 +1208,7 @@ Configuration:
1223 1208
       --help=short        display options specific to this package
1224 1209
       --help=recursive    display the short help of all the included packages
1225 1210
   -V, --version           display version information and exit
1226
-  -q, --quiet, --silent   do not print \`checking...' messages
1211
+  -q, --quiet, --silent   do not print \`checking ...' messages
1227 1212
       --cache-file=FILE   cache test results in FILE [disabled]
1228 1213
   -C, --config-cache      alias for \`--cache-file=config.cache'
1229 1214
   -n, --no-create         do not create output files
... ...
@@ -1278,12 +1263,14 @@ Some influential environment variables:
1278 1263
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1279 1264
               nonstandard directory <lib dir>
1280 1265
   LIBS        libraries to pass to the linker, e.g. -l<library>
1281
-  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1266
+  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1282 1267
               you have headers in a nonstandard directory <include dir>
1268
+  CPP         C preprocessor
1283 1269
 
1284 1270
 Use these variables to override the choices made by `configure' or to help
1285 1271
 it to find libraries and programs with nonstandard names/locations.
1286 1272
 
1273
+Report bugs to the package provider.
1287 1274
 _ACEOF
1288 1275
 ac_status=$?
1289 1276
 fi
... ...
@@ -1347,21 +1334,305 @@ test -n "$ac_init_help" && exit $ac_status
1347 1334
 if $ac_init_version; then
1348 1335
   cat <<\_ACEOF
1349 1336
 configure
1350
-generated by GNU Autoconf 2.63
1337
+generated by GNU Autoconf 2.66
1351 1338
 
1352
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1353
-2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1339
+Copyright (C) 2010 Free Software Foundation, Inc.
1354 1340
 This configure script is free software; the Free Software Foundation
1355 1341
 gives unlimited permission to copy, distribute and modify it.
1356 1342
 _ACEOF
1357 1343
   exit
1358 1344
 fi
1345
+
1346
+## ------------------------ ##
1347
+## Autoconf initialization. ##
1348
+## ------------------------ ##
1349
+
1350
+# ac_fn_c_try_compile LINENO
1351
+# --------------------------
1352
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
1353
+ac_fn_c_try_compile ()
1354
+{
1355
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1356
+  rm -f conftest.$ac_objext
1357
+  if { { ac_try="$ac_compile"
1358
+case "(($ac_try" in
1359
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1360
+  *) ac_try_echo=$ac_try;;
1361
+esac
1362
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1363
+$as_echo "$ac_try_echo"; } >&5
1364
+  (eval "$ac_compile") 2>conftest.err
1365
+  ac_status=$?
1366
+  if test -s conftest.err; then
1367
+    grep -v '^ *+' conftest.err >conftest.er1
1368
+    cat conftest.er1 >&5
1369
+    mv -f conftest.er1 conftest.err
1370
+  fi
1371
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1372
+  test $ac_status = 0; } && {
1373
+	 test -z "$ac_c_werror_flag" ||
1374
+	 test ! -s conftest.err
1375
+       } && test -s conftest.$ac_objext; then :
1376
+  ac_retval=0
1377
+else
1378
+  $as_echo "$as_me: failed program was:" >&5
1379
+sed 's/^/| /' conftest.$ac_ext >&5
1380
+
1381
+	ac_retval=1
1382
+fi
1383
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1384
+  as_fn_set_status $ac_retval
1385
+
1386
+} # ac_fn_c_try_compile
1387
+
1388
+# ac_fn_c_try_link LINENO
1389
+# -----------------------
1390
+# Try to link conftest.$ac_ext, and return whether this succeeded.
1391
+ac_fn_c_try_link ()
1392
+{
1393
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1394
+  rm -f conftest.$ac_objext conftest$ac_exeext
1395
+  if { { ac_try="$ac_link"
1396
+case "(($ac_try" in
1397
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1398
+  *) ac_try_echo=$ac_try;;
1399
+esac
1400
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1401
+$as_echo "$ac_try_echo"; } >&5
1402
+  (eval "$ac_link") 2>conftest.err
1403
+  ac_status=$?
1404
+  if test -s conftest.err; then
1405
+    grep -v '^ *+' conftest.err >conftest.er1
1406
+    cat conftest.er1 >&5
1407
+    mv -f conftest.er1 conftest.err
1408
+  fi
1409
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1410
+  test $ac_status = 0; } && {
1411
+	 test -z "$ac_c_werror_flag" ||
1412
+	 test ! -s conftest.err
1413
+       } && test -s conftest$ac_exeext && {
1414
+	 test "$cross_compiling" = yes ||
1415
+	 $as_test_x conftest$ac_exeext
1416
+       }; then :
1417
+  ac_retval=0
1418
+else
1419
+  $as_echo "$as_me: failed program was:" >&5
1420
+sed 's/^/| /' conftest.$ac_ext >&5
1421
+
1422
+	ac_retval=1
1423
+fi
1424
+  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1425
+  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1426
+  # interfere with the next link command; also delete a directory that is
1427
+  # left behind by Apple's compiler.  We do this before executing the actions.
1428
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1429
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1430
+  as_fn_set_status $ac_retval
1431
+
1432
+} # ac_fn_c_try_link
1433
+
1434
+# ac_fn_c_try_cpp LINENO
1435
+# ----------------------
1436
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1437
+ac_fn_c_try_cpp ()
1438
+{
1439
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1440
+  if { { ac_try="$ac_cpp conftest.$ac_ext"
1441
+case "(($ac_try" in
1442
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1443
+  *) ac_try_echo=$ac_try;;
1444
+esac
1445
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1446
+$as_echo "$ac_try_echo"; } >&5
1447
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1448
+  ac_status=$?
1449
+  if test -s conftest.err; then
1450
+    grep -v '^ *+' conftest.err >conftest.er1
1451
+    cat conftest.er1 >&5
1452
+    mv -f conftest.er1 conftest.err
1453
+  fi
1454
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1455
+  test $ac_status = 0; } >/dev/null && {
1456
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1457
+	 test ! -s conftest.err
1458
+       }; then :
1459
+  ac_retval=0
1460
+else
1461
+  $as_echo "$as_me: failed program was:" >&5
1462
+sed 's/^/| /' conftest.$ac_ext >&5
1463
+
1464
+    ac_retval=1
1465
+fi
1466
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1467
+  as_fn_set_status $ac_retval
1468
+
1469
+} # ac_fn_c_try_cpp
1470
+
1471
+# ac_fn_c_try_run LINENO
1472
+# ----------------------
1473
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1474
+# that executables *can* be run.
1475
+ac_fn_c_try_run ()
1476
+{
1477
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478
+  if { { ac_try="$ac_link"
1479
+case "(($ac_try" in
1480
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1481
+  *) ac_try_echo=$ac_try;;
1482
+esac
1483
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1484
+$as_echo "$ac_try_echo"; } >&5
1485
+  (eval "$ac_link") 2>&5
1486
+  ac_status=$?
1487
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1488
+  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1489
+  { { case "(($ac_try" in
1490
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1491
+  *) ac_try_echo=$ac_try;;
1492
+esac
1493
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494
+$as_echo "$ac_try_echo"; } >&5
1495
+  (eval "$ac_try") 2>&5
1496
+  ac_status=$?
1497
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1498
+  test $ac_status = 0; }; }; then :
1499
+  ac_retval=0
1500
+else
1501
+  $as_echo "$as_me: program exited with status $ac_status" >&5
1502
+       $as_echo "$as_me: failed program was:" >&5
1503
+sed 's/^/| /' conftest.$ac_ext >&5
1504
+
1505
+       ac_retval=$ac_status
1506
+fi
1507
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1508
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1509
+  as_fn_set_status $ac_retval
1510
+
1511
+} # ac_fn_c_try_run
1512
+
1513
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1514
+# -------------------------------------------------------
1515
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1516
+# the include files in INCLUDES and setting the cache variable VAR
1517
+# accordingly.
1518
+ac_fn_c_check_header_mongrel ()
1519
+{
1520
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521
+  if eval "test \"\${$3+set}\"" = set; then :
1522
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1523
+$as_echo_n "checking for $2... " >&6; }
1524
+if eval "test \"\${$3+set}\"" = set; then :
1525
+  $as_echo_n "(cached) " >&6
1526
+fi
1527
+eval ac_res=\$$3
1528
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1529
+$as_echo "$ac_res" >&6; }
1530
+else
1531
+  # Is the header compilable?
1532
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1533
+$as_echo_n "checking $2 usability... " >&6; }
1534
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1535
+/* end confdefs.h.  */
1536
+$4
1537
+#include <$2>
1538
+_ACEOF
1539
+if ac_fn_c_try_compile "$LINENO"; then :
1540
+  ac_header_compiler=yes
1541
+else
1542
+  ac_header_compiler=no
1543
+fi
1544
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1545
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1546
+$as_echo "$ac_header_compiler" >&6; }
1547
+
1548
+# Is the header present?
1549
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1550
+$as_echo_n "checking $2 presence... " >&6; }
1551
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1552
+/* end confdefs.h.  */
1553
+#include <$2>
1554
+_ACEOF
1555
+if ac_fn_c_try_cpp "$LINENO"; then :
1556
+  ac_header_preproc=yes
1557
+else
1558
+  ac_header_preproc=no
1559
+fi
1560
+rm -f conftest.err conftest.$ac_ext
1561
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1562
+$as_echo "$ac_header_preproc" >&6; }
1563
+
1564
+# So?  What about this header?
1565
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1566
+  yes:no: )
1567
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1568
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1569
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1570
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1571
+    ;;
1572
+  no:yes:* )
1573
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1574
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1575
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1576
+$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1577
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1578
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1579
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1580
+$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1581
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1582
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1583
+    ;;
1584
+esac
1585
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1586
+$as_echo_n "checking for $2... " >&6; }
1587
+if eval "test \"\${$3+set}\"" = set; then :
1588
+  $as_echo_n "(cached) " >&6
1589
+else
1590
+  eval "$3=\$ac_header_compiler"
1591
+fi
1592
+eval ac_res=\$$3
1593
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1594
+$as_echo "$ac_res" >&6; }
1595
+fi
1596
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1597
+
1598
+} # ac_fn_c_check_header_mongrel
1599
+
1600
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1601
+# -------------------------------------------------------
1602
+# Tests whether HEADER exists and can be compiled using the include files in
1603
+# INCLUDES, setting the cache variable VAR accordingly.
1604
+ac_fn_c_check_header_compile ()
1605
+{
1606
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608
+$as_echo_n "checking for $2... " >&6; }
1609
+if eval "test \"\${$3+set}\"" = set; then :
1610
+  $as_echo_n "(cached) " >&6
1611
+else
1612
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1613
+/* end confdefs.h.  */
1614
+$4
1615
+#include <$2>
1616
+_ACEOF
1617
+if ac_fn_c_try_compile "$LINENO"; then :
1618
+  eval "$3=yes"
1619
+else
1620
+  eval "$3=no"
1621
+fi
1622
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1623
+fi
1624
+eval ac_res=\$$3
1625
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1626
+$as_echo "$ac_res" >&6; }
1627
+  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1628
+
1629
+} # ac_fn_c_check_header_compile
1359 1630
 cat >config.log <<_ACEOF
1360 1631
 This file contains any messages produced by compilers while
1361 1632
 running configure, to aid debugging if configure makes a mistake.
1362 1633
 
1363 1634
 It was created by $as_me, which was
1364
-generated by GNU Autoconf 2.63.  Invocation command line was
1635
+generated by GNU Autoconf 2.66.  Invocation command line was
1365 1636
 
1366 1637
   $ $0 $@
1367 1638
 
... ...
@@ -1397,8 +1668,8 @@ for as_dir in $PATH
1397 1668
 do
1398 1669
   IFS=$as_save_IFS
1399 1670
   test -z "$as_dir" && as_dir=.
1400
-  $as_echo "PATH: $as_dir"
1401
-done
1671
+    $as_echo "PATH: $as_dir"
1672
+  done
1402 1673
 IFS=$as_save_IFS
1403 1674
 
1404 1675
 } >&5
... ...
@@ -1435,9 +1706,9 @@ do
1435 1706
       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1436 1707
     esac
1437 1708
     case $ac_pass in
1438
-    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1709
+    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1439 1710
     2)
1440
-      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1711
+      as_fn_append ac_configure_args1 " '$ac_arg'"
1441 1712
       if test $ac_must_keep_next = true; then
1442 1713
 	ac_must_keep_next=false # Got value, back to normal.
1443 1714
       else
... ...
@@ -1453,13 +1724,13 @@ do
1453 1724
 	  -* ) ac_must_keep_next=true ;;
1454 1725
 	esac
1455 1726
       fi
1456
-      ac_configure_args="$ac_configure_args '$ac_arg'"
1727
+      as_fn_append ac_configure_args " '$ac_arg'"
1457 1728
       ;;
1458 1729
     esac
1459 1730
   done
1460 1731
 done
1461
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1462
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1732
+{ ac_configure_args0=; unset ac_configure_args0;}
1733
+{ ac_configure_args1=; unset ac_configure_args1;}
1463 1734
 
1464 1735
 # When interrupted or exit'd, cleanup temporary files, and complete
1465 1736
 # config.log.  We remove comments because anyway the quotes in there
... ...
@@ -1471,11 +1742,9 @@ trap 'exit_status=$?
1471 1742
   {
1472 1743
     echo
1473 1744
 
1474
-    cat <<\_ASBOX
1475
-## ---------------- ##
1745
+    $as_echo "## ---------------- ##
1476 1746
 ## Cache variables. ##
1477
-## ---------------- ##
1478
-_ASBOX
1747
+## ---------------- ##"
1479 1748
     echo
1480 1749
     # The following way of writing the cache mishandles newlines in values,
1481 1750
 (
... ...
@@ -1484,13 +1753,13 @@ _ASBOX
1484 1753
     case $ac_val in #(
1485 1754
     *${as_nl}*)
1486 1755
       case $ac_var in #(
1487
-      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1756
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1488 1757
 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1489 1758
       esac
1490 1759
       case $ac_var in #(
1491 1760
       _ | IFS | as_nl) ;; #(
1492 1761
       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1493
-      *) $as_unset $ac_var ;;
1762
+      *) { eval $ac_var=; unset $ac_var;} ;;
1494 1763
       esac ;;
1495 1764
     esac
1496 1765
   done
... ...
@@ -1509,11 +1778,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1509 1778
 )
1510 1779
     echo
1511 1780
 
1512
-    cat <<\_ASBOX
1513
-## ----------------- ##
1781
+    $as_echo "## ----------------- ##
1514 1782
 ## Output variables. ##
1515
-## ----------------- ##
1516
-_ASBOX
1783
+## ----------------- ##"
1517 1784
     echo
1518 1785
     for ac_var in $ac_subst_vars
1519 1786
     do
... ...
@@ -1526,11 +1793,9 @@ _ASBOX
1526 1793
     echo
1527 1794
 
1528 1795
     if test -n "$ac_subst_files"; then
1529
-      cat <<\_ASBOX
1530
-## ------------------- ##
1796
+      $as_echo "## ------------------- ##
1531 1797
 ## File substitutions. ##
1532
-## ------------------- ##
1533
-_ASBOX
1798
+## ------------------- ##"
1534 1799
       echo
1535 1800
       for ac_var in $ac_subst_files
1536 1801
       do
... ...
@@ -1544,11 +1809,9 @@ _ASBOX
1544 1809
     fi
1545 1810
 
1546 1811
     if test -s confdefs.h; then
1547
-      cat <<\_ASBOX
1548
-## ----------- ##
1812
+      $as_echo "## ----------- ##
1549 1813
 ## confdefs.h. ##
1550
-## ----------- ##
1551
-_ASBOX
1814
+## ----------- ##"
1552 1815
       echo
1553 1816
       cat confdefs.h
1554 1817
       echo
... ...
@@ -1562,46 +1825,53 @@ _ASBOX
1562 1825
     exit $exit_status
1563 1826
 ' 0
1564 1827
 for ac_signal in 1 2 13 15; do
1565
-  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1828
+  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1566 1829
 done
1567 1830
 ac_signal=0
1568 1831
 
1569 1832
 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1570 1833
 rm -f -r conftest* confdefs.h
1571 1834
 
1835
+$as_echo "/* confdefs.h */" > confdefs.h
1836
+
1572 1837
 # Predefined preprocessor variables.
1573 1838
 
1574 1839
 cat >>confdefs.h <<_ACEOF
1575 1840
 #define PACKAGE_NAME "$PACKAGE_NAME"
1576 1841
 _ACEOF
1577 1842
 
1578
-
1579 1843
 cat >>confdefs.h <<_ACEOF
1580 1844
 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1581 1845
 _ACEOF
1582 1846
 
1583
-
1584 1847
 cat >>confdefs.h <<_ACEOF
1585 1848
 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1586 1849
 _ACEOF
1587 1850
 
1588
-
1589 1851
 cat >>confdefs.h <<_ACEOF
1590 1852
 #define PACKAGE_STRING "$PACKAGE_STRING"
1591 1853
 _ACEOF
1592 1854
 
1593
-
1594 1855
 cat >>confdefs.h <<_ACEOF
1595 1856
 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1596 1857
 _ACEOF
1597 1858
 
1859
+cat >>confdefs.h <<_ACEOF
1860
+#define PACKAGE_URL "$PACKAGE_URL"
1861
+_ACEOF
1862
+
1598 1863
 
1599 1864
 # Let the site file select an alternate cache file if it wants to.
1600 1865
 # Prefer an explicitly selected file to automatically selected ones.
1601 1866
 ac_site_file1=NONE
1602 1867
 ac_site_file2=NONE
1603 1868
 if test -n "$CONFIG_SITE"; then
1604
-  ac_site_file1=$CONFIG_SITE
1869
+  # We do not want a PATH search for config.site.
1870
+  case $CONFIG_SITE in #((
1871
+    -*)  ac_site_file1=./$CONFIG_SITE;;
1872
+    */*) ac_site_file1=$CONFIG_SITE;;
1873
+    *)   ac_site_file1=./$CONFIG_SITE;;
1874
+  esac
1605 1875
 elif test "x$prefix" != xNONE; then
1606 1876
   ac_site_file1=$prefix/share/config.site
1607 1877
   ac_site_file2=$prefix/etc/config.site
... ...
@@ -1612,19 +1882,23 @@ fi
1612 1882
 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1613 1883
 do
1614 1884
   test "x$ac_site_file" = xNONE && continue
1615
-  if test -r "$ac_site_file"; then
1616
-    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1885
+  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1886
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1617 1887
 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1618 1888
     sed 's/^/| /' "$ac_site_file" >&5
1619
-    . "$ac_site_file"
1889
+    . "$ac_site_file" \
1890
+      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1891
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1892
+as_fn_error $? "failed to load site script $ac_site_file
1893
+See \`config.log' for more details" "$LINENO" 5; }
1620 1894
   fi
1621 1895
 done
1622 1896
 
1623 1897
 if test -r "$cache_file"; then
1624
-  # Some versions of bash will fail to source /dev/null (special
1625
-  # files actually), so we avoid doing that.
1626
-  if test -f "$cache_file"; then
1627
-    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1898
+  # Some versions of bash will fail to source /dev/null (special files
1899
+  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1900
+  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1901
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1628 1902
 $as_echo "$as_me: loading cache $cache_file" >&6;}
1629 1903
     case $cache_file in
1630 1904
       [\\/]* | ?:[\\/]* ) . "$cache_file";;
... ...
@@ -1632,7 +1906,7 @@ $as_echo "$as_me: loading cache $cache_file" >&6;}
1632 1906
     esac
1633 1907
   fi
1634 1908
 else
1635
-  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1909
+  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1636 1910
 $as_echo "$as_me: creating cache $cache_file" >&6;}
1637 1911
   >$cache_file
1638 1912
 fi
... ...
@@ -1647,11 +1921,11 @@ for ac_var in $ac_precious_vars; do
1647 1921
   eval ac_new_val=\$ac_env_${ac_var}_value
1648 1922
   case $ac_old_set,$ac_new_set in
1649 1923
     set,)
1650
-      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1924
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1651 1925
 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1652 1926
       ac_cache_corrupted=: ;;
1653 1927
     ,set)
1654
-      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1928
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1655 1929
 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1656 1930
       ac_cache_corrupted=: ;;
1657 1931
     ,);;
... ...
@@ -1661,17 +1935,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1661 1935
 	ac_old_val_w=`echo x $ac_old_val`
1662 1936
 	ac_new_val_w=`echo x $ac_new_val`
1663 1937
 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1664
-	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1938
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1665 1939
 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1666 1940
 	  ac_cache_corrupted=:
1667 1941
 	else
1668
-	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1942
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1669 1943
 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1670 1944
 	  eval $ac_var=\$ac_old_val
1671 1945
 	fi
1672
-	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1946
+	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1673 1947
 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1674
-	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1948
+	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1675 1949
 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1676 1950
       fi;;
1677 1951
   esac
... ...
@@ -1683,35 +1957,20 @@ $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1683 1957
     esac
1684 1958
     case " $ac_configure_args " in
1685 1959
       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1686
-      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1960
+      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1687 1961
     esac
1688 1962
   fi
1689 1963
 done
1690 1964
 if $ac_cache_corrupted; then
1691
-  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1965
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1692 1966
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1693
-  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1967
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1694 1968
 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1695
-  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1696
-$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1697
-   { (exit 1); exit 1; }; }
1969
+  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1698 1970
 fi
1699
-
1700
-
1701
-
1702
-
1703
-
1704
-
1705
-
1706
-
1707
-
1708
-
1709
-
1710
-
1711
-
1712
-
1713
-
1714
-
1971
+## -------------------- ##
1972
+## Main body of script. ##
1973
+## -------------------- ##
1715 1974
 
1716 1975
 ac_ext=c
1717 1976
 ac_cpp='$CPP $CPPFLAGS'
... ...
@@ -1722,6 +1981,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1722 1981
 
1723 1982
 
1724 1983
 
1984
+# Checks for libraries.
1985
+use_pthreads=no
1725 1986
 ac_ext=c
1726 1987
 ac_cpp='$CPP $CPPFLAGS'
1727 1988
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
... ...
@@ -1730,9 +1991,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1730 1991
 if test -n "$ac_tool_prefix"; then
1731 1992
   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1732 1993
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1733
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1994
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1734 1995
 $as_echo_n "checking for $ac_word... " >&6; }
1735
-if test "${ac_cv_prog_CC+set}" = set; then
1996
+if test "${ac_cv_prog_CC+set}" = set; then :
1736 1997
   $as_echo_n "(cached) " >&6
1737 1998
 else
1738 1999
   if test -n "$CC"; then
... ...
@@ -1743,24 +2004,24 @@ for as_dir in $PATH
1743 2004
 do
1744 2005
   IFS=$as_save_IFS
1745 2006
   test -z "$as_dir" && as_dir=.
1746
-  for ac_exec_ext in '' $ac_executable_extensions; do
2007
+    for ac_exec_ext in '' $ac_executable_extensions; do
1747 2008
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1748 2009
     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1749
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2010
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 2011
     break 2
1751 2012
   fi
1752 2013
 done
1753
-done
2014
+  done
1754 2015
 IFS=$as_save_IFS
1755 2016
 
1756 2017
 fi
1757 2018
 fi
1758 2019
 CC=$ac_cv_prog_CC
1759 2020
 if test -n "$CC"; then
1760
-  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2021
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1761 2022
 $as_echo "$CC" >&6; }
1762 2023
 else
1763
-  { $as_echo "$as_me:$LINENO: result: no" >&5
2024
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1764 2025
 $as_echo "no" >&6; }
1765 2026
 fi
1766 2027
 
... ...
@@ -1770,9 +2031,9 @@ if test -z "$ac_cv_prog_CC"; then
1770 2031
   ac_ct_CC=$CC
1771 2032
   # Extract the first word of "gcc", so it can be a program name with args.
1772 2033
 set dummy gcc; ac_word=$2
1773
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2034
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1774 2035
 $as_echo_n "checking for $ac_word... " >&6; }
1775
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2036
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1776 2037
   $as_echo_n "(cached) " >&6
1777 2038
 else
1778 2039
   if test -n "$ac_ct_CC"; then
... ...
@@ -1783,24 +2044,24 @@ for as_dir in $PATH
1783 2044
 do
1784 2045
   IFS=$as_save_IFS
1785 2046
   test -z "$as_dir" && as_dir=.
1786
-  for ac_exec_ext in '' $ac_executable_extensions; do
2047
+    for ac_exec_ext in '' $ac_executable_extensions; do
1787 2048
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1788 2049
     ac_cv_prog_ac_ct_CC="gcc"
1789
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2050
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1790 2051
     break 2
1791 2052
   fi
1792 2053
 done
1793
-done
2054
+  done
1794 2055
 IFS=$as_save_IFS
1795 2056
 
1796 2057
 fi
1797 2058
 fi
1798 2059
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1799 2060
 if test -n "$ac_ct_CC"; then
1800
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2061
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1801 2062
 $as_echo "$ac_ct_CC" >&6; }
1802 2063
 else
1803
-  { $as_echo "$as_me:$LINENO: result: no" >&5
2064
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1804 2065
 $as_echo "no" >&6; }
1805 2066
 fi
1806 2067
 
... ...
@@ -1809,7 +2070,7 @@ fi
1809 2070
   else
1810 2071
     case $cross_compiling:$ac_tool_warned in
1811 2072
 yes:)
1812
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2073
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1813 2074
 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1814 2075
 ac_tool_warned=yes ;;
1815 2076
 esac
... ...
@@ -1823,9 +2084,9 @@ if test -z "$CC"; then
1823 2084
           if test -n "$ac_tool_prefix"; then
1824 2085
     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1825 2086
 set dummy ${ac_tool_prefix}cc; ac_word=$2
1826
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2087
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1827 2088
 $as_echo_n "checking for $ac_word... " >&6; }
1828
-if test "${ac_cv_prog_CC+set}" = set; then
2089
+if test "${ac_cv_prog_CC+set}" = set; then :
1829 2090
   $as_echo_n "(cached) " >&6
1830 2091
 else
1831 2092
   if test -n "$CC"; then
... ...
@@ -1836,24 +2097,24 @@ for as_dir in $PATH
1836 2097
 do
1837 2098
   IFS=$as_save_IFS
1838 2099
   test -z "$as_dir" && as_dir=.
1839
-  for ac_exec_ext in '' $ac_executable_extensions; do
2100
+    for ac_exec_ext in '' $ac_executable_extensions; do
1840 2101
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1841 2102
     ac_cv_prog_CC="${ac_tool_prefix}cc"
1842
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1843 2104
     break 2
1844 2105
   fi
1845 2106
 done
1846
-done
2107
+  done
1847 2108
 IFS=$as_save_IFS
1848 2109
 
1849 2110
 fi
1850 2111
 fi
1851 2112
 CC=$ac_cv_prog_CC
1852 2113
 if test -n "$CC"; then
1853
-  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2114
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1854 2115
 $as_echo "$CC" >&6; }
1855 2116
 else
1856
-  { $as_echo "$as_me:$LINENO: result: no" >&5
2117
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1857 2118
 $as_echo "no" >&6; }
1858 2119
 fi
1859 2120
 
... ...
@@ -1863,9 +2124,9 @@ fi
1863 2124
 if test -z "$CC"; then
1864 2125
   # Extract the first word of "cc", so it can be a program name with args.
1865 2126
 set dummy cc; ac_word=$2
1866
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2127
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1867 2128
 $as_echo_n "checking for $ac_word... " >&6; }
1868
-if test "${ac_cv_prog_CC+set}" = set; then
2129
+if test "${ac_cv_prog_CC+set}" = set; then :
1869 2130
   $as_echo_n "(cached) " >&6
1870 2131
 else
1871 2132
   if test -n "$CC"; then
... ...
@@ -1877,18 +2138,18 @@ for as_dir in $PATH
1877 2138
 do
1878 2139
   IFS=$as_save_IFS
1879 2140
   test -z "$as_dir" && as_dir=.
1880
-  for ac_exec_ext in '' $ac_executable_extensions; do
2141
+    for ac_exec_ext in '' $ac_executable_extensions; do
1881 2142
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1882 2143
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1883 2144
        ac_prog_rejected=yes
1884 2145
        continue
1885 2146
      fi
1886 2147
     ac_cv_prog_CC="cc"
1887
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2148
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 2149
     break 2
1889 2150
   fi
1890 2151
 done
1891
-done
2152
+  done
1892 2153
 IFS=$as_save_IFS
1893 2154
 
1894 2155
 if test $ac_prog_rejected = yes; then
... ...
@@ -1907,10 +2168,10 @@ fi
1907 2168
 fi
1908 2169
 CC=$ac_cv_prog_CC
1909 2170
 if test -n "$CC"; then
1910
-  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2171
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1911 2172
 $as_echo "$CC" >&6; }
1912 2173
 else
1913
-  { $as_echo "$as_me:$LINENO: result: no" >&5
2174
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1914 2175
 $as_echo "no" >&6; }
1915 2176
 fi
1916 2177
 
... ...
@@ -1922,9 +2183,9 @@ if test -z "$CC"; then
1922 2183
   do
1923 2184
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1924 2185
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1925
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2186
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1926 2187
 $as_echo_n "checking for $ac_word... " >&6; }
1927
-if test "${ac_cv_prog_CC+set}" = set; then
2188
+if test "${ac_cv_prog_CC+set}" = set; then :
1928 2189
   $as_echo_n "(cached) " >&6
1929 2190
 else
1930 2191
   if test -n "$CC"; then
... ...
@@ -1935,24 +2196,24 @@ for as_dir in $PATH
1935 2196
 do
1936 2197
   IFS=$as_save_IFS
1937 2198
   test -z "$as_dir" && as_dir=.
1938
-  for ac_exec_ext in '' $ac_executable_extensions; do
2199
+    for ac_exec_ext in '' $ac_executable_extensions; do
1939 2200
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1940 2201
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1941
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1942 2203
     break 2
1943 2204
   fi
1944 2205
 done
1945
-done
2206
+  done
1946 2207
 IFS=$as_save_IFS
1947 2208
 
1948 2209
 fi
1949 2210
 fi
1950 2211
 CC=$ac_cv_prog_CC
1951 2212
 if test -n "$CC"; then
1952
-  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2213
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1953 2214
 $as_echo "$CC" >&6; }
1954 2215
 else
1955
-  { $as_echo "$as_me:$LINENO: result: no" >&5
2216
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1956 2217
 $as_echo "no" >&6; }
1957 2218
 fi
1958 2219
 
... ...
@@ -1966,9 +2227,9 @@ if test -z "$CC"; then
1966 2227
 do
1967 2228
   # Extract the first word of "$ac_prog", so it can be a program name with args.
1968 2229
 set dummy $ac_prog; ac_word=$2
1969
-{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2230
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1970 2231
 $as_echo_n "checking for $ac_word... " >&6; }
1971
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2232
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1972 2233
   $as_echo_n "(cached) " >&6
1973 2234
 else
1974 2235
   if test -n "$ac_ct_CC"; then
... ...
@@ -1979,24 +2240,24 @@ for as_dir in $PATH
1979 2240
 do
1980 2241
   IFS=$as_save_IFS
1981 2242
   test -z "$as_dir" && as_dir=.
1982
-  for ac_exec_ext in '' $ac_executable_extensions; do
2243
+    for ac_exec_ext in '' $ac_executable_extensions; do
1983 2244
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1984 2245
     ac_cv_prog_ac_ct_CC="$ac_prog"
1985
-    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1986 2247
     break 2
1987 2248
   fi
1988 2249
 done
1989
-done
2250
+  done
1990 2251
 IFS=$as_save_IFS
1991 2252
 
1992 2253
 fi
1993 2254
 fi
1994 2255
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1995 2256
 if test -n "$ac_ct_CC"; then
1996
-  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2257
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1997 2258
 $as_echo "$ac_ct_CC" >&6; }
1998 2259
 else
1999
-  { $as_echo "$as_me:$LINENO: result: no" >&5
2260
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2000 2261
 $as_echo "no" >&6; }
2001 2262
 fi
2002 2263
 
... ...
@@ -2009,7 +2270,7 @@ done
2009 2270
   else
2010 2271
     case $cross_compiling:$ac_tool_warned in
2011 2272
 yes:)
2012
-{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2273
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2013 2274
 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2014 2275
 ac_tool_warned=yes ;;
2015 2276
 esac
... ...
@@ -2020,57 +2281,37 @@ fi
2020 2281
 fi
2021 2282
 
2022 2283
 
2023
-test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2284
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2024 2285
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2025
-{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2026
-See \`config.log' for more details." >&5
2027
-$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2028
-See \`config.log' for more details." >&2;}
2029
-   { (exit 1); exit 1; }; }; }
2286
+as_fn_error $? "no acceptable C compiler found in \$PATH
2287
+See \`config.log' for more details" "$LINENO" 5; }
2030 2288
 
2031 2289
 # Provide some information about the compiler.
2032
-$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2290
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2033 2291
 set X $ac_compile
2034 2292
 ac_compiler=$2
2035
-{ (ac_try="$ac_compiler --version >&5"
2036
-case "(($ac_try" in
2037
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2038
-  *) ac_try_echo=$ac_try;;
2039
-esac
2040
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2041
-$as_echo "$ac_try_echo") >&5
2042
-  (eval "$ac_compiler --version >&5") 2>&5
2043
-  ac_status=$?
2044
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045
-  (exit $ac_status); }
2046
-{ (ac_try="$ac_compiler -v >&5"
2293
+for ac_option in --version -v -V -qversion; do
2294
+  { { ac_try="$ac_compiler $ac_option >&5"
2047 2295
 case "(($ac_try" in
2048 2296
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2049 2297
   *) ac_try_echo=$ac_try;;
2050 2298
 esac
2051
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2052
-$as_echo "$ac_try_echo") >&5
2053
-  (eval "$ac_compiler -v >&5") 2>&5
2299
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2300
+$as_echo "$ac_try_echo"; } >&5
2301
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2054 2302
   ac_status=$?
2055
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056
-  (exit $ac_status); }
2057
-{ (ac_try="$ac_compiler -V >&5"
2058
-case "(($ac_try" in
2059
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060
-  *) ac_try_echo=$ac_try;;
2061
-esac
2062
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2063
-$as_echo "$ac_try_echo") >&5
2064
-  (eval "$ac_compiler -V >&5") 2>&5
2065
-  ac_status=$?
2066
-  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067
-  (exit $ac_status); }
2303
+  if test -s conftest.err; then
2304
+    sed '10a\
2305
+... rest of stderr output deleted ...
2306
+         10q' conftest.err >conftest.er1
2307
+    cat conftest.er1 >&5
2308
+  fi
2309
+  rm -f conftest.er1 conftest.err
2310
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2311
+  test $ac_status = 0; }
2312