Browse code

new version fixing multiple build issues

Kasper Daniel Hansen authored on 28/10/2022 17:07:11
Showing5 changed files

... ...
@@ -2,7 +2,7 @@ Package: Rgraphviz
2 2
 Title: Provides plotting capabilities for R graph objects
3 3
 Description: Interfaces R with the AT and T graphviz library for
4 4
         plotting R graph objects from the graph package.
5
-Version: 2.41.1
5
+Version: 2.41.2
6 6
 Authors@R: c(person(c("Kasper", "Daniel"), "Hansen", role = c("cre", "aut"),
7 7
                     email = "kasperdanielhansen@gmail.com"),
8 8
              person("Jeff", "Gentry", role = "aut"),
... ...
@@ -1,11 +1,12 @@
1 1
 #! /bin/sh
2 2
 # Guess values for system-dependent variables and create Makefiles.
3
-# Generated by GNU Autoconf 2.69 for Rgraphviz 1.x.
3
+# Generated by GNU Autoconf 2.71 for Rgraphviz 1.x.
4 4
 #
5 5
 # Report bugs to <biocore@stat.math.ethz.ch>.
6 6
 #
7 7
 #
8
-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
8
+# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9
+# Inc.
9 10
 #
10 11
 #
11 12
 # This configure script is free software; the Free Software Foundation
... ...
@@ -16,14 +17,16 @@
16 17
 
17 18
 # Be more Bourne compatible
18 19
 DUALCASE=1; export DUALCASE # for MKS sh
19
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
+as_nop=:
21
+if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22
+then :
20 23
   emulate sh
21 24
   NULLCMD=:
22 25
   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 26
   # is contrary to our usage.  Disable this feature.
24 27
   alias -g '${1+"$@"}'='"$@"'
25 28
   setopt NO_GLOB_SUBST
26
-else
29
+else $as_nop
27 30
   case `(set -o) 2>/dev/null` in #(
28 31
   *posix*) :
29 32
     set -o posix ;; #(
... ...
@@ -33,46 +36,46 @@ esac
33 36
 fi
34 37
 
35 38
 
39
+
40
+# Reset variables that may have inherited troublesome values from
41
+# the environment.
42
+
43
+# IFS needs to be set, to space, tab, and newline, in precisely that order.
44
+# (If _AS_PATH_WALK were called with IFS unset, it would have the
45
+# side effect of setting IFS to empty, thus disabling word splitting.)
46
+# Quoting is to prevent editors from complaining about space-tab.
36 47
 as_nl='
37 48
 '
38 49
 export as_nl
39
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
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
50
-  as_echo='printf %s\n'
51
-  as_echo_n='printf %s'
52
-else
53
-  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
-    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
-    as_echo_n='/usr/ucb/echo -n'
56
-  else
57
-    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
-    as_echo_n_body='eval
59
-      arg=$1;
60
-      case $arg in #(
61
-      *"$as_nl"*)
62
-	expr "X$arg" : "X\\(.*\\)$as_nl";
63
-	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
-      esac;
65
-      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
-    '
67
-    export as_echo_n_body
68
-    as_echo_n='sh -c $as_echo_n_body as_echo'
69
-  fi
70
-  export as_echo_body
71
-  as_echo='sh -c $as_echo_body as_echo'
72
-fi
50
+IFS=" ""	$as_nl"
51
+
52
+PS1='$ '
53
+PS2='> '
54
+PS4='+ '
55
+
56
+# Ensure predictable behavior from utilities with locale-dependent output.
57
+LC_ALL=C
58
+export LC_ALL
59
+LANGUAGE=C
60
+export LANGUAGE
61
+
62
+# We cannot yet rely on "unset" to work, but we need these variables
63
+# to be unset--not just set to an empty or harmless value--now, to
64
+# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
65
+# also avoids known problems related to "unset" and subshell syntax
66
+# in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67
+for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68
+do eval test \${$as_var+y} \
69
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70
+done
71
+
72
+# Ensure that fds 0, 1, and 2 are open.
73
+if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74
+if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75
+if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
73 76
 
74 77
 # The user is always right.
75
-if test "${PATH_SEPARATOR+set}" != set; then
78
+if ${PATH_SEPARATOR+false} :; then
76 79
   PATH_SEPARATOR=:
77 80
   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 81
     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
... ...
@@ -81,13 +84,6 @@ if test "${PATH_SEPARATOR+set}" != set; then
81 84
 fi
82 85
 
83 86
 
84
-# IFS
85
-# We need space, tab and new line, in precisely that order.  Quoting is
86
-# there to prevent editors from complaining about space-tab.
87
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
-# splitting by setting IFS to empty value.)
89
-IFS=" ""	$as_nl"
90
-
91 87
 # Find who we are.  Look in the path if we contain no directory separator.
92 88
 as_myself=
93 89
 case $0 in #((
... ...
@@ -96,8 +92,12 @@ case $0 in #((
96 92
 for as_dir in $PATH
97 93
 do
98 94
   IFS=$as_save_IFS
99
-  test -z "$as_dir" && as_dir=.
100
-    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
95
+  case $as_dir in #(((
96
+    '') as_dir=./ ;;
97
+    */) ;;
98
+    *) as_dir=$as_dir/ ;;
99
+  esac
100
+    test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 101
   done
102 102
 IFS=$as_save_IFS
103 103
 
... ...
@@ -109,30 +109,10 @@ if test "x$as_myself" = x; then
109 109
   as_myself=$0
110 110
 fi
111 111
 if test ! -f "$as_myself"; then
112
-  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112
+  printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 113
   exit 1
114 114
 fi
115 115
 
116
-# Unset variables that we do not need and which cause bugs (e.g. in
117
-# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118
-# suppresses any "Segmentation fault" message there.  '((' could
119
-# trigger a bug in pdksh 5.2.14.
120
-for as_var in BASH_ENV ENV MAIL MAILPATH
121
-do eval test x\${$as_var+set} = xset \
122
-  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123
-done
124
-PS1='$ '
125
-PS2='> '
126
-PS4='+ '
127
-
128
-# NLS nuisances.
129
-LC_ALL=C
130
-export LC_ALL
131
-LANGUAGE=C
132
-export LANGUAGE
133
-
134
-# CDPATH.
135
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 116
 
137 117
 # Use a proper internal environment variable to ensure we don't fall
138 118
   # into an infinite loop, continuously re-executing ourselves.
... ...
@@ -154,20 +134,22 @@ esac
154 134
 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 135
 # Admittedly, this is quite paranoid, since all the known shells bail
156 136
 # out after a failed `exec'.
157
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158
-as_fn_exit 255
137
+printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138
+exit 255
159 139
   fi
160 140
   # We don't want this to propagate to other subprocesses.
161 141
           { _as_can_reexec=; unset _as_can_reexec;}
162 142
 if test "x$CONFIG_SHELL" = x; then
163
-  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
+  as_bourne_compatible="as_nop=:
144
+if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145
+then :
164 146
   emulate sh
165 147
   NULLCMD=:
166 148
   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 149
   # is contrary to our usage.  Disable this feature.
168 150
   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 151
   setopt NO_GLOB_SUBST
170
-else
152
+else \$as_nop
171 153
   case \`(set -o) 2>/dev/null\` in #(
172 154
   *posix*) :
173 155
     set -o posix ;; #(
... ...
@@ -187,42 +169,52 @@ as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 169
 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 170
 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 171
 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
172
+if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173
+then :
191 174
 
192
-else
175
+else \$as_nop
193 176
   exitcode=1; echo positional parameters were not saved.
194 177
 fi
195 178
 test x\$exitcode = x0 || exit 1
179
+blah=\$(echo \$(echo blah))
180
+test x\"\$blah\" = xblah || exit 1
196 181
 test -x / || exit 1"
197 182
   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 183
   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 184
   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
-  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
-test \$(( 1 + 1 )) = 2 || exit 1"
202
-  if (eval "$as_required") 2>/dev/null; then :
185
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
186
+  if (eval "$as_required") 2>/dev/null
187
+then :
203 188
   as_have_required=yes
204
-else
189
+else $as_nop
205 190
   as_have_required=no
206 191
 fi
207
-  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
193
+then :
208 194
 
209
-else
195
+else $as_nop
210 196
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 197
 as_found=false
212 198
 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 199
 do
214 200
   IFS=$as_save_IFS
215
-  test -z "$as_dir" && as_dir=.
201
+  case $as_dir in #(((
202
+    '') as_dir=./ ;;
203
+    */) ;;
204
+    *) as_dir=$as_dir/ ;;
205
+  esac
216 206
   as_found=:
217 207
   case $as_dir in #(
218 208
 	 /*)
219 209
 	   for as_base in sh bash ksh sh5; do
220 210
 	     # Try only shells that exist, to save several forks.
221
-	     as_shell=$as_dir/$as_base
211
+	     as_shell=$as_dir$as_base
222 212
 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223
-		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
213
+		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
214
+then :
224 215
   CONFIG_SHELL=$as_shell as_have_required=yes
225
-		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
216
+		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
217
+then :
226 218
   break 2
227 219
 fi
228 220
 fi
... ...
@@ -230,14 +222,21 @@ fi
230 222
        esac
231 223
   as_found=false
232 224
 done
233
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234
-	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235
-  CONFIG_SHELL=$SHELL as_have_required=yes
236
-fi; }
237 225
 IFS=$as_save_IFS
226
+if $as_found
227
+then :
228
+
229
+else $as_nop
230
+  if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231
+	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
232
+then :
233
+  CONFIG_SHELL=$SHELL as_have_required=yes
234
+fi
235
+fi
238 236
 
239 237
 
240
-      if test "x$CONFIG_SHELL" != x; then :
238
+      if test "x$CONFIG_SHELL" != x
239
+then :
241 240
   export CONFIG_SHELL
242 241
              # We cannot yet assume a decent shell, so we have to provide a
243 242
 # neutralization value for shells without unset; and this also
... ...
@@ -255,18 +254,19 @@ esac
255 254
 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 255
 # Admittedly, this is quite paranoid, since all the known shells bail
257 256
 # out after a failed `exec'.
258
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257
+printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 258
 exit 255
260 259
 fi
261 260
 
262
-    if test x$as_have_required = xno; then :
263
-  $as_echo "$0: This script requires a shell more modern than all"
264
-  $as_echo "$0: the shells that I found on your system."
265
-  if test x${ZSH_VERSION+set} = xset ; then
266
-    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267
-    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
261
+    if test x$as_have_required = xno
262
+then :
263
+  printf "%s\n" "$0: This script requires a shell more modern than all"
264
+  printf "%s\n" "$0: the shells that I found on your system."
265
+  if test ${ZSH_VERSION+y} ; then
266
+    printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267
+    printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
268 268
   else
269
-    $as_echo "$0: Please tell bug-autoconf@gnu.org and
269
+    printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
270 270
 $0: biocore@stat.math.ethz.ch about your system, including
271 271
 $0: any error possibly output before this message. Then
272 272
 $0: install a modern shell, or manually run the script
... ...
@@ -294,6 +294,7 @@ as_fn_unset ()
294 294
 }
295 295
 as_unset=as_fn_unset
296 296
 
297
+
297 298
 # as_fn_set_status STATUS
298 299
 # -----------------------
299 300
 # Set $? to STATUS, without forking.
... ...
@@ -311,6 +312,14 @@ as_fn_exit ()
311 312
   as_fn_set_status $1
312 313
   exit $1
313 314
 } # as_fn_exit
315
+# as_fn_nop
316
+# ---------
317
+# Do nothing but, unlike ":", preserve the value of $?.
318
+as_fn_nop ()
319
+{
320
+  return $?
321
+}
322
+as_nop=as_fn_nop
314 323
 
315 324
 # as_fn_mkdir_p
316 325
 # -------------
... ...
@@ -325,7 +334,7 @@ as_fn_mkdir_p ()
325 334
     as_dirs=
326 335
     while :; do
327 336
       case $as_dir in #(
328
-      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337
+      *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 338
       *) as_qdir=$as_dir;;
330 339
       esac
331 340
       as_dirs="'$as_qdir' $as_dirs"
... ...
@@ -334,7 +343,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 343
 	 X"$as_dir" : 'X\(//\)[^/]' \| \
335 344
 	 X"$as_dir" : 'X\(//\)$' \| \
336 345
 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337
-$as_echo X"$as_dir" |
346
+printf "%s\n" X"$as_dir" |
338 347
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 348
 	    s//\1/
340 349
 	    q
... ...
@@ -373,12 +382,13 @@ as_fn_executable_p ()
373 382
 # advantage of any shell optimizations that allow amortized linear growth over
374 383
 # repeated appends, instead of the typical quadratic growth present in naive
375 384
 # implementations.
376
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
386
+then :
377 387
   eval 'as_fn_append ()
378 388
   {
379 389
     eval $1+=\$2
380 390
   }'
381
-else
391
+else $as_nop
382 392
   as_fn_append ()
383 393
   {
384 394
     eval $1=\$$1\$2
... ...
@@ -390,18 +400,27 @@ fi # as_fn_append
390 400
 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 401
 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 402
 # must be portable across $(()) and expr.
393
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
404
+then :
394 405
   eval 'as_fn_arith ()
395 406
   {
396 407
     as_val=$(( $* ))
397 408
   }'
398
-else
409
+else $as_nop
399 410
   as_fn_arith ()
400 411
   {
401 412
     as_val=`expr "$@" || test $? -eq 1`
402 413
   }
403 414
 fi # as_fn_arith
404 415
 
416
+# as_fn_nop
417
+# ---------
418
+# Do nothing but, unlike ":", preserve the value of $?.
419
+as_fn_nop ()
420
+{
421
+  return $?
422
+}
423
+as_nop=as_fn_nop
405 424
 
406 425
 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 426
 # ----------------------------------------
... ...
@@ -413,9 +432,9 @@ as_fn_error ()
413 432
   as_status=$1; test $as_status -eq 0 && as_status=1
414 433
   if test "$4"; then
415 434
     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
435
+    printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 436
   fi
418
-  $as_echo "$as_me: error: $2" >&2
437
+  printf "%s\n" "$as_me: error: $2" >&2
419 438
   as_fn_exit $as_status
420 439
 } # as_fn_error
421 440
 
... ...
@@ -442,7 +461,7 @@ as_me=`$as_basename -- "$0" ||
442 461
 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 462
 	 X"$0" : 'X\(//\)$' \| \
444 463
 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445
-$as_echo X/"$0" |
464
+printf "%s\n" X/"$0" |
446 465
     sed '/^.*\/\([^/][^/]*\)\/*$/{
447 466
 	    s//\1/
448 467
 	    q
... ...
@@ -486,7 +505,7 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
486 505
       s/-\n.*//
487 506
     ' >$as_me.lineno &&
488 507
   chmod +x "$as_me.lineno" ||
489
-    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
508
+    { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 509
 
491 510
   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 511
   # already done that, so ensure we don't try to do so again and fall
... ...
@@ -500,6 +519,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
500 519
   exit
501 520
 }
502 521
 
522
+
523
+# Determine whether it's possible to make 'echo' print without a newline.
524
+# These variables are no longer used directly by Autoconf, but are AC_SUBSTed
525
+# for compatibility with existing Makefiles.
503 526
 ECHO_C= ECHO_N= ECHO_T=
504 527
 case `echo -n x` in #(((((
505 528
 -n*)
... ...
@@ -513,6 +536,13 @@ case `echo -n x` in #(((((
513 536
   ECHO_N='-n';;
514 537
 esac
515 538
 
539
+# For backward compatibility with old third-party macros, we provide
540
+# the shell variables $as_echo and $as_echo_n.  New code should use
541
+# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
542
+as_echo='printf %s\n'
543
+as_echo_n='printf %s'
544
+
545
+
516 546
 rm -f conf$$ conf$$.exe conf$$.file
517 547
 if test -d conf$$.dir; then
518 548
   rm -f conf$$.dir/conf$$.file
... ...
@@ -587,40 +617,36 @@ PACKAGE_URL=''
587 617
 
588 618
 # Factoring default headers for most tests.
589 619
 ac_includes_default="\
590
-#include <stdio.h>
591
-#ifdef HAVE_SYS_TYPES_H
592
-# include <sys/types.h>
593
-#endif
594
-#ifdef HAVE_SYS_STAT_H
595
-# include <sys/stat.h>
620
+#include <stddef.h>
621
+#ifdef HAVE_STDIO_H
622
+# include <stdio.h>
596 623
 #endif
597
-#ifdef STDC_HEADERS
624
+#ifdef HAVE_STDLIB_H
598 625
 # include <stdlib.h>
599
-# include <stddef.h>
600
-#else
601
-# ifdef HAVE_STDLIB_H
602
-#  include <stdlib.h>
603
-# endif
604 626
 #endif
605 627
 #ifdef HAVE_STRING_H
606
-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607
-#  include <memory.h>
608
-# endif
609 628
 # include <string.h>
610 629
 #endif
611
-#ifdef HAVE_STRINGS_H
612
-# include <strings.h>
613
-#endif
614 630
 #ifdef HAVE_INTTYPES_H
615 631
 # include <inttypes.h>
616 632
 #endif
617 633
 #ifdef HAVE_STDINT_H
618 634
 # include <stdint.h>
619 635
 #endif
636
+#ifdef HAVE_STRINGS_H
637
+# include <strings.h>
638
+#endif
639
+#ifdef HAVE_SYS_TYPES_H
640
+# include <sys/types.h>
641
+#endif
642
+#ifdef HAVE_SYS_STAT_H
643
+# include <sys/stat.h>
644
+#endif
620 645
 #ifdef HAVE_UNISTD_H
621 646
 # include <unistd.h>
622 647
 #endif"
623 648
 
649
+ac_header_c_list=
624 650
 ac_subst_vars='LTLIBOBJS
625 651
 LIBOBJS
626 652
 GRAPHVIZ_BUNDLED
... ...
@@ -629,8 +655,6 @@ GVIZ_DEFS
629 655
 PKG_LIBS
630 656
 PKG_CFLAGS
631 657
 PKG_CONFIG
632
-EGREP
633
-GREP
634 658
 ac_ct_CXX
635 659
 CXXFLAGS
636 660
 CXX
... ...
@@ -661,6 +685,7 @@ infodir
661 685
 docdir
662 686
 oldincludedir
663 687
 includedir
688
+runstatedir
664 689
 localstatedir
665 690
 sharedstatedir
666 691
 sysconfdir
... ...
@@ -735,6 +760,7 @@ datadir='${datarootdir}'
735 760
 sysconfdir='${prefix}/etc'
736 761
 sharedstatedir='${prefix}/com'
737 762
 localstatedir='${prefix}/var'
763
+runstatedir='${localstatedir}/run'
738 764
 includedir='${prefix}/include'
739 765
 oldincludedir='/usr/include'
740 766
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
... ...
@@ -764,8 +790,6 @@ do
764 790
   *)    ac_optarg=yes ;;
765 791
   esac
766 792
 
767
-  # Accept the important Cygnus configure options, so we can diagnose typos.
768
-
769 793
   case $ac_dashdash$ac_option in
770 794
   --)
771 795
     ac_dashdash=yes ;;
... ...
@@ -806,9 +830,9 @@ do
806 830
     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
807 831
     # Reject names that are not valid shell variable names.
808 832
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
809
-      as_fn_error $? "invalid feature name: $ac_useropt"
833
+      as_fn_error $? "invalid feature name: \`$ac_useropt'"
810 834
     ac_useropt_orig=$ac_useropt
811
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
835
+    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
812 836
     case $ac_user_opts in
813 837
       *"
814 838
 "enable_$ac_useropt"
... ...
@@ -832,9 +856,9 @@ do
832 856
     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
833 857
     # Reject names that are not valid shell variable names.
834 858
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
835
-      as_fn_error $? "invalid feature name: $ac_useropt"
859
+      as_fn_error $? "invalid feature name: \`$ac_useropt'"
836 860
     ac_useropt_orig=$ac_useropt
837
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
861
+    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
838 862
     case $ac_user_opts in
839 863
       *"
840 864
 "enable_$ac_useropt"
... ...
@@ -987,6 +1011,15 @@ do
987 1011
   | -silent | --silent | --silen | --sile | --sil)
988 1012
     silent=yes ;;
989 1013
 
1014
+  -runstatedir | --runstatedir | --runstatedi | --runstated \
1015
+  | --runstate | --runstat | --runsta | --runst | --runs \
1016
+  | --run | --ru | --r)
1017
+    ac_prev=runstatedir ;;
1018
+  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1019
+  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1020
+  | --run=* | --ru=* | --r=*)
1021
+    runstatedir=$ac_optarg ;;
1022
+
990 1023
   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
991 1024
     ac_prev=sbindir ;;
992 1025
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
... ...
@@ -1036,9 +1069,9 @@ do
1036 1069
     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1037 1070
     # Reject names that are not valid shell variable names.
1038 1071
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1039
-      as_fn_error $? "invalid package name: $ac_useropt"
1072
+      as_fn_error $? "invalid package name: \`$ac_useropt'"
1040 1073
     ac_useropt_orig=$ac_useropt
1041
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074
+    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 1075
     case $ac_user_opts in
1043 1076
       *"
1044 1077
 "with_$ac_useropt"
... ...
@@ -1052,9 +1085,9 @@ do
1052 1085
     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1053 1086
     # Reject names that are not valid shell variable names.
1054 1087
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055
-      as_fn_error $? "invalid package name: $ac_useropt"
1088
+      as_fn_error $? "invalid package name: \`$ac_useropt'"
1056 1089
     ac_useropt_orig=$ac_useropt
1057
-    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090
+    ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 1091
     case $ac_user_opts in
1059 1092
       *"
1060 1093
 "with_$ac_useropt"
... ...
@@ -1098,9 +1131,9 @@ Try \`$0 --help' for more information"
1098 1131
 
1099 1132
   *)
1100 1133
     # FIXME: should be removed in autoconf 3.0.
1101
-    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1134
+    printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1102 1135
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1103
-      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1136
+      printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 1137
     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1105 1138
     ;;
1106 1139
 
... ...
@@ -1116,7 +1149,7 @@ if test -n "$ac_unrecognized_opts"; then
1116 1149
   case $enable_option_checking in
1117 1150
     no) ;;
1118 1151
     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1119
-    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1152
+    *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1120 1153
   esac
1121 1154
 fi
1122 1155
 
... ...
@@ -1124,7 +1157,7 @@ fi
1124 1157
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1125 1158
 		datadir sysconfdir sharedstatedir localstatedir includedir \
1126 1159
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1127
-		libdir localedir mandir
1160
+		libdir localedir mandir runstatedir
1128 1161
 do
1129 1162
   eval ac_val=\$$ac_var
1130 1163
   # Remove trailing slashes.
... ...
@@ -1180,7 +1213,7 @@ $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1180 1213
 	 X"$as_myself" : 'X\(//\)[^/]' \| \
1181 1214
 	 X"$as_myself" : 'X\(//\)$' \| \
1182 1215
 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1183
-$as_echo X"$as_myself" |
1216
+printf "%s\n" X"$as_myself" |
1184 1217
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1185 1218
 	    s//\1/
1186 1219
 	    q
... ...
@@ -1277,6 +1310,7 @@ Fine tuning of the installation directories:
1277 1310
   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1278 1311
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1279 1312
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1313
+  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1280 1314
   --libdir=DIR            object code libraries [EPREFIX/lib]
1281 1315
   --includedir=DIR        C header files [PREFIX/include]
1282 1316
   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
... ...
@@ -1339,9 +1373,9 @@ if test "$ac_init_help" = "recursive"; then
1339 1373
 case "$ac_dir" in
1340 1374
 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341 1375
 *)
1342
-  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1376
+  ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1343 1377
   # A ".." for each directory in $ac_dir_suffix.
1344
-  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1378
+  ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1345 1379
   case $ac_top_builddir_sub in
1346 1380
   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 1381
   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
... ...
@@ -1369,7 +1403,8 @@ esac
1369 1403
 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1370 1404
 
1371 1405
     cd "$ac_dir" || { ac_status=$?; continue; }
1372
-    # Check for guested configure.
1406
+    # Check for configure.gnu first; this name is used for a wrapper for
1407
+    # Metaconfig's "Configure" on case-insensitive file systems.
1373 1408
     if test -f "$ac_srcdir/configure.gnu"; then
1374 1409
       echo &&
1375 1410
       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
... ...
@@ -1377,7 +1412,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1377 1412
       echo &&
1378 1413
       $SHELL "$ac_srcdir/configure" --help=recursive
1379 1414
     else
1380
-      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1415
+      printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1381 1416
     fi || ac_status=$?
1382 1417
     cd "$ac_pwd" || { ac_status=$?; break; }
1383 1418
   done
... ...
@@ -1387,9 +1422,9 @@ test -n "$ac_init_help" && exit $ac_status
1387 1422
 if $ac_init_version; then
1388 1423
   cat <<\_ACEOF
1389 1424
 Rgraphviz configure 1.x
1390
-generated by GNU Autoconf 2.69
1425
+generated by GNU Autoconf 2.71
1391 1426
 
1392
-Copyright (C) 2012 Free Software Foundation, Inc.
1427
+Copyright (C) 2021 Free Software Foundation, Inc.
1393 1428
 This configure script is free software; the Free Software Foundation
1394 1429
 gives unlimited permission to copy, distribute and modify it.
1395 1430
 _ACEOF
... ...
@@ -1406,14 +1441,14 @@ fi
1406 1441
 ac_fn_c_try_compile ()
1407 1442
 {
1408 1443
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1409
-  rm -f conftest.$ac_objext
1444
+  rm -f conftest.$ac_objext conftest.beam
1410 1445
   if { { ac_try="$ac_compile"
1411 1446
 case "(($ac_try" in
1412 1447
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1413 1448
   *) ac_try_echo=$ac_try;;
1414 1449
 esac
1415 1450
 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1416
-$as_echo "$ac_try_echo"; } >&5
1451
+printf "%s\n" "$ac_try_echo"; } >&5
1417 1452
   (eval "$ac_compile") 2>conftest.err
1418 1453
   ac_status=$?
1419 1454
   if test -s conftest.err; then
... ...
@@ -1421,14 +1456,15 @@ $as_echo "$ac_try_echo"; } >&5
1421 1456
     cat conftest.er1 >&5
1422 1457
     mv -f conftest.er1 conftest.err
1423 1458
   fi
1424
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1459
+  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1425 1460
   test $ac_status = 0; } && {
1426 1461
 	 test -z "$ac_c_werror_flag" ||
1427 1462
 	 test ! -s conftest.err
1428
-       } && test -s conftest.$ac_objext; then :
1463
+       } && test -s conftest.$ac_objext
1464
+then :
1429 1465
   ac_retval=0
1430
-else
1431
-  $as_echo "$as_me: failed program was:" >&5
1466
+else $as_nop
1467
+  printf "%s\n" "$as_me: failed program was:" >&5
1432 1468
 sed 's/^/| /' conftest.$ac_ext >&5
1433 1469
 
1434 1470
 	ac_retval=1
... ...
@@ -1450,7 +1486,7 @@ case "(($ac_try" in
1450 1486
   *) ac_try_echo=$ac_try;;
1451 1487
 esac
1452 1488
 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1453
-$as_echo "$ac_try_echo"; } >&5
1489
+printf "%s\n" "$ac_try_echo"; } >&5
1454 1490
   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1455 1491
   ac_status=$?
1456 1492
   if test -s conftest.err; then
... ...
@@ -1458,14 +1494,15 @@ $as_echo "$ac_try_echo"; } >&5
1458 1494
     cat conftest.er1 >&5
1459 1495
     mv -f conftest.er1 conftest.err
1460 1496
   fi
1461
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497
+  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1462 1498
   test $ac_status = 0; } > conftest.i && {
1463 1499
 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1464 1500
 	 test ! -s conftest.err
1465
-       }; then :
1501
+       }
1502
+then :
1466 1503
   ac_retval=0
1467
-else
1468
-  $as_echo "$as_me: failed program was:" >&5
1504
+else $as_nop
1505
+  printf "%s\n" "$as_me: failed program was:" >&5
1469 1506
 sed 's/^/| /' conftest.$ac_ext >&5
1470 1507
 
1471 1508
     ac_retval=1
... ...
@@ -1481,14 +1518,14 @@ fi
1481 1518
 ac_fn_cxx_try_compile ()
1482 1519
 {
1483 1520
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484
-  rm -f conftest.$ac_objext
1521
+  rm -f conftest.$ac_objext conftest.beam
1485 1522
   if { { ac_try="$ac_compile"
1486 1523
 case "(($ac_try" in
1487 1524
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1488 1525
   *) ac_try_echo=$ac_try;;
1489 1526
 esac
1490 1527
 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1491
-$as_echo "$ac_try_echo"; } >&5
1528
+printf "%s\n" "$ac_try_echo"; } >&5
1492 1529
   (eval "$ac_compile") 2>conftest.err
1493 1530
   ac_status=$?
1494 1531
   if test -s conftest.err; then
... ...
@@ -1496,14 +1533,15 @@ $as_echo "$ac_try_echo"; } >&5
1496 1533
     cat conftest.er1 >&5
1497 1534
     mv -f conftest.er1 conftest.err
1498 1535
   fi
1499
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1536
+  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1500 1537
   test $ac_status = 0; } && {
1501 1538
 	 test -z "$ac_cxx_werror_flag" ||
1502 1539
 	 test ! -s conftest.err
1503
-       } && test -s conftest.$ac_objext; then :
1540
+       } && test -s conftest.$ac_objext
1541
+then :
1504 1542
   ac_retval=0
1505
-else
1506
-  $as_echo "$as_me: failed program was:" >&5
1543
+else $as_nop
1544
+  printf "%s\n" "$as_me: failed program was:" >&5
1507 1545
 sed 's/^/| /' conftest.$ac_ext >&5
1508 1546
 
1509 1547
 	ac_retval=1
... ...
@@ -1513,139 +1551,6 @@ fi
1513 1551
 
1514 1552
 } # ac_fn_cxx_try_compile
1515 1553
 
1516
-# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1517
-# -------------------------------------------------------
1518
-# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1519
-# the include files in INCLUDES and setting the cache variable VAR
1520
-# accordingly.
1521
-ac_fn_c_check_header_mongrel ()
1522
-{
1523
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1524
-  if eval \${$3+:} false; then :
1525
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1526
-$as_echo_n "checking for $2... " >&6; }
1527
-if eval \${$3+:} false; then :
1528
-  $as_echo_n "(cached) " >&6
1529
-fi
1530
-eval ac_res=\$$3
1531
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1532
-$as_echo "$ac_res" >&6; }
1533
-else
1534
-  # Is the header compilable?
1535
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1536
-$as_echo_n "checking $2 usability... " >&6; }
1537
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1538
-/* end confdefs.h.  */
1539
-$4
1540
-#include <$2>
1541
-_ACEOF
1542
-if ac_fn_c_try_compile "$LINENO"; then :
1543
-  ac_header_compiler=yes
1544
-else
1545
-  ac_header_compiler=no
1546
-fi
1547
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1548
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1549
-$as_echo "$ac_header_compiler" >&6; }
1550
-
1551
-# Is the header present?
1552
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1553
-$as_echo_n "checking $2 presence... " >&6; }
1554
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1555
-/* end confdefs.h.  */
1556
-#include <$2>
1557
-_ACEOF
1558
-if ac_fn_c_try_cpp "$LINENO"; then :
1559
-  ac_header_preproc=yes
1560
-else
1561
-  ac_header_preproc=no
1562
-fi
1563
-rm -f conftest.err conftest.i conftest.$ac_ext
1564
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1565
-$as_echo "$ac_header_preproc" >&6; }
1566
-
1567
-# So?  What about this header?
1568
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1569
-  yes:no: )
1570
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1571
-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1572
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1573
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1574
-    ;;
1575
-  no:yes:* )
1576
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1577
-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1578
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1579
-$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1580
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1581
-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1582
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1583
-$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1584
-    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1585
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1586
-( $as_echo "## ---------------------------------------- ##
1587
-## Report this to biocore@stat.math.ethz.ch ##
1588
-## ---------------------------------------- ##"
1589
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
1590
-    ;;
1591
-esac
1592
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593
-$as_echo_n "checking for $2... " >&6; }
1594
-if eval \${$3+:} false; then :
1595
-  $as_echo_n "(cached) " >&6
1596
-else
1597
-  eval "$3=\$ac_header_compiler"
1598
-fi
1599
-eval ac_res=\$$3
1600
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1601
-$as_echo "$ac_res" >&6; }
1602
-fi
1603
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1604
-
1605
-} # ac_fn_c_check_header_mongrel
1606
-
1607
-# ac_fn_c_try_run LINENO
1608
-# ----------------------
1609
-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1610
-# that executables *can* be run.
1611
-ac_fn_c_try_run ()
1612
-{
1613
-  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614
-  if { { ac_try="$ac_link"
1615
-case "(($ac_try" in
1616
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1617
-  *) ac_try_echo=$ac_try;;
1618
-esac
1619
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620
-$as_echo "$ac_try_echo"; } >&5
1621
-  (eval "$ac_link") 2>&5
1622
-  ac_status=$?
1623
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624
-  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1625
-  { { case "(($ac_try" in
1626
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1627
-  *) ac_try_echo=$ac_try;;
1628
-esac
1629
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630
-$as_echo "$ac_try_echo"; } >&5
1631
-  (eval "$ac_try") 2>&5
1632
-  ac_status=$?
1633
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1634
-  test $ac_status = 0; }; }; then :
1635
-  ac_retval=0
1636
-else
1637
-  $as_echo "$as_me: program exited with status $ac_status" >&5
1638
-       $as_echo "$as_me: failed program was:" >&5
1639
-sed 's/^/| /' conftest.$ac_ext >&5
1640
-
1641
-       ac_retval=$ac_status
1642
-fi
1643
-  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1644
-  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645
-  as_fn_set_status $ac_retval
1646
-
1647
-} # ac_fn_c_try_run
1648
-
1649 1554
 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1650 1555
 # -------------------------------------------------------
1651 1556
 # Tests whether HEADER exists and can be compiled using the include files in
... ...
@@ -1653,26 +1558,28 @@ fi
1653 1558
 ac_fn_c_check_header_compile ()
1654 1559
 {
1655 1560
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1657
-$as_echo_n "checking for $2... " >&6; }
1658
-if eval \${$3+:} false; then :
1659
-  $as_echo_n "(cached) " >&6
1660
-else
1561
+  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1562
+printf %s "checking for $2... " >&6; }
1563
+if eval test \${$3+y}
1564
+then :
1565
+  printf %s "(cached) " >&6
1566
+else $as_nop
1661 1567
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662 1568
 /* end confdefs.h.  */
1663 1569
 $4
1664 1570
 #include <$2>
1665 1571
 _ACEOF
1666
-if ac_fn_c_try_compile "$LINENO"; then :
1572
+if ac_fn_c_try_compile "$LINENO"
1573
+then :
1667 1574
   eval "$3=yes"
1668
-else
1575
+else $as_nop
1669 1576
   eval "$3=no"
1670 1577
 fi
1671
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1578
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1672 1579
 fi
1673 1580
 eval ac_res=\$$3
1674
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675
-$as_echo "$ac_res" >&6; }
1581
+	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1582
+printf "%s\n" "$ac_res" >&6; }
1676 1583
   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1677 1584
 
1678 1585
 } # ac_fn_c_check_header_compile
... ...
@@ -1683,14 +1590,14 @@ $as_echo "$ac_res" >&6; }
1683 1590
 ac_fn_c_try_link ()
1684 1591
 {
1685 1592
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686
-  rm -f conftest.$ac_objext conftest$ac_exeext
1593
+  rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1687 1594
   if { { ac_try="$ac_link"
1688 1595
 case "(($ac_try" in
1689 1596
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690 1597
   *) ac_try_echo=$ac_try;;
1691 1598
 esac
1692 1599
 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693
-$as_echo "$ac_try_echo"; } >&5
1600
+printf "%s\n" "$ac_try_echo"; } >&5
1694 1601
   (eval "$ac_link") 2>conftest.err
1695 1602
   ac_status=$?
1696 1603
   if test -s conftest.err; then
... ...
@@ -1698,17 +1605,18 @@ $as_echo "$ac_try_echo"; } >&5
1698 1605
     cat conftest.er1 >&5
1699 1606
     mv -f conftest.er1 conftest.err
1700 1607
   fi
1701
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1608
+  printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 1609
   test $ac_status = 0; } && {
1703 1610
 	 test -z "$ac_c_werror_flag" ||
1704 1611
 	 test ! -s conftest.err
1705 1612
        } && test -s conftest$ac_exeext && {
1706 1613
 	 test "$cross_compiling" = yes ||
1707 1614
 	 test -x conftest$ac_exeext
1708
-       }; then :
1615
+       }
1616
+then :
1709 1617
   ac_retval=0
1710
-else
1711
-  $as_echo "$as_me: failed program was:" >&5
1618
+else $as_nop
1619
+  printf "%s\n" "$as_me: failed program was:" >&5
1712 1620
 sed 's/^/| /' conftest.$ac_ext >&5
1713 1621
 
1714 1622
 	ac_retval=1
... ...
@@ -1730,17 +1638,18 @@ fi
1730 1638
 ac_fn_c_check_type ()
1731 1639
 {
1732 1640
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1734
-$as_echo_n "checking for $2... " >&6; }
1735
-if eval \${$3+:} false; then :
1736
-  $as_echo_n "(cached) " >&6
1737
-else
1641
+  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1642
+printf %s "checking for $2... " >&6; }
1643
+if eval test \${$3+y}
1644
+then :
1645
+  printf %s "(cached) " >&6
1646
+else $as_nop
1738 1647
   eval "$3=no"
1739 1648
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740 1649
 /* end confdefs.h.  */
1741 1650
 $4
1742 1651
 int
1743
-main ()
1652
+main (void)
1744 1653
 {
1745 1654
 if (sizeof ($2))
1746 1655
 	 return 0;
... ...
@@ -1748,12 +1657,13 @@ if (sizeof ($2))
1748 1657
   return 0;
1749 1658
 }
1750 1659
 _ACEOF
1751
-if ac_fn_c_try_compile "$LINENO"; then :
1660
+if ac_fn_c_try_compile "$LINENO"
1661
+then :
1752 1662
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1753 1663
 /* end confdefs.h.  */
1754 1664
 $4
1755 1665
 int
1756
-main ()
1666
+main (void)
1757 1667
 {
1758 1668
 if (sizeof (($2)))
1759 1669
 	    return 0;
... ...
@@ -1761,29 +1671,50 @@ if (sizeof (($2)))
1761 1671
   return 0;
1762 1672
 }
1763 1673
 _ACEOF
1764
-if ac_fn_c_try_compile "$LINENO"; then :
1674
+if ac_fn_c_try_compile "$LINENO"
1675
+then :
1765 1676
 
1766
-else
1677
+else $as_nop
1767 1678
   eval "$3=yes"
1768 1679
 fi
1769
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1680
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1770 1681
 fi
1771
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1682
+rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1772 1683
 fi
1773 1684
 eval ac_res=\$$3
1774
-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1775
-$as_echo "$ac_res" >&6; }
1685
+	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1686
+printf "%s\n" "$ac_res" >&6; }
1776 1687
   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777 1688
 
1778 1689
 } # ac_fn_c_check_type
1690
+ac_configure_args_raw=
1691
+for ac_arg
1692
+do
1693
+  case $ac_arg in
1694
+  *\'*)
1695
+    ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1696
+  esac
1697
+  as_fn_append ac_configure_args_raw " '$ac_arg'"
1698
+done
1699
+
1700
+case $ac_configure_args_raw in
1701
+  *$as_nl*)
1702
+    ac_safe_unquote= ;;
1703
+  *)
1704
+    ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
1705
+    ac_unsafe_a="$ac_unsafe_z#~"
1706
+    ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1707
+    ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1708
+esac
1709
+
1779 1710
 cat >config.log <<_ACEOF
1780 1711
 This file contains any messages produced by compilers while
1781 1712
 running configure, to aid debugging if configure makes a mistake.
1782 1713
 
1783 1714
 It was created by Rgraphviz $as_me 1.x, which was
1784
-generated by GNU Autoconf 2.69.  Invocation command line was
1715
+generated by GNU Autoconf 2.71.  Invocation command line was
1785 1716
 
1786
-  $ $0 $@
1717
+  $ $0$ac_configure_args_raw
1787 1718
 
1788 1719
 _ACEOF
1789 1720
 exec 5>>config.log
... ...
@@ -1816,8 +1747,12 @@ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1816 1747
 for as_dir in $PATH
1817 1748
 do
1818 1749
   IFS=$as_save_IFS
1819
-  test -z "$as_dir" && as_dir=.
1820
-    $as_echo "PATH: $as_dir"
1750
+  case $as_dir in #(((
1751
+    '') as_dir=./ ;;
1752
+    */) ;;
1753
+    *) as_dir=$as_dir/ ;;
1754
+  esac
1755
+    printf "%s\n" "PATH: $as_dir"
1821 1756
   done
1822 1757
 IFS=$as_save_IFS
1823 1758
 
... ...
@@ -1852,7 +1787,7 @@ do
1852 1787
     | -silent | --silent | --silen | --sile | --sil)
1853 1788
       continue ;;
1854 1789
     *\'*)
1855
-      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1790
+      ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1856 1791
     esac
1857 1792
     case $ac_pass in
1858 1793
     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
... ...
@@ -1887,11 +1822,13 @@ done
1887 1822
 # WARNING: Use '\'' to represent an apostrophe within the trap.
1888 1823
 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1889 1824
 trap 'exit_status=$?
1825
+  # Sanitize IFS.
1826
+  IFS=" ""	$as_nl"
1890 1827
   # Save into config.log some information that might help in debugging.
1891 1828
   {
1892 1829
     echo
1893 1830
 
1894
-    $as_echo "## ---------------- ##
1831
+    printf "%s\n" "## ---------------- ##
1895 1832
 ## Cache variables. ##
1896 1833
 ## ---------------- ##"
1897 1834
     echo
... ...
@@ -1902,8 +1839,8 @@ trap 'exit_status=$?
1902 1839
     case $ac_val in #(
1903 1840
     *${as_nl}*)
1904 1841
       case $ac_var in #(
1905
-      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1906
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1842
+      *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1843
+printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1907 1844
       esac
1908 1845
       case $ac_var in #(
1909 1846
       _ | IFS | as_nl) ;; #(
... ...
@@ -1927,7 +1864,7 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1927 1864
 )
1928 1865
     echo
1929 1866
 
1930
-    $as_echo "## ----------------- ##
1867
+    printf "%s\n" "## ----------------- ##
1931 1868
 ## Output variables. ##
1932 1869
 ## ----------------- ##"
1933 1870
     echo
... ...
@@ -1935,14 +1872,14 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1935 1872
     do
1936 1873
       eval ac_val=\$$ac_var
1937 1874
       case $ac_val in
1938
-      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1875
+      *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1939 1876
       esac
1940
-      $as_echo "$ac_var='\''$ac_val'\''"
1877
+      printf "%s\n" "$ac_var='\''$ac_val'\''"
1941 1878
     done | sort
1942 1879
     echo
1943 1880
 
1944 1881
     if test -n "$ac_subst_files"; then
1945
-      $as_echo "## ------------------- ##
1882
+      printf "%s\n" "## ------------------- ##
1946 1883
 ## File substitutions. ##
1947 1884
 ## ------------------- ##"
1948 1885
       echo
... ...
@@ -1950,15 +1887,15 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1950 1887
       do
1951 1888
 	eval ac_val=\$$ac_var
1952 1889
 	case $ac_val in
1953
-	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1890
+	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1954 1891
 	esac
1955
-	$as_echo "$ac_var='\''$ac_val'\''"
1892
+	printf "%s\n" "$ac_var='\''$ac_val'\''"
1956 1893
       done | sort
1957 1894
       echo
1958 1895
     fi
1959 1896
 
1960 1897
     if test -s confdefs.h; then
1961
-      $as_echo "## ----------- ##
1898
+      printf "%s\n" "## ----------- ##
1962 1899
 ## confdefs.h. ##
1963 1900
 ## ----------- ##"
1964 1901
       echo
... ...
@@ -1966,8 +1903,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1966 1903
       echo
1967 1904
     fi
1968 1905
     test "$ac_signal" != 0 &&
1969
-      $as_echo "$as_me: caught signal $ac_signal"
1970
-    $as_echo "$as_me: exit $exit_status"
1906
+      printf "%s\n" "$as_me: caught signal $ac_signal"
1907
+    printf "%s\n" "$as_me: exit $exit_status"
1971 1908
   } >&5
1972 1909
   rm -f core *.core core.conftest.* &&
1973 1910
     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
... ...
@@ -1981,63 +1918,48 @@ ac_signal=0
1981 1918
 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1982 1919
 rm -f -r conftest* confdefs.h
1983 1920
 
1984
-$as_echo "/* confdefs.h */" > confdefs.h
1921
+printf "%s\n" "/* confdefs.h */" > confdefs.h
1985 1922
 
1986 1923
 # Predefined preprocessor variables.
1987 1924
 
1988
-cat >>confdefs.h <<_ACEOF
1989
-#define PACKAGE_NAME "$PACKAGE_NAME"
1990
-_ACEOF
1925
+printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1991 1926
 
1992
-cat >>confdefs.h <<_ACEOF
1993
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1994
-_ACEOF
1927
+printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1995 1928
 
1996
-cat >>confdefs.h <<_ACEOF
1997
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
1998
-_ACEOF
1929
+printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1999 1930
 
2000
-cat >>confdefs.h <<_ACEOF
2001
-#define PACKAGE_STRING "$PACKAGE_STRING"
2002
-_ACEOF
1931
+printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2003 1932
 
2004
-cat >>confdefs.h <<_ACEOF
2005
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2006
-_ACEOF
1933
+printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2007 1934
 
2008
-cat >>confdefs.h <<_ACEOF
2009
-#define PACKAGE_URL "$PACKAGE_URL"
2010
-_ACEOF
1935
+printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2011 1936
 
2012 1937
 
2013 1938
 # Let the site file select an alternate cache file if it wants to.
2014 1939
 # Prefer an explicitly selected file to automatically selected ones.
2015
-ac_site_file1=NONE
2016
-ac_site_file2=NONE
2017 1940
 if test -n "$CONFIG_SITE"; then
2018
-  # We do not want a PATH search for config.site.
2019
-  case $CONFIG_SITE in #((
2020
-    -*)  ac_site_file1=./$CONFIG_SITE;;
2021
-    */*) ac_site_file1=$CONFIG_SITE;;
2022
-    *)   ac_site_file1=./$CONFIG_SITE;;
2023
-  esac
1941
+  ac_site_files="$CONFIG_SITE"
2024 1942
 elif test "x$prefix" != xNONE; then
2025
-  ac_site_file1=$prefix/share/config.site
2026
-  ac_site_file2=$prefix/etc/config.site
1943
+  ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2027 1944
 else
2028
-  ac_site_file1=$ac_default_prefix/share/config.site
2029
-  ac_site_file2=$ac_default_prefix/etc/config.site
1945
+  ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2030 1946
 fi
2031
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1947
+
1948
+for ac_site_file in $ac_site_files
2032 1949
 do
2033
-  test "x$ac_site_file" = xNONE && continue
2034
-  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2035
-    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2036
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1950
+  case $ac_site_file in #(
1951
+  */*) :
1952
+     ;; #(
1953
+  *) :
1954
+    ac_site_file=./$ac_site_file ;;
1955
+esac
1956
+  if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1957
+    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1958
+printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2037 1959
     sed 's/^/| /' "$ac_site_file" >&5
2038 1960
     . "$ac_site_file" \
2039
-      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2040
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1961
+      || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1962
+printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2041 1963
 as_fn_error $? "failed to load site script $ac_site_file
2042 1964
 See \`config.log' for more details" "$LINENO" 5; }
2043 1965
   fi
... ...
@@ -2047,117 +1969,661 @@ if test -r "$cache_file"; then
2047 1969
   # Some versions of bash will fail to source /dev/null (special files
2048 1970
   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2049 1971
   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2050
-    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2051
-$as_echo "$as_me: loading cache $cache_file" >&6;}
1972
+    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1973
+printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2052 1974
     case $cache_file in
2053 1975
       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2054 1976
       *)                      . "./$cache_file";;
2055 1977
     esac
2056 1978
   fi
2057 1979
 else
2058
-  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2059
-$as_echo "$as_me: creating cache $cache_file" >&6;}
1980
+  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1981
+printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2060 1982
   >$cache_file
2061 1983
 fi
2062 1984
 
2063
-# Check that the precious variables saved in the cache have kept the same
2064
-# value.
2065
-ac_cache_corrupted=false
2066
-for ac_var in $ac_precious_vars; do
2067
-  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2068
-  eval ac_new_set=\$ac_env_${ac_var}_set
2069
-  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2070
-  eval ac_new_val=\$ac_env_${ac_var}_value
2071
-  case $ac_old_set,$ac_new_set in
2072
-    set,)
2073
-      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2074
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2075
-      ac_cache_corrupted=: ;;
2076
-    ,set)
2077
-      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2078
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2079
-      ac_cache_corrupted=: ;;
2080
-    ,);;
2081
-    *)
2082
-      if test "x$ac_old_val" != "x$ac_new_val"; then
2083
-	# differences in whitespace do not lead to failure.
2084
-	ac_old_val_w=`echo x $ac_old_val`
2085
-	ac_new_val_w=`echo x $ac_new_val`
2086
-	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2087
-	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2088
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2089
-	  ac_cache_corrupted=:
2090
-	else
2091
-	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2092
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2093
-	  eval $ac_var=\$ac_old_val
2094
-	fi
2095
-	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2096
-$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2097
-	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2098
-$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2099
-      fi;;
2100
-  esac
2101
-  # Pass precious variables to config.status.
2102
-  if test "$ac_new_set" = set; then
2103
-    case $ac_new_val in
2104
-    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2105
-    *) ac_arg=$ac_var=$ac_new_val ;;
2106
-    esac
2107
-    case " $ac_configure_args " in
2108
-      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2109
-      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2110
-    esac
2111
-  fi
2112
-done
2113
-if $ac_cache_corrupted; then
2114
-  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2115
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2116
-  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2117
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2118
-  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2119
-fi
2120
-## -------------------- ##
2121
-## Main body of script. ##
2122
-## -------------------- ##
1985
+# Test code for whether the C compiler supports C89 (global declarations)
1986
+ac_c_conftest_c89_globals='
1987
+/* Does the compiler advertise C89 conformance?
1988
+   Do not test the value of __STDC__, because some compilers set it to 0
1989
+   while being otherwise adequately conformant. */
1990
+#if !defined __STDC__
1991
+# error "Compiler does not advertise C89 conformance"
1992
+#endif
2123 1993
 
2124
-ac_ext=c
2125
-ac_cpp='$CPP $CPPFLAGS'
2126
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2127
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2128
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
1994
+#include <stddef.h>
1995
+#include <stdarg.h>
1996
+struct stat;
1997
+/* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
1998
+struct buf { int x; };
1999
+struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2000
+static char *e (p, i)
2001
+     char **p;
2002
+     int i;
2003
+{
2004
+  return p[i];
2005
+}
2006
+static char *f (char * (*g) (char **, int), char **p, ...)
2007
+{
2008
+  char *s;
2009
+  va_list v;
2010
+  va_start (v,p);
2011
+  s = g (p, va_arg (v,int));
2012
+  va_end (v);
2013
+  return s;
2014
+}
2129 2015
 
2016
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2017
+   function prototypes and stuff, but not \xHH hex character constants.
2018
+   These do not provoke an error unfortunately, instead are silently treated
2019
+   as an "x".  The following induces an error, until -std is added to get
2020
+   proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2021
+   array size at least.  It is necessary to write \x00 == 0 to get something
2022
+   that is true only with -std.  */
2023
+int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2130 2024
 
2025
+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2026
+   inside strings and character constants.  */
2027
+#define FOO(x) '\''x'\''
2028
+int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2131 2029
 
2030
+int test (int i, double x);
2031
+struct s1 {int (*f) (int a);};
2032
+struct s2 {int (*f) (double a);};
2033
+int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2034
+               int, int);'
2132 2035
 
2036
+# Test code for whether the C compiler supports C89 (body of main).
2037
+ac_c_conftest_c89_main='
2038
+ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2039
+'
2133 2040
 
2134
-# Check whether --with-graphviz was given.
2135
-if test "${with_graphviz+set}" = set; then :
2136
-  withval=$with_graphviz; GRAPHVIZ_DIR="${with_graphviz}"
2137
-else
2138
-  GRAPHVIZ_DIR=""
2139
-fi
2041
+# Test code for whether the C compiler supports C99 (global declarations)
2042
+ac_c_conftest_c99_globals='
2043
+// Does the compiler advertise C99 conformance?
2044
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2045
+# error "Compiler does not advertise C99 conformance"
2046
+#endif
2140 2047
 
2048
+#include <stdbool.h>
2049
+extern int puts (const char *);
2050
+extern int printf (const char *, ...);
2051
+extern int dprintf (int, const char *, ...);
2052
+extern void *malloc (size_t);
2053
+
2054
+// Check varargs macros.  These examples are taken from C99 6.10.3.5.
2055
+// dprintf is used instead of fprintf to avoid needing to declare
2056
+// FILE and stderr.
2057
+#define debug(...) dprintf (2, __VA_ARGS__)
2058
+#define showlist(...) puts (#__VA_ARGS__)
2059
+#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2060
+static void
2061
+test_varargs_macros (void)
2062
+{
2063
+  int x = 1234;
2064
+  int y = 5678;
2065
+  debug ("Flag");
2066
+  debug ("X = %d\n", x);
2067
+  showlist (The first, second, and third items.);
2068
+  report (x>y, "x is %d but y is %d", x, y);
2069
+}
2141 2070
 
2142
-if test -z "${GRAPHVIZ_DIR}" ; then
2143
-    { $as_echo "$as_me:${as_lineno-$LINENO}: Using bundled Graphviz." >&5
2144
-$as_echo "$as_me: Using bundled Graphviz." >&6;}
2145
-    BUILD_DIR="`pwd`"
2146
-    { $as_echo "$as_me:${as_lineno-$LINENO}: Searching for the compilers specified by R." >&5
2147
-$as_echo "$as_me: Searching for the compilers specified by R." >&6;}
2148
-    : ${R_HOME=`R RHOME`}
2149
-    if test -z "${R_HOME}"; then
2150
-      echo "could not determine R_HOME"
2151
-      exit 1
2152
-    fi
2153
-    CC=`"${R_HOME}/bin/R" CMD config CC`
2154
-    CFLAGS=`"${R_HOME}/bin/R" CMD config CFLAGS`
2155
-    CPPFLAGS=`"${R_HOME}/bin/R" CMD config CPPFLAGS`
2156
-    CXX=`"${R_HOME}/bin/R" CMD config CXX`
2157
-    CXXFLAGS=`"${R_HOME}/bin/R" CMD config CXXFLAGS`
2071
+// Check long long types.
2072
+#define BIG64 18446744073709551615ull
2073
+#define BIG32 4294967295ul
2074
+#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2075
+#if !BIG_OK
2076
+  #error "your preprocessor is broken"
2077
+#endif
2078
+#if BIG_OK
2079
+#else
2080
+  #error "your preprocessor is broken"
2081
+#endif
2082
+static long long int bignum = -9223372036854775807LL;
2083
+static unsigned long long int ubignum = BIG64;
2084
+
2085
+struct incomplete_array
2086
+{
2087
+  int datasize;
2088
+  double data[];
2089
+};
2090
+
2091
+struct named_init {
2092
+  int number;
2093
+  const wchar_t *name;
2094
+  double average;
2095
+};
2096
+
2097
+typedef const char *ccp;
2098
+
2099
+static inline int
2100
+test_restrict (ccp restrict text)
2101
+{
2102
+  // See if C++-style comments work.
2103
+  // Iterate through items via the restricted pointer.
2104
+  // Also check for declarations in for loops.
2105
+  for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2106
+    continue;
2107
+  return 0;
2108
+}
2109
+
2110
+// Check varargs and va_copy.
2111
+static bool
2112
+test_varargs (const char *format, ...)
2113
+{
2114
+  va_list args;
2115
+  va_start (args, format);
2116
+  va_list args_copy;
2117
+  va_copy (args_copy, args);
2118
+
2119
+  const char *str = "";
2120
+  int number = 0;
2121
+  float fnumber = 0;
2122
+
2123
+  while (*format)
2124
+    {
2125
+      switch (*format++)
2126
+	{
2127
+	case '\''s'\'': // string
2128
+	  str = va_arg (args_copy, const char *);
2129
+	  break;
2130
+	case '\''d'\'': // int
2131
+	  number = va_arg (args_copy, int);
2132
+	  break;
2133
+	case '\''f'\'': // float
2134
+	  fnumber = va_arg (args_copy, double);
2135
+	  break;
2136
+	default:
2137
+	  break;
2138
+	}
2139
+    }
2140
+  va_end (args_copy);
2141
+  va_end (args);
2142
+
2143
+  return *str && number && fnumber;
2144
+}
2145
+'
2146
+
2147
+# Test code for whether the C compiler supports C99 (body of main).
2148
+ac_c_conftest_c99_main='
2149
+  // Check bool.
2150
+  _Bool success = false;
2151
+  success |= (argc != 0);
2152
+
2153
+  // Check restrict.
2154
+  if (test_restrict ("String literal") == 0)
2155
+    success = true;
2156
+  char *restrict newvar = "Another string";
2157
+
2158
+  // Check varargs.
2159
+  success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2160
+  test_varargs_macros ();
2161
+
2162
+  // Check flexible array members.
2163
+  struct incomplete_array *ia =
2164
+    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2165
+  ia->datasize = 10;
2166
+  for (int i = 0; i < ia->datasize; ++i)
2167
+    ia->data[i] = i * 1.234;
2168
+
2169
+  // Check named initializers.
2170
+  struct named_init ni = {
2171
+    .number = 34,
2172
+    .name = L"Test wide string",
2173
+    .average = 543.34343,
2174
+  };
2175
+
2176
+  ni.number = 58;
2177
+
2178
+  int dynamic_array[ni.number];
2179
+  dynamic_array[0] = argv[0][0];
2180
+  dynamic_array[ni.number - 1] = 543;
2181
+
2182
+  // work around unused variable warnings
2183
+  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2184
+	 || dynamic_array[ni.number - 1] != 543);
2185
+'
2186
+
2187
+# Test code for whether the C compiler supports C11 (global declarations)
2188
+ac_c_conftest_c11_globals='
2189
+// Does the compiler advertise C11 conformance?
2190
+#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2191
+# error "Compiler does not advertise C11 conformance"
2192
+#endif
2193
+
2194
+// Check _Alignas.
2195
+char _Alignas (double) aligned_as_double;
2196
+char _Alignas (0) no_special_alignment;
2197
+extern char aligned_as_int;
2198
+char _Alignas (0) _Alignas (int) aligned_as_int;
2199
+
2200
+// Check _Alignof.
2201
+enum
2202
+{
2203
+  int_alignment = _Alignof (int),
2204
+  int_array_alignment = _Alignof (int[100]),
2205
+  char_alignment = _Alignof (char)
2206
+};
2207
+_Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2208
+
2209
+// Check _Noreturn.
2210
+int _Noreturn does_not_return (void) { for (;;) continue; }
2211
+
2212
+// Check _Static_assert.
2213
+struct test_static_assert
2214
+{
2215
+  int x;
2216
+  _Static_assert (sizeof (int) <= sizeof (long int),
2217
+                  "_Static_assert does not work in struct");
2218
+  long int y;
2219
+};
2220
+
2221
+// Check UTF-8 literals.
2222
+#define u8 syntax error!
2223
+char const utf8_literal[] = u8"happens to be ASCII" "another string";
2224
+
2225
+// Check duplicate typedefs.
2226
+typedef long *long_ptr;
2227
+typedef long int *long_ptr;
2228
+typedef long_ptr long_ptr;
2229
+
2230
+// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2231
+struct anonymous
2232
+{
2233
+  union {
2234
+    struct { int i; int j; };
2235
+    struct { int k; long int l; } w;
2236
+  };
2237
+  int m;
2238
+} v1;
2239
+'
2240
+
2241
+# Test code for whether the C compiler supports C11 (body of main).
2242
+ac_c_conftest_c11_main='
2243
+  _Static_assert ((offsetof (struct anonymous, i)
2244
+		   == offsetof (struct anonymous, w.k)),
2245
+		  "Anonymous union alignment botch");
2246
+  v1.i = 2;
2247
+  v1.w.k = 5;
2248
+  ok |= v1.i != 5;
2249
+'
2250
+
2251
+# Test code for whether the C compiler supports C11 (complete).
2252
+ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2253
+${ac_c_conftest_c99_globals}
2254
+${ac_c_conftest_c11_globals}
2255
+
2256
+int
2257
+main (int argc, char **argv)
2258
+{
2259
+  int ok = 0;
2260
+  ${ac_c_conftest_c89_main}
2261
+  ${ac_c_conftest_c99_main}
2262
+  ${ac_c_conftest_c11_main}
2263
+  return ok;
2264
+}
2265
+"
2266
+
2267
+# Test code for whether the C compiler supports C99 (complete).
2268
+ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2269
+${ac_c_conftest_c99_globals}
2270
+
2271
+int
2272
+main (int argc, char **argv)
2273
+{
2274
+  int ok = 0;
2275
+  ${ac_c_conftest_c89_main}
2276
+  ${ac_c_conftest_c99_main}
2277
+  return ok;
2278
+}
2279
+"
2280
+
2281
+# Test code for whether the C compiler supports C89 (complete).
2282
+ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2283
+
2284
+int
2285
+main (int argc, char **argv)
2286
+{
2287
+  int ok = 0;
2288
+  ${ac_c_conftest_c89_main}
2289
+  return ok;
2290
+}
2291
+"
2292
+
2293
+# Test code for whether the C++ compiler supports C++98 (global declarations)
2294
+ac_cxx_conftest_cxx98_globals='
2295
+// Does the compiler advertise C++98 conformance?
2296
+#if !defined __cplusplus || __cplusplus < 199711L
2297
+# error "Compiler does not advertise C++98 conformance"
2298
+#endif
2299
+
2300
+// These inclusions are to reject old compilers that
2301
+// lack the unsuffixed header files.
2302
+#include <cstdlib>
2303
+#include <exception>
2304
+
2305
+// <cassert> and <cstring> are *not* freestanding headers in C++98.
2306
+extern void assert (int);
2307
+namespace std {
2308
+  extern int strcmp (const char *, const char *);
2309
+}
2310
+
2311
+// Namespaces, exceptions, and templates were all added after "C++ 2.0".
2312
+using std::exception;
2313
+using std::strcmp;
2314
+
2315
+namespace {
2316
+
2317
+void test_exception_syntax()
2318
+{
2319
+  try {
2320
+    throw "test";
2321
+  } catch (const char *s) {
2322
+    // Extra parentheses suppress a warning when building autoconf itself,
2323
+    // due to lint rules shared with more typical C programs.
2324
+    assert (!(strcmp) (s, "test"));
2325
+  }
2326
+}
2327
+
2328
+template <typename T> struct test_template
2329
+{
2330
+  T const val;
2331
+  explicit test_template(T t) : val(t) {}
2332
+  template <typename U> T add(U u) { return static_cast<T>(u) + val; }
2333
+};
2334
+
2335
+} // anonymous namespace
2336
+'
2337
+
2338
+# Test code for whether the C++ compiler supports C++98 (body of main)
2339
+ac_cxx_conftest_cxx98_main='
2340
+  assert (argc);
2341
+  assert (! argv[0]);
2342
+{
2343
+  test_exception_syntax ();
2344
+  test_template<double> tt (2.0);
2345
+  assert (tt.add (4) == 6.0);
2346
+  assert (true && !false);
2347
+}
2348
+'
2349
+
2350
+# Test code for whether the C++ compiler supports C++11 (global declarations)
2351
+ac_cxx_conftest_cxx11_globals='
2352
+// Does the compiler advertise C++ 2011 conformance?
2353
+#if !defined __cplusplus || __cplusplus < 201103L
2354
+# error "Compiler does not advertise C++11 conformance"
2355
+#endif
2356
+
2357
+namespace cxx11test
2358
+{
2359
+  constexpr int get_val() { return 20; }
2360
+
2361
+  struct testinit
2362
+  {
2363
+    int i;
2364
+    double d;
2365
+  };
2366
+
2367
+  class delegate
2368
+  {
2369
+  public:
2370
+    delegate(int n) : n(n) {}
2371
+    delegate(): delegate(2354) {}
2372
+
2373
+    virtual int getval() { return this->n; };
2374
+  protected:
2375
+    int n;
2376
+  };
2377
+
2378
+  class overridden : public delegate
2379
+  {
2380
+  public:
2381
+    overridden(int n): delegate(n) {}
2382
+    virtual int getval() override final { return this->n * 2; }
2383
+  };
2384
+
2385
+  class nocopy
2386
+  {
2387
+  public:
2388
+    nocopy(int i): i(i) {}
2389
+    nocopy() = default;
2390
+    nocopy(const nocopy&) = delete;
2391
+    nocopy & operator=(const nocopy&) = delete;
2392
+  private:
2393
+    int i;
2394
+  };
2395
+
2396
+  // for testing lambda expressions
2397
+  template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
2398
+  {
2399
+    return f(v);
2400
+  }
2401
+
2402
+  // for testing variadic templates and trailing return types
2403
+  template <typename V> auto sum(V first) -> V
2404
+  {
2405
+    return first;
2406
+  }
2407
+  template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
2408
+  {
2409
+    return first + sum(rest...);
2410
+  }
2411
+}
2412
+'
2413
+
2414
+# Test code for whether the C++ compiler supports C++11 (body of main)
2415
+ac_cxx_conftest_cxx11_main='
2416
+{
2417
+  // Test auto and decltype
2418
+  auto a1 = 6538;
2419
+  auto a2 = 48573953.4;
2420
+  auto a3 = "String literal";
2421
+
2422
+  int total = 0;
2423
+  for (auto i = a3; *i; ++i) { total += *i; }
2424
+
2425
+  decltype(a2) a4 = 34895.034;
2426
+}
2427
+{
2428
+  // Test constexpr
2429
+  short sa[cxx11test::get_val()] = { 0 };
2430
+}
2431
+{
2432
+  // Test initializer lists
2433
+  cxx11test::testinit il = { 4323, 435234.23544 };
2434
+}
2435
+{
2436
+  // Test range-based for
2437
+  int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
2438
+                 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
2439
+  for (auto &x : array) { x += 23; }
2440
+}
2441
+{
2442
+  // Test lambda expressions
2443
+  using cxx11test::eval;
2444
+  assert (eval ([](int x) { return x*2; }, 21) == 42);
2445
+  double d = 2.0;
2446
+  assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
2447
+  assert (d == 5.0);
2448
+  assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
2449
+  assert (d == 5.0);
2450
+}
2451
+{
2452
+  // Test use of variadic templates
2453
+  using cxx11test::sum;
2454
+  auto a = sum(1);
2455
+  auto b = sum(1, 2);
2456
+  auto c = sum(1.0, 2.0, 3.0);
2457
+}
2458
+{
2459
+  // Test constructor delegation
2460
+  cxx11test::delegate d1;
2461
+  cxx11test::delegate d2();
2462
+  cxx11test::delegate d3(45);
2463
+}
2464
+{
2465
+  // Test override and final
2466
+  cxx11test::overridden o1(55464);
2467
+}
2468
+{
2469
+  // Test nullptr
2470
+  char *c = nullptr;
2471
+}
2472
+{
2473
+  // Test template brackets
2474
+  test_template<::test_template<int>> v(test_template<int>(12));
2475
+}
2476
+{
2477
+  // Unicode literals
2478
+  char const *utf8 = u8"UTF-8 string \u2500";
2479
+  char16_t const *utf16 = u"UTF-8 string \u2500";
2480
+  char32_t const *utf32 = U"UTF-32 string \u2500";
2481
+}
2482
+'
2483
+
2484
+# Test code for whether the C compiler supports C++11 (complete).
2485
+ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
2486
+${ac_cxx_conftest_cxx11_globals}
2487
+
2488
+int
2489
+main (int argc, char **argv)
2490
+{
2491
+  int ok = 0;
2492
+  ${ac_cxx_conftest_cxx98_main}
2493
+  ${ac_cxx_conftest_cxx11_main}
2494
+  return ok;
2495
+}
2496
+"
2497
+
2498
+# Test code for whether the C compiler supports C++98 (complete).
2499
+ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
2500
+int
2501
+main (int argc, char **argv)
2502
+{
2503
+  int ok = 0;
2504
+  ${ac_cxx_conftest_cxx98_main}
2505
+  return ok;
2506
+}
2507
+"
2508
+
2509
+as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2510
+as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2511
+as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2512
+as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2513
+as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2514
+as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2515
+as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2516
+as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2517
+as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2518
+# Check that the precious variables saved in the cache have kept the same
2519
+# value.
2520
+ac_cache_corrupted=false
2521
+for ac_var in $ac_precious_vars; do
2522
+  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2523
+  eval ac_new_set=\$ac_env_${ac_var}_set
2524
+  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2525
+  eval ac_new_val=\$ac_env_${ac_var}_value